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
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ASTAddNode() public méthode

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

Value() public méthode

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