StructureColor.Mesa
Last tweaked by Mike Spreitzer on June 23, 1989 10:56:43 am PDT
DIRECTORY Core;
StructureColor: CEDAR DEFINITIONS = {
ColorerProp: READONLY ATOM;
Colorer: TYPE = REF ColorerPrivate;
ColorerPrivate: TYPE = RECORD [
CellTypeColor: PROC [ct: Core.CellType] RETURNS [Color],
ColorPorts: PROC [ct: Core.CellType, SetColor: PROC [Core.Wire, Color]]
Must set the color of each atom of the public wire.
];
Color: TYPE = CARD;
}.