类 BlockStatement

所有已实现的接口:
Serializable, IGoto
直接已知子类:
BlockStatementOptimal

public class BlockStatement extends Statement implements IGoto
{ statement1;statement2 }
作者:
xiandafu
另请参阅:
  • 字段详细资料

    • nodes

      public Statement[] nodes
    • hasGoto

      protected boolean hasGoto
  • 构造器详细资料

  • 方法详细资料

    • execute

      public void execute(Context ctx)
      指定者:
      execute 在类中 Statement
    • hasGoto

      public boolean hasGoto()
      从接口复制的说明: IGoto
      是否存在 goto 关键字
      指定者:
      hasGoto 在接口中 IGoto
      返回:
      true表示存在,false表示不存在
    • setGoto

      public void setGoto(boolean occour)
      从接口复制的说明: IGoto
      设置是否存在 goto 关键字
      指定者:
      setGoto 在接口中 IGoto
      参数:
      occour - 是否存在 goto 关键字