Enum erl_parse::cst::commons::parts::ConsCellTail
[−]
[src]
pub enum ConsCellTail<T> { Proper { _comma: SymbolToken, item: T, tail: Option<Box<ConsCellTail<T>>>, }, Improper { _bar: SymbolToken, item: T, }, }
Variants
Proper
Fields of Proper
_comma: SymbolToken | |
item: T | |
tail: Option<Box<ConsCellTail<T>>> |
Improper
Fields of Improper
_bar: SymbolToken | |
item: T |
Trait Implementations
impl<T: Debug> Debug for ConsCellTail<T>
[src]
impl<T: Clone> Clone for ConsCellTail<T>
[src]
fn clone(&self) -> ConsCellTail<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Parse> Parse for ConsCellTail<T>
[src]
fn parse<U: TokenRead>(parser: &mut Parser<U>) -> Result<Self>
[src]
fn parse_non_left_recor<T>(parser: &mut Parser<T>) -> Result<Self> where
T: TokenRead,
[src]
T: TokenRead,
impl<T: PositionRange> PositionRange for ConsCellTail<T>
[src]
fn start_position(&self) -> Position
[src]
Returns the (inclusive) start position of this.
fn end_position(&self) -> Position
[src]
Returns the (exclusive) end position of this.