JexlNode.Literal<T>
children, id, parent, value
Constructor and Description |
---|
ASTJexlScript(int id) |
ASTJexlScript(org.apache.commons.jexl2.parser.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(org.apache.commons.jexl2.parser.ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
void |
setScope(JexlEngine.Scope theScope)
Sets the parameters and registers
|
debugInfo, debugString, isConstant, isConstant
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public ASTJexlScript(int id)
public ASTJexlScript(org.apache.commons.jexl2.parser.Parser p, int id)
public java.lang.Object jjtAccept(org.apache.commons.jexl2.parser.ParserVisitor visitor, java.lang.Object data)
SimpleNode
jjtAccept
in interface org.apache.commons.jexl2.parser.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()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.