Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTAndNode
public class ASTAndNode
extends SimpleNode
Field Summary |
Fields inherited from class org.apache.velocity.runtime.parser.node.SimpleNode | |
children , first , id , info , invalid , last , parent , parser , rsvc , state |
Constructor Summary | |
| |
|
Method Summary | |
boolean |
|
Object |
|
Object |
|
Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode | |
childrenAccept , dump , evaluate , execute , getColumn , getFirstToken , getInfo , getLastToken , getLine , getType , init , isInvalid , jjtAccept , jjtAddChild , jjtClose , jjtGetChild , jjtGetNumChildren , jjtGetParent , jjtOpen , jjtSetParent , literal , render , setFirstToken , setInfo , setInvalid , toString , value |
public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
logical and : null && right = false left && null = false null && null = false
- Overrides:
- evaluate in interface SimpleNode
public Object jjtAccept(ParserVisitor visitor, Object data)
Accept the visitor. *
- Overrides:
- jjtAccept in interface SimpleNode
public Object value(InternalContextAdapter context) throws MethodInvocationException
Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.
- Overrides:
- value in interface SimpleNode