C# Class 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.
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
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

Method Details

ASTDirective() public method

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

ASTDirective() public method

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

Init() public method

public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
return Object

Render() public method

public Render ( IInternalContextAdapter context, TextWriter writer ) : bool
context IInternalContextAdapter
writer TextWriter
return bool