gov.llnl.babel.visitor
Class HeirarchySorter

java.lang.Object
  extended by gov.llnl.babel.visitor.HeirarchySorter

public class HeirarchySorter
extends java.lang.Object

This class is used by SymbolTableDecorator to collect a heirarchy of modified types, and add their lineage to the SymbolTable in a strict topilogical order.


Constructor Summary
HeirarchySorter(MsgList msgs)
           
 
Method Summary
 void commitHeirarchy()
           
 void registerParentChild(Extendable parent, Extendable child)
          Register an inheritance relationship to be revealed to SymbolTable later.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeirarchySorter

public HeirarchySorter(MsgList msgs)
Method Detail

registerParentChild

public void registerParentChild(Extendable parent,
                                Extendable child)
Register an inheritance relationship to be revealed to SymbolTable later.

Parameters:
parent -
child -

commitHeirarchy

public void commitHeirarchy()