[][src]Enum pwfr::core::ebuild::efile::Rule

pub enum Rule {
    EOI,
    WHITESPACE,
    COMMENT,
    word_char,
    var_name_chars,
    wsnl,
    var_name,
    username,
    special_var_name,
    index,
    num,
    expr,
    comp_op,
    assign,
    assign_op,
    arith,
    arith_op,
    term,
    factor_op,
    factor,
    sign,
    postfix_incdec,
    primary,
    word,
    span,
    escaped_char,
    unescaped_char,
    literal_span,
    tilde_span,
    any_string_span,
    any_char_span,
    command_span,
    proc_subst_direction,
    proc_subst_span,
    backtick_span,
    expr_span,
    expandable_var_name,
    length_op,
    param_op,
    param_opt,
    param_ex_span,
    param_span,
    double_quoted_span,
    double_quoted_span_inner,
    single_quoted_span,
    single_quoted_span_inner,
    literal_in_double_quoted_span,
    literal_in_single_quoted_span,
    initializer,
    string_initializer,
    array_initializer,
    assignment,
    assignment_command,
    fd,
    redirect_direction,
    redirect_to_fd,
    redirect,
    word_or_redirect,
    reserved_word,
    argv0,
    args,
    assignments,
    simple_command,
    heredoc,
    newline,
    normal_newline,
    heredoc_marker,
    heredoc_body,
    heredoc_line,
    if_command,
    elif_part,
    else_part,
    while_command,
    word_list,
    for_command,
    arith_for_exprs,
    arith_for_command,
    patterns,
    case_item,
    case_command,
    function_definition,
    local_definition,
    return_command,
    break_command,
    continue_command,
    group,
    subshell_group,
    cond_ex,
    cond_expr,
    cond_or,
    cond_and,
    cond_term,
    cond_op,
    cond_primary,
    cond_primary_inner,
    command,
    pipeline,
    and_or_list,
    and_or_list_sep,
    compound_list,
    compound_list_sep,
    seq_sep,
    background,
    empty_line,
    compound_list_inner,
    efile,
}

Variants

EOI
WHITESPACE
COMMENT
word_char
var_name_chars
wsnl
var_name
username
special_var_name
index
num
expr
comp_op
assign
assign_op
arith
arith_op
term
factor_op
factor
sign
postfix_incdec
primary
word
span
escaped_char
unescaped_char
literal_span
tilde_span
any_string_span
any_char_span
command_span
proc_subst_direction
proc_subst_span
backtick_span
expr_span
expandable_var_name
length_op
param_op
param_opt
param_ex_span
param_span
double_quoted_span
double_quoted_span_inner
single_quoted_span
single_quoted_span_inner
literal_in_double_quoted_span
literal_in_single_quoted_span
initializer
string_initializer
array_initializer
assignment
assignment_command
fd
redirect_direction
redirect_to_fd
redirect
word_or_redirect
reserved_word
argv0
args
assignments
simple_command
heredoc
newline
normal_newline
heredoc_marker
heredoc_body
heredoc_line
if_command
elif_part
else_part
while_command
word_list
for_command
arith_for_exprs
arith_for_command
patterns
case_item
case_command
function_definition
local_definition
return_command
break_command
continue_command
group
subshell_group
cond_ex
cond_expr
cond_or
cond_and
cond_term
cond_op
cond_primary
cond_primary_inner
command
pipeline
and_or_list
and_or_list_sep
compound_list
compound_list_sep
seq_sep
background
empty_line
compound_list_inner
efile

Trait Implementations

impl Clone for Rule[src]

impl Copy for Rule[src]

impl Eq for Rule[src]

impl Ord for Rule[src]

impl PartialEq<Rule> for Rule[src]

impl PartialOrd<Rule> for Rule[src]

impl Debug for Rule[src]

impl Hash for Rule[src]

impl Parser<Rule> for EFile[src]

Auto Trait Implementations

impl Send for Rule

impl Sync for Rule

impl Unpin for Rule

impl UnwindSafe for Rule

impl RefUnwindSafe for Rule

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]