    001    /* Generated By:JJTree: Do not edit this line. Node.java Version 4.3 */
    002    /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
    003    package org.apache.commons.jexl2.parser;
    004
    005    /* All AST nodes must implement this interface.  It provides basic
    006       machinery for constructing the parent and child relationships
    007       between nodes. */
    008
    009    public
    010    interface Node {
    011
    012      /** This method is called after the node has been made the current
    013        node.  It indicates that child nodes can now be added to it. */
    014      public void jjtOpen();
    015
    016      /** This method is called after all the child nodes have been
    017        added. */
    018      public void jjtClose();
    019
    020      /** This pair of methods are used to inform the node of its
    021        parent. */
    022      public void jjtSetParent(Node n);
    023      public Node jjtGetParent();
    024
    025      /** This method tells the node to add its argument to the node's
    026        list of children.  */
    027      public void jjtAddChild(Node n, int i);
    028
    029      /** This method returns a child node.  The children are numbered
    030         from zero, left to right. */
    031      public Node jjtGetChild(int i);
    032
    033      /** Return the number of children the node has. */
    034      public int jjtGetNumChildren();
    035
    036      /** Accept the visitor. **/
    037      public Object jjtAccept(ParserVisitor visitor, Object data);
    038    }
    039    /* JavaCC - OriginalChecksum=f56894fc2c5f539f610161b5552f1bd0 (do not edit this line) */