graphql 2.0.5 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/graphql/install_generator.rb +1 -1
- data/lib/generators/graphql/relay.rb +3 -17
- data/lib/graphql/execution/interpreter/resolve.rb +7 -0
- data/lib/graphql/execution/interpreter/runtime.rb +23 -3
- data/lib/graphql/execution/lazy.rb +0 -1
- data/lib/graphql/introspection/type_type.rb +1 -1
- data/lib/graphql/introspection.rb +1 -1
- data/lib/graphql/language/parser.rb +338 -327
- data/lib/graphql/language/parser.y +12 -8
- data/lib/graphql/language/printer.rb +9 -5
- data/lib/graphql/pagination/array_connection.rb +4 -2
- data/lib/graphql/schema/field.rb +41 -22
- data/lib/graphql/schema/loader.rb +1 -1
- data/lib/graphql/schema/member/has_fields.rb +1 -1
- data/lib/graphql/schema/resolver.rb +1 -1
- data/lib/graphql/schema/warden.rb +6 -2
- data/lib/graphql/schema.rb +17 -8
- data/lib/graphql/subscriptions.rb +15 -3
- data/lib/graphql/tracing/data_dog_tracing.rb +16 -1
- data/lib/graphql/tracing/platform_tracing.rb +4 -0
- data/lib/graphql/types/iso_8601_date.rb +4 -1
- data/lib/graphql/types/iso_8601_date_time.rb +4 -0
- data/lib/graphql/types/relay/base_connection.rb +16 -6
- data/lib/graphql/version.rb +1 -1
- metadata +2 -3
- data/lib/graphql/execution/lazy/resolve.rb +0 -91
@@ -12,7 +12,7 @@ module GraphQL
|
|
12
12
|
module Language
|
13
13
|
class Parser < Racc::Parser
|
14
14
|
|
15
|
-
module_eval(<<'...end parser.y/module_eval...', 'parser.y',
|
15
|
+
module_eval(<<'...end parser.y/module_eval...', 'parser.y', 448)
|
16
16
|
|
17
17
|
EMPTY_ARRAY = [].freeze
|
18
18
|
|
@@ -124,65 +124,65 @@ end
|
|
124
124
|
##### State transition tables begin ###
|
125
125
|
|
126
126
|
racc_action_table = [
|
127
|
-
-2, -
|
128
|
-
13, 14, 95,
|
127
|
+
-2, -170, 11, 281, 12, 13, 14, 11, -101, 12,
|
128
|
+
13, 14, 95, 269, 275, 94, 19, 38, 74, 75,
|
129
129
|
76, 19, 77, 78, 79, 80, 15, 35, 161, 121,
|
130
|
-
35, 15, 35, 12, 13, 14, 28, 35,
|
130
|
+
35, 15, 35, 12, 13, 14, 28, 35, 180, 276,
|
131
131
|
72, 28, 35, 35, 43, 44, 45, 46, 47, 48,
|
132
132
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 61,
|
133
|
-
12, 13, 14, -101, -101,
|
133
|
+
12, 13, 14, -101, -101, 279, 183, 72, 35, 88,
|
134
134
|
-154, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
135
135
|
52, 53, 54, 55, 56, 57, 91, 12, 13, 14,
|
136
|
-
|
136
|
+
280, 67, 90, 99, 35, 72, 72, -101, 43, 44,
|
137
137
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
138
|
-
55, 56, 57,
|
139
|
-
|
138
|
+
55, 56, 57, 227, 12, 13, 14, 72, 67, 35,
|
139
|
+
175, 12, 13, 14, 72, 43, 44, 45, 46, 47,
|
140
140
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
141
|
-
12, 13, 14,
|
142
|
-
|
143
|
-
52, 53, 54, 55, 56, 57,
|
144
|
-
14, 67,
|
145
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
146
|
-
|
147
|
-
12, 13, 14,
|
148
|
-
|
149
|
-
52,
|
150
|
-
|
151
|
-
|
152
|
-
50, 51, 52,
|
153
|
-
|
154
|
-
14, 72,
|
155
|
-
48, 49, 50, 51, 52,
|
156
|
-
|
157
|
-
|
158
|
-
46, 47, 48, 49, 50, 51, 52,
|
159
|
-
|
160
|
-
14, 72,
|
161
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
162
|
-
|
163
|
-
12, 13, 14,
|
164
|
-
|
165
|
-
52,
|
166
|
-
12, 13, 14,
|
167
|
-
|
168
|
-
52, 53, 54, 55, 56, 57,
|
169
|
-
72,
|
141
|
+
12, 13, 14, 81, 82, 67, 83, 84, 85, 86,
|
142
|
+
87, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
143
|
+
52, 53, 54, 55, 56, 57, 223, 102, 12, 13,
|
144
|
+
14, 67, 72, 221, 117, 72, 222, 121, 72, 204,
|
145
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
|
146
|
+
202, 203, 211, 212, 208, 209, 210, 220, 223, 72,
|
147
|
+
12, 13, 14, 132, 95, 221, 139, 72, 222, 259,
|
148
|
+
143, 204, 44, 45, 46, 47, 48, 49, 50, 51,
|
149
|
+
52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
|
150
|
+
223, 143, 12, 13, 14, 72, 72, 221, 72, 72,
|
151
|
+
222, 285, 143, 204, 44, 45, 46, 47, 48, 49,
|
152
|
+
50, 51, 52, 201, 202, 203, 211, 212, 208, 209,
|
153
|
+
210, 220, 301, 143, 12, 13, 14, 230, 12, 13,
|
154
|
+
14, 72, 222, 72, 72, 204, 44, 45, 46, 47,
|
155
|
+
48, 49, 50, 51, 52, 201, 202, 203, 211, 212,
|
156
|
+
208, 209, 210, 220, 223, 132, 12, 13, 14, 132,
|
157
|
+
95, 221, 169, 170, 222, 72, 72, 204, 44, 45,
|
158
|
+
46, 47, 48, 49, 50, 51, 52, 201, 202, 203,
|
159
|
+
211, 212, 208, 209, 210, 220, 223, 177, 12, 13,
|
160
|
+
14, 72, 72, 221, 72, -154, 222, 189, 190, 204,
|
161
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
|
162
|
+
202, 203, 211, 212, 208, 209, 210, 220, 301, 191,
|
163
|
+
12, 13, 14, 12, 13, 14, 72, 72, 222, 194,
|
164
|
+
195, 204, 44, 45, 46, 47, 48, 49, 50, 51,
|
165
|
+
52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
|
166
|
+
12, 13, 14, 12, 13, 14, 196, 197, 199, 72,
|
167
|
+
225, 97, 44, 45, 46, 47, 48, 49, 50, 51,
|
168
|
+
52, 53, 54, 55, 56, 57, 262, 12, 13, 14,
|
169
|
+
72, 132, 132, 72, 180, 237, 72, 180, 43, 44,
|
170
170
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
171
|
-
55, 56, 57,
|
172
|
-
|
171
|
+
55, 56, 57, 287, 12, 13, 14, 35, 35, 180,
|
172
|
+
180, 35, 35, 35, 255, 43, 44, 45, 46, 47,
|
173
173
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
174
|
-
|
175
|
-
|
176
|
-
51, 52, 53, 54, 55, 56, 57,
|
177
|
-
14,
|
174
|
+
291, 12, 13, 14, 132, 237, 272, 272, 282, 284,
|
175
|
+
290, 197, 43, 44, 45, 46, 47, 48, 49, 50,
|
176
|
+
51, 52, 53, 54, 55, 56, 57, 309, 12, 13,
|
177
|
+
14, 72, 297, 302, 305, 306, 308, 284, 72, 43,
|
178
178
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
179
|
-
54, 55, 56, 57, 12, 13, 14,
|
180
|
-
|
179
|
+
54, 55, 56, 57, 12, 13, 14, 72, nil, nil,
|
180
|
+
nil, nil, nil, nil, nil, 43, 44, 45, 46, 47,
|
181
181
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
182
|
-
12, 13, 14,
|
183
|
-
|
184
|
-
52, 53, 54, 55, 56, 57, 12, 13, 14,
|
185
|
-
|
182
|
+
12, 13, 14, nil, nil, nil, nil, nil, nil, nil,
|
183
|
+
nil, nil, 44, 45, 46, 47, 48, 49, 50, 51,
|
184
|
+
52, 53, 54, 55, 56, 57, 12, 13, 14, nil,
|
185
|
+
nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
|
186
186
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
187
187
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
188
188
|
nil, nil, nil, 43, 44, 45, 46, 47, 48, 49,
|
@@ -276,71 +276,71 @@ racc_action_table = [
|
|
276
276
|
nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
|
277
277
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
278
278
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
279
|
-
nil, nil, nil,
|
280
|
-
50, 51, 52,
|
279
|
+
nil, nil, nil, 204, 44, 45, 46, 47, 48, 49,
|
280
|
+
50, 51, 52, 201, 202, 203, -160, nil, nil, nil,
|
281
281
|
-160, nil, nil, nil, nil, nil, -160, nil, -160, -160,
|
282
282
|
-160 ]
|
283
283
|
|
284
284
|
racc_action_check = [
|
285
|
-
3,
|
286
|
-
0, 0, 66,
|
287
|
-
28, 0, 28, 28, 28, 28, 3,
|
288
|
-
|
289
|
-
103, 0,
|
285
|
+
3, 180, 3, 253, 3, 3, 3, 0, 103, 0,
|
286
|
+
0, 0, 66, 232, 244, 66, 3, 1, 28, 28,
|
287
|
+
28, 0, 28, 28, 28, 28, 3, 253, 119, 119,
|
288
|
+
180, 0, 3, 143, 143, 143, 3, 0, 141, 245,
|
289
|
+
103, 0, 232, 244, 143, 143, 143, 143, 143, 143,
|
290
290
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 11,
|
291
|
-
11, 11, 11, 148, 150,
|
291
|
+
11, 11, 11, 148, 150, 251, 143, 19, 245, 38,
|
292
292
|
141, 11, 11, 11, 11, 11, 11, 11, 11, 11,
|
293
293
|
11, 11, 11, 11, 11, 11, 60, 60, 60, 60,
|
294
|
-
|
294
|
+
252, 11, 40, 68, 251, 148, 150, 146, 60, 60,
|
295
295
|
60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
296
|
-
60, 60, 60, 173, 173, 173, 173,
|
297
|
-
|
296
|
+
60, 60, 60, 173, 173, 173, 173, 146, 60, 252,
|
297
|
+
136, 136, 136, 136, 70, 173, 173, 173, 173, 173,
|
298
298
|
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
|
299
|
-
132, 132, 132,
|
300
|
-
|
299
|
+
132, 132, 132, 37, 37, 173, 37, 37, 37, 37,
|
300
|
+
37, 132, 132, 132, 132, 132, 132, 132, 132, 132,
|
301
301
|
132, 132, 132, 132, 132, 132, 169, 73, 169, 169,
|
302
|
-
169, 132,
|
302
|
+
169, 132, 74, 169, 87, 89, 169, 90, 93, 169,
|
303
303
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
304
|
-
169, 169, 169, 169, 169, 169, 169, 169,
|
305
|
-
|
306
|
-
|
307
|
-
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
308
|
-
259, 89, 259, 259, 259, 90, 93, 259, 96, 98,
|
309
|
-
259, 259, 101, 259, 259, 259, 259, 259, 259, 259,
|
310
|
-
259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
|
311
|
-
259, 259, 287, 104, 287, 287, 287, 136, 136, 136,
|
312
|
-
136, 105, 287, 106, 107, 287, 287, 287, 287, 287,
|
313
|
-
287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
|
314
|
-
287, 287, 287, 287, 293, 108, 293, 293, 293, 109,
|
315
|
-
110, 293, 111, 112, 293, 113, 114, 293, 293, 293,
|
316
|
-
293, 293, 293, 293, 293, 293, 293, 293, 293, 293,
|
317
|
-
293, 293, 293, 293, 293, 293, 309, 115, 309, 309,
|
318
|
-
309, 116, 118, 309, 122, 123, 309, 126, 128, 309,
|
319
|
-
309, 309, 309, 309, 309, 309, 309, 309, 309, 309,
|
320
|
-
309, 309, 309, 309, 309, 309, 309, 309, 312, 131,
|
321
|
-
312, 312, 312, 178, 178, 178, 178, 134, 312, 138,
|
322
|
-
140, 312, 312, 312, 312, 312, 312, 312, 312, 312,
|
323
|
-
312, 312, 312, 312, 312, 312, 312, 312, 312, 312,
|
324
|
-
67, 67, 67, 37, 37, 142, 37, 37, 37, 37,
|
325
|
-
37, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
326
|
-
67, 67, 67, 67, 67, 67, 222, 222, 222, 222,
|
327
|
-
67, 102, 102, 102, 139, 139, 139, 144, 222, 222,
|
304
|
+
169, 169, 169, 169, 169, 169, 169, 169, 222, 96,
|
305
|
+
222, 222, 222, 98, 101, 222, 104, 105, 222, 222,
|
306
|
+
106, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
328
307
|
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
308
|
+
260, 107, 260, 260, 260, 108, 109, 260, 110, 111,
|
309
|
+
260, 260, 112, 260, 260, 260, 260, 260, 260, 260,
|
310
|
+
260, 260, 260, 260, 260, 260, 260, 260, 260, 260,
|
311
|
+
260, 260, 284, 113, 284, 284, 284, 178, 178, 178,
|
312
|
+
178, 114, 284, 115, 116, 284, 284, 284, 284, 284,
|
313
|
+
284, 284, 284, 284, 284, 284, 284, 284, 284, 284,
|
314
|
+
284, 284, 284, 284, 290, 118, 290, 290, 290, 122,
|
315
|
+
123, 290, 126, 128, 290, 131, 134, 290, 290, 290,
|
316
|
+
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
|
317
|
+
290, 290, 290, 290, 290, 290, 302, 138, 302, 302,
|
318
|
+
302, 140, 142, 302, 144, 145, 302, 147, 149, 302,
|
319
|
+
302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
|
320
|
+
302, 302, 302, 302, 302, 302, 302, 302, 305, 151,
|
321
|
+
305, 305, 305, 102, 102, 102, 153, 155, 305, 156,
|
322
|
+
157, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
323
|
+
305, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
324
|
+
67, 67, 67, 139, 139, 139, 158, 159, 163, 166,
|
325
|
+
171, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
326
|
+
67, 67, 67, 67, 67, 67, 223, 223, 223, 223,
|
327
|
+
67, 172, 174, 181, 182, 184, 187, 188, 223, 223,
|
328
|
+
223, 223, 223, 223, 223, 223, 223, 223, 223, 223,
|
329
|
+
223, 223, 223, 263, 263, 263, 263, 190, 191, 192,
|
330
|
+
193, 195, 196, 197, 198, 263, 263, 263, 263, 263,
|
331
|
+
263, 263, 263, 263, 263, 263, 263, 263, 263, 263,
|
332
|
+
266, 266, 266, 266, 200, 235, 240, 250, 254, 256,
|
333
|
+
265, 268, 266, 266, 266, 266, 266, 266, 266, 266,
|
334
|
+
266, 266, 266, 266, 266, 266, 266, 301, 301, 301,
|
335
|
+
301, 273, 278, 289, 293, 294, 298, 307, 311, 301,
|
336
|
+
301, 301, 301, 301, 301, 301, 301, 301, 301, 301,
|
337
|
+
301, 301, 301, 301, 10, 10, 10, 312, nil, nil,
|
338
|
+
nil, nil, nil, nil, nil, 10, 10, 10, 10, 10,
|
339
339
|
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
|
340
|
-
15, 15, 15,
|
341
|
-
|
342
|
-
15, 15, 15, 15, 15, 15, 72, 72, 72,
|
343
|
-
|
340
|
+
15, 15, 15, nil, nil, nil, nil, nil, nil, nil,
|
341
|
+
nil, nil, 15, 15, 15, 15, 15, 15, 15, 15,
|
342
|
+
15, 15, 15, 15, 15, 15, 72, 72, 72, nil,
|
343
|
+
nil, nil, nil, nil, nil, nil, nil, 72, 72, 72,
|
344
344
|
72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
|
345
345
|
72, 72, 75, 75, 75, nil, nil, nil, nil, nil,
|
346
346
|
nil, nil, nil, 75, 75, 75, 75, 75, 75, 75,
|
@@ -396,212 +396,206 @@ racc_action_check = [
|
|
396
396
|
130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
|
397
397
|
130, 130, 177, 177, 177, nil, nil, nil, nil, nil,
|
398
398
|
nil, nil, nil, 177, 177, 177, 177, 177, 177, 177,
|
399
|
-
177, 177, 177, 177, 177, 177, 177, 177,
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
nil, nil, nil, nil, nil,
|
404
|
-
|
405
|
-
|
406
|
-
nil,
|
407
|
-
|
408
|
-
nil, nil, nil, nil, nil, nil, nil,
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
399
|
+
177, 177, 177, 177, 177, 177, 177, 177, 183, 183,
|
400
|
+
183, nil, nil, nil, nil, nil, nil, nil, nil, 183,
|
401
|
+
183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
402
|
+
183, 183, 183, 183, 185, 185, 185, nil, nil, nil,
|
403
|
+
nil, nil, nil, nil, nil, 185, 185, 185, 185, 185,
|
404
|
+
185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
|
405
|
+
189, 189, 189, nil, nil, nil, nil, nil, nil, nil,
|
406
|
+
nil, 189, 189, 189, 189, 189, 189, 189, 189, 189,
|
407
|
+
189, 189, 189, 189, 189, 189, 194, 194, 194, nil,
|
408
|
+
nil, nil, nil, nil, nil, nil, nil, 194, 194, 194,
|
409
|
+
194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
|
410
|
+
194, 194, 199, 199, 199, nil, nil, nil, nil, nil,
|
411
|
+
199, nil, nil, 199, 199, 199, 199, 199, 199, 199,
|
412
|
+
199, 199, 199, 199, 199, 199, 199, 199, 221, 221,
|
413
|
+
221, nil, nil, nil, nil, nil, nil, nil, nil, 221,
|
414
|
+
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
415
|
+
221, 221, 221, 221, 231, 231, 231, nil, nil, nil,
|
416
416
|
nil, nil, nil, nil, nil, 231, 231, 231, 231, 231,
|
417
417
|
231, 231, 231, 231, 231, 231, 231, 231, 231, 231,
|
418
|
-
|
419
|
-
nil,
|
420
|
-
|
421
|
-
nil, nil, nil, nil, nil, nil, nil,
|
422
|
-
|
423
|
-
|
424
|
-
nil, nil, nil,
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
nil, nil,
|
430
|
-
|
431
|
-
|
432
|
-
nil,
|
433
|
-
|
434
|
-
nil, nil, nil, nil, nil, nil, nil,
|
435
|
-
|
436
|
-
|
437
|
-
nil, nil, nil,
|
438
|
-
|
439
|
-
|
440
|
-
|
418
|
+
237, 237, 237, nil, nil, nil, nil, nil, nil, nil,
|
419
|
+
nil, 237, 237, 237, 237, 237, 237, 237, 237, 237,
|
420
|
+
237, 237, 237, 237, 237, 237, 246, 246, 246, nil,
|
421
|
+
nil, nil, nil, nil, nil, nil, nil, 246, 246, 246,
|
422
|
+
246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
|
423
|
+
246, 246, 272, 272, 272, nil, nil, nil, nil, nil,
|
424
|
+
nil, nil, nil, 272, 272, 272, 272, 272, 272, 272,
|
425
|
+
272, 272, 272, 272, 272, 272, 272, 272, 282, 282,
|
426
|
+
282, nil, nil, nil, nil, nil, nil, nil, nil, 282,
|
427
|
+
282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
428
|
+
282, 282, 282, 282, 297, 297, 297, nil, nil, nil,
|
429
|
+
nil, nil, 297, nil, nil, 297, 297, 297, 297, 297,
|
430
|
+
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
431
|
+
306, 306, 306, nil, nil, nil, nil, nil, 306, nil,
|
432
|
+
nil, 306, 306, 306, 306, 306, 306, 306, 306, 306,
|
433
|
+
306, 306, 306, 306, 306, 306, 308, 308, 308, nil,
|
434
|
+
nil, nil, nil, nil, nil, nil, nil, 308, 308, 308,
|
435
|
+
308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
|
436
|
+
308, 308, 242, 242, 242, nil, nil, nil, nil, nil,
|
437
|
+
nil, nil, nil, 242, 242, 242, 242, 242, 242, 242,
|
438
|
+
242, 242, 242, 242, 242, 242, 186, nil, nil, nil,
|
439
|
+
186, nil, nil, nil, nil, nil, 186, nil, 186, 186,
|
440
|
+
186 ]
|
441
441
|
|
442
442
|
racc_action_pointer = [
|
443
443
|
5, 17, nil, 0, nil, nil, nil, nil, nil, nil,
|
444
444
|
520, 56, nil, nil, nil, 546, nil, nil, nil, 33,
|
445
445
|
nil, nil, nil, nil, nil, nil, nil, nil, 2, nil,
|
446
|
-
nil, nil, nil, nil, nil, nil, nil,
|
447
|
-
|
448
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
449
|
-
83, nil, nil, nil, nil, nil, 5, 386, 132, nil,
|
450
|
-
116, nil, 572, 165, 165, 598, 624, 650, 676, 702,
|
451
|
-
728, 754, 780, 806, 832, 858, 884, 176, nil, 197,
|
452
|
-
226, nil, nil, 202, 910, 936, 204, 962, 237, 988,
|
453
|
-
nil, 235, 417, 6, 261, 237, 254, 255, 261, 265,
|
454
|
-
266, 268, 284, 286, 272, 293, 297, 1014, 330, 20,
|
455
|
-
nil, 1040, 332, 328, 1066, nil, 327, nil, 327, nil,
|
456
|
-
1092, 325, 136, nil, 333, nil, 264, nil, 359, 420,
|
457
|
-
336, 36, 361, 29, 393, 413, 110, 434, 61, 447,
|
458
|
-
62, 448, nil, 417, nil, 418, 439, 452, 472, 468,
|
459
|
-
nil, nil, nil, 466, nil, nil, 443, nil, nil, 164,
|
460
|
-
nil, 465, 477, 110, 478, nil, nil, 1118, 360, -2,
|
461
|
-
63, 479, 1144, 464, 1170, 1521, 88, 500, 1196, 471,
|
462
|
-
472, 503, 504, 1222, 475, 476, 495, 501, 1248, 527,
|
446
|
+
nil, nil, nil, nil, nil, nil, nil, 126, 69, nil,
|
447
|
+
85, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
463
448
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
449
|
+
83, nil, nil, nil, nil, nil, 5, 386, 78, nil,
|
450
|
+
90, nil, 572, 165, 138, 598, 624, 650, 676, 702,
|
451
|
+
728, 754, 780, 806, 832, 858, 884, 140, nil, 141,
|
452
|
+
168, nil, nil, 144, 910, 936, 165, 962, 201, 988,
|
453
|
+
nil, 197, 359, 6, 204, 173, 191, 212, 201, 202,
|
454
|
+
204, 205, 223, 244, 237, 239, 240, 1014, 293, 20,
|
455
|
+
nil, 1040, 297, 293, 1066, nil, 292, nil, 292, nil,
|
456
|
+
1092, 271, 136, nil, 272, nil, 117, nil, 317, 389,
|
457
|
+
297, 36, 298, 29, 300, 301, 83, 323, 61, 336,
|
458
|
+
62, 357, nil, 332, nil, 333, 355, 368, 394, 390,
|
459
|
+
nil, nil, nil, 388, nil, nil, 365, nil, nil, 164,
|
460
|
+
nil, 387, 419, 110, 420, nil, nil, 1118, 264, nil,
|
461
|
+
-2, 389, 422, 1144, 388, 1170, 1521, 392, 425, 1196,
|
462
|
+
415, 416, 447, 448, 1222, 419, 420, 421, 427, 1248,
|
463
|
+
472, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
464
464
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
465
|
-
1274, 196, 413, nil, nil, nil, nil, nil, nil,
|
466
|
-
|
467
|
-
nil, 1508, nil,
|
468
|
-
|
469
|
-
nil, nil, 440, nil,
|
470
|
-
|
471
|
-
|
472
|
-
nil, nil,
|
473
|
-
nil,
|
474
|
-
nil,
|
475
|
-
nil, nil, nil ]
|
465
|
+
nil, 1274, 196, 413, nil, nil, nil, nil, nil, nil,
|
466
|
+
nil, 1300, 10, nil, nil, 438, nil, 1326, nil, nil,
|
467
|
+
438, nil, 1508, nil, 11, 36, 1352, nil, nil, nil,
|
468
|
+
439, 62, 87, -5, 463, nil, 465, nil, nil, nil,
|
469
|
+
228, nil, nil, 440, nil, 470, 467, nil, 474, nil,
|
470
|
+
nil, nil, 1378, 467, nil, nil, nil, nil, 492, nil,
|
471
|
+
nil, nil, 1404, nil, 260, nil, nil, nil, nil, 493,
|
472
|
+
292, nil, nil, 494, 495, nil, nil, 1430, 468, nil,
|
473
|
+
nil, 494, 324, nil, nil, 356, 1456, 493, 1482, nil,
|
474
|
+
nil, 474, 493, nil, nil, nil ]
|
476
475
|
|
477
476
|
racc_action_default = [
|
478
|
-
-149, -
|
479
|
-
-16, -
|
480
|
-
-118, -119, -120, -121, -122, -123, -124, -125, -
|
481
|
-
-129, -130, -131, -132, -133, -148, -150, -
|
477
|
+
-149, -184, -1, -149, -3, -5, -6, -7, -8, -9,
|
478
|
+
-16, -184, -13, -14, -15, -109, -111, -112, -113, -100,
|
479
|
+
-118, -119, -120, -121, -122, -123, -124, -125, -184, -128,
|
480
|
+
-129, -130, -131, -132, -133, -148, -150, -184, -184, -4,
|
482
481
|
-18, -17, -39, -40, -41, -42, -43, -44, -45, -46,
|
483
482
|
-47, -48, -49, -50, -51, -52, -53, -54, -55, -56,
|
484
|
-
-
|
485
|
-
-101, -102, -
|
486
|
-
-
|
487
|
-
-
|
488
|
-
-103, -66, -
|
489
|
-
-100, -100, -153, -153, -100, -100, -100, -
|
490
|
-
-20, -
|
491
|
-
-
|
492
|
-
-134, -138, -100, -
|
493
|
-
-147, -
|
494
|
-
-10, -19, -21, -
|
495
|
-
-24, -
|
496
|
-
-
|
497
|
-
-149, -
|
498
|
-
-57, -58, -59, -60, -61, -62, -70, -71, -72,
|
499
|
-
-74, -75, -76, -77, -78, -79, -80, -81, -82,
|
500
|
-
-
|
501
|
-
-
|
502
|
-
-
|
503
|
-
-149, -149, -149, -
|
504
|
-
-87, -89, -
|
505
|
-
-
|
506
|
-
-
|
507
|
-
-
|
508
|
-
|
509
|
-
-
|
510
|
-
-181, -167, -162 ]
|
483
|
+
-184, -12, -32, -34, -35, -36, -66, -100, -184, -110,
|
484
|
+
-101, -102, -184, -184, -100, -184, -184, -184, -184, -184,
|
485
|
+
-184, -184, -184, -184, -184, -184, -184, -184, 316, -100,
|
486
|
+
-184, -11, -33, -100, -184, -184, -100, -184, -184, -184,
|
487
|
+
-103, -66, -184, -127, -184, -184, -153, -153, -100, -100,
|
488
|
+
-100, -100, -153, -153, -100, -100, -100, -184, -184, -184,
|
489
|
+
-20, -184, -30, -66, -184, -68, -184, -105, -23, -25,
|
490
|
+
-184, -100, -184, -107, -100, -104, -184, -115, -184, -184,
|
491
|
+
-134, -138, -100, -184, -100, -141, -143, -184, -145, -184,
|
492
|
+
-147, -184, -151, -100, -154, -100, -184, -184, -184, -165,
|
493
|
+
-10, -19, -21, -184, -31, -37, -100, -67, -69, -184,
|
494
|
+
-24, -184, -184, -184, -184, -114, -116, -184, -184, -135,
|
495
|
+
-149, -101, -168, -184, -156, -157, -158, -101, -168, -184,
|
496
|
+
-149, -149, -168, -168, -184, -149, -149, -149, -180, -184,
|
497
|
+
-30, -57, -58, -59, -60, -61, -62, -70, -71, -72,
|
498
|
+
-73, -74, -75, -76, -77, -78, -79, -80, -81, -82,
|
499
|
+
-83, -184, -184, -184, -99, -26, -106, -29, -108, -117,
|
500
|
+
-126, -184, -149, -171, -136, -155, -158, -184, -161, -139,
|
501
|
+
-142, -174, -184, -64, -149, -149, -184, -163, -152, -173,
|
502
|
+
-176, -149, -149, -149, -184, -181, -27, -38, -84, -85,
|
503
|
+
-184, -87, -89, -184, -91, -184, -184, -96, -165, -169,
|
504
|
+
-172, -159, -184, -100, -65, -144, -146, -164, -184, -177,
|
505
|
+
-178, -166, -184, -22, -184, -86, -88, -90, -92, -184,
|
506
|
+
-184, -95, -97, -184, -184, -175, -63, -184, -179, -182,
|
507
|
+
-28, -184, -184, -80, -93, -184, -184, -27, -184, -94,
|
508
|
+
-98, -100, -100, -183, -167, -162 ]
|
511
509
|
|
512
510
|
racc_goto_table = [
|
513
|
-
10,
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
162,
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
nil,
|
529
|
-
nil,
|
530
|
-
|
531
|
-
nil,
|
532
|
-
|
533
|
-
241, 245, nil, 100, nil, 241, 245, 245, nil, 314,
|
534
|
-
nil, 257, nil, 264, nil, nil, nil, nil, nil, nil,
|
535
|
-
318, 204, 269, nil, nil, nil, nil, 271, nil, nil,
|
536
|
-
nil, nil, nil, nil, nil, nil, 279, nil, nil, nil,
|
537
|
-
nil, 204, nil, nil, nil, nil, nil, nil, nil, nil,
|
538
|
-
nil, nil, nil, 292, 241, 245, 296, nil, nil, 204,
|
539
|
-
nil, 241, 245, 245, 300, nil, nil, nil, nil, nil,
|
540
|
-
nil, nil, nil, nil, nil, nil, 306, nil, nil, nil,
|
541
|
-
nil, nil, nil, nil, nil, nil, nil, 204, nil, nil,
|
542
|
-
nil, 301, nil, 204, nil, nil, nil, nil, nil, 296,
|
543
|
-
nil, nil, nil, nil, nil, nil, 320, nil, nil, 204,
|
544
|
-
nil, nil, 204, nil, nil, nil, nil, nil, nil, nil,
|
511
|
+
10, 198, 60, 10, 37, 92, 207, 37, 41, 66,
|
512
|
+
165, 93, 69, 206, 131, 233, 134, 73, 283, 176,
|
513
|
+
100, 120, 264, 184, 277, 133, 125, 300, 274, 141,
|
514
|
+
145, 277, 277, 303, 136, 274, 142, 144, 4, 244,
|
515
|
+
1, 39, 153, 155, 251, 160, 135, 171, 310, 240,
|
516
|
+
162, 245, 2, 100, 250, 168, 252, 253, 66, 261,
|
517
|
+
3, 176, 288, 235, 96, 98, 206, 270, 166, 312,
|
518
|
+
101, 178, 104, 105, 106, 107, 108, 109, 110, 111,
|
519
|
+
112, 113, 114, 115, 116, 40, 206, 118, 257, 89,
|
520
|
+
100, 122, 123, 126, 127, 119, 100, 286, 100, 226,
|
521
|
+
100, 228, 138, 273, 206, 124, 147, 149, 151, 152,
|
522
|
+
294, 260, 156, 157, 158, 159, 256, 263, 92, 163,
|
523
|
+
292, 103, 126, 173, 68, 179, 185, 232, 206, 172,
|
524
|
+
66, 100, 174, 254, 206, 298, 138, 100, nil, 138,
|
525
|
+
182, 186, 188, nil, nil, nil, 206, nil, nil, 206,
|
526
|
+
nil, 192, 140, 193, nil, 146, 148, 150, nil, nil,
|
527
|
+
nil, nil, nil, nil, 200, nil, 234, nil, nil, 205,
|
528
|
+
nil, 66, 239, nil, nil, 229, 248, 249, 138, nil,
|
529
|
+
nil, 236, nil, 238, 231, nil, nil, 241, nil, 181,
|
530
|
+
nil, 187, 241, nil, 242, nil, nil, nil, nil, 242,
|
545
531
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
546
|
-
nil, nil, nil, nil, nil,
|
532
|
+
nil, nil, nil, nil, 307, nil, nil, nil, nil, 258,
|
533
|
+
nil, 265, 205, 311, nil, nil, nil, nil, nil, 268,
|
534
|
+
nil, nil, nil, nil, nil, 271, 231, nil, nil, nil,
|
535
|
+
nil, nil, 205, nil, 278, nil, nil, nil, 242, nil,
|
536
|
+
nil, nil, nil, nil, nil, 242, nil, nil, nil, nil,
|
537
|
+
205, 289, nil, nil, 293, nil, nil, nil, nil, nil,
|
538
|
+
295, 296, nil, nil, nil, nil, nil, nil, nil, nil,
|
539
|
+
299, nil, nil, nil, 205, nil, nil, nil, nil, nil,
|
540
|
+
205, nil, nil, nil, nil, nil, nil, nil, nil, 293,
|
541
|
+
nil, nil, 205, nil, nil, 205, 313, nil, nil, 314,
|
542
|
+
315 ]
|
547
543
|
|
548
544
|
racc_goto_check = [
|
549
|
-
10,
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
18,
|
555
|
-
|
556
|
-
16,
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
nil, nil, nil,
|
564
|
-
nil, 13,
|
565
|
-
nil,
|
566
|
-
|
567
|
-
nil,
|
568
|
-
|
569
|
-
33, 33, nil, 50, nil, 33, 33, 33, nil, 19,
|
570
|
-
nil, 16, nil, 16, nil, nil, nil, nil, nil, nil,
|
571
|
-
19, 10, 16, nil, nil, nil, nil, 16, nil, nil,
|
572
|
-
nil, nil, nil, nil, nil, nil, 16, nil, nil, nil,
|
573
|
-
nil, 10, nil, nil, nil, nil, nil, nil, nil, nil,
|
574
|
-
nil, nil, nil, 16, 33, 33, 16, nil, nil, 10,
|
575
|
-
nil, 33, 33, 33, 16, nil, nil, nil, nil, nil,
|
576
|
-
nil, nil, nil, nil, nil, nil, 16, nil, nil, nil,
|
577
|
-
nil, nil, nil, nil, nil, nil, nil, 10, nil, nil,
|
578
|
-
nil, 13, nil, 10, nil, nil, nil, nil, nil, 16,
|
579
|
-
nil, nil, nil, nil, nil, nil, 16, nil, nil, 10,
|
580
|
-
nil, nil, 10, nil, nil, nil, nil, nil, nil, nil,
|
545
|
+
10, 80, 15, 10, 33, 24, 37, 33, 16, 16,
|
546
|
+
23, 28, 29, 30, 19, 81, 19, 13, 20, 56,
|
547
|
+
50, 18, 46, 77, 79, 14, 36, 22, 32, 71,
|
548
|
+
71, 79, 79, 22, 55, 32, 73, 73, 4, 34,
|
549
|
+
1, 4, 73, 73, 34, 14, 28, 19, 22, 74,
|
550
|
+
18, 75, 2, 50, 74, 36, 75, 75, 16, 37,
|
551
|
+
3, 56, 46, 77, 29, 13, 30, 81, 28, 20,
|
552
|
+
16, 55, 13, 16, 16, 16, 16, 16, 16, 16,
|
553
|
+
16, 16, 16, 16, 16, 11, 30, 13, 23, 12,
|
554
|
+
50, 13, 16, 16, 13, 17, 50, 37, 50, 14,
|
555
|
+
50, 14, 10, 31, 30, 35, 13, 13, 13, 13,
|
556
|
+
80, 44, 13, 13, 13, 16, 19, 45, 24, 16,
|
557
|
+
48, 49, 16, 15, 51, 72, 78, 82, 30, 13,
|
558
|
+
16, 50, 13, 83, 30, 84, 10, 50, nil, 10,
|
559
|
+
13, 16, 13, nil, nil, nil, 30, nil, nil, 30,
|
560
|
+
nil, 13, 49, 13, nil, 49, 49, 49, nil, nil,
|
561
|
+
nil, nil, nil, nil, 13, nil, 72, nil, nil, 10,
|
562
|
+
nil, 16, 72, nil, nil, 16, 72, 72, 10, nil,
|
563
|
+
nil, 16, nil, 16, 33, nil, nil, 16, nil, 49,
|
564
|
+
nil, 49, 16, nil, 33, nil, nil, nil, nil, 33,
|
581
565
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
582
|
-
nil, nil, nil, nil, nil,
|
566
|
+
nil, nil, nil, nil, 19, nil, nil, nil, nil, 16,
|
567
|
+
nil, 16, 10, 19, nil, nil, nil, nil, nil, 16,
|
568
|
+
nil, nil, nil, nil, nil, 16, 33, nil, nil, nil,
|
569
|
+
nil, nil, 10, nil, 16, nil, nil, nil, 33, nil,
|
570
|
+
nil, nil, nil, nil, nil, 33, nil, nil, nil, nil,
|
571
|
+
10, 16, nil, nil, 16, nil, nil, nil, nil, nil,
|
572
|
+
16, 13, nil, nil, nil, nil, nil, nil, nil, nil,
|
573
|
+
16, nil, nil, nil, 10, nil, nil, nil, nil, nil,
|
574
|
+
10, nil, nil, nil, nil, nil, nil, nil, nil, 16,
|
575
|
+
nil, nil, 10, nil, nil, 10, 16, nil, nil, 13,
|
576
|
+
13 ]
|
583
577
|
|
584
578
|
racc_goto_pointer = [
|
585
|
-
nil,
|
586
|
-
0,
|
587
|
-
-
|
588
|
-
-
|
589
|
-
nil, nil, nil, nil, -
|
590
|
-
|
579
|
+
nil, 40, 52, 60, 38, nil, nil, nil, nil, nil,
|
580
|
+
0, 75, 49, -2, -73, -9, -2, 5, -69, -83,
|
581
|
+
-238, nil, -257, -112, -55, nil, nil, nil, -55, -3,
|
582
|
+
-156, -139, -216, 4, -151, 10, -69, -163, nil, nil,
|
583
|
+
nil, nil, nil, nil, -111, -106, -201, nil, -146, 47,
|
584
|
+
-50, 109, nil, nil, nil, -68, -117, nil, nil, nil,
|
591
585
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
592
|
-
nil, -
|
593
|
-
-
|
586
|
+
nil, -77, -16, -70, -140, -140, nil, -120, -17, -221,
|
587
|
+
-158, -165, -53, -65, -147 ]
|
594
588
|
|
595
589
|
racc_goto_default = [
|
596
590
|
nil, nil, nil, nil, nil, 5, 6, 7, 8, 9,
|
597
591
|
58, nil, nil, nil, 164, nil, 129, nil, nil, nil,
|
598
|
-
nil, 128,
|
599
|
-
59,
|
600
|
-
|
592
|
+
nil, 128, 217, nil, 62, 63, 64, 65, nil, 42,
|
593
|
+
59, 224, 243, 246, nil, nil, nil, 304, 213, 214,
|
594
|
+
215, 216, 218, 219, nil, nil, nil, 266, 267, 70,
|
601
595
|
71, nil, 16, 17, 18, nil, 137, 20, 21, 22,
|
602
596
|
23, 24, 25, 26, 27, 29, 30, 31, 32, 33,
|
603
|
-
34, 154, nil, nil, nil, nil, 36, nil, nil,
|
604
|
-
nil,
|
597
|
+
34, 154, nil, nil, nil, nil, 36, nil, nil, 247,
|
598
|
+
nil, nil, nil, nil, nil ]
|
605
599
|
|
606
600
|
racc_reduce_table = [
|
607
601
|
0, 0, :racc_error,
|
@@ -739,11 +733,11 @@ racc_reduce_table = [
|
|
739
733
|
1, 103, :_reduce_none,
|
740
734
|
1, 103, :_reduce_none,
|
741
735
|
4, 104, :_reduce_134,
|
742
|
-
|
743
|
-
|
736
|
+
5, 105, :_reduce_135,
|
737
|
+
6, 105, :_reduce_136,
|
744
738
|
5, 105, :_reduce_137,
|
745
739
|
4, 105, :_reduce_138,
|
746
|
-
|
740
|
+
6, 106, :_reduce_139,
|
747
741
|
5, 106, :_reduce_140,
|
748
742
|
4, 106, :_reduce_141,
|
749
743
|
6, 107, :_reduce_142,
|
@@ -756,7 +750,7 @@ racc_reduce_table = [
|
|
756
750
|
0, 72, :_reduce_none,
|
757
751
|
1, 72, :_reduce_none,
|
758
752
|
4, 96, :_reduce_151,
|
759
|
-
|
753
|
+
6, 97, :_reduce_152,
|
760
754
|
0, 112, :_reduce_153,
|
761
755
|
1, 112, :_reduce_none,
|
762
756
|
3, 110, :_reduce_155,
|
@@ -773,23 +767,25 @@ racc_reduce_table = [
|
|
773
767
|
3, 119, :_reduce_166,
|
774
768
|
6, 120, :_reduce_167,
|
775
769
|
0, 111, :_reduce_168,
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
770
|
+
3, 111, :_reduce_169,
|
771
|
+
0, 121, :_reduce_170,
|
772
|
+
1, 121, :_reduce_171,
|
773
|
+
2, 121, :_reduce_172,
|
774
|
+
6, 98, :_reduce_173,
|
775
|
+
1, 113, :_reduce_174,
|
776
|
+
3, 113, :_reduce_175,
|
777
|
+
6, 99, :_reduce_176,
|
778
|
+
7, 100, :_reduce_177,
|
779
|
+
7, 101, :_reduce_178,
|
780
|
+
8, 93, :_reduce_179,
|
781
|
+
0, 122, :_reduce_none,
|
782
|
+
1, 122, :_reduce_none,
|
783
|
+
1, 123, :_reduce_182,
|
784
|
+
3, 123, :_reduce_183 ]
|
785
|
+
|
786
|
+
racc_reduce_n = 184
|
787
|
+
|
788
|
+
racc_shift_n = 316
|
793
789
|
|
794
790
|
racc_token_table = {
|
795
791
|
false => 0,
|
@@ -964,7 +960,7 @@ Racc_token_to_s_table = [
|
|
964
960
|
"enum_type_extension",
|
965
961
|
"input_object_type_extension",
|
966
962
|
"implements",
|
967
|
-
"
|
963
|
+
"field_definition_list_opt",
|
968
964
|
"implements_opt",
|
969
965
|
"union_members",
|
970
966
|
"input_value_definition_list",
|
@@ -974,6 +970,7 @@ Racc_token_to_s_table = [
|
|
974
970
|
"input_value_definition",
|
975
971
|
"arguments_definitions_opt",
|
976
972
|
"field_definition",
|
973
|
+
"field_definition_list",
|
977
974
|
"directive_repeatable_opt",
|
978
975
|
"directive_locations" ]
|
979
976
|
|
@@ -1672,14 +1669,14 @@ module_eval(<<'.,.,', 'parser.y', 319)
|
|
1672
1669
|
|
1673
1670
|
module_eval(<<'.,.,', 'parser.y', 323)
|
1674
1671
|
def _reduce_135(val, _values, result)
|
1675
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[
|
1672
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[4], position_source: val[0])
|
1676
1673
|
result
|
1677
1674
|
end
|
1678
1675
|
.,.,
|
1679
1676
|
|
1680
1677
|
module_eval(<<'.,.,', 'parser.y', 324)
|
1681
1678
|
def _reduce_136(val, _values, result)
|
1682
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1679
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1683
1680
|
result
|
1684
1681
|
end
|
1685
1682
|
.,.,
|
@@ -1700,7 +1697,7 @@ module_eval(<<'.,.,', 'parser.y', 326)
|
|
1700
1697
|
|
1701
1698
|
module_eval(<<'.,.,', 'parser.y', 329)
|
1702
1699
|
def _reduce_139(val, _values, result)
|
1703
|
-
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1700
|
+
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1704
1701
|
result
|
1705
1702
|
end
|
1706
1703
|
.,.,
|
@@ -1777,7 +1774,7 @@ module_eval(<<'.,.,', 'parser.y', 353)
|
|
1777
1774
|
|
1778
1775
|
module_eval(<<'.,.,', 'parser.y', 358)
|
1779
1776
|
def _reduce_152(val, _values, result)
|
1780
|
-
result = make_node(:ObjectTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1777
|
+
result = make_node(:ObjectTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1781
1778
|
|
1782
1779
|
result
|
1783
1780
|
end
|
@@ -1894,85 +1891,99 @@ module_eval(<<'.,.,', 'parser.y', 397)
|
|
1894
1891
|
|
1895
1892
|
module_eval(<<'.,.,', 'parser.y', 398)
|
1896
1893
|
def _reduce_169(val, _values, result)
|
1897
|
-
result =
|
1894
|
+
result = val[1]
|
1898
1895
|
result
|
1899
1896
|
end
|
1900
1897
|
.,.,
|
1901
1898
|
|
1902
|
-
module_eval(<<'.,.,', 'parser.y',
|
1899
|
+
module_eval(<<'.,.,', 'parser.y', 401)
|
1903
1900
|
def _reduce_170(val, _values, result)
|
1904
|
-
|
1901
|
+
result = EMPTY_ARRAY
|
1905
1902
|
result
|
1906
1903
|
end
|
1907
1904
|
.,.,
|
1908
1905
|
|
1909
|
-
module_eval(<<'.,.,', 'parser.y',
|
1906
|
+
module_eval(<<'.,.,', 'parser.y', 402)
|
1910
1907
|
def _reduce_171(val, _values, result)
|
1911
|
-
|
1908
|
+
result = [val[0]]
|
1909
|
+
result
|
1910
|
+
end
|
1911
|
+
.,.,
|
1912
1912
|
|
1913
|
+
module_eval(<<'.,.,', 'parser.y', 403)
|
1914
|
+
def _reduce_172(val, _values, result)
|
1915
|
+
val[0] << val[1]
|
1913
1916
|
result
|
1914
1917
|
end
|
1915
1918
|
.,.,
|
1916
1919
|
|
1917
1920
|
module_eval(<<'.,.,', 'parser.y', 407)
|
1918
|
-
def
|
1921
|
+
def _reduce_173(val, _values, result)
|
1922
|
+
result = make_node(:InterfaceTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1923
|
+
|
1924
|
+
result
|
1925
|
+
end
|
1926
|
+
.,.,
|
1927
|
+
|
1928
|
+
module_eval(<<'.,.,', 'parser.y', 411)
|
1929
|
+
def _reduce_174(val, _values, result)
|
1919
1930
|
result = [make_node(:TypeName, name: val[0], position_source: val[0])]
|
1920
1931
|
result
|
1921
1932
|
end
|
1922
1933
|
.,.,
|
1923
1934
|
|
1924
|
-
module_eval(<<'.,.,', 'parser.y',
|
1925
|
-
def
|
1935
|
+
module_eval(<<'.,.,', 'parser.y', 412)
|
1936
|
+
def _reduce_175(val, _values, result)
|
1926
1937
|
val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
|
1927
1938
|
result
|
1928
1939
|
end
|
1929
1940
|
.,.,
|
1930
1941
|
|
1931
|
-
module_eval(<<'.,.,', 'parser.y',
|
1932
|
-
def
|
1942
|
+
module_eval(<<'.,.,', 'parser.y', 416)
|
1943
|
+
def _reduce_176(val, _values, result)
|
1933
1944
|
result = make_node(:UnionTypeDefinition, name: val[2], directives: val[3], types: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1934
1945
|
|
1935
1946
|
result
|
1936
1947
|
end
|
1937
1948
|
.,.,
|
1938
1949
|
|
1939
|
-
module_eval(<<'.,.,', 'parser.y',
|
1940
|
-
def
|
1950
|
+
module_eval(<<'.,.,', 'parser.y', 421)
|
1951
|
+
def _reduce_177(val, _values, result)
|
1941
1952
|
result = make_node(:EnumTypeDefinition, name: val[2], directives: val[3], values: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1942
1953
|
|
1943
1954
|
result
|
1944
1955
|
end
|
1945
1956
|
.,.,
|
1946
1957
|
|
1947
|
-
module_eval(<<'.,.,', 'parser.y',
|
1948
|
-
def
|
1958
|
+
module_eval(<<'.,.,', 'parser.y', 426)
|
1959
|
+
def _reduce_178(val, _values, result)
|
1949
1960
|
result = make_node(:InputObjectTypeDefinition, name: val[2], directives: val[3], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1950
1961
|
|
1951
1962
|
result
|
1952
1963
|
end
|
1953
1964
|
.,.,
|
1954
1965
|
|
1955
|
-
module_eval(<<'.,.,', 'parser.y',
|
1956
|
-
def
|
1966
|
+
module_eval(<<'.,.,', 'parser.y', 431)
|
1967
|
+
def _reduce_179(val, _values, result)
|
1957
1968
|
result = make_node(:DirectiveDefinition, name: val[3], arguments: val[4], locations: val[7], repeatable: !!val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1958
1969
|
|
1959
1970
|
result
|
1960
1971
|
end
|
1961
1972
|
.,.,
|
1962
1973
|
|
1963
|
-
# reduce
|
1974
|
+
# reduce 180 omitted
|
1964
1975
|
|
1965
|
-
# reduce
|
1976
|
+
# reduce 181 omitted
|
1966
1977
|
|
1967
|
-
module_eval(<<'.,.,', 'parser.y',
|
1968
|
-
def
|
1978
|
+
module_eval(<<'.,.,', 'parser.y', 439)
|
1979
|
+
def _reduce_182(val, _values, result)
|
1969
1980
|
result = [make_node(:DirectiveLocation, name: val[0].to_s, position_source: val[0])]
|
1970
1981
|
result
|
1971
1982
|
end
|
1972
1983
|
.,.,
|
1973
1984
|
|
1974
|
-
module_eval(<<'.,.,', 'parser.y',
|
1975
|
-
def
|
1985
|
+
module_eval(<<'.,.,', 'parser.y', 440)
|
1986
|
+
def _reduce_183(val, _values, result)
|
1976
1987
|
val[0] << make_node(:DirectiveLocation, name: val[2].to_s, position_source: val[2])
|
1977
1988
|
result
|
1978
1989
|
end
|