CDPrivate.mesa (part of Chipndale)
Copyright © 1983, 1984 by Xerox Corporation. All rights reserved.
by Christian Jacobi November 21, 1983 4:02 pm
last edited by Christian Jacobi November 22, 1983 5:33 pm
DIRECTORY
CD,
Rope USING [ROPE];
CDPrivate: CEDAR DEFINITIONS =
BEGIN
-- debugging
Debug:
PROC [msg: Rope.
ROPE←
NIL, what:
REF←
NIL, mayProceed:
BOOL←
TRUE];
--gives the user the chance of entering the debugger
--msg is displayed to the user
--what may be inspected with the debugger
DebugCall:
SIGNAL[what:
REF];
--this signal is raised by Debug;
--Don't catch this signal; respectively before a catch of RuntimeError.UNCAUGHT,
--catch this signal and reject it, unless entering the debugger does not cause a deadlock
-- Levels
LevelRef: TYPE = REF LevelRec;
LevelRec:
TYPE =
RECORD [
technology: CD.Technology←NIL,
uniqueKey: ATOM←NIL, -- unique per technology
properties: CD.Properties←NIL,
globalUniqueKey: REF←NIL, --use as CDValue key reserved by CDDefaults
number: CD.Level
];
levels: READONLY REF ARRAY CD.Level OF LevelRef;
END.