@gmb/bitmark-parser - v7.21.2
    Preparing search index...

    Interface ConvertResult

    What convertWithDetails returns: the output and each extra that was asked for.

    interface ConvertResult {
        bitAnchors?: BitAnchors;
        bitSpans?: BitSpans;
        output: string;
    }
    Index
    bitAnchors?: BitAnchors

    Fixed points inside each bit. Present whenever bitAnchors was asked for; anchors is empty except for bitmark input to "json" or "jsonl" output.

    bitSpans?: BitSpans

    Where each top-level bit is in the input and in output. Present whenever bitSpans was asked for; spans is empty for an output that is not a document ("lex", "ast", "semantic-tokens", "diagnostics", a mapping report).

    output: string

    The converted output — exactly what convert returns.