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), ()>
[src]
file: &Arc<String>,
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), ()>
[src]
file: &Arc<String>,
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,
use_lookup: &UseLookup
)
[src]
&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module,
use_lookup: &UseLookup
)
fn arg_len(&self) -> usize
[src]
Computes number of arguments including swizzles.
Trait Implementations
impl Debug for CallClosure
[src]
impl Clone for CallClosure
[src]
fn clone(&self) -> CallClosure
[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