Skip to main content

resolve

Function resolve 

Source
pub fn resolve(tokens: &[Token]) -> Option<Profile>
Expand description

Resolve a command’s leaf tokens to its behavior profile, or None if the command has no resolver yet (the caller then worst-cases / falls back to the legacy classifier — §0 fail-closed). Redirects, substitutions, and chain semantics are the surrounding CST’s job, not this leaf’s (annex …-engine §1).