Trait rustc::mir::visit::MutVisitor [] [src]

pub trait MutVisitor<'tcx> {
    fn visit_mir(&mut self, mir: &mut Mir<'tcx>) { ... }
    fn visit_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>) { ... }
    fn visit_scope_data(&mut self, scope_data: &mut ScopeData) { ... }
    fn visit_statement(&mut self, block: BasicBlock, statement: &mut Statement<'tcx>) { ... }
    fn visit_assign(&mut self, block: BasicBlock, lvalue: &mut Lvalue<'tcx>, rvalue: &mut Rvalue<'tcx>) { ... }
    fn visit_terminator(&mut self, block: BasicBlock, terminator: &mut Terminator<'tcx>) { ... }
    fn visit_terminator_kind(&mut self, block: BasicBlock, kind: &mut TerminatorKind<'tcx>) { ... }
    fn visit_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>) { ... }
    fn visit_operand(&mut self, operand: &mut Operand<'tcx>) { ... }
    fn visit_lvalue(&mut self, lvalue: &mut Lvalue<'tcx>, context: LvalueContext) { ... }
    fn visit_projection(&mut self, lvalue: &mut LvalueProjection<'tcx>, context: LvalueContext) { ... }
    fn visit_projection_elem(&mut self, lvalue: &mut LvalueElem<'tcx>, context: LvalueContext) { ... }
    fn visit_branch(&mut self, source: BasicBlock, target: BasicBlock) { ... }
    fn visit_constant(&mut self, constant: &mut Constant<'tcx>) { ... }
    fn visit_literal(&mut self, literal: &mut Literal<'tcx>) { ... }
    fn visit_def_id(&mut self, def_id: &mut DefId) { ... }
    fn visit_span(&mut self, span: &mut Span) { ... }
    fn visit_fn_output(&mut self, fn_output: &mut FnOutput<'tcx>) { ... }
    fn visit_ty(&mut self, ty: &mut Ty<'tcx>) { ... }
    fn visit_substs(&mut self, substs: &mut &'tcx Substs<'tcx>) { ... }
    fn visit_closure_substs(&mut self, substs: &mut ClosureSubsts<'tcx>) { ... }
    fn visit_const_val(&mut self, const_val: &mut ConstVal) { ... }
    fn visit_const_usize(&mut self, const_usize: &mut ConstUsize) { ... }
    fn visit_typed_const_val(&mut self, val: &mut TypedConstVal<'tcx>) { ... }
    fn visit_var_decl(&mut self, var_decl: &mut VarDecl<'tcx>) { ... }
    fn visit_temp_decl(&mut self, temp_decl: &mut TempDecl<'tcx>) { ... }
    fn visit_arg_decl(&mut self, arg_decl: &mut ArgDecl<'tcx>) { ... }
    fn visit_scope_id(&mut self, scope_id: &mut ScopeId) { ... }
    fn super_mir(&mut self, mir: &mut Mir<'tcx>) { ... }
    fn super_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>) { ... }
    fn super_scope_data(&mut self, scope_data: &mut ScopeData) { ... }
    fn super_statement(&mut self, block: BasicBlock, statement: &mut Statement<'tcx>) { ... }
    fn super_assign(&mut self, _block: BasicBlock, lvalue: &mut Lvalue<'tcx>, rvalue: &mut Rvalue<'tcx>) { ... }
    fn super_terminator(&mut self, block: BasicBlock, terminator: &mut Terminator<'tcx>) { ... }
    fn super_terminator_kind(&mut self, block: BasicBlock, kind: &mut TerminatorKind<'tcx>) { ... }
    fn super_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>) { ... }
    fn super_operand(&mut self, operand: &mut Operand<'tcx>) { ... }
    fn super_lvalue(&mut self, lvalue: &mut Lvalue<'tcx>, context: LvalueContext) { ... }
    fn super_projection(&mut self, proj: &mut LvalueProjection<'tcx>, context: LvalueContext) { ... }
    fn super_projection_elem(&mut self, proj: &mut LvalueElem<'tcx>, _context: LvalueContext) { ... }
    fn super_var_decl(&mut self, var_decl: &mut VarDecl<'tcx>) { ... }
    fn super_temp_decl(&mut self, temp_decl: &mut TempDecl<'tcx>) { ... }
    fn super_arg_decl(&mut self, arg_decl: &mut ArgDecl<'tcx>) { ... }
    fn super_scope_id(&mut self, _scope_id: &mut ScopeId) { ... }
    fn super_branch(&mut self, _source: BasicBlock, _target: BasicBlock) { ... }
    fn super_constant(&mut self, constant: &mut Constant<'tcx>) { ... }
    fn super_typed_const_val(&mut self, constant: &mut TypedConstVal<'tcx>) { ... }
    fn super_literal(&mut self, literal: &mut Literal<'tcx>) { ... }
    fn super_def_id(&mut self, _def_id: &mut DefId) { ... }
    fn super_span(&mut self, _span: &mut Span) { ... }
    fn super_fn_output(&mut self, fn_output: &mut FnOutput<'tcx>) { ... }
    fn super_ty(&mut self, _ty: &mut Ty<'tcx>) { ... }
    fn super_substs(&mut self, _substs: &mut &'tcx Substs<'tcx>) { ... }
    fn super_closure_substs(&mut self, _substs: &mut ClosureSubsts<'tcx>) { ... }
    fn super_const_val(&mut self, _substs: &mut ConstVal) { ... }
    fn super_const_usize(&mut self, _substs: &mut ConstUsize) { ... }
}
Unstable (rustc_private)

Provided Methods

fn visit_mir(&mut self, mir: &mut Mir<'tcx>)

Unstable (rustc_private)

fn visit_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>)

Unstable (rustc_private)

fn visit_scope_data(&mut self, scope_data: &mut ScopeData)

Unstable (rustc_private)

fn visit_statement(&mut self, block: BasicBlock, statement: &mut Statement<'tcx>)

Unstable (rustc_private)

fn visit_assign(&mut self, block: BasicBlock, lvalue: &mut Lvalue<'tcx>, rvalue: &mut Rvalue<'tcx>)

Unstable (rustc_private)

fn visit_terminator(&mut self, block: BasicBlock, terminator: &mut Terminator<'tcx>)

Unstable (rustc_private)

fn visit_terminator_kind(&mut self, block: BasicBlock, kind: &mut TerminatorKind<'tcx>)

Unstable (rustc_private)

fn visit_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>)

Unstable (rustc_private)

fn visit_operand(&mut self, operand: &mut Operand<'tcx>)

Unstable (rustc_private)

fn visit_lvalue(&mut self, lvalue: &mut Lvalue<'tcx>, context: LvalueContext)

Unstable (rustc_private)

fn visit_projection(&mut self, lvalue: &mut LvalueProjection<'tcx>, context: LvalueContext)

Unstable (rustc_private)

fn visit_projection_elem(&mut self, lvalue: &mut LvalueElem<'tcx>, context: LvalueContext)

Unstable (rustc_private)

fn visit_branch(&mut self, source: BasicBlock, target: BasicBlock)

Unstable (rustc_private)

fn visit_constant(&mut self, constant: &mut Constant<'tcx>)

Unstable (rustc_private)

fn visit_literal(&mut self, literal: &mut Literal<'tcx>)

Unstable (rustc_private)

fn visit_def_id(&mut self, def_id: &mut DefId)

Unstable (rustc_private)

fn visit_span(&mut self, span: &mut Span)

Unstable (rustc_private)

fn visit_fn_output(&mut self, fn_output: &mut FnOutput<'tcx>)

Unstable (rustc_private)

fn visit_ty(&mut self, ty: &mut Ty<'tcx>)

Unstable (rustc_private)

fn visit_substs(&mut self, substs: &mut &'tcx Substs<'tcx>)

Unstable (rustc_private)

fn visit_closure_substs(&mut self, substs: &mut ClosureSubsts<'tcx>)

Unstable (rustc_private)

fn visit_const_val(&mut self, const_val: &mut ConstVal)

Unstable (rustc_private)

fn visit_const_usize(&mut self, const_usize: &mut ConstUsize)

Unstable (rustc_private)

fn visit_typed_const_val(&mut self, val: &mut TypedConstVal<'tcx>)

Unstable (rustc_private)

fn visit_var_decl(&mut self, var_decl: &mut VarDecl<'tcx>)

Unstable (rustc_private)

fn visit_temp_decl(&mut self, temp_decl: &mut TempDecl<'tcx>)

Unstable (rustc_private)

fn visit_arg_decl(&mut self, arg_decl: &mut ArgDecl<'tcx>)

Unstable (rustc_private)

fn visit_scope_id(&mut self, scope_id: &mut ScopeId)

Unstable (rustc_private)

fn super_mir(&mut self, mir: &mut Mir<'tcx>)

Unstable (rustc_private)

fn super_basic_block_data(&mut self, block: BasicBlock, data: &mut BasicBlockData<'tcx>)

Unstable (rustc_private)

fn super_scope_data(&mut self, scope_data: &mut ScopeData)

Unstable (rustc_private)

fn super_statement(&mut self, block: BasicBlock, statement: &mut Statement<'tcx>)

Unstable (rustc_private)

fn super_assign(&mut self, _block: BasicBlock, lvalue: &mut Lvalue<'tcx>, rvalue: &mut Rvalue<'tcx>)

Unstable (rustc_private)

fn super_terminator(&mut self, block: BasicBlock, terminator: &mut Terminator<'tcx>)

Unstable (rustc_private)

fn super_terminator_kind(&mut self, block: BasicBlock, kind: &mut TerminatorKind<'tcx>)

Unstable (rustc_private)

fn super_rvalue(&mut self, rvalue: &mut Rvalue<'tcx>)

Unstable (rustc_private)

fn super_operand(&mut self, operand: &mut Operand<'tcx>)

Unstable (rustc_private)

fn super_lvalue(&mut self, lvalue: &mut Lvalue<'tcx>, context: LvalueContext)

Unstable (rustc_private)

fn super_projection(&mut self, proj: &mut LvalueProjection<'tcx>, context: LvalueContext)

Unstable (rustc_private)

fn super_projection_elem(&mut self, proj: &mut LvalueElem<'tcx>, _context: LvalueContext)

Unstable (rustc_private)

fn super_var_decl(&mut self, var_decl: &mut VarDecl<'tcx>)

Unstable (rustc_private)

fn super_temp_decl(&mut self, temp_decl: &mut TempDecl<'tcx>)

Unstable (rustc_private)

fn super_arg_decl(&mut self, arg_decl: &mut ArgDecl<'tcx>)

Unstable (rustc_private)

fn super_scope_id(&mut self, _scope_id: &mut ScopeId)

Unstable (rustc_private)

fn super_branch(&mut self, _source: BasicBlock, _target: BasicBlock)

Unstable (rustc_private)

fn super_constant(&mut self, constant: &mut Constant<'tcx>)

Unstable (rustc_private)

fn super_typed_const_val(&mut self, constant: &mut TypedConstVal<'tcx>)

Unstable (rustc_private)

fn super_literal(&mut self, literal: &mut Literal<'tcx>)

Unstable (rustc_private)

fn super_def_id(&mut self, _def_id: &mut DefId)

Unstable (rustc_private)

fn super_span(&mut self, _span: &mut Span)

Unstable (rustc_private)

fn super_fn_output(&mut self, fn_output: &mut FnOutput<'tcx>)

Unstable (rustc_private)

fn super_ty(&mut self, _ty: &mut Ty<'tcx>)

Unstable (rustc_private)

fn super_substs(&mut self, _substs: &mut &'tcx Substs<'tcx>)

Unstable (rustc_private)

fn super_closure_substs(&mut self, _substs: &mut ClosureSubsts<'tcx>)

Unstable (rustc_private)

fn super_const_val(&mut self, _substs: &mut ConstVal)

Unstable (rustc_private)

fn super_const_usize(&mut self, _substs: &mut ConstUsize)

Unstable (rustc_private)

Implementors