|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
All AST nodes must implement this interface. It provides basic machinery for constructing the parent and child relationships between nodes.
Property Summary | |
---|---|
int | Column |
NVelocity.Runtime.Parser.Token | FirstToken |
int | Info |
NVelocity.Runtime.Parser.Token | LastToken |
int | Line |
int | Type |
Method Summary | |
---|---|
object | childrenAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) |
bool | evaluate(NVelocity.Context.InternalContextAdapter context) |
object | execute(object o, NVelocity.Context.InternalContextAdapter context) |
object | init(NVelocity.Context.InternalContextAdapter context, object data) |
bool | isInvalid() |
object |
jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data) Accept the visitor. * |
void |
jjtAddChild(NVelocity.Runtime.Parser.Node.INode n, int i) This method tells the node to add its argument to the node's list of children. |
void |
jjtClose() This method is called after all the child nodes have been added. |
NVelocity.Runtime.Parser.Node.INode |
jjtGetChild(int i) This method returns a child node. The children are numbered from zero, left to right. |
int |
jjtGetNumChildren() Return the number of children the node has. |
NVelocity.Runtime.Parser.Node.INode | jjtGetParent() |
void |
jjtOpen() This method is called after the node has been made the current node. It indicates that child nodes can now be added to it. |
void |
jjtSetParent(NVelocity.Runtime.Parser.Node.INode n) This pair of methods are used to inform the node of its parent. |
string | literal() |
bool | render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer) |
void | setInvalid() |
object | value_Renamed(NVelocity.Context.InternalContextAdapter context) |
Property Detail |
---|
public int Column
public NVelocity.Runtime.Parser.Token FirstToken
public int Info
public NVelocity.Runtime.Parser.Token LastToken
public int Line
public int Type
Method Detail |
---|
public object childrenAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
public bool evaluate(NVelocity.Context.InternalContextAdapter context)
public object execute(object o, NVelocity.Context.InternalContextAdapter context)
public object init(NVelocity.Context.InternalContextAdapter context, object data)
public bool isInvalid()
public object jjtAccept(NVelocity.Runtime.Parser.Node.ParserVisitor visitor, object data)
Accept the visitor. *
public void jjtAddChild(NVelocity.Runtime.Parser.Node.INode n, int i)
This method tells the node to add its argument to the node's list of children.
public void jjtClose()
This method is called after all the child nodes have been added.
public NVelocity.Runtime.Parser.Node.INode jjtGetChild(int i)
This method returns a child node. The children are numbered from zero, left to right.
public int jjtGetNumChildren()
Return the number of children the node has.
public NVelocity.Runtime.Parser.Node.INode jjtGetParent()
public void jjtOpen()
This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.
public void jjtSetParent(NVelocity.Runtime.Parser.Node.INode n)
This pair of methods are used to inform the node of its parent.
public string literal()
public bool render(NVelocity.Context.InternalContextAdapter context, System.IO.TextWriter writer)
public void setInvalid()
public object value_Renamed(NVelocity.Context.InternalContextAdapter context)
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |