Package icyllis.arc3d.compiler.tree
Class ForStatement
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Statement
icyllis.arc3d.compiler.tree.ForStatement
for (init; condition; step)
loop-statement
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionForStatement(int position, Statement init, Expression condition, Expression step, Statement statement) -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Statementconvert(@NonNull Context context, int pos, Statement init, Expression cond, Expression step, Statement statement) getInit()getKind()getStep()static Statementmake(int pos, Statement init, Expression cond, Expression step, Statement statement) voidsetCondition(Expression condition) voidvoidsetStatement(Statement statement) voidsetStep(Expression step) @NonNull StringtoString()Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Constructor Details
-
ForStatement
public ForStatement(int position, Statement init, Expression condition, Expression step, Statement statement)
-
-
Method Details
-
convert
public static @Nullable Statement convert(@NonNull Context context, int pos, Statement init, Expression cond, Expression step, Statement statement) -
make
public static Statement make(int pos, Statement init, Expression cond, Expression step, Statement statement) -
getKind
-
getInit
-
setInit
-
getCondition
-
setCondition
-
getStep
-
setStep
-
getStatement
-
setStatement
-
toString
-