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

Node for the #set directive
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ASTSetDirective ( Parser p, int id ) : System
ASTSetDirective ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor. *

Init ( IInternalContextAdapter context, Object data ) : Object

simple init. We can get the RHS and LHS as the the tree structure is static

Render ( IInternalContextAdapter context, TextWriter writer ) : bool

puts the value of the RHS into the context under the key of the LHS

Method Details

ASTSetDirective() public méthode

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

ASTSetDirective() public méthode

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

simple init. We can get the RHS and LHS as the the tree structure is static
public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
Résultat Object

Render() public méthode

puts the value of the RHS into the context under the key of the LHS
public Render ( IInternalContextAdapter context, TextWriter writer ) : bool
context IInternalContextAdapter
writer System.IO.TextWriter
Résultat bool