Skip to main content

op_as_atom

Function op_as_atom 

Source
pub fn op_as_atom(kind: &TokenKind) -> Option<&'static str>
Expand description

Operator name for an operator token appearing in atom position (issue #19): p(+), [<, >], X = (mod), =.. round-trips, etc. This is the superset of all infix/prefix operator spellings.