01: /* Generated By:JJTree: Do not edit this line. Node.java Version 4.1 */
02: /* JavaCCOptions:MULTI=false,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY= */
03: package org.netbeans.modules.css.parser;
04:
05: /* All AST nodes must implement this interface. It provides basic
06: machinery for constructing the parent and child relationships
07: between nodes. */
08:
09: public interface Node {
10:
11: /** This method is called after the node has been made the current
12: node. It indicates that child nodes can now be added to it. */
13: public void jjtOpen();
14:
15: /** This method is called after all the child nodes have been
16: added. */
17: public void jjtClose();
18:
19: /** This pair of methods are used to inform the node of its
20: parent. */
21: public void jjtSetParent(Node n);
22:
23: public Node jjtGetParent();
24:
25: /** This method tells the node to add its argument to the node's
26: list of children. */
27: public void jjtAddChild(Node n, int i);
28:
29: /** This method returns a child node. The children are numbered
30: from zero, left to right. */
31: public Node jjtGetChild(int i);
32:
33: /** Return the number of children the node has. */
34: public int jjtGetNumChildren();
35: }
36: /* JavaCC - OriginalChecksum=c07d9f6d59c3d8885e2a05dbe408b05b (do not edit this line) */
|