pub trait TypeVisitor: ExpressionVisitor {
// Provided methods
fn visit_type(&mut self, input: &Type) { ... }
fn visit_array_type(&mut self, input: &ArrayType) { ... }
fn visit_future_type(&mut self, input: &FutureType) { ... }
fn visit_mapping_type(&mut self, input: &MappingType) { ... }
fn visit_tuple_type(&mut self, input: &TupleType) { ... }
}
Expand description
A Visitor trait for types in the AST.