pub enum Rule {
Show 54 variants
EOI,
COMMENT,
WHITESPACE,
id,
id_env,
id_starbase,
blank,
whitespace,
boundary,
meta_char,
escape_char,
fd_char,
control_operator,
redirect_operator,
redirect_operator_with_fd,
operator,
value_quote_inner,
value_double_quote_inner,
value_double_quote,
value_single_quote_inner,
value_single_quote,
value_murex_brace_quote,
value_nu_raw_quote,
value_unquoted_inner,
value_unquoted,
value,
value_dynamic,
arithmetic_expansion,
brace_expansion,
parameter_expansion,
tilde_expansion,
moon_token_expansion,
expansion,
command_substitution,
process_substitution,
substitution,
env_var_namespace,
env_var_name,
env_var,
flag_group,
flag,
option,
option_with_value,
param_special,
param,
argument,
command,
command_terminator,
command_list,
pipeline_negated,
pipeline_operator,
pipeline,
command_line,
unquoted_expansion_or_substitution,
}Variants§
EOI
End-of-input
COMMENT
WHITESPACE
id
id_env
id_starbase
blank
whitespace
boundary
meta_char
escape_char
fd_char
control_operator
redirect_operator
redirect_operator_with_fd
operator
value_quote_inner
value_double_quote_inner
value_double_quote
value_single_quote_inner
value_single_quote
value_murex_brace_quote
value_nu_raw_quote
value_unquoted_inner
value_unquoted
value
value_dynamic
arithmetic_expansion
brace_expansion
parameter_expansion
tilde_expansion
moon_token_expansion
expansion
command_substitution
process_substitution
substitution
env_var_namespace
env_var_name
env_var
flag_group
flag
option
option_with_value
param_special
param
argument
command
command_terminator
command_list
pipeline_negated
pipeline_operator
pipeline
command_line
unquoted_expansion_or_substitution
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for ArgsParser
impl Parser<Rule> for ArgsParser
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 UnsafeUnpin 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