1
|
package serialize;
|
2
|
|
3
|
option java_package = "org.momut.ooas.codegen.ast.protobuf.gen";
|
4
|
option java_outer_classname = "FunctionNames";
|
5
|
|
6
|
enum PBAdd {
|
7
|
TIRESIAS_ADD_IDENTIFIERTOLIST = 0;
|
8
|
TIRESIAS_ADD_TYPETOLIST = 1;
|
9
|
TIRESIAS_ADD_STATEMENTTOLIST = 2;
|
10
|
TIRESIAS_ADD_EXPRESSIONTOLIST = 3;
|
11
|
TIRESIAS_ADD_IDTOSYMBTAB = 4;
|
12
|
TIRESIAS_ADD_PARAMTOLIST = 5;
|
13
|
TIRESIAS_ADD_ACTIONSYSTEMINSTANCETOLIST = 6;
|
14
|
TIRESIAS_ADD_IDENTIFIERTOBLOCK = 7;
|
15
|
}
|
16
|
|
17
|
enum PBAllocation {
|
18
|
TIRESIAS_CREATE_IDENTIFIER = 0;
|
19
|
TIRESIAS_CREATE_TYPE = 1;
|
20
|
TIRESIAS_CREATE_STATEMENT = 2;
|
21
|
TIRESIAS_CREATE_EXPRESSION = 3;
|
22
|
TIRESIAS_CREATE_STATEMENTLIST = 4;
|
23
|
TIRESIAS_CREATE_EXPRESSIONLIST = 5;
|
24
|
TIRESIAS_CREATE_IDENTIFIERLIST = 6;
|
25
|
TIRESIAS_CREATE_SYMBTAB = 7;
|
26
|
TIRESIAS_CREATE_PARAMLIST = 8;
|
27
|
TIRESIAS_CREATE_ACTIONSYSTEMINSTANCE = 9;
|
28
|
TIRESIAS_CREATE_TYPELIST = 10;
|
29
|
TIRESIAS_CREATE_ACTIONSYSTEMINSTANCELIST = 11;
|
30
|
TIRESIAS_CAST_ASTELEMENT_TO_ISCOPE = 12;
|
31
|
}
|
32
|
|
33
|
enum PBIdentifiers {
|
34
|
TIRESIAS_INIT_ENUMIDENTIFIER = 1;
|
35
|
TIRESIAS_INIT_CONSTIDENTIFIER = 2;
|
36
|
TIRESIAS_INIT_ATTRIDENTIFIER = 3;
|
37
|
TIRESIAS_INIT_EXPRVARIDENTIFIER = 4;
|
38
|
TIRESIAS_INIT_PARAMIDENTIFIER = 5;
|
39
|
TIRESIAS_INIT_LOCVARIDENTIFIER = 6;
|
40
|
TIRESIAS_INIT_TYPEIDENTIFIER = 7;
|
41
|
TIRESIAS_INIT_SELFIDENTIFIER = 8;
|
42
|
TIRESIAS_INIT_METHODIDENTIFIER = 9;
|
43
|
TIRESIAS_INIT_MODULE = 10;
|
44
|
TIRESIAS_INIT_MAINMODULE = 0;
|
45
|
}
|
46
|
|
47
|
enum PBTypes {
|
48
|
TIRESIAS_INIT_INTTYPE = 1;
|
49
|
TIRESIAS_INIT_BOOLTYPE = 2;
|
50
|
TIRESIAS_INIT_VALUEDENUMTYPE = 3;
|
51
|
TIRESIAS_INIT_ENUMTYPE = 4;
|
52
|
TIRESIAS_INIT_LISTTYPE = 5;
|
53
|
TIRESIAS_INIT_TUPLETYPE = 6;
|
54
|
TIRESIAS_INIT_FUNCTIONTYPE = 7;
|
55
|
TIRESIAS_INIT_ACTIONSYSTEMINSTANCE = 8;
|
56
|
TIRESIAS_INIT_ACTIONSYSTEMTYPE = 9;
|
57
|
TIRESIAS_INIT_NULLTYPE = 0;
|
58
|
}
|
59
|
|
60
|
enum PBStatements{
|
61
|
TIRESIAS_INIT_SKIP = 3;
|
62
|
TIRESIAS_INIT_BREAK = 4;
|
63
|
TIRESIAS_INIT_ABORT = 5;
|
64
|
TIRESIAS_INIT_NONDETBLOCK = 6;
|
65
|
TIRESIAS_INIT_SEQBLOCK = 7;
|
66
|
TIRESIAS_INIT_PRIOBLOCK = 8;
|
67
|
TIRESIAS_INIT_GUARDEDCOMMAND = 2;
|
68
|
TIRESIAS_INIT_ASSIGNMENT = 1;
|
69
|
TIRESIAS_INIT_CALL = 0;
|
70
|
}
|
71
|
|
72
|
enum PBExpressions{
|
73
|
TIRESIAS_INIT_TYPEEXPRESSION = 4;
|
74
|
TIRESIAS_INIT_IDENTIFIEREXPRESSION = 5;
|
75
|
TIRESIAS_INIT_UNARYEXPRESSION = 6;
|
76
|
TIRESIAS_INIT_BINARYEXPRESSION = 7;
|
77
|
TIRESIAS_INIT_TERNARYEXPRESSION = 8;
|
78
|
TIRESIAS_INIT_INTVALUEEXPRESSION = 9;
|
79
|
TIRESIAS_INIT_BOOLVALUEEXPRESSION = 10;
|
80
|
TIRESIAS_INIT_REFVALUEEXPRESSION = 11;
|
81
|
TIRESIAS_INIT_LISTCONSTRUCTOR = 12;
|
82
|
TIRESIAS_INIT_SETCONSTRUCTOR = 13;
|
83
|
TIRESIAS_INIT_TUPLECONSTRUCTOR = 14;
|
84
|
TIRESIAS_INIT_ACCESSEXPRESSION = 15;
|
85
|
TIRESIAS_INIT_TUPLEMAPACCESSEXPRESSION = 3;
|
86
|
TIRESIAS_INIT_CALLEXPRESSION = 2;
|
87
|
TIRESIAS_INIT_QUANTIFIEREXPRESSION = 1;
|
88
|
TIRESIAS_INIT_OBJECTCONSTRUCTOR = 0;
|
89
|
}
|