NVelocity.Runtime.Parser.Node
Class ASTEQNode

Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
children, first, id, info, invalid, last, parent, parser, rsvc, state

Constructor Summary
ASTEQNode(int id)
ASTEQNode(NVelocity.Runtime.Parser.Parser p, int id)

Properties inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
Column, FirstToken, Info, LastToken, Line, Type

Method Summary
bool evaluate(NVelocity.Context.InternalContextAdapter context)
         Calculates the value of the logical expression * arg1 == arg2 * All class types are supported. Uses equals() to determine equivalence. This should work as we represent with the types we already support, and anything else that implements equals() to mean more than identical references. * *
object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
        Accept the visitor. *

Methods inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
childrenAccept, dump, execute, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, render, setInvalid, toString, value_Renamed

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

ASTEQNode

public ASTEQNode(int id)


ASTEQNode

public ASTEQNode(NVelocity.Runtime.Parser.Parser p,
                 int id)

Method Detail

evaluate

public bool evaluate(NVelocity.Context.InternalContextAdapter context)

Calculates the value of the logical expression * arg1 == arg2 * All class types are supported. Uses equals() to determine equivalence. This should work as we represent with the types we already support, and anything else that implements equals() to mean more than identical references. * *

Parameters:
context - internal context used to evaluate the LHS and RHS
Returns:
true if equivalent, false if not equivalent, false if not compatible arguments, or false if either LHS or RHS is null

jjtAccept

public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor,
                        object data)

Accept the visitor. *