Struct erl_parse::cst::forms::ExportAttr
[−]
[src]
pub struct ExportAttr { pub _hyphen: SymbolToken, pub _export: AtomToken, pub _open: SymbolToken, pub exports: ProperList<NameAndArity>, pub _close: SymbolToken, pub _dot: SymbolToken, }
-
export
(
ProperList<NameAndArity>
)
.
Fields
_hyphen: SymbolToken
_export: AtomToken
_open: SymbolToken
exports: ProperList<NameAndArity>
_close: SymbolToken
_dot: SymbolToken
Trait Implementations
impl Debug for ExportAttr
[src]
impl Clone for ExportAttr
[src]
fn clone(&self) -> ExportAttr
[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 Parse for ExportAttr
[src]
fn parse<T>(parser: &mut Parser<T>) -> Result<Self> where
T: TokenRead,
[src]
T: TokenRead,
fn parse_non_left_recor<T>(parser: &mut Parser<T>) -> Result<Self> where
T: TokenRead,
[src]
T: TokenRead,
impl PositionRange for ExportAttr
[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.