Interface ConsumeMethodOpts

Hierarchy

  • ConsumeMethodOpts

Properties

Properties

ERR_MSG?: string

A custom Error message if the Token could not be consumed. This will override any error message provided by the parser's "errorMessageProvider"

LABEL?: string

A label to be used instead of the TokenType name in the created CST.

Generated using TypeDoc