expressir 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +46 -0
- data/.github/workflows/release.yml +74 -0
- data/.gitignore +1 -2
- data/.gitmodules +3 -0
- data/Gemfile +2 -0
- data/Rakefile +20 -0
- data/exe/generate-parser +48 -0
- data/expressir.gemspec +5 -2
- data/ext/express-parser/antlrgen/Express.interp +532 -0
- data/ext/express-parser/antlrgen/Express.tokens +190 -0
- data/ext/express-parser/antlrgen/ExpressBaseListener.cpp +7 -0
- data/ext/express-parser/antlrgen/ExpressBaseListener.h +623 -0
- data/ext/express-parser/antlrgen/ExpressBaseVisitor.cpp +7 -0
- data/ext/express-parser/antlrgen/ExpressBaseVisitor.h +816 -0
- data/ext/express-parser/antlrgen/ExpressLexer.cpp +1169 -0
- data/ext/express-parser/antlrgen/ExpressLexer.h +85 -0
- data/ext/express-parser/antlrgen/ExpressLexer.interp +534 -0
- data/ext/express-parser/antlrgen/ExpressLexer.tokens +190 -0
- data/ext/express-parser/antlrgen/ExpressListener.cpp +7 -0
- data/ext/express-parser/antlrgen/ExpressListener.h +616 -0
- data/ext/express-parser/antlrgen/ExpressParser.cpp +17284 -0
- data/ext/express-parser/antlrgen/ExpressParser.h +3696 -0
- data/ext/express-parser/antlrgen/ExpressVisitor.cpp +7 -0
- data/ext/express-parser/antlrgen/ExpressVisitor.h +422 -0
- data/ext/express-parser/express_parser.cpp +17931 -0
- data/ext/express-parser/extconf.rb +34 -0
- data/lib/expressir/express_exp/formatter.rb +50 -44
- data/lib/expressir/express_exp/parser.rb +12 -6
- data/lib/expressir/express_exp/visitor.rb +1377 -1068
- data/lib/expressir/model.rb +3 -0
- data/lib/expressir/model/attribute.rb +4 -5
- data/lib/expressir/model/constant.rb +3 -4
- data/lib/expressir/model/entity.rb +4 -4
- data/lib/expressir/model/enumeration_item.rb +1 -4
- data/lib/expressir/model/expressions/query_expression.rb +4 -4
- data/lib/expressir/model/function.rb +4 -4
- data/lib/expressir/model/identifier.rb +9 -0
- data/lib/expressir/model/parameter.rb +4 -5
- data/lib/expressir/model/procedure.rb +4 -4
- data/lib/expressir/model/repository.rb +2 -0
- data/lib/expressir/model/rule.rb +4 -4
- data/lib/expressir/model/schema.rb +3 -3
- data/lib/expressir/model/scope.rb +17 -0
- data/lib/expressir/model/statements/alias.rb +4 -4
- data/lib/expressir/model/statements/repeat.rb +4 -4
- data/lib/expressir/model/subtype_constraint.rb +9 -4
- data/lib/expressir/model/type.rb +4 -4
- data/lib/expressir/model/types/aggregate.rb +4 -5
- data/lib/expressir/model/types/generic.rb +2 -5
- data/lib/expressir/model/types/generic_entity.rb +2 -5
- data/lib/expressir/model/unique.rb +3 -4
- data/lib/expressir/model/variable.rb +3 -4
- data/lib/expressir/model/where.rb +3 -4
- data/lib/expressir/version.rb +1 -1
- data/original/examples/syntax/remark_formatted.exp +73 -71
- data/original/examples/syntax/syntax_formatted.exp +109 -98
- data/spec/expressir/express_exp/ap233_spec.rb +1 -1
- data/spec/expressir/express_exp/parse_syntax_spec.rb +30 -30
- data/spec/expressir/model/find_spec.rb +110 -0
- metadata +61 -15
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
- data/generate-parser.sh +0 -29
- data/lib/expressir/express_exp/generated/ExpressBaseVisitor.rb +0 -779
- data/lib/expressir/express_exp/generated/ExpressLexer.rb +0 -844
- data/lib/expressir/express_exp/generated/ExpressParser.rb +0 -12162
- data/lib/expressir/express_exp/generated/ExpressVisitor.rb +0 -394
@@ -0,0 +1,816 @@
|
|
1
|
+
|
2
|
+
// Generated from Express.g4 by ANTLR 4.8
|
3
|
+
|
4
|
+
#pragma once
|
5
|
+
|
6
|
+
|
7
|
+
#include "antlr4-runtime.h"
|
8
|
+
#include "ExpressVisitor.h"
|
9
|
+
|
10
|
+
|
11
|
+
/**
|
12
|
+
* This class provides an empty implementation of ExpressVisitor, which can be
|
13
|
+
* extended to create a visitor which only needs to handle a subset of the available methods.
|
14
|
+
*/
|
15
|
+
class ExpressBaseVisitor : public ExpressVisitor {
|
16
|
+
public:
|
17
|
+
|
18
|
+
virtual antlrcpp::Any visitAttributeRef(ExpressParser::AttributeRefContext *ctx) override {
|
19
|
+
return visitChildren(ctx);
|
20
|
+
}
|
21
|
+
|
22
|
+
virtual antlrcpp::Any visitConstantRef(ExpressParser::ConstantRefContext *ctx) override {
|
23
|
+
return visitChildren(ctx);
|
24
|
+
}
|
25
|
+
|
26
|
+
virtual antlrcpp::Any visitEntityRef(ExpressParser::EntityRefContext *ctx) override {
|
27
|
+
return visitChildren(ctx);
|
28
|
+
}
|
29
|
+
|
30
|
+
virtual antlrcpp::Any visitEnumerationRef(ExpressParser::EnumerationRefContext *ctx) override {
|
31
|
+
return visitChildren(ctx);
|
32
|
+
}
|
33
|
+
|
34
|
+
virtual antlrcpp::Any visitFunctionRef(ExpressParser::FunctionRefContext *ctx) override {
|
35
|
+
return visitChildren(ctx);
|
36
|
+
}
|
37
|
+
|
38
|
+
virtual antlrcpp::Any visitParameterRef(ExpressParser::ParameterRefContext *ctx) override {
|
39
|
+
return visitChildren(ctx);
|
40
|
+
}
|
41
|
+
|
42
|
+
virtual antlrcpp::Any visitProcedureRef(ExpressParser::ProcedureRefContext *ctx) override {
|
43
|
+
return visitChildren(ctx);
|
44
|
+
}
|
45
|
+
|
46
|
+
virtual antlrcpp::Any visitRuleLabelRef(ExpressParser::RuleLabelRefContext *ctx) override {
|
47
|
+
return visitChildren(ctx);
|
48
|
+
}
|
49
|
+
|
50
|
+
virtual antlrcpp::Any visitRuleRef(ExpressParser::RuleRefContext *ctx) override {
|
51
|
+
return visitChildren(ctx);
|
52
|
+
}
|
53
|
+
|
54
|
+
virtual antlrcpp::Any visitSchemaRef(ExpressParser::SchemaRefContext *ctx) override {
|
55
|
+
return visitChildren(ctx);
|
56
|
+
}
|
57
|
+
|
58
|
+
virtual antlrcpp::Any visitSubtypeConstraintRef(ExpressParser::SubtypeConstraintRefContext *ctx) override {
|
59
|
+
return visitChildren(ctx);
|
60
|
+
}
|
61
|
+
|
62
|
+
virtual antlrcpp::Any visitTypeLabelRef(ExpressParser::TypeLabelRefContext *ctx) override {
|
63
|
+
return visitChildren(ctx);
|
64
|
+
}
|
65
|
+
|
66
|
+
virtual antlrcpp::Any visitTypeRef(ExpressParser::TypeRefContext *ctx) override {
|
67
|
+
return visitChildren(ctx);
|
68
|
+
}
|
69
|
+
|
70
|
+
virtual antlrcpp::Any visitVariableRef(ExpressParser::VariableRefContext *ctx) override {
|
71
|
+
return visitChildren(ctx);
|
72
|
+
}
|
73
|
+
|
74
|
+
virtual antlrcpp::Any visitAbstractEntityDeclaration(ExpressParser::AbstractEntityDeclarationContext *ctx) override {
|
75
|
+
return visitChildren(ctx);
|
76
|
+
}
|
77
|
+
|
78
|
+
virtual antlrcpp::Any visitAbstractSupertype(ExpressParser::AbstractSupertypeContext *ctx) override {
|
79
|
+
return visitChildren(ctx);
|
80
|
+
}
|
81
|
+
|
82
|
+
virtual antlrcpp::Any visitAbstractSupertypeDeclaration(ExpressParser::AbstractSupertypeDeclarationContext *ctx) override {
|
83
|
+
return visitChildren(ctx);
|
84
|
+
}
|
85
|
+
|
86
|
+
virtual antlrcpp::Any visitActualParameterList(ExpressParser::ActualParameterListContext *ctx) override {
|
87
|
+
return visitChildren(ctx);
|
88
|
+
}
|
89
|
+
|
90
|
+
virtual antlrcpp::Any visitAddLikeOp(ExpressParser::AddLikeOpContext *ctx) override {
|
91
|
+
return visitChildren(ctx);
|
92
|
+
}
|
93
|
+
|
94
|
+
virtual antlrcpp::Any visitAggregateInitializer(ExpressParser::AggregateInitializerContext *ctx) override {
|
95
|
+
return visitChildren(ctx);
|
96
|
+
}
|
97
|
+
|
98
|
+
virtual antlrcpp::Any visitAggregateSource(ExpressParser::AggregateSourceContext *ctx) override {
|
99
|
+
return visitChildren(ctx);
|
100
|
+
}
|
101
|
+
|
102
|
+
virtual antlrcpp::Any visitAggregateType(ExpressParser::AggregateTypeContext *ctx) override {
|
103
|
+
return visitChildren(ctx);
|
104
|
+
}
|
105
|
+
|
106
|
+
virtual antlrcpp::Any visitAggregationTypes(ExpressParser::AggregationTypesContext *ctx) override {
|
107
|
+
return visitChildren(ctx);
|
108
|
+
}
|
109
|
+
|
110
|
+
virtual antlrcpp::Any visitAlgorithmHead(ExpressParser::AlgorithmHeadContext *ctx) override {
|
111
|
+
return visitChildren(ctx);
|
112
|
+
}
|
113
|
+
|
114
|
+
virtual antlrcpp::Any visitAliasStmt(ExpressParser::AliasStmtContext *ctx) override {
|
115
|
+
return visitChildren(ctx);
|
116
|
+
}
|
117
|
+
|
118
|
+
virtual antlrcpp::Any visitArrayType(ExpressParser::ArrayTypeContext *ctx) override {
|
119
|
+
return visitChildren(ctx);
|
120
|
+
}
|
121
|
+
|
122
|
+
virtual antlrcpp::Any visitAssignmentStmt(ExpressParser::AssignmentStmtContext *ctx) override {
|
123
|
+
return visitChildren(ctx);
|
124
|
+
}
|
125
|
+
|
126
|
+
virtual antlrcpp::Any visitAttributeDecl(ExpressParser::AttributeDeclContext *ctx) override {
|
127
|
+
return visitChildren(ctx);
|
128
|
+
}
|
129
|
+
|
130
|
+
virtual antlrcpp::Any visitAttributeId(ExpressParser::AttributeIdContext *ctx) override {
|
131
|
+
return visitChildren(ctx);
|
132
|
+
}
|
133
|
+
|
134
|
+
virtual antlrcpp::Any visitAttributeQualifier(ExpressParser::AttributeQualifierContext *ctx) override {
|
135
|
+
return visitChildren(ctx);
|
136
|
+
}
|
137
|
+
|
138
|
+
virtual antlrcpp::Any visitBagType(ExpressParser::BagTypeContext *ctx) override {
|
139
|
+
return visitChildren(ctx);
|
140
|
+
}
|
141
|
+
|
142
|
+
virtual antlrcpp::Any visitBinaryType(ExpressParser::BinaryTypeContext *ctx) override {
|
143
|
+
return visitChildren(ctx);
|
144
|
+
}
|
145
|
+
|
146
|
+
virtual antlrcpp::Any visitBooleanType(ExpressParser::BooleanTypeContext *ctx) override {
|
147
|
+
return visitChildren(ctx);
|
148
|
+
}
|
149
|
+
|
150
|
+
virtual antlrcpp::Any visitBound1(ExpressParser::Bound1Context *ctx) override {
|
151
|
+
return visitChildren(ctx);
|
152
|
+
}
|
153
|
+
|
154
|
+
virtual antlrcpp::Any visitBound2(ExpressParser::Bound2Context *ctx) override {
|
155
|
+
return visitChildren(ctx);
|
156
|
+
}
|
157
|
+
|
158
|
+
virtual antlrcpp::Any visitBoundSpec(ExpressParser::BoundSpecContext *ctx) override {
|
159
|
+
return visitChildren(ctx);
|
160
|
+
}
|
161
|
+
|
162
|
+
virtual antlrcpp::Any visitBuiltInConstant(ExpressParser::BuiltInConstantContext *ctx) override {
|
163
|
+
return visitChildren(ctx);
|
164
|
+
}
|
165
|
+
|
166
|
+
virtual antlrcpp::Any visitBuiltInFunction(ExpressParser::BuiltInFunctionContext *ctx) override {
|
167
|
+
return visitChildren(ctx);
|
168
|
+
}
|
169
|
+
|
170
|
+
virtual antlrcpp::Any visitBuiltInProcedure(ExpressParser::BuiltInProcedureContext *ctx) override {
|
171
|
+
return visitChildren(ctx);
|
172
|
+
}
|
173
|
+
|
174
|
+
virtual antlrcpp::Any visitCaseAction(ExpressParser::CaseActionContext *ctx) override {
|
175
|
+
return visitChildren(ctx);
|
176
|
+
}
|
177
|
+
|
178
|
+
virtual antlrcpp::Any visitCaseLabel(ExpressParser::CaseLabelContext *ctx) override {
|
179
|
+
return visitChildren(ctx);
|
180
|
+
}
|
181
|
+
|
182
|
+
virtual antlrcpp::Any visitCaseStmt(ExpressParser::CaseStmtContext *ctx) override {
|
183
|
+
return visitChildren(ctx);
|
184
|
+
}
|
185
|
+
|
186
|
+
virtual antlrcpp::Any visitCompoundStmt(ExpressParser::CompoundStmtContext *ctx) override {
|
187
|
+
return visitChildren(ctx);
|
188
|
+
}
|
189
|
+
|
190
|
+
virtual antlrcpp::Any visitConcreteTypes(ExpressParser::ConcreteTypesContext *ctx) override {
|
191
|
+
return visitChildren(ctx);
|
192
|
+
}
|
193
|
+
|
194
|
+
virtual antlrcpp::Any visitConstantBody(ExpressParser::ConstantBodyContext *ctx) override {
|
195
|
+
return visitChildren(ctx);
|
196
|
+
}
|
197
|
+
|
198
|
+
virtual antlrcpp::Any visitConstantDecl(ExpressParser::ConstantDeclContext *ctx) override {
|
199
|
+
return visitChildren(ctx);
|
200
|
+
}
|
201
|
+
|
202
|
+
virtual antlrcpp::Any visitConstantFactor(ExpressParser::ConstantFactorContext *ctx) override {
|
203
|
+
return visitChildren(ctx);
|
204
|
+
}
|
205
|
+
|
206
|
+
virtual antlrcpp::Any visitConstantId(ExpressParser::ConstantIdContext *ctx) override {
|
207
|
+
return visitChildren(ctx);
|
208
|
+
}
|
209
|
+
|
210
|
+
virtual antlrcpp::Any visitConstructedTypes(ExpressParser::ConstructedTypesContext *ctx) override {
|
211
|
+
return visitChildren(ctx);
|
212
|
+
}
|
213
|
+
|
214
|
+
virtual antlrcpp::Any visitDeclaration(ExpressParser::DeclarationContext *ctx) override {
|
215
|
+
return visitChildren(ctx);
|
216
|
+
}
|
217
|
+
|
218
|
+
virtual antlrcpp::Any visitDerivedAttr(ExpressParser::DerivedAttrContext *ctx) override {
|
219
|
+
return visitChildren(ctx);
|
220
|
+
}
|
221
|
+
|
222
|
+
virtual antlrcpp::Any visitDeriveClause(ExpressParser::DeriveClauseContext *ctx) override {
|
223
|
+
return visitChildren(ctx);
|
224
|
+
}
|
225
|
+
|
226
|
+
virtual antlrcpp::Any visitDomainRule(ExpressParser::DomainRuleContext *ctx) override {
|
227
|
+
return visitChildren(ctx);
|
228
|
+
}
|
229
|
+
|
230
|
+
virtual antlrcpp::Any visitElement(ExpressParser::ElementContext *ctx) override {
|
231
|
+
return visitChildren(ctx);
|
232
|
+
}
|
233
|
+
|
234
|
+
virtual antlrcpp::Any visitEntityBody(ExpressParser::EntityBodyContext *ctx) override {
|
235
|
+
return visitChildren(ctx);
|
236
|
+
}
|
237
|
+
|
238
|
+
virtual antlrcpp::Any visitEntityConstructor(ExpressParser::EntityConstructorContext *ctx) override {
|
239
|
+
return visitChildren(ctx);
|
240
|
+
}
|
241
|
+
|
242
|
+
virtual antlrcpp::Any visitEntityDecl(ExpressParser::EntityDeclContext *ctx) override {
|
243
|
+
return visitChildren(ctx);
|
244
|
+
}
|
245
|
+
|
246
|
+
virtual antlrcpp::Any visitEntityHead(ExpressParser::EntityHeadContext *ctx) override {
|
247
|
+
return visitChildren(ctx);
|
248
|
+
}
|
249
|
+
|
250
|
+
virtual antlrcpp::Any visitEntityId(ExpressParser::EntityIdContext *ctx) override {
|
251
|
+
return visitChildren(ctx);
|
252
|
+
}
|
253
|
+
|
254
|
+
virtual antlrcpp::Any visitEnumerationExtension(ExpressParser::EnumerationExtensionContext *ctx) override {
|
255
|
+
return visitChildren(ctx);
|
256
|
+
}
|
257
|
+
|
258
|
+
virtual antlrcpp::Any visitEnumerationId(ExpressParser::EnumerationIdContext *ctx) override {
|
259
|
+
return visitChildren(ctx);
|
260
|
+
}
|
261
|
+
|
262
|
+
virtual antlrcpp::Any visitEnumerationItems(ExpressParser::EnumerationItemsContext *ctx) override {
|
263
|
+
return visitChildren(ctx);
|
264
|
+
}
|
265
|
+
|
266
|
+
virtual antlrcpp::Any visitEnumerationItem(ExpressParser::EnumerationItemContext *ctx) override {
|
267
|
+
return visitChildren(ctx);
|
268
|
+
}
|
269
|
+
|
270
|
+
virtual antlrcpp::Any visitEnumerationReference(ExpressParser::EnumerationReferenceContext *ctx) override {
|
271
|
+
return visitChildren(ctx);
|
272
|
+
}
|
273
|
+
|
274
|
+
virtual antlrcpp::Any visitEnumerationType(ExpressParser::EnumerationTypeContext *ctx) override {
|
275
|
+
return visitChildren(ctx);
|
276
|
+
}
|
277
|
+
|
278
|
+
virtual antlrcpp::Any visitEscapeStmt(ExpressParser::EscapeStmtContext *ctx) override {
|
279
|
+
return visitChildren(ctx);
|
280
|
+
}
|
281
|
+
|
282
|
+
virtual antlrcpp::Any visitExplicitAttr(ExpressParser::ExplicitAttrContext *ctx) override {
|
283
|
+
return visitChildren(ctx);
|
284
|
+
}
|
285
|
+
|
286
|
+
virtual antlrcpp::Any visitExpression(ExpressParser::ExpressionContext *ctx) override {
|
287
|
+
return visitChildren(ctx);
|
288
|
+
}
|
289
|
+
|
290
|
+
virtual antlrcpp::Any visitFactor(ExpressParser::FactorContext *ctx) override {
|
291
|
+
return visitChildren(ctx);
|
292
|
+
}
|
293
|
+
|
294
|
+
virtual antlrcpp::Any visitFormalParameter(ExpressParser::FormalParameterContext *ctx) override {
|
295
|
+
return visitChildren(ctx);
|
296
|
+
}
|
297
|
+
|
298
|
+
virtual antlrcpp::Any visitFunctionCall(ExpressParser::FunctionCallContext *ctx) override {
|
299
|
+
return visitChildren(ctx);
|
300
|
+
}
|
301
|
+
|
302
|
+
virtual antlrcpp::Any visitFunctionDecl(ExpressParser::FunctionDeclContext *ctx) override {
|
303
|
+
return visitChildren(ctx);
|
304
|
+
}
|
305
|
+
|
306
|
+
virtual antlrcpp::Any visitFunctionHead(ExpressParser::FunctionHeadContext *ctx) override {
|
307
|
+
return visitChildren(ctx);
|
308
|
+
}
|
309
|
+
|
310
|
+
virtual antlrcpp::Any visitFunctionId(ExpressParser::FunctionIdContext *ctx) override {
|
311
|
+
return visitChildren(ctx);
|
312
|
+
}
|
313
|
+
|
314
|
+
virtual antlrcpp::Any visitGeneralizedTypes(ExpressParser::GeneralizedTypesContext *ctx) override {
|
315
|
+
return visitChildren(ctx);
|
316
|
+
}
|
317
|
+
|
318
|
+
virtual antlrcpp::Any visitGeneralAggregationTypes(ExpressParser::GeneralAggregationTypesContext *ctx) override {
|
319
|
+
return visitChildren(ctx);
|
320
|
+
}
|
321
|
+
|
322
|
+
virtual antlrcpp::Any visitGeneralArrayType(ExpressParser::GeneralArrayTypeContext *ctx) override {
|
323
|
+
return visitChildren(ctx);
|
324
|
+
}
|
325
|
+
|
326
|
+
virtual antlrcpp::Any visitGeneralBagType(ExpressParser::GeneralBagTypeContext *ctx) override {
|
327
|
+
return visitChildren(ctx);
|
328
|
+
}
|
329
|
+
|
330
|
+
virtual antlrcpp::Any visitGeneralListType(ExpressParser::GeneralListTypeContext *ctx) override {
|
331
|
+
return visitChildren(ctx);
|
332
|
+
}
|
333
|
+
|
334
|
+
virtual antlrcpp::Any visitGeneralRef(ExpressParser::GeneralRefContext *ctx) override {
|
335
|
+
return visitChildren(ctx);
|
336
|
+
}
|
337
|
+
|
338
|
+
virtual antlrcpp::Any visitGeneralSetType(ExpressParser::GeneralSetTypeContext *ctx) override {
|
339
|
+
return visitChildren(ctx);
|
340
|
+
}
|
341
|
+
|
342
|
+
virtual antlrcpp::Any visitGenericEntityType(ExpressParser::GenericEntityTypeContext *ctx) override {
|
343
|
+
return visitChildren(ctx);
|
344
|
+
}
|
345
|
+
|
346
|
+
virtual antlrcpp::Any visitGenericType(ExpressParser::GenericTypeContext *ctx) override {
|
347
|
+
return visitChildren(ctx);
|
348
|
+
}
|
349
|
+
|
350
|
+
virtual antlrcpp::Any visitGroupQualifier(ExpressParser::GroupQualifierContext *ctx) override {
|
351
|
+
return visitChildren(ctx);
|
352
|
+
}
|
353
|
+
|
354
|
+
virtual antlrcpp::Any visitIfStmt(ExpressParser::IfStmtContext *ctx) override {
|
355
|
+
return visitChildren(ctx);
|
356
|
+
}
|
357
|
+
|
358
|
+
virtual antlrcpp::Any visitIfStmtStatements(ExpressParser::IfStmtStatementsContext *ctx) override {
|
359
|
+
return visitChildren(ctx);
|
360
|
+
}
|
361
|
+
|
362
|
+
virtual antlrcpp::Any visitIfStmtElseStatements(ExpressParser::IfStmtElseStatementsContext *ctx) override {
|
363
|
+
return visitChildren(ctx);
|
364
|
+
}
|
365
|
+
|
366
|
+
virtual antlrcpp::Any visitIncrement(ExpressParser::IncrementContext *ctx) override {
|
367
|
+
return visitChildren(ctx);
|
368
|
+
}
|
369
|
+
|
370
|
+
virtual antlrcpp::Any visitIncrementControl(ExpressParser::IncrementControlContext *ctx) override {
|
371
|
+
return visitChildren(ctx);
|
372
|
+
}
|
373
|
+
|
374
|
+
virtual antlrcpp::Any visitIndex(ExpressParser::IndexContext *ctx) override {
|
375
|
+
return visitChildren(ctx);
|
376
|
+
}
|
377
|
+
|
378
|
+
virtual antlrcpp::Any visitIndex1(ExpressParser::Index1Context *ctx) override {
|
379
|
+
return visitChildren(ctx);
|
380
|
+
}
|
381
|
+
|
382
|
+
virtual antlrcpp::Any visitIndex2(ExpressParser::Index2Context *ctx) override {
|
383
|
+
return visitChildren(ctx);
|
384
|
+
}
|
385
|
+
|
386
|
+
virtual antlrcpp::Any visitIndexQualifier(ExpressParser::IndexQualifierContext *ctx) override {
|
387
|
+
return visitChildren(ctx);
|
388
|
+
}
|
389
|
+
|
390
|
+
virtual antlrcpp::Any visitInstantiableType(ExpressParser::InstantiableTypeContext *ctx) override {
|
391
|
+
return visitChildren(ctx);
|
392
|
+
}
|
393
|
+
|
394
|
+
virtual antlrcpp::Any visitIntegerType(ExpressParser::IntegerTypeContext *ctx) override {
|
395
|
+
return visitChildren(ctx);
|
396
|
+
}
|
397
|
+
|
398
|
+
virtual antlrcpp::Any visitInterfaceSpecification(ExpressParser::InterfaceSpecificationContext *ctx) override {
|
399
|
+
return visitChildren(ctx);
|
400
|
+
}
|
401
|
+
|
402
|
+
virtual antlrcpp::Any visitInterval(ExpressParser::IntervalContext *ctx) override {
|
403
|
+
return visitChildren(ctx);
|
404
|
+
}
|
405
|
+
|
406
|
+
virtual antlrcpp::Any visitIntervalHigh(ExpressParser::IntervalHighContext *ctx) override {
|
407
|
+
return visitChildren(ctx);
|
408
|
+
}
|
409
|
+
|
410
|
+
virtual antlrcpp::Any visitIntervalItem(ExpressParser::IntervalItemContext *ctx) override {
|
411
|
+
return visitChildren(ctx);
|
412
|
+
}
|
413
|
+
|
414
|
+
virtual antlrcpp::Any visitIntervalLow(ExpressParser::IntervalLowContext *ctx) override {
|
415
|
+
return visitChildren(ctx);
|
416
|
+
}
|
417
|
+
|
418
|
+
virtual antlrcpp::Any visitIntervalOp(ExpressParser::IntervalOpContext *ctx) override {
|
419
|
+
return visitChildren(ctx);
|
420
|
+
}
|
421
|
+
|
422
|
+
virtual antlrcpp::Any visitInverseAttr(ExpressParser::InverseAttrContext *ctx) override {
|
423
|
+
return visitChildren(ctx);
|
424
|
+
}
|
425
|
+
|
426
|
+
virtual antlrcpp::Any visitInverseAttrType(ExpressParser::InverseAttrTypeContext *ctx) override {
|
427
|
+
return visitChildren(ctx);
|
428
|
+
}
|
429
|
+
|
430
|
+
virtual antlrcpp::Any visitInverseClause(ExpressParser::InverseClauseContext *ctx) override {
|
431
|
+
return visitChildren(ctx);
|
432
|
+
}
|
433
|
+
|
434
|
+
virtual antlrcpp::Any visitListType(ExpressParser::ListTypeContext *ctx) override {
|
435
|
+
return visitChildren(ctx);
|
436
|
+
}
|
437
|
+
|
438
|
+
virtual antlrcpp::Any visitLiteral(ExpressParser::LiteralContext *ctx) override {
|
439
|
+
return visitChildren(ctx);
|
440
|
+
}
|
441
|
+
|
442
|
+
virtual antlrcpp::Any visitLocalDecl(ExpressParser::LocalDeclContext *ctx) override {
|
443
|
+
return visitChildren(ctx);
|
444
|
+
}
|
445
|
+
|
446
|
+
virtual antlrcpp::Any visitLocalVariable(ExpressParser::LocalVariableContext *ctx) override {
|
447
|
+
return visitChildren(ctx);
|
448
|
+
}
|
449
|
+
|
450
|
+
virtual antlrcpp::Any visitLogicalExpression(ExpressParser::LogicalExpressionContext *ctx) override {
|
451
|
+
return visitChildren(ctx);
|
452
|
+
}
|
453
|
+
|
454
|
+
virtual antlrcpp::Any visitLogicalLiteral(ExpressParser::LogicalLiteralContext *ctx) override {
|
455
|
+
return visitChildren(ctx);
|
456
|
+
}
|
457
|
+
|
458
|
+
virtual antlrcpp::Any visitLogicalType(ExpressParser::LogicalTypeContext *ctx) override {
|
459
|
+
return visitChildren(ctx);
|
460
|
+
}
|
461
|
+
|
462
|
+
virtual antlrcpp::Any visitMultiplicationLikeOp(ExpressParser::MultiplicationLikeOpContext *ctx) override {
|
463
|
+
return visitChildren(ctx);
|
464
|
+
}
|
465
|
+
|
466
|
+
virtual antlrcpp::Any visitNamedTypes(ExpressParser::NamedTypesContext *ctx) override {
|
467
|
+
return visitChildren(ctx);
|
468
|
+
}
|
469
|
+
|
470
|
+
virtual antlrcpp::Any visitNamedTypeOrRename(ExpressParser::NamedTypeOrRenameContext *ctx) override {
|
471
|
+
return visitChildren(ctx);
|
472
|
+
}
|
473
|
+
|
474
|
+
virtual antlrcpp::Any visitNullStmt(ExpressParser::NullStmtContext *ctx) override {
|
475
|
+
return visitChildren(ctx);
|
476
|
+
}
|
477
|
+
|
478
|
+
virtual antlrcpp::Any visitNumberType(ExpressParser::NumberTypeContext *ctx) override {
|
479
|
+
return visitChildren(ctx);
|
480
|
+
}
|
481
|
+
|
482
|
+
virtual antlrcpp::Any visitNumericExpression(ExpressParser::NumericExpressionContext *ctx) override {
|
483
|
+
return visitChildren(ctx);
|
484
|
+
}
|
485
|
+
|
486
|
+
virtual antlrcpp::Any visitOneOf(ExpressParser::OneOfContext *ctx) override {
|
487
|
+
return visitChildren(ctx);
|
488
|
+
}
|
489
|
+
|
490
|
+
virtual antlrcpp::Any visitParameter(ExpressParser::ParameterContext *ctx) override {
|
491
|
+
return visitChildren(ctx);
|
492
|
+
}
|
493
|
+
|
494
|
+
virtual antlrcpp::Any visitParameterId(ExpressParser::ParameterIdContext *ctx) override {
|
495
|
+
return visitChildren(ctx);
|
496
|
+
}
|
497
|
+
|
498
|
+
virtual antlrcpp::Any visitParameterType(ExpressParser::ParameterTypeContext *ctx) override {
|
499
|
+
return visitChildren(ctx);
|
500
|
+
}
|
501
|
+
|
502
|
+
virtual antlrcpp::Any visitPopulation(ExpressParser::PopulationContext *ctx) override {
|
503
|
+
return visitChildren(ctx);
|
504
|
+
}
|
505
|
+
|
506
|
+
virtual antlrcpp::Any visitPrecisionSpec(ExpressParser::PrecisionSpecContext *ctx) override {
|
507
|
+
return visitChildren(ctx);
|
508
|
+
}
|
509
|
+
|
510
|
+
virtual antlrcpp::Any visitPrimary(ExpressParser::PrimaryContext *ctx) override {
|
511
|
+
return visitChildren(ctx);
|
512
|
+
}
|
513
|
+
|
514
|
+
virtual antlrcpp::Any visitProcedureCallStmt(ExpressParser::ProcedureCallStmtContext *ctx) override {
|
515
|
+
return visitChildren(ctx);
|
516
|
+
}
|
517
|
+
|
518
|
+
virtual antlrcpp::Any visitProcedureDecl(ExpressParser::ProcedureDeclContext *ctx) override {
|
519
|
+
return visitChildren(ctx);
|
520
|
+
}
|
521
|
+
|
522
|
+
virtual antlrcpp::Any visitProcedureHead(ExpressParser::ProcedureHeadContext *ctx) override {
|
523
|
+
return visitChildren(ctx);
|
524
|
+
}
|
525
|
+
|
526
|
+
virtual antlrcpp::Any visitProcedureHeadParameter(ExpressParser::ProcedureHeadParameterContext *ctx) override {
|
527
|
+
return visitChildren(ctx);
|
528
|
+
}
|
529
|
+
|
530
|
+
virtual antlrcpp::Any visitProcedureId(ExpressParser::ProcedureIdContext *ctx) override {
|
531
|
+
return visitChildren(ctx);
|
532
|
+
}
|
533
|
+
|
534
|
+
virtual antlrcpp::Any visitQualifiableFactor(ExpressParser::QualifiableFactorContext *ctx) override {
|
535
|
+
return visitChildren(ctx);
|
536
|
+
}
|
537
|
+
|
538
|
+
virtual antlrcpp::Any visitQualifiedAttribute(ExpressParser::QualifiedAttributeContext *ctx) override {
|
539
|
+
return visitChildren(ctx);
|
540
|
+
}
|
541
|
+
|
542
|
+
virtual antlrcpp::Any visitQualifier(ExpressParser::QualifierContext *ctx) override {
|
543
|
+
return visitChildren(ctx);
|
544
|
+
}
|
545
|
+
|
546
|
+
virtual antlrcpp::Any visitQueryExpression(ExpressParser::QueryExpressionContext *ctx) override {
|
547
|
+
return visitChildren(ctx);
|
548
|
+
}
|
549
|
+
|
550
|
+
virtual antlrcpp::Any visitRealType(ExpressParser::RealTypeContext *ctx) override {
|
551
|
+
return visitChildren(ctx);
|
552
|
+
}
|
553
|
+
|
554
|
+
virtual antlrcpp::Any visitRedeclaredAttribute(ExpressParser::RedeclaredAttributeContext *ctx) override {
|
555
|
+
return visitChildren(ctx);
|
556
|
+
}
|
557
|
+
|
558
|
+
virtual antlrcpp::Any visitReferencedAttribute(ExpressParser::ReferencedAttributeContext *ctx) override {
|
559
|
+
return visitChildren(ctx);
|
560
|
+
}
|
561
|
+
|
562
|
+
virtual antlrcpp::Any visitReferenceClause(ExpressParser::ReferenceClauseContext *ctx) override {
|
563
|
+
return visitChildren(ctx);
|
564
|
+
}
|
565
|
+
|
566
|
+
virtual antlrcpp::Any visitRelOp(ExpressParser::RelOpContext *ctx) override {
|
567
|
+
return visitChildren(ctx);
|
568
|
+
}
|
569
|
+
|
570
|
+
virtual antlrcpp::Any visitRelOpExtended(ExpressParser::RelOpExtendedContext *ctx) override {
|
571
|
+
return visitChildren(ctx);
|
572
|
+
}
|
573
|
+
|
574
|
+
virtual antlrcpp::Any visitRenameId(ExpressParser::RenameIdContext *ctx) override {
|
575
|
+
return visitChildren(ctx);
|
576
|
+
}
|
577
|
+
|
578
|
+
virtual antlrcpp::Any visitRepeatControl(ExpressParser::RepeatControlContext *ctx) override {
|
579
|
+
return visitChildren(ctx);
|
580
|
+
}
|
581
|
+
|
582
|
+
virtual antlrcpp::Any visitRepeatStmt(ExpressParser::RepeatStmtContext *ctx) override {
|
583
|
+
return visitChildren(ctx);
|
584
|
+
}
|
585
|
+
|
586
|
+
virtual antlrcpp::Any visitRepetition(ExpressParser::RepetitionContext *ctx) override {
|
587
|
+
return visitChildren(ctx);
|
588
|
+
}
|
589
|
+
|
590
|
+
virtual antlrcpp::Any visitResourceOrRename(ExpressParser::ResourceOrRenameContext *ctx) override {
|
591
|
+
return visitChildren(ctx);
|
592
|
+
}
|
593
|
+
|
594
|
+
virtual antlrcpp::Any visitResourceRef(ExpressParser::ResourceRefContext *ctx) override {
|
595
|
+
return visitChildren(ctx);
|
596
|
+
}
|
597
|
+
|
598
|
+
virtual antlrcpp::Any visitReturnStmt(ExpressParser::ReturnStmtContext *ctx) override {
|
599
|
+
return visitChildren(ctx);
|
600
|
+
}
|
601
|
+
|
602
|
+
virtual antlrcpp::Any visitRuleDecl(ExpressParser::RuleDeclContext *ctx) override {
|
603
|
+
return visitChildren(ctx);
|
604
|
+
}
|
605
|
+
|
606
|
+
virtual antlrcpp::Any visitRuleHead(ExpressParser::RuleHeadContext *ctx) override {
|
607
|
+
return visitChildren(ctx);
|
608
|
+
}
|
609
|
+
|
610
|
+
virtual antlrcpp::Any visitRuleId(ExpressParser::RuleIdContext *ctx) override {
|
611
|
+
return visitChildren(ctx);
|
612
|
+
}
|
613
|
+
|
614
|
+
virtual antlrcpp::Any visitRuleLabelId(ExpressParser::RuleLabelIdContext *ctx) override {
|
615
|
+
return visitChildren(ctx);
|
616
|
+
}
|
617
|
+
|
618
|
+
virtual antlrcpp::Any visitSchemaBody(ExpressParser::SchemaBodyContext *ctx) override {
|
619
|
+
return visitChildren(ctx);
|
620
|
+
}
|
621
|
+
|
622
|
+
virtual antlrcpp::Any visitSchemaBodyDeclaration(ExpressParser::SchemaBodyDeclarationContext *ctx) override {
|
623
|
+
return visitChildren(ctx);
|
624
|
+
}
|
625
|
+
|
626
|
+
virtual antlrcpp::Any visitSchemaDecl(ExpressParser::SchemaDeclContext *ctx) override {
|
627
|
+
return visitChildren(ctx);
|
628
|
+
}
|
629
|
+
|
630
|
+
virtual antlrcpp::Any visitSchemaId(ExpressParser::SchemaIdContext *ctx) override {
|
631
|
+
return visitChildren(ctx);
|
632
|
+
}
|
633
|
+
|
634
|
+
virtual antlrcpp::Any visitSchemaVersionId(ExpressParser::SchemaVersionIdContext *ctx) override {
|
635
|
+
return visitChildren(ctx);
|
636
|
+
}
|
637
|
+
|
638
|
+
virtual antlrcpp::Any visitSelector(ExpressParser::SelectorContext *ctx) override {
|
639
|
+
return visitChildren(ctx);
|
640
|
+
}
|
641
|
+
|
642
|
+
virtual antlrcpp::Any visitSelectExtension(ExpressParser::SelectExtensionContext *ctx) override {
|
643
|
+
return visitChildren(ctx);
|
644
|
+
}
|
645
|
+
|
646
|
+
virtual antlrcpp::Any visitSelectList(ExpressParser::SelectListContext *ctx) override {
|
647
|
+
return visitChildren(ctx);
|
648
|
+
}
|
649
|
+
|
650
|
+
virtual antlrcpp::Any visitSelectType(ExpressParser::SelectTypeContext *ctx) override {
|
651
|
+
return visitChildren(ctx);
|
652
|
+
}
|
653
|
+
|
654
|
+
virtual antlrcpp::Any visitSetType(ExpressParser::SetTypeContext *ctx) override {
|
655
|
+
return visitChildren(ctx);
|
656
|
+
}
|
657
|
+
|
658
|
+
virtual antlrcpp::Any visitSimpleExpression(ExpressParser::SimpleExpressionContext *ctx) override {
|
659
|
+
return visitChildren(ctx);
|
660
|
+
}
|
661
|
+
|
662
|
+
virtual antlrcpp::Any visitSimpleFactor(ExpressParser::SimpleFactorContext *ctx) override {
|
663
|
+
return visitChildren(ctx);
|
664
|
+
}
|
665
|
+
|
666
|
+
virtual antlrcpp::Any visitSimpleFactorExpression(ExpressParser::SimpleFactorExpressionContext *ctx) override {
|
667
|
+
return visitChildren(ctx);
|
668
|
+
}
|
669
|
+
|
670
|
+
virtual antlrcpp::Any visitSimpleFactorUnaryExpression(ExpressParser::SimpleFactorUnaryExpressionContext *ctx) override {
|
671
|
+
return visitChildren(ctx);
|
672
|
+
}
|
673
|
+
|
674
|
+
virtual antlrcpp::Any visitSimpleTypes(ExpressParser::SimpleTypesContext *ctx) override {
|
675
|
+
return visitChildren(ctx);
|
676
|
+
}
|
677
|
+
|
678
|
+
virtual antlrcpp::Any visitSkipStmt(ExpressParser::SkipStmtContext *ctx) override {
|
679
|
+
return visitChildren(ctx);
|
680
|
+
}
|
681
|
+
|
682
|
+
virtual antlrcpp::Any visitStmt(ExpressParser::StmtContext *ctx) override {
|
683
|
+
return visitChildren(ctx);
|
684
|
+
}
|
685
|
+
|
686
|
+
virtual antlrcpp::Any visitStringLiteral(ExpressParser::StringLiteralContext *ctx) override {
|
687
|
+
return visitChildren(ctx);
|
688
|
+
}
|
689
|
+
|
690
|
+
virtual antlrcpp::Any visitStringType(ExpressParser::StringTypeContext *ctx) override {
|
691
|
+
return visitChildren(ctx);
|
692
|
+
}
|
693
|
+
|
694
|
+
virtual antlrcpp::Any visitSubsuper(ExpressParser::SubsuperContext *ctx) override {
|
695
|
+
return visitChildren(ctx);
|
696
|
+
}
|
697
|
+
|
698
|
+
virtual antlrcpp::Any visitSubtypeConstraint(ExpressParser::SubtypeConstraintContext *ctx) override {
|
699
|
+
return visitChildren(ctx);
|
700
|
+
}
|
701
|
+
|
702
|
+
virtual antlrcpp::Any visitSubtypeConstraintBody(ExpressParser::SubtypeConstraintBodyContext *ctx) override {
|
703
|
+
return visitChildren(ctx);
|
704
|
+
}
|
705
|
+
|
706
|
+
virtual antlrcpp::Any visitSubtypeConstraintDecl(ExpressParser::SubtypeConstraintDeclContext *ctx) override {
|
707
|
+
return visitChildren(ctx);
|
708
|
+
}
|
709
|
+
|
710
|
+
virtual antlrcpp::Any visitSubtypeConstraintHead(ExpressParser::SubtypeConstraintHeadContext *ctx) override {
|
711
|
+
return visitChildren(ctx);
|
712
|
+
}
|
713
|
+
|
714
|
+
virtual antlrcpp::Any visitSubtypeConstraintId(ExpressParser::SubtypeConstraintIdContext *ctx) override {
|
715
|
+
return visitChildren(ctx);
|
716
|
+
}
|
717
|
+
|
718
|
+
virtual antlrcpp::Any visitSubtypeDeclaration(ExpressParser::SubtypeDeclarationContext *ctx) override {
|
719
|
+
return visitChildren(ctx);
|
720
|
+
}
|
721
|
+
|
722
|
+
virtual antlrcpp::Any visitSupertypeConstraint(ExpressParser::SupertypeConstraintContext *ctx) override {
|
723
|
+
return visitChildren(ctx);
|
724
|
+
}
|
725
|
+
|
726
|
+
virtual antlrcpp::Any visitSupertypeExpression(ExpressParser::SupertypeExpressionContext *ctx) override {
|
727
|
+
return visitChildren(ctx);
|
728
|
+
}
|
729
|
+
|
730
|
+
virtual antlrcpp::Any visitSupertypeFactor(ExpressParser::SupertypeFactorContext *ctx) override {
|
731
|
+
return visitChildren(ctx);
|
732
|
+
}
|
733
|
+
|
734
|
+
virtual antlrcpp::Any visitSupertypeRule(ExpressParser::SupertypeRuleContext *ctx) override {
|
735
|
+
return visitChildren(ctx);
|
736
|
+
}
|
737
|
+
|
738
|
+
virtual antlrcpp::Any visitSupertypeTerm(ExpressParser::SupertypeTermContext *ctx) override {
|
739
|
+
return visitChildren(ctx);
|
740
|
+
}
|
741
|
+
|
742
|
+
virtual antlrcpp::Any visitSyntax(ExpressParser::SyntaxContext *ctx) override {
|
743
|
+
return visitChildren(ctx);
|
744
|
+
}
|
745
|
+
|
746
|
+
virtual antlrcpp::Any visitTerm(ExpressParser::TermContext *ctx) override {
|
747
|
+
return visitChildren(ctx);
|
748
|
+
}
|
749
|
+
|
750
|
+
virtual antlrcpp::Any visitTotalOver(ExpressParser::TotalOverContext *ctx) override {
|
751
|
+
return visitChildren(ctx);
|
752
|
+
}
|
753
|
+
|
754
|
+
virtual antlrcpp::Any visitTypeDecl(ExpressParser::TypeDeclContext *ctx) override {
|
755
|
+
return visitChildren(ctx);
|
756
|
+
}
|
757
|
+
|
758
|
+
virtual antlrcpp::Any visitTypeId(ExpressParser::TypeIdContext *ctx) override {
|
759
|
+
return visitChildren(ctx);
|
760
|
+
}
|
761
|
+
|
762
|
+
virtual antlrcpp::Any visitTypeLabel(ExpressParser::TypeLabelContext *ctx) override {
|
763
|
+
return visitChildren(ctx);
|
764
|
+
}
|
765
|
+
|
766
|
+
virtual antlrcpp::Any visitTypeLabelId(ExpressParser::TypeLabelIdContext *ctx) override {
|
767
|
+
return visitChildren(ctx);
|
768
|
+
}
|
769
|
+
|
770
|
+
virtual antlrcpp::Any visitUnaryOp(ExpressParser::UnaryOpContext *ctx) override {
|
771
|
+
return visitChildren(ctx);
|
772
|
+
}
|
773
|
+
|
774
|
+
virtual antlrcpp::Any visitUnderlyingType(ExpressParser::UnderlyingTypeContext *ctx) override {
|
775
|
+
return visitChildren(ctx);
|
776
|
+
}
|
777
|
+
|
778
|
+
virtual antlrcpp::Any visitUniqueClause(ExpressParser::UniqueClauseContext *ctx) override {
|
779
|
+
return visitChildren(ctx);
|
780
|
+
}
|
781
|
+
|
782
|
+
virtual antlrcpp::Any visitUniqueRule(ExpressParser::UniqueRuleContext *ctx) override {
|
783
|
+
return visitChildren(ctx);
|
784
|
+
}
|
785
|
+
|
786
|
+
virtual antlrcpp::Any visitUntilControl(ExpressParser::UntilControlContext *ctx) override {
|
787
|
+
return visitChildren(ctx);
|
788
|
+
}
|
789
|
+
|
790
|
+
virtual antlrcpp::Any visitUseClause(ExpressParser::UseClauseContext *ctx) override {
|
791
|
+
return visitChildren(ctx);
|
792
|
+
}
|
793
|
+
|
794
|
+
virtual antlrcpp::Any visitVariableId(ExpressParser::VariableIdContext *ctx) override {
|
795
|
+
return visitChildren(ctx);
|
796
|
+
}
|
797
|
+
|
798
|
+
virtual antlrcpp::Any visitWhereClause(ExpressParser::WhereClauseContext *ctx) override {
|
799
|
+
return visitChildren(ctx);
|
800
|
+
}
|
801
|
+
|
802
|
+
virtual antlrcpp::Any visitWhileControl(ExpressParser::WhileControlContext *ctx) override {
|
803
|
+
return visitChildren(ctx);
|
804
|
+
}
|
805
|
+
|
806
|
+
virtual antlrcpp::Any visitWidth(ExpressParser::WidthContext *ctx) override {
|
807
|
+
return visitChildren(ctx);
|
808
|
+
}
|
809
|
+
|
810
|
+
virtual antlrcpp::Any visitWidthSpec(ExpressParser::WidthSpecContext *ctx) override {
|
811
|
+
return visitChildren(ctx);
|
812
|
+
}
|
813
|
+
|
814
|
+
|
815
|
+
};
|
816
|
+
|