class ASTAdd extends NumericExpression
_getterClass
_children, _id, _parent, _parser
Constructor and Description |
---|
ASTAdd(int id) |
ASTAdd(OgnlParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpressionOperator(int index) |
protected java.lang.Object |
getValueBody(OgnlContext context,
java.lang.Object source)
Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.
|
(package private) boolean |
isWider(NodeType type,
NodeType lastType) |
void |
jjtClose()
This method is called after all the child nodes have been
added.
|
java.lang.String |
toGetSourceString(OgnlContext context,
java.lang.Object target)
Expected to return a java source representation of itself such that
it could be turned into a literal java expression to be compiled and
executed for
ExpressionAccessor.get(OgnlContext, Object) calls. |
coerceToNumeric, getGetterClass, getSetterClass
isConstant, isNodeConstant, toSetSourceString, toString
dump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, isNodeSimpleProperty, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toString
public ASTAdd(int id)
public ASTAdd(OgnlParser p, int id)
public void jjtClose()
Node
jjtClose
in interface Node
jjtClose
in class SimpleNode
protected java.lang.Object getValueBody(OgnlContext context, java.lang.Object source) throws OgnlException
SimpleNode
getValueBody
in class SimpleNode
OgnlException
public java.lang.String getExpressionOperator(int index)
getExpressionOperator
in class ExpressionNode
public java.lang.String toGetSourceString(OgnlContext context, java.lang.Object target)
JavaSource
ExpressionAccessor.get(OgnlContext, Object)
calls.toGetSourceString
in interface JavaSource
toGetSourceString
in class NumericExpression