public class ASTJexlScript extends JexlNode
JexlNode.Literal<T>
children, id, parent, value
Constructor | Description |
---|---|
ASTJexlScript(int id) |
|
ASTJexlScript(Parser p,
int id) |
Modifier and Type | Method | Description |
---|---|---|
JexlEngine.Frame |
createFrame(java.lang.Object... values) |
Creates an array of arguments by copying values up to the number of parameters.
|
int |
getArgCount() |
Gets the (maximum) number of arguments this script expects.
|
java.lang.String[] |
getLocalVariables() |
Gets this script local variable, i.e.
|
java.lang.String[] |
getParameters() |
Gets this script parameters, i.e.
|
java.lang.String[] |
getRegisters() |
Gets this script registers, i.e.
|
JexlEngine.Scope |
getScope() |
Gets this script scope.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
void |
setScope(JexlEngine.Scope theScope) |
Sets the parameters and registers
|
debugInfo, debugString, isConstant, isConstant
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
childrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public ASTJexlScript(int id)
public ASTJexlScript(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
SimpleNode
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
visitor
- the visitordata
- contextual datapublic void setScope(JexlEngine.Scope theScope)
theScope
- the scopepublic JexlEngine.Scope getScope()
public JexlEngine.Frame createFrame(java.lang.Object... values)
values
- the argument valuespublic int getArgCount()
public java.lang.String[] getRegisters()
public java.lang.String[] getParameters()
public java.lang.String[] getLocalVariables()