Enumerations
The following enumerations are available globally.
-
Errors specific to the import of ABNF grammars
See moreDeclaration
Swift
public enum ABNFImportError : Error -
A symbol which can either be a terminal or a non-terminal character
- terminal: A terminal character
- nonTerminal: A non-terminal character
Declaration
Swift
public enum Symbol : Codableextension Symbol: Hashableextension Symbol: CustomStringConvertible -
A tree which can store different types of values in its leafs
- leaf: A leaf
- node: A node with a key and an arbitrary list of elements
Declaration
Swift
public enum SyntaxTree<Element, LeafElement>extension SyntaxTree: CustomDebugStringConvertibleextension SyntaxTree: CustomStringConvertible -
A terminal symbol which can occur in a string recognized by a parser and which cannot be replaced by any production
See moreDeclaration
Swift
public enum Terminalextension Terminal: ExpressibleByStringLiteralextension Terminal: Hashableextension Terminal: CustomStringConvertibleextension Terminal: Codable
View on GitHub
Enumerations Reference