-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_mig.pl
executable file
·67 lines (58 loc) · 1.6 KB
/
style_mig.pl
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
/* :- compile(library(sets)). */
/* alter attributes list, alter validentity predicates */
:- multifile(typeschema/6).
:- multifile(informalnames/2).
:- multifile(validentity/2).
:- multifile(style/2).
style(mig, 'Mach RPC Interface').
/* Check constraints on an entity */
/* validentity(entity(style), name of entity) */
/* NOTE: IN ALL CASES WHERE THE DATABASE IS CHECKED FOR AN ATTRIBUTE,
MAKE SURE TO ALLOW FOR POSSIBILITY THAT THE ATTRIBUTE WAS NOT
ENTERED BY THE USER (A PARTIAL DESCRIPTION)!*/
/*************************************************************************/
/*typeschema(entity(style), variable attributes, types of former,
fixed attributes, fixed attributes values, parent entity(style))*/
typeschema(event(mig),
[],
[],
[],
[],
datacomponent(base)).
typeschema(controlcomponent(mig),
[],
[],
[],
[],
controlcomponent(base)).
typeschema(trigger(mig),
[],
[],
[subtype, outspawns],
[[ctype], []],
trigger(base)).
typeschema(system(mig),
[],
[],
[globalobjects, classes, calls, spawns, shareddata, call_layers, spawn_layers,
dataconnector_layers],
[[], [], [], [], [], [], [], []],
system(base)).
informalnames(system(unas),
['Initial Tasks ',
'Initial Circuits ',
'Global Objects ',
'Tasks and Procedures ',
'Classes ',
'Shared Data ',
'Circuits ',
'Calls ',
'Spawns ',
'Recognized Messages ',
'Triggers ',
'Call Layers ',
'Spawn Layers ',
'Data Connector Layers',
'Nodes ',
'Resources ',
'Platform ']).