Interface IBlockVisitor<TInstruction>
- Namespace
- Echo.ControlFlow.Blocks
- Assembly
- Echo.ControlFlow.dll
Provides members for visiting blocks in a scoped block tree.
public interface IBlockVisitor<TInstruction> where TInstruction : notnull
Type Parameters
TInstructionThe type of instructions in the blocks.
Methods
VisitBasicBlock(BasicBlock<TInstruction>)
Visits a basic block.
void VisitBasicBlock(BasicBlock<TInstruction> block)
Parameters
blockBasicBlock<TInstruction>The block.
VisitExceptionHandlerBlock(ExceptionHandlerBlock<TInstruction>)
Visits an exception handler block.
void VisitExceptionHandlerBlock(ExceptionHandlerBlock<TInstruction> block)
Parameters
blockExceptionHandlerBlock<TInstruction>The block.
VisitHandlerBlock(HandlerBlock<TInstruction>)
Visits a handler block inside an ExceptionHandlerBlock<TInstruction>.
void VisitHandlerBlock(HandlerBlock<TInstruction> block)
Parameters
blockHandlerBlock<TInstruction>The block.
VisitScopeBlock(ScopeBlock<TInstruction>)
Visits a scope block.
void VisitScopeBlock(ScopeBlock<TInstruction> block)
Parameters
blockScopeBlock<TInstruction>The block.