接口 TableSwitchGenerator


public interface TableSwitchGenerator
A code generator for switch statements.
作者:
Juozas Baliuka, Chris Nokleberg, Eric Bruneton
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    generateCase(int key, Label end)
    Generates the code for a switch case.
    void
    Generates the code for the default switch case.
  • 方法详细资料

    • generateCase

      void generateCase(int key, Label end)
      Generates the code for a switch case.
      参数:
      key - the switch case key.
      end - a label that corresponds to the end of the switch statement.
    • generateDefault

      void generateDefault()
      Generates the code for the default switch case.