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

ASTIdentifier.java * Method support for identifiers : $foo * mainly used by ASTRefrence * Introspection is now moved to 'just in time' or at render / execution time. There are many reasons why this has to be done, but the primary two are thread safety, to remove any context-derived information from class member variables. *
Inheritance: NVelocity.Runtime.Parser.Node.SimpleNode
Show file Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Protected Properties

Property Type Description
uberInfo Info

Public Methods

Method Description
ASTIdentifier ( Parser p, int id ) : System
ASTIdentifier ( int id ) : System
Accept ( IParserVisitor visitor, Object data ) : Object

Accept the visitor.

Execute ( Object o, IInternalContextAdapter context ) : Object

invokes the method on the object passed in

Init ( IInternalContextAdapter context, Object data ) : Object

simple init - don't do anything that is context specific. just get what we need from the AST, which is static.

Private Methods

Method Description
EscapeDoubleQuote ( string content ) : string
EscapeSingleQuote ( string content ) : string

Method Details

ASTIdentifier() public method

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

ASTIdentifier() public method

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

Execute() public method

invokes the method on the object passed in
public Execute ( Object o, IInternalContextAdapter context ) : Object
o Object
context IInternalContextAdapter
return Object

Init() public method

simple init - don't do anything that is context specific. just get what we need from the AST, which is static.
public Init ( IInternalContextAdapter context, Object data ) : Object
context IInternalContextAdapter
data Object
return Object

Property Details

uberInfo protected property

protected Info uberInfo
return Info