类 ForStatement

所有已实现的接口:
Serializable, IGoto

public class ForStatement extends Statement implements IGoto
for(user:list){}elsefor{}
作者:
xiandafu
另请参阅:
  • 字段详细资料

    • idNode

      public Expression idNode
    • exp

      public Expression exp
    • forPart

      public Statement forPart
    • elseforPart

      public Statement elseforPart
    • hasGoto

      public boolean hasGoto
    • hasSafe

      public boolean hasSafe
  • 构造器详细资料

  • 方法详细资料

    • execute

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

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

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