ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
IfStmt() |
IfStmt(Expression condition,
Statement thenStmt,
Statement elseStmt) |
IfStmt(Range range,
Expression condition,
Statement thenStmt,
Statement elseStmt) |
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.
|
Expression |
getCondition() |
Statement |
getElseStmt() |
Statement |
getThenStmt() |
void |
setCondition(Expression condition) |
void |
setElseStmt(Statement elseStmt) |
void |
setThenStmt(Statement thenStmt) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getData, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setData, setEnd, setLineComment, setParentNode, setRange, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public IfStmt()
public IfStmt(Expression condition, Statement thenStmt, Statement elseStmt)
public IfStmt(Range range, Expression condition, Statement thenStmt, Statement elseStmt)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getCondition()
public Statement getElseStmt()
public Statement getThenStmt()
public void setCondition(Expression condition)
public void setElseStmt(Statement elseStmt)
public void setThenStmt(Statement thenStmt)
Copyright © 2007–2016. All rights reserved.