Type alias PStep<A, CTX, PROBLEM>Internal

PStep<A, CTX, PROBLEM>: Parser.Good<A, CTX> | Parser.Bad<CTX, PROBLEM>

The internal state of the parser.

Remarks

  • haveConsumed is true if the parser "consumed" any characters. This field exists to support backtracking.

Note: "consuming" characters simply mean incrementing row, col, and offset.

See

Type Parameters

  • A

  • CTX

  • PROBLEM