Function syntax::parse::token::token_to_binop[src]

pub fn token_to_binop(tok: &Token) -> Option<BinOp>

Maps a token to a record specifying the corresponding binary operator