Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IParserConfig

Hierarchy

  • IParserConfig

Index

Properties

Optional dynamicTokensEnabled

dynamicTokensEnabled: boolean

Enable This Flag to to support Dynamically defined Tokens via inheritance. This will disable performance optimizations which cannot work if the whole Token vocabulary is not known During Parser initialization.

Optional ignoredIssues

ignoredIssues: IgnoredParserIssues

Used to mark parser definition errors that should be ignored. For example:

{ myCustomRule : { OR3 : true },

myOtherRule : { OPTION1 : true, OR4 : true } }

Be careful when ignoring errors, they are usually there for a reason :).

Optional maxLookahead

maxLookahead: number

Maximum number of tokens the parser will use to choose between alternatives.

Optional recoveryEnabled

recoveryEnabled: boolean

Is the error recovery / fault tolerance of the Chevrotain Parser enabled.

Generated using TypeDoc