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