pub enum Rule {
Show 84 variants
EOI,
WHITESPACE,
COMMENT,
NEWLINE,
program,
statements,
statement,
statement_inner,
assignment,
pipeline,
variable_ref,
operation,
read_op,
write_op,
select_op,
filter_op,
mutate_op,
rename_op,
rename_all_op,
sort_op,
take_op,
skip_op,
slice_op,
drop_op,
distinct_op,
selector_list,
selector_item,
aliased_selector,
selector,
regex_selector,
type_selector,
except_selector,
type_list,
data_type,
rename_mapping_list,
rename_mapping,
rename_strategy,
replace_strategy,
sequential_strategy,
sort_column_list,
sort_column,
order,
column_ref_list,
positional_column,
positional_range,
column_ref,
assignment_list,
assignment_item,
expression,
logical_or,
logical_and,
comparison,
comparison_op,
term,
add_op,
sub_op,
factor,
mul_op,
div_op,
primary,
invalid_split,
split_call,
lookup_call,
lookup_field,
replace_call,
regex_literal,
list_literal,
literal_list,
method_call,
arg_list,
params,
param,
param_value,
literal,
boolean,
null,
number,
suffix,
string,
double_quote_inner,
single_quote_inner,
double_quote_char,
single_quote_char,
identifier,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
NEWLINE
program
statements
statement
statement_inner
assignment
pipeline
variable_ref
operation
read_op
write_op
select_op
filter_op
mutate_op
rename_op
rename_all_op
sort_op
take_op
skip_op
slice_op
drop_op
distinct_op
selector_list
selector_item
aliased_selector
selector
regex_selector
type_selector
except_selector
type_list
data_type
rename_mapping_list
rename_mapping
rename_strategy
replace_strategy
sequential_strategy
sort_column_list
sort_column
order
column_ref_list
positional_column
positional_range
column_ref
assignment_list
assignment_item
expression
logical_or
logical_and
comparison
comparison_op
term
add_op
sub_op
factor
mul_op
div_op
primary
invalid_split
split_call
lookup_call
lookup_field
replace_call
regex_literal
list_literal
literal_list
method_call
arg_list
params
param
param_value
literal
boolean
null
number
suffix
string
double_quote_inner
single_quote_inner
double_quote_char
single_quote_char
identifier
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for DtransformParser
impl Parser<Rule> for DtransformParser
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<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§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