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() |
getOperation
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, 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 FunctionExpression(ASTInfo info, ClosureType returnType, FunctionSignature functionSignature)
FunctionExpression
.info
- returnType
- functionSignature
- public ClosureType getType()
Expression
getType
in class Expression
public FunctionSignature getFunctionSignature()
getFunctionSignature
in class SignatureExpression
public <T,E extends Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends Throwable
Expression
accept
in class Expression
E
E extends Throwable
protected Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace)
Expression
basicInterpret
in class Expression
public ASTNode getNameRange()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.