@carlwr/zsh-lexicon
    Preparing search index...

    Interface ReservedWordDoc

    Reserved word.

    desc is optional (hence no SyntaxDocBase extension). Heads covered by complex_command (for, while, [[, ...) omit it — a generic "this is a reserved word" string would be an epistemic trap, drawing agents to the cheapest record when the richer one lives elsewhere. Body words (do, then, ...) and standalones (!, coproc, typeset family) keep enriched per-word prose.

    interface ReservedWordDoc {
        category: "reserved_word";
        id: Documented<"reserved_word">;
        display: string;
        subKind: ReservedWordPos;
        sig: string;
        desc?: string;
    }

    Hierarchy (View Summary)

    Index
    category: "reserved_word"

    The record's category — the Lexicon map it sits in; in the JSON, its file. One constant per record definition.

    id: Documented<"reserved_word">

    The record's lexicon key: a shell-safe slug — printable ASCII without whitespace, non-empty.

    display: string

    Surface form for display: printable ASCII with spaces, non-empty. The id unless the manual's form differs from it:

    • normalized in the id: an option's AUTO_CD
    • not shell-safe: a redirection's > word, a history modifier's h [ digits ]
    • with argument markers: a flag's j:string:
    sig: string
    desc?: string