Saxonberg Server API
    Preparing search index...

    Interface Token

    interface Token {
        end: number;
        kind: TokenKind;
        start: number;
        value: string;
    }
    Index

    Properties

    Properties

    end: number

    Exclusive end offset.

    kind: TokenKind
    start: number

    Inclusive start offset into the raw input (UTF-16 code units).

    value: string

    Source-text value as it appeared, preserving case for literals and paths. Barewords are lowercased to match the keyword invariant (req §13). Operator tokens carry their literal spelling for diagnostic messages.