Classes
- DeclarationCollector
-
A Swift syntax visitor that collects declarations.
Structures
- AssociatedType
-
An associated type declaration.
- Class
-
A class declaration.
- ConditionalCompilationBlock
-
A conditional compilation block declaration.
- Deinitializer
-
A class deinitializer declaration.
- Enumeration
-
An enumeration declaration.
- Enumeration.Case
-
An enumeration case.
- 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.
- Attribute.Argument
-
An attribute argument.
- GenericParameter
-
A generic parameter.
- GenericRequirement
-
A generic requirement.
- Modifier
-
A declaration modifier.
Enumerations
- ConditionalCompilationBlock.Branch
-
A conditional compilation block branch.
- Operator.Kind
-
The kind of operator (prefix, infix, or postfix).
- PrecedenceGroup.Associativity
-
The associativity of an operator, which determines how operators of the same precedence are grouped in the absence of parentheses.
- PrecedenceGroup.Relation
-
The relation of operators to operators in other precedence groups, which determines the order in which operators of different precedence groups are evaluated in absence of parentheses.
- Variable.Accessor.Kind
-
The kind of accessor (
get
orset
). - GenericRequirement.Relation
-
A relation between the two types identified in the generic requirement.
Protocols
- Declaration
-
A Swift declaration.
- ExpressibleBySyntax
-
A type that can be initialized with a Swift syntax node.