SwiftSemantics Documentation Beta

Protocol Expressible​BySyntax

public protocol ExpressibleBySyntax

A type that can be initialized with a Swift syntax node.

%3 ExpressibleBySyntax ExpressibleBySyntax Variable.Accessor Variable.Accessor Variable.Accessor->ExpressibleBySyntax Class Class Class->ExpressibleBySyntax Operator Operator Operator->ExpressibleBySyntax Initializer Initializer Initializer->ExpressibleBySyntax Deinitializer Deinitializer Deinitializer->ExpressibleBySyntax Protocol Protocol Protocol->ExpressibleBySyntax AssociatedType AssociatedType AssociatedType->ExpressibleBySyntax Typealias Typealias Typealias->ExpressibleBySyntax Function.Signature Function.Signature Function.Signature->ExpressibleBySyntax Function Function Function->ExpressibleBySyntax Import Import Import->ExpressibleBySyntax GenericParameter GenericParameter GenericParameter->ExpressibleBySyntax Enumeration Enumeration Enumeration->ExpressibleBySyntax Modifier Modifier Modifier->ExpressibleBySyntax Variable Variable Variable->ExpressibleBySyntax ConditionalCompilationBlock ConditionalCompilationBlock ConditionalCompilationBlock->ExpressibleBySyntax PrecedenceGroup PrecedenceGroup PrecedenceGroup->ExpressibleBySyntax ConditionalCompilationBlock.Branch ConditionalCompilationBlock.Branch ConditionalCompilationBlock.Branch->ExpressibleBySyntax Subscript Subscript Subscript->ExpressibleBySyntax Function.Parameter Function.Parameter Function.Parameter->ExpressibleBySyntax Extension Extension Extension->ExpressibleBySyntax Attribute Attribute Attribute->ExpressibleBySyntax Structure Structure Structure->ExpressibleBySyntax

Types Conforming to Expressible​BySyntax

AssociatedType

An associated type declaration.

Class

A class declaration.

ConditionalCompilationBlock

A conditional compilation block declaration.

ConditionalCompilationBlock.Branch

A conditional compilation block branch.

Deinitializer

A class deinitializer declaration.

Enumeration

An enumeration declaration.

Extension

An extension declaration.

Function

A function declaration.

Function.Signature

A function signature.

Function.Parameter

A function parameter.

Import

An import declaration.

Initializer

An initializer declaration.

Operator

An operator declaration.

PrecedenceGroup

An operator precedence group declaration.

Protocol

A protocol declaration.

Structure

A structure declaration.

Subscript

A subscript declaration.

Typealias

A type alias declaration.

Variable

A declaration for a property or a top-level variable or constant.

Variable.Accessor

A computed variable or computed property accessor.

Attribute

A declaration attribute.

GenericParameter

A generic parameter.

Modifier

A declaration modifier.