Modifier and Type | Field and Description |
---|---|
Statement |
body |
Expression |
condition |
List<DeclarationStatement> |
declarations |
Expression |
post |
nodeType, type
Constructor and Description |
---|
ForStatement(List<DeclarationStatement> declarations,
Expression condition,
Expression post,
Statement body) |
Modifier and Type | Method and Description |
---|---|
ForStatement |
accept(Visitor visitor) |
boolean |
equals(Object o) |
int |
hashCode() |
accept, evaluate, getNodeType, getType, toString
public final List<DeclarationStatement> declarations
public final Expression condition
public final Expression post
public final Statement body
public ForStatement(List<DeclarationStatement> declarations, Expression condition, Expression post, Statement body)
public ForStatement accept(Visitor visitor)
public boolean equals(Object o)
equals
in class AbstractNode
public int hashCode()
hashCode
in class AbstractNode
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.