Trait cleaver::fe::ast::Visitor [] [src]

pub trait Visitor<'a> {
    fn cont(&self) -> bool { ... }
    fn visit_stmt(&mut self, &'a Node<Statement>) { ... }
    fn visit_expr(&mut self, &'a Node<Expression>) { ... }
}

Enables visiting specific nodes in the AST.

Source: https://github.com/darwins-challenge/moonlander-ast-rust

Provided Methods

Continue visiting nodes?

Handler for Statements

Handler for Expressions

Implementors