Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cm/depend/ggraph.sml
ViewVC logotype

View of /sml/trunk/src/cm/depend/ggraph.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 444 - (download) (annotate)
Thu Sep 16 05:32:14 1999 UTC (21 years, 7 months ago) by blume
File size: 1220 byte(s)
annoying path confusion bug fixed
 * Internal data structure representing a CM dependency graph.
 * (coarse-grain: groups)
 * (C) 1999 Lucent Technologies, Bell Laboratories
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
structure GroupGraph = struct

    type privileges = StringSet.set

    datatype kind =
      | LIB of privileges		(* wrapped privileges *)

    (* the "required" field includes everything:
     *   1. privileges required by subgroups
     *   2. newly required privileges
     *   3. privileges that would be wrapped once the group is stabilized
    datatype group =
	GROUP of { exports: DependencyGraph.impexp SymbolMap.map,
		   kind: kind,
		   required: privileges,
		   grouppath: SrcPath.t,
		   sublibs: (SrcPath.t * group) list }
    (* Note: "sublibs" consists of (srcpath, group) pairs where
     * srcpath is equivalent -- but not necessarily identical -- to
     * the "grouppath" component of "group".  The group might have
     * been known before in which case "grouppath" would carry the
     * path that was used back then to refer to the group.  But for
     * the purpose of stabilization we must know the abstract path
     * that was used this time. *)

ViewVC Help
Powered by ViewVC 1.0.0