pub enum Rule {
Show 38 variants
EOI,
WHITESPACE,
NEWLINE,
COMMENT,
program,
delimited_expr,
expr,
unary,
unary_op,
not_op,
neg_op,
postfix,
call,
index,
property,
primary,
parens,
number,
int,
float,
exponent,
boolean,
true_kw,
false_kw,
string,
string_char,
quoted_escape,
list,
pair,
dict,
op_or,
op_and,
op_add,
op_mul,
op_pow,
op_eq,
op_cmp,
ident,
}
Variants§
EOI
End-of-input
WHITESPACE
NEWLINE
COMMENT
program
delimited_expr
expr
unary
unary_op
not_op
neg_op
postfix
call
index
property
primary
parens
number
int
float
exponent
boolean
true_kw
false_kw
string
string_char
quoted_escape
list
pair
dict
op_or
op_and
op_add
op_mul
op_pow
op_eq
op_cmp
ident
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more