1 |
2
|
krennw
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
|
5 |
|
|
#include "FunctionNames.pb.h"
|
6 |
|
|
|
7 |
|
|
#include <algorithm>
|
8 |
|
|
|
9 |
|
|
#include <google/protobuf/stubs/common.h>
|
10 |
|
|
#include <google/protobuf/stubs/once.h>
|
11 |
|
|
#include <google/protobuf/io/coded_stream.h>
|
12 |
|
|
#include <google/protobuf/wire_format_lite_inl.h>
|
13 |
|
|
#include <google/protobuf/descriptor.h>
|
14 |
|
|
#include <google/protobuf/generated_message_reflection.h>
|
15 |
|
|
#include <google/protobuf/reflection_ops.h>
|
16 |
|
|
#include <google/protobuf/wire_format.h>
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
namespace serialize {
|
20 |
|
|
|
21 |
|
|
namespace {
|
22 |
|
|
|
23 |
|
|
const ::google::protobuf::EnumDescriptor* PBAdd_descriptor_ = NULL;
|
24 |
|
|
const ::google::protobuf::EnumDescriptor* PBAllocation_descriptor_ = NULL;
|
25 |
|
|
const ::google::protobuf::EnumDescriptor* PBIdentifiers_descriptor_ = NULL;
|
26 |
|
|
const ::google::protobuf::EnumDescriptor* PBTypes_descriptor_ = NULL;
|
27 |
|
|
const ::google::protobuf::EnumDescriptor* PBStatements_descriptor_ = NULL;
|
28 |
|
|
const ::google::protobuf::EnumDescriptor* PBExpressions_descriptor_ = NULL;
|
29 |
|
|
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
void protobuf_AssignDesc_FunctionNames_2eproto() {
|
34 |
|
|
protobuf_AddDesc_FunctionNames_2eproto();
|
35 |
|
|
const ::google::protobuf::FileDescriptor* file =
|
36 |
|
|
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
|
37 |
|
|
"FunctionNames.proto");
|
38 |
|
|
GOOGLE_CHECK(file != NULL);
|
39 |
|
|
PBAdd_descriptor_ = file->enum_type(0);
|
40 |
|
|
PBAllocation_descriptor_ = file->enum_type(1);
|
41 |
|
|
PBIdentifiers_descriptor_ = file->enum_type(2);
|
42 |
|
|
PBTypes_descriptor_ = file->enum_type(3);
|
43 |
|
|
PBStatements_descriptor_ = file->enum_type(4);
|
44 |
|
|
PBExpressions_descriptor_ = file->enum_type(5);
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
namespace {
|
48 |
|
|
|
49 |
|
|
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
|
50 |
|
|
inline void protobuf_AssignDescriptorsOnce() {
|
51 |
|
|
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
|
52 |
|
|
&protobuf_AssignDesc_FunctionNames_2eproto);
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
void protobuf_RegisterTypes(const ::std::string&) {
|
56 |
|
|
protobuf_AssignDescriptorsOnce();
|
57 |
|
|
}
|
58 |
|
|
|
59 |
|
|
}
|
60 |
|
|
|
61 |
|
|
void protobuf_ShutdownFile_FunctionNames_2eproto() {
|
62 |
|
|
}
|
63 |
|
|
|
64 |
|
|
void protobuf_AddDesc_FunctionNames_2eproto() {
|
65 |
|
|
static bool already_here = false;
|
66 |
|
|
if (already_here) return;
|
67 |
|
|
already_here = true;
|
68 |
|
|
GOOGLE_PROTOBUF_VERIFY_VERSION;
|
69 |
|
|
|
70 |
|
|
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
|
71 |
|
|
"\n\023FunctionNames.proto\022\tserialize*\231\002\n\005PBA"
|
72 |
|
|
"dd\022!\n\035TIRESIAS_ADD_IDENTIFIERTOLIST\020\000\022\033\n"
|
73 |
|
|
"\027TIRESIAS_ADD_TYPETOLIST\020\001\022 \n\034TIRESIAS_A"
|
74 |
|
|
"DD_STATEMENTTOLIST\020\002\022!\n\035TIRESIAS_ADD_EXP"
|
75 |
|
|
"RESSIONTOLIST\020\003\022\034\n\030TIRESIAS_ADD_IDTOSYMB"
|
76 |
|
|
"TAB\020\004\022\034\n\030TIRESIAS_ADD_PARAMTOLIST\020\005\022+\n\'T"
|
77 |
|
|
"IRESIAS_ADD_ACTIONSYSTEMINSTANCETOLIST\020\006"
|
78 |
|
|
"\022\"\n\036TIRESIAS_ADD_IDENTIFIERTOBLOCK\020\007*\314\003\n"
|
79 |
|
|
"\014PBAllocation\022\036\n\032TIRESIAS_CREATE_IDENTIF"
|
80 |
|
|
"IER\020\000\022\030\n\024TIRESIAS_CREATE_TYPE\020\001\022\035\n\031TIRES"
|
81 |
|
|
"IAS_CREATE_STATEMENT\020\002\022\036\n\032TIRESIAS_CREAT"
|
82 |
|
|
"E_EXPRESSION\020\003\022!\n\035TIRESIAS_CREATE_STATEM"
|
83 |
|
|
"ENTLIST\020\004\022\"\n\036TIRESIAS_CREATE_EXPRESSIONL"
|
84 |
|
|
"IST\020\005\022\"\n\036TIRESIAS_CREATE_IDENTIFIERLIST\020"
|
85 |
|
|
"\006\022\033\n\027TIRESIAS_CREATE_SYMBTAB\020\007\022\035\n\031TIRESI"
|
86 |
|
|
"AS_CREATE_PARAMLIST\020\010\022(\n$TIRESIAS_CREATE"
|
87 |
|
|
"_ACTIONSYSTEMINSTANCE\020\t\022\034\n\030TIRESIAS_CREA"
|
88 |
|
|
"TE_TYPELIST\020\n\022,\n(TIRESIAS_CREATE_ACTIONS"
|
89 |
|
|
"YSTEMINSTANCELIST\020\013\022&\n\"TIRESIAS_CAST_AST"
|
90 |
|
|
"ELEMENT_TO_ISCOPE\020\014*\202\003\n\rPBIdentifiers\022 \n"
|
91 |
|
|
"\034TIRESIAS_INIT_ENUMIDENTIFIER\020\001\022!\n\035TIRES"
|
92 |
|
|
"IAS_INIT_CONSTIDENTIFIER\020\002\022 \n\034TIRESIAS_I"
|
93 |
|
|
"NIT_ATTRIDENTIFIER\020\003\022#\n\037TIRESIAS_INIT_EX"
|
94 |
|
|
"PRVARIDENTIFIER\020\004\022!\n\035TIRESIAS_INIT_PARAM"
|
95 |
|
|
"IDENTIFIER\020\005\022\"\n\036TIRESIAS_INIT_LOCVARIDEN"
|
96 |
|
|
"TIFIER\020\006\022 \n\034TIRESIAS_INIT_TYPEIDENTIFIER"
|
97 |
|
|
"\020\007\022 \n\034TIRESIAS_INIT_SELFIDENTIFIER\020\010\022\"\n\036"
|
98 |
|
|
"TIRESIAS_INIT_METHODIDENTIFIER\020\t\022\030\n\024TIRE"
|
99 |
|
|
"SIAS_INIT_MODULE\020\n\022\034\n\030TIRESIAS_INIT_MAIN"
|
100 |
|
|
"MODULE\020\000*\277\002\n\007PBTypes\022\031\n\025TIRESIAS_INIT_IN"
|
101 |
|
|
"TTYPE\020\001\022\032\n\026TIRESIAS_INIT_BOOLTYPE\020\002\022 \n\034T"
|
102 |
|
|
"IRESIAS_INIT_VALUEDENUMTYPE\020\003\022\032\n\026TIRESIA"
|
103 |
|
|
"S_INIT_ENUMTYPE\020\004\022\032\n\026TIRESIAS_INIT_LISTT"
|
104 |
|
|
"YPE\020\005\022\033\n\027TIRESIAS_INIT_TUPLETYPE\020\006\022\036\n\032TI"
|
105 |
|
|
"RESIAS_INIT_FUNCTIONTYPE\020\007\022&\n\"TIRESIAS_I"
|
106 |
|
|
"NIT_ACTIONSYSTEMINSTANCE\020\010\022\"\n\036TIRESIAS_I"
|
107 |
|
|
"NIT_ACTIONSYSTEMTYPE\020\t\022\032\n\026TIRESIAS_INIT_"
|
108 |
|
|
"NULLTYPE\020\000*\210\002\n\014PBStatements\022\026\n\022TIRESIAS_"
|
109 |
|
|
"INIT_SKIP\020\003\022\027\n\023TIRESIAS_INIT_BREAK\020\004\022\027\n\023"
|
110 |
|
|
"TIRESIAS_INIT_ABORT\020\005\022\035\n\031TIRESIAS_INIT_N"
|
111 |
|
|
"ONDETBLOCK\020\006\022\032\n\026TIRESIAS_INIT_SEQBLOCK\020\007"
|
112 |
|
|
"\022\033\n\027TIRESIAS_INIT_PRIOBLOCK\020\010\022 \n\034TIRESIA"
|
113 |
|
|
"S_INIT_GUARDEDCOMMAND\020\002\022\034\n\030TIRESIAS_INIT"
|
114 |
|
|
"_ASSIGNMENT\020\001\022\026\n\022TIRESIAS_INIT_CALL\020\000*\340\004"
|
115 |
|
|
"\n\rPBExpressions\022 \n\034TIRESIAS_INIT_TYPEEXP"
|
116 |
|
|
"RESSION\020\004\022&\n\"TIRESIAS_INIT_IDENTIFIEREXP"
|
117 |
|
|
"RESSION\020\005\022!\n\035TIRESIAS_INIT_UNARYEXPRESSI"
|
118 |
|
|
"ON\020\006\022\"\n\036TIRESIAS_INIT_BINARYEXPRESSION\020\007"
|
119 |
|
|
"\022#\n\037TIRESIAS_INIT_TERNARYEXPRESSION\020\010\022$\n"
|
120 |
|
|
" TIRESIAS_INIT_INTVALUEEXPRESSION\020\t\022%\n!T"
|
121 |
|
|
"IRESIAS_INIT_BOOLVALUEEXPRESSION\020\n\022$\n TI"
|
122 |
|
|
"RESIAS_INIT_REFVALUEEXPRESSION\020\013\022!\n\035TIRE"
|
123 |
|
|
"SIAS_INIT_LISTCONSTRUCTOR\020\014\022 \n\034TIRESIAS_"
|
124 |
|
|
"INIT_SETCONSTRUCTOR\020\r\022\"\n\036TIRESIAS_INIT_T"
|
125 |
|
|
"UPLECONSTRUCTOR\020\016\022\"\n\036TIRESIAS_INIT_ACCES"
|
126 |
|
|
"SEXPRESSION\020\017\022*\n&TIRESIAS_INIT_TUPLEMAPA"
|
127 |
|
|
"CCESSEXPRESSION\020\003\022 \n\034TIRESIAS_INIT_CALLE"
|
128 |
|
|
"XPRESSION\020\002\022&\n\"TIRESIAS_INIT_QUANTIFIERE"
|
129 |
|
|
"XPRESSION\020\001\022#\n\037TIRESIAS_INIT_OBJECTCONST"
|
130 |
|
|
"RUCTOR\020\000BA\n0at.ac.ait.momut.ooas.argos.c"
|
131 |
|
|
"odegen.serialize.genB\rFunctionNames", 2435);
|
132 |
|
|
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
|
133 |
|
|
"FunctionNames.proto", &protobuf_RegisterTypes);
|
134 |
|
|
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_FunctionNames_2eproto);
|
135 |
|
|
}
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
struct StaticDescriptorInitializer_FunctionNames_2eproto {
|
139 |
|
|
StaticDescriptorInitializer_FunctionNames_2eproto() {
|
140 |
|
|
protobuf_AddDesc_FunctionNames_2eproto();
|
141 |
|
|
}
|
142 |
|
|
} static_descriptor_initializer_FunctionNames_2eproto_;
|
143 |
|
|
const ::google::protobuf::EnumDescriptor* PBAdd_descriptor() {
|
144 |
|
|
protobuf_AssignDescriptorsOnce();
|
145 |
|
|
return PBAdd_descriptor_;
|
146 |
|
|
}
|
147 |
|
|
bool PBAdd_IsValid(int value) {
|
148 |
|
|
switch(value) {
|
149 |
|
|
case 0:
|
150 |
|
|
case 1:
|
151 |
|
|
case 2:
|
152 |
|
|
case 3:
|
153 |
|
|
case 4:
|
154 |
|
|
case 5:
|
155 |
|
|
case 6:
|
156 |
|
|
case 7:
|
157 |
|
|
return true;
|
158 |
|
|
default:
|
159 |
|
|
return false;
|
160 |
|
|
}
|
161 |
|
|
}
|
162 |
|
|
|
163 |
|
|
const ::google::protobuf::EnumDescriptor* PBAllocation_descriptor() {
|
164 |
|
|
protobuf_AssignDescriptorsOnce();
|
165 |
|
|
return PBAllocation_descriptor_;
|
166 |
|
|
}
|
167 |
|
|
bool PBAllocation_IsValid(int value) {
|
168 |
|
|
switch(value) {
|
169 |
|
|
case 0:
|
170 |
|
|
case 1:
|
171 |
|
|
case 2:
|
172 |
|
|
case 3:
|
173 |
|
|
case 4:
|
174 |
|
|
case 5:
|
175 |
|
|
case 6:
|
176 |
|
|
case 7:
|
177 |
|
|
case 8:
|
178 |
|
|
case 9:
|
179 |
|
|
case 10:
|
180 |
|
|
case 11:
|
181 |
|
|
case 12:
|
182 |
|
|
return true;
|
183 |
|
|
default:
|
184 |
|
|
return false;
|
185 |
|
|
}
|
186 |
|
|
}
|
187 |
|
|
|
188 |
|
|
const ::google::protobuf::EnumDescriptor* PBIdentifiers_descriptor() {
|
189 |
|
|
protobuf_AssignDescriptorsOnce();
|
190 |
|
|
return PBIdentifiers_descriptor_;
|
191 |
|
|
}
|
192 |
|
|
bool PBIdentifiers_IsValid(int value) {
|
193 |
|
|
switch(value) {
|
194 |
|
|
case 0:
|
195 |
|
|
case 1:
|
196 |
|
|
case 2:
|
197 |
|
|
case 3:
|
198 |
|
|
case 4:
|
199 |
|
|
case 5:
|
200 |
|
|
case 6:
|
201 |
|
|
case 7:
|
202 |
|
|
case 8:
|
203 |
|
|
case 9:
|
204 |
|
|
case 10:
|
205 |
|
|
return true;
|
206 |
|
|
default:
|
207 |
|
|
return false;
|
208 |
|
|
}
|
209 |
|
|
}
|
210 |
|
|
|
211 |
|
|
const ::google::protobuf::EnumDescriptor* PBTypes_descriptor() {
|
212 |
|
|
protobuf_AssignDescriptorsOnce();
|
213 |
|
|
return PBTypes_descriptor_;
|
214 |
|
|
}
|
215 |
|
|
bool PBTypes_IsValid(int value) {
|
216 |
|
|
switch(value) {
|
217 |
|
|
case 0:
|
218 |
|
|
case 1:
|
219 |
|
|
case 2:
|
220 |
|
|
case 3:
|
221 |
|
|
case 4:
|
222 |
|
|
case 5:
|
223 |
|
|
case 6:
|
224 |
|
|
case 7:
|
225 |
|
|
case 8:
|
226 |
|
|
case 9:
|
227 |
|
|
return true;
|
228 |
|
|
default:
|
229 |
|
|
return false;
|
230 |
|
|
}
|
231 |
|
|
}
|
232 |
|
|
|
233 |
|
|
const ::google::protobuf::EnumDescriptor* PBStatements_descriptor() {
|
234 |
|
|
protobuf_AssignDescriptorsOnce();
|
235 |
|
|
return PBStatements_descriptor_;
|
236 |
|
|
}
|
237 |
|
|
bool PBStatements_IsValid(int value) {
|
238 |
|
|
switch(value) {
|
239 |
|
|
case 0:
|
240 |
|
|
case 1:
|
241 |
|
|
case 2:
|
242 |
|
|
case 3:
|
243 |
|
|
case 4:
|
244 |
|
|
case 5:
|
245 |
|
|
case 6:
|
246 |
|
|
case 7:
|
247 |
|
|
case 8:
|
248 |
|
|
return true;
|
249 |
|
|
default:
|
250 |
|
|
return false;
|
251 |
|
|
}
|
252 |
|
|
}
|
253 |
|
|
|
254 |
|
|
const ::google::protobuf::EnumDescriptor* PBExpressions_descriptor() {
|
255 |
|
|
protobuf_AssignDescriptorsOnce();
|
256 |
|
|
return PBExpressions_descriptor_;
|
257 |
|
|
}
|
258 |
|
|
bool PBExpressions_IsValid(int value) {
|
259 |
|
|
switch(value) {
|
260 |
|
|
case 0:
|
261 |
|
|
case 1:
|
262 |
|
|
case 2:
|
263 |
|
|
case 3:
|
264 |
|
|
case 4:
|
265 |
|
|
case 5:
|
266 |
|
|
case 6:
|
267 |
|
|
case 7:
|
268 |
|
|
case 8:
|
269 |
|
|
case 9:
|
270 |
|
|
case 10:
|
271 |
|
|
case 11:
|
272 |
|
|
case 12:
|
273 |
|
|
case 13:
|
274 |
|
|
case 14:
|
275 |
|
|
case 15:
|
276 |
|
|
return true;
|
277 |
|
|
default:
|
278 |
|
|
return false;
|
279 |
|
|
}
|
280 |
|
|
}
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
}
|
286 |
|
|
|
287 |
|
|
|