NVelocity.Runtime.Visitor
Class 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.

Fields inherited from class NVelocity.Runtime.Visitor.BaseVisitor
context, writer

Constructor Summary
VMReferenceMungeVisitor(System.Collections.Hashtable map)
         CTOR - takes a map of args to reference

Properties inherited from class NVelocity.Runtime.Visitor.BaseVisitor
Context, Writer

Method Summary
object visit(NVelocity.Runtime.Parser.Node.ASTReference node, object data)
         Visitor method - if the literal is right, will set the literal in the ASTReference node

Methods inherited from class NVelocity.Runtime.Visitor.BaseVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

VMReferenceMungeVisitor

public VMReferenceMungeVisitor(System.Collections.Hashtable map)

CTOR - takes a map of args to reference

Method Detail

visit

public object visit(NVelocity.Runtime.Parser.Node.ASTReference node,
                    object data)

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

Parameters:
node - ASTReference to work on
data - Object to pass down from caller