[][src]Module syntax::util::parser

Enums

AssocOp

Associative operator with precedence.

ExprPrecedence
Fixity

Constants

PREC_CLOSURE
PREC_FORCE_PAREN
PREC_JUMP
PREC_PAREN
PREC_POSTFIX
PREC_PREFIX
PREC_RANGE
PREC_RESET

Functions

contains_exterior_struct_lit

Expressions that syntactically contain an "exterior" struct literal i.e., not surrounded by any parens or other delimiters, e.g., X { y: 1 }, X { y: 1 }.method(), foo == X { y: 1 } and X { y: 1 } == foo all do, but (X { y: 1 }) == foo does not.