pub enum Rule {
Show 61 variants
EOI,
WHITESPACE,
COMMENT,
program,
statement,
trace_stmt,
trace_pattern,
hex_address,
module_hex_address,
wildcard_pattern,
source_line,
function_name,
file_path,
line_number,
print_stmt,
print_content,
format_expr,
backtrace_stmt,
expr_stmt,
var_decl_stmt,
assign_stmt,
if_stmt,
else_clause,
condition,
compare_op,
expr,
or_op,
and_op,
logical_or,
logical_and,
eq_op,
rel_op,
equality,
relational,
additive,
term,
neg_unary,
not_unary,
unary,
factor,
strncmp_call,
starts_with_call,
memcmp_call,
hex_call,
special_var,
complex_variable,
chain_access,
array_access,
member_access,
pointer_deref,
address_of,
add_op,
mul_op,
identifier,
int,
hex_int,
oct_int,
bin_int,
float,
string,
bool,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
program
statement
trace_stmt
trace_pattern
hex_address
module_hex_address
wildcard_pattern
source_line
function_name
file_path
line_number
print_stmt
print_content
format_expr
backtrace_stmt
expr_stmt
var_decl_stmt
assign_stmt
if_stmt
else_clause
condition
compare_op
expr
or_op
and_op
logical_or
logical_and
eq_op
rel_op
equality
relational
additive
term
neg_unary
not_unary
unary
factor
strncmp_call
starts_with_call
memcmp_call
hex_call
special_var
complex_variable
chain_access
array_access
member_access
pointer_deref
address_of
add_op
mul_op
identifier
int
hex_int
oct_int
bin_int
float
string
bool
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for GhostScopeParser
impl Parser<Rule> for GhostScopeParser
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more