Struct erl_parse::cst::commons::parts::RecordField
[−]
[src]
pub struct RecordField<T> { pub key: AtomOrVariable, pub _bind: SymbolToken, pub value: T, }
AtomOrVariable
=
T
Fields
key: AtomOrVariable
_bind: SymbolToken
value: T
Trait Implementations
impl<T: Debug> Debug for RecordField<T>
[src]
impl<T: Clone> Clone for RecordField<T>
[src]
fn clone(&self) -> RecordField<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 RecordField<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 RecordField<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.