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

    Function resolveAll

    • Resolve a raw token in every category, classifyOrder first to last, and keep the hits the categories admit to a walk — one per category at most, so for yields its complex-command record before its reserved-word one. Empty when nothing resolves. The first element is the tie-broken answer to "what is this token?"; a scoped resolve is the answer for a known category. Each hit's record is a DocRecord: record.category narrows it.

      The walk order and the admission rule are lexicon properties, owned here and pinned by the resolver fixture — consumers neither re-walk nor re-filter.

      Parameters

      Returns readonly ResolvedHit<
          | "option"
          | "conditional_op"
          | "builtin"
          | "precmd_modifier"
          | "special_param"
          | "complex_command"
          | "reserved_word"
          | "redirection"
          | "process_subst"
          | "param_expn"
          | "subscript_flag"
          | "param_expn_flag"
          | "history_expn"
          | "glob_op"
          | "glob_flag"
          | "glob_qualifier"
          | "prompt_escape"
          | "zle_widget"
          | "keymap"
          | "job_spec"
          | "arith_op"
          | "mathfunc"
          | "special_function"
          | "comp_utility",
      >[]