public final class RuntimeCall extends java.lang.Object implements ExpressionNode
RuntimeCall is a special expression which provides access to utility functions from the runtime.| Constructor and Description |
|---|
RuntimeCall(java.lang.String functionName,
ExpressionNode... arguments)
Creates a
RuntimeCall based on a functionName and an array of arguments. |
RuntimeCall(java.lang.String functionName,
java.util.List<ExpressionNode> arguments)
Creates a
RuntimeCall based on a functionName and a list of arguments. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> visitor)
Accept a visitor to process this node.
|
java.util.List<ExpressionNode> |
getArguments()
Get the nodes of the argument calls.
|
java.lang.String |
getFunctionName()
Get the name of the runtime call.
|
public RuntimeCall(java.lang.String functionName,
ExpressionNode... arguments)
RuntimeCall based on a functionName and an array of arguments.functionName - the name of the function identifying the runtime callarguments - the arguments passed to the runtime callpublic RuntimeCall(java.lang.String functionName,
java.util.List<ExpressionNode> arguments)
RuntimeCall based on a functionName and a list of arguments.functionName - the name of the function identifying the runtime callarguments - the arguments passed to the runtime callpublic java.lang.String getFunctionName()
public java.util.List<ExpressionNode> getArguments()
public <T> T accept(NodeVisitor<T> visitor)
ExpressionNodeaccept in interface ExpressionNodeT - the type of the visitorvisitor - The visitorCopyright © 2018 The Apache Software Foundation. All rights reserved.