Enum pdl_compiler::parser::Rule
source · pub enum Rule {
Show 51 variants
EOI,
WHITESPACE,
COMMENT,
block_comment,
line_comment,
alpha,
digit,
hexdigit,
alphanum,
identifier,
payload_identifier,
body_identifier,
intvalue,
hexvalue,
integer,
string,
size_modifier,
endianness_declaration,
enum_value,
enum_value_list,
enum_range,
enum_tag,
enum_tag_list,
enum_declaration,
constraint,
constraint_list,
checksum_field,
padding_field,
size_field,
count_field,
elementsize_field,
body_field,
payload_field,
fixed_field,
reserved_field,
array_field,
scalar_field,
typedef_field,
group_field,
field,
field_list,
packet_declaration,
struct_declaration,
group_declaration,
checksum_declaration,
custom_field_declaration,
test_case,
test_case_list,
test_declaration,
declaration,
file,
}
Expand description
Variants§
EOI
WHITESPACE
COMMENT
block_comment
line_comment
alpha
digit
hexdigit
alphanum
identifier
payload_identifier
body_identifier
intvalue
hexvalue
integer
string
size_modifier
endianness_declaration
enum_value
enum_value_list
enum_range
enum_tag
enum_tag_list
enum_declaration
constraint
constraint_list
checksum_field
padding_field
size_field
count_field
elementsize_field
body_field
payload_field
fixed_field
reserved_field
array_field
scalar_field
typedef_field
group_field
field
field_list
packet_declaration
struct_declaration
group_declaration
checksum_declaration
custom_field_declaration
test_case
test_case_list
test_declaration
declaration
file
Trait Implementations§
source§impl Ord for Rule
impl Ord for Rule
source§impl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
source§impl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Rule
impl Eq for Rule
impl StructuralEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
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