pub enum Rule {
Show 66 variants
EOI,
full,
program,
stmt,
expr,
prefix,
infix,
postfix,
func,
pipe,
method_call,
predicate,
term,
conditional_if,
if_keyword,
else_keyword,
if_identifier_prefix,
else_identifier_prefix,
block,
ternary,
membership_op,
opt_membership_op,
opt_index_op,
default_op,
index_op,
range_start_op,
range_end_op,
negation_op,
sign_op,
exponent_op,
multiplication_op,
addition_op,
range_op,
comparison_op,
equal_op,
and_op,
or_op,
string_op,
value,
array,
map,
map_key,
string,
bytes,
string_multiline,
inner_single,
inner_double,
inner_bytes_single,
inner_bytes_double,
inner_multiline,
int,
bool,
nil,
decimal,
decimal_digits,
exponent,
not_in_op,
ident,
char_single,
char_double,
char_bytes_single,
char_bytes_double,
LINE_COMMENT,
BLOCK_COMMENT,
COMMENT,
WHITESPACE,
}Variants§
EOI
End-of-input
full
program
stmt
expr
prefix
infix
postfix
func
pipe
method_call
predicate
term
conditional_if
if_keyword
else_keyword
if_identifier_prefix
else_identifier_prefix
block
ternary
membership_op
opt_membership_op
opt_index_op
default_op
index_op
range_start_op
range_end_op
negation_op
sign_op
exponent_op
multiplication_op
addition_op
range_op
comparison_op
equal_op
and_op
or_op
string_op
value
array
map
map_key
string
bytes
string_multiline
inner_single
inner_double
inner_bytes_single
inner_bytes_double
inner_multiline
int
bool
nil
decimal
decimal_digits
exponent
not_in_op
ident
char_single
char_double
char_bytes_single
char_bytes_double
LINE_COMMENT
BLOCK_COMMENT
COMMENT
WHITESPACE
Implementations§
Trait Implementations§
impl Copy for Rule
impl Eq for Rule
Source§impl Ord for Rule
impl Ord for Rule
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Rule
impl PartialOrd 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.