Traqula
    Preparing search index...

    Interface IRecognitionException

    A Chevrotain Parser runtime exception.

    interface IRecognitionException {
        cause?: unknown;
        context: IRecognizerContext;
        message: string;
        name: string;
        resyncedTokens: IToken[];
        stack?: string;
        token: IToken;
    }

    Hierarchy

    • Error
      • IRecognitionException

    Implemented by

    Index

    Properties

    cause?: unknown
    message: string
    name: string
    resyncedTokens: IToken[]

    Additional tokens which have been re-synced in error recovery due to the original error. This information can be used the calculate the whole text area which has been skipped due to an error. For example for displaying with a red underline in a text editor.

    stack?: string
    token: IToken

    The token which caused the parser error.