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

Handles integer multiplication Please look at the Parser.jjt file which is what controls the generation of this class.
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
显示文件 Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Public Methods

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

Accept the visitor. *

Value ( IInternalContextAdapter context ) : Object

Computes the product of the two args. Returns null if either arg is null or if either arg is not an integer

Method Details

ASTMulNode() public method

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

ASTMulNode() public method

public ASTMulNode ( 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 product of the two args. Returns null if either arg is null or if either arg is not an integer
public Value ( IInternalContextAdapter context ) : Object
context IInternalContextAdapter
return Object