public final class FunctionCallWithNamedArgs extends Expression
myfunction(amount -> 100)
.Constructor and Description |
---|
FunctionCallWithNamedArgs(ASTInfo info,
Type returnType,
FunctionExpression function,
java.util.Map<java.lang.String,Expression> argMap)
Creates new instance of
FunctionCallWithNamedArgs . |
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.
|
java.util.Map<java.lang.String,Expression> |
getArgMap()
Returns unmodifiable map of arguments.
|
java.util.Map<java.lang.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, 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 FunctionCallWithNamedArgs(ASTInfo info, Type returnType, FunctionExpression function, java.util.Map<java.lang.String,Expression> argMap)
FunctionCallWithNamedArgs
.info
- returnType
- function
- argMap
- public java.util.Map<java.lang.String,Expression> getArgMap()
public FunctionExpression getFunctionExpression()
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) throws ErrorException
Expression
basicInterpret
in class Expression
ErrorException
public java.util.Map<java.lang.String,ASTRange> getArgRanges()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.