Interface DSLMethodOptsWithErr<T>

Type Parameters

  • T



The Grammar to process in this method.

ERR_MSG?: string

Short title/classification to what is being matched. Will be used in the error message,. If none is provided, the error message will include the names of the expected Tokens sequences which start the method's inner grammar

GATE?: (() => boolean)

Type declaration


Maximum number of "following tokens" which would be used to Choose between the alternatives.

By default this value is determined by the maxLookahead value. A Higher value may be used for a specific DSL method to resolve ambiguities And a lower value may be used to resolve slow initialization times issues.

TODO: create full docs and link

Generated using TypeDoc