@wdprlib/parser
    Preparing search index...

    Interface LexerOptions

    Configuration for the Lexer.

    interface LexerOptions {
        compactTextRuns?: boolean;
        trackPositions?: boolean;
    }
    Index

    Properties

    compactTextRuns?: boolean

    Coalesce ordinary text outside [[...]] openers into larger TEXT tokens. This keeps block names and attributes tokenized normally while reducing token volume for large documents.

    trackPositions?: boolean

    When true (default), every token carries accurate line/column/offset data. Set to false to skip position tracking for faster tokenisation when source-map information is not needed.