gov.llnl.babel.visitor
Class HierarchySorter

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

public class HierarchySorter
extends java.lang.Object

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


Constructor Summary
HierarchySorter(MsgList msgs)
           
 
Method Summary
 void commitHierarchy()
           
 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

HierarchySorter

public HierarchySorter(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 -

commitHierarchy

public void commitHierarchy()