ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ForStmt() |
ForStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
List<Expression> init,
Expression compare,
List<Expression> update,
Statement body)
Deprecated.
prefer using Range objects.
|
ForStmt(List<Expression> init,
Expression compare,
List<Expression> update,
Statement body) |
ForStmt(Range range,
List<Expression> init,
Expression compare,
List<Expression> update,
Statement body) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Statement |
getBody() |
Expression |
getCompare() |
List<Expression> |
getInit() |
List<Expression> |
getUpdate() |
void |
setBody(Statement body) |
void |
setCompare(Expression compare) |
void |
setInit(List<Expression> init) |
void |
setUpdate(List<Expression> update) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutComments
public ForStmt()
public ForStmt(List<Expression> init, Expression compare, List<Expression> update, Statement body)
@Deprecated public ForStmt(int beginLine, int beginColumn, int endLine, int endColumn, List<Expression> init, Expression compare, List<Expression> update, Statement body)
public ForStmt(Range range, List<Expression> init, Expression compare, List<Expression> update, Statement body)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Statement getBody()
public Expression getCompare()
public List<Expression> getInit()
public List<Expression> getUpdate()
public void setBody(Statement body)
public void setCompare(Expression compare)
public void setInit(List<Expression> init)
public void setUpdate(List<Expression> update)
Copyright © 2007–2016. All rights reserved.