pub enum Rule {
Show 78 variants
EOI,
shebang,
identifier,
identifier_simple,
identifier_extended,
identifier_extended_characters,
type_ann,
type_,
tuple_type,
pointer_type,
string,
string_characters,
integer,
integer_inner,
hex,
hex_digit,
float,
float_inner,
number,
tuple_value,
ref_value,
deref_value,
value,
value_content,
value_access,
variable_value,
tuple_access,
variable_access,
variable,
export,
label,
block,
operation,
operation_inline,
operation_id,
operation_params,
operation_targets,
function,
function_header,
function_params,
function_locals,
function_call,
function_call_args,
meta_global,
meta_local,
meta_fields,
meta_field,
meta_field_args,
meta_value,
meta_named_value,
extern_,
extern_item,
extern_location,
import,
import_name,
import_names,
import_module,
globals,
struct_,
struct_fields,
instruction,
module,
op_rule,
op_rule_def,
op_rule_def_field,
op_rule_def_field_id,
op_rule_def_field_desc,
op_rule_def_field_desc_field,
op_value,
op_param,
op_targets,
ops_descriptor,
WHITESPACE,
COMMENT,
COMMENT_SINGLE,
COMMENT_MULTI,
SEP,
UNDERLINE,
}Variants§
EOI
End-of-input
shebang
identifier
identifier_simple
identifier_extended
identifier_extended_characters
type_ann
type_
tuple_type
pointer_type
string
string_characters
integer
integer_inner
hex
hex_digit
float
float_inner
number
tuple_value
ref_value
deref_value
value
value_content
value_access
variable_value
tuple_access
variable_access
variable
export
label
block
operation
operation_inline
operation_id
operation_params
operation_targets
function
function_header
function_params
function_locals
function_call
function_call_args
meta_global
meta_local
meta_fields
meta_field
meta_field_args
meta_value
meta_named_value
extern_
extern_item
extern_location
import
import_name
import_names
import_module
globals
struct_
struct_fields
instruction
module
op_rule
op_rule_def
op_rule_def_field
op_rule_def_field_id
op_rule_def_field_desc
op_rule_def_field_desc_field
op_value
op_param
op_targets
ops_descriptor
WHITESPACE
COMMENT
COMMENT_SINGLE
COMMENT_MULTI
SEP
UNDERLINE
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for KaijuParser
impl Parser<Rule> for KaijuParser
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