Skip to main content

read_match

Function read_match 

Source
pub fn read_match(choices: &[&Tokens]) -> Result<Option<Tokens>>
Expand description

Match the input against one of the Token or Tokens in @choices; return the matching one or undef.