org.omegahat.Environment.Parser.Parse
Interface TreeNodeInt

All Known Subinterfaces:
ExpressionInt

public interface TreeNodeInt

This class defines the methods that an object must implement for it to be treated as a node/element in an expression tree.


Method Summary
 TreeNodeInt addChild(TreeNodeInt child)
           
 java.util.Vector children()
           
 int depth()
           
 TreeNodeInt parent()
           
 TreeNodeInt parent(TreeNodeInt p)
           
 int replaceChild(TreeNodeInt originalChild, TreeNodeInt newChild)
           
 

Method Detail

parent

public TreeNodeInt parent()

parent

public TreeNodeInt parent(TreeNodeInt p)

children

public java.util.Vector children()

addChild

public TreeNodeInt addChild(TreeNodeInt child)

replaceChild

public int replaceChild(TreeNodeInt originalChild,
                        TreeNodeInt newChild)

depth

public int depth()