Trait StmtAccept

Source
pub trait StmtAccept<T: ResolvedType, R, V: StmtVisitor<T, R>> {
    // Required method
    fn accept(&self, visitor: &mut V) -> R;
}

Required Methods§

Source

fn accept(&self, visitor: &mut V) -> R

Implementations on Foreign Types§

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<AssignStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<BreakStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<ExprStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<IfStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<LoopStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<ReturnStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<ThenStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<VarDeclStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Arc<Mutex<WhileStmt<T>>>

Source§

fn accept(&self, visitor: &mut V) -> R

Implementors§

Source§

impl<T: ResolvedType, R, V: StmtVisitor<T, R>> StmtAccept<T, R, V> for Stmt<T>