public final class FunctionExpression extends SignatureExpression
| Constructor and Description |
|---|
FunctionExpression(ASTInfo info,
ClosureType returnType,
FunctionSignature functionSignature)
Creates new instance of
FunctionExpression. |
| 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.
|
FunctionSignature |
getFunctionSignature()
Returns the function signature.
|
ASTNode |
getNameRange()
Returns the range of the function or operator name.
|
ClosureType |
getType()
Returns the return type.
|
List<ASTNode> |
getTypeParameterRanges() |
getOperationcreateANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, 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 FunctionExpression(ASTInfo info, ClosureType returnType, FunctionSignature functionSignature)
FunctionExpression.info - returnType - functionSignature - public ClosureType getType()
ExpressiongetType in class Expressionpublic FunctionSignature getFunctionSignature()
getFunctionSignature in class SignatureExpressionpublic <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)
ExpressionbasicInterpret in class Expressionpublic ASTNode getNameRange()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.