C# Class NVelocity.Runtime.Visitor.VMReferenceMungeVisitor

This class is a visitor used by the VM proxy to change the literal representation of a reference in a VM. The reason is to preserve the 'render literal if null' behavior w/o making the VMProxy stuff more complicated than it is already.
Inheritance: BaseVisitor
Datei anzeigen Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Public Methods

Method Description
VMReferenceMungeVisitor ( Hashtable map ) : System

CTOR - takes a map of args to reference

Visit ( ASTReference node, Object data ) : Object

Visitor method - if the literal is right, will set the literal in the ASTReference node

Method Details

VMReferenceMungeVisitor() public method

CTOR - takes a map of args to reference
public VMReferenceMungeVisitor ( Hashtable map ) : System
map System.Collections.Hashtable
return System

Visit() public method

Visitor method - if the literal is right, will set the literal in the ASTReference node
public Visit ( ASTReference node, Object data ) : Object
node NVelocity.Runtime.Parser.Node.ASTReference ASTReference to work on
data Object Object to pass down from caller
return Object