| org.apache.velocity.runtime.parser.node.Node
All known Subclasses: org.apache.velocity.runtime.parser.node.SimpleNode,
Node | public interface Node (Code) | | This file describes the interface between the Velocity code
and the JavaCC generated code.
author: Henning P. Schmiedehausen version: $Id: Node.java 471381 2006-11-05 08:56:58Z wglass $ |
getColumn | public int getColumn()(Code) | | The current column position. |
getFirstToken | public Token getFirstToken()(Code) | | The first token. |
getInfo | public int getInfo()(Code) | | The current node info. |
getLastToken | public Token getLastToken()(Code) | | The last token. |
getLine | public int getLine()(Code) | | The current line position. |
getType | public int getType()(Code) | | The NodeType. |
isInvalid | public boolean isInvalid()(Code) | | True if the node is invalid. |
jjtAddChild | public void jjtAddChild(Node n, int i)(Code) | | This method tells the node to add its argument to the node's
list of children.
Parameters: n - Parameters: i - |
jjtClose | public void jjtClose()(Code) | | This method is called after all the child nodes have been
added.
|
jjtGetChild | public Node jjtGetChild(int i)(Code) | | This method returns a child node. The children are numbered
from zero, left to right.
Parameters: i - A child node. |
jjtGetNumChildren | public int jjtGetNumChildren()(Code) | | Return the number of children the node has.
The number of children of this node. |
jjtGetParent | public Node jjtGetParent()(Code) | | The node parent. |
jjtOpen | public void jjtOpen()(Code) | | This method is called after the node has been made the current
node. It indicates that child nodes can now be added to it.
|
jjtSetParent | public void jjtSetParent(Node n)(Code) | | This pair of methods are used to inform the node of its
parent.
Parameters: n - |
setInfo | public void setInfo(int info)(Code) | | Parameters: info - |
setInvalid | public void setInvalid()(Code) | | Mark the node as invalid.
|
|
|