graphql 0.18.6 → 0.18.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/introspection/type_by_name_field.rb +2 -2
- data/lib/graphql/language/generation.rb +1 -1
- data/lib/graphql/language/parser.rb +320 -306
- data/lib/graphql/language/parser.y +4 -1
- data/lib/graphql/relay/mutation.rb +1 -1
- data/lib/graphql/schema/loader.rb +10 -3
- data/lib/graphql/static_validation/all_rules.rb +1 -0
- data/lib/graphql/static_validation/rules/fragments_are_named.rb +19 -0
- data/lib/graphql/static_validation/rules/fragments_are_used.rb +1 -1
- data/lib/graphql/version.rb +1 -1
- data/readme.md +4 -2
- data/spec/graphql/introspection/type_type_spec.rb +3 -1
- data/spec/graphql/language/generation_spec.rb +1 -1
- data/spec/graphql/language/parser_spec.rb +28 -0
- data/spec/graphql/relay/mutation_spec.rb +4 -0
- data/spec/graphql/schema/loader_spec.rb +27 -1
- data/spec/graphql/static_validation/rules/fragments_are_named_spec.rb +24 -0
- data/spec/graphql/static_validation/validator_spec.rb +12 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d560175134555b76ef12afce0b9a3e71b84d71bc
|
4
|
+
data.tar.gz: 47f43437b229e9abfe655804cd05e02642c17f38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50032a491c2c078266193c85072d4cb3d3827bbd56c6d04318cced4b7366de5b037b0e91d2b98e98ff7617811e5118625375a4a818232a70ac4bc486a82935da
|
7
|
+
data.tar.gz: d77d29e850053e7a1aa5096933790011b97acc32e4eab0d9e2450b6aedb902e5055586b17a1dc6de948c4521b429960ae51b63990ddb28ee60c22d8a8a46315c
|
@@ -6,9 +6,9 @@ module GraphQL
|
|
6
6
|
GraphQL::Field.define do
|
7
7
|
name("__type")
|
8
8
|
description("A type in the GraphQL system")
|
9
|
-
type(
|
9
|
+
type(GraphQL::Introspection::TypeType)
|
10
10
|
argument :name, !types.String
|
11
|
-
resolve -> (o, args, c) { type_hash
|
11
|
+
resolve -> (o, args, c) { type_hash.fetch(args["name"], nil) }
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -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', 330)
|
16
16
|
|
17
17
|
def initialize(query_string)
|
18
18
|
@query_string = query_string
|
@@ -75,30 +75,30 @@ end
|
|
75
75
|
##### State transition tables begin ###
|
76
76
|
|
77
77
|
racc_action_table = [
|
78
|
-
10, 11, 12,
|
79
|
-
|
80
|
-
42, 43, 44, 45, 46, 47, 10, 11, 12,
|
81
|
-
57, 10, 11, 12,
|
78
|
+
10, 11, 12, 74, 191, 191, 73, 192, 192, 191,
|
79
|
+
94, 202, 50, 35, 36, 37, 38, 39, 40, 41,
|
80
|
+
42, 43, 44, 45, 46, 47, 10, 11, 12, 110,
|
81
|
+
57, 10, 11, 12, 129, 94, 109, 144, 70, 35,
|
82
82
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
83
|
-
46, 47, 10, 11, 12,
|
84
|
-
|
83
|
+
46, 47, 10, 11, 12, 77, 57, 148, 13, 151,
|
84
|
+
77, 154, 77, 77, 13, 79, 36, 37, 38, 39,
|
85
85
|
40, 41, 42, 43, 44, 45, 46, 47, 10, 11,
|
86
|
-
12,
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
36, 37, 38, 39, 40, 41, 42, 43,
|
94
|
-
|
95
|
-
|
96
|
-
37, 38, 39, 40, 41, 42, 43,
|
97
|
-
|
98
|
-
nil, nil,
|
99
|
-
38, 39, 40, 41, 42, 43,
|
100
|
-
|
101
|
-
nil,
|
86
|
+
12, 77, 77, 166, 13, 77, 167, 174, 90, 168,
|
87
|
+
89, 120, 36, 37, 38, 39, 40, 41, 42, 43,
|
88
|
+
118, 119, 160, 161, 157, 158, 159, 10, 11, 12,
|
89
|
+
88, 13, 166, 87, 86, 167, 182, 77, 168, 81,
|
90
|
+
120, 36, 37, 38, 39, 40, 41, 42, 43, 118,
|
91
|
+
119, 160, 161, 157, 158, 159, 10, 11, 12, 74,
|
92
|
+
137, 166, 69, 13, 167, 67, 60, 168, 200, 120,
|
93
|
+
36, 37, 38, 39, 40, 41, 42, 43, 118, 119,
|
94
|
+
160, 161, 157, 158, 159, 10, 11, 12, 191, 30,
|
95
|
+
166, 74, 13, 167, nil, nil, 168, nil, 120, 36,
|
96
|
+
37, 38, 39, 40, 41, 42, 43, 118, 119, 160,
|
97
|
+
161, 157, 158, 159, 10, 11, 12, nil, nil, 166,
|
98
|
+
nil, nil, 167, 196, nil, 168, nil, 120, 36, 37,
|
99
|
+
38, 39, 40, 41, 42, 43, 118, 119, 160, 161,
|
100
|
+
157, 158, 159, 10, 11, 12, nil, nil, nil, nil,
|
101
|
+
nil, 178, nil, nil, nil, nil, 35, 36, 37, 38,
|
102
102
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
|
103
103
|
11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
|
104
104
|
nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
|
@@ -113,28 +113,28 @@ racc_action_table = [
|
|
113
113
|
45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
|
114
114
|
nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
|
115
115
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
|
116
|
-
11, 12, nil, nil, nil, nil, nil,
|
116
|
+
11, 12, nil, nil, nil, nil, nil, 178, nil, nil,
|
117
117
|
nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
|
118
118
|
43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
|
119
|
-
nil, nil, nil, nil, nil, nil, nil,
|
119
|
+
nil, nil, nil, nil, nil, nil, nil, 198, 35, 36,
|
120
120
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
121
|
-
47, 10, 11, 12, nil, nil, nil, nil, nil,
|
121
|
+
47, 10, 11, 12, nil, nil, nil, nil, nil, 178,
|
122
122
|
nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
|
123
123
|
41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
|
124
124
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
125
|
-
|
126
|
-
45, 46, 47, 10, 11, 12, nil,
|
125
|
+
nil, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
126
|
+
45, 46, 47, 10, 11, 12, nil, 189, nil, nil,
|
127
127
|
nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
|
128
128
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
|
129
129
|
11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
|
130
|
-
nil,
|
130
|
+
nil, 185, 35, 36, 37, 38, 39, 40, 41, 42,
|
131
131
|
43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
|
132
132
|
nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
|
133
133
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
134
134
|
47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
|
135
135
|
nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
|
136
136
|
41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
|
137
|
-
nil, nil, nil, nil, nil,
|
137
|
+
nil, nil, nil, nil, nil, 178, nil, nil, nil, nil,
|
138
138
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
139
139
|
45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
|
140
140
|
nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
|
@@ -145,22 +145,22 @@ racc_action_table = [
|
|
145
145
|
nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
|
146
146
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
147
147
|
47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
|
148
|
-
nil, nil, nil,
|
148
|
+
nil, nil, nil, 172, 35, 36, 37, 38, 39, 40,
|
149
149
|
41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
|
150
150
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
151
151
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
152
152
|
45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
|
153
153
|
nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
|
154
154
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
|
155
|
-
11, 12, nil,
|
155
|
+
11, 12, nil, 97, nil, nil, nil, nil, nil, nil,
|
156
156
|
nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
|
157
|
-
43, 44, 45, 46, 47, 10, 11, 12, nil,
|
157
|
+
43, 44, 45, 46, 47, 10, 11, 12, nil, 135,
|
158
158
|
nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
|
159
159
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
160
160
|
47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
|
161
161
|
nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
|
162
162
|
41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
|
163
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
163
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 153,
|
164
164
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
165
165
|
45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
|
166
166
|
nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
|
@@ -171,7 +171,7 @@ racc_action_table = [
|
|
171
171
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, 36,
|
172
172
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
173
173
|
47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
|
174
|
-
nil, nil, nil,
|
174
|
+
nil, nil, nil, 147, 35, 36, 37, 38, 39, 40,
|
175
175
|
41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
|
176
176
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
177
177
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
@@ -189,42 +189,42 @@ racc_action_table = [
|
|
189
189
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
190
190
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
191
191
|
45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
|
192
|
-
nil, nil, nil, nil, nil, nil,
|
193
|
-
39, 40, 41, 42, 43,
|
194
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
195
|
-
|
196
|
-
|
197
|
-
nil, nil, 13, nil, nil, 17, 24, 25,
|
192
|
+
nil, nil, nil, nil, nil, nil, 120, 36, 37, 38,
|
193
|
+
39, 40, 41, 42, 43, 118, 119, 10, 11, 12,
|
194
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 150,
|
195
|
+
120, 36, 37, 38, 39, 40, 41, 42, 43, 118,
|
196
|
+
119, 10, 11, 12, nil, nil, 10, 11, 12, nil,
|
197
|
+
nil, nil, 13, nil, nil, 17, 24, 25, 107, 26,
|
198
198
|
27, 28, 29, nil, 14, 10, 11, 12, nil, nil,
|
199
199
|
nil, nil, nil, nil, nil, nil, 13, nil, nil, 17,
|
200
200
|
24, 25, nil, 26, 27, 28, 29, nil, 14 ]
|
201
201
|
|
202
202
|
racc_action_check = [
|
203
|
-
13, 13, 13, 56,
|
204
|
-
|
205
|
-
13, 13, 13, 13, 13, 13, 51, 51, 51,
|
206
|
-
13,
|
203
|
+
13, 13, 13, 56, 179, 177, 56, 179, 177, 194,
|
204
|
+
69, 194, 13, 13, 13, 13, 13, 13, 13, 13,
|
205
|
+
13, 13, 13, 13, 13, 13, 51, 51, 51, 85,
|
206
|
+
13, 60, 60, 60, 92, 92, 84, 113, 51, 51,
|
207
207
|
51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
|
208
|
-
51, 51, 57, 57, 57,
|
209
|
-
|
210
|
-
57, 57, 57, 57, 57, 57, 57, 57,
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
nil, nil,
|
224
|
-
|
225
|
-
|
226
|
-
nil,
|
227
|
-
|
208
|
+
51, 51, 57, 57, 57, 106, 51, 117, 80, 125,
|
209
|
+
78, 131, 134, 75, 139, 57, 57, 57, 57, 57,
|
210
|
+
57, 57, 57, 57, 57, 57, 57, 57, 200, 200,
|
211
|
+
200, 57, 72, 200, 91, 68, 200, 145, 66, 200,
|
212
|
+
65, 200, 200, 200, 200, 200, 200, 200, 200, 200,
|
213
|
+
200, 200, 200, 200, 200, 200, 200, 167, 167, 167,
|
214
|
+
64, 155, 167, 63, 62, 167, 167, 104, 167, 58,
|
215
|
+
167, 167, 167, 167, 167, 167, 167, 167, 167, 167,
|
216
|
+
167, 167, 167, 167, 167, 167, 137, 137, 137, 102,
|
217
|
+
100, 137, 32, 95, 137, 30, 17, 137, 188, 137,
|
218
|
+
137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
|
219
|
+
137, 137, 137, 137, 137, 192, 192, 192, 190, 1,
|
220
|
+
192, 96, 140, 192, nil, nil, 192, nil, 192, 192,
|
221
|
+
192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
|
222
|
+
192, 192, 192, 192, 183, 183, 183, nil, nil, 183,
|
223
|
+
nil, nil, 183, 183, nil, 183, nil, 183, 183, 183,
|
224
|
+
183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
225
|
+
183, 183, 183, 151, 151, 151, nil, nil, nil, nil,
|
226
|
+
nil, 151, nil, nil, nil, nil, 151, 151, 151, 151,
|
227
|
+
151, 151, 151, 151, 151, 151, 151, 151, 151, 26,
|
228
228
|
26, 26, nil, nil, nil, nil, nil, nil, nil, nil,
|
229
229
|
nil, nil, 26, 26, 26, 26, 26, 26, 26, 26,
|
230
230
|
26, 26, 26, 26, 26, 27, 27, 27, nil, nil,
|
@@ -237,89 +237,89 @@ racc_action_check = [
|
|
237
237
|
29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
|
238
238
|
29, 29, 29, 24, 24, 24, nil, nil, nil, nil,
|
239
239
|
nil, nil, nil, nil, nil, nil, 24, 24, 24, 24,
|
240
|
-
24, 24, 24, 24, 24, 24, 24, 24, 24,
|
241
|
-
|
242
|
-
nil, nil,
|
243
|
-
|
244
|
-
nil, nil, nil, nil, nil, nil, nil,
|
245
|
-
|
246
|
-
|
247
|
-
nil, nil, nil, nil,
|
248
|
-
|
240
|
+
24, 24, 24, 24, 24, 24, 24, 24, 24, 178,
|
241
|
+
178, 178, nil, nil, nil, nil, nil, 178, nil, nil,
|
242
|
+
nil, nil, 178, 178, 178, 178, 178, 178, 178, 178,
|
243
|
+
178, 178, 178, 178, 178, 186, 186, 186, nil, nil,
|
244
|
+
nil, nil, nil, nil, nil, nil, nil, 186, 186, 186,
|
245
|
+
186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
|
246
|
+
186, 174, 174, 174, nil, nil, nil, nil, nil, 174,
|
247
|
+
nil, nil, nil, nil, 174, 174, 174, 174, 174, 174,
|
248
|
+
174, 174, 174, 174, 174, 174, 174, 14, 14, 14,
|
249
249
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
250
|
-
|
251
|
-
14, 14, 14,
|
252
|
-
nil, nil, nil, nil, nil, nil,
|
253
|
-
|
254
|
-
|
255
|
-
nil,
|
256
|
-
|
250
|
+
nil, 14, 14, 14, 14, 14, 14, 14, 14, 14,
|
251
|
+
14, 14, 14, 173, 173, 173, nil, 173, nil, nil,
|
252
|
+
nil, nil, nil, nil, nil, nil, 173, 173, 173, 173,
|
253
|
+
173, 173, 173, 173, 173, 173, 173, 173, 173, 168,
|
254
|
+
168, 168, nil, nil, nil, nil, nil, nil, nil, nil,
|
255
|
+
nil, 168, 168, 168, 168, 168, 168, 168, 168, 168,
|
256
|
+
168, 168, 168, 168, 168, 8, 8, 8, nil, nil,
|
257
257
|
nil, nil, nil, nil, nil, nil, nil, nil, 8, 8,
|
258
258
|
8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
|
259
|
-
8,
|
260
|
-
nil, nil, nil, nil,
|
261
|
-
|
262
|
-
nil, nil, nil, nil, nil,
|
263
|
-
|
264
|
-
|
259
|
+
8, 166, 166, 166, nil, nil, nil, nil, nil, nil,
|
260
|
+
nil, nil, nil, nil, 166, 166, 166, 166, 166, 166,
|
261
|
+
166, 166, 166, 166, 166, 166, 166, 154, 154, 154,
|
262
|
+
nil, nil, nil, nil, nil, 154, nil, nil, nil, nil,
|
263
|
+
154, 154, 154, 154, 154, 154, 154, 154, 154, 154,
|
264
|
+
154, 154, 154, 25, 25, 25, nil, nil, nil, nil,
|
265
265
|
nil, nil, nil, nil, nil, nil, 25, 25, 25, 25,
|
266
|
-
25, 25, 25, 25, 25, 25, 25, 25, 25,
|
267
|
-
|
268
|
-
nil, nil,
|
269
|
-
|
270
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
271
|
-
|
272
|
-
|
273
|
-
nil, nil, nil,
|
274
|
-
|
266
|
+
25, 25, 25, 25, 25, 25, 25, 25, 25, 148,
|
267
|
+
148, 148, nil, nil, nil, nil, nil, nil, nil, nil,
|
268
|
+
nil, nil, 148, 148, 148, 148, 148, 148, 148, 148,
|
269
|
+
148, 148, 148, 148, 148, 144, 144, 144, nil, nil,
|
270
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 144, 144,
|
271
|
+
144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
|
272
|
+
144, 142, 142, 142, nil, nil, nil, nil, nil, nil,
|
273
|
+
nil, nil, nil, 142, 142, 142, 142, 142, 142, 142,
|
274
|
+
142, 142, 142, 142, 142, 142, 142, 90, 90, 90,
|
275
275
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
276
|
-
|
277
|
-
|
278
|
-
nil, nil, nil, nil, nil, nil,
|
279
|
-
|
280
|
-
|
281
|
-
nil, nil,
|
282
|
-
|
283
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
284
|
-
|
285
|
-
|
286
|
-
nil, nil, nil, nil,
|
287
|
-
|
288
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
289
|
-
|
290
|
-
|
291
|
-
nil, nil, nil, nil, nil, nil,
|
292
|
-
|
293
|
-
|
294
|
-
nil, nil,
|
295
|
-
|
296
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
297
|
-
|
298
|
-
|
299
|
-
nil, nil, nil,
|
300
|
-
|
276
|
+
90, 90, 90, 90, 90, 90, 90, 90, 90, 90,
|
277
|
+
90, 90, 90, 73, 73, 73, nil, nil, nil, nil,
|
278
|
+
nil, nil, nil, nil, nil, nil, 73, 73, 73, 73,
|
279
|
+
73, 73, 73, 73, 73, 73, 73, 73, 73, 74,
|
280
|
+
74, 74, nil, 74, nil, nil, nil, nil, nil, nil,
|
281
|
+
nil, nil, 74, 74, 74, 74, 74, 74, 74, 74,
|
282
|
+
74, 74, 74, 74, 74, 98, 98, 98, nil, 98,
|
283
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 98, 98,
|
284
|
+
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
|
285
|
+
98, 77, 77, 77, nil, nil, nil, nil, nil, nil,
|
286
|
+
nil, nil, nil, nil, 77, 77, 77, 77, 77, 77,
|
287
|
+
77, 77, 77, 77, 77, 77, 77, 127, 127, 127,
|
288
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 127,
|
289
|
+
127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
|
290
|
+
127, 127, 127, 79, 79, 79, nil, nil, nil, nil,
|
291
|
+
nil, nil, nil, nil, nil, nil, 79, 79, 79, 79,
|
292
|
+
79, 79, 79, 79, 79, 79, 79, 79, 79, 109,
|
293
|
+
109, 109, nil, nil, nil, nil, nil, nil, nil, nil,
|
294
|
+
nil, nil, 109, 109, 109, 109, 109, 109, 109, 109,
|
295
|
+
109, 109, 109, 109, 109, 81, 81, 81, nil, nil,
|
296
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 81,
|
297
|
+
81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
|
298
|
+
81, 115, 115, 115, nil, nil, nil, nil, nil, nil,
|
299
|
+
nil, nil, nil, 115, 115, 115, 115, 115, 115, 115,
|
300
|
+
115, 115, 115, 115, 115, 115, 115, 112, 112, 112,
|
301
301
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
302
|
-
|
303
|
-
|
304
|
-
nil, nil, nil, nil, nil, nil,
|
305
|
-
|
306
|
-
|
307
|
-
nil, nil,
|
308
|
-
|
309
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
310
|
-
|
311
|
-
|
312
|
-
nil, nil, nil, nil,
|
313
|
-
|
302
|
+
112, 112, 112, 112, 112, 112, 112, 112, 112, 112,
|
303
|
+
112, 112, 112, 110, 110, 110, nil, nil, nil, nil,
|
304
|
+
nil, nil, nil, nil, nil, nil, 110, 110, 110, 110,
|
305
|
+
110, 110, 110, 110, 110, 110, 110, 110, 110, 86,
|
306
|
+
86, 86, nil, nil, nil, nil, nil, nil, nil, nil,
|
307
|
+
nil, nil, 86, 86, 86, 86, 86, 86, 86, 86,
|
308
|
+
86, 86, 86, 86, 86, 87, 87, 87, nil, nil,
|
309
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 87, 87,
|
310
|
+
87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
|
311
|
+
87, 88, 88, 88, nil, nil, nil, nil, nil, nil,
|
312
|
+
nil, nil, nil, nil, 88, 88, 88, 88, 88, 88,
|
313
|
+
88, 88, 88, 88, 88, 88, 88, 94, 94, 94,
|
314
314
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
315
|
-
|
316
|
-
|
317
|
-
nil, nil, nil, nil, nil, nil,
|
318
|
-
|
319
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
320
|
-
|
321
|
-
|
322
|
-
nil, nil, 3, nil, nil, 3, 3, 3,
|
315
|
+
94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
|
316
|
+
94, 94, 94, 89, 89, 89, nil, nil, nil, nil,
|
317
|
+
nil, nil, nil, nil, nil, nil, 89, 89, 89, 89,
|
318
|
+
89, 89, 89, 89, 89, 89, 89, 124, 124, 124,
|
319
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 124,
|
320
|
+
124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
|
321
|
+
124, 3, 3, 3, nil, nil, 82, 82, 82, nil,
|
322
|
+
nil, nil, 3, nil, nil, 3, 3, 3, 82, 3,
|
323
323
|
3, 3, 3, nil, 3, 0, 0, 0, nil, nil,
|
324
324
|
nil, nil, nil, nil, nil, nil, 0, nil, nil, 0,
|
325
325
|
0, 0, nil, 0, 0, 0, 0, nil, 0 ]
|
@@ -330,105 +330,107 @@ racc_action_pointer = [
|
|
330
330
|
nil, nil, nil, nil, 351, 611, 247, 273, 299, 325,
|
331
331
|
145, nil, 137, nil, nil, nil, nil, nil, nil, nil,
|
332
332
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
333
|
-
nil, 24, nil, nil, nil, nil, -2, 50, 104,
|
334
|
-
nil, 95, 100, 98, 77, 75, nil, 54, 3,
|
335
|
-
nil, 51, 741, 767, 32, nil, 819, 29, 871,
|
336
|
-
923, 1184, nil, 28, 16, 1027, 1053, 1079, 1131,
|
337
|
-
71, 28, nil, 1105, 130, 166, nil, 793, nil,
|
338
|
-
nil, 134, nil, 86, nil, 24, nil, nil, 897,
|
339
|
-
nil, 975, 32, nil, 949, nil, 24, nil, nil,
|
340
|
-
nil, nil, nil, 1155, 51, nil, 845, nil, nil,
|
341
|
-
53, nil, nil, 31, nil, nil, 134, nil, 51,
|
342
|
-
nil, 689, nil, 663, 79, nil, nil, 637, nil,
|
343
|
-
221, nil, nil, 585, 98, nil, nil, nil, nil,
|
344
|
-
nil, nil, nil, nil, nil, 559, 105, 507, nil,
|
345
|
-
nil, nil, 481, 429, nil, nil, -4, 377, -5,
|
346
|
-
nil, nil, 192, nil, nil, 403, nil, 140, nil,
|
347
|
-
nil, 163, nil, 0, nil, nil, nil, nil, nil,
|
348
|
-
nil, nil, nil ]
|
333
|
+
nil, 24, nil, nil, nil, nil, -2, 50, 104, nil,
|
334
|
+
29, nil, 95, 100, 98, 77, 75, nil, 54, 3,
|
335
|
+
nil, nil, 51, 741, 767, 32, nil, 819, 29, 871,
|
336
|
+
45, 923, 1184, nil, 28, 16, 1027, 1053, 1079, 1131,
|
337
|
+
715, 71, 28, nil, 1105, 130, 166, nil, 793, nil,
|
338
|
+
132, nil, 134, nil, 86, nil, 24, nil, nil, 897,
|
339
|
+
1001, nil, 975, 32, nil, 949, nil, 24, nil, nil,
|
340
|
+
nil, nil, nil, nil, 1155, 51, nil, 845, nil, nil,
|
341
|
+
nil, 53, nil, nil, 31, nil, nil, 134, nil, 51,
|
342
|
+
159, nil, 689, nil, 663, 79, nil, nil, 637, nil,
|
343
|
+
nil, 221, nil, nil, 585, 98, nil, nil, nil, nil,
|
344
|
+
nil, nil, nil, nil, nil, nil, 559, 105, 507, nil,
|
345
|
+
nil, nil, nil, 481, 429, nil, nil, -4, 377, -5,
|
346
|
+
nil, nil, nil, 192, nil, nil, 403, nil, 140, nil,
|
347
|
+
159, nil, 163, nil, 0, nil, nil, nil, nil, nil,
|
348
|
+
76, nil, nil, nil ]
|
349
349
|
|
350
350
|
racc_action_default = [
|
351
|
-
-
|
352
|
-
-10, -11, -12, -
|
353
|
-
-
|
354
|
-
-
|
351
|
+
-128, -128, -1, -2, -3, -5, -6, -7, -13, -9,
|
352
|
+
-10, -11, -12, -128, -96, -98, -99, -128, -104, -105,
|
353
|
+
-106, -107, -108, -109, -128, -128, -128, -128, -128, -128,
|
354
|
+
-128, -4, -15, -14, -36, -37, -38, -39, -40, -41,
|
355
355
|
-42, -43, -44, -45, -46, -47, -48, -49, -50, -51,
|
356
|
-
-25, -
|
357
|
-
-
|
358
|
-
-30, -87, -
|
359
|
-
-
|
360
|
-
-
|
361
|
-
-90, -61, -92, -87, -94, -87,
|
362
|
-
-57, -
|
363
|
-
-55, -56, -59, -
|
364
|
-
-
|
365
|
-
-
|
366
|
-
-126, -
|
367
|
-
-71, -72, -73, -74, -75, -
|
368
|
-
-95, -
|
369
|
-
-76, -77, -
|
370
|
-
-21, -
|
371
|
-
-24, -22, -85 ]
|
356
|
+
-25, -128, -29, -31, -32, -33, -61, -87, -128, -97,
|
357
|
+
-128, -110, -112, -128, -128, -128, -128, 204, -87, -128,
|
358
|
+
-26, -30, -87, -128, -128, -88, -89, -128, -87, -128,
|
359
|
+
-128, -128, -128, -101, -128, -128, -128, -128, -128, -128,
|
360
|
+
-128, -128, -128, -17, -128, -27, -61, -62, -128, -64,
|
361
|
+
-128, -90, -61, -92, -87, -94, -87, -100, -102, -128,
|
362
|
+
-128, -57, -113, -117, -120, -128, -123, -125, -52, -53,
|
363
|
+
-54, -55, -56, -59, -128, -128, -115, -128, -8, -16,
|
364
|
+
-18, -128, -28, -34, -87, -63, -65, -128, -91, -128,
|
365
|
+
-128, -103, -128, -58, -128, -128, -121, -122, -128, -60,
|
366
|
+
-126, -128, -116, -127, -128, -27, -66, -67, -68, -69,
|
367
|
+
-70, -71, -72, -73, -74, -75, -128, -128, -128, -86,
|
368
|
+
-93, -95, -111, -128, -128, -124, -20, -23, -128, -23,
|
369
|
+
-35, -76, -77, -128, -79, -81, -128, -83, -128, -118,
|
370
|
+
-119, -21, -128, -114, -128, -19, -78, -80, -82, -84,
|
371
|
+
-128, -24, -22, -85 ]
|
372
372
|
|
373
373
|
racc_goto_table = [
|
374
|
-
8,
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
nil, nil, nil, nil, nil,
|
385
|
-
|
386
|
-
nil, nil, nil,
|
387
|
-
nil, nil, nil, nil, nil, nil,
|
388
|
-
nil,
|
389
|
-
nil,
|
390
|
-
nil, nil, nil,
|
391
|
-
|
392
|
-
nil, nil,
|
393
|
-
nil,
|
374
|
+
8, 59, 133, 8, 156, 122, 33, 127, 152, 52,
|
375
|
+
123, 56, 72, 99, 146, 1, 177, 80, 187, 179,
|
376
|
+
105, 124, 61, 62, 63, 64, 65, 66, 91, 83,
|
377
|
+
98, 128, 95, 93, 184, 132, 199, 136, 103, 190,
|
378
|
+
122, 146, 115, 194, 78, 149, 193, 71, 195, 56,
|
379
|
+
197, 108, 134, 122, 152, 112, 130, 183, 138, 201,
|
380
|
+
84, 173, 180, 186, 139, 142, 140, 203, 106, 51,
|
381
|
+
4, 96, 100, 31, 101, 102, 58, 104, 82, 170,
|
382
|
+
171, 92, 84, 122, 111, 85, 116, 68, 125, 121,
|
383
|
+
32, 3, 131, 145, 155, 132, 100, 2, 117, 122,
|
384
|
+
nil, nil, nil, nil, nil, nil, nil, 141, 122, nil,
|
385
|
+
143, nil, nil, nil, nil, nil, 122, nil, nil, nil,
|
386
|
+
nil, nil, nil, nil, 121, 125, nil, nil, nil, nil,
|
387
|
+
nil, nil, nil, nil, nil, nil, nil, 121, nil, nil,
|
388
|
+
nil, nil, 125, nil, nil, nil, 175, nil, nil, 176,
|
389
|
+
nil, nil, 176, nil, nil, nil, nil, nil, nil, nil,
|
390
|
+
nil, nil, nil, nil, 181, nil, 188, 121, nil, nil,
|
391
|
+
nil, 125, 176, nil, nil, nil, 176, nil, nil, nil,
|
392
|
+
nil, nil, nil, 121, 188, nil, nil, nil, nil, nil,
|
393
|
+
nil, nil, 121, nil, nil, nil, nil, nil, nil, nil,
|
394
|
+
121 ]
|
394
395
|
|
395
396
|
racc_goto_check = [
|
396
|
-
8,
|
397
|
-
28, 13,
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
13, 13,
|
404
|
-
|
405
|
-
|
406
|
-
nil, nil, nil, nil, nil,
|
407
|
-
|
397
|
+
8, 26, 20, 8, 18, 27, 13, 56, 55, 21,
|
398
|
+
28, 13, 25, 32, 58, 1, 16, 11, 39, 16,
|
399
|
+
12, 30, 13, 13, 13, 13, 13, 13, 11, 46,
|
400
|
+
31, 12, 11, 15, 18, 12, 39, 32, 11, 16,
|
401
|
+
27, 58, 54, 16, 26, 28, 17, 21, 17, 13,
|
402
|
+
18, 46, 25, 27, 55, 29, 15, 37, 25, 18,
|
403
|
+
8, 56, 20, 38, 11, 54, 11, 18, 26, 19,
|
404
|
+
4, 13, 13, 4, 41, 13, 42, 13, 45, 12,
|
405
|
+
12, 14, 8, 27, 13, 53, 13, 10, 13, 8,
|
406
|
+
9, 3, 13, 57, 11, 12, 13, 2, 59, 27,
|
407
|
+
nil, nil, nil, nil, nil, nil, nil, 13, 27, nil,
|
408
|
+
13, nil, nil, nil, nil, nil, 27, nil, nil, nil,
|
409
|
+
nil, nil, nil, nil, 8, 13, nil, nil, nil, nil,
|
410
|
+
nil, nil, nil, nil, nil, nil, nil, 8, nil, nil,
|
411
|
+
nil, nil, 13, nil, nil, nil, 13, nil, nil, 13,
|
412
|
+
nil, nil, 13, nil, nil, nil, nil, nil, nil, nil,
|
413
|
+
nil, nil, nil, nil, 13, nil, 13, 8, nil, nil,
|
414
|
+
nil, 13, 13, nil, nil, nil, 13, nil, nil, nil,
|
408
415
|
nil, nil, nil, 8, 13, nil, nil, nil, nil, nil,
|
409
|
-
nil, nil, nil, nil, nil, nil,
|
410
|
-
|
411
|
-
nil, 13, nil, nil, nil, nil, nil, nil, nil, nil,
|
412
|
-
nil, nil, nil, 13, nil, 13, 8, nil, nil, nil,
|
413
|
-
13, 13, nil, nil, nil, 13, nil, nil, nil, nil,
|
414
|
-
nil, nil, 8, 13, nil, nil, nil, nil, nil, nil,
|
415
|
-
nil, 8, nil, nil, nil, nil, nil, nil, nil, 8 ]
|
416
|
+
nil, nil, 8, nil, nil, nil, nil, nil, nil, nil,
|
417
|
+
8 ]
|
416
418
|
|
417
419
|
racc_goto_pointer = [
|
418
|
-
nil,
|
419
|
-
|
420
|
-
-93, -
|
421
|
-
-
|
422
|
-
nil,
|
423
|
-
nil, nil,
|
420
|
+
nil, 15, 97, 91, 70, nil, nil, nil, 0, 82,
|
421
|
+
55, -40, -60, -2, 12, -36, -135, -131, -133, 56,
|
422
|
+
-93, -4, nil, nil, nil, -44, -13, -84, -79, -31,
|
423
|
+
-68, -44, -61, nil, nil, nil, nil, -110, -105, -150,
|
424
|
+
nil, -1, 62, nil, nil, 18, -31, nil, nil, nil,
|
425
|
+
nil, nil, nil, 23, -45, -119, -83, -20, -101, 10 ]
|
424
426
|
|
425
427
|
racc_goto_default = [
|
426
428
|
nil, nil, nil, nil, nil, 5, 6, 7, 48, nil,
|
427
|
-
nil, nil, 9,
|
428
|
-
nil, nil, 53, 54, 55, nil, 34, 49,
|
429
|
-
nil, nil, nil,
|
430
|
-
|
431
|
-
22, 23, nil, nil,
|
429
|
+
nil, nil, 9, 113, nil, nil, nil, nil, nil, nil,
|
430
|
+
nil, nil, 53, 54, 55, nil, 34, 49, 169, nil,
|
431
|
+
nil, nil, nil, 162, 163, 164, 165, nil, nil, nil,
|
432
|
+
75, 76, nil, 15, 16, nil, nil, 18, 19, 20,
|
433
|
+
21, 22, 23, nil, nil, 126, nil, nil, 114, nil ]
|
432
434
|
|
433
435
|
racc_reduce_table = [
|
434
436
|
0, 0, :racc_error,
|
@@ -527,40 +529,42 @@ racc_reduce_table = [
|
|
527
529
|
5, 58, :_reduce_93,
|
528
530
|
3, 58, :_reduce_94,
|
529
531
|
6, 40, :_reduce_95,
|
532
|
+
0, 76, :_reduce_96,
|
533
|
+
1, 76, :_reduce_none,
|
530
534
|
1, 41, :_reduce_none,
|
531
535
|
1, 41, :_reduce_none,
|
532
|
-
4,
|
536
|
+
4, 77, :_reduce_100,
|
537
|
+
1, 79, :_reduce_none,
|
538
|
+
2, 79, :_reduce_102,
|
539
|
+
3, 80, :_reduce_103,
|
540
|
+
1, 78, :_reduce_none,
|
541
|
+
1, 78, :_reduce_none,
|
542
|
+
1, 78, :_reduce_none,
|
533
543
|
1, 78, :_reduce_none,
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
1,
|
542
|
-
2,
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
3,
|
551
|
-
4,
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
5, 84, :_reduce_124,
|
559
|
-
5, 85, :_reduce_125 ]
|
560
|
-
|
561
|
-
racc_reduce_n = 126
|
562
|
-
|
563
|
-
racc_shift_n = 203
|
544
|
+
1, 78, :_reduce_none,
|
545
|
+
1, 78, :_reduce_none,
|
546
|
+
2, 81, :_reduce_110,
|
547
|
+
6, 82, :_reduce_111,
|
548
|
+
0, 87, :_reduce_112,
|
549
|
+
2, 87, :_reduce_113,
|
550
|
+
4, 89, :_reduce_114,
|
551
|
+
1, 90, :_reduce_115,
|
552
|
+
2, 90, :_reduce_116,
|
553
|
+
0, 91, :_reduce_117,
|
554
|
+
3, 91, :_reduce_118,
|
555
|
+
4, 92, :_reduce_119,
|
556
|
+
1, 88, :_reduce_120,
|
557
|
+
2, 88, :_reduce_121,
|
558
|
+
5, 83, :_reduce_122,
|
559
|
+
1, 93, :_reduce_123,
|
560
|
+
3, 93, :_reduce_124,
|
561
|
+
4, 84, :_reduce_125,
|
562
|
+
5, 85, :_reduce_126,
|
563
|
+
5, 86, :_reduce_127 ]
|
564
|
+
|
565
|
+
racc_reduce_n = 128
|
566
|
+
|
567
|
+
racc_shift_n = 204
|
564
568
|
|
565
569
|
racc_token_table = {
|
566
570
|
false => 0,
|
@@ -695,6 +699,7 @@ Racc_token_to_s_table = [
|
|
695
699
|
"object_value_field",
|
696
700
|
"directives_list",
|
697
701
|
"directive",
|
702
|
+
"fragment_name_opt",
|
698
703
|
"schema_definition",
|
699
704
|
"type_definition",
|
700
705
|
"operation_type_definition_list",
|
@@ -1260,37 +1265,42 @@ module_eval(<<'.,.,', 'parser.y', 231)
|
|
1260
1265
|
end
|
1261
1266
|
.,.,
|
1262
1267
|
|
1263
|
-
|
1268
|
+
module_eval(<<'.,.,', 'parser.y', 242)
|
1269
|
+
def _reduce_96(val, _values, result)
|
1270
|
+
return nil
|
1271
|
+
result
|
1272
|
+
end
|
1273
|
+
.,.,
|
1264
1274
|
|
1265
1275
|
# reduce 97 omitted
|
1266
1276
|
|
1267
|
-
|
1268
|
-
|
1277
|
+
# reduce 98 omitted
|
1278
|
+
|
1279
|
+
# reduce 99 omitted
|
1280
|
+
|
1281
|
+
module_eval(<<'.,.,', 'parser.y', 250)
|
1282
|
+
def _reduce_100(val, _values, result)
|
1269
1283
|
return make_node(:SchemaDefinition, val[2])
|
1270
1284
|
result
|
1271
1285
|
end
|
1272
1286
|
.,.,
|
1273
1287
|
|
1274
|
-
# reduce
|
1288
|
+
# reduce 101 omitted
|
1275
1289
|
|
1276
|
-
module_eval(<<'.,.,', 'parser.y',
|
1277
|
-
def
|
1290
|
+
module_eval(<<'.,.,', 'parser.y', 254)
|
1291
|
+
def _reduce_102(val, _values, result)
|
1278
1292
|
return val[0].merge(val[1])
|
1279
1293
|
result
|
1280
1294
|
end
|
1281
1295
|
.,.,
|
1282
1296
|
|
1283
|
-
module_eval(<<'.,.,', 'parser.y',
|
1284
|
-
def
|
1297
|
+
module_eval(<<'.,.,', 'parser.y', 257)
|
1298
|
+
def _reduce_103(val, _values, result)
|
1285
1299
|
return { val[0].to_s.to_sym => val[2] }
|
1286
1300
|
result
|
1287
1301
|
end
|
1288
1302
|
.,.,
|
1289
1303
|
|
1290
|
-
# reduce 102 omitted
|
1291
|
-
|
1292
|
-
# reduce 103 omitted
|
1293
|
-
|
1294
1304
|
# reduce 104 omitted
|
1295
1305
|
|
1296
1306
|
# reduce 105 omitted
|
@@ -1299,133 +1309,137 @@ module_eval(<<'.,.,', 'parser.y', 254)
|
|
1299
1309
|
|
1300
1310
|
# reduce 107 omitted
|
1301
1311
|
|
1302
|
-
|
1303
|
-
|
1312
|
+
# reduce 108 omitted
|
1313
|
+
|
1314
|
+
# reduce 109 omitted
|
1315
|
+
|
1316
|
+
module_eval(<<'.,.,', 'parser.y', 267)
|
1317
|
+
def _reduce_110(val, _values, result)
|
1304
1318
|
return make_node(:ScalarTypeDefinition, name: val[1])
|
1305
1319
|
result
|
1306
1320
|
end
|
1307
1321
|
.,.,
|
1308
1322
|
|
1309
|
-
module_eval(<<'.,.,', 'parser.y',
|
1310
|
-
def
|
1323
|
+
module_eval(<<'.,.,', 'parser.y', 271)
|
1324
|
+
def _reduce_111(val, _values, result)
|
1311
1325
|
return make_node(:ObjectTypeDefinition, name: val[1], interfaces: val[2], fields: val[4])
|
1312
1326
|
|
1313
1327
|
result
|
1314
1328
|
end
|
1315
1329
|
.,.,
|
1316
1330
|
|
1317
|
-
module_eval(<<'.,.,', 'parser.y',
|
1318
|
-
def
|
1331
|
+
module_eval(<<'.,.,', 'parser.y', 275)
|
1332
|
+
def _reduce_112(val, _values, result)
|
1319
1333
|
return []
|
1320
1334
|
result
|
1321
1335
|
end
|
1322
1336
|
.,.,
|
1323
1337
|
|
1324
|
-
module_eval(<<'.,.,', 'parser.y',
|
1325
|
-
def
|
1338
|
+
module_eval(<<'.,.,', 'parser.y', 276)
|
1339
|
+
def _reduce_113(val, _values, result)
|
1326
1340
|
return val[1]
|
1327
1341
|
result
|
1328
1342
|
end
|
1329
1343
|
.,.,
|
1330
1344
|
|
1331
|
-
module_eval(<<'.,.,', 'parser.y',
|
1332
|
-
def
|
1345
|
+
module_eval(<<'.,.,', 'parser.y', 280)
|
1346
|
+
def _reduce_114(val, _values, result)
|
1333
1347
|
return make_node(:InputValueDefinition, name: val[0], type: val[2], default_value: val[3])
|
1334
1348
|
|
1335
1349
|
result
|
1336
1350
|
end
|
1337
1351
|
.,.,
|
1338
1352
|
|
1339
|
-
module_eval(<<'.,.,', 'parser.y',
|
1340
|
-
def
|
1353
|
+
module_eval(<<'.,.,', 'parser.y', 284)
|
1354
|
+
def _reduce_115(val, _values, result)
|
1341
1355
|
return [val[0]]
|
1342
1356
|
result
|
1343
1357
|
end
|
1344
1358
|
.,.,
|
1345
1359
|
|
1346
|
-
module_eval(<<'.,.,', 'parser.y',
|
1347
|
-
def
|
1360
|
+
module_eval(<<'.,.,', 'parser.y', 285)
|
1361
|
+
def _reduce_116(val, _values, result)
|
1348
1362
|
val[0] << val[1]
|
1349
1363
|
result
|
1350
1364
|
end
|
1351
1365
|
.,.,
|
1352
1366
|
|
1353
|
-
module_eval(<<'.,.,', 'parser.y',
|
1354
|
-
def
|
1367
|
+
module_eval(<<'.,.,', 'parser.y', 288)
|
1368
|
+
def _reduce_117(val, _values, result)
|
1355
1369
|
return []
|
1356
1370
|
result
|
1357
1371
|
end
|
1358
1372
|
.,.,
|
1359
1373
|
|
1360
|
-
module_eval(<<'.,.,', 'parser.y',
|
1361
|
-
def
|
1374
|
+
module_eval(<<'.,.,', 'parser.y', 289)
|
1375
|
+
def _reduce_118(val, _values, result)
|
1362
1376
|
return val[1]
|
1363
1377
|
result
|
1364
1378
|
end
|
1365
1379
|
.,.,
|
1366
1380
|
|
1367
|
-
module_eval(<<'.,.,', 'parser.y',
|
1368
|
-
def
|
1381
|
+
module_eval(<<'.,.,', 'parser.y', 293)
|
1382
|
+
def _reduce_119(val, _values, result)
|
1369
1383
|
return make_node(:FieldDefinition, name: val[0], arguments: val[1], type: val[3])
|
1370
1384
|
|
1371
1385
|
result
|
1372
1386
|
end
|
1373
1387
|
.,.,
|
1374
1388
|
|
1375
|
-
module_eval(<<'.,.,', 'parser.y',
|
1376
|
-
def
|
1389
|
+
module_eval(<<'.,.,', 'parser.y', 297)
|
1390
|
+
def _reduce_120(val, _values, result)
|
1377
1391
|
return [val[0]]
|
1378
1392
|
result
|
1379
1393
|
end
|
1380
1394
|
.,.,
|
1381
1395
|
|
1382
|
-
module_eval(<<'.,.,', 'parser.y',
|
1383
|
-
def
|
1396
|
+
module_eval(<<'.,.,', 'parser.y', 298)
|
1397
|
+
def _reduce_121(val, _values, result)
|
1384
1398
|
val[0] << val[1]
|
1385
1399
|
result
|
1386
1400
|
end
|
1387
1401
|
.,.,
|
1388
1402
|
|
1389
|
-
module_eval(<<'.,.,', 'parser.y',
|
1390
|
-
def
|
1403
|
+
module_eval(<<'.,.,', 'parser.y', 302)
|
1404
|
+
def _reduce_122(val, _values, result)
|
1391
1405
|
return make_node(:InterfaceTypeDefinition, name: val[1], fields: val[3])
|
1392
1406
|
|
1393
1407
|
result
|
1394
1408
|
end
|
1395
1409
|
.,.,
|
1396
1410
|
|
1397
|
-
module_eval(<<'.,.,', 'parser.y',
|
1398
|
-
def
|
1411
|
+
module_eval(<<'.,.,', 'parser.y', 306)
|
1412
|
+
def _reduce_123(val, _values, result)
|
1399
1413
|
return [val[0].to_s]
|
1400
1414
|
result
|
1401
1415
|
end
|
1402
1416
|
.,.,
|
1403
1417
|
|
1404
|
-
module_eval(<<'.,.,', 'parser.y',
|
1405
|
-
def
|
1418
|
+
module_eval(<<'.,.,', 'parser.y', 307)
|
1419
|
+
def _reduce_124(val, _values, result)
|
1406
1420
|
val[0] << val[2].to_s
|
1407
1421
|
result
|
1408
1422
|
end
|
1409
1423
|
.,.,
|
1410
1424
|
|
1411
|
-
module_eval(<<'.,.,', 'parser.y',
|
1412
|
-
def
|
1425
|
+
module_eval(<<'.,.,', 'parser.y', 311)
|
1426
|
+
def _reduce_125(val, _values, result)
|
1413
1427
|
return make_node(:UnionTypeDefinition, name: val[1], types: val[3])
|
1414
1428
|
|
1415
1429
|
result
|
1416
1430
|
end
|
1417
1431
|
.,.,
|
1418
1432
|
|
1419
|
-
module_eval(<<'.,.,', 'parser.y',
|
1420
|
-
def
|
1433
|
+
module_eval(<<'.,.,', 'parser.y', 316)
|
1434
|
+
def _reduce_126(val, _values, result)
|
1421
1435
|
return make_node(:EnumTypeDefinition, name: val[1], values: val[3])
|
1422
1436
|
|
1423
1437
|
result
|
1424
1438
|
end
|
1425
1439
|
.,.,
|
1426
1440
|
|
1427
|
-
module_eval(<<'.,.,', 'parser.y',
|
1428
|
-
def
|
1441
|
+
module_eval(<<'.,.,', 'parser.y', 321)
|
1442
|
+
def _reduce_127(val, _values, result)
|
1429
1443
|
return make_node(:InputObjectTypeDefinition, name: val[1], fields: val[3])
|
1430
1444
|
|
1431
1445
|
result
|