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

    Interface ParamExpnDoc

    Parameter-expansion form (${name:-word}, ${name/pattern/repl}, ...).

    One record per sig. Sigs sharing an upstream doc chunk (e.g. the three replace variants) carry identical desc; each record knows its siblings via groupSigs (manual source order) and its own position via orderInGroup.

    interface ParamExpnDoc {
        category: "param_expn";
        id: Documented<"param_expn">;
        display: string;
        sig: string;
        desc: string;
        groupSigs: readonly [string, string];
        orderInGroup: number;
        subKind: ParamExpnSubKind;
        placeholders: readonly string[];
    }

    Hierarchy (View Summary)

    Index
    category: "param_expn"

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

    id: Documented<"param_expn">

    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

    Usage signature from the upstream zsh manual.

    desc: string

    Manual prose as markdown — paragraphs, inline and fenced code; occasionally *emphasis*, bullets or a heading. Every desc field has this shape.

    groupSigs: readonly [string, string]

    Every sig sharing this record's desc, in manual source order.

    orderInGroup: number

    Zero-based position of sig within groupSigs.

    placeholders: readonly string[]

    Named operand slots in sig (["name","word"], ...).