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 java.lang.Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected java.lang.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.
|
java.util.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 java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expression
accept
in class Expression
E
E extends java.lang.Throwable
protected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace)
Expression
basicInterpret
in class Expression
public ASTNode getNameRange()
public java.util.List<ASTNode> getTypeParameterRanges()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.