combine v0.10.0 Combine.ParserState View Source
Defines a struct representing the state of the parser.
The struct has following fields:
input- the unparsed part of the inputcolumn- column position of the next character (zero based)line- current line positionresults- list of outputs produced by so far, in the reverse orderstatus-:okif the grammar rules are satisfied,:errorotherwiseerror- an error message if a grammar rule wasn’t satisfied
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Combine.ParserState{column: non_neg_integer, error: any, input: any, labels: [any], line: pos_integer, results: [any], status: :ok | :error}