SchemeRegistry.mesa
Copyright Ó 1989, 1991 by Xerox Corporation. All rights reserved.
Michael Plass, January 20, 1989 9:28:52 am PST
This is a mostly private interface for dealing with named initializers.
DIRECTORY Rope USING [ROPE], Scheme USING [Environment, ProperList];
SchemeRegistry: CEDAR DEFINITIONS
~ BEGIN OPEN Rope, Scheme;
InitializerIsDefined: PROC [name: ROPE] RETURNS [BOOL];
Says whether the named initializer has been created.
CallNamedInitializers: PROC [name: ROPE, env: Environment] RETURNS [nInit: INT];
Call all the initializers associated with a given name.
CollectInitializers: PROC [name: ROPE, proc: PROC];
All calls to RegisterInit while proc has control will be collected into a named table of Initializers. Normally proc will cause a Cedar module (or perhaps several) to be loaded and run.
ListNamedInitializers: PROC RETURNS [ProperList];
Returns a list of strings.
END.