Traqula
    Preparing search index...

    Interface DSLMethodOpts<T>

    interface DSLMethodOpts<T> {
        DEF: GrammarAction<T>;
        GATE?: () => boolean;
        MAX_LOOKAHEAD?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    The Grammar to process in this method.

    GATE?: () => boolean

    A semantic constraint on this DSL method

    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