[−][src]Trait libslide::grammar::transformer::ExpressionTransformer
A trait for transforming one expression into another.
A trait for transforming one expression into another.
fn transform(&self, expr: &'a RcExpr) -> RcExpr
fn transform_const(&self, konst: &f64, span: Span) -> RcExpr
fn transform_var(&self, var: &'a InternedStr, span: Span) -> RcExpr
fn transform_binary_op(&self, op: BinaryOperator) -> BinaryOperator
fn transform_binary(&self, expr: &'a BinaryExpr<RcExpr>, span: Span) -> RcExpr
fn transform_unary_op(&self, op: UnaryOperator) -> UnaryOperator
fn transform_unary(&self, expr: &'a UnaryExpr<RcExpr>, span: Span) -> RcExpr
fn transform_parend(&self, expr: &'a RcExpr, span: Span) -> RcExpr
fn transform_bracketed(&self, expr: &'a RcExpr, span: Span) -> RcExpr
impl<'a> ExpressionTransformer<'a> for EagerVariableExpander<'a>
[src]fn transform_var(&self, var: &'a InternedStr, span: Span) -> RcExpr
[src]impl<'a> ExpressionTransformer<'a> for LazyVariableExpander<'a>
[src]fn transform_var(&self, var: &'a InternedStr, span: Span) -> RcExpr
[src]