UnitCreationContext¶
-
public class
UnitCreationContext
¶ An environment that holds context info useful to build a new Unit.
Fields¶
listST¶
-
protected TapList<TapPair<SymbolTable, SymbolTable>>
listST
¶ The association from original SymbolTable’s to their counterpart in the new Unit being built.
toAllBlocks¶
Constructors¶
UnitCreationContext¶
-
protected
UnitCreationContext
(Unit unit, TapList<Block> toAllBlocks, TapList<TapPair<SymbolTable, SymbolTable>> listST)¶ Standard creation.
Methods¶
copyListST¶
-
protected static UnitCreationContext
copyListST
(UnitCreationContext modelCtxt)¶ - Returns
a shallow copy of the listST. This is used so that new SymbolTable correspondences will not be seen by the given model UnitCreationContext.