mise API - v0.0.0
    Preparing search index...

    Interface ShellSegment

    One piece of a word: literal text, or a reference the line asked for.

    The tokenizer records references rather than resolving them, because resolving is asynchronous (a pronoun asks the session) and tokenizing is not. What it must record is the QUOTING, since that is known only here: inside single quotes a $ is text, inside double quotes a reference is one operand however many values it carries, and bare it may become several — the shell's rule, which the stack claims to wear.

    interface ShellSegment {
        quoted: boolean;
        ref: string | null;
        text: string;
    }
    Index
    quoted: boolean

    Whether the reference stood inside double quotes.

    ref: string | null

    The reference's name, when this piece is one.

    text: string

    Literal text, when this piece is text.