C# Class NVelocity.Runtime.Parser.Node.ASTOrNode

Please look at the Parser.jjt file which is what controls the generation of this class. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
ASTOrNode ( Parser p, int id ) : System
ASTOrNode ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor. *

Evaluate ( IInternalContextAdapter context ) : bool

the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right

Value ( IInternalContextAdapter context ) : Object

Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.

Method Details

ASTOrNode() public méthode

public ASTOrNode ( Parser p, int id ) : System
p Parser
id int
Résultat System

ASTOrNode() public méthode

public ASTOrNode ( int id ) : System
id int
Résultat System

Accept() public méthode

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
Résultat Object

Evaluate() public méthode

the logical or : the rule : left || null -> left null || right -> right null || null -> false left || right -> left || right
public Evaluate ( IInternalContextAdapter context ) : bool
context IInternalContextAdapter
Résultat bool

Value() public méthode

Returns the value of the expression. Since the value of the expression is simply the boolean result of evaluate(), lets return that.
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
Résultat Object