Interface Node


  • @Deprecated
    public interface Node
    Deprecated.
    All AST nodes must implement this interface. It provides basic machinery for constructing the parent and child relationships between nodes. Automatically generated by JJTree
    Author:
    Dazhi Jiao
    Source code:
    main
    Belongs to CDK module:
    smarts
    Keywords:
    SMARTS AST
    Created on:
    2007-04-24
    • Method Detail

      • jjtOpen

        void jjtOpen()
        Deprecated.
        This method is called after the node has been made the current node. It indicates that child nodes can now be added to it.
      • jjtClose

        void jjtClose()
        Deprecated.
        This method is called after all the child nodes have been added.
      • jjtSetParent

        void jjtSetParent​(Node n)
        Deprecated.
        This pair of methods are used to inform the node of its parent.
      • jjtGetParent

        Node jjtGetParent()
        Deprecated.
      • jjtAddChild

        void jjtAddChild​(Node n,
                         int i)
        Deprecated.
        This method tells the node to add its argument to the node's list of children.
      • jjtGetChild

        Node jjtGetChild​(int i)
        Deprecated.
        This method returns a child node. The children are numbered from zero, left to right.
      • jjtGetNumChildren

        int jjtGetNumChildren()
        Deprecated.
        Return the number of children the node has.
      • jjtRemoveChild

        void jjtRemoveChild​(int i)
        Deprecated.
        Removes a child from this node
        Parameters:
        i -