sesaparcours
    Preparing search index...

    Type Alias Terminator

    This indicates a condition under which parsing should stop:

    • an operator of a precedence higher than specified has been encountered
    • the last token has been reached
    • or if a condition is provided, the condition returns true;
    type Terminator = {
        condition?: (parser: Parser) => boolean;
        minPrec: Precedence;
    }
    Index

    Properties

    Properties

    condition?: (parser: Parser) => boolean
    minPrec: Precedence