pub enum Rule {
Show 80 variants
EOI,
WHITESPACE,
NEWLINE,
comment,
number,
integer,
bool,
null,
string_value,
string,
lambda,
argument_list,
argument,
required_arg,
optional_arg,
rest_arg,
identifier,
input_reference,
reserved_word,
identifier_rest,
infix_op,
add,
subtract,
multiply,
divide,
modulo,
power,
dot_equal,
dot_not_equal,
dot_less_eq,
dot_less,
dot_greater_eq,
dot_greater,
equal,
not_equal,
less_eq,
less,
greater_eq,
greater,
and,
or,
coalesce,
natural_infix_op,
natural_and,
natural_or,
via,
into,
infix_usage,
prefix_op,
negation,
invert,
natural_prefix_op,
natural_not,
prefix_usage,
postfix_op,
factorial,
access,
dot_access,
call_list,
spread_operator,
spread_expression,
spreadable_expression,
list,
record_key_static,
record_key_dynamic,
record_key,
record_pair,
record_shorthand,
record,
conditional,
expression,
nested_expression,
term,
assignment,
output_declaration,
do_statement,
return_statement,
do_block,
statement,
input,
}Variants§
EOI
End-of-input
WHITESPACE
NEWLINE
comment
number
integer
bool
null
string_value
string
lambda
argument_list
argument
required_arg
optional_arg
rest_arg
identifier
input_reference
reserved_word
identifier_rest
infix_op
add
subtract
multiply
divide
modulo
power
dot_equal
dot_not_equal
dot_less_eq
dot_less
dot_greater_eq
dot_greater
equal
not_equal
less_eq
less
greater_eq
greater
and
or
coalesce
natural_infix_op
natural_and
natural_or
via
into
infix_usage
prefix_op
negation
invert
natural_prefix_op
natural_not
prefix_usage
postfix_op
factorial
access
dot_access
call_list
spread_operator
spread_expression
spreadable_expression
list
record_key_static
record_key_dynamic
record_key
record_pair
record_shorthand
record
conditional
expression
nested_expression
term
assignment
output_declaration
do_statement
return_statement
do_block
statement
input
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
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.