public class ASTAndNode extends SimpleNode
| Constructor and Description |
|---|
ASTAndNode(int id) |
ASTAndNode(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(InternalContextAdapter context)
logical and :
null && right = false
left && null = false
null && null = false
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
java.lang.Object |
value(InternalContextAdapter context)
Returns the value of the expression.
|
childrenAccept, dump, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toStringpublic ASTAndNode(int id)
public ASTAndNode(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic java.lang.Object value(InternalContextAdapter context) throws MethodInvocationException
value in interface Nodevalue in class SimpleNodeMethodInvocationExceptionpublic boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
evaluate in interface Nodeevaluate in class SimpleNodeMethodInvocationExceptionCopyright ? 2002 Apache Software Foundation. All Rights Reserved.