public final class IfnullExpression extends Expression
Constructor and Description |
---|
IfnullExpression(ASTInfo info,
Expression expression,
Expression altExpression,
Type returnType)
Constructs a new ifnull expression.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends java.lang.Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected java.lang.Object |
basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
Expression |
getAltExpression()
Returns the alternative expression.
|
Expression |
getExpression()
Returns the main expression.
|
java.util.List<Expression> |
getResultExpressions()
Returns the result expression.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, requiresNewNamespace, setCompiled, showInFullText, showInSurroundingText, showInText, toExpressions
getFullText, getLine, getNodeText, getText, toString
contains, getBeginIndex, getEndIndex, getLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFullText, getLine, getNodeText, getText
contains, getBeginIndex, getEndIndex, getLength
public IfnullExpression(ASTInfo info, Expression expression, Expression altExpression, Type returnType)
info
- expression
- altExpression
- returnType
- public Expression getExpression()
public Expression getAltExpression()
public <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expression
accept
in class Expression
E
E extends java.lang.Throwable
protected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
Expression
basicInterpret
in class Expression
ErrorException
public java.util.List<Expression> getResultExpressions()
Expression
getResultExpressions
in class Expression
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.