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.
|
Operation<?> |
getOperation()
Returns the operation.
|
ClosureType |
getType()
Returns the return type.
|
List<ASTRange> |
getTypeParameterRanges() |
createANTLRParser, doInterpret, evalCondition, evaluate, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, 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 Operation<?> getOperation()
getOperation
in class SignatureExpression
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
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.