本文整理汇总了C#中IInstructionVisitor类的典型用法代码示例。如果您正苦于以下问题:C# IInstructionVisitor类的具体用法?C# IInstructionVisitor怎么用?C# IInstructionVisitor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IInstructionVisitor类属于命名空间,在下文中一共展示了IInstructionVisitor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Dispatch
public static void Dispatch (Instruction instruction, IInstructionVisitor visitor)
{
switch (instruction.OpCode.Code) {
<%
for instr in Instructions:
for opcode in instr.OpCodes:
%> case Code.${opcode}:
示例2: DispatchRefanytype
static void DispatchRefanytype (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnRefanytype (instruction);
}
示例3: DispatchConv_Ovf_I1
static void DispatchConv_Ovf_I1 (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnConv_Ovf_I1 (instruction);
}
示例4: DispatchStelem_Any
static void DispatchStelem_Any (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnStelem_Any (instruction);
}
示例5: DispatchLdlen
static void DispatchLdlen (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnLdlen (instruction);
}
示例6: DispatchBox
static void DispatchBox (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnBox (instruction);
}
示例7: DispatchThrow
static void DispatchThrow (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnThrow (instruction);
}
示例8: DispatchIsinst
static void DispatchIsinst (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnIsinst (instruction);
}
示例9: DispatchStind_R8
static void DispatchStind_R8 (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnStind_R8 (instruction);
}
示例10: DispatchLdind_R4
static void DispatchLdind_R4 (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnLdind_R4 (instruction);
}
示例11: DispatchSwitch
static void DispatchSwitch (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnSwitch (instruction);
}
示例12: DispatchBrtrue
static void DispatchBrtrue (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnBrtrue (instruction);
}
示例13: DispatchJmp
static void DispatchJmp (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnJmp (instruction);
}
示例14: DispatchLdc_I4_8
static void DispatchLdc_I4_8 (IInstructionVisitor visitor, Instruction instruction)
{
visitor.OnLdc_I4_8 (instruction);
}
示例15: Dispatch
public static void Dispatch (Instruction instruction, IInstructionVisitor visitor)
{
InstructionVisitorDelegate handler = (InstructionVisitorDelegate)_handlers[instruction.OpCode.Value];
if (null == handler) throw new ArgumentException (Formatter.FormatInstruction (instruction), "instruction");
handler (visitor, instruction);
}