pub enum Rule {
Show 59 variants
EOI,
file,
shebang,
module,
module_item,
import,
structure,
structure_field,
function,
function_argument,
statements,
statement,
create_variable,
assign_value,
expression,
return_value,
if_else,
if_else_success,
if_else_failure,
while_loop,
for_loop,
expression_start,
find_structure,
find_function,
closure,
closure_capture,
get_variable,
call_function,
call_argument,
expression_next,
get_field,
get_array_item,
get_map_item,
literal,
array,
map,
map_item,
object,
object_item,
null,
bool_true,
bool_false,
hex,
hex_inner,
binary,
binary_inner,
integer,
real,
text,
text_inner,
text_char,
COMMENT,
comment_block,
comment_line,
path,
identifier,
ws,
mws,
ows,
}
Variants§
EOI
End-of-input
file
shebang
module
module_item
import
structure
structure_field
function
function_argument
statements
statement
create_variable
assign_value
expression
return_value
if_else
if_else_success
if_else_failure
while_loop
for_loop
expression_start
find_structure
find_function
closure
closure_capture
get_variable
call_function
call_argument
expression_next
get_field
get_array_item
get_map_item
literal
array
map
map_item
object
object_item
null
bool_true
bool_false
hex
hex_inner
binary
binary_inner
integer
real
text
text_inner
text_char
COMMENT
comment_block
comment_line
path
identifier
ws
mws
ows
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for SimpletonParser
impl Parser<Rule> for SimpletonParser
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.