pub enum Rule {
Show 28 variants
EOI,
WHITESPACE,
program,
statement,
print_stmt,
let_stmt,
if_stmt,
while_stmt,
break_stmt,
continue_stmt,
return_stmt,
fn_stmt,
call_stmt,
param_list,
arg_list,
block,
expr,
term,
factor,
comparison,
primary,
call_expr,
ident,
number,
string,
add_op,
mul_op,
comparison_op,
}Variants§
EOI
End-of-input
WHITESPACE
program
statement
print_stmt
let_stmt
if_stmt
while_stmt
break_stmt
continue_stmt
return_stmt
fn_stmt
call_stmt
param_list
arg_list
block
expr
term
factor
comparison
primary
call_expr
ident
number
string
add_op
mul_op
comparison_op
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for DashParser
impl Parser<Rule> for DashParser
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