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
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ASTDirective ( Parser p, int id ) : System
p Parser
id int
Résultat System

ASTDirective() public méthode

public ASTDirective ( int id ) : System
id int
Résultat System

Accept() public méthode

Accept the visitor.
public Accept ( IParserVisitor visitor, Object data ) : Object
visitor IParserVisitor
data Object
Résultat Object

Init() public méthode

public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
Résultat Object

Render() public méthode

public Render ( IInternalContextAdapter context, TextWriter writer ) : bool
context IInternalContextAdapter
writer TextWriter
Résultat bool