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