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
Datei anzeigen Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method 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 method

public ASTOrNode ( Parser p, int id ) : System
p Parser
id int
return System

ASTOrNode() public method

public ASTOrNode ( int id ) : System
id int
return System

Accept() public method

Accept the visitor. *
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
return Object

Evaluate() public method

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
return bool

Value() public method

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
return Object