public final class ClosureInvocationExpression extends Expression
| Constructor and Description |
|---|
ClosureInvocationExpression(ASTInfo info,
Type returnType,
Expression closureExpression,
java.util.List<Expression> arguments)
Creates new instance of
ClosureInvocationExpression. |
| 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.
|
java.util.List<Expression> |
getArgs()
Returns unmodifiable list of arguments.
|
Expression |
getClosureExpression()
Returns the closureExpression.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, requiresNewNamespace, 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 ClosureInvocationExpression(ASTInfo info, Type returnType, Expression closureExpression, java.util.List<Expression> arguments)
ClosureInvocationExpression.info - returnType - closureExpression - arguments - java.lang.NullPointerException - if arguments or closureExpression is nulljava.lang.IllegalArgumentException - if arguments contain null elementpublic java.util.List<Expression> getArgs()
public Expression getClosureExpression()
public <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expressionaccept in class ExpressionEE extends java.lang.Throwableprotected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
ExpressionbasicInterpret in class ExpressionErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.