JexlNode.Literal<T>| Modifier and Type | Field and Description |
|---|---|
private JexlEngine.Scope |
scope
The script scope.
|
children, id, parent, value| Constructor and Description |
|---|
ASTJexlScript(int id) |
ASTJexlScript(Parser p,
int id) |
| Modifier and Type | Method and 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, isConstantchildrenAccept, dump, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toStringprivate JexlEngine.Scope scope
public ASTJexlScript(int id)
public ASTJexlScript(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
SimpleNodejjtAccept in interface NodejjtAccept in class SimpleNodevisitor - 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()