Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DSLMethodOptsWithErr<T>

Type parameters

  • T

Hierarchy

Index

Properties

DEF

The Grammar to process in this method.

Optional ERR_MSG

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

Optional GATE

GATE: function

Type declaration

    • (): boolean
    • Returns boolean

Optional MAX_LOOKAHEAD

MAX_LOOKAHEAD: number

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

By default this value is determined by the IParserConfig.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

Optional NAME

NAME: string

in-lined method name

Generated using TypeDoc