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

Handles integer division of nodes * Please look at the Parser.jjt file which is what controls the generation of this class. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Show file Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Public Methods

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

Accept the visitor.

Value ( IInternalContextAdapter context ) : Object

Computes the result of the division. Currently limited to Integers.

Method Details

ASTDivNode() public method

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

ASTDivNode() public method

public ASTDivNode ( 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 result of the division. Currently limited to Integers.
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
return Object