public final class FunctionCallExpression extends Expression
| Constructor and Description |
|---|
FunctionCallExpression(ASTInfo info,
Type returnType,
FunctionExpression functionExpression,
java.util.List<Expression> arguments)
Creates new instance of
FunctionCallExpression. |
| 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.
|
protected java.lang.Object |
executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
java.util.List<Expression> |
getArgs()
Returns unmodifiable list of arguments.
|
ASTNode |
getArgsSelectorCommaRange(int index) |
ASTNode |
getArgsSelectorRange() |
FunctionExpression |
getFunctionExpression()
Returns the closureExpression.
|
FunctionSignature |
getSignature()
Returns the function signature.
|
ASTNode |
getStaticMethodTypeRange()
If this is a static method call, this method returns the range of the record type name.
|
boolean |
isExtensionMethodCall() |
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, 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 FunctionCallExpression(ASTInfo info, Type returnType, FunctionExpression functionExpression, java.util.List<Expression> arguments)
FunctionCallExpression.info - returnType - functionExpression - arguments - java.lang.NullPointerException - if arguments or closureExpression is nulljava.lang.IllegalArgumentException - if arguments contain null elementpublic java.util.List<Expression> getArgs()
public FunctionExpression getFunctionExpression()
public FunctionSignature getSignature()
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 ExpressionErrorExceptionpublic ASTNode getStaticMethodTypeRange()
public boolean isExtensionMethodCall()
public ASTNode getArgsSelectorRange()
public ASTNode getArgsSelectorCommaRange(int index)
protected java.lang.Object executeCompiled(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
executeCompiled in class ExpressionErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.