Structures
The following structures are available globally.
-
The name of a rule. Must be anonymous or otherwise unique among the other names of rules belonging to the same symbol.
See moreDeclaration
Swift
public struct RuleName : Hashable -
Undocumented
See moreDeclaration
Swift
public struct Rule : GrammarElement, HasPosition, Hashable -
An
IndexedSymboldesignates either a terminal or a nonterminal.
See moreIndexedSymbols are used to refer to terminals and nonterminals in grammar rules. In order to distinguish between different occurrences of the same terminal / nonterminal, indexed symbols carry an optionalindexin addition to the actualname.Declaration
Swift
public struct IndexedSymbolName : CustomStringConvertible, Hashable -
Undocumented
See moreDeclaration
Swift
public struct TerminalPriority : GrammarElement, HasPosition, Hashable
Structures Reference