SwiftNodeSyntax
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SwiftNodeSyntax.type
Members list
Type members
Classlikes
No documentation available.
Documentation
No documentation available.
Children
leftBrace:{accessors: (AccessorDeclListSyntax|CodeBlockItemListSyntax)rightBrace:}
Contained in
PatternBindingSyntax.PatternBindingSyntax/accessorBlockSubscriptDeclSyntax.SubscriptDeclSyntax/accessorBlock
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
AccessorDeclSyntax *
Contained in
AccessorBlockSyntax.AccessorBlockSyntax/accessors
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifier:DeclModifierSyntax?accessorSpecifier: (get|set|didSet|willSet|unsafeAddress|addressWithOwner|addressWithNativeOwner|unsafeMutableAddress|mutableAddressWithOwner|mutableAddressWithNativeOwner|_read|_modify|init)parameters:AccessorParametersSyntax?effectSpecifiers:AccessorEffectSpecifiersSyntax?body:CodeBlockSyntax?
Contained in
AccessorDeclListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithAttributestrait WithOptionalCodeBlocktrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
asyncSpecifier:async?throwsClause:ThrowsClauseSyntax?
Contained in
AccessorDeclSyntax.AccessorDeclSyntax/effectSpecifiers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EffectSpecifierstrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(name:<identifier>rightParen:)
Contained in
AccessorDeclSyntax.AccessorDeclSyntax/parameters
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxactorKeyword:actorname:<identifier>genericParameterClause:GenericParameterClauseSyntax?inheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ArrayElementSyntax *
Contained in
ArrayExprSyntax.ArrayExprSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An element inside an array literal.
Documentation
An element inside an array literal.
Children
expression:ExprSyntaxtrailingComma:,?
Contained in
ArrayElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An array literal.
Documentation
An array literal.
Children
leftSquare:[elements:ArrayElementListSyntaxrightSquare:]
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftSquare:[element:TypeSyntaxrightSquare:]
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arrow when a type is used at a position that syntactically expectes an expression.
Documentation
The arrow when a type is used at a position that syntactically expectes an expression.
Examples
This represents the arrow in
let array = [(Int) -> Int]()
Children
effectSpecifiers:TypeEffectSpecifiersSyntax?arrow:->
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The cast of an expressison to a different type.
Documentation
The cast of an expressison to a different type.
Examples
dog as Animal
myPet as? Dog
- Note: This node is only generated after operators are folded using the
SwiftOperatorslibrary. Beforehand, the parser does not know the precedences of operators and thus representsisby anUnresolvedAsExprSyntax.
Children
expression:ExprSyntaxasKeyword:asquestionOrExclamationMark: (?|!)?type:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An associatedtype declaration
Documentation
An associatedtype declaration
An example of an associatedtype declaration is
associatedtype Item
An associated type declaration may contain a type initializer clause which represents a default type assignment for the associated type.
associatedtype Item = Int
An associated type declaration may be declared with an inheritance clause which specifies the required conformances.
associatedtype Iterator: IteratorProtocol
A generic where clause may be present, here is an example which shows an associated type containing an inheritance clauses and a generic where clause.
associatedtype Iterator: IteratorProtocol where Iterator.Element == Item
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxassociatedtypeKeyword:associatedtypename:<identifier>inheritanceClause:InheritanceClauseSyntax?initializer:TypeInitializerClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait NamedDecltrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A list of attributes that can be attached to a declaration.
Documentation
A list of attributes that can be attached to a declaration.
An element in this collection can either be an attribute itself or an IfConfigDeclSyntax that contains attributes. This is because attributes can be added conditional on compilcation conditions, for example.
#if !DISABLE_DEPRECATIONS
@available(*, deprecated)
#endif
func myFunction() {}
Children
(AttributeSyntax | IfConfigDeclSyntax) *
Contained in
AccessorDeclSyntax.AccessorDeclSyntax/attributesActorDeclSyntax.ActorDeclSyntax/attributesAssociatedTypeDeclSyntax.AssociatedTypeDeclSyntax/attributesAttributedTypeSyntax.AttributedTypeSyntax/attributesClassDeclSyntax.ClassDeclSyntax/attributesClosureParameterSyntax.ClosureParameterSyntax/attributesClosureSignatureSyntax.ClosureSignatureSyntax/attributesDeinitializerDeclSyntax.DeinitializerDeclSyntax/attributesEditorPlaceholderDeclSyntax.EditorPlaceholderDeclSyntax/attributesEnumCaseDeclSyntax.EnumCaseDeclSyntax/attributesEnumDeclSyntax.EnumDeclSyntax/attributesExtensionDeclSyntax.ExtensionDeclSyntax/attributesFunctionDeclSyntax.FunctionDeclSyntax/attributesFunctionParameterSyntax.FunctionParameterSyntax/attributesGenericParameterSyntax.GenericParameterSyntax/attributesIfConfigClauseSyntax.IfConfigClauseSyntax/elementsImportDeclSyntax.ImportDeclSyntax/attributesInitializerDeclSyntax.InitializerDeclSyntax/attributesMacroDeclSyntax.MacroDeclSyntax/attributesMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/attributesMissingDeclSyntax.MissingDeclSyntax/attributesPrecedenceGroupDeclSyntax.PrecedenceGroupDeclSyntax/attributesProtocolDeclSyntax.ProtocolDeclSyntax/attributesStructDeclSyntax.StructDeclSyntax/attributesSubscriptDeclSyntax.SubscriptDeclSyntax/attributesTypeAliasDeclSyntax.TypeAliasDeclSyntax/attributesVariableDeclSyntax.VariableDeclSyntax/attributes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An @ attribute.
Documentation
An @ attribute.
Children
atSign:@attributeName:TypeSyntaxleftParen:(?arguments: (LabeledExprListSyntax|TokenSyntax|StringLiteralExprSyntax|AvailabilityArgumentListSyntax|SpecializeAttributeArgumentListSyntax|ObjCSelectorPieceListSyntax|ImplementsAttributeArgumentsSyntax|DifferentiableAttributeArgumentsSyntax|DerivativeAttributeArgumentsSyntax|BackDeployedAttributeArgumentsSyntax|ConventionAttributeArgumentsSyntax|ConventionWitnessMethodAttributeArgumentsSyntax|OpaqueReturnTypeOfAttributeArgumentsSyntax|ExposeAttributeArgumentsSyntax|OriginallyDefinedInAttributeArgumentsSyntax|UnderscorePrivateAttributeArgumentsSyntax|DynamicReplacementAttributeArgumentsSyntax|UnavailableFromAsyncAttributeArgumentsSyntax|EffectsAttributeArgumentListSyntax|DocumentationAttributeArgumentListSyntax)?rightParen:)?
Contained in
AttributeListSyntaxSwitchCaseSyntax.SwitchCaseSyntax/attribute
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
specifiers:TypeSpecifierListSyntaxattributes:AttributeListSyntaxbaseType:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithAttributestrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
AvailabilityArgumentSyntax *
Contained in
AttributeSyntax.AttributeSyntax/argumentsAvailabilityConditionSyntax.AvailabilityConditionSyntax/availabilityArgumentsSpecializeAvailabilityArgumentSyntax.SpecializeAvailabilityArgumentSyntax/availabilityArguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A single argument to an @available argument like *, iOS 10.1, or message: "This has been deprecated".
Documentation
A single argument to an @available argument like *, iOS 10.1, or message: "This has been deprecated".
Children
argument: ((<binaryOperator>|<identifier>) |PlatformVersionSyntax|AvailabilityLabeledArgumentSyntax)trailingComma:,?
Contained in
AvailabilityArgumentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
availabilityKeyword: (#available|#unavailable)leftParen:(availabilityArguments:AvailabilityArgumentListSyntaxrightParen:)
Contained in
ConditionElementSyntax.ConditionElementSyntax/condition
Attributes
- Supertypes
An argument to an @available attribute that consists of a label and a value, e.g. message: "This has been deprecated".
Documentation
An argument to an @available attribute that consists of a label and a value, e.g. message: "This has been deprecated".
Children
label: (message|renamed|introduced|obsoleted|deprecated)colon::value: (SimpleStringLiteralExprSyntax|VersionTupleSyntax)
Contained in
AvailabilityArgumentSyntax.AvailabilityArgumentSyntax/argument
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
awaitKeyword:awaitexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A collection of arguments for the @backDeployed attribute
Documentation
A collection of arguments for the @backDeployed attribute
Children
beforeLabel:beforecolon::platforms:PlatformVersionItemListSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
An operator like + or -.
Documentation
An operator like + or -.
This node represents the binary operator itself. It can occur inside a SequenceExprSyntax after parsing and will be the operator child of an InfixOperatorExprSyntax after folding operator using the SwiftOperators library.
Children
operator:<binaryOperator>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
borrowKeyword:_borrowexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AccessorBlockSyntaxclass ClosureExprSyntaxclass CodeBlockSyntaxclass MemberBlockSyntaxclass SwitchExprSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
breakKeyword:breaklabel:<identifier>?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
canImportKeyword:canImportleftParen:(importPath:<identifier>versionInfo:CanImportVersionInfoSyntax?rightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
comma:,label: (_version|_underlyingVersion)colon::version:VersionTupleSyntax
Contained in
CanImportExprSyntax.CanImportExprSyntax/versionInfo
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
CatchClauseSyntax *
Contained in
DoStmtSyntax.DoStmtSyntax/catchClauses
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
catchKeyword:catchcatchItems:CatchItemListSyntaxbody:CodeBlockSyntax
Contained in
CatchClauseListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
CatchItemSyntax *
Contained in
CatchClauseSyntax.CatchClauseSyntax/catchItems
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
pattern:PatternSyntax?whereClause:WhereClauseSyntax?trailingComma:,?
Contained in
CatchItemListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A class declaration
Documentation
A class declaration
An example of a class declaration is
class SomeClass {
let someMember: String
init(someMember: String) {
self.someMember = someMember
}
func foo() {
print(someMember)
}
static func bar() -> Int {
return 1
}
}
A class declaration may be declared without any members.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxclassKeyword:classname:<identifier>genericParameterClause:GenericParameterClauseSyntax?inheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftSquare:[items:ClosureCaptureListSyntaxrightSquare:]
Contained in
ClosureSignatureSyntax.ClosureSignatureSyntax/capture
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
ClosureCaptureSyntax *
Contained in
ClosureCaptureClauseSyntax.ClosureCaptureClauseSyntax/items
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
specifier: (weak|unowned)leftParen:(?detail: (safe|unsafe)?rightParen:)?
Contained in
ClosureCaptureSyntax.ClosureCaptureSyntax/specifier
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
specifier:ClosureCaptureSpecifierSyntax?name:<identifier>?equal:=?expression:ExprSyntaxtrailingComma:,?
Contained in
ClosureCaptureListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftBrace:{signature:ClosureSignatureSyntax?statements:CodeBlockItemListSyntaxrightBrace:}
Contained in
FunctionCallExprSyntax.FunctionCallExprSyntax/trailingClosureMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/trailingClosureMacroExpansionExprSyntax.MacroExpansionExprSyntax/trailingClosureMultipleTrailingClosureElementSyntax.MultipleTrailingClosureElementSyntax/closureSubscriptCallExprSyntax.SubscriptCallExprSyntax/trailingClosure
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithStatementstrait Bracedtrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(parameters:ClosureParameterListSyntaxrightParen:)
Contained in
ClosureSignatureSyntax.ClosureSignatureSyntax/parameterClause
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ClosureParameterSyntax *
Contained in
ClosureParameterClauseSyntax.ClosureParameterClauseSyntax/parameters
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxfirstName: (<identifier>|_)secondName: (<identifier>|_)?colon::?type:TypeSyntax?ellipsis:...?trailingComma:,?
Contained in
ClosureParameterListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A list of closure parameters that are not parenthesized and don't have type annotations.
Documentation
A list of closure parameters that are not parenthesized and don't have type annotations.
If the closure parameters are parenthesized, they can also carry type annotations. In that case, the closure parameters are represented by ClosureParameterListSyntax.
Examples
}}} let closure = { a, b in return a + b } }}}
Children
ClosureShorthandParameterSyntax *
Contained in
ClosureSignatureSyntax.ClosureSignatureSyntax/parameterClause
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name: (<identifier>|_)trailingComma:,?
Contained in
ClosureShorthandParameterListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxcapture:ClosureCaptureClauseSyntax?parameterClause: (ClosureShorthandParameterListSyntax|ClosureParameterClauseSyntax)?effectSpecifiers:TypeEffectSpecifiersSyntax?returnClause:ReturnClauseSyntax?inKeyword:in
Contained in
ClosureExprSyntax.ClosureExprSyntax/signature
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithAttributestrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
CodeBlockItemSyntax *
Contained in
AccessorBlockSyntax.AccessorBlockSyntax/accessorsClosureExprSyntax.ClosureExprSyntax/statementsCodeBlockSyntax.CodeBlockSyntax/statementsIfConfigClauseSyntax.IfConfigClauseSyntax/elementsSourceFileSyntax.SourceFileSyntax/statementsSwitchCaseSyntax.SwitchCaseSyntax/statements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A CodeBlockItem is any Syntax node that appears on its own line inside a CodeBlock.
Documentation
A CodeBlockItem is any Syntax node that appears on its own line inside a CodeBlock.
Children
item: (DeclSyntax|StmtSyntax|ExprSyntax)semicolon:;?
Contained in
CodeBlockItemListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
leftBrace:{statements:CodeBlockItemListSyntaxrightBrace:}
Contained in
AccessorDeclSyntax.AccessorDeclSyntax/bodyCatchClauseSyntax.CatchClauseSyntax/bodyDeferStmtSyntax.DeferStmtSyntax/bodyDeinitializerDeclSyntax.DeinitializerDeclSyntax/bodyDoStmtSyntax.DoStmtSyntax/bodyForStmtSyntax.ForStmtSyntax/bodyFunctionDeclSyntax.FunctionDeclSyntax/bodyGuardStmtSyntax.GuardStmtSyntax/bodyIfExprSyntax.IfExprSyntax/bodyIfExprSyntax.IfExprSyntax/elseBodyInitializerDeclSyntax.InitializerDeclSyntax/bodyRepeatStmtSyntax.RepeatStmtSyntax/bodyWhileStmtSyntax.WhileStmtSyntax/body
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithStatementstrait Bracedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
CompositionTypeElementSyntax *
Contained in
CompositionTypeSyntax.CompositionTypeSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
type:TypeSyntaxampersand:TokenSyntax?
Contained in
CompositionTypeElementListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
elements:CompositionTypeElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ConditionElementSyntax *
Contained in
GuardStmtSyntax.GuardStmtSyntax/conditionsIfExprSyntax.IfExprSyntax/conditionsWhileStmtSyntax.WhileStmtSyntax/conditions
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
condition: (ExprSyntax|AvailabilityConditionSyntax|MatchingPatternConditionSyntax|OptionalBindingConditionSyntax)trailingComma:,?
Contained in
ConditionElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftType:TypeSyntaxcolon::rightType:TypeSyntax
Contained in
GenericRequirementSyntax.GenericRequirementSyntax/requirement
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
consumeKeyword: (_move|consume)expression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
continueKeyword:continuelabel:<identifier>?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments for the '@convention(...)'.
Documentation
The arguments for the '@convention(...)'.
Children
conventionLabel:<identifier>comma:,?cTypeLabel:cType?colon::?cTypeString:StringLiteralExprSyntax?
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
The arguments for the '@convention(witness_method: ...)'.
Documentation
The arguments for the '@convention(witness_method: ...)'.
Children
witnessMethodLabel:witness_methodcolon::protocolName:<identifier>
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
copyKeyword:copyexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ActorDeclSyntaxclass ClassDeclSyntaxclass EnumDeclSyntaxclass ExtensionDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(detail:<identifier>rightParen:)
Contained in
DeclModifierSyntax.DeclModifierSyntax/detail
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
DeclModifierSyntax *
Contained in
ActorDeclSyntax.ActorDeclSyntax/modifiersAssociatedTypeDeclSyntax.AssociatedTypeDeclSyntax/modifiersClassDeclSyntax.ClassDeclSyntax/modifiersClosureParameterSyntax.ClosureParameterSyntax/modifiersDeinitializerDeclSyntax.DeinitializerDeclSyntax/modifiersEditorPlaceholderDeclSyntax.EditorPlaceholderDeclSyntax/modifiersEnumCaseDeclSyntax.EnumCaseDeclSyntax/modifiersEnumCaseParameterSyntax.EnumCaseParameterSyntax/modifiersEnumDeclSyntax.EnumDeclSyntax/modifiersExtensionDeclSyntax.ExtensionDeclSyntax/modifiersFunctionDeclSyntax.FunctionDeclSyntax/modifiersFunctionParameterSyntax.FunctionParameterSyntax/modifiersImportDeclSyntax.ImportDeclSyntax/modifiersInitializerDeclSyntax.InitializerDeclSyntax/modifiersMacroDeclSyntax.MacroDeclSyntax/modifiersMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/modifiersMissingDeclSyntax.MissingDeclSyntax/modifiersPrecedenceGroupDeclSyntax.PrecedenceGroupDeclSyntax/modifiersProtocolDeclSyntax.ProtocolDeclSyntax/modifiersStructDeclSyntax.StructDeclSyntax/modifiersSubscriptDeclSyntax.SubscriptDeclSyntax/modifiersTypeAliasDeclSyntax.TypeAliasDeclSyntax/modifiersVariableDeclSyntax.VariableDeclSyntax/modifiers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name: (__consuming|__setter_access|_const|_local|actor|async|borrowing|class|consuming|convenience|distributed|dynamic|fileprivate|final|indirect|infix|internal|isolated|lazy|mutating|nonisolated|nonmutating|open|optional|override|package|postfix|prefix|private|public|reasync|_resultDependsOnSelf|required|static|transferring|unowned|weak)detail:DeclModifierDetailSyntax?
Contained in
AccessorDeclSyntax.AccessorDeclSyntax/modifierDeclModifierListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
DeclNameArgumentSyntax *
Contained in
DeclNameArgumentsSyntax.DeclNameArgumentsSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name:TokenSyntaxcolon::
Contained in
DeclNameArgumentListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
leftParen:(arguments:DeclNameArgumentListSyntaxrightParen:)
Contained in
DeclReferenceExprSyntax.DeclReferenceExprSyntax/argumentNames
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
baseName: (<identifier>|self|Self|init|deinit|subscript|<dollarIdentifier>|<binaryOperator>|<integerLiteral>)argumentNames:DeclNameArgumentsSyntax?
Contained in
DynamicReplacementAttributeArgumentsSyntax.DynamicReplacementAttributeArgumentsSyntax/declNameImplementsAttributeArgumentsSyntax.ImplementsAttributeArgumentsSyntax/declNameKeyPathPropertyComponentSyntax.KeyPathPropertyComponentSyntax/declNameMemberAccessExprSyntax.MemberAccessExprSyntax/declNameSpecializeTargetFunctionArgumentSyntax.SpecializeTargetFunctionArgumentSyntax/declName
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class AccessorDeclSyntaxclass ActorDeclSyntaxclass AssociatedTypeDeclSyntaxclass ClassDeclSyntaxclass DeinitializerDeclSyntaxclass EnumCaseDeclSyntaxclass EnumDeclSyntaxclass ExtensionDeclSyntaxclass FunctionDeclSyntaxclass IfConfigDeclSyntaxclass ImportDeclSyntaxclass InitializerDeclSyntaxclass MacroDeclSyntaxclass MacroExpansionDeclSyntaxclass MissingDeclSyntaxclass OperatorDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxclass SubscriptDeclSyntaxclass TypeAliasDeclSyntaxclass VariableDeclSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
deferKeyword:deferbody:CodeBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A deint declaration
Documentation
A deint declaration
An example of a deinitializer is
deinit {
}
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxdeinitKeyword:deiniteffectSpecifiers:DeinitializerEffectSpecifiersSyntax?body:CodeBlockSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithOptionalCodeBlocktrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
asyncSpecifier:async?
Contained in
DeinitializerDeclSyntax.DeinitializerDeclSyntax/effectSpecifiers
Attributes
- Supertypes
The arguments for the '@derivative(of:)' and '@transpose(of:)' attributes: the 'of:' label, the original declaration name, and an optional differentiability parameter list.
Documentation
The arguments for the '@derivative(of:)' and '@transpose(of:)' attributes: the 'of:' label, the original declaration name, and an optional differentiability parameter list.
Children
ofLabel:ofcolon::originalDeclName:ExprSyntaxperiod:.?accessorSpecifier: (get|set)?comma:,?arguments:DifferentiabilityWithRespectToArgumentSyntax?
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
DesignatedTypeSyntax *
Contained in
OperatorPrecedenceAndTypesSyntax.OperatorPrecedenceAndTypesSyntax/designatedTypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leadingComma:,name:TokenSyntax
Contained in
DesignatedTypeListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
DictionaryElementSyntax *
Contained in
DictionaryExprSyntax.DictionaryExprSyntax/content
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An element inside a dictionary literal.
Documentation
An element inside a dictionary literal.
Children
key:ExprSyntaxcolon::value:ExprSyntaxtrailingComma:,?
Contained in
DictionaryElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A dictionary literal
Documentation
A dictionary literal
Children
leftSquare:[content: (:|DictionaryElementListSyntax)rightSquare:]
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftSquare:[key:TypeSyntaxcolon::value:TypeSyntaxrightSquare:]
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
DifferentiabilityArgumentSyntax *
Contained in
DifferentiabilityArgumentsSyntax.DifferentiabilityArgumentsSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A differentiability argument: either the "self" identifier, a function parameter name, or a function parameter index.
Documentation
A differentiability argument: either the "self" identifier, a function parameter name, or a function parameter index.
Children
argument: (<identifier>|<integerLiteral>|self)trailingComma:,?
Contained in
DifferentiabilityArgumentListSyntaxDifferentiabilityWithRespectToArgumentSyntax.DifferentiabilityWithRespectToArgumentSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The differentiability arguments.
Documentation
The differentiability arguments.
Children
leftParen:(arguments:DifferentiabilityArgumentListSyntaxrightParen:)
Contained in
DifferentiabilityWithRespectToArgumentSyntax.DifferentiabilityWithRespectToArgumentSyntax/arguments
Attributes
- Supertypes
A clause containing differentiability parameters.
Documentation
A clause containing differentiability parameters.
Children
wrtLabel:wrtcolon::arguments: (DifferentiabilityArgumentSyntax|DifferentiabilityArgumentsSyntax)
Contained in
DerivativeAttributeArgumentsSyntax.DerivativeAttributeArgumentsSyntax/argumentsDifferentiableAttributeArgumentsSyntax.DifferentiableAttributeArgumentsSyntax/arguments
Attributes
- Supertypes
The arguments for the @differentiable attribute: an optional differentiability kind, an optional differentiability parameter clause, and an optional 'where' clause.
Documentation
The arguments for the @differentiable attribute: an optional differentiability kind, an optional differentiability parameter clause, and an optional 'where' clause.
Children
kindSpecifier: (_forward|reverse|_linear)?kindSpecifierComma:,?arguments:DifferentiabilityWithRespectToArgumentSyntax?argumentsComma:,?genericWhereClause:GenericWhereClauseSyntax?
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
A _ that discards a value inside an assignment.
Documentation
A _ that discards a value inside an assignment.
Examples
_ = 42
if case .foo(_) = myValue
Children
wildcard:_
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
discardKeyword:discardexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A do block with one of more optional catch clauses.
Documentation
A do block with one of more optional catch clauses.
This represents do blocks in both expression and statement postitions (where the latter are wrapped in ExpressionStmtSyntax).
Examples
do {
let x = 0
print(x)
}
let x = do {
try someThrowingFn()
} catch {
defaultValue
}
Children
doKeyword:dobody:CodeBlockSyntaxcatchClauses:CatchClauseListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
doKeyword:dothrowsClause:ThrowsClauseSyntax?body:CodeBlockSyntaxcatchClauses:CatchClauseListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments of the '@_documentation' attribute
Documentation
The arguments of the '@_documentation' attribute
Children
DocumentationAttributeArgumentSyntax *
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
label: (visibility|metadata)colon::value: ((<identifier>|private|fileprivate|internal|public|open) |StringLiteralExprSyntax)trailingComma:,?
Contained in
DocumentationAttributeArgumentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments for the '@_dynamicReplacement' attribute
Documentation
The arguments for the '@_dynamicReplacement' attribute
Children
forLabel:forcolon::declName:DeclReferenceExprSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
An editor placeholder, e.g. <#declaration#> that is used in a position that expects a declaration.
Documentation
An editor placeholder, e.g. <#declaration#> that is used in a position that expects a declaration.
- Warning: This
EditorPlaceholderDeclSyntaxnode is not generated by the parser anymore. Placeholders are represented by aMissingDeclSyntax.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxplaceholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Documentation
- Warning: This
EditorPlaceholderExprSyntaxnode is not generated by the parser anymore. Placeholders are represented by aDeclReferenceExprSyntax.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
The arguments of the '@_effects' attribute. These will be parsed during the SIL stage.
Documentation
The arguments of the '@_effects' attribute. These will be parsed during the SIL stage.
Children
TokenSyntax *
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A case declaration of a Swift enum. It can have 1 or more EnumCaseElements inside, each declaring a different case of the enum.
Documentation
A case declaration of a Swift enum. It can have 1 or more EnumCaseElements inside, each declaring a different case of the enum.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxcaseKeyword:caseelements:EnumCaseElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A collection of 0 or more EnumCaseElementSyntaxs.
Documentation
A collection of 0 or more EnumCaseElementSyntaxs.
Children
EnumCaseElementSyntax *
Contained in
EnumCaseDeclSyntax.EnumCaseDeclSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An element of an enum case, containing the name of the case and, optionally, either associated values or an assignment to a raw value.
Documentation
An element of an enum case, containing the name of the case and, optionally, either associated values or an assignment to a raw value.
Children
name:<identifier>parameterClause:EnumCaseParameterClauseSyntax?rawValue:InitializerClauseSyntax?trailingComma:,?
Contained in
EnumCaseElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(parameters:EnumCaseParameterListSyntaxrightParen:)
Contained in
EnumCaseElementSyntax.EnumCaseElementSyntax/parameterClause
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
EnumCaseParameterSyntax *
Contained in
EnumCaseParameterClauseSyntax.EnumCaseParameterClauseSyntax/parameters
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
modifiers:DeclModifierListSyntaxfirstName: (<identifier>|_)?secondName: (<identifier>|_)?colon::?type:TypeSyntaxdefaultValue:InitializerClauseSyntax?trailingComma:,?
Contained in
EnumCaseParameterListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A Swift enum declaration.
Documentation
A Swift enum declaration.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxenumKeyword:enumname:<identifier>genericParameterClause:GenericParameterClauseSyntax?inheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments for the '@_expose' attribute
Documentation
The arguments for the '@_expose' attribute
Children
language:TokenSyntaxcomma:,?cxxName:StringLiteralExprSyntax?
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
A list of expressions connected by operators. This list is contained by a SequenceExprSyntax.
Documentation
A list of expressions connected by operators. This list is contained by a SequenceExprSyntax.
Children
ExprSyntax *
Contained in
SequenceExprSyntax.SequenceExprSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class ArrayExprSyntaxclass ArrowExprSyntaxclass AsExprSyntaxclass AssignmentExprSyntaxclass AwaitExprSyntaxclass BinaryOperatorExprSyntaxclass BooleanLiteralExprSyntaxclass BorrowExprSyntaxclass CanImportExprSyntaxclass ClosureExprSyntaxclass ConsumeExprSyntaxclass CopyExprSyntaxclass DeclReferenceExprSyntaxclass DictionaryExprSyntaxclass DoExprSyntaxclass FloatLiteralExprSyntaxclass ForceUnwrapExprSyntaxclass FunctionCallExprSyntaxclass IfExprSyntaxclass InOutExprSyntaxclass InfixOperatorExprSyntaxclass IntegerLiteralExprSyntaxclass IsExprSyntaxclass KeyPathExprSyntaxclass MacroExpansionExprSyntaxclass MemberAccessExprSyntaxclass MissingExprSyntaxclass NilLiteralExprSyntaxclass PackElementExprSyntaxclass PackExpansionExprSyntaxclass PatternExprSyntaxclass PrefixOperatorExprSyntaxclass RegexLiteralExprSyntaxclass SequenceExprSyntaxclass StringLiteralExprSyntaxclass SubscriptCallExprSyntaxclass SuperExprSyntaxclass SwitchExprSyntaxclass TernaryExprSyntaxclass TryExprSyntaxclass TupleExprSyntaxclass TypeExprSyntaxclass UnresolvedAsExprSyntaxclass UnresolvedIsExprSyntaxShow all
A pattern that contains an ExprSyntaxProtocol.
Documentation
A pattern that contains an ExprSyntaxProtocol.
Examples
Patterns can be used in switch cases like the following example:
switch raw.kind {
case .expressionPattern:
return true
default:
return false
}
Children
expression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An interpolated expression inside a string literal.
Documentation
An interpolated expression inside a string literal.
- SeeAlso:
StringSegmentSyntax
Children
backslash:\pounds:<rawStringPoundDelimiter>?leftParen:(expressions:LabeledExprListSyntaxrightParen:)
Contained in
StringLiteralSegmentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxextensionKeyword:extensionextendedType:TypeSyntaxinheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
fallthroughKeyword:fallthrough
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
forKeyword:fortryKeyword:try?awaitKeyword:await?caseKeyword:case?pattern:PatternSyntaxtypeAnnotation:TypeAnnotationSyntax?inKeyword:insequence:ExprSyntaxwhereClause:WhereClauseSyntax?body:CodeBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
expression:ExprSyntaxexclamationMark:!
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MacroExpansionDeclSyntaxclass MacroExpansionExprSyntax
No documentation available.
Documentation
No documentation available.
Children
calledExpression:ExprSyntaxleftParen:(?arguments:LabeledExprListSyntaxrightParen:)?trailingClosure:ClosureExprSyntax?additionalTrailingClosures:MultipleTrailingClosureElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxfuncKeyword:funcname: (<identifier>|<binaryOperator>|<prefixOperator>|<postfixOperator>)genericParameterClause:GenericParameterClauseSyntax?signature:FunctionSignatureSyntaxgenericWhereClause:GenericWhereClauseSyntax?body:CodeBlockSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithOptionalCodeBlocktrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
asyncSpecifier: (async|reasync)?throwsClause:ThrowsClauseSyntax?
Contained in
FunctionSignatureSyntax.FunctionSignatureSyntax/effectSpecifiers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EffectSpecifierstrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(parameters:FunctionParameterListSyntaxrightParen:)
Contained in
FunctionSignatureSyntax.FunctionSignatureSyntax/parameterClauseSubscriptDeclSyntax.SubscriptDeclSyntax/parameterClause
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
FunctionParameterSyntax *
Contained in
FunctionParameterClauseSyntax.FunctionParameterClauseSyntax/parameters
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxfirstName: (<identifier>|_)secondName: (<identifier>|_)?colon::type:TypeSyntaxellipsis:...?defaultValue:InitializerClauseSyntax?trailingComma:,?
Contained in
FunctionParameterListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
parameterClause:FunctionParameterClauseSyntaxeffectSpecifiers:FunctionEffectSpecifiersSyntax?returnClause:ReturnClauseSyntax?
Contained in
FunctionDeclSyntax.FunctionDeclSyntax/signatureInitializerDeclSyntax.InitializerDeclSyntax/signatureMacroDeclSyntax.MacroDeclSyntax/signature
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
leftParen:(parameters:TupleTypeElementListSyntaxrightParen:)effectSpecifiers:TypeEffectSpecifiersSyntax?returnClause:ReturnClauseSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftAngle:<arguments:GenericArgumentListSyntaxrightAngle:>
Contained in
GenericSpecializationExprSyntax.GenericSpecializationExprSyntax/genericArgumentClauseIdentifierTypeSyntax.IdentifierTypeSyntax/genericArgumentClauseKeyPathPropertyComponentSyntax.KeyPathPropertyComponentSyntax/genericArgumentClauseMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/genericArgumentClauseMacroExpansionExprSyntax.MacroExpansionExprSyntax/genericArgumentClauseMemberTypeSyntax.MemberTypeSyntax/genericArgumentClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
GenericArgumentSyntax *
Contained in
GenericArgumentClauseSyntax.GenericArgumentClauseSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
argument:TypeSyntaxtrailingComma:,?
Contained in
GenericArgumentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The parameter clause that defines the generic parameters.
Documentation
The parameter clause that defines the generic parameters.
Children
leftAngle:<parameters:GenericParameterListSyntaxgenericWhereClause:GenericWhereClauseSyntax?rightAngle:>
Contained in
ActorDeclSyntax.ActorDeclSyntax/genericParameterClauseClassDeclSyntax.ClassDeclSyntax/genericParameterClauseEnumDeclSyntax.EnumDeclSyntax/genericParameterClauseFunctionDeclSyntax.FunctionDeclSyntax/genericParameterClauseInitializerDeclSyntax.InitializerDeclSyntax/genericParameterClauseMacroDeclSyntax.MacroDeclSyntax/genericParameterClauseNamedOpaqueReturnTypeSyntax.NamedOpaqueReturnTypeSyntax/genericParameterClauseStructDeclSyntax.StructDeclSyntax/genericParameterClauseSubscriptDeclSyntax.SubscriptDeclSyntax/genericParameterClauseTypeAliasDeclSyntax.TypeAliasDeclSyntax/genericParameterClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
GenericParameterSyntax *
Contained in
GenericParameterClauseSyntax.GenericParameterClauseSyntax/parameters
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxeachKeyword:each?name:<identifier>colon::?inheritedType:TypeSyntax?trailingComma:,?
Contained in
GenericParameterListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithAttributestrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
GenericRequirementSyntax *
Contained in
GenericWhereClauseSyntax.GenericWhereClauseSyntax/requirements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
requirement: (SameTypeRequirementSyntax|ConformanceRequirementSyntax|LayoutRequirementSyntax)trailingComma:,?
Contained in
GenericRequirementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
expression:ExprSyntaxgenericArgumentClause:GenericArgumentClauseSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A where clause that places additional constraints on generic parameters like where Element: Hashable.
Documentation
A where clause that places additional constraints on generic parameters like where Element: Hashable.
Children
whereKeyword:whererequirements:GenericRequirementListSyntax
Contained in
ActorDeclSyntax.ActorDeclSyntax/genericWhereClauseAssociatedTypeDeclSyntax.AssociatedTypeDeclSyntax/genericWhereClauseClassDeclSyntax.ClassDeclSyntax/genericWhereClauseDifferentiableAttributeArgumentsSyntax.DifferentiableAttributeArgumentsSyntax/genericWhereClauseEnumDeclSyntax.EnumDeclSyntax/genericWhereClauseExtensionDeclSyntax.ExtensionDeclSyntax/genericWhereClauseFunctionDeclSyntax.FunctionDeclSyntax/genericWhereClauseGenericParameterClauseSyntax.GenericParameterClauseSyntax/genericWhereClauseInitializerDeclSyntax.InitializerDeclSyntax/genericWhereClauseMacroDeclSyntax.MacroDeclSyntax/genericWhereClauseProtocolDeclSyntax.ProtocolDeclSyntax/genericWhereClauseSpecializeAttributeArgumentListSyntaxStructDeclSyntax.StructDeclSyntax/genericWhereClauseSubscriptDeclSyntax.SubscriptDeclSyntax/genericWhereClauseTypeAliasDeclSyntax.TypeAliasDeclSyntax/genericWhereClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
guardKeyword:guardconditions:ConditionElementListSyntaxelseKeyword:elsebody:CodeBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A pattern that contains a TokenSyntax.
Documentation
A pattern that contains a TokenSyntax.
Examples
IdentifierPatternSyntax can be used in simplple variable declarations. For example a in the exmaple:
let a = 1
Children
identifier: (<identifier>|self|init|deinit|subscript)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name: (<identifier>|Self|Any|_)genericArgumentClause:GenericArgumentClauseSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
IfConfigClauseSyntax *
Contained in
IfConfigDeclSyntax.IfConfigDeclSyntax/clauses
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
poundKeyword: (#if|#elseif|#else)condition:ExprSyntax?elements: (CodeBlockItemListSyntax|SwitchCaseListSyntax|MemberBlockItemListSyntax|ExprSyntax|AttributeListSyntax)?
Contained in
IfConfigClauseListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
clauses:IfConfigClauseListSyntaxpoundEndif:#endif
Contained in
AttributeListSyntaxPostfixIfConfigExprSyntax.PostfixIfConfigExprSyntax/configSwitchCaseListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ifKeyword:ifconditions:ConditionElementListSyntaxbody:CodeBlockSyntaxelseKeyword:else?elseBody: (IfExprSyntax|CodeBlockSyntax)?
Contained in
IfExprSyntax.IfExprSyntax/elseBody
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments for the @_implements attribute of the form Type, methodName(arg1Label:arg2Label:)
Documentation
The arguments for the @_implements attribute of the form Type, methodName(arg1Label:arg2Label:)
Children
type:TypeSyntaxcomma:,declName:DeclReferenceExprSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
wrappedType:TypeSyntaxexclamationMark:!
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An import declaration
Documentation
An import declaration
An example of an import declaration is
import Foundation
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaximportKeyword:importimportKindSpecifier: (typealias|struct|class|enum|protocol|var|let|func|inout)?path:ImportPathComponentListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ImportPathComponentSyntax *
Contained in
ImportDeclSyntax.ImportDeclSyntax/path
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name: (<identifier>|<binaryOperator>|<prefixOperator>|<postfixOperator>)trailingPeriod:.?
Contained in
ImportPathComponentListSyntax
Attributes
- Supertypes
An expression prefixed with & to pass an argument to an inout parameter.
Documentation
An expression prefixed with & to pass an argument to an inout parameter.
Children
ampersand:&expression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An infix operator call like 1 + 2.
Documentation
An infix operator call like 1 + 2.
- Note: This node is only generated after operators are folded using the
SwiftOperatorslibrary. Beforehand, the parser does not know the precedences of operators and thus the operator is just aBinaryOperatorExprSyntaxin aSequenceExprSyntax.
Children
leftOperand:ExprSyntaxoperator:ExprSyntaxrightOperand:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
colon::inheritedTypes:InheritedTypeListSyntax
Contained in
ActorDeclSyntax.ActorDeclSyntax/inheritanceClauseAssociatedTypeDeclSyntax.AssociatedTypeDeclSyntax/inheritanceClauseClassDeclSyntax.ClassDeclSyntax/inheritanceClauseEnumDeclSyntax.EnumDeclSyntax/inheritanceClauseExtensionDeclSyntax.ExtensionDeclSyntax/inheritanceClauseProtocolDeclSyntax.ProtocolDeclSyntax/inheritanceClauseStructDeclSyntax.StructDeclSyntax/inheritanceClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
InheritedTypeSyntax *
Contained in
InheritanceClauseSyntax.InheritanceClauseSyntax/inheritedTypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
type:TypeSyntaxtrailingComma:,?
Contained in
InheritedTypeListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
equal:=value:ExprSyntax
Contained in
EnumCaseElementSyntax.EnumCaseElementSyntax/rawValueEnumCaseParameterSyntax.EnumCaseParameterSyntax/defaultValueFunctionParameterSyntax.FunctionParameterSyntax/defaultValueMacroDeclSyntax.MacroDeclSyntax/definitionMatchingPatternConditionSyntax.MatchingPatternConditionSyntax/initializerOptionalBindingConditionSyntax.OptionalBindingConditionSyntax/initializerPatternBindingSyntax.PatternBindingSyntax/initializer
Attributes
- Supertypes
An init declaration
Documentation
An init declaration
An example of an initializer is
init(someParameter: Int) {
}
The body is optional because this node also represents initializer requirements inside protocols.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxinitKeyword:initoptionalMark: (?|!)?genericParameterClause:GenericParameterClauseSyntax?signature:FunctionSignatureSyntaxgenericWhereClause:GenericWhereClauseSyntax?body:CodeBlockSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithOptionalCodeBlocktrait WithModifierstrait WithGenericParameterstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Checks if an expression is of a given type.
Documentation
Checks if an expression is of a given type.
An example of an is expression is
value is Double
- Note: This node is only generated after operators are folded using the
SwiftOperatorslibrary. Beforehand, the parser does not know the precedences of operators and thus representsisby anUnresolvedIsExpr.
Children
expression:ExprSyntaxisKeyword:istype:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
isKeyword:istype:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The components of a key path
Documentation
The components of a key path
Children
KeyPathComponentSyntax *
Contained in
KeyPathExprSyntax.KeyPathExprSyntax/components
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A single key path component
Documentation
A single key path component
Children
period:.?component: (KeyPathPropertyComponentSyntax|KeyPathSubscriptComponentSyntax|KeyPathOptionalComponentSyntax)
Contained in
KeyPathComponentListSyntax
Attributes
- Supertypes
A key path.
Documentation
A key path.
Examples
\a.b[2].a
Children
backslash:\root:TypeSyntax?components:KeyPathComponentListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A key path component like ? or !.
Documentation
A key path component like ? or !.
Children
questionOrExclamationMark: (?|!)
Contained in
KeyPathComponentSyntax.KeyPathComponentSyntax/component
Attributes
- Supertypes
A key path component like .property or .1.
Documentation
A key path component like .property or .1.
Children
declName:DeclReferenceExprSyntaxgenericArgumentClause:GenericArgumentClauseSyntax?
Contained in
KeyPathComponentSyntax.KeyPathComponentSyntax/component
Attributes
- Supertypes
A key path component like .[17]
Documentation
A key path component like .[17]
Children
leftSquare:[arguments:LabeledExprListSyntaxrightSquare:]
Contained in
KeyPathComponentSyntax.KeyPathComponentSyntax/component
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
LabeledExprSyntax *
Contained in
AttributeSyntax.AttributeSyntax/argumentsExpressionSegmentSyntax.ExpressionSegmentSyntax/expressionsFunctionCallExprSyntax.FunctionCallExprSyntax/argumentsKeyPathSubscriptComponentSyntax.KeyPathSubscriptComponentSyntax/argumentsMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/argumentsMacroExpansionExprSyntax.MacroExpansionExprSyntax/argumentsSubscriptCallExprSyntax.SubscriptCallExprSyntax/argumentsTupleExprSyntax.TupleExprSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An expression that is prefixed by a label.
Documentation
An expression that is prefixed by a label.
For example, labeled expressions occur in
- Function calls, where the label is the parameter label.
- Tuples, where the label is the name of the tuple element.
Children
label: (<identifier>|_)?colon::?expression:ExprSyntaxtrailingComma:,?
Contained in
LabeledExprListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A labeled argument for the @_specialize attribute like exported: true
Documentation
A labeled argument for the @_specialize attribute like exported: true
Children
label: (target|availability|exported|kind|spi|spiModule)colon::value:TokenSyntaxtrailingComma:,?
Contained in
SpecializeAttributeArgumentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
label:<identifier>colon::statement:StmtSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
type:TypeSyntaxcolon::layoutSpecifier: (_Trivial|_TrivialAtMost|_UnknownLayout|_RefCountedObject|_NativeRefCountedObject|_Class|_NativeClass|_BridgeObject|_TrivialStride)leftParen:(?size:<integerLiteral>?comma:,?alignment:<integerLiteral>?rightParen:)?
Contained in
GenericRequirementSyntax.GenericRequirementSyntax/requirement
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
LifetimeSpecifierArgumentSyntax *
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A single argument that can be added to a lifetime specifier like borrow, mutate, consume or copy.
Documentation
A single argument that can be added to a lifetime specifier like borrow, mutate, consume or copy.
Example data in func foo(data: Array<Item>) -> borrow(data) ComplexReferenceType
Children
parameter: (<identifier>|self|<integerLiteral>)trailingComma:,?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An optional argument passed to a type parameter.
Documentation
An optional argument passed to a type parameter.
Example borrow(data) in func foo(data: Array<Item>) -> borrow(data) ComplexReferenceType
Children
leftParen:(arguments:LifetimeSpecifierArgumentListSyntaxrightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A specifier that specifies function parameter on whose lifetime a type depends
Documentation
A specifier that specifies function parameter on whose lifetime a type depends
Children
specifier: (_copy|_consume|_borrow|_mutate)arguments:LifetimeSpecifierArgumentsSyntax
Contained in
TypeSpecifierListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxmacroKeyword:macroname:<identifier>genericParameterClause:GenericParameterClauseSyntax?signature:FunctionSignatureSyntaxdefinition:InitializerClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The expansion of a freestanding macro in a position that expects a declaration.
Documentation
The expansion of a freestanding macro in a position that expects a declaration.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxpound:#macroName:<identifier>genericArgumentClause:GenericArgumentClauseSyntax?leftParen:(?arguments:LabeledExprListSyntaxrightParen:)?trailingClosure:ClosureExprSyntax?additionalTrailingClosures:MultipleTrailingClosureElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The expansion of a freestanding macro in a position that expects an expression.
Documentation
The expansion of a freestanding macro in a position that expects an expression.
Children
pound:#macroName:<identifier>genericArgumentClause:GenericArgumentClauseSyntax?leftParen:(?arguments:LabeledExprListSyntaxrightParen:)?trailingClosure:ClosureExprSyntax?additionalTrailingClosures:MultipleTrailingClosureElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
caseKeyword:casepattern:PatternSyntaxtypeAnnotation:TypeAnnotationSyntax?initializer:InitializerClauseSyntax
Contained in
ConditionElementSyntax.ConditionElementSyntax/condition
Attributes
- Supertypes
An expression that access a member like a function or a property.
Documentation
An expression that access a member like a function or a property.
Children
base:ExprSyntax?period:.declName:DeclReferenceExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
MemberBlockItemSyntax *
Contained in
IfConfigClauseSyntax.IfConfigClauseSyntax/elementsMemberBlockSyntax.MemberBlockSyntax/members
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A member declaration of a type consisting of a declaration and an optional semicolon;
Documentation
A member declaration of a type consisting of a declaration and an optional semicolon;
Children
decl:DeclSyntaxsemicolon:;?
Contained in
MemberBlockItemListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
leftBrace:{members:MemberBlockItemListSyntaxrightBrace:}
Contained in
ActorDeclSyntax.ActorDeclSyntax/memberBlockClassDeclSyntax.ClassDeclSyntax/memberBlockEnumDeclSyntax.EnumDeclSyntax/memberBlockExtensionDeclSyntax.ExtensionDeclSyntax/memberBlockProtocolDeclSyntax.ProtocolDeclSyntax/memberBlockStructDeclSyntax.StructDeclSyntax/memberBlock
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
baseType:TypeSyntaxperiod:.name: (<identifier>|self)genericArgumentClause:GenericArgumentClauseSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
baseType:TypeSyntaxperiod:.metatypeSpecifier: (Type|Protocol)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
In case the source code is missing a declaration, this node stands in place of the missing declaration.
Documentation
In case the source code is missing a declaration, this node stands in place of the missing declaration.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxplaceholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait MissingNodetrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
In case the source code is missing an expression, this node stands in place of the missing expression.
Documentation
In case the source code is missing an expression, this node stands in place of the missing expression.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MissingNodetrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MissingDeclSyntaxclass MissingExprSyntaxclass MissingPatternSyntaxclass MissingStmtSyntaxclass MissingSyntaxclass MissingTypeSyntaxShow all
In case the source code is missing a pattern, this node stands in place of the missing pattern.
Documentation
In case the source code is missing a pattern, this node stands in place of the missing pattern.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MissingNodetrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
In case the source code is missing a statement, this node stands in place of the missing statement.
Documentation
In case the source code is missing a statement, this node stands in place of the missing statement.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MissingNodetrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
In case the source code is missing a syntax node, this node stands in place of the missing node.
Documentation
In case the source code is missing a syntax node, this node stands in place of the missing node.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MissingNodetrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
In case the source code is missing a type, this node stands in place of the missing type.
Documentation
In case the source code is missing a type, this node stands in place of the missing type.
Children
placeholder:<identifier>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MissingNodetrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
MultipleTrailingClosureElementSyntax *
Contained in
FunctionCallExprSyntax.FunctionCallExprSyntax/additionalTrailingClosuresMacroExpansionDeclSyntax.MacroExpansionDeclSyntax/additionalTrailingClosuresMacroExpansionExprSyntax.MacroExpansionExprSyntax/additionalTrailingClosuresSubscriptCallExprSyntax.SubscriptCallExprSyntax/additionalTrailingClosures
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
label: (<identifier>|_)colon::closure:ClosureExprSyntax
Contained in
MultipleTrailingClosureElementListSyntax
Attributes
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ActorDeclSyntaxclass AssociatedTypeDeclSyntaxclass ClassDeclSyntaxclass EnumDeclSyntaxclass FunctionDeclSyntaxclass MacroDeclSyntaxclass OperatorDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxclass TypeAliasDeclSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
genericParameterClause:GenericParameterClauseSyntaxtype:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
ObjCSelectorPieceSyntax *
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A piece of an Objective-C selector. Either consisting of just an identifier for a nullary selector, an identifier and a colon for a labeled argument or just a colon for an unlabeled argument
Documentation
A piece of an Objective-C selector. Either consisting of just an identifier for a nullary selector, an identifier and a colon for a labeled argument or just a colon for an unlabeled argument
Children
name:TokenSyntax?colon::?
Contained in
ObjCSelectorPieceListSyntax
Attributes
- Supertypes
The arguments for the '@_opaqueReturnTypeOf()'.
Documentation
The arguments for the '@_opaqueReturnTypeOf()'.
Children
mangledName:StringLiteralExprSyntaxcomma:,ordinal:<integerLiteral>
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
A Swift operator declaration.
Documentation
A Swift operator declaration.
Children
fixitySpecifier: (prefix|postfix|infix)operatorKeyword:operatorname: (<binaryOperator>|<prefixOperator>|<postfixOperator>)operatorPrecedenceAndTypes:OperatorPrecedenceAndTypesSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait NamedDecltrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A clause to specify precedence group in infix operator declarations, and designated types in any operator declaration.
Documentation
A clause to specify precedence group in infix operator declarations, and designated types in any operator declaration.
Children
colon::precedenceGroup:<identifier>designatedTypes:DesignatedTypeListSyntax
Contained in
OperatorDeclSyntax.OperatorDeclSyntax/operatorPrecedenceAndTypes
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
bindingSpecifier: (let|var|inout|_mutating|_borrowing|_consuming)pattern:PatternSyntaxtypeAnnotation:TypeAnnotationSyntax?initializer:InitializerClauseSyntax?
Contained in
ConditionElementSyntax.ConditionElementSyntax/condition
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
expression:ExprSyntaxquestionMark:?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
wrappedType:TypeSyntaxquestionMark:?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The arguments for the '@_originallyDefinedIn' attribute
Documentation
The arguments for the '@_originallyDefinedIn' attribute
Children
moduleLabel:modulecolon::moduleName:StringLiteralExprSyntaxcomma:,platforms:PlatformVersionItemListSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
A pack element expression spelled with each.
Documentation
A pack element expression spelled with each.
Children
eachKeyword:eachpack:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
eachKeyword:eachpack:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A pack expansion expression spelled with repeat.
Documentation
A pack expansion expression spelled with repeat.
Children
repeatKeyword:repeatrepetitionPattern:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
repeatKeyword:repeatrepetitionPattern:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AccessorParametersSyntaxclass DeclModifierDetailSyntaxclass DeclNameArgumentsSyntaxclass ExpressionSegmentSyntaxclass FunctionTypeSyntaxclass TupleExprSyntaxclass TuplePatternSyntaxclass TupleTypeSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
PatternBindingSyntax *
Contained in
VariableDeclSyntax.VariableDeclSyntax/bindings
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Defines variables inside a variable declaration.
Documentation
Defines variables inside a variable declaration.
Children
pattern:PatternSyntaxtypeAnnotation:TypeAnnotationSyntax?initializer:InitializerClauseSyntax?accessorBlock:AccessorBlockSyntax?trailingComma:,?
Contained in
PatternBindingListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class ExpressionPatternSyntaxclass IdentifierPatternSyntaxclass IsTypePatternSyntaxclass MissingPatternSyntaxclass TuplePatternSyntaxclass WildcardPatternSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
PlatformVersionItemSyntax *
Contained in
BackDeployedAttributeArgumentsSyntax.BackDeployedAttributeArgumentsSyntax/platformsOriginallyDefinedInAttributeArgumentsSyntax.OriginallyDefinedInAttributeArgumentsSyntax/platforms
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A single platform/version pair in an attribute, e.g. iOS 10.1.
Documentation
A single platform/version pair in an attribute, e.g. iOS 10.1.
Children
platformVersion:PlatformVersionSyntaxtrailingComma:,?
Contained in
PlatformVersionItemListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An argument to @available that restricts the availability on a certain platform to a version, e.g. iOS 10 or swift 3.4.
Documentation
An argument to @available that restricts the availability on a certain platform to a version, e.g. iOS 10 or swift 3.4.
Children
platform:<identifier>version:VersionTupleSyntax?
Contained in
AvailabilityArgumentSyntax.AvailabilityArgumentSyntax/argumentPlatformVersionItemSyntax.PlatformVersionItemSyntax/platformVersion
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
base:ExprSyntax?config:IfConfigDeclSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
expression:ExprSyntaxoperator:<postfixOperator>
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
fileLabel:filefileColon::fileName:SimpleStringLiteralExprSyntaxcomma:,lineLabel:linelineColon::lineNumber:<integerLiteral>
Contained in
PoundSourceLocationSyntax.PoundSourceLocationSyntax/arguments
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
poundSourceLocation:#sourceLocationleftParen:(arguments:PoundSourceLocationArgumentsSyntax?rightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Specifies the precedence of an operator when used in an operation that includes optional chaining.
Documentation
Specifies the precedence of an operator when used in an operation that includes optional chaining.
Children
assignmentLabel:assignmentcolon::value: (true|false)
Contained in
PrecedenceGroupAttributeListSyntax
Attributes
- Supertypes
Specifies how a sequence of operators with the same precedence level are grouped together in the absence of grouping parentheses.
Documentation
Specifies how a sequence of operators with the same precedence level are grouped together in the absence of grouping parentheses.
Children
associativityLabel:associativitycolon::value: (left|right|none)
Contained in
PrecedenceGroupAttributeListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
(PrecedenceGroupRelationSyntax | PrecedenceGroupAssignmentSyntax | PrecedenceGroupAssociativitySyntax) *
Contained in
PrecedenceGroupDeclSyntax.PrecedenceGroupDeclSyntax/groupAttributes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A Swift precedencegroup declaration.
Documentation
A Swift precedencegroup declaration.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxprecedencegroupKeyword:precedencegroupname:<identifier>leftBrace:{groupAttributes:PrecedenceGroupAttributeListSyntaxrightBrace:}
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait NamedDecltrait Bracedtrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
PrecedenceGroupNameSyntax *
Contained in
PrecedenceGroupRelationSyntax.PrecedenceGroupRelationSyntax/precedenceGroups
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name:<identifier>trailingComma:,?
Contained in
PrecedenceGroupNameListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Specify the new precedence group's relation to existing precedence groups.
Documentation
Specify the new precedence group's relation to existing precedence groups.
Children
higherThanOrLowerThanLabel: (higherThan|lowerThan)colon::precedenceGroups:PrecedenceGroupNameListSyntax
Contained in
PrecedenceGroupAttributeListSyntax
Attributes
- Supertypes
A prefix operator applied to a value.
Documentation
A prefix operator applied to a value.
Examples
-x
!true
Children
operator:<prefixOperator>expression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftAngle:<primaryAssociatedTypes:PrimaryAssociatedTypeListSyntaxrightAngle:>
Contained in
ProtocolDeclSyntax.ProtocolDeclSyntax/primaryAssociatedTypeClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
PrimaryAssociatedTypeSyntax *
Contained in
PrimaryAssociatedTypeClauseSyntax.PrimaryAssociatedTypeClauseSyntax/primaryAssociatedTypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
name:<identifier>trailingComma:,?
Contained in
PrimaryAssociatedTypeListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A protocol declaration
Documentation
A protocol declaration
An example of a protocol declaration is
protocol Example {
var isValid: Bool { get }
}
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxprotocolKeyword:protocolname:<identifier>primaryAssociatedTypeClause:PrimaryAssociatedTypeClauseSyntax?inheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait NamedDecltrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
openingPounds:<regexPoundDelimiter>?openingSlash:/regex:<regexLiteralPattern>closingSlash:/closingPounds:<regexPoundDelimiter>?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
repeatKeyword:repeatbody:CodeBlockSyntaxwhileKeyword:whilecondition:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
arrow:->type:TypeSyntax
Contained in
ClosureSignatureSyntax.ClosureSignatureSyntax/returnClauseFunctionSignatureSyntax.FunctionSignatureSyntax/returnClauseFunctionTypeSyntax.FunctionTypeSyntax/returnClauseSubscriptDeclSyntax.SubscriptDeclSyntax/returnClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
returnKeyword:returnexpression:ExprSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftType:TypeSyntaxequal: (<binaryOperator>|<prefixOperator>|<postfixOperator>)rightType:TypeSyntax
Contained in
GenericRequirementSyntax.GenericRequirementSyntax/requirement
Attributes
- Supertypes
A flat list of expressions before operator folding using the SwiftOperators library.
Documentation
A flat list of expressions before operator folding using the SwiftOperators library.
Examples
1 + 2 + 3
Children
elements:ExprListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A simple string that can’t contain string interpolation and cannot have raw string delimiters.
Documentation
A simple string that can’t contain string interpolation and cannot have raw string delimiters.
Children
openingQuote: ("|""")segments:SimpleStringLiteralSegmentListSyntaxclosingQuote: ("|""")
Contained in
AvailabilityLabeledArgumentSyntax.AvailabilityLabeledArgumentSyntax/valuePoundSourceLocationArgumentsSyntax.PoundSourceLocationArgumentsSyntax/fileName
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
String literal segments that only can contain non string interpolated or extended escaped strings
Documentation
String literal segments that only can contain non string interpolated or extended escaped strings
Children
StringSegmentSyntax *
Contained in
SimpleStringLiteralExprSyntax.SimpleStringLiteralExprSyntax/segments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A specifier that can be attached to a type to eg. mark a parameter as inout or consuming
Documentation
A specifier that can be attached to a type to eg. mark a parameter as inout or consuming
Children
specifier: (inout|__shared|__owned|isolated|_const|borrowing|consuming|transferring|_resultDependsOn)
Contained in
TypeSpecifierListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
someOrAnySpecifier: (some|any)constraint:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
shebang:<shebang>?statements:CodeBlockItemListSyntaxendOfFileToken: ``
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithStatementstrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A collection of arguments for the @_specialize attribute
Documentation
A collection of arguments for the @_specialize attribute
Children
(LabeledSpecializeArgumentSyntax | SpecializeAvailabilityArgumentSyntax | SpecializeTargetFunctionArgumentSyntax | GenericWhereClauseSyntax) *
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The availability argument for the _specialize attribute
Documentation
The availability argument for the _specialize attribute
Children
availabilityLabel:availabilitycolon::availabilityArguments:AvailabilityArgumentListSyntaxsemicolon:;
Contained in
SpecializeAttributeArgumentListSyntax
Attributes
- Supertypes
A labeled argument for the @_specialize attribute with a function decl value like target: myFunc(_:)
Documentation
A labeled argument for the @_specialize attribute with a function decl value like target: myFunc(_:)
Children
targetLabel:targetcolon::declName:DeclReferenceExprSyntaxtrailingComma:,?
Contained in
SpecializeAttributeArgumentListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class BreakStmtSyntaxclass ContinueStmtSyntaxclass DeferStmtSyntaxclass DiscardStmtSyntaxclass DoStmtSyntaxclass ExpressionStmtSyntaxclass FallThroughStmtSyntaxclass ForStmtSyntaxclass GuardStmtSyntaxclass LabeledStmtSyntaxclass MissingStmtSyntaxclass RepeatStmtSyntaxclass ReturnStmtSyntaxclass ThenStmtSyntaxclass ThrowStmtSyntaxclass WhileStmtSyntaxclass YieldStmtSyntaxShow all
A string literal.
Documentation
A string literal.
Examples
"Hello \(userName())!"
Children
openingPounds:<rawStringPoundDelimiter>?openingQuote: ("|"""|')segments:StringLiteralSegmentListSyntaxclosingQuote: ("|"""|')closingPounds:<rawStringPoundDelimiter>?
Contained in
AttributeSyntax.AttributeSyntax/argumentsConventionAttributeArgumentsSyntax.ConventionAttributeArgumentsSyntax/cTypeStringDocumentationAttributeArgumentSyntax.DocumentationAttributeArgumentSyntax/valueExposeAttributeArgumentsSyntax.ExposeAttributeArgumentsSyntax/cxxNameOpaqueReturnTypeOfAttributeArgumentsSyntax.OpaqueReturnTypeOfAttributeArgumentsSyntax/mangledNameOriginallyDefinedInAttributeArgumentsSyntax.OriginallyDefinedInAttributeArgumentsSyntax/moduleNameUnavailableFromAsyncAttributeArgumentsSyntax.UnavailableFromAsyncAttributeArgumentsSyntax/messageUnderscorePrivateAttributeArgumentsSyntax.UnderscorePrivateAttributeArgumentsSyntax/filename
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
(StringSegmentSyntax | ExpressionSegmentSyntax) *
Contained in
StringLiteralExprSyntax.StringLiteralExprSyntax/segments
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A literal segment inside a string segment.
Documentation
A literal segment inside a string segment.
- SeeAlso:
ExpressionSegmentSyntax
Children
content:<stringSegment>
Contained in
SimpleStringLiteralSegmentListSyntaxStringLiteralSegmentListSyntax
Attributes
- Supertypes
A struct declaration
Documentation
A struct declaration
An example of a struct declaration is
struct SomeStruct {
let someMember: String
var anotherMember: Int
func foo() {
print(someMember)
}
mutating func bar() {
anotherMember = 42
}
}
A struct declaration may be declared without any members.
struct EmptyStruct {
}
A struct declaration may include a type inheritance clause listing one or more protocols the struct conforms to.
The example below uses Hashable and Equatable protocols whose members are automatically synthesized by the compiler if the struct contains stored members that are themselves Hashable and Equatable.
struct AdvancedStruct: Hashable, Equatable {
let someMember: String
var anotherMember: Int
}
A struct declaration may include a generic parameter clause as well as a generic where clause.
struct Stack<Element> {
var items: [Element] = []
mutating func push(_ item: Element) {
items.append(item)
}
mutating func pop() -> Element {
return items.removeLast()
}
}
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxstructKeyword:structname:<identifier>genericParameterClause:GenericParameterClauseSyntax?inheritanceClause:InheritanceClauseSyntax?genericWhereClause:GenericWhereClauseSyntax?memberBlock:MemberBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclGrouptrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
calledExpression:ExprSyntaxleftSquare:[arguments:LabeledExprListSyntaxrightSquare:]trailingClosure:ClosureExprSyntax?additionalTrailingClosures:MultipleTrailingClosureElementListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxsubscriptKeyword:subscriptgenericParameterClause:GenericParameterClauseSyntax?parameterClause:FunctionParameterClauseSyntaxreturnClause:ReturnClauseSyntaxgenericWhereClause:GenericWhereClauseSyntax?accessorBlock:AccessorBlockSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
withoutTilde:<prefixOperator>type:TypeSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait DeclSyntaxclass AccessorDeclSyntaxclass ActorDeclSyntaxclass AssociatedTypeDeclSyntaxclass ClassDeclSyntaxclass DeinitializerDeclSyntaxclass EnumCaseDeclSyntaxclass EnumDeclSyntaxclass ExtensionDeclSyntaxclass FunctionDeclSyntaxclass IfConfigDeclSyntaxclass ImportDeclSyntaxclass InitializerDeclSyntaxclass MacroDeclSyntaxclass MacroExpansionDeclSyntaxclass MissingDeclSyntaxclass OperatorDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxclass SubscriptDeclSyntaxclass TypeAliasDeclSyntaxclass VariableDeclSyntaxtrait ExprSyntaxclass ArrayExprSyntaxclass ArrowExprSyntaxclass AsExprSyntaxclass AssignmentExprSyntaxclass AwaitExprSyntaxclass BinaryOperatorExprSyntaxclass BooleanLiteralExprSyntaxclass BorrowExprSyntaxclass CanImportExprSyntaxclass ClosureExprSyntaxclass ConsumeExprSyntaxclass CopyExprSyntaxclass DeclReferenceExprSyntaxclass DictionaryExprSyntaxclass DoExprSyntaxclass FloatLiteralExprSyntaxclass ForceUnwrapExprSyntaxclass FunctionCallExprSyntaxclass IfExprSyntaxclass InOutExprSyntaxclass InfixOperatorExprSyntaxclass IntegerLiteralExprSyntaxclass IsExprSyntaxclass KeyPathExprSyntaxclass MacroExpansionExprSyntaxclass MemberAccessExprSyntaxclass MissingExprSyntaxclass NilLiteralExprSyntaxclass PackElementExprSyntaxclass PackExpansionExprSyntaxclass PatternExprSyntaxclass PrefixOperatorExprSyntaxclass RegexLiteralExprSyntaxclass SequenceExprSyntaxclass StringLiteralExprSyntaxclass SubscriptCallExprSyntaxclass SuperExprSyntaxclass SwitchExprSyntaxclass TernaryExprSyntaxclass TryExprSyntaxclass TupleExprSyntaxclass TypeExprSyntaxclass UnresolvedAsExprSyntaxclass UnresolvedIsExprSyntaxtrait PatternSyntaxclass ExpressionPatternSyntaxclass IdentifierPatternSyntaxclass IsTypePatternSyntaxclass MissingPatternSyntaxclass TuplePatternSyntaxclass WildcardPatternSyntaxtrait StmtSyntaxclass BreakStmtSyntaxclass ContinueStmtSyntaxclass DeferStmtSyntaxclass DiscardStmtSyntaxclass DoStmtSyntaxclass ExpressionStmtSyntaxclass FallThroughStmtSyntaxclass ForStmtSyntaxclass GuardStmtSyntaxclass LabeledStmtSyntaxclass MissingStmtSyntaxclass RepeatStmtSyntaxclass ReturnStmtSyntaxclass ThenStmtSyntaxclass ThrowStmtSyntaxclass WhileStmtSyntaxclass YieldStmtSyntaxtrait SwiftTokenclass arrowclass atSignclass backslashclass backtickclass binaryOperatorclass colonclass commaclass dollarIdentifierclass ellipsisclass endOfFileclass equalclass exclamationMarkclass floatLiteralclass identifierclass infixQuestionMarkclass integerLiteralclass keywordclass leftAngleclass leftBraceclass leftParenclass leftSquareclass multilineStringQuoteclass periodclass postfixOperatorclass postfixQuestionMarkclass poundclass poundAvailableclass poundElseclass poundElseifclass poundEndifclass poundIfclass poundSourceLocationclass poundUnavailableclass prefixAmpersandclass prefixOperatorclass rawStringPoundDelimiterclass regexLiteralPatternclass regexPoundDelimiterclass regexSlashclass rightAngleclass rightBraceclass rightParenclass rightSquareclass semicolonclass shebangclass singleQuoteclass stringQuoteclass stringSegmentclass unknownclass wildcardtrait Syntaxclass AccessorBlockSyntaxclass AccessorParametersSyntaxclass ArrayElementSyntaxclass AttributeSyntaxclass CatchClauseSyntaxclass CatchItemSyntaxclass ClosureCaptureSyntaxclass ClosureParameterSyntaxclass ClosureSignatureSyntaxclass CodeBlockItemSyntaxclass CodeBlockSyntaxclass ConditionElementSyntaxclass DeclModifierDetailSyntaxclass DeclModifierSyntaxclass DeclNameArgumentSyntaxclass DeclNameArgumentsSyntaxclass DesignatedTypeSyntaxclass DictionaryElementSyntaxclass EnumCaseElementSyntaxclass EnumCaseParameterSyntaxclass ExpressionSegmentSyntaxclass FunctionParameterSyntaxclass FunctionSignatureSyntaxclass GenericArgumentSyntaxclass GenericParameterSyntaxclass GenericRequirementSyntaxclass GenericWhereClauseSyntaxclass IfConfigClauseSyntaxclass InheritanceClauseSyntaxclass InheritedTypeSyntaxclass InitializerClauseSyntaxclass KeyPathComponentSyntaxclass LabeledExprSyntaxclass LayoutRequirementSyntaxclass MemberBlockItemSyntaxclass MemberBlockSyntaxclass MissingSyntaxclass ObjCSelectorPieceSyntaxclass PatternBindingSyntaxclass PlatformVersionSyntaxclass ReturnClauseSyntaxclass SourceFileSyntaxclass StringSegmentSyntaxclass SwitchCaseItemSyntaxclass SwitchCaseLabelSyntaxclass SwitchCaseSyntaxclass SwitchDefaultLabelSyntaxclass ThrowsClauseSyntaxclass TokenSyntaxclass TupleTypeElementSyntaxclass TypeAnnotationSyntaxclass VersionComponentSyntaxclass VersionTupleSyntaxclass WhereClauseSyntaxclass YieldedExpressionSyntaxtrait SyntaxCollectionclass AccessorDeclListSyntaxclass ArrayElementListSyntaxclass AttributeListSyntaxclass CatchClauseListSyntaxclass CatchItemListSyntaxclass ClosureCaptureListSyntaxclass CodeBlockItemListSyntaxclass DeclModifierListSyntaxclass DesignatedTypeListSyntaxclass ExprListSyntaxclass IfConfigClauseListSyntaxclass InheritedTypeListSyntaxclass LabeledExprListSyntaxclass PatternBindingListSyntaxclass SwitchCaseItemListSyntaxclass SwitchCaseListSyntaxclass TypeSpecifierListSyntaxclass UnexpectedNodesSyntaxtrait TypeSyntaxclass ArrayTypeSyntaxclass AttributedTypeSyntaxclass CompositionTypeSyntaxclass DictionaryTypeSyntaxclass FunctionTypeSyntaxclass IdentifierTypeSyntaxclass MemberTypeSyntaxclass MetatypeTypeSyntaxclass MissingTypeSyntaxclass OptionalTypeSyntaxclass PackElementTypeSyntaxclass PackExpansionTypeSyntaxclass SomeOrAnyTypeSyntaxclass SuppressedTypeSyntaxclass TupleTypeSyntaxShow all
Attributes
- Supertypes
- Known subtypes
-
class arrowclass atSignclass backslashclass backtickclass binaryOperatorclass colonclass commaclass dollarIdentifierclass ellipsisclass endOfFileclass equalclass exclamationMarkclass floatLiteralclass identifierclass infixQuestionMarkclass integerLiteralclass keywordclass leftAngleclass leftBraceclass leftParenclass leftSquareclass multilineStringQuoteclass periodclass postfixOperatorclass postfixQuestionMarkclass poundclass poundAvailableclass poundElseclass poundElseifclass poundEndifclass poundIfclass poundSourceLocationclass poundUnavailableclass prefixAmpersandclass prefixOperatorclass rawStringPoundDelimiterclass regexLiteralPatternclass regexPoundDelimiterclass regexSlashclass rightAngleclass rightBraceclass rightParenclass rightSquareclass semicolonclass shebangclass singleQuoteclass stringQuoteclass stringSegmentclass unknownclass wildcardShow all
No documentation available.
Documentation
No documentation available.
Children
SwitchCaseItemSyntax *
Contained in
SwitchCaseLabelSyntax.SwitchCaseLabelSyntax/caseItems
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
pattern:PatternSyntaxwhereClause:WhereClauseSyntax?trailingComma:,?
Contained in
SwitchCaseItemListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
caseKeyword:casecaseItems:SwitchCaseItemListSyntaxcolon::
Contained in
SwitchCaseSyntax.SwitchCaseSyntax/label
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
(SwitchCaseSyntax | IfConfigDeclSyntax) *
Contained in
IfConfigClauseSyntax.IfConfigClauseSyntax/elementsSwitchExprSyntax.SwitchExprSyntax/cases
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attribute:AttributeSyntax?label: (SwitchDefaultLabelSyntax|SwitchCaseLabelSyntax)statements:CodeBlockItemListSyntax
Contained in
SwitchCaseListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithStatementstrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
defaultKeyword:defaultcolon::
Contained in
SwitchCaseSyntax.SwitchCaseSyntax/label
Attributes
- Supertypes
A switch expression.
Documentation
A switch expression.
Examples
This represents the switch expression in
switch self.foo {
}
A switch ecpression may be declared without any cases.
Children
switchKeyword:switchsubject:ExprSyntaxleftBrace:{cases:SwitchCaseListSyntaxrightBrace:}
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Bracedtrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class AccessorBlockSyntaxclass AccessorParametersSyntaxclass ArrayElementSyntaxclass AttributeSyntaxclass CatchClauseSyntaxclass CatchItemSyntaxclass ClosureCaptureSyntaxclass ClosureParameterSyntaxclass ClosureSignatureSyntaxclass CodeBlockItemSyntaxclass CodeBlockSyntaxclass ConditionElementSyntaxclass DeclModifierDetailSyntaxclass DeclModifierSyntaxclass DeclNameArgumentSyntaxclass DeclNameArgumentsSyntaxclass DesignatedTypeSyntaxclass DictionaryElementSyntaxclass EnumCaseElementSyntaxclass EnumCaseParameterSyntaxclass ExpressionSegmentSyntaxclass FunctionParameterSyntaxclass FunctionSignatureSyntaxclass GenericArgumentSyntaxclass GenericParameterSyntaxclass GenericRequirementSyntaxclass GenericWhereClauseSyntaxclass IfConfigClauseSyntaxclass InheritanceClauseSyntaxclass InheritedTypeSyntaxclass InitializerClauseSyntaxclass KeyPathComponentSyntaxclass LabeledExprSyntaxclass LayoutRequirementSyntaxclass MemberBlockItemSyntaxclass MemberBlockSyntaxclass MissingSyntaxclass ObjCSelectorPieceSyntaxclass PatternBindingSyntaxclass PlatformVersionSyntaxclass ReturnClauseSyntaxclass SourceFileSyntaxclass StringSegmentSyntaxclass SwitchCaseItemSyntaxclass SwitchCaseLabelSyntaxclass SwitchCaseSyntaxclass SwitchDefaultLabelSyntaxclass ThrowsClauseSyntaxclass TokenSyntaxclass TupleTypeElementSyntaxclass TypeAnnotationSyntaxclass VersionComponentSyntaxclass VersionTupleSyntaxclass WhereClauseSyntaxclass YieldedExpressionSyntaxShow all
Attributes
- Supertypes
- Known subtypes
-
class AccessorDeclListSyntaxclass ArrayElementListSyntaxclass AttributeListSyntaxclass CatchClauseListSyntaxclass CatchItemListSyntaxclass ClosureCaptureListSyntaxclass CodeBlockItemListSyntaxclass DeclModifierListSyntaxclass DesignatedTypeListSyntaxclass ExprListSyntaxclass IfConfigClauseListSyntaxclass InheritedTypeListSyntaxclass LabeledExprListSyntaxclass PatternBindingListSyntaxclass SwitchCaseItemListSyntaxclass SwitchCaseListSyntaxclass TypeSpecifierListSyntaxclass UnexpectedNodesSyntaxShow all
The ternary operator with operator precedences resolved.
Documentation
The ternary operator with operator precedences resolved.
Examples
a ? 1 : 0
- Note: This node is only generated after operators are folded using the
SwiftOperatorslibrary. Beforehand, the parser does not know the precedences of operators and thus represents the?and:by anUnresolvedTernaryExprSyntax.
Children
condition:ExprSyntaxquestionMark:?thenExpression:ExprSyntaxcolon::elseExpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A statement used to indicate the produced value from an if/switch expression.
Documentation
A statement used to indicate the produced value from an if/switch expression.
Written as:
then <expr>
Children
thenKeyword:thenexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
throwKeyword:throwexpression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
throwsSpecifier: (throws|rethrows)leftParen:(?type:TypeSyntax?rightParen:)?
Contained in
AccessorEffectSpecifiersSyntax.AccessorEffectSpecifiersSyntax/throwsClauseDoStmtSyntax.DoStmtSyntax/throwsClauseFunctionEffectSpecifiersSyntax.FunctionEffectSpecifiersSyntax/throwsClauseTypeEffectSpecifiersSyntax.TypeEffectSpecifiersSyntax/throwsClause
Attributes
- Supertypes
An expression prefixed with try.
Documentation
An expression prefixed with try.
Examples
try foo()
try? foo()
try! foo()
Children
tryKeyword:tryquestionOrExclamationMark: (?|!)?expression:ExprSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(elements:LabeledExprListSyntaxrightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A list of TuplePatternElementSyntax.
Documentation
A list of TuplePatternElementSyntax.
Children
TuplePatternElementSyntax *
Contained in
TuplePatternSyntax.TuplePatternSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An element that represents a single tuple value in TuplePatternElementListSyntax.
Documentation
An element that represents a single tuple value in TuplePatternElementListSyntax.
Children
label:<identifier>?colon::?pattern:PatternSyntaxtrailingComma:,?
Contained in
TuplePatternElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A pattern that contains a list of other pattern.
Documentation
A pattern that contains a list of other pattern.
Examples
TuplePatternSyntax can be used in more complex variable declarations. For example (x, y) in the example:
let (x, y) = (1, 2)
Children
leftParen:(elements:TuplePatternElementListSyntaxrightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
TupleTypeElementSyntax *
Contained in
FunctionTypeSyntax.FunctionTypeSyntax/parametersTupleTypeSyntax.TupleTypeSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
inoutKeyword:inout?firstName: (<identifier>|_)?secondName: (<identifier>|_)?colon::?type:TypeSyntaxellipsis:...?trailingComma:,?
Contained in
TupleTypeElementListSyntax
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithTrailingCommatrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
leftParen:(elements:TupleTypeElementListSyntaxrightParen:)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parenthesizedtrait TypeSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxtypealiasKeyword:typealiasname:<identifier>genericParameterClause:GenericParameterClauseSyntax?initializer:TypeInitializerClauseSyntaxgenericWhereClause:GenericWhereClauseSyntax?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithGenericParameterstrait WithAttributestrait NamedDecltrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
colon::type:TypeSyntax
Contained in
ForStmtSyntax.ForStmtSyntax/typeAnnotationMatchingPatternConditionSyntax.MatchingPatternConditionSyntax/typeAnnotationOptionalBindingConditionSyntax.OptionalBindingConditionSyntax/typeAnnotationPatternBindingSyntax.PatternBindingSyntax/typeAnnotation
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
asyncSpecifier:async?throwsClause:ThrowsClauseSyntax?
Contained in
ArrowExprSyntax.ArrowExprSyntax/effectSpecifiersClosureSignatureSyntax.ClosureSignatureSyntax/effectSpecifiersFunctionTypeSyntax.FunctionTypeSyntax/effectSpecifiers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EffectSpecifierstrait Syntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
equal:=value:TypeSyntax
Contained in
AssociatedTypeDeclSyntax.AssociatedTypeDeclSyntax/initializerTypeAliasDeclSyntax.TypeAliasDeclSyntax/initializer
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
(SimpleTypeSpecifierSyntax | LifetimeTypeSpecifierSyntax) *
Contained in
AttributedTypeSyntax.AttributedTypeSyntax/specifiers
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class ArrayTypeSyntaxclass AttributedTypeSyntaxclass CompositionTypeSyntaxclass DictionaryTypeSyntaxclass FunctionTypeSyntaxclass IdentifierTypeSyntaxclass MemberTypeSyntaxclass MetatypeTypeSyntaxclass MissingTypeSyntaxclass OptionalTypeSyntaxclass PackElementTypeSyntaxclass PackExpansionTypeSyntaxclass SomeOrAnyTypeSyntaxclass SuppressedTypeSyntaxclass TupleTypeSyntaxShow all
The arguments for the '@_unavailableFromAsync' attribute
Documentation
The arguments for the '@_unavailableFromAsync' attribute
Children
messageLabel:messagecolon::message:StringLiteralExprSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
The arguments for the '@_private' attribute
Documentation
The arguments for the '@_private' attribute
Children
sourceFileLabel:sourceFilecolon::filename:StringLiteralExprSyntax
Contained in
AttributeSyntax.AttributeSyntax/arguments
Attributes
- Supertypes
A collection of syntax nodes that occurred in the source code but could not be used to form a valid syntax tree.
Documentation
A collection of syntax nodes that occurred in the source code but could not be used to form a valid syntax tree.
Children
Syntax *
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The as keyword without any operands.
Documentation
The as keyword without any operands.
- Note: The parser does not know the precedences of operators and thus represents
asby anUnresolvedAsExprSyntax. After operator folding using theSwiftOperatorslibrary, this gets translated to anAsExprSyntax.
Children
asKeyword:asquestionOrExclamationMark: (?|!)?
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The is keyword without any operands.
Documentation
The is keyword without any operands.
- Note: The parser does not know the precedences of operators and thus represents
isby anUnresolvedIsExprSyntax. After operator folding using theSwiftOperatorslibrary, this gets translated to anIsExprSyntax.
Children
isKeyword:is
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
The middle section of a ternary operator between ? and :.
Documentation
The middle section of a ternary operator between ? and :.
- Note: The parser does not know the precedences of operators and thus represents the middle section of a ternary operator by an
UnresolvedTernaryExprSyntax. After operator folding using theSwiftOperatorslibrary, this gets translated to anTernaryExprSyntax.
Children
questionMark:?thenExpression:ExprSyntaxcolon::
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExprSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
bindingSpecifier: (let|var|inout|_mutating|_borrowing|_consuming)pattern:PatternSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Declaration of one or more variables
Documentation
Declaration of one or more variables
The core of a variable declaration consists of a binding specifier (let or var), followed by any number of pattern bindings, which define the variables.
Children
attributes:AttributeListSyntaxmodifiers:DeclModifierListSyntaxbindingSpecifier: (let|var|inout|_mutating|_borrowing|_consuming)bindings:PatternBindingListSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithModifierstrait WithAttributestrait DeclSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
VersionComponentSyntax *
Contained in
VersionTupleSyntax.VersionTupleSyntax/components
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
An element to represent a single component in a version, like .1.
Documentation
An element to represent a single component in a version, like .1.
Children
period:.number:<integerLiteral>
Contained in
VersionComponentListSyntax
Attributes
- Supertypes
A version number like 1.2.0. Only the first version component is required. There might be an arbitrary number of following components.
Documentation
A version number like 1.2.0. Only the first version component is required. There might be an arbitrary number of following components.
Children
major:<integerLiteral>components:VersionComponentListSyntax
Contained in
AvailabilityLabeledArgumentSyntax.AvailabilityLabeledArgumentSyntax/valueCanImportVersionInfoSyntax.CanImportVersionInfoSyntax/versionPlatformVersionSyntax.PlatformVersionSyntax/version
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
whereKeyword:wherecondition:ExprSyntax
Contained in
CatchItemSyntax.CatchItemSyntax/whereClauseForStmtSyntax.ForStmtSyntax/whereClauseSwitchCaseItemSyntax.SwitchCaseItemSyntax/whereClause
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
whileKeyword:whileconditions:ConditionElementListSyntaxbody:CodeBlockSyntax
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WithCodeBlocktrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
A pattern that represent a wildcard.
Documentation
A pattern that represent a wildcard.
Examples
WildcardPatternSyntax matches and ignores any value. For example _ in the example:
for _ in 1...3 {
// ...
}
Children
wildcard:_
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PatternSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AccessorDeclSyntaxclass ActorDeclSyntaxclass AssociatedTypeDeclSyntaxclass AttributedTypeSyntaxclass ClassDeclSyntaxclass ClosureParameterSyntaxclass ClosureSignatureSyntaxclass DeinitializerDeclSyntaxclass EnumCaseDeclSyntaxclass EnumDeclSyntaxclass ExtensionDeclSyntaxclass FunctionDeclSyntaxclass FunctionParameterSyntaxclass GenericParameterSyntaxclass ImportDeclSyntaxclass InitializerDeclSyntaxclass MacroDeclSyntaxclass MacroExpansionDeclSyntaxclass MissingDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxclass SubscriptDeclSyntaxclass TypeAliasDeclSyntaxclass VariableDeclSyntaxShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CatchClauseSyntaxclass DeferStmtSyntaxclass DoExprSyntaxclass DoStmtSyntaxclass ForStmtSyntaxclass GuardStmtSyntaxclass IfExprSyntaxclass RepeatStmtSyntaxclass WhileStmtSyntaxShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ActorDeclSyntaxclass ClassDeclSyntaxclass EnumDeclSyntaxclass FunctionDeclSyntaxclass InitializerDeclSyntaxclass MacroDeclSyntaxclass StructDeclSyntaxclass SubscriptDeclSyntaxclass TypeAliasDeclSyntaxShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ActorDeclSyntaxclass AssociatedTypeDeclSyntaxclass ClassDeclSyntaxclass ClosureParameterSyntaxclass DeinitializerDeclSyntaxclass EnumCaseDeclSyntaxclass EnumCaseParameterSyntaxclass EnumDeclSyntaxclass ExtensionDeclSyntaxclass FunctionDeclSyntaxclass FunctionParameterSyntaxclass ImportDeclSyntaxclass InitializerDeclSyntaxclass MacroDeclSyntaxclass MacroExpansionDeclSyntaxclass MissingDeclSyntaxclass ProtocolDeclSyntaxclass StructDeclSyntaxclass SubscriptDeclSyntaxclass TypeAliasDeclSyntaxclass VariableDeclSyntaxShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AccessorDeclSyntaxclass DeinitializerDeclSyntaxclass FunctionDeclSyntaxclass InitializerDeclSyntax
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ArrayElementSyntaxclass CatchItemSyntaxclass ClosureCaptureSyntaxclass ClosureParameterSyntaxclass ConditionElementSyntaxclass DictionaryElementSyntaxclass EnumCaseElementSyntaxclass EnumCaseParameterSyntaxclass FunctionParameterSyntaxclass GenericArgumentSyntaxclass GenericParameterSyntaxclass GenericRequirementSyntaxclass InheritedTypeSyntaxclass LabeledExprSyntaxclass PatternBindingSyntaxclass SwitchCaseItemSyntaxclass TupleTypeElementSyntaxShow all
No documentation available.
Documentation
No documentation available.
Children
yieldKeyword:yieldyieldedExpressions: (YieldedExpressionsClauseSyntax|ExprSyntax)
Nowhere contained in
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StmtSyntaxtrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
YieldedExpressionSyntax *
Contained in
YieldedExpressionsClauseSyntax.YieldedExpressionsClauseSyntax/elements
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SyntaxCollectiontrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
No documentation available.
Documentation
No documentation available.
Children
expression:ExprSyntaxcomma:,?
Contained in
YieldedExpressionListSyntax
Attributes
- Supertypes
No documentation available.
Documentation
No documentation available.
Children
leftParen:(elements:YieldedExpressionListSyntaxrightParen:)
Contained in
YieldStmtSyntax.YieldStmtSyntax/yieldedExpressions
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SwiftTokentrait SwiftNodeclass Objecttrait Matchableclass AnyShow all