NVelocity.Runtime.Parser.Node
Class ASTDirective

This class is responsible for handling the pluggable directives in VTL. ex. #foreach() Please look at the Parser.jjt file which is what controls the generation of this class.

Fields inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
children, first, id, info, invalid, last, parent, parser, rsvc, state

Constructor Summary
ASTDirective(int id)
ASTDirective(NVelocity.Runtime.Parser.Parser p, int id)

Property Summary
string DirectiveName

Properties inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
Column, FirstToken, Info, LastToken, Line, Type

Method Summary
object init(NVelocity.Context.InternalContextAdapter context, object data)
object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
        Accept the visitor. *
bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer)

Methods inherited from class NVelocity.Runtime.Parser.Node.SimpleNode
childrenAccept, dump, evaluate, execute, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setInvalid, toString, value_Renamed

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


Constructor Detail

ASTDirective

public ASTDirective(int id)


ASTDirective

public ASTDirective(NVelocity.Runtime.Parser.Parser p,
                    int id)

Property Detail

DirectiveName

public string DirectiveName

Method Detail

init

public object init(NVelocity.Context.InternalContextAdapter context,
                   object data)


jjtAccept

public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor,
                        object data)

Accept the visitor. *


render

public bool render(NVelocity.Context.InternalContextAdapter context,
                   System.IO.TextWriter writer)