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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 354 - (view) (download)

1 : blume 294 (*
2 :     * Internal data structure representing a CM dependency graph.
3 :     * (coarse-grain: groups)
4 :     *
5 :     * (C) 1999 Lucent Technologies, Bell Laboratories
6 :     *
7 :     * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
8 :     *)
9 :     structure GroupGraph = struct
10 :    
11 :     type privileges = StringSet.set
12 :    
13 : blume 348 datatype kind =
14 :     NOLIB
15 :     | LIB of privileges (* wrapped privileges *)
16 :     | STABLELIB of DependencyGraph.bnode IntBinaryMap.map
17 :     (* stable library with bnodo map *)
18 : blume 305
19 :     (* the "required" field includes everything:
20 :     * 1. privileges required by subgroups
21 :     * 2. newly required privileges
22 : blume 348 * 3. privileges that would be wrapped once the group is stabilized
23 : blume 330 *
24 : blume 340 * The list of sub-libraries includes an AbsPath.t. This is the path
25 : blume 330 * that was originally found in the CM description file and led to
26 : blume 340 * inclusion of the sublibrary. This contrasts
27 :     * with the "grouppath" member of the sublibrary itself which
28 : blume 330 * records the path of its actual description file.
29 :     * The two paths are not necessarily equal because of aliases. *)
30 : blume 294 datatype group =
31 :     GROUP of { exports: DependencyGraph.impexp SymbolMap.map,
32 : blume 348 kind: kind,
33 : blume 305 required: privileges,
34 : blume 354 grouppath: SrcPath.t,
35 :     sublibs: (SrcPath.t * group) list }
36 : blume 294 end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0