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

Handles integer addition of nodes Please look at the Parser.jjt file which is what controls the generation of this class.
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Exibir arquivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ASTAddNode ( Parser p, int id ) : System
ASTAddNode ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor.

Value ( IInternalContextAdapter context ) : Object

Computes the sum of the two nodes. Currently only integer operations are supported.

Method Details

ASTAddNode() public method

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

ASTAddNode() public method

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

Value() public method

Computes the sum of the two nodes. Currently only integer operations are supported.
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
return Object