Struct clarity_repl::clarity::ast::sugar_expander::SugarExpander
source · [−]pub struct SugarExpander { /* private fields */ }
Implementations
sourceimpl SugarExpander
impl SugarExpander
pub fn run(&self, contract_ast: &mut ContractAST) -> ParseResult<()>
pub fn transform(
&self,
pre_exprs_iter: PreExpressionsDrain,
contract_ast: &mut ContractAST
) -> ParseResult<Vec<SymbolicExpression>>
Trait Implementations
sourceimpl BuildASTPass for SugarExpander
impl BuildASTPass for SugarExpander
fn run_pass(contract_ast: &mut ContractAST) -> ParseResult<()>
Auto Trait Implementations
impl RefUnwindSafe for SugarExpander
impl Send for SugarExpander
impl Sync for SugarExpander
impl Unpin for SugarExpander
impl UnwindSafe for SugarExpander
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more