Struct dyon::ast::Call
[−]
[src]
pub struct Call { pub name: Arc<String>, pub args: Vec<Expression>, pub f_index: Cell<FnIndex>, pub custom_source: Option<Arc<String>>, pub source_range: Range, }
Fields
name: Arc<String>
args: Vec<Expression>
f_index: Cell<FnIndex>
custom_source: Option<Arc<String>>
A custom source, such as when calling a function inside a loaded module.
source_range: Range
Methods
impl Call
[src]
fn from_meta_data(file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Call), ()>
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Call), ()>
fn named_from_meta_data(file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Call), ()>
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>)
-> Result<(Range, Call), ()>
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 Call
[src]
impl Clone for Call
[src]
fn clone(&self) -> Call
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