Skip to content

Instantly share code, notes, and snippets.

@mattt
Created August 3, 2020 14:14
Show Gist options
  • Save mattt/cd16d1b3c7757fb4fea6a0840a2f4b0e to your computer and use it in GitHub Desktop.
Save mattt/cd16d1b3c7757fb4fea6a0840a2f4b0e to your computer and use it in GitHub Desktop.
<h1>Types</h1>
<ul>
<li><a href="./DeclarationCollector">DeclarationCollector</a>:​
A Swift syntax visitor that collects declarations.</li>
<li><a href="./AssociatedType">AssociatedType</a>:​
An associated type declaration.</li>
<li><a href="./Class">Class</a>:​
A class declaration.</li>
<li><a href="./ConditionalCompilationBlock">ConditionalCompilationBlock</a>:​
A conditional compilation block declaration.</li>
<li><a href="./ConditionalCompilationBlock_Branch">ConditionalCompilationBlock.Branch</a>:​
A conditional compilation block branch.</li>
<li><a href="./Deinitializer">Deinitializer</a>:​
A class deinitializer declaration.</li>
<li><a href="./Enumeration">Enumeration</a>:​
An enumeration declaration.</li>
<li><a href="./Enumeration_Case">Enumeration.Case</a>:​
An enumeration case.</li>
<li><a href="./Extension">Extension</a>:​
An extension declaration.</li>
<li><a href="./Function">Function</a>:​
A function declaration.</li>
<li><a href="./Function_Signature">Function.Signature</a>:​
A function signature.</li>
<li><a href="./Function_Parameter">Function.Parameter</a>:​
A function parameter.</li>
<li><a href="./Import">Import</a>:​
An import declaration.</li>
<li><a href="./Initializer">Initializer</a>:​
An initializer declaration.</li>
<li><a href="./Operator">Operator</a>:​
An operator declaration.</li>
<li><a href="./Operator_Kind">Operator.Kind</a>:​
The kind of operator (prefix, infix, or postfix).</li>
<li><a href="./PrecedenceGroup">PrecedenceGroup</a>:​
An operator precedence group declaration.</li>
<li><a href="./PrecedenceGroup_Associativity">PrecedenceGroup.Associativity</a>:​
The associativity of an operator,
which determines how operators of the same precedence
are grouped in the absence of parentheses.</li>
<li><a href="./PrecedenceGroup_Relation">PrecedenceGroup.Relation</a>:​
The relation of operators to operators in other precedence groups,
which determines the order in which
operators of different precedence groups are evaluated
in absence of parentheses.</li>
<li><a href="./Protocol">Protocol</a>:​
A protocol declaration.</li>
<li><a href="./Structure">Structure</a>:​
A structure declaration.</li>
<li><a href="./Subscript">Subscript</a>:​
A subscript declaration.</li>
<li><a href="./Typealias">Typealias</a>:​
A type alias declaration.</li>
<li><a href="./Variable">Variable</a>:​
A declaration for a property or a top-level variable or constant.</li>
<li><a href="./Variable_Accessor">Variable.Accessor</a>:​
A computed variable or computed property accessor.</li>
<li><a href="./Variable_Accessor_Kind">Variable.Accessor.Kind</a>:​
The kind of accessor (<code>get</code> or <code>set</code>).</li>
<li><a href="./Attribute">Attribute</a>:​
A declaration attribute.</li>
<li><a href="./Attribute_Argument">Attribute.Argument</a>:​
An attribute argument.</li>
<li><a href="./GenericParameter">GenericParameter</a>:​
A generic parameter.</li>
<li><a href="./GenericRequirement">GenericRequirement</a>:​
A generic requirement.</li>
<li><a href="./GenericRequirement_Relation">GenericRequirement.Relation</a>:​
A relation between the two types identified
in the generic requirement.</li>
<li><a href="./Modifier">Modifier</a>:​
A declaration modifier.</li>
</ul>
<h1>Protocols</h1>
<ul>
<li><a href="./Declaration">Declaration</a>:​
A Swift declaration.</li>
<li><a href="./ExpressibleBySyntax">ExpressibleBySyntax</a>:​
A type that can be initialized with a Swift syntax node.</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment