public final class FunctionCallWithNamedArgs extends Expression
myfunction(amount -> 100).| Constructor and Description |
|---|
FunctionCallWithNamedArgs(ASTInfo info,
Type returnType,
FunctionExpression function,
Map<String,Expression> argMap)
Creates new instance of
FunctionCallWithNamedArgs. |
| 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.
|
Map<String,Expression> |
getArgMap()
Returns unmodifiable map of arguments.
|
Map<String,ASTRange> |
getArgRanges()
Returns the map of parameter name ranges.
|
FunctionExpression |
getFunctionExpression()
Returns the function expression.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, 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 FunctionCallWithNamedArgs(ASTInfo info, Type returnType, FunctionExpression function, Map<String,Expression> argMap)
FunctionCallWithNamedArgs.info - returnType - function - argMap - public Map<String,Expression> getArgMap()
public FunctionExpression getFunctionExpression()
public <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) throws ErrorException
ExpressionbasicInterpret in class ExpressionErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.