接口 IGoto

所有已知实现类:
BlockStatement, BlockStatementOptimal, ForStatement, GeneralForStatement, WhileStatement

public interface IGoto
用于语句块声明中的流程控制
作者:
xiandafu
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final short
    break
    static final short
    continue
    static final short
    正常逻辑
    static final short
    return
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    是否存在 goto 关键字
    void
    setGoto(boolean occur)
    设置是否存在 goto 关键字
  • 字段详细资料

  • 方法详细资料

    • hasGoto

      boolean hasGoto()
      是否存在 goto 关键字
      返回:
      true表示存在,false表示不存在
    • setGoto

      void setGoto(boolean occur)
      设置是否存在 goto 关键字
      参数:
      occur - 是否存在 goto 关键字