NVelocity.Runtime.Parser.Node
Class ASTSetDirective

Node for the #set directive *

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

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

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)
         simple init. We can get the RHS and LHS as the the tree structure is static
object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
        Accept the visitor. *
bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer)
         puts the value of the RHS into the context under the key of the LHS

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

ASTSetDirective

public ASTSetDirective(int id)


ASTSetDirective

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

Method Detail

init

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

simple init. We can get the RHS and LHS as the the tree structure is static


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)

puts the value of the RHS into the context under the key of the LHS