@aml-org/amf-antlr-parsers 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -0
- package/lib/internal/graphql/GraphQL.interp +223 -0
- package/lib/internal/graphql/GraphQL.tokens +130 -0
- package/lib/internal/graphql/GraphQLLexer.interp +239 -0
- package/lib/internal/graphql/GraphQLLexer.js +264 -0
- package/lib/internal/graphql/GraphQLLexer.tokens +130 -0
- package/lib/internal/graphql/GraphQLListener.js +727 -0
- package/lib/internal/graphql/GraphQLParser.js +8018 -0
- package/lib/internal/graphqlcb.js +90 -0
- package/lib/internal/graphqlcb.m.js +34 -0
- package/lib/internal/graphqlfederation/GraphQLFederation.interp +253 -0
- package/lib/internal/graphqlfederation/GraphQLFederation.tokens +148 -0
- package/lib/internal/graphqlfederation/GraphQLFederationLexer.interp +344 -0
- package/lib/internal/graphqlfederation/GraphQLFederationLexer.js +300 -0
- package/lib/internal/graphqlfederation/GraphQLFederationLexer.tokens +152 -0
- package/lib/internal/graphqlfederation/GraphQLFederationListener.js +823 -0
- package/lib/internal/graphqlfederation/GraphQLFederationParser.interp +324 -0
- package/lib/internal/graphqlfederation/GraphQLFederationParser.js +12033 -0
- package/lib/internal/graphqlfederation/GraphQLFederationParser.tokens +152 -0
- package/lib/internal/graphqlfederation/GraphQLFederationParserListener.js +975 -0
- package/lib/internal/graphqlfederationcb.js +90 -0
- package/lib/internal/graphqlfederationcb.m.js +35 -0
- package/lib/internal/proto3/Protobuf3.interp +200 -0
- package/lib/internal/proto3/Protobuf3.tokens +128 -0
- package/lib/internal/proto3/Protobuf3Lexer.interp +234 -0
- package/lib/internal/proto3/Protobuf3Lexer.js +262 -0
- package/lib/internal/proto3/Protobuf3Lexer.tokens +128 -0
- package/lib/internal/proto3/Protobuf3Listener.js +575 -0
- package/lib/internal/proto3/Protobuf3Parser.js +6767 -0
- package/lib/internal/protobuf3cb.js +90 -0
- package/lib/internal/protobuf3cb.m.js +34 -0
- package/package.json +23 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
FIELD_OPTIONS=1
|
|
2
|
+
ENUM_OPTIONS=2
|
|
3
|
+
ENUM_VALUE_OPTIONS=3
|
|
4
|
+
EXTENSION_RANGE_OPTIONS=4
|
|
5
|
+
MESSAGE_OPTIONS=5
|
|
6
|
+
METHOD_OPTIONS=6
|
|
7
|
+
SERVICE_OPTIONS=7
|
|
8
|
+
FILE_OPTIONS=8
|
|
9
|
+
ONEOF_OPTIONS=9
|
|
10
|
+
SYNTAX=10
|
|
11
|
+
IMPORT=11
|
|
12
|
+
EXTEND=12
|
|
13
|
+
WEAK=13
|
|
14
|
+
PUBLIC=14
|
|
15
|
+
PACKAGE=15
|
|
16
|
+
OPTION=16
|
|
17
|
+
REPEATED=17
|
|
18
|
+
ONEOF=18
|
|
19
|
+
MAP=19
|
|
20
|
+
INT32=20
|
|
21
|
+
INT64=21
|
|
22
|
+
UINT32=22
|
|
23
|
+
UINT64=23
|
|
24
|
+
SINT32=24
|
|
25
|
+
SINT64=25
|
|
26
|
+
FIXED32=26
|
|
27
|
+
FIXED64=27
|
|
28
|
+
SFIXED32=28
|
|
29
|
+
SFIXED64=29
|
|
30
|
+
BOOL=30
|
|
31
|
+
STRING=31
|
|
32
|
+
DOUBLE=32
|
|
33
|
+
FLOAT=33
|
|
34
|
+
BYTES=34
|
|
35
|
+
RESERVED=35
|
|
36
|
+
TO=36
|
|
37
|
+
MAX=37
|
|
38
|
+
ENUM=38
|
|
39
|
+
MESSAGE=39
|
|
40
|
+
SERVICE=40
|
|
41
|
+
RPC=41
|
|
42
|
+
STREAM=42
|
|
43
|
+
RETURNS=43
|
|
44
|
+
PROTO3_LIT_SINGLE=44
|
|
45
|
+
PROTO3_LIT_DOBULE=45
|
|
46
|
+
SEMI=46
|
|
47
|
+
EQ=47
|
|
48
|
+
LP=48
|
|
49
|
+
RP=49
|
|
50
|
+
LB=50
|
|
51
|
+
RB=51
|
|
52
|
+
LC=52
|
|
53
|
+
RC=53
|
|
54
|
+
LT=54
|
|
55
|
+
GT=55
|
|
56
|
+
DOT=56
|
|
57
|
+
COMMA=57
|
|
58
|
+
COLON=58
|
|
59
|
+
PLUS=59
|
|
60
|
+
MINUS=60
|
|
61
|
+
STR_LIT=61
|
|
62
|
+
BOOL_LIT=62
|
|
63
|
+
FLOAT_LIT=63
|
|
64
|
+
INT_LIT=64
|
|
65
|
+
IDENTIFIER=65
|
|
66
|
+
WS=66
|
|
67
|
+
LINE_COMMENT=67
|
|
68
|
+
COMMENT=68
|
|
69
|
+
'google.protobuf.FieldOptions'=1
|
|
70
|
+
'google.protobuf.EnumOptions'=2
|
|
71
|
+
'google.protobuf.EnumValueOptions'=3
|
|
72
|
+
'google.protobuf.ExtensionRangeOptions'=4
|
|
73
|
+
'google.protobuf.MessageOptions'=5
|
|
74
|
+
'google.protobuf.MethodOptions'=6
|
|
75
|
+
'google.protobuf.ServiceOptions'=7
|
|
76
|
+
'google.protobuf.FileOptions'=8
|
|
77
|
+
'google.protobuf.OneofOptions'=9
|
|
78
|
+
'syntax'=10
|
|
79
|
+
'import'=11
|
|
80
|
+
'extend'=12
|
|
81
|
+
'weak'=13
|
|
82
|
+
'public'=14
|
|
83
|
+
'package'=15
|
|
84
|
+
'option'=16
|
|
85
|
+
'repeated'=17
|
|
86
|
+
'oneof'=18
|
|
87
|
+
'map'=19
|
|
88
|
+
'int32'=20
|
|
89
|
+
'int64'=21
|
|
90
|
+
'uint32'=22
|
|
91
|
+
'uint64'=23
|
|
92
|
+
'sint32'=24
|
|
93
|
+
'sint64'=25
|
|
94
|
+
'fixed32'=26
|
|
95
|
+
'fixed64'=27
|
|
96
|
+
'sfixed32'=28
|
|
97
|
+
'sfixed64'=29
|
|
98
|
+
'bool'=30
|
|
99
|
+
'string'=31
|
|
100
|
+
'double'=32
|
|
101
|
+
'float'=33
|
|
102
|
+
'bytes'=34
|
|
103
|
+
'reserved'=35
|
|
104
|
+
'to'=36
|
|
105
|
+
'max'=37
|
|
106
|
+
'enum'=38
|
|
107
|
+
'message'=39
|
|
108
|
+
'service'=40
|
|
109
|
+
'rpc'=41
|
|
110
|
+
'stream'=42
|
|
111
|
+
'returns'=43
|
|
112
|
+
'"proto3"'=44
|
|
113
|
+
'\'proto3\''=45
|
|
114
|
+
';'=46
|
|
115
|
+
'='=47
|
|
116
|
+
'('=48
|
|
117
|
+
')'=49
|
|
118
|
+
'['=50
|
|
119
|
+
']'=51
|
|
120
|
+
'{'=52
|
|
121
|
+
'}'=53
|
|
122
|
+
'<'=54
|
|
123
|
+
'>'=55
|
|
124
|
+
'.'=56
|
|
125
|
+
','=57
|
|
126
|
+
':'=58
|
|
127
|
+
'+'=59
|
|
128
|
+
'-'=60
|
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
|
|
6
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
7
|
+
_typeof = function _typeof(obj) {
|
|
8
|
+
return typeof obj;
|
|
9
|
+
};
|
|
10
|
+
} else {
|
|
11
|
+
_typeof = function _typeof(obj) {
|
|
12
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return _typeof(obj);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
Object.defineProperty(exports, "__esModule", {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
exports["default"] = void 0;
|
|
23
|
+
|
|
24
|
+
var _antlr = _interopRequireDefault(require("antlr4"));
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) {
|
|
27
|
+
return obj && obj.__esModule ? obj : {
|
|
28
|
+
"default": obj
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function _classCallCheck(instance, Constructor) {
|
|
33
|
+
if (!(instance instanceof Constructor)) {
|
|
34
|
+
throw new TypeError("Cannot call a class as a function");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function _defineProperties(target, props) {
|
|
39
|
+
for (var i = 0; i < props.length; i++) {
|
|
40
|
+
var descriptor = props[i];
|
|
41
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
42
|
+
descriptor.configurable = true;
|
|
43
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
44
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
49
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
50
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
51
|
+
return Constructor;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function _inherits(subClass, superClass) {
|
|
55
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
56
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
60
|
+
constructor: {
|
|
61
|
+
value: subClass,
|
|
62
|
+
writable: true,
|
|
63
|
+
configurable: true
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function _setPrototypeOf(o, p) {
|
|
70
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
71
|
+
o.__proto__ = p;
|
|
72
|
+
return o;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
return _setPrototypeOf(o, p);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function _createSuper(Derived) {
|
|
79
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
80
|
+
|
|
81
|
+
return function _createSuperInternal() {
|
|
82
|
+
var Super = _getPrototypeOf(Derived),
|
|
83
|
+
result;
|
|
84
|
+
|
|
85
|
+
if (hasNativeReflectConstruct) {
|
|
86
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
87
|
+
|
|
88
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
89
|
+
} else {
|
|
90
|
+
result = Super.apply(this, arguments);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return _possibleConstructorReturn(this, result);
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function _possibleConstructorReturn(self, call) {
|
|
98
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
99
|
+
return call;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return _assertThisInitialized(self);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function _assertThisInitialized(self) {
|
|
106
|
+
if (self === void 0) {
|
|
107
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return self;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function _isNativeReflectConstruct() {
|
|
114
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
115
|
+
if (Reflect.construct.sham) return false;
|
|
116
|
+
if (typeof Proxy === "function") return true;
|
|
117
|
+
|
|
118
|
+
try {
|
|
119
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
120
|
+
return true;
|
|
121
|
+
} catch (e) {
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function _getPrototypeOf(o) {
|
|
127
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
128
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
129
|
+
};
|
|
130
|
+
return _getPrototypeOf(o);
|
|
131
|
+
} // This class defines a complete listener for a parse tree produced by Protobuf3Parser.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
var Protobuf3Listener = /*#__PURE__*/function (_antlr4$tree$ParseTre) {
|
|
135
|
+
_inherits(Protobuf3Listener, _antlr4$tree$ParseTre);
|
|
136
|
+
|
|
137
|
+
var _super = _createSuper(Protobuf3Listener);
|
|
138
|
+
|
|
139
|
+
function Protobuf3Listener() {
|
|
140
|
+
_classCallCheck(this, Protobuf3Listener);
|
|
141
|
+
|
|
142
|
+
return _super.apply(this, arguments);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
_createClass(Protobuf3Listener, [{
|
|
146
|
+
key: "enterProto",
|
|
147
|
+
value: // Enter a parse tree produced by Protobuf3Parser#proto.
|
|
148
|
+
function enterProto(ctx) {} // Exit a parse tree produced by Protobuf3Parser#proto.
|
|
149
|
+
|
|
150
|
+
}, {
|
|
151
|
+
key: "exitProto",
|
|
152
|
+
value: function exitProto(ctx) {} // Enter a parse tree produced by Protobuf3Parser#syntax.
|
|
153
|
+
|
|
154
|
+
}, {
|
|
155
|
+
key: "enterSyntax",
|
|
156
|
+
value: function enterSyntax(ctx) {} // Exit a parse tree produced by Protobuf3Parser#syntax.
|
|
157
|
+
|
|
158
|
+
}, {
|
|
159
|
+
key: "exitSyntax",
|
|
160
|
+
value: function exitSyntax(ctx) {} // Enter a parse tree produced by Protobuf3Parser#importStatement.
|
|
161
|
+
|
|
162
|
+
}, {
|
|
163
|
+
key: "enterImportStatement",
|
|
164
|
+
value: function enterImportStatement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#importStatement.
|
|
165
|
+
|
|
166
|
+
}, {
|
|
167
|
+
key: "exitImportStatement",
|
|
168
|
+
value: function exitImportStatement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#packageStatement.
|
|
169
|
+
|
|
170
|
+
}, {
|
|
171
|
+
key: "enterPackageStatement",
|
|
172
|
+
value: function enterPackageStatement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#packageStatement.
|
|
173
|
+
|
|
174
|
+
}, {
|
|
175
|
+
key: "exitPackageStatement",
|
|
176
|
+
value: function exitPackageStatement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#optionStatement.
|
|
177
|
+
|
|
178
|
+
}, {
|
|
179
|
+
key: "enterOptionStatement",
|
|
180
|
+
value: function enterOptionStatement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#optionStatement.
|
|
181
|
+
|
|
182
|
+
}, {
|
|
183
|
+
key: "exitOptionStatement",
|
|
184
|
+
value: function exitOptionStatement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#optionName.
|
|
185
|
+
|
|
186
|
+
}, {
|
|
187
|
+
key: "enterOptionName",
|
|
188
|
+
value: function enterOptionName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#optionName.
|
|
189
|
+
|
|
190
|
+
}, {
|
|
191
|
+
key: "exitOptionName",
|
|
192
|
+
value: function exitOptionName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#extendsStatement.
|
|
193
|
+
|
|
194
|
+
}, {
|
|
195
|
+
key: "enterExtendsStatement",
|
|
196
|
+
value: function enterExtendsStatement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#extendsStatement.
|
|
197
|
+
|
|
198
|
+
}, {
|
|
199
|
+
key: "exitExtendsStatement",
|
|
200
|
+
value: function exitExtendsStatement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#extendedIdentifier.
|
|
201
|
+
|
|
202
|
+
}, {
|
|
203
|
+
key: "enterExtendedIdentifier",
|
|
204
|
+
value: function enterExtendedIdentifier(ctx) {} // Exit a parse tree produced by Protobuf3Parser#extendedIdentifier.
|
|
205
|
+
|
|
206
|
+
}, {
|
|
207
|
+
key: "exitExtendedIdentifier",
|
|
208
|
+
value: function exitExtendedIdentifier(ctx) {} // Enter a parse tree produced by Protobuf3Parser#field.
|
|
209
|
+
|
|
210
|
+
}, {
|
|
211
|
+
key: "enterField",
|
|
212
|
+
value: function enterField(ctx) {} // Exit a parse tree produced by Protobuf3Parser#field.
|
|
213
|
+
|
|
214
|
+
}, {
|
|
215
|
+
key: "exitField",
|
|
216
|
+
value: function exitField(ctx) {} // Enter a parse tree produced by Protobuf3Parser#fieldOptions.
|
|
217
|
+
|
|
218
|
+
}, {
|
|
219
|
+
key: "enterFieldOptions",
|
|
220
|
+
value: function enterFieldOptions(ctx) {} // Exit a parse tree produced by Protobuf3Parser#fieldOptions.
|
|
221
|
+
|
|
222
|
+
}, {
|
|
223
|
+
key: "exitFieldOptions",
|
|
224
|
+
value: function exitFieldOptions(ctx) {} // Enter a parse tree produced by Protobuf3Parser#fieldOption.
|
|
225
|
+
|
|
226
|
+
}, {
|
|
227
|
+
key: "enterFieldOption",
|
|
228
|
+
value: function enterFieldOption(ctx) {} // Exit a parse tree produced by Protobuf3Parser#fieldOption.
|
|
229
|
+
|
|
230
|
+
}, {
|
|
231
|
+
key: "exitFieldOption",
|
|
232
|
+
value: function exitFieldOption(ctx) {} // Enter a parse tree produced by Protobuf3Parser#fieldNumber.
|
|
233
|
+
|
|
234
|
+
}, {
|
|
235
|
+
key: "enterFieldNumber",
|
|
236
|
+
value: function enterFieldNumber(ctx) {} // Exit a parse tree produced by Protobuf3Parser#fieldNumber.
|
|
237
|
+
|
|
238
|
+
}, {
|
|
239
|
+
key: "exitFieldNumber",
|
|
240
|
+
value: function exitFieldNumber(ctx) {} // Enter a parse tree produced by Protobuf3Parser#oneof.
|
|
241
|
+
|
|
242
|
+
}, {
|
|
243
|
+
key: "enterOneof",
|
|
244
|
+
value: function enterOneof(ctx) {} // Exit a parse tree produced by Protobuf3Parser#oneof.
|
|
245
|
+
|
|
246
|
+
}, {
|
|
247
|
+
key: "exitOneof",
|
|
248
|
+
value: function exitOneof(ctx) {} // Enter a parse tree produced by Protobuf3Parser#oneofField.
|
|
249
|
+
|
|
250
|
+
}, {
|
|
251
|
+
key: "enterOneofField",
|
|
252
|
+
value: function enterOneofField(ctx) {} // Exit a parse tree produced by Protobuf3Parser#oneofField.
|
|
253
|
+
|
|
254
|
+
}, {
|
|
255
|
+
key: "exitOneofField",
|
|
256
|
+
value: function exitOneofField(ctx) {} // Enter a parse tree produced by Protobuf3Parser#mapField.
|
|
257
|
+
|
|
258
|
+
}, {
|
|
259
|
+
key: "enterMapField",
|
|
260
|
+
value: function enterMapField(ctx) {} // Exit a parse tree produced by Protobuf3Parser#mapField.
|
|
261
|
+
|
|
262
|
+
}, {
|
|
263
|
+
key: "exitMapField",
|
|
264
|
+
value: function exitMapField(ctx) {} // Enter a parse tree produced by Protobuf3Parser#keyType.
|
|
265
|
+
|
|
266
|
+
}, {
|
|
267
|
+
key: "enterKeyType",
|
|
268
|
+
value: function enterKeyType(ctx) {} // Exit a parse tree produced by Protobuf3Parser#keyType.
|
|
269
|
+
|
|
270
|
+
}, {
|
|
271
|
+
key: "exitKeyType",
|
|
272
|
+
value: function exitKeyType(ctx) {} // Enter a parse tree produced by Protobuf3Parser#type_.
|
|
273
|
+
|
|
274
|
+
}, {
|
|
275
|
+
key: "enterType_",
|
|
276
|
+
value: function enterType_(ctx) {} // Exit a parse tree produced by Protobuf3Parser#type_.
|
|
277
|
+
|
|
278
|
+
}, {
|
|
279
|
+
key: "exitType_",
|
|
280
|
+
value: function exitType_(ctx) {} // Enter a parse tree produced by Protobuf3Parser#reserved.
|
|
281
|
+
|
|
282
|
+
}, {
|
|
283
|
+
key: "enterReserved",
|
|
284
|
+
value: function enterReserved(ctx) {} // Exit a parse tree produced by Protobuf3Parser#reserved.
|
|
285
|
+
|
|
286
|
+
}, {
|
|
287
|
+
key: "exitReserved",
|
|
288
|
+
value: function exitReserved(ctx) {} // Enter a parse tree produced by Protobuf3Parser#ranges.
|
|
289
|
+
|
|
290
|
+
}, {
|
|
291
|
+
key: "enterRanges",
|
|
292
|
+
value: function enterRanges(ctx) {} // Exit a parse tree produced by Protobuf3Parser#ranges.
|
|
293
|
+
|
|
294
|
+
}, {
|
|
295
|
+
key: "exitRanges",
|
|
296
|
+
value: function exitRanges(ctx) {} // Enter a parse tree produced by Protobuf3Parser#range_.
|
|
297
|
+
|
|
298
|
+
}, {
|
|
299
|
+
key: "enterRange_",
|
|
300
|
+
value: function enterRange_(ctx) {} // Exit a parse tree produced by Protobuf3Parser#range_.
|
|
301
|
+
|
|
302
|
+
}, {
|
|
303
|
+
key: "exitRange_",
|
|
304
|
+
value: function exitRange_(ctx) {} // Enter a parse tree produced by Protobuf3Parser#reservedFieldNames.
|
|
305
|
+
|
|
306
|
+
}, {
|
|
307
|
+
key: "enterReservedFieldNames",
|
|
308
|
+
value: function enterReservedFieldNames(ctx) {} // Exit a parse tree produced by Protobuf3Parser#reservedFieldNames.
|
|
309
|
+
|
|
310
|
+
}, {
|
|
311
|
+
key: "exitReservedFieldNames",
|
|
312
|
+
value: function exitReservedFieldNames(ctx) {} // Enter a parse tree produced by Protobuf3Parser#topLevelDef.
|
|
313
|
+
|
|
314
|
+
}, {
|
|
315
|
+
key: "enterTopLevelDef",
|
|
316
|
+
value: function enterTopLevelDef(ctx) {} // Exit a parse tree produced by Protobuf3Parser#topLevelDef.
|
|
317
|
+
|
|
318
|
+
}, {
|
|
319
|
+
key: "exitTopLevelDef",
|
|
320
|
+
value: function exitTopLevelDef(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumDef.
|
|
321
|
+
|
|
322
|
+
}, {
|
|
323
|
+
key: "enterEnumDef",
|
|
324
|
+
value: function enterEnumDef(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumDef.
|
|
325
|
+
|
|
326
|
+
}, {
|
|
327
|
+
key: "exitEnumDef",
|
|
328
|
+
value: function exitEnumDef(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumBody.
|
|
329
|
+
|
|
330
|
+
}, {
|
|
331
|
+
key: "enterEnumBody",
|
|
332
|
+
value: function enterEnumBody(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumBody.
|
|
333
|
+
|
|
334
|
+
}, {
|
|
335
|
+
key: "exitEnumBody",
|
|
336
|
+
value: function exitEnumBody(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumElement.
|
|
337
|
+
|
|
338
|
+
}, {
|
|
339
|
+
key: "enterEnumElement",
|
|
340
|
+
value: function enterEnumElement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumElement.
|
|
341
|
+
|
|
342
|
+
}, {
|
|
343
|
+
key: "exitEnumElement",
|
|
344
|
+
value: function exitEnumElement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumField.
|
|
345
|
+
|
|
346
|
+
}, {
|
|
347
|
+
key: "enterEnumField",
|
|
348
|
+
value: function enterEnumField(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumField.
|
|
349
|
+
|
|
350
|
+
}, {
|
|
351
|
+
key: "exitEnumField",
|
|
352
|
+
value: function exitEnumField(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumValueOptions.
|
|
353
|
+
|
|
354
|
+
}, {
|
|
355
|
+
key: "enterEnumValueOptions",
|
|
356
|
+
value: function enterEnumValueOptions(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumValueOptions.
|
|
357
|
+
|
|
358
|
+
}, {
|
|
359
|
+
key: "exitEnumValueOptions",
|
|
360
|
+
value: function exitEnumValueOptions(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumValueOption.
|
|
361
|
+
|
|
362
|
+
}, {
|
|
363
|
+
key: "enterEnumValueOption",
|
|
364
|
+
value: function enterEnumValueOption(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumValueOption.
|
|
365
|
+
|
|
366
|
+
}, {
|
|
367
|
+
key: "exitEnumValueOption",
|
|
368
|
+
value: function exitEnumValueOption(ctx) {} // Enter a parse tree produced by Protobuf3Parser#messageDef.
|
|
369
|
+
|
|
370
|
+
}, {
|
|
371
|
+
key: "enterMessageDef",
|
|
372
|
+
value: function enterMessageDef(ctx) {} // Exit a parse tree produced by Protobuf3Parser#messageDef.
|
|
373
|
+
|
|
374
|
+
}, {
|
|
375
|
+
key: "exitMessageDef",
|
|
376
|
+
value: function exitMessageDef(ctx) {} // Enter a parse tree produced by Protobuf3Parser#messageBody.
|
|
377
|
+
|
|
378
|
+
}, {
|
|
379
|
+
key: "enterMessageBody",
|
|
380
|
+
value: function enterMessageBody(ctx) {} // Exit a parse tree produced by Protobuf3Parser#messageBody.
|
|
381
|
+
|
|
382
|
+
}, {
|
|
383
|
+
key: "exitMessageBody",
|
|
384
|
+
value: function exitMessageBody(ctx) {} // Enter a parse tree produced by Protobuf3Parser#messageElement.
|
|
385
|
+
|
|
386
|
+
}, {
|
|
387
|
+
key: "enterMessageElement",
|
|
388
|
+
value: function enterMessageElement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#messageElement.
|
|
389
|
+
|
|
390
|
+
}, {
|
|
391
|
+
key: "exitMessageElement",
|
|
392
|
+
value: function exitMessageElement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#serviceDef.
|
|
393
|
+
|
|
394
|
+
}, {
|
|
395
|
+
key: "enterServiceDef",
|
|
396
|
+
value: function enterServiceDef(ctx) {} // Exit a parse tree produced by Protobuf3Parser#serviceDef.
|
|
397
|
+
|
|
398
|
+
}, {
|
|
399
|
+
key: "exitServiceDef",
|
|
400
|
+
value: function exitServiceDef(ctx) {} // Enter a parse tree produced by Protobuf3Parser#serviceElement.
|
|
401
|
+
|
|
402
|
+
}, {
|
|
403
|
+
key: "enterServiceElement",
|
|
404
|
+
value: function enterServiceElement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#serviceElement.
|
|
405
|
+
|
|
406
|
+
}, {
|
|
407
|
+
key: "exitServiceElement",
|
|
408
|
+
value: function exitServiceElement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#rpc.
|
|
409
|
+
|
|
410
|
+
}, {
|
|
411
|
+
key: "enterRpc",
|
|
412
|
+
value: function enterRpc(ctx) {} // Exit a parse tree produced by Protobuf3Parser#rpc.
|
|
413
|
+
|
|
414
|
+
}, {
|
|
415
|
+
key: "exitRpc",
|
|
416
|
+
value: function exitRpc(ctx) {} // Enter a parse tree produced by Protobuf3Parser#constant.
|
|
417
|
+
|
|
418
|
+
}, {
|
|
419
|
+
key: "enterConstant",
|
|
420
|
+
value: function enterConstant(ctx) {} // Exit a parse tree produced by Protobuf3Parser#constant.
|
|
421
|
+
|
|
422
|
+
}, {
|
|
423
|
+
key: "exitConstant",
|
|
424
|
+
value: function exitConstant(ctx) {} // Enter a parse tree produced by Protobuf3Parser#blockLit.
|
|
425
|
+
|
|
426
|
+
}, {
|
|
427
|
+
key: "enterBlockLit",
|
|
428
|
+
value: function enterBlockLit(ctx) {} // Exit a parse tree produced by Protobuf3Parser#blockLit.
|
|
429
|
+
|
|
430
|
+
}, {
|
|
431
|
+
key: "exitBlockLit",
|
|
432
|
+
value: function exitBlockLit(ctx) {} // Enter a parse tree produced by Protobuf3Parser#emptyStatement.
|
|
433
|
+
|
|
434
|
+
}, {
|
|
435
|
+
key: "enterEmptyStatement",
|
|
436
|
+
value: function enterEmptyStatement(ctx) {} // Exit a parse tree produced by Protobuf3Parser#emptyStatement.
|
|
437
|
+
|
|
438
|
+
}, {
|
|
439
|
+
key: "exitEmptyStatement",
|
|
440
|
+
value: function exitEmptyStatement(ctx) {} // Enter a parse tree produced by Protobuf3Parser#ident.
|
|
441
|
+
|
|
442
|
+
}, {
|
|
443
|
+
key: "enterIdent",
|
|
444
|
+
value: function enterIdent(ctx) {} // Exit a parse tree produced by Protobuf3Parser#ident.
|
|
445
|
+
|
|
446
|
+
}, {
|
|
447
|
+
key: "exitIdent",
|
|
448
|
+
value: function exitIdent(ctx) {} // Enter a parse tree produced by Protobuf3Parser#fullIdent.
|
|
449
|
+
|
|
450
|
+
}, {
|
|
451
|
+
key: "enterFullIdent",
|
|
452
|
+
value: function enterFullIdent(ctx) {} // Exit a parse tree produced by Protobuf3Parser#fullIdent.
|
|
453
|
+
|
|
454
|
+
}, {
|
|
455
|
+
key: "exitFullIdent",
|
|
456
|
+
value: function exitFullIdent(ctx) {} // Enter a parse tree produced by Protobuf3Parser#messageName.
|
|
457
|
+
|
|
458
|
+
}, {
|
|
459
|
+
key: "enterMessageName",
|
|
460
|
+
value: function enterMessageName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#messageName.
|
|
461
|
+
|
|
462
|
+
}, {
|
|
463
|
+
key: "exitMessageName",
|
|
464
|
+
value: function exitMessageName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumName.
|
|
465
|
+
|
|
466
|
+
}, {
|
|
467
|
+
key: "enterEnumName",
|
|
468
|
+
value: function enterEnumName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumName.
|
|
469
|
+
|
|
470
|
+
}, {
|
|
471
|
+
key: "exitEnumName",
|
|
472
|
+
value: function exitEnumName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#fieldName.
|
|
473
|
+
|
|
474
|
+
}, {
|
|
475
|
+
key: "enterFieldName",
|
|
476
|
+
value: function enterFieldName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#fieldName.
|
|
477
|
+
|
|
478
|
+
}, {
|
|
479
|
+
key: "exitFieldName",
|
|
480
|
+
value: function exitFieldName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#oneofName.
|
|
481
|
+
|
|
482
|
+
}, {
|
|
483
|
+
key: "enterOneofName",
|
|
484
|
+
value: function enterOneofName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#oneofName.
|
|
485
|
+
|
|
486
|
+
}, {
|
|
487
|
+
key: "exitOneofName",
|
|
488
|
+
value: function exitOneofName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#mapName.
|
|
489
|
+
|
|
490
|
+
}, {
|
|
491
|
+
key: "enterMapName",
|
|
492
|
+
value: function enterMapName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#mapName.
|
|
493
|
+
|
|
494
|
+
}, {
|
|
495
|
+
key: "exitMapName",
|
|
496
|
+
value: function exitMapName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#serviceName.
|
|
497
|
+
|
|
498
|
+
}, {
|
|
499
|
+
key: "enterServiceName",
|
|
500
|
+
value: function enterServiceName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#serviceName.
|
|
501
|
+
|
|
502
|
+
}, {
|
|
503
|
+
key: "exitServiceName",
|
|
504
|
+
value: function exitServiceName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#rpcName.
|
|
505
|
+
|
|
506
|
+
}, {
|
|
507
|
+
key: "enterRpcName",
|
|
508
|
+
value: function enterRpcName(ctx) {} // Exit a parse tree produced by Protobuf3Parser#rpcName.
|
|
509
|
+
|
|
510
|
+
}, {
|
|
511
|
+
key: "exitRpcName",
|
|
512
|
+
value: function exitRpcName(ctx) {} // Enter a parse tree produced by Protobuf3Parser#messageType.
|
|
513
|
+
|
|
514
|
+
}, {
|
|
515
|
+
key: "enterMessageType",
|
|
516
|
+
value: function enterMessageType(ctx) {} // Exit a parse tree produced by Protobuf3Parser#messageType.
|
|
517
|
+
|
|
518
|
+
}, {
|
|
519
|
+
key: "exitMessageType",
|
|
520
|
+
value: function exitMessageType(ctx) {} // Enter a parse tree produced by Protobuf3Parser#enumType.
|
|
521
|
+
|
|
522
|
+
}, {
|
|
523
|
+
key: "enterEnumType",
|
|
524
|
+
value: function enterEnumType(ctx) {} // Exit a parse tree produced by Protobuf3Parser#enumType.
|
|
525
|
+
|
|
526
|
+
}, {
|
|
527
|
+
key: "exitEnumType",
|
|
528
|
+
value: function exitEnumType(ctx) {} // Enter a parse tree produced by Protobuf3Parser#intLit.
|
|
529
|
+
|
|
530
|
+
}, {
|
|
531
|
+
key: "enterIntLit",
|
|
532
|
+
value: function enterIntLit(ctx) {} // Exit a parse tree produced by Protobuf3Parser#intLit.
|
|
533
|
+
|
|
534
|
+
}, {
|
|
535
|
+
key: "exitIntLit",
|
|
536
|
+
value: function exitIntLit(ctx) {} // Enter a parse tree produced by Protobuf3Parser#strLit.
|
|
537
|
+
|
|
538
|
+
}, {
|
|
539
|
+
key: "enterStrLit",
|
|
540
|
+
value: function enterStrLit(ctx) {} // Exit a parse tree produced by Protobuf3Parser#strLit.
|
|
541
|
+
|
|
542
|
+
}, {
|
|
543
|
+
key: "exitStrLit",
|
|
544
|
+
value: function exitStrLit(ctx) {} // Enter a parse tree produced by Protobuf3Parser#boolLit.
|
|
545
|
+
|
|
546
|
+
}, {
|
|
547
|
+
key: "enterBoolLit",
|
|
548
|
+
value: function enterBoolLit(ctx) {} // Exit a parse tree produced by Protobuf3Parser#boolLit.
|
|
549
|
+
|
|
550
|
+
}, {
|
|
551
|
+
key: "exitBoolLit",
|
|
552
|
+
value: function exitBoolLit(ctx) {} // Enter a parse tree produced by Protobuf3Parser#floatLit.
|
|
553
|
+
|
|
554
|
+
}, {
|
|
555
|
+
key: "enterFloatLit",
|
|
556
|
+
value: function enterFloatLit(ctx) {} // Exit a parse tree produced by Protobuf3Parser#floatLit.
|
|
557
|
+
|
|
558
|
+
}, {
|
|
559
|
+
key: "exitFloatLit",
|
|
560
|
+
value: function exitFloatLit(ctx) {} // Enter a parse tree produced by Protobuf3Parser#keywords.
|
|
561
|
+
|
|
562
|
+
}, {
|
|
563
|
+
key: "enterKeywords",
|
|
564
|
+
value: function enterKeywords(ctx) {} // Exit a parse tree produced by Protobuf3Parser#keywords.
|
|
565
|
+
|
|
566
|
+
}, {
|
|
567
|
+
key: "exitKeywords",
|
|
568
|
+
value: function exitKeywords(ctx) {}
|
|
569
|
+
}]);
|
|
570
|
+
|
|
571
|
+
return Protobuf3Listener;
|
|
572
|
+
}(_antlr["default"].tree.ParseTreeListener);
|
|
573
|
+
|
|
574
|
+
exports["default"] = Protobuf3Listener;
|
|
575
|
+
|