Skip to main content

match_expression

Function match_expression 

Source
pub fn match_expression(
    subject: Vec<GeneratedToken>,
    arms: Vec<Vec<GeneratedToken>>,
) -> Result<Vec<GeneratedToken>, Overflow>
Expand description

One match expression over exact subject and arm runs.

ยงErrors

Returns Overflow where the arm group outgrows the declared generated-token magnitude.