Skip to main content

project_ex_command_context

Function project_ex_command_context 

Source
pub fn project_ex_command_context(
    ctx: &ExCommandContext,
) -> Result<ExCommandContext, String>
Expand description

Project an ExCommandContext (host→guest). The native range: Option<grammar::Range> is absent — the recursive grammar Range cannot cross a WIT record (the Global / NarrowTrigger precedent), so a v1 ex-command plugin gets bang / args / register / count.