org.apache.velocity.runtime.parser.node
public class ASTEQNode extends SimpleNode
Constructor and Description |
---|
ASTEQNode(int id) |
ASTEQNode(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(InternalContextAdapter context)
Calculates the value of the logical expression
arg1 == arg2
All class types are supported.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
java.lang.Object |
value(InternalContextAdapter context) |
childrenAccept, dump, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setFirstToken, setInfo, setInvalid, toString
public ASTEQNode(int id)
public ASTEQNode(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
evaluate
in interface Node
evaluate
in class SimpleNode
context
- internal context used to evaluate the LHS and RHSMethodInvocationException
public java.lang.Object value(InternalContextAdapter context) throws MethodInvocationException
value
in interface Node
value
in class SimpleNode
MethodInvocationException
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.