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
fn cont(&self) -> bool
Continue visiting nodes?
fn visit_stmt(&mut self, &'a Node<Statement>)
Handler for Statements
fn visit_expr(&mut self, &'a Node<Expression>)
Handler for Expressions