类 WhileStatement

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

public class WhileStatement extends Statement implements IGoto
while(exp) whileBody
作者:
xiandafu
另请参阅:
  • 字段详细资料

    • exp

      public Expression exp
    • whileBody

      public Statement whileBody
    • hasGoto

      public 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 关键字