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/graph.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 269 - (view) (download)

1 : blume 269 structure DependencyGraph = struct
2 :    
3 :     type smlinfo = unit
4 :     type groupinfo = unit
5 :     type primitive = unit
6 :    
7 :     type filter = SymbolSet.set option
8 :    
9 :     datatype node =
10 :     PNODE of primitive
11 :     | NODE of { smlinfo: smlinfo,
12 :     localimports: node list,
13 :     globalimports: farnode list }
14 :    
15 :     withtype farnode = filter * node
16 :    
17 :     (* the filter is duplicated in each member of the map to
18 :     * make it easier to build the global graph *)
19 :     datatype gnode =
20 :     GNODE of { groupinfo: groupinfo,
21 :     imports: gnode list,
22 :     filter: filter,
23 :     exports: farnode SymbolMap.map,
24 :     dangling: node list }
25 :    
26 :     end

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