Enumerationswift-syntax 600.0.1SwiftSyntax
SyntaxChoice
SyntaxNodeStructure.swift:15enum SyntaxChoice
enum SyntaxChoice
import SwiftSyntax
A library for working with Swift code.
enum SyntaxNodeStructure
Describes the statically allowed structure of a syntax tree node.
case node(SyntaxProtocol.Type)
case token(TokenKind)
var isChoices: Bool { get }
Convenience property that’s true
if self
is the choices
case.
var isCollection: Bool { get }
Convenience property that’s true
if self
is the collection
case.
var isLayout: Bool { get }
Convenience property that’s true
if self
is the layout
case.
protocol Sendable