gov.llnl.babel.visitor

Class 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.

Constructor Details

HierarchySorter

public HierarchySorter(MsgList msgs)

Method Details

commitHierarchy

public void commitHierarchy()

registerParentChild

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