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
Afficher le fichier Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Méthodes publiques

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

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

Visit() public méthode

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
Résultat Object