Struct dyon::ast::Grab
[−]
[src]
pub struct Grab { pub level: u16, pub expr: Expression, pub source_range: Range, }
Fields
level: u16
expr: Expression
source_range: Range
Methods
impl Grab
[src]
fn from_meta_data(file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Grab), ()>
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Grab), ()>
fn resolve_locals(&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module)
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module)
Trait Implementations
impl Debug for Grab
[src]
impl Clone for Grab
[src]
fn clone(&self) -> Grab
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