C# 클래스 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.
상속: NVelocity.Runtime.Parser.Node.SimpleNode
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

ASTAddNode() 공개 메소드

public ASTAddNode ( Parser p, int id ) : System
p Parser
id int
리턴 System

ASTAddNode() 공개 메소드

public ASTAddNode ( int id ) : System
id int
리턴 System

Accept() 공개 메소드

Accept the visitor.
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
리턴 Object

Value() 공개 메소드

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