|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
NVelocity.Runtime.Parser.Node
Class ASTEQNode
Constructor Summary |
ASTEQNode(int id) |
ASTEQNode(NVelocity.Runtime.Parser.Parser p, int id) |
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 |
ASTEQNode
public ASTEQNode(int id)
-
ASTEQNode
public ASTEQNode(NVelocity.Runtime.Parser.Parser p,
int id)
-
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. *
|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |