Structs
The following structs are available globally.
-
A parser whose
See moreparse
function mutates aParseState<Token>
and returns aResult
.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>