|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Please look at the Parser.jjt file which is what controls the generation of this class. *
Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode |
---|
children, first, id, info, invalid, last, parent, parser, rsvc, state |
Constructor Summary | |
---|---|
ASTOrNode(int id) | |
ASTOrNode(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) the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right |
object |
jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) Accept the visitor. * |
object |
value_Renamed(NVelocity.Context.InternalContextAdapter context) Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that. |
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 |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public ASTOrNode(int id)
public ASTOrNode(NVelocity.Runtime.Parser.Parser p, int id)
Method Detail |
---|
public bool evaluate(NVelocity.Context.InternalContextAdapter context)
the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
Accept the visitor. *
public object value_Renamed(NVelocity.Context.InternalContextAdapter context)
Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |