-
Notifications
You must be signed in to change notification settings - Fork 0
/
state_gen.rbg
72 lines (60 loc) · 1.28 KB
/
state_gen.rbg
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
file "stages/packaging/src/state_gen.rs" {
use "resources"
use "diags"
use "storage"
struct PackageLoader {
mut Resources
mut Workspace
mut Interner
mut PackageGraph
passed mut db: `dyn ResourceDb`
}
}
file "stages/typec/src/state_gen.rs" {
use "storage"
use "diags"
use "types"
use "resources"
struct TyChecker {
owned module: `VRef<Module>`
owned source: `VRef<Source>` = "resources.modules[module].source"
mut Interner
mut Scope
mut Typec
mut Workspace
Resources
}
}
file "stages/borrowc/src/state_gen.rs" {
use "storage"
use "diags"
use "types"
use "resources"
use "mir"
use "crate"
struct MirChecker {
owned module: `VRef<Module>`
owned source: `VRef<Source>` = "resources.modules[module].source"
mut Mir
mut Interner
mut Typec
mut Workspace
unique Arena
Resources
}
}
file "stages/gen/src/state_gen.rs" {
use "crate"
use "storage"
use "types"
use "resources"
struct Generator {
mut GenLayouts
mut Gen
passed mut GenResources
mut Interner
mut Typec
CompileRequests
Resources
}
}