pub enum Rule {
Show 68 variants
EOI,
main,
jp_query,
segments,
segment,
child_segment,
bracketed_selection,
descendant_segment,
selector,
root,
name_selector,
wildcard_selector,
index_selector,
int,
step,
start,
end,
slice_selector,
filter_selector,
logical_expr,
logical_expr_and,
atom_expr,
paren_expr,
comp_expr,
test_expr,
test,
rel_query,
function_expr,
function_name,
function_name_first,
function_name_char,
function_argument,
comparable,
literal,
bool,
null,
singular_query,
rel_singular_query,
abs_singular_query,
singular_query_segments,
name_segment,
index_segment,
comp_op,
LCALPHA,
string,
double_quoted,
single_quoted,
escapable,
member_name_shorthand,
name_first,
name_char,
not_op,
curr,
ESC,
unescaped,
S,
hexchar,
number,
frac,
exp,
non_surrogate,
high_surrogate,
low_surrogate,
HEXDIG,
DIGIT,
DIGIT1,
ALPHA,
WHITESPACE,
}
Variants§
EOI
End-of-input
main
jp_query
segments
segment
child_segment
bracketed_selection
descendant_segment
selector
root
name_selector
wildcard_selector
index_selector
int
step
start
end
slice_selector
filter_selector
logical_expr
logical_expr_and
atom_expr
paren_expr
comp_expr
test_expr
test
rel_query
function_expr
function_name
function_name_first
function_name_char
function_argument
comparable
literal
bool
null
singular_query
rel_singular_query
abs_singular_query
singular_query_segments
name_segment
index_segment
comp_op
LCALPHA
string
double_quoted
single_quoted
escapable
member_name_shorthand
name_first
name_char
not_op
curr
ESC
unescaped
S
hexchar
number
frac
exp
non_surrogate
high_surrogate
low_surrogate
HEXDIG
DIGIT
DIGIT1
ALPHA
WHITESPACE
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
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