|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.expression.ast.SyntaxElement
org.openarchitectureware.xpand2.ast.Statement
org.openarchitectureware.xpand2.ast.StatementWithBody
org.openarchitectureware.xpand2.ast.IfStatement
public class IfStatement
*
Field Summary |
---|
Fields inherited from class org.openarchitectureware.xpand2.ast.StatementWithBody |
---|
body |
Fields inherited from class org.openarchitectureware.xpand2.ast.Statement |
---|
containingDefinition |
Fields inherited from class org.openarchitectureware.expression.ast.SyntaxElement |
---|
end, line, start |
Constructor Summary | |
---|---|
IfStatement(Expression condition,
Statement[] body)
|
Method Summary | |
---|---|
void |
analyzeInternal(XpandExecutionContext ctx,
java.util.Set<AnalysationIssue> issues)
|
void |
evaluateInternal(XpandExecutionContext ctx)
|
Expression |
getCondition()
|
IfStatement |
getElseIf()
|
boolean |
isElse()
|
boolean |
isElseIf()
|
void |
setElseIf(IfStatement elseIf)
|
Methods inherited from class org.openarchitectureware.xpand2.ast.StatementWithBody |
---|
getBody, getBodyAsList, setContainingDefinition |
Methods inherited from class org.openarchitectureware.xpand2.ast.Statement |
---|
analyze, evaluate, getContainingDefinition |
Methods inherited from class org.openarchitectureware.expression.ast.SyntaxElement |
---|
accept, getEnd, getFileName, getLine, getNameString, getStart, setEnd, setFileName, setLine, setStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfStatement(Expression condition, Statement[] body)
Method Detail |
---|
public Expression getCondition()
public IfStatement getElseIf()
public void setElseIf(IfStatement elseIf)
public boolean isElseIf()
public boolean isElse()
public void analyzeInternal(XpandExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
analyzeInternal
in class Statement
public void evaluateInternal(XpandExecutionContext ctx)
evaluateInternal
in class Statement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |