/// Get the next static token from the string
Get the next static token from the string
Get the next static token from the string
pub fn next_static(&mut self) -> Result<&'a str, MatchError> {
        if let Ok((_, tok, rest)) = nl_parser::parse_token(self.src) {
            self.src = rest;
            Ok(tok)
        } else {
            Err(MatchError::UnexpectedEof)
        }
    }
pub fn next_static ( & mut self ) -> Result < & ' a str , MatchError > { if let Ok ( ( _ , tok , rest ) ) = nl_parser :: parse_token ( self . src ) { self . src = rest ; Ok ( tok ) } else { Err ( MatchError :: UnexpectedEof ) } }
Get the next static token from the string
Get the next static token from the string
&mut self