State package:megaparsec
This is the Megaparsec's state parametrized over stream type
s and custom error component type e.
Definition of Megaparsec's
State.
The rest of input to process
Number of processed tokens so far
Collection of “delayed”
ParseErrors in reverse order. This
means that the last registered error is the first element of the list.
State that is used for line/column calculation
A special kind of state that is used to calculate line/column
positions on demand.
Return the full parser state as a
State record.
The rest of input to process
Prefix to prepend to offending line
Source position corresponding to beginning of
pstateInput
Tab width to use for column calculation
The state that is used for line/column calculation
Given the name of source file and the input construct the initial
positional state.
Given the name of the source file and the input construct the initial
state for a parser.