Struct dyon::ast::CallClosure
[−]
[src]
pub struct CallClosure { pub item: Item, pub args: Vec<Expression>, pub source_range: Range, }
Fields
item: Item
args: Vec<Expression>
source_range: Range
Methods
impl CallClosure
[src]
fn from_meta_data(file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, CallClosure), ()>
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, CallClosure), ()>
fn named_from_meta_data(file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, CallClosure), ()>
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, CallClosure), ()>
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)
fn arg_len(&self) -> usize
Computes number of arguments including swizzles.
Trait Implementations
impl Debug for CallClosure
[src]
impl Clone for CallClosure
[src]
fn clone(&self) -> CallClosure
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