Node
public class Node
Node represents an element of the data structure and is the core of the
AST derived.
-
The name of the element
Declaration
Swift
public var name: String -
The kind of the element
Declaration
Swift
public var kind: Kind -
The cardinality of the element
Declaration
Swift
public var cardinality: Cardinality -
Any child elements
Declaration
Swift
public var children: [GrammarStructure.Node] -
The type of the element.
Declaration
Swift
public var type: GrammarStructure.DataType
Node Class Reference