Enum conch_parser::ast::Parameter [] [src]

pub enum Parameter<T> {
    At,
    Star,
    Pound,
    Question,
    Dash,
    Dollar,
    Bang,
    Positional(u32),
    Var(T),
}

Represents reading a parameter (or variable) value, e.g. $foo.

Generic over the representation of variable names.

Variants

$@

$*

$#

$?

$-

$$

$!

$0, $1, ..., $9, ${100}

$foo

Trait Implementations

impl<T: Debug> Debug for Parameter<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for Parameter<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for Parameter<T>
[src]

impl<T: Clone> Clone for Parameter<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Display> Display for Parameter<T>
[src]

Formats the value using the given formatter. Read more