SwiftSemantics Documentation Beta

Classes

Declaration​Collector

A Swift syntax visitor that collects declarations.

Structures

Associated​Type

An associated type declaration.

Class

A class declaration.

Conditional​Compilation​Block

A conditional compilation block declaration.

Deinitializer

A class deinitializer declaration.

Enumeration

An enumeration declaration.

Enumeration.​Case

An enumeration case.

Extension

An extension declaration.

Function

A function declaration.

Function.​Signature

A function signature.

Function.​Parameter

A function parameter.

Import

An import declaration.

Initializer

An initializer declaration.

Operator

An operator declaration.

Precedence​Group

An operator precedence group declaration.

Protocol

A protocol declaration.

Structure

A structure declaration.

Subscript

A subscript declaration.

Typealias

A type alias declaration.

Variable

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

Variable.​Accessor

A computed variable or computed property accessor.

Attribute

A declaration attribute.

Attribute.​Argument

An attribute argument.

Generic​Parameter

A generic parameter.

Generic​Requirement

A generic requirement.

Modifier

A declaration modifier.

Enumerations

Conditional​Compilation​Block.​Branch

A conditional compilation block branch.

Operator.​Kind

The kind of operator (prefix, infix, or postfix).

Precedence​Group.​Associativity

The associativity of an operator, which determines how operators of the same precedence are grouped in the absence of parentheses.

Precedence​Group.​Relation

The relation of operators to operators in other precedence groups, which determines the order in which operators of different precedence groups are evaluated in absence of parentheses.

Variable.​Accessor.​Kind

The kind of accessor (get or set).

Generic​Requirement.​Relation

A relation between the two types identified in the generic requirement.

Protocols

Declaration

A Swift declaration.

Expressible​BySyntax

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