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, getSetterClassisConstant, isNodeConstant, toSetSourceString, toStringdump, evaluateGetValueBody, evaluateSetValueBody, flattenTree, getAccessor, getIndexInParent, getNextSibling, getValue, isNodeSimpleProperty, isSimpleNavigationChain, isSimpleProperty, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastChild, setAccessor, setValue, setValueBody, toStringpublic ASTAdd(int id)
public ASTAdd(OgnlParser p, int id)
public void jjtClose()
NodejjtClose in interface NodejjtClose in class SimpleNodeprotected java.lang.Object getValueBody(OgnlContext context, java.lang.Object source) throws OgnlException
SimpleNodegetValueBody in class SimpleNodeOgnlExceptionpublic java.lang.String getExpressionOperator(int index)
getExpressionOperator in class ExpressionNodepublic java.lang.String toGetSourceString(OgnlContext context, java.lang.Object target)
JavaSourceExpressionAccessor.get(OgnlContext, Object) calls.toGetSourceString in interface JavaSourcetoGetSourceString in class NumericExpression