Enumerations

The following enumerations are available globally.

  • Errors specific to the import of ABNF grammars

    See more

    Declaration

    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
    See more

    Declaration

    Swift

    public enum Symbol : Codable
    extension Symbol: Hashable
    extension 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
    See more

    Declaration

    Swift

    public enum SyntaxTree<Element, LeafElement>
    extension SyntaxTree: CustomDebugStringConvertible
    extension SyntaxTree: CustomStringConvertible
  • A terminal symbol which can occur in a string recognized by a parser and which cannot be replaced by any production

    See more

    Declaration

    Swift

    public enum Terminal
    extension Terminal: ExpressibleByStringLiteral
    extension Terminal: Hashable
    extension Terminal: CustomStringConvertible
    extension Terminal: Codable