public final class ChainedExpression extends Expression
| Constructor and Description |
|---|
ChainedExpression(ASTInfo info,
List<Expression> expressions,
Type returnType) |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected Object |
basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
List<Expression> |
getExpressions()
Returns the list of child expressions.
|
Expression |
getLastExpression()
Returns the last expression.
|
Expression |
getResultExpression()
Returns the result expression.
|
List<Expression> |
getResultExpressions()
Returns the result expression.
|
boolean |
requiresNewNamespace() |
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, setCompiled, showInFullText, showInSurroundingText, showInText, toExpressionsgetFullText, getLine, getNodeText, getText, toStringcontains, getBeginIndex, getEndIndex, getLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFullText, getLine, getNodeText, getTextcontains, getBeginIndex, getEndIndex, getLengthpublic ChainedExpression(ASTInfo info, List<Expression> expressions, Type returnType)
info - expressions - returnType - public boolean requiresNewNamespace()
requiresNewNamespace in class Expressiontrue if the interpretation requires a new namespacepublic List<Expression> getExpressions()
public <T,E extends Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends Throwable
Expressionaccept in class ExpressionEE extends Throwableprotected Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
ExpressionbasicInterpret in class ExpressionErrorExceptionpublic Expression getLastExpression()
public Expression getResultExpression()
Expressionthis.getResultExpression in class Expressionthis)public List<Expression> getResultExpressions()
ExpressiongetResultExpressions in class ExpressionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.