PageRenderTime 361ms CodeModel.GetById 357ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/sidekick/ecmascript/parser/Node.java

#
Java | 37 lines | 11 code | 10 blank | 16 comment | 0 complexity | 7d5bf8e0446c44c177c39f22f43b6a87 MD5 | raw file
 1/* Generated By:JJTree: Do not edit this line. Node.java */
 2
 3package sidekick.ecmascript.parser;
 4
 5/* All AST nodes must implement this interface.  It provides basic
 6   machinery for constructing the parent and child relationships
 7   between nodes. */
 8
 9public 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  public Node jjtGetParent();
23
24  /** This method tells the node to add its argument to the node's
25    list of children.  */
26  public void jjtAddChild(Node n, int i);
27
28  /** This method returns a child node.  The children are numbered
29     from zero, left to right. */
30  public Node jjtGetChild(int i);
31
32  /** Return the number of children the node has. */
33  public int jjtGetNumChildren();
34
35  /** Accept the visitor. **/
36  public Object jjtAccept(EcmaScriptVisitor visitor, Object data);
37}