pub trait AstTransformer {
// Required methods
fn transform_call(&mut self, call: &ExprCall) -> Result<Option<String>>;
fn should_transform(&self, qualified_name: &QualifiedName) -> bool;
}Expand description
Trait for transforming AST nodes
Required Methods§
Sourcefn transform_call(&mut self, call: &ExprCall) -> Result<Option<String>>
fn transform_call(&mut self, call: &ExprCall) -> Result<Option<String>>
Transform a function call expression
Sourcefn should_transform(&self, qualified_name: &QualifiedName) -> bool
fn should_transform(&self, qualified_name: &QualifiedName) -> bool
Check if a function should be transformed