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]
impl CallClosure
pub fn from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, CallClosure), ()>
[src]
pub fn from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, CallClosure), ()>
pub fn named_from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, CallClosure), ()>
[src]
pub fn named_from_meta_data(
file: &Arc<String>,
source: &Arc<String>,
convert: Convert,
ignored: &mut Vec<Range>
) -> Result<(Range, CallClosure), ()>
pub fn resolve_locals(
&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module,
use_lookup: &UseLookup
)
[src]
pub fn resolve_locals(
&self,
relative: usize,
stack: &mut Vec<Option<Arc<String>>>,
closure_stack: &mut Vec<usize>,
module: &Module,
use_lookup: &UseLookup
)
pub fn arg_len(&self) -> usize
[src]
pub fn arg_len(&self) -> usize
Computes number of arguments including swizzles.
Trait Implementations
impl Debug for CallClosure
[src]
impl Debug for CallClosure
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CallClosure
[src]
impl Clone for CallClosure
fn clone(&self) -> CallClosure
[src]
fn clone(&self) -> CallClosure
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for CallClosure
impl Send for CallClosure
impl !Sync for CallClosure
impl !Sync for CallClosure