Struct stacks_rpc_client::clarity::vm::ast::sugar_expander::SugarExpander
pub struct SugarExpander { /* private fields */ }
Implementations§
§impl SugarExpander
impl SugarExpander
pub fn run(&self, contract_ast: &mut ContractAST) -> Result<(), ParseError>
pub fn transform( &self, pre_exprs_iter: PreExpressionsDrain, contract_ast: &mut ContractAST ) -> Result<Vec<SymbolicExpression>, ParseError>
Trait Implementations§
§impl BuildASTPass for SugarExpander
impl BuildASTPass for SugarExpander
fn run_pass( contract_ast: &mut ContractAST, _version: ClarityVersion ) -> Result<(), ParseError>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more