pub enum Rule {
Show 96 variants
EOI,
WHITESPACE,
COMMENT,
digit,
hex_digit,
decimal_lit,
hex_lit,
int_lit,
uint_lit,
exponent,
float_lit,
oct_digit,
hex_esc,
oct_esc,
uni_esc,
uni_esc_long,
esc_char,
inner_double_quotes,
inner_single_quotes,
inner_triple_double,
inner_triple_single,
raw_inner_double_quotes,
raw_inner_single_quotes,
raw_inner_triple_double,
raw_inner_triple_single,
normal_string_lit_double,
normal_string_lit_single,
normal_string_lit_triple_double,
normal_string_lit_triple_single,
raw_string_lit_double,
raw_string_lit_single,
raw_string_lit_triple_double,
raw_string_lit_triple_single,
string_lit,
bytes_lit,
bool_lit,
null_lit,
type_lit,
literal,
next_char_is_ident_part,
cel_keyword_word,
cel_reserved_for_ident_word,
comprehension_macro_word,
map_macro_word,
has_macro,
map_macro,
raw_ident_pattern,
ident,
selector,
leading_dot,
DOT,
LSQUARE,
RSQUARE,
COLON,
LBRACE,
RBRACE,
paren_expr,
expr_list,
list_lit,
map_entry,
map_lit,
field_init,
qualified_ident,
message_lit,
global_call,
primary,
call_args,
field_access,
member_call,
index_access,
comprehension,
member_chain,
add,
mul,
div,
rem,
eq,
ne,
le,
lt,
ge,
gt,
in_op,
log_and,
log_or,
unary_minus,
binary_minus,
log_not,
cond,
cond_else,
op_prefix,
op_infix,
term,
pratt_operand_sequence,
expr,
program,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
digit
hex_digit
decimal_lit
hex_lit
int_lit
uint_lit
exponent
float_lit
oct_digit
hex_esc
oct_esc
uni_esc
uni_esc_long
esc_char
inner_double_quotes
inner_single_quotes
inner_triple_double
inner_triple_single
raw_inner_double_quotes
raw_inner_single_quotes
raw_inner_triple_double
raw_inner_triple_single
normal_string_lit_double
normal_string_lit_single
normal_string_lit_triple_double
normal_string_lit_triple_single
raw_string_lit_double
raw_string_lit_single
raw_string_lit_triple_double
raw_string_lit_triple_single
string_lit
bytes_lit
bool_lit
null_lit
type_lit
literal
next_char_is_ident_part
cel_keyword_word
cel_reserved_for_ident_word
comprehension_macro_word
map_macro_word
has_macro
map_macro
raw_ident_pattern
ident
selector
leading_dot
DOT
LSQUARE
RSQUARE
COLON
LBRACE
RBRACE
paren_expr
expr_list
list_lit
map_entry
map_lit
field_init
qualified_ident
message_lit
global_call
primary
call_args
field_access
member_call
index_access
comprehension
member_chain
add
mul
div
rem
eq
ne
le
lt
ge
gt
in_op
log_and
log_or
unary_minus
binary_minus
log_not
cond
cond_else
op_prefix
op_infix
term
pratt_operand_sequence
expr
program
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