The actual sequence of tokens encountered.
A user may provide custom error message descriptor in the "AT_LEAST_ONE" DSL method. http://sap.github.io/chevrotain/documentation/0_29_0/interfaces/_chevrotain_d_.dslmethodoptswitherr.html#err_msg This is that custom message.
The valid (expected) paths in the first iteration.
The rule in which the error occurred.
Mismatched Token Error happens when the parser attempted to consume a terminal and failed. It corresponds to a failed "CONSUME(expected)" in Chevrotain DSL terms.
The actual Token "instance".
The expected Token Type.
The rule in which the error occurred.
A No Viable Alternative Error happens when the parser cannot detect any valid alternative in an alternation. It corresponds to a failed "OR" in Chevrotain DSL terms.
The actual sequence of tokens encountered.
A user may provide custom error message descriptor in the "OR" DSL method. http://sap.github.io/chevrotain/documentation/0_29_0/interfaces/_chevrotain_d_.ormethodopts.html#err_msg This is that custom message.
First level of the array represents each alternative The next two levels represent valid (expected) paths in each alternative.
The rule in which the error occurred.
A Redundant Input Error happens when the parser has completed parsing but there is still unprocessed input remaining.
The first unprocessed token "instance".
The rule in which the error occurred.
Generated using TypeDoc
An Early Exit Error happens when the parser cannot detect the first mandatory iteration of a repetition. It corresponds to a failed "AT_LEAST_ONE[_SEP]" in Chevrotain DSL terms.