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

    Function shellWords_referencesExpand

    • Resolves the references in a line's words, respecting how they were quoted.

      The shell's rule, kept: a bare reference carrying several values becomes several operands, a double-quoted one stays a single operand however many values it holds, and a single-quoted $ never got here at all. An expanded value never globs afterwards — a filename with a bracket in it is a filename, not a pattern.

      Parameters

      • words: readonly ShellWord[]

        The tokenized words.

      • resolve: ReferenceResolver

        Answers what a reference refers to.

      • unresolvedStands: boolean = false

        Leave an unanswerable reference as written instead of refusing: what a dry run does, having run nothing.

      Returns Promise<ReferenceExpansion>

      The expanded words, or the reference nothing could answer.