Structs

The following structs are available globally.

  • A parser whose parse function mutates a ParseState<Token> and returns a Result.

    See more

    Declaration

    Swift

    public struct Parser<Token, Result>: ParserType
  • Provides backtracking capabilities by allowing a ParseState to be saved and restored.

    Declaration

    Swift

    public struct ParseStateCheckpoint<Token>