-
Notifications
You must be signed in to change notification settings - Fork 2
/
model
58 lines (52 loc) · 1.07 KB
/
model
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
maps : structure that supports acid-state, exact lookup and prefix lookup!-> ixset?
packages
map name -> package
modules
map full name
-> map package/version
-> module
decls
map name ->
map module ->
map package/version
-> decl
types?
type -> decls?
data
package
- name
- version
- local?
- doc
- all metadata (license, author, etc.)
- component names
component
- name
- type (library/executable/test/benchmark)
- module names
module
- name
- package
- version
- component names
- local?
- doc
- decls names
- reexported modules/decls
decl
- name
- module
- package
- version
- parent decl name
- child decls name
- local?
- exposed?
- type of data (function, type, constructor, etc)
- type signature
- flags
- source
- doc
- uses -> map (name in code) -> qualified name (package, module, name, version range?)
- usedBy -> list of qualified names (package, module, name, version range?)
- related -> map type of relation -> list of qualified names (package, module, name, version range?)