pub trait Visit {
Show 46 methods
// Provided methods
fn visit_ident(&mut self, node: &Decorated<Ident>) { ... }
fn visit_null(&mut self, node: &Decorated<Null>) { ... }
fn visit_bool(&mut self, node: &Decorated<bool>) { ... }
fn visit_u64(&mut self, node: &Decorated<u64>) { ... }
fn visit_number(&mut self, node: &Formatted<Number>) { ... }
fn visit_string(&mut self, node: &Decorated<String>) { ... }
fn visit_splat(&mut self, node: &Decorated<Splat>) { ... }
fn visit_literal(&mut self, node: &Spanned<String>) { ... }
fn visit_unary_operator(&mut self, node: &Spanned<UnaryOperator>) { ... }
fn visit_binary_operator(&mut self, node: &Spanned<BinaryOperator>) { ... }
fn visit_endif_template_expr(&mut self, node: &EndifTemplateExpr) { ... }
fn visit_endfor_template_expr(&mut self, node: &EndforTemplateExpr) { ... }
fn visit_body(&mut self, node: &Body) { ... }
fn visit_structure(&mut self, node: &Structure) { ... }
fn visit_attr(&mut self, node: &Attribute) { ... }
fn visit_block(&mut self, node: &Block) { ... }
fn visit_block_label(&mut self, node: &BlockLabel) { ... }
fn visit_expr(&mut self, node: &Expression) { ... }
fn visit_array(&mut self, node: &Array) { ... }
fn visit_object(&mut self, node: &Object) { ... }
fn visit_object_key(&mut self, node: &ObjectKey) { ... }
fn visit_object_value(&mut self, node: &ObjectValue) { ... }
fn visit_parenthesis(&mut self, node: &Parenthesis) { ... }
fn visit_conditional(&mut self, node: &Conditional) { ... }
fn visit_unary_op(&mut self, node: &UnaryOp) { ... }
fn visit_binary_op(&mut self, node: &BinaryOp) { ... }
fn visit_traversal(&mut self, node: &Traversal) { ... }
fn visit_traversal_operator(&mut self, node: &TraversalOperator) { ... }
fn visit_func_call(&mut self, node: &FuncCall) { ... }
fn visit_func_name(&mut self, node: &FuncName) { ... }
fn visit_func_args(&mut self, node: &FuncArgs) { ... }
fn visit_for_expr(&mut self, node: &ForExpr) { ... }
fn visit_for_intro(&mut self, node: &ForIntro) { ... }
fn visit_for_cond(&mut self, node: &ForCond) { ... }
fn visit_string_template(&mut self, node: &StringTemplate) { ... }
fn visit_heredoc_template(&mut self, node: &HeredocTemplate) { ... }
fn visit_template(&mut self, node: &Template) { ... }
fn visit_element(&mut self, node: &Element) { ... }
fn visit_interpolation(&mut self, node: &Interpolation) { ... }
fn visit_directive(&mut self, node: &Directive) { ... }
fn visit_if_directive(&mut self, node: &IfDirective) { ... }
fn visit_for_directive(&mut self, node: &ForDirective) { ... }
fn visit_if_template_expr(&mut self, node: &IfTemplateExpr) { ... }
fn visit_else_template_expr(&mut self, node: &ElseTemplateExpr) { ... }
fn visit_for_template_expr(&mut self, node: &ForTemplateExpr) { ... }
fn visit_object_item(&mut self, key: &ObjectKey, value: &ObjectValue) { ... }
}
Expand description
Traversal to walk a shared borrow of an HCL language item.
See the module documentation for details.