C# 클래스 NVelocity.Runtime.Parser.Node.ASTDirective

This class is responsible for handling the pluggable directives in VTL. ex. #foreach() 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 사용 예제들

공개 메소드들

메소드 설명
ASTDirective ( Parser p, int id ) : System
ASTDirective ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor.

Init ( IInternalContextAdapter context, Object data ) : Object
Render ( IInternalContextAdapter context, TextWriter writer ) : bool

메소드 상세

ASTDirective() 공개 메소드

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

ASTDirective() 공개 메소드

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

Accept() 공개 메소드

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

Init() 공개 메소드

public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
리턴 Object

Render() 공개 메소드

public Render ( IInternalContextAdapter context, TextWriter writer ) : bool
context IInternalContextAdapter
writer TextWriter
리턴 bool