/// Lex an arithmetic or boolean operator.
Lex an arithmetic or boolean operator.
Lex an arithmetic or boolean operator .
pub fn lex_operator(reader: &mut impl Reader, lexer: &mut impl Lexer) {
    while let ReaderResult::Match(source) = reader.strip_match(&*SYMBOL_RE) {
        lexer.add(operator(source.as_str(), source.clone()).unwrap());
    }
}
pub fn lex_operator ( reader : & mut impl Reader , lexer : & mut impl Lexer ) { while let ReaderResult :: Match ( source ) = reader . strip_match ( & * SYMBOL_RE ) { lexer . add ( operator ( source . as_str ( ) , source . clone ( ) ) . unwrap ( ) ) ; } }
Lex an arithmetic or boolean operator.
Lex an arithmetic or boolean operator .
reader
&mut impl Reader
lexer
&mut impl Lexer