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
At$@
Star$*
Pound$#
Question$?
Dash$-
Dollar$$
Bang$!
Positional(u32)$0, $1, ..., $9, ${100}
Var(T)$foo
Trait Implementations
impl<T: Debug> Debug for Parameter<T>[src]
impl<T: PartialEq> PartialEq for Parameter<T>[src]
fn eq(&self, __arg_0: &Parameter<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Parameter<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for Parameter<T>[src]
impl<T: Clone> Clone for Parameter<T>[src]
fn clone(&self) -> Parameter<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more