Struct dyon::ast::Block
[−]
[src]
pub struct Block { pub expressions: Vec<Expression>, pub source_range: Range, }
Fields
expressions: Vec<Expression>
source_range: Range
Methods
impl Block
[src]
fn from_meta_data(file: &Arc<String>,
source: &Arc<String>,
node: &str,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Block), ()>
source: &Arc<String>,
node: &str,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Block), ()>
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 Block
[src]
impl Clone for Block
[src]
fn clone(&self) -> Block
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