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

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

Private Properties

Property Type Description

Public Methods

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

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

ASTSetDirective() public method

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

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
return Object

Render() public method

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
return bool