pub trait VisitMut {
Show 46 methods
// Provided methods
fn visit_ident_mut(&mut self, node: &mut Decorated<Ident>) { ... }
fn visit_null_mut(&mut self, node: &mut Decorated<Null>) { ... }
fn visit_bool_mut(&mut self, node: &mut Decorated<bool>) { ... }
fn visit_u64_mut(&mut self, node: &mut Decorated<u64>) { ... }
fn visit_number_mut(&mut self, node: &mut Formatted<Number>) { ... }
fn visit_string_mut(&mut self, node: &mut Decorated<String>) { ... }
fn visit_splat_mut(&mut self, node: &mut Decorated<Splat>) { ... }
fn visit_literal_mut(&mut self, node: &mut Spanned<String>) { ... }
fn visit_unary_operator_mut(&mut self, node: &mut Spanned<UnaryOperator>) { ... }
fn visit_binary_operator_mut(&mut self, node: &mut Spanned<BinaryOperator>) { ... }
fn visit_endif_template_expr_mut(&mut self, node: &mut EndifTemplateExpr) { ... }
fn visit_endfor_template_expr_mut(&mut self, node: &mut EndforTemplateExpr) { ... }
fn visit_body_mut(&mut self, node: &mut Body) { ... }
fn visit_block_mut(&mut self, node: &mut Block) { ... }
fn visit_block_label_mut(&mut self, node: &mut BlockLabel) { ... }
fn visit_expr_mut(&mut self, node: &mut Expression) { ... }
fn visit_array_mut(&mut self, node: &mut Array) { ... }
fn visit_object_mut(&mut self, node: &mut Object) { ... }
fn visit_object_value_mut(&mut self, node: &mut ObjectValue) { ... }
fn visit_parenthesis_mut(&mut self, node: &mut Parenthesis) { ... }
fn visit_conditional_mut(&mut self, node: &mut Conditional) { ... }
fn visit_unary_op_mut(&mut self, node: &mut UnaryOp) { ... }
fn visit_binary_op_mut(&mut self, node: &mut BinaryOp) { ... }
fn visit_traversal_mut(&mut self, node: &mut Traversal) { ... }
fn visit_traversal_operator_mut(&mut self, node: &mut TraversalOperator) { ... }
fn visit_func_call_mut(&mut self, node: &mut FuncCall) { ... }
fn visit_func_name_mut(&mut self, node: &mut FuncName) { ... }
fn visit_func_args_mut(&mut self, node: &mut FuncArgs) { ... }
fn visit_for_expr_mut(&mut self, node: &mut ForExpr) { ... }
fn visit_for_intro_mut(&mut self, node: &mut ForIntro) { ... }
fn visit_for_cond_mut(&mut self, node: &mut ForCond) { ... }
fn visit_string_template_mut(&mut self, node: &mut StringTemplate) { ... }
fn visit_heredoc_template_mut(&mut self, node: &mut HeredocTemplate) { ... }
fn visit_template_mut(&mut self, node: &mut Template) { ... }
fn visit_element_mut(&mut self, node: &mut Element) { ... }
fn visit_interpolation_mut(&mut self, node: &mut Interpolation) { ... }
fn visit_directive_mut(&mut self, node: &mut Directive) { ... }
fn visit_if_directive_mut(&mut self, node: &mut IfDirective) { ... }
fn visit_for_directive_mut(&mut self, node: &mut ForDirective) { ... }
fn visit_if_template_expr_mut(&mut self, node: &mut IfTemplateExpr) { ... }
fn visit_else_template_expr_mut(&mut self, node: &mut ElseTemplateExpr) { ... }
fn visit_for_template_expr_mut(&mut self, node: &mut ForTemplateExpr) { ... }
fn visit_structure_mut(&mut self, node: StructureMut<'_>) { ... }
fn visit_attr_mut(&mut self, node: AttributeMut<'_>) { ... }
fn visit_object_key_mut(&mut self, node: ObjectKeyMut<'_>) { ... }
fn visit_object_item_mut(
&mut self,
key: ObjectKeyMut<'_>,
value: &mut ObjectValue,
) { ... }
}
Expand description
Traversal to walk a mutable borrow of an HCL language item.
See the module documentation for details.