-
Notifications
You must be signed in to change notification settings - Fork 10
/
LiteFlowTypes.java
426 lines (421 loc) · 23.6 KB
/
LiteFlowTypes.java
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
// This is a generated file. Not intended for manual editing.
package top.xystudio.plugin.idea.liteflowx.system.language.psi;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.PsiElement;
import com.intellij.lang.ASTNode;
import top.xystudio.plugin.idea.liteflowx.system.language.psi.impl.*;
public interface LiteFlowTypes {
IElementType LITEFLOW_ALL_EXPRESS = new LiteFlowElementType("LITEFLOW_ALL_EXPRESS");
IElementType LITEFLOW_ARRAY_EXPRESS = new LiteFlowElementType("LITEFLOW_ARRAY_EXPRESS");
IElementType LITEFLOW_ASSIGN_EXPRESS = new LiteFlowElementType("LITEFLOW_ASSIGN_EXPRESS");
IElementType LITEFLOW_ASSIGN_STATEMENT = new LiteFlowElementType("LITEFLOW_ASSIGN_STATEMENT");
IElementType LITEFLOW_BOOLEAN = new LiteFlowElementType("LITEFLOW_BOOLEAN");
IElementType LITEFLOW_BREAK_STATEMENT = new LiteFlowElementType("LITEFLOW_BREAK_STATEMENT");
IElementType LITEFLOW_CODES = new LiteFlowElementType("LITEFLOW_CODES");
IElementType LITEFLOW_CONTINUE_STATEMENT = new LiteFlowElementType("LITEFLOW_CONTINUE_STATEMENT");
IElementType LITEFLOW_EL_VARIABLE_REF = new LiteFlowElementType("LITEFLOW_EL_VARIABLE_REF");
IElementType LITEFLOW_EXPRESS = new LiteFlowElementType("LITEFLOW_EXPRESS");
IElementType LITEFLOW_FN_INVOKE_EXPRESS = new LiteFlowElementType("LITEFLOW_FN_INVOKE_EXPRESS");
IElementType LITEFLOW_FN_INVOKE_STATEMENT = new LiteFlowElementType("LITEFLOW_FN_INVOKE_STATEMENT");
IElementType LITEFLOW_FN_PARAM_EXPRESS = new LiteFlowElementType("LITEFLOW_FN_PARAM_EXPRESS");
IElementType LITEFLOW_FOR_STATEMENT = new LiteFlowElementType("LITEFLOW_FOR_STATEMENT");
IElementType LITEFLOW_IF_STATEMENT = new LiteFlowElementType("LITEFLOW_IF_STATEMENT");
IElementType LITEFLOW_LITE_FLOW_ALL_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ALL_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_ALL_LOGIC_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ALL_LOGIC_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_AND_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_AND_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_ANY_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ANY_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_BREAK_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_BREAK_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_CATCH_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_CATCH_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_CONDITION_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_CONDITION_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_DATA_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_DATA_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_DEFAULT_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_DEFAULT_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_DO_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_DO_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_FINALLY_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_FINALLY_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_FOR_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_FOR_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_FOR_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_FOR_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_ID_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ID_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_2_ELIF_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_2_ELIF_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_2_ELIF_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_2_ELIF_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_2_ELSE_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_2_ELSE_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_2_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_2_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_2_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_2_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IF_3_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IF_3_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_IGNORE_ERROR_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_IGNORE_ERROR_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_ITERATOR_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ITERATOR_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_ITERATOR_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_ITERATOR_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_LOGIC_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_LOGIC_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_MAX_WAIT_SECONDS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_MAX_WAIT_SECONDS");
IElementType LITEFLOW_LITE_FLOW_MUST_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_MUST_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_NODE_REF = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NODE_REF");
IElementType LITEFLOW_LITE_FLOW_NODE_REF_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NODE_REF_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_NODE_REF_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NODE_REF_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_NODE_STRING_REF = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NODE_STRING_REF");
IElementType LITEFLOW_LITE_FLOW_NODE_STRING_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NODE_STRING_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_NOT_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_NOT_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_OR_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_OR_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_PARALLEL_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_PARALLEL_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_PLACEHOLDER_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_PLACEHOLDER_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_PLACE_HOLDER_STATEMENT = new LiteFlowElementType("LITEFLOW_LITE_FLOW_PLACE_HOLDER_STATEMENT");
IElementType LITEFLOW_LITE_FLOW_PRE_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_PRE_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_STATEMENT = new LiteFlowElementType("LITEFLOW_LITE_FLOW_STATEMENT");
IElementType LITEFLOW_LITE_FLOW_SWITCH_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_SWITCH_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_TAG_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_TAG_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_THEN_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_THEN_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_THREAD_POOL_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_THREAD_POOL_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_TO_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_TO_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_WHEN_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_WHEN_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_WHEN_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_WHEN_SUB_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_WHILE_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_WHILE_EXPRESS");
IElementType LITEFLOW_LITE_FLOW_WHILE_SUB_EXPRESS = new LiteFlowElementType("LITEFLOW_LITE_FLOW_WHILE_SUB_EXPRESS");
IElementType LITEFLOW_NEW_EXPRESS = new LiteFlowElementType("LITEFLOW_NEW_EXPRESS");
IElementType LITEFLOW_NEW_STATEMENT = new LiteFlowElementType("LITEFLOW_NEW_STATEMENT");
IElementType LITEFLOW_OP = new LiteFlowElementType("LITEFLOW_OP");
IElementType LITEFLOW_OP_EXPRESS = new LiteFlowElementType("LITEFLOW_OP_EXPRESS");
IElementType LITEFLOW_OP_SELF_EXPRESS = new LiteFlowElementType("LITEFLOW_OP_SELF_EXPRESS");
IElementType LITEFLOW_OP_SELF_STATEMENT = new LiteFlowElementType("LITEFLOW_OP_SELF_STATEMENT");
IElementType LITEFLOW_REF_EXPRESS = new LiteFlowElementType("LITEFLOW_REF_EXPRESS");
IElementType LITEFLOW_RETURN_STATEMENT = new LiteFlowElementType("LITEFLOW_RETURN_STATEMENT");
IElementType LITEFLOW_STATEMENT = new LiteFlowElementType("LITEFLOW_STATEMENT");
IElementType LITEFLOW_SUB_ALL_EXPRESS = new LiteFlowElementType("LITEFLOW_SUB_ALL_EXPRESS");
IElementType LITEFLOW_THREE_EXPRESS = new LiteFlowElementType("LITEFLOW_THREE_EXPRESS");
IElementType LITEFLOW_THREE_STATEMENT = new LiteFlowElementType("LITEFLOW_THREE_STATEMENT");
IElementType LITEFLOW_TYPE_REF = new LiteFlowElementType("LITEFLOW_TYPE_REF");
IElementType LITEFLOW_USE_ARRAY_EXPRESS = new LiteFlowElementType("LITEFLOW_USE_ARRAY_EXPRESS");
IElementType LITEFLOW_VALUE = new LiteFlowElementType("LITEFLOW_VALUE");
IElementType LITEFLOW_WHILE_STATEMENT = new LiteFlowElementType("LITEFLOW_WHILE_STATEMENT");
IElementType LITEFLOW_ALIAS = new LiteFlowTokenType("alias");
IElementType LITEFLOW_ANONYMOUSNEWARRAY = new LiteFlowTokenType("anonymousNewArray");
IElementType LITEFLOW_ANY = new LiteFlowTokenType("any");
IElementType LITEFLOW_ARRAY = new LiteFlowTokenType("array");
IElementType LITEFLOW_ASSIGN = new LiteFlowTokenType("=");
IElementType LITEFLOW_BIT_AND = new LiteFlowTokenType("&");
IElementType LITEFLOW_BIT_OR = new LiteFlowTokenType("|");
IElementType LITEFLOW_BIT_XOR = new LiteFlowTokenType("^");
IElementType LITEFLOW_BLOCK_COMMENT = new LiteFlowTokenType("block_comment");
IElementType LITEFLOW_BRACE_LEFT = new LiteFlowTokenType("{");
IElementType LITEFLOW_BRACE_RIGHT = new LiteFlowTokenType("}");
IElementType LITEFLOW_BRACK_LEFT = new LiteFlowTokenType("[");
IElementType LITEFLOW_BRACK_RIGHT = new LiteFlowTokenType("]");
IElementType LITEFLOW_BREAK = new LiteFlowTokenType("break");
IElementType LITEFLOW_CAST = new LiteFlowTokenType("cast");
IElementType LITEFLOW_CLASS = new LiteFlowTokenType("class");
IElementType LITEFLOW_COLON = new LiteFlowTokenType(":");
IElementType LITEFLOW_COMMA = new LiteFlowTokenType(",");
IElementType LITEFLOW_COND_AND = new LiteFlowTokenType("&&");
IElementType LITEFLOW_COND_OR = new LiteFlowTokenType("||");
IElementType LITEFLOW_CONTINUE = new LiteFlowTokenType("continue");
IElementType LITEFLOW_DATA = new LiteFlowTokenType("data");
IElementType LITEFLOW_DEF = new LiteFlowTokenType("def");
IElementType LITEFLOW_DEFAULT = new LiteFlowTokenType("DEFAULT");
IElementType LITEFLOW_DO = new LiteFlowTokenType("DO");
IElementType LITEFLOW_DOT = new LiteFlowTokenType(".");
IElementType LITEFLOW_ELSE = new LiteFlowTokenType("else");
IElementType LITEFLOW_EQ = new LiteFlowTokenType("==");
IElementType LITEFLOW_EXPORTALIAS = new LiteFlowTokenType("exportAlias");
IElementType LITEFLOW_EXPORTDEF = new LiteFlowTokenType("exportDef");
IElementType LITEFLOW_FALSE = new LiteFlowTokenType("false");
IElementType LITEFLOW_FINALLY = new LiteFlowTokenType("FINALLY");
IElementType LITEFLOW_FOR = new LiteFlowTokenType("for");
IElementType LITEFLOW_FUNCTION = new LiteFlowTokenType("function");
IElementType LITEFLOW_GREATER = new LiteFlowTokenType(">");
IElementType LITEFLOW_GREATER_OR_EQUAL = new LiteFlowTokenType(">=");
IElementType LITEFLOW_ID = new LiteFlowTokenType("id");
IElementType LITEFLOW_IDENTIFIER = new LiteFlowTokenType("identifier");
IElementType LITEFLOW_IF = new LiteFlowTokenType("if");
IElementType LITEFLOW_IGNOREERROR = new LiteFlowTokenType("ignoreError");
IElementType LITEFLOW_IN = new LiteFlowTokenType("in");
IElementType LITEFLOW_LAND = new LiteFlowTokenType("AND");
IElementType LITEFLOW_LBREAK = new LiteFlowTokenType("BREAK");
IElementType LITEFLOW_LCATCH = new LiteFlowTokenType("CATCH");
IElementType LITEFLOW_LELIF = new LiteFlowTokenType("ELIF");
IElementType LITEFLOW_LELSE = new LiteFlowTokenType("ELSE");
IElementType LITEFLOW_LESS = new LiteFlowTokenType("<");
IElementType LITEFLOW_LESS_OR_EQUAL = new LiteFlowTokenType("<=");
IElementType LITEFLOW_LFOR = new LiteFlowTokenType("FOR");
IElementType LITEFLOW_LIF = new LiteFlowTokenType("IF");
IElementType LITEFLOW_LIKE = new LiteFlowTokenType("like");
IElementType LITEFLOW_LINE_COMMENT = new LiteFlowTokenType("line_comment");
IElementType LITEFLOW_LITERATOR = new LiteFlowTokenType("ITERATOR");
IElementType LITEFLOW_LNOT = new LiteFlowTokenType("NOT");
IElementType LITEFLOW_LOR = new LiteFlowTokenType("OR");
IElementType LITEFLOW_LWHILE = new LiteFlowTokenType("WHILE");
IElementType LITEFLOW_MACRO = new LiteFlowTokenType("macro");
IElementType LITEFLOW_MAXWAITSECONDS = new LiteFlowTokenType("maxWaitSeconds");
IElementType LITEFLOW_MINUS = new LiteFlowTokenType("-");
IElementType LITEFLOW_MINUS_MINUS = new LiteFlowTokenType("--");
IElementType LITEFLOW_MOD = new LiteFlowTokenType("mod");
IElementType LITEFLOW_MUL = new LiteFlowTokenType("*");
IElementType LITEFLOW_MUST = new LiteFlowTokenType("must");
IElementType LITEFLOW_NEW = new LiteFlowTokenType("new");
IElementType LITEFLOW_NODE = new LiteFlowTokenType("node");
IElementType LITEFLOW_NOR = new LiteFlowTokenType("nor");
IElementType LITEFLOW_NOT = new LiteFlowTokenType("!");
IElementType LITEFLOW_NOT_EQ = new LiteFlowTokenType("!=");
IElementType LITEFLOW_NULL = new LiteFlowTokenType("null");
IElementType LITEFLOW_NUMBER = new LiteFlowTokenType("number");
IElementType LITEFLOW_PARALLEL = new LiteFlowTokenType("parallel");
IElementType LITEFLOW_PAREN_LEFT = new LiteFlowTokenType("(");
IElementType LITEFLOW_PAREN_RIGHT = new LiteFlowTokenType(")");
IElementType LITEFLOW_PLUS = new LiteFlowTokenType("+");
IElementType LITEFLOW_PLUS_PLUS = new LiteFlowTokenType("++");
IElementType LITEFLOW_PRE = new LiteFlowTokenType("PRE");
IElementType LITEFLOW_QUESTION = new LiteFlowTokenType("?");
IElementType LITEFLOW_QUOTIENT = new LiteFlowTokenType("/");
IElementType LITEFLOW_REMAINDER = new LiteFlowTokenType("%");
IElementType LITEFLOW_RETURN = new LiteFlowTokenType("return");
IElementType LITEFLOW_SEMICOLON = new LiteFlowTokenType(";");
IElementType LITEFLOW_SHIFT_LEFT = new LiteFlowTokenType("<<");
IElementType LITEFLOW_SHIFT_RIGHT = new LiteFlowTokenType(">>");
IElementType LITEFLOW_STRING = new LiteFlowTokenType("string");
IElementType LITEFLOW_SWITCH = new LiteFlowTokenType("SWITCH");
IElementType LITEFLOW_TAG = new LiteFlowTokenType("tag");
IElementType LITEFLOW_THEN = new LiteFlowTokenType("THEN");
IElementType LITEFLOW_THREADPOOL = new LiteFlowTokenType("threadPool");
IElementType LITEFLOW_TO = new LiteFlowTokenType("to");
IElementType LITEFLOW_TRUE = new LiteFlowTokenType("true");
IElementType LITEFLOW_UNODE = new LiteFlowTokenType("NODE");
IElementType LITEFLOW_UTO = new LiteFlowTokenType("TO");
IElementType LITEFLOW_VCLASS = new LiteFlowTokenType("VClass");
IElementType LITEFLOW_WHEN = new LiteFlowTokenType("WHEN");
IElementType LITEFLOW_WHILE = new LiteFlowTokenType("while");
class Factory {
public static PsiElement createElement(ASTNode node) {
IElementType type = node.getElementType();
if (type == LITEFLOW_ALL_EXPRESS) {
return new LiteFlowAllExpressImpl(node);
}
else if (type == LITEFLOW_ARRAY_EXPRESS) {
return new LiteFlowArrayExpressImpl(node);
}
else if (type == LITEFLOW_ASSIGN_EXPRESS) {
return new LiteFlowAssignExpressImpl(node);
}
else if (type == LITEFLOW_ASSIGN_STATEMENT) {
return new LiteFlowAssignStatementImpl(node);
}
else if (type == LITEFLOW_BOOLEAN) {
return new LiteFlowBooleanImpl(node);
}
else if (type == LITEFLOW_BREAK_STATEMENT) {
return new LiteFlowBreakStatementImpl(node);
}
else if (type == LITEFLOW_CODES) {
return new LiteFlowCodesImpl(node);
}
else if (type == LITEFLOW_CONTINUE_STATEMENT) {
return new LiteFlowContinueStatementImpl(node);
}
else if (type == LITEFLOW_EL_VARIABLE_REF) {
return new LiteFlowElVariableRefImpl(node);
}
else if (type == LITEFLOW_EXPRESS) {
return new LiteFlowExpressImpl(node);
}
else if (type == LITEFLOW_FN_INVOKE_EXPRESS) {
return new LiteFlowFnInvokeExpressImpl(node);
}
else if (type == LITEFLOW_FN_INVOKE_STATEMENT) {
return new LiteFlowFnInvokeStatementImpl(node);
}
else if (type == LITEFLOW_FN_PARAM_EXPRESS) {
return new LiteFlowFnParamExpressImpl(node);
}
else if (type == LITEFLOW_FOR_STATEMENT) {
return new LiteFlowForStatementImpl(node);
}
else if (type == LITEFLOW_IF_STATEMENT) {
return new LiteFlowIfStatementImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ALL_EXPRESS) {
return new LiteFlowLiteFlowAllExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ALL_LOGIC_EXPRESS) {
return new LiteFlowLiteFlowAllLogicExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_AND_EXPRESS) {
return new LiteFlowLiteFlowAndExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ANY_EXPRESS) {
return new LiteFlowLiteFlowAnyExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_BREAK_EXPRESS) {
return new LiteFlowLiteFlowBreakExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_CATCH_EXPRESS) {
return new LiteFlowLiteFlowCatchExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_CONDITION_EXPRESS) {
return new LiteFlowLiteFlowConditionExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_DATA_EXPRESS) {
return new LiteFlowLiteFlowDataExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_DEFAULT_EXPRESS) {
return new LiteFlowLiteFlowDefaultExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_DO_EXPRESS) {
return new LiteFlowLiteFlowDoExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_FINALLY_EXPRESS) {
return new LiteFlowLiteFlowFinallyExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_FOR_EXPRESS) {
return new LiteFlowLiteFlowForExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_FOR_SUB_EXPRESS) {
return new LiteFlowLiteFlowForSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ID_EXPRESS) {
return new LiteFlowLiteFlowIdExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_2_ELIF_EXPRESS) {
return new LiteFlowLiteFlowIf2ElifExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_2_ELIF_SUB_EXPRESS) {
return new LiteFlowLiteFlowIf2ElifSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_2_ELSE_EXPRESS) {
return new LiteFlowLiteFlowIf2ElseExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_2_EXPRESS) {
return new LiteFlowLiteFlowIf2ExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_2_SUB_EXPRESS) {
return new LiteFlowLiteFlowIf2SubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IF_3_EXPRESS) {
return new LiteFlowLiteFlowIf3ExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_IGNORE_ERROR_EXPRESS) {
return new LiteFlowLiteFlowIgnoreErrorExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ITERATOR_EXPRESS) {
return new LiteFlowLiteFlowIteratorExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_ITERATOR_SUB_EXPRESS) {
return new LiteFlowLiteFlowIteratorSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_LOGIC_EXPRESS) {
return new LiteFlowLiteFlowLogicExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_MAX_WAIT_SECONDS) {
return new LiteFlowLiteFlowMaxWaitSecondsImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_MUST_EXPRESS) {
return new LiteFlowLiteFlowMustExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NODE_REF) {
return new LiteFlowLiteFlowNodeRefImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NODE_REF_EXPRESS) {
return new LiteFlowLiteFlowNodeRefExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NODE_REF_SUB_EXPRESS) {
return new LiteFlowLiteFlowNodeRefSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NODE_STRING_REF) {
return new LiteFlowLiteFlowNodeStringRefImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NODE_STRING_SUB_EXPRESS) {
return new LiteFlowLiteFlowNodeStringSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_NOT_EXPRESS) {
return new LiteFlowLiteFlowNotExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_OR_EXPRESS) {
return new LiteFlowLiteFlowOrExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_PARALLEL_EXPRESS) {
return new LiteFlowLiteFlowParallelExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_PLACEHOLDER_EXPRESS) {
return new LiteFlowLiteFlowPlaceholderExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_PLACE_HOLDER_STATEMENT) {
return new LiteFlowLiteFlowPlaceHolderStatementImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_PRE_EXPRESS) {
return new LiteFlowLiteFlowPreExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_STATEMENT) {
return new LiteFlowLiteFlowStatementImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_SWITCH_EXPRESS) {
return new LiteFlowLiteFlowSwitchExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_TAG_EXPRESS) {
return new LiteFlowLiteFlowTagExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_THEN_EXPRESS) {
return new LiteFlowLiteFlowThenExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_THREAD_POOL_EXPRESS) {
return new LiteFlowLiteFlowThreadPoolExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_TO_EXPRESS) {
return new LiteFlowLiteFlowToExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_WHEN_EXPRESS) {
return new LiteFlowLiteFlowWhenExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_WHEN_SUB_EXPRESS) {
return new LiteFlowLiteFlowWhenSubExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_WHILE_EXPRESS) {
return new LiteFlowLiteFlowWhileExpressImpl(node);
}
else if (type == LITEFLOW_LITE_FLOW_WHILE_SUB_EXPRESS) {
return new LiteFlowLiteFlowWhileSubExpressImpl(node);
}
else if (type == LITEFLOW_NEW_EXPRESS) {
return new LiteFlowNewExpressImpl(node);
}
else if (type == LITEFLOW_NEW_STATEMENT) {
return new LiteFlowNewStatementImpl(node);
}
else if (type == LITEFLOW_OP) {
return new LiteFlowOpImpl(node);
}
else if (type == LITEFLOW_OP_EXPRESS) {
return new LiteFlowOpExpressImpl(node);
}
else if (type == LITEFLOW_OP_SELF_EXPRESS) {
return new LiteFlowOpSelfExpressImpl(node);
}
else if (type == LITEFLOW_OP_SELF_STATEMENT) {
return new LiteFlowOpSelfStatementImpl(node);
}
else if (type == LITEFLOW_REF_EXPRESS) {
return new LiteFlowRefExpressImpl(node);
}
else if (type == LITEFLOW_RETURN_STATEMENT) {
return new LiteFlowReturnStatementImpl(node);
}
else if (type == LITEFLOW_STATEMENT) {
return new LiteFlowStatementImpl(node);
}
else if (type == LITEFLOW_SUB_ALL_EXPRESS) {
return new LiteFlowSubAllExpressImpl(node);
}
else if (type == LITEFLOW_THREE_EXPRESS) {
return new LiteFlowThreeExpressImpl(node);
}
else if (type == LITEFLOW_THREE_STATEMENT) {
return new LiteFlowThreeStatementImpl(node);
}
else if (type == LITEFLOW_TYPE_REF) {
return new LiteFlowTypeRefImpl(node);
}
else if (type == LITEFLOW_USE_ARRAY_EXPRESS) {
return new LiteFlowUseArrayExpressImpl(node);
}
else if (type == LITEFLOW_VALUE) {
return new LiteFlowValueImpl(node);
}
else if (type == LITEFLOW_WHILE_STATEMENT) {
return new LiteFlowWhileStatementImpl(node);
}
throw new AssertionError("Unknown element type: " + type);
}
}
}