Skip to main content

matching_alternatives

Function matching_alternatives 

Source
pub fn matching_alternatives(
    arena: &AstArena,
    alternatives: &[Vec<Rc<ValidationToken>>],
    token: Option<u32>,
) -> Option<Rc<Vec<usize>>>
Expand description

the alternatives of a syntax that may match the first token of a value, in order. None when all of them may match