Class GeneralForStatement

java.lang.Object
com.google.api.generator.engine.ast.GeneralForStatement
All Implemented Interfaces:
AstNode, Statement

public abstract class GeneralForStatement extends Object implements Statement
  • Constructor Details

    • GeneralForStatement

      public GeneralForStatement()
  • Method Details

    • initializationExpr

      public abstract Expr initializationExpr()
    • terminationExpr

      public abstract Expr terminationExpr()
    • updateExpr

      public abstract Expr updateExpr()
    • body

      public abstract com.google.common.collect.ImmutableList<Statement> body()
    • accept

      public void accept(AstNodeVisitor visitor)
      Description copied from interface: AstNode
      Writes the syntatically-correct Java code representation of this node.
      Specified by:
      accept in interface AstNode
      Specified by:
      accept in interface Statement
    • incrementWith

      public static GeneralForStatement incrementWith(VariableExpr localVariableExpr, ValueExpr initialValueExpr, Expr maxSizeExpr, List<Statement> body)