pub enum Rule {
Show 79 variants
EOI,
stmts,
stmt,
expr,
block,
ifs,
if_stmt,
else_if_stmt,
else_stmt,
while_stmt,
for_stmt,
loop_stmt,
loop_control,
break_stmt,
continue_stmt,
contains,
iterable,
import_stmt,
fn_call,
fn_def,
args,
return_stmt,
return_expr,
var_assign,
identifier,
identifier_part,
single_shot,
ss_sub,
ss_add,
ss_mul,
ss_div,
ss_rem,
ss_pow,
comb,
eq,
comp,
sub,
add,
mul,
div,
rem,
pow,
var_index,
atom,
sign,
not,
positive,
negative,
equals,
not_equals,
greater,
less,
greater_eq,
less_eq,
and,
or,
datatype,
table,
table_pair,
array,
inclusive,
exclusive,
bound,
boolean,
float,
integer,
string,
string_part,
string_esc,
string_brack,
string_quote,
string_char,
string_expr,
letter,
digit,
reserved,
comment,
delim,
WHITESPACE,
}
Variants§
EOI
End-of-input
stmts
stmt
expr
block
ifs
if_stmt
else_if_stmt
else_stmt
while_stmt
for_stmt
loop_stmt
loop_control
break_stmt
continue_stmt
contains
iterable
import_stmt
fn_call
fn_def
args
return_stmt
return_expr
var_assign
identifier
identifier_part
single_shot
ss_sub
ss_add
ss_mul
ss_div
ss_rem
ss_pow
comb
eq
comp
sub
add
mul
div
rem
pow
var_index
atom
sign
not
positive
negative
equals
not_equals
greater
less
greater_eq
less_eq
and
or
datatype
table
table_pair
array
inclusive
exclusive
bound
boolean
float
integer
string
string_part
string_esc
string_brack
string_quote
string_char
string_expr
letter
digit
reserved
comment
delim
WHITESPACE
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