@faubulous/mentor-rdf-parsers
    Preparing search index...

    Interface TriplateLexingResult

    The result of tokenizing a (possibly Triplate-templated) document.

    interface TriplateLexingResult {
        errors: ILexingError[];
        parseTokens: IToken[];
        template: boolean;
        tokens: IToken[];
    }
    Index
    errors: ILexingError[]

    Lexing errors reported by the host lexer over the placeholder rendering.

    parseTokens: IToken[]

    Host-only tokens with every Triplate construct replaced by a length-preserving, syntactically neutral placeholder (frontmatter blanked, ${…}/$<…><…>, $"…""…"). Feed these to the host parser so its CST and error recovery stay correct. Identical to tokens when the document is not a template.

    template: boolean

    Whether the document opens with a Triplate frontmatter header.

    tokens: IToken[]

    The faithful, public token stream: ordinary host tokens for the body, plus real TriplateToken tokens for the template constructs (interpolations, directives, and a single opaque frontmatter block). This is what IDE features (highlighting, reference indexing, tooltips, linting) should consume.