org.eclipse.internal.xtend.expression.ast
Class IfExpression
java.lang.Object
org.eclipse.internal.xtend.expression.ast.SyntaxElement
org.eclipse.internal.xtend.expression.ast.Expression
org.eclipse.internal.xtend.expression.ast.IfExpression
- All Implemented Interfaces:
- ISyntaxElement, Analyzable, Evaluatable
public class IfExpression
- extends Expression
- Author:
- Sven Efftinge (http://www.efftinge.de), Arno Haase, Bernd Kolb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IfExpression
public IfExpression(Expression condition,
Expression thenPart,
Expression elsePart)
getCondition
public Expression getCondition()
getElsePart
public Expression getElsePart()
getThenPart
public Expression getThenPart()
evaluateInternal
public java.lang.Object evaluateInternal(ExecutionContext ctx)
- Specified by:
evaluateInternal
in class Expression
analyzeInternal
public Type analyzeInternal(ExecutionContext ctx,
java.util.Set<AnalysationIssue> issues)
- Specified by:
analyzeInternal
in class Expression
toStringInternal
protected java.lang.String toStringInternal()
- Specified by:
toStringInternal
in class Expression