Skip to main content

exported_shell

Function exported_shell 

Source
pub fn exported_shell(
    name: &ShellName,
    sentence: &str,
    matched: Vec<GeneratedToken>,
    body: Vec<GeneratedToken>,
) -> Result<Vec<GeneratedToken>, Overflow>
Expand description

The exported carrier: a hidden definition under the mangled name, with one rule matching what the delivery consumes and expanding to the body it guards.

ยงErrors

Returns Overflow where the definition outgrows the declared token magnitude.