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

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
ASTAndNode ( Parser p, int id ) : System
ASTAndNode ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor.

Evaluate ( IInternalContextAdapter context ) : bool

logical and : null && right = false left && null = false null && null = false

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

ASTAndNode() public méthode

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

ASTAndNode() public méthode

public ASTAndNode ( 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

logical and : null && right = false left && null = false null && null = false
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