graphql-c_parser 1.1.4 → 1.2.0

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.
@@ -75,7 +75,7 @@
75
75
  #define YYSTACK_USE_ALLOCA 1
76
76
 
77
77
  int yylex(YYSTYPE *, VALUE, VALUE);
78
- void yyerror(VALUE, VALUE, const char*);
78
+ NORETURN(void yyerror(VALUE, VALUE, const char*));
79
79
 
80
80
  static VALUE GraphQL_Language_Nodes_NONE;
81
81
  static VALUE r_string_query;
@@ -159,92 +159,92 @@ extern int yydebug;
159
159
  # define YYTOKENTYPE
160
160
  enum yytokentype
161
161
  {
162
- YYEMPTY = -2,
163
- YYEOF = 0, /* "end of file" */
164
- YYerror = 256, /* error */
165
- YYUNDEF = 257, /* "invalid token" */
166
- AMP = 200, /* AMP */
167
- BANG = 201, /* BANG */
168
- COLON = 202, /* COLON */
169
- DIRECTIVE = 203, /* DIRECTIVE */
170
- DIR_SIGN = 204, /* DIR_SIGN */
171
- ENUM = 205, /* ENUM */
172
- ELLIPSIS = 206, /* ELLIPSIS */
173
- EQUALS = 207, /* EQUALS */
174
- EXTEND = 208, /* EXTEND */
175
- FALSE_LITERAL = 209, /* FALSE_LITERAL */
176
- FLOAT = 210, /* FLOAT */
177
- FRAGMENT = 211, /* FRAGMENT */
178
- IDENTIFIER = 212, /* IDENTIFIER */
179
- INPUT = 213, /* INPUT */
180
- IMPLEMENTS = 214, /* IMPLEMENTS */
181
- INT = 215, /* INT */
182
- INTERFACE = 216, /* INTERFACE */
183
- LBRACKET = 217, /* LBRACKET */
184
- LCURLY = 218, /* LCURLY */
185
- LPAREN = 219, /* LPAREN */
186
- MUTATION = 220, /* MUTATION */
187
- NULL_LITERAL = 221, /* NULL_LITERAL */
188
- ON = 222, /* ON */
189
- PIPE = 223, /* PIPE */
190
- QUERY = 224, /* QUERY */
191
- RBRACKET = 225, /* RBRACKET */
192
- RCURLY = 226, /* RCURLY */
193
- REPEATABLE = 227, /* REPEATABLE */
194
- RPAREN = 228, /* RPAREN */
195
- SCALAR = 229, /* SCALAR */
196
- SCHEMA = 230, /* SCHEMA */
197
- STRING = 231, /* STRING */
198
- SUBSCRIPTION = 232, /* SUBSCRIPTION */
199
- TRUE_LITERAL = 233, /* TRUE_LITERAL */
200
- TYPE_LITERAL = 234, /* TYPE_LITERAL */
201
- UNION = 235, /* UNION */
202
- VAR_SIGN = 236 /* VAR_SIGN */
162
+ GRAPHQL_YYEMPTY = -2,
163
+ GRAPHQL_YYEOF = 0, /* "end of file" */
164
+ GRAPHQL_YYerror = 256, /* error */
165
+ GRAPHQL_YYUNDEF = 257, /* "invalid token" */
166
+ GRAPHQL_AMP = 200, /* AMP */
167
+ GRAPHQL_BANG = 201, /* BANG */
168
+ GRAPHQL_COLON = 202, /* COLON */
169
+ GRAPHQL_DIRECTIVE = 203, /* DIRECTIVE */
170
+ GRAPHQL_DIR_SIGN = 204, /* DIR_SIGN */
171
+ GRAPHQL_ENUM = 205, /* ENUM */
172
+ GRAPHQL_ELLIPSIS = 206, /* ELLIPSIS */
173
+ GRAPHQL_EQUALS = 207, /* EQUALS */
174
+ GRAPHQL_EXTEND = 208, /* EXTEND */
175
+ GRAPHQL_FALSE_LITERAL = 209, /* FALSE_LITERAL */
176
+ GRAPHQL_FLOAT = 210, /* FLOAT */
177
+ GRAPHQL_FRAGMENT = 211, /* FRAGMENT */
178
+ GRAPHQL_IDENTIFIER = 212, /* IDENTIFIER */
179
+ GRAPHQL_INPUT = 213, /* INPUT */
180
+ GRAPHQL_IMPLEMENTS = 214, /* IMPLEMENTS */
181
+ GRAPHQL_INT = 215, /* INT */
182
+ GRAPHQL_INTERFACE = 216, /* INTERFACE */
183
+ GRAPHQL_LBRACKET = 217, /* LBRACKET */
184
+ GRAPHQL_LCURLY = 218, /* LCURLY */
185
+ GRAPHQL_LPAREN = 219, /* LPAREN */
186
+ GRAPHQL_MUTATION = 220, /* MUTATION */
187
+ GRAPHQL_NULL_LITERAL = 221, /* NULL_LITERAL */
188
+ GRAPHQL_ON = 222, /* ON */
189
+ GRAPHQL_PIPE = 223, /* PIPE */
190
+ GRAPHQL_QUERY = 224, /* QUERY */
191
+ GRAPHQL_RBRACKET = 225, /* RBRACKET */
192
+ GRAPHQL_RCURLY = 226, /* RCURLY */
193
+ GRAPHQL_REPEATABLE = 227, /* REPEATABLE */
194
+ GRAPHQL_RPAREN = 228, /* RPAREN */
195
+ GRAPHQL_SCALAR = 229, /* SCALAR */
196
+ GRAPHQL_SCHEMA = 230, /* SCHEMA */
197
+ GRAPHQL_STRING = 231, /* STRING */
198
+ GRAPHQL_SUBSCRIPTION = 232, /* SUBSCRIPTION */
199
+ GRAPHQL_TRUE_LITERAL = 233, /* TRUE_LITERAL */
200
+ GRAPHQL_TYPE_LITERAL = 234, /* TYPE_LITERAL */
201
+ GRAPHQL_UNION = 235, /* UNION */
202
+ GRAPHQL_VAR_SIGN = 236 /* VAR_SIGN */
203
203
  };
204
204
  typedef enum yytokentype yytoken_kind_t;
205
205
  #endif
206
206
  /* Token kinds. */
207
- #define YYEMPTY -2
208
- #define YYEOF 0
209
- #define YYerror 256
210
- #define YYUNDEF 257
211
- #define AMP 200
212
- #define BANG 201
213
- #define COLON 202
214
- #define DIRECTIVE 203
215
- #define DIR_SIGN 204
216
- #define ENUM 205
217
- #define ELLIPSIS 206
218
- #define EQUALS 207
219
- #define EXTEND 208
220
- #define FALSE_LITERAL 209
221
- #define FLOAT 210
222
- #define FRAGMENT 211
223
- #define IDENTIFIER 212
224
- #define INPUT 213
225
- #define IMPLEMENTS 214
226
- #define INT 215
227
- #define INTERFACE 216
228
- #define LBRACKET 217
229
- #define LCURLY 218
230
- #define LPAREN 219
231
- #define MUTATION 220
232
- #define NULL_LITERAL 221
233
- #define ON 222
234
- #define PIPE 223
235
- #define QUERY 224
236
- #define RBRACKET 225
237
- #define RCURLY 226
238
- #define REPEATABLE 227
239
- #define RPAREN 228
240
- #define SCALAR 229
241
- #define SCHEMA 230
242
- #define STRING 231
243
- #define SUBSCRIPTION 232
244
- #define TRUE_LITERAL 233
245
- #define TYPE_LITERAL 234
246
- #define UNION 235
247
- #define VAR_SIGN 236
207
+ #define GRAPHQL_YYEMPTY -2
208
+ #define GRAPHQL_YYEOF 0
209
+ #define GRAPHQL_YYerror 256
210
+ #define GRAPHQL_YYUNDEF 257
211
+ #define GRAPHQL_AMP 200
212
+ #define GRAPHQL_BANG 201
213
+ #define GRAPHQL_COLON 202
214
+ #define GRAPHQL_DIRECTIVE 203
215
+ #define GRAPHQL_DIR_SIGN 204
216
+ #define GRAPHQL_ENUM 205
217
+ #define GRAPHQL_ELLIPSIS 206
218
+ #define GRAPHQL_EQUALS 207
219
+ #define GRAPHQL_EXTEND 208
220
+ #define GRAPHQL_FALSE_LITERAL 209
221
+ #define GRAPHQL_FLOAT 210
222
+ #define GRAPHQL_FRAGMENT 211
223
+ #define GRAPHQL_IDENTIFIER 212
224
+ #define GRAPHQL_INPUT 213
225
+ #define GRAPHQL_IMPLEMENTS 214
226
+ #define GRAPHQL_INT 215
227
+ #define GRAPHQL_INTERFACE 216
228
+ #define GRAPHQL_LBRACKET 217
229
+ #define GRAPHQL_LCURLY 218
230
+ #define GRAPHQL_LPAREN 219
231
+ #define GRAPHQL_MUTATION 220
232
+ #define GRAPHQL_NULL_LITERAL 221
233
+ #define GRAPHQL_ON 222
234
+ #define GRAPHQL_PIPE 223
235
+ #define GRAPHQL_QUERY 224
236
+ #define GRAPHQL_RBRACKET 225
237
+ #define GRAPHQL_RCURLY 226
238
+ #define GRAPHQL_REPEATABLE 227
239
+ #define GRAPHQL_RPAREN 228
240
+ #define GRAPHQL_SCALAR 229
241
+ #define GRAPHQL_SCHEMA 230
242
+ #define GRAPHQL_STRING 231
243
+ #define GRAPHQL_SUBSCRIPTION 232
244
+ #define GRAPHQL_TRUE_LITERAL 233
245
+ #define GRAPHQL_TYPE_LITERAL 234
246
+ #define GRAPHQL_UNION 235
247
+ #define GRAPHQL_VAR_SIGN 236
248
248
 
249
249
  /* Value type. */
250
250
  #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
@@ -325,74 +325,77 @@ enum yysymbol_kind_t
325
325
  YYSYMBOL_arguments_opt = 58, /* arguments_opt */
326
326
  YYSYMBOL_arguments_list = 59, /* arguments_list */
327
327
  YYSYMBOL_argument = 60, /* argument */
328
- YYSYMBOL_literal_value = 61, /* literal_value */
329
- YYSYMBOL_input_value = 62, /* input_value */
330
- YYSYMBOL_null_value = 63, /* null_value */
331
- YYSYMBOL_variable = 64, /* variable */
332
- YYSYMBOL_list_value = 65, /* list_value */
333
- YYSYMBOL_list_value_list = 66, /* list_value_list */
334
- YYSYMBOL_enum_name = 67, /* enum_name */
335
- YYSYMBOL_enum_value = 68, /* enum_value */
336
- YYSYMBOL_object_value = 69, /* object_value */
337
- YYSYMBOL_object_value_list_opt = 70, /* object_value_list_opt */
338
- YYSYMBOL_object_value_list = 71, /* object_value_list */
339
- YYSYMBOL_object_value_field = 72, /* object_value_field */
340
- YYSYMBOL_object_literal_value = 73, /* object_literal_value */
341
- YYSYMBOL_object_literal_value_list_opt = 74, /* object_literal_value_list_opt */
342
- YYSYMBOL_object_literal_value_list = 75, /* object_literal_value_list */
343
- YYSYMBOL_object_literal_value_field = 76, /* object_literal_value_field */
344
- YYSYMBOL_directives_list_opt = 77, /* directives_list_opt */
345
- YYSYMBOL_directives_list = 78, /* directives_list */
346
- YYSYMBOL_directive = 79, /* directive */
347
- YYSYMBOL_name = 80, /* name */
348
- YYSYMBOL_schema_keyword = 81, /* schema_keyword */
349
- YYSYMBOL_name_without_on = 82, /* name_without_on */
350
- YYSYMBOL_fragment_spread = 83, /* fragment_spread */
351
- YYSYMBOL_inline_fragment = 84, /* inline_fragment */
352
- YYSYMBOL_fragment_definition = 85, /* fragment_definition */
353
- YYSYMBOL_fragment_name_opt = 86, /* fragment_name_opt */
354
- YYSYMBOL_type = 87, /* type */
355
- YYSYMBOL_nullable_type = 88, /* nullable_type */
356
- YYSYMBOL_type_system_definition = 89, /* type_system_definition */
357
- YYSYMBOL_schema_definition = 90, /* schema_definition */
358
- YYSYMBOL_operation_type_definition_list_opt = 91, /* operation_type_definition_list_opt */
359
- YYSYMBOL_operation_type_definition_list = 92, /* operation_type_definition_list */
360
- YYSYMBOL_operation_type_definition = 93, /* operation_type_definition */
361
- YYSYMBOL_type_definition = 94, /* type_definition */
362
- YYSYMBOL_description = 95, /* description */
363
- YYSYMBOL_description_opt = 96, /* description_opt */
364
- YYSYMBOL_scalar_type_definition = 97, /* scalar_type_definition */
365
- YYSYMBOL_object_type_definition = 98, /* object_type_definition */
366
- YYSYMBOL_implements_opt = 99, /* implements_opt */
367
- YYSYMBOL_interfaces_list = 100, /* interfaces_list */
368
- YYSYMBOL_legacy_interfaces_list = 101, /* legacy_interfaces_list */
369
- YYSYMBOL_input_value_definition = 102, /* input_value_definition */
370
- YYSYMBOL_input_value_definition_list = 103, /* input_value_definition_list */
371
- YYSYMBOL_arguments_definitions_opt = 104, /* arguments_definitions_opt */
372
- YYSYMBOL_field_definition = 105, /* field_definition */
373
- YYSYMBOL_field_definition_list_opt = 106, /* field_definition_list_opt */
374
- YYSYMBOL_field_definition_list = 107, /* field_definition_list */
375
- YYSYMBOL_interface_type_definition = 108, /* interface_type_definition */
376
- YYSYMBOL_pipe_opt = 109, /* pipe_opt */
377
- YYSYMBOL_union_members = 110, /* union_members */
378
- YYSYMBOL_union_type_definition = 111, /* union_type_definition */
379
- YYSYMBOL_enum_type_definition = 112, /* enum_type_definition */
380
- YYSYMBOL_enum_value_definition = 113, /* enum_value_definition */
381
- YYSYMBOL_enum_value_definitions = 114, /* enum_value_definitions */
382
- YYSYMBOL_input_object_type_definition = 115, /* input_object_type_definition */
383
- YYSYMBOL_directive_definition = 116, /* directive_definition */
384
- YYSYMBOL_directive_repeatable_opt = 117, /* directive_repeatable_opt */
385
- YYSYMBOL_directive_locations = 118, /* directive_locations */
386
- YYSYMBOL_type_system_extension = 119, /* type_system_extension */
387
- YYSYMBOL_schema_extension = 120, /* schema_extension */
388
- YYSYMBOL_type_extension = 121, /* type_extension */
389
- YYSYMBOL_scalar_type_extension = 122, /* scalar_type_extension */
390
- YYSYMBOL_object_type_extension = 123, /* object_type_extension */
391
- YYSYMBOL_interface_type_extension = 124, /* interface_type_extension */
392
- YYSYMBOL_union_type_extension = 125, /* union_type_extension */
393
- YYSYMBOL_enum_type_extension = 126, /* enum_type_extension */
394
- YYSYMBOL_input_object_type_extension = 127, /* input_object_type_extension */
395
- YYSYMBOL_NamedTypeForCondition = 128 /* NamedTypeForCondition */
328
+ YYSYMBOL_scalar_value = 61, /* scalar_value */
329
+ YYSYMBOL_literal_value = 62, /* literal_value */
330
+ YYSYMBOL_input_value = 63, /* input_value */
331
+ YYSYMBOL_null_value = 64, /* null_value */
332
+ YYSYMBOL_variable = 65, /* variable */
333
+ YYSYMBOL_list_value = 66, /* list_value */
334
+ YYSYMBOL_list_value_list = 67, /* list_value_list */
335
+ YYSYMBOL_list_literal_value = 68, /* list_literal_value */
336
+ YYSYMBOL_list_literal_value_list = 69, /* list_literal_value_list */
337
+ YYSYMBOL_enum_name = 70, /* enum_name */
338
+ YYSYMBOL_enum_value = 71, /* enum_value */
339
+ YYSYMBOL_object_value = 72, /* object_value */
340
+ YYSYMBOL_object_value_list_opt = 73, /* object_value_list_opt */
341
+ YYSYMBOL_object_value_list = 74, /* object_value_list */
342
+ YYSYMBOL_object_value_field = 75, /* object_value_field */
343
+ YYSYMBOL_object_literal_value = 76, /* object_literal_value */
344
+ YYSYMBOL_object_literal_value_list_opt = 77, /* object_literal_value_list_opt */
345
+ YYSYMBOL_object_literal_value_list = 78, /* object_literal_value_list */
346
+ YYSYMBOL_object_literal_value_field = 79, /* object_literal_value_field */
347
+ YYSYMBOL_directives_list_opt = 80, /* directives_list_opt */
348
+ YYSYMBOL_directives_list = 81, /* directives_list */
349
+ YYSYMBOL_directive = 82, /* directive */
350
+ YYSYMBOL_name = 83, /* name */
351
+ YYSYMBOL_schema_keyword = 84, /* schema_keyword */
352
+ YYSYMBOL_name_without_on = 85, /* name_without_on */
353
+ YYSYMBOL_fragment_spread = 86, /* fragment_spread */
354
+ YYSYMBOL_inline_fragment = 87, /* inline_fragment */
355
+ YYSYMBOL_fragment_definition = 88, /* fragment_definition */
356
+ YYSYMBOL_fragment_name_opt = 89, /* fragment_name_opt */
357
+ YYSYMBOL_type = 90, /* type */
358
+ YYSYMBOL_nullable_type = 91, /* nullable_type */
359
+ YYSYMBOL_type_system_definition = 92, /* type_system_definition */
360
+ YYSYMBOL_schema_definition = 93, /* schema_definition */
361
+ YYSYMBOL_operation_type_definition_list_opt = 94, /* operation_type_definition_list_opt */
362
+ YYSYMBOL_operation_type_definition_list = 95, /* operation_type_definition_list */
363
+ YYSYMBOL_operation_type_definition = 96, /* operation_type_definition */
364
+ YYSYMBOL_type_definition = 97, /* type_definition */
365
+ YYSYMBOL_description = 98, /* description */
366
+ YYSYMBOL_description_opt = 99, /* description_opt */
367
+ YYSYMBOL_scalar_type_definition = 100, /* scalar_type_definition */
368
+ YYSYMBOL_object_type_definition = 101, /* object_type_definition */
369
+ YYSYMBOL_implements_opt = 102, /* implements_opt */
370
+ YYSYMBOL_interfaces_list = 103, /* interfaces_list */
371
+ YYSYMBOL_legacy_interfaces_list = 104, /* legacy_interfaces_list */
372
+ YYSYMBOL_input_value_definition = 105, /* input_value_definition */
373
+ YYSYMBOL_input_value_definition_list = 106, /* input_value_definition_list */
374
+ YYSYMBOL_arguments_definitions_opt = 107, /* arguments_definitions_opt */
375
+ YYSYMBOL_field_definition = 108, /* field_definition */
376
+ YYSYMBOL_field_definition_list_opt = 109, /* field_definition_list_opt */
377
+ YYSYMBOL_field_definition_list = 110, /* field_definition_list */
378
+ YYSYMBOL_interface_type_definition = 111, /* interface_type_definition */
379
+ YYSYMBOL_pipe_opt = 112, /* pipe_opt */
380
+ YYSYMBOL_union_members = 113, /* union_members */
381
+ YYSYMBOL_union_type_definition = 114, /* union_type_definition */
382
+ YYSYMBOL_enum_type_definition = 115, /* enum_type_definition */
383
+ YYSYMBOL_enum_value_definition = 116, /* enum_value_definition */
384
+ YYSYMBOL_enum_value_definitions = 117, /* enum_value_definitions */
385
+ YYSYMBOL_input_object_type_definition = 118, /* input_object_type_definition */
386
+ YYSYMBOL_directive_definition = 119, /* directive_definition */
387
+ YYSYMBOL_directive_repeatable_opt = 120, /* directive_repeatable_opt */
388
+ YYSYMBOL_directive_locations = 121, /* directive_locations */
389
+ YYSYMBOL_type_system_extension = 122, /* type_system_extension */
390
+ YYSYMBOL_schema_extension = 123, /* schema_extension */
391
+ YYSYMBOL_type_extension = 124, /* type_extension */
392
+ YYSYMBOL_scalar_type_extension = 125, /* scalar_type_extension */
393
+ YYSYMBOL_object_type_extension = 126, /* object_type_extension */
394
+ YYSYMBOL_interface_type_extension = 127, /* interface_type_extension */
395
+ YYSYMBOL_union_type_extension = 128, /* union_type_extension */
396
+ YYSYMBOL_enum_type_extension = 129, /* enum_type_extension */
397
+ YYSYMBOL_input_object_type_extension = 130, /* input_object_type_extension */
398
+ YYSYMBOL_NamedTypeForCondition = 131 /* NamedTypeForCondition */
396
399
  };
397
400
  typedef enum yysymbol_kind_t yysymbol_kind_t;
398
401
 
@@ -720,16 +723,16 @@ union yyalloc
720
723
  /* YYFINAL -- State number of the termination state. */
721
724
  #define YYFINAL 79
722
725
  /* YYLAST -- Last index in YYTABLE. */
723
- #define YYLAST 820
726
+ #define YYLAST 830
724
727
 
725
728
  /* YYNTOKENS -- Number of terminals. */
726
729
  #define YYNTOKENS 40
727
730
  /* YYNNTS -- Number of nonterminals. */
728
- #define YYNNTS 89
731
+ #define YYNNTS 92
729
732
  /* YYNRULES -- Number of rules. */
730
- #define YYNRULES 185
733
+ #define YYNRULES 191
731
734
  /* YYNSTATES -- Number of states. */
732
- #define YYNSTATES 314
735
+ #define YYNSTATES 319
733
736
 
734
737
  /* YYMAXUTOK -- Last valid token kind. */
735
738
  #define YYMAXUTOK 257
@@ -782,21 +785,22 @@ static const yytype_int16 yyrline[] =
782
785
  133, 136, 147, 158, 171, 172, 173, 176, 177, 180,
783
786
  181, 184, 185, 188, 200, 201, 204, 205, 208, 209,
784
787
  210, 213, 216, 217, 220, 231, 244, 245, 248, 249,
785
- 252, 262, 263, 264, 265, 266, 267, 268, 269, 270,
786
- 273, 274, 275, 277, 285, 294, 295, 298, 299, 302,
787
- 303, 304, 305, 307, 316, 325, 326, 329, 330, 333,
788
- 344, 353, 354, 357, 358, 361, 372, 373, 376, 377,
789
- 379, 389, 390, 393, 394, 395, 396, 397, 398, 399,
790
- 400, 401, 402, 403, 404, 407, 408, 409, 410, 411,
791
- 412, 416, 426, 435, 446, 458, 459, 462, 463, 466,
792
- 473, 482, 483, 484, 487, 500, 501, 504, 508, 513,
793
- 518, 519, 520, 521, 522, 523, 525, 528, 529, 532,
794
- 544, 558, 559, 560, 561, 564, 572, 578, 586, 591,
795
- 605, 606, 609, 610, 613, 627, 628, 631, 632, 633,
796
- 636, 650, 651, 654, 662, 667, 680, 693, 705, 706,
797
- 709, 722, 736, 737, 740, 741, 745, 746, 749, 760,
798
- 772, 773, 774, 775, 776, 777, 779, 789, 801, 813,
799
- 822, 833, 842, 853, 862, 873
788
+ 252, 262, 263, 264, 265, 266, 267, 268, 271, 272,
789
+ 273, 276, 277, 278, 279, 281, 289, 298, 299, 302,
790
+ 303, 306, 307, 310, 311, 314, 315, 316, 317, 319,
791
+ 328, 337, 338, 341, 342, 345, 356, 365, 366, 369,
792
+ 370, 373, 384, 385, 388, 389, 391, 401, 402, 405,
793
+ 406, 407, 408, 409, 410, 411, 412, 413, 414, 415,
794
+ 416, 419, 420, 421, 422, 423, 424, 428, 438, 447,
795
+ 458, 470, 471, 474, 475, 478, 485, 494, 495, 496,
796
+ 499, 512, 513, 516, 520, 525, 530, 531, 532, 533,
797
+ 534, 535, 537, 540, 541, 544, 556, 570, 571, 572,
798
+ 573, 576, 584, 590, 598, 603, 617, 618, 621, 622,
799
+ 625, 639, 640, 643, 644, 645, 648, 662, 663, 666,
800
+ 674, 679, 692, 705, 717, 718, 721, 734, 748, 749,
801
+ 752, 753, 757, 758, 761, 772, 784, 785, 786, 787,
802
+ 788, 789, 791, 801, 813, 825, 834, 845, 854, 865,
803
+ 874, 885
800
804
  };
801
805
  #endif
802
806
 
@@ -825,8 +829,9 @@ yysymbol_name (yysymbol_kind_t yysymbol)
825
829
  "variable_definitions_opt", "variable_definitions_list",
826
830
  "variable_definition", "default_value_opt", "selection_list",
827
831
  "selection", "selection_set", "selection_set_opt", "field",
828
- "arguments_opt", "arguments_list", "argument", "literal_value",
829
- "input_value", "null_value", "variable", "list_value", "list_value_list",
832
+ "arguments_opt", "arguments_list", "argument", "scalar_value",
833
+ "literal_value", "input_value", "null_value", "variable", "list_value",
834
+ "list_value_list", "list_literal_value", "list_literal_value_list",
830
835
  "enum_name", "enum_value", "object_value", "object_value_list_opt",
831
836
  "object_value_list", "object_value_field", "object_literal_value",
832
837
  "object_literal_value_list_opt", "object_literal_value_list",
@@ -855,12 +860,12 @@ yysymbol_name (yysymbol_kind_t yysymbol)
855
860
  }
856
861
  #endif
857
862
 
858
- #define YYPACT_NINF (-249)
863
+ #define YYPACT_NINF (-232)
859
864
 
860
865
  #define yypact_value_is_default(Yyn) \
861
866
  ((Yyn) == YYPACT_NINF)
862
867
 
863
- #define YYTABLE_NINF (-148)
868
+ #define YYTABLE_NINF (-154)
864
869
 
865
870
  #define yytable_value_is_error(Yyn) \
866
871
  0
@@ -869,38 +874,38 @@ yysymbol_name (yysymbol_kind_t yysymbol)
869
874
  STATE-NUM. */
870
875
  static const yytype_int16 yypact[] =
871
876
  {
872
- 148, 179, 749, 485, -249, -249, 14, -249, -249, 45,
873
- -249, 83, -249, -249, -249, 716, -249, -249, -249, -249,
874
- -249, 120, -249, -249, -249, -249, -249, -249, -249, -249,
875
- -249, -249, -249, -249, -249, -249, -249, -249, 716, 716,
876
- 716, 716, 14, 716, 716, -249, -249, -249, -249, -249,
877
- -249, -249, -249, -249, -249, -249, -249, -249, -249, -249,
878
- -249, -249, -249, -249, 21, 584, -249, -249, 518, -249,
879
- -249, 11, -249, -249, -249, 716, 47, 14, -249, -249,
880
- -249, 58, -249, 74, 716, 716, 716, 716, 716, 716,
881
- 14, 14, 65, 14, 75, 27, 65, 14, 716, 716,
882
- 84, 14, -249, -249, 716, 716, 14, 93, 174, -249,
883
- -249, 95, 14, 716, 14, 14, 65, 14, 65, 14,
884
- 111, 27, 122, 27, 317, 14, 14, 174, 14, 140,
885
- 102, -249, 14, 14, 617, -249, -249, 93, 650, -249,
886
- 149, 84, -249, 155, 72, -249, 716, 48, -249, 84,
887
- 144, 146, 151, 14, -249, 14, 160, 143, 143, 716,
888
- 208, 171, 716, 158, 118, 158, 162, 84, 84, 551,
889
- 14, -249, -249, 418, -249, -249, 716, -249, -249, 181,
890
- -249, -249, -249, 143, 154, 143, 143, 158, 158, 162,
891
- 782, -249, -11, 716, -249, -10, -249, 171, 716, -249,
892
- 15, -249, -249, -249, -249, 716, 165, -249, -249, -249,
893
- 84, -249, -249, -249, -249, 350, 716, -249, -249, -249,
894
- -249, 716, -249, -249, -249, -249, -249, -249, -249, -249,
895
- -249, -249, -249, -249, 683, 88, -249, 169, 35, 55,
896
- -249, -249, 165, 14, -249, -249, 194, -249, -249, -249,
897
- 716, -249, 69, -249, 716, -249, -249, -249, 384, 173,
898
- 716, -249, 176, 716, -249, 195, -249, 683, -249, 196,
899
- 203, -249, 716, -249, -249, -249, 683, 144, -249, -249,
900
- -249, -249, -249, -249, -249, 205, -249, -249, 209, 418,
901
- 185, 452, 14, -249, -249, 192, 196, 214, 418, 452,
902
- -249, -249, -249, 716, -249, -249, 716, 14, 683, -249,
903
- -249, -249, 14, -249
877
+ 195, 167, 792, 528, -232, -232, 12, -232, -232, 17,
878
+ -232, 82, -232, -232, -232, 759, -232, -232, -232, -232,
879
+ -232, 120, -232, -232, -232, -232, -232, -232, -232, -232,
880
+ -232, -232, -232, -232, -232, -232, -232, -232, 759, 759,
881
+ 759, 759, 12, 759, 759, -232, -232, -232, -232, -232,
882
+ -232, -232, -232, -232, -232, -232, -232, -232, -232, -232,
883
+ -232, -232, -232, -232, -7, 627, -232, -232, 561, -232,
884
+ -232, 11, -232, -232, -232, 759, 19, 12, -232, -232,
885
+ -232, 16, -232, 37, 759, 759, 759, 759, 759, 759,
886
+ 12, 12, 29, 12, 27, 28, 29, 12, 759, 759,
887
+ 76, 12, -232, -232, 759, 759, 12, 99, 60, -232,
888
+ -232, 59, 12, 759, 12, 12, 29, 12, 29, 12,
889
+ 83, 28, 122, 28, 294, 12, 12, 60, 12, 100,
890
+ 74, -232, 12, 12, 660, -232, -232, 99, 693, -232,
891
+ 142, 76, -232, 155, 139, -232, 759, -16, -232, 76,
892
+ 147, 140, 149, 12, -232, 12, 161, 138, 138, 759,
893
+ 202, 174, 759, 158, 250, 158, 156, 76, 76, 594,
894
+ 12, -232, -232, 395, -232, -232, 759, -232, -232, 176,
895
+ -232, -232, -232, 138, 154, 138, 138, 158, 158, 156,
896
+ 237, -232, 34, 759, -232, 65, -232, 174, 759, -232,
897
+ 78, -232, -232, -232, -232, 759, 162, -232, -232, -232,
898
+ 76, -232, -232, -232, -232, 327, 759, -232, -232, -232,
899
+ -232, 759, -232, -232, -232, -232, -232, -232, -232, -232,
900
+ -232, -232, -232, 726, 88, -232, 164, 89, 116, -232,
901
+ -232, 162, 12, -232, -232, 182, -232, -232, -232, 759,
902
+ -232, 125, -232, 759, -232, -232, -232, 361, 165, 759,
903
+ -232, 186, -232, 726, -232, 187, 192, -232, 759, -232,
904
+ -232, -232, 726, 147, -232, -232, -232, -232, -232, -232,
905
+ -232, 395, 170, 495, 12, -232, -232, 175, 187, 206,
906
+ -232, -232, 429, 759, -232, -232, -232, -232, -232, 759,
907
+ 12, 726, -232, -232, 462, 178, 759, -232, 207, -232,
908
+ -232, 12, -232, -232, -232, -232, 495, -232, -232
904
909
  };
905
910
 
906
911
  /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
@@ -908,66 +913,68 @@ static const yytype_int16 yypact[] =
908
913
  means the default is an error. */
909
914
  static const yytype_uint8 yydefact[] =
910
915
  {
911
- 127, 0, 105, 0, 15, 14, 76, 126, 16, 0,
912
- 2, 127, 4, 6, 9, 17, 10, 7, 111, 112,
913
- 128, 0, 120, 121, 122, 123, 124, 125, 113, 8,
914
- 166, 167, 170, 171, 172, 173, 174, 175, 0, 0,
915
- 0, 0, 76, 0, 0, 91, 89, 92, 97, 93,
916
- 95, 90, 86, 87, 98, 94, 84, 83, 96, 85,
917
- 88, 99, 100, 106, 0, 76, 82, 13, 0, 26,
918
- 28, 36, 81, 29, 30, 0, 115, 77, 78, 1,
916
+ 133, 0, 111, 0, 15, 14, 82, 132, 16, 0,
917
+ 2, 133, 4, 6, 9, 17, 10, 7, 117, 118,
918
+ 134, 0, 126, 127, 128, 129, 130, 131, 119, 8,
919
+ 172, 173, 176, 177, 178, 179, 180, 181, 0, 0,
920
+ 0, 0, 82, 0, 0, 97, 95, 98, 103, 99,
921
+ 101, 96, 92, 93, 104, 100, 90, 89, 102, 91,
922
+ 94, 105, 106, 112, 0, 82, 88, 13, 0, 26,
923
+ 28, 36, 87, 29, 30, 0, 121, 83, 84, 1,
919
924
  5, 19, 18, 0, 0, 0, 0, 0, 0, 0,
920
- 76, 76, 131, 0, 0, 169, 131, 76, 0, 0,
921
- 0, 76, 12, 27, 0, 0, 76, 36, 0, 114,
922
- 79, 0, 76, 0, 76, 76, 131, 76, 131, 76,
923
- 0, 182, 0, 184, 0, 76, 176, 0, 76, 0,
924
- 180, 185, 76, 76, 0, 103, 101, 36, 0, 38,
925
- 0, 32, 80, 0, 0, 117, 0, 0, 21, 0,
926
- 142, 0, 0, 76, 129, 76, 0, 127, 127, 0,
927
- 135, 133, 134, 145, 0, 145, 151, 0, 0, 0,
928
- 76, 37, 39, 0, 33, 35, 0, 116, 118, 0,
929
- 20, 22, 11, 127, 162, 127, 127, 145, 145, 151,
930
- 0, 158, 127, 0, 140, 127, 135, 132, 0, 138,
931
- 127, 178, 168, 177, 152, 0, 179, 104, 102, 31,
932
- 32, 45, 41, 59, 42, 0, 65, 53, 60, 43,
933
- 44, 0, 61, 50, 40, 46, 51, 48, 63, 47,
934
- 52, 49, 62, 119, 0, 127, 163, 0, 127, 127,
935
- 150, 130, 155, 76, 181, 159, 0, 183, 141, 136,
936
- 0, 148, 127, 153, 0, 34, 55, 57, 0, 0,
937
- 66, 67, 0, 72, 73, 0, 54, 0, 109, 24,
938
- 107, 143, 0, 156, 160, 157, 0, 142, 146, 149,
939
- 154, 56, 58, 64, 68, 0, 70, 74, 0, 0,
940
- 0, 0, 76, 108, 164, 161, 24, 0, 0, 0,
941
- 50, 69, 110, 71, 25, 23, 0, 76, 0, 75,
942
- 165, 139, 76, 144
925
+ 82, 82, 137, 0, 0, 175, 137, 82, 0, 0,
926
+ 0, 82, 12, 27, 0, 0, 82, 36, 0, 120,
927
+ 85, 0, 82, 0, 82, 82, 137, 82, 137, 82,
928
+ 0, 188, 0, 190, 0, 82, 182, 0, 82, 0,
929
+ 186, 191, 82, 82, 0, 109, 107, 36, 0, 38,
930
+ 0, 32, 86, 0, 0, 123, 0, 0, 21, 0,
931
+ 148, 0, 0, 82, 135, 82, 0, 133, 133, 0,
932
+ 141, 139, 140, 151, 0, 151, 157, 0, 0, 0,
933
+ 82, 37, 39, 0, 33, 35, 0, 122, 124, 0,
934
+ 20, 22, 11, 133, 168, 133, 133, 151, 151, 157,
935
+ 0, 164, 133, 0, 146, 133, 141, 138, 0, 144,
936
+ 133, 184, 174, 183, 158, 0, 185, 110, 108, 31,
937
+ 32, 45, 41, 65, 42, 0, 71, 55, 66, 43,
938
+ 44, 0, 67, 51, 40, 46, 52, 53, 69, 47,
939
+ 54, 68, 125, 0, 133, 169, 0, 133, 133, 156,
940
+ 136, 161, 82, 187, 165, 0, 189, 147, 142, 0,
941
+ 154, 133, 159, 0, 34, 57, 59, 0, 0, 72,
942
+ 73, 0, 56, 0, 115, 24, 113, 149, 0, 162,
943
+ 166, 163, 0, 148, 152, 155, 160, 58, 60, 70,
944
+ 74, 0, 0, 0, 82, 114, 170, 167, 24, 0,
945
+ 75, 116, 0, 77, 48, 25, 49, 50, 23, 0,
946
+ 82, 0, 61, 63, 0, 0, 78, 79, 0, 171,
947
+ 145, 82, 62, 64, 76, 80, 0, 150, 81
943
948
  };
944
949
 
945
950
  /* YYPGOTO[NTERM-NUM]. */
946
951
  static const yytype_int16 yypgoto[] =
947
952
  {
948
- -249, -249, -249, -249, 211, -249, -249, 0, -249, -249,
949
- -249, 77, -70, 94, -67, -90, 17, -249, -98, -249,
950
- 91, -248, -165, -249, -249, -249, -249, 40, -249, -249,
951
- -249, -249, -29, -249, -249, -249, -28, 23, -36, -63,
952
- -13, -168, 1, -249, -249, -249, -249, -238, -249, -249,
953
- -249, -249, 107, -127, -249, -249, 4, -249, -249, -76,
954
- 80, -249, -183, -18, -41, -12, -152, -249, -249, -249,
955
- 54, -249, -249, -185, 60, -249, -249, -249, -249, -249,
956
- -249, -249, -249, -249, -249, -249, -249, -249, 147
953
+ -232, -232, -232, -232, 210, -232, -232, 0, -232, -232,
954
+ -232, 66, -65, 90, -67, -88, 15, -232, -100, -232,
955
+ 93, -226, -215, -212, -232, -232, -232, -232, -232, -232,
956
+ 43, -232, -232, -232, -232, -25, -232, -232, -232, -69,
957
+ 23, -37, -71, -13, -151, 2, -232, -232, -232, -232,
958
+ -231, -232, -232, -232, -232, 108, -135, -232, -232, 10,
959
+ -232, -232, -82, 80, -232, -187, -52, -32, -9, -145,
960
+ -232, -232, -232, 55, -232, -232, -179, 64, -232, -232,
961
+ -232, -232, -232, -232, -232, -232, -232, -232, -232, -232,
962
+ -232, 159
957
963
  };
958
964
 
959
965
  /* YYDEFGOTO[NTERM-NUM]. */
960
966
  static const yytype_int16 yydefgoto[] =
961
967
  {
962
968
  0, 9, 10, 11, 12, 13, 14, 61, 81, 112,
963
- 147, 148, 292, 68, 69, 174, 175, 70, 106, 138,
964
- 139, 223, 301, 225, 226, 227, 258, 228, 229, 230,
965
- 259, 260, 261, 231, 262, 263, 264, 76, 77, 78,
966
- 71, 62, 72, 73, 74, 16, 64, 269, 270, 17,
967
- 18, 109, 144, 145, 19, 20, 193, 22, 23, 125,
968
- 161, 162, 194, 195, 184, 251, 201, 252, 24, 205,
969
- 206, 25, 26, 191, 192, 27, 28, 237, 295, 29,
970
- 30, 31, 32, 33, 34, 35, 36, 37, 132
969
+ 147, 148, 284, 68, 69, 174, 175, 70, 106, 138,
970
+ 139, 223, 295, 224, 225, 226, 227, 257, 296, 304,
971
+ 228, 229, 230, 258, 259, 260, 297, 305, 306, 307,
972
+ 76, 77, 78, 71, 62, 72, 73, 74, 16, 64,
973
+ 265, 266, 17, 18, 109, 144, 145, 19, 20, 193,
974
+ 22, 23, 125, 161, 162, 194, 195, 184, 250, 201,
975
+ 251, 24, 205, 206, 25, 26, 191, 192, 27, 28,
976
+ 236, 287, 29, 30, 31, 32, 33, 34, 35, 36,
977
+ 37, 132
971
978
  };
972
979
 
973
980
  /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
@@ -975,145 +982,147 @@ static const yytype_int16 yydefgoto[] =
975
982
  number is the opposite. If YYTABLE_NINF, syntax error. */
976
983
  static const yytype_int16 yytable[] =
977
984
  {
978
- 15, 103, 82, 63, 21, 232, 95, 245, 224, 142,
979
- 135, 15, 248, 203, 110, 21, 104, 178, 244, 247,
980
- 128, 75, 232, 7, 7, 90, 91, 92, 93, 290,
981
- 96, 97, 110, 105, 75, 240, 241, 178, 296, 170,
982
- 153, 300, 155, 304, -147, 79, 98, 232, -77, 7,
983
- 257, 309, 248, 245, 121, 123, 248, 126, 110, 182,
984
- 110, 130, 107, 110, 273, 94, 101, 110, 108, 7,
985
- 312, 114, 115, 116, 117, 118, 119, 207, 208, 180,
986
- 111, 113, 124, -3, 274, 131, 131, 146, 100, 7,
987
- 232, 137, 140, 282, 1, 4, 127, 2, 278, 5,
988
- 150, 177, 103, 7, 3, 134, 4, 8, 143, 75,
989
- 5, 160, -77, 120, 122, 105, 6, 7, 8, 271,
990
- 129, 232, 7, 232, 136, 140, 83, 143, 84, 141,
991
- 232, 232, 157, 179, 146, 149, 85, 151, 152, 86,
992
- 154, 4, 156, 158, 143, 5, 196, 202, 163, 199,
993
- 166, 165, 87, 8, 173, 167, 168, 88, 89, 1,
994
- 176, 190, 2, 233, 143, 235, 183, 185, 239, 3,
995
- 189, 4, 186, 222, 198, 5, 187, 7, 188, 200,
996
- 246, 6, 7, 8, 236, 249, 234, 38, 204, 190,
997
- 222, 254, 253, 210, 272, 39, 190, 4, 40, 276,
998
- 289, 5, 283, 265, 250, 286, 291, 293, 266, 8,
999
- 298, 41, 42, 302, 299, 222, 43, 44, 306, 308,
1000
- -137, 268, 80, -137, 181, -137, 307, 255, 169, 172,
1001
- 243, 284, -137, -137, 164, 287, 297, 277, -137, 197,
1002
- 279, 280, 190, 242, -137, 238, 133, 285, 0, 0,
1003
- 288, 0, 0, 0, 268, 0, 250, 0, 222, 294,
1004
- 0, 0, 0, 268, 0, 0, 275, 0, 0, 0,
1005
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1006
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 222,
1007
- 288, 222, 0, 310, 0, 268, 0, 0, 222, 222,
1008
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1009
- 0, 0, 0, 0, 0, 305, 0, 0, 0, 0,
1010
- 159, 0, 0, 45, 0, 46, 0, 0, 47, 48,
1011
- 311, 49, 50, 51, 52, 313, 53, 0, 0, 0,
1012
- 4, 54, 66, 0, 5, 0, 0, 55, 0, 56,
1013
- 57, 0, 8, 58, 59, 60, 45, 0, 46, 0,
1014
- 0, 47, 211, 212, 49, 213, 51, 52, 214, 53,
1015
- 215, 216, 0, 4, 217, 218, 0, 5, 256, 0,
1016
- 55, 0, 56, 57, 219, 8, 220, 59, 60, 221,
1017
- 45, 0, 46, 0, 0, 47, 211, 212, 49, 213,
1018
- 51, 52, 214, 53, 215, 216, 0, 4, 217, 218,
1019
- 0, 5, 281, 0, 55, 0, 56, 57, 219, 8,
1020
- 220, 59, 60, 221, 45, 0, 46, 0, 0, 47,
1021
- 211, 212, 49, 213, 51, 52, 214, 53, 215, 216,
1022
- 0, 4, 217, 218, 0, 5, 0, 0, 55, 0,
1023
- 56, 57, 219, 8, 220, 59, 60, 221, 45, 0,
985
+ 15, 103, 82, 256, 63, 95, 110, 142, 247, 178,
986
+ 21, 15, 135, 244, 128, 180, 104, 79, 98, 75,
987
+ 203, 21, 231, 146, 110, 90, 91, 92, 93, 178,
988
+ 96, 97, 282, 105, 153, 75, 155, 170, 111, 231,
989
+ 108, 288, 239, 240, 113, 278, 124, 247, 127, -83,
990
+ 110, 247, 110, 121, 123, 110, 126, 294, 244, 110,
991
+ 130, 182, 107, 243, 231, 94, 294, 101, 7, 290,
992
+ 311, 114, 115, 116, 117, 118, 119, 303, 294, 207,
993
+ 208, 75, -3, 4, -83, 131, 131, 5, 100, 313,
994
+ 294, 137, 140, 1, 246, 8, 2, 134, 146, 7,
995
+ 150, 318, 103, 3, 157, 4, 231, -153, 143, 5,
996
+ 166, 160, 7, 120, 122, 6, 7, 8, 269, 267,
997
+ 129, 105, 7, 7, 136, 140, 83, 143, 84, 141,
998
+ 231, 234, 231, 179, 238, 149, 85, 151, 152, 86,
999
+ 154, 231, 156, 158, 143, 270, 196, 173, 163, 199,
1000
+ 7, 165, 87, 231, 274, 167, 168, 88, 89, 7,
1001
+ 176, 185, 4, 232, 143, 231, 5, 190, 177, 183,
1002
+ 186, 189, 7, 222, 8, 38, 187, 198, 188, 200,
1003
+ 245, 233, 204, 39, 235, 248, 40, 272, 253, 268,
1004
+ 222, 281, 252, 210, 279, 190, 285, 283, 291, 41,
1005
+ 42, 299, 190, 261, 43, 44, 1, 314, 262, 2,
1006
+ 249, 301, 316, 181, -143, 222, 3, -143, 4, -143,
1007
+ 264, 80, 5, 300, 169, 254, -143, -143, 6, 7,
1008
+ 8, 172, -143, 242, 280, 164, 273, 315, -143, 197,
1009
+ 276, 289, 275, 45, 241, 46, 261, 190, 47, 237,
1010
+ 264, 49, 213, 51, 52, 286, 53, 222, 133, 264,
1011
+ 4, 249, 218, 0, 5, 271, 0, 55, 0, 56,
1012
+ 57, 0, 8, 4, 59, 60, 0, 5, 0, 202,
1013
+ 308, 222, 0, 222, 0, 8, 309, 0, 264, 0,
1014
+ 0, 0, 222, 308, 0, 0, 0, 159, 0, 0,
1015
+ 45, 0, 46, 0, 222, 47, 48, 298, 49, 50,
1016
+ 51, 52, 0, 53, 0, 0, 222, 4, 54, 66,
1017
+ 0, 5, 0, 310, 55, 0, 56, 57, 0, 8,
1018
+ 58, 59, 60, 45, 317, 46, 0, 0, 47, 211,
1019
+ 212, 49, 213, 51, 52, 214, 53, 215, 216, 0,
1020
+ 4, 217, 218, 0, 5, 255, 0, 55, 0, 56,
1021
+ 57, 219, 8, 220, 59, 60, 221, 45, 0, 46,
1022
+ 0, 0, 47, 211, 212, 49, 213, 51, 52, 214,
1023
+ 53, 215, 216, 0, 4, 217, 218, 0, 5, 277,
1024
+ 0, 55, 0, 56, 57, 219, 8, 220, 59, 60,
1025
+ 221, 45, 0, 46, 0, 0, 47, 211, 212, 49,
1026
+ 213, 51, 52, 214, 53, 215, 216, 0, 4, 217,
1027
+ 218, 0, 5, 0, 0, 55, 0, 56, 57, 219,
1028
+ 8, 220, 59, 60, 221, 45, 0, 46, 0, 0,
1029
+ 47, 211, 212, 49, 213, 51, 52, 214, 53, 292,
1030
+ 293, 0, 4, 217, 218, 0, 5, 302, 0, 55,
1031
+ 0, 56, 57, 219, 8, 220, 59, 60, 45, 0,
1024
1032
  46, 0, 0, 47, 211, 212, 49, 213, 51, 52,
1025
- 214, 53, 215, 303, 0, 4, 217, 218, 0, 5,
1026
- 0, 0, 55, 0, 56, 57, 219, 8, 220, 59,
1027
- 60, 45, 0, 46, 65, 0, 47, 48, 0, 49,
1028
- 50, 51, 52, 0, 53, 0, 0, 0, 4, 54,
1029
- 66, 0, 5, 0, 67, 55, 0, 56, 57, 0,
1030
- 8, 58, 59, 60, 45, 0, 46, 65, 0, 47,
1033
+ 214, 53, 292, 293, 0, 4, 217, 218, 0, 5,
1034
+ 312, 0, 55, 0, 56, 57, 219, 8, 220, 59,
1035
+ 60, 45, 0, 46, 0, 0, 47, 211, 212, 49,
1036
+ 213, 51, 52, 214, 53, 292, 293, 0, 4, 217,
1037
+ 218, 0, 5, 0, 0, 55, 0, 56, 57, 219,
1038
+ 8, 220, 59, 60, 45, 0, 46, 65, 0, 47,
1031
1039
  48, 0, 49, 50, 51, 52, 0, 53, 0, 0,
1032
- 0, 4, 54, 66, 0, 5, 0, 102, 55, 0,
1040
+ 0, 4, 54, 66, 0, 5, 0, 67, 55, 0,
1033
1041
  56, 57, 0, 8, 58, 59, 60, 45, 0, 46,
1034
1042
  65, 0, 47, 48, 0, 49, 50, 51, 52, 0,
1035
1043
  53, 0, 0, 0, 4, 54, 66, 0, 5, 0,
1036
- 209, 55, 0, 56, 57, 0, 8, 58, 59, 60,
1037
- 45, 75, 46, 0, 0, 47, 48, 0, 49, 50,
1038
- 51, 52, 0, 53, 0, 0, 0, 4, 54, 99,
1039
- 0, 5, 0, 0, 55, 0, 56, 57, 0, 8,
1040
- 58, 59, 60, 45, 0, 46, 65, 0, 47, 48,
1044
+ 102, 55, 0, 56, 57, 0, 8, 58, 59, 60,
1045
+ 45, 0, 46, 65, 0, 47, 48, 0, 49, 50,
1046
+ 51, 52, 0, 53, 0, 0, 0, 4, 54, 66,
1047
+ 0, 5, 0, 209, 55, 0, 56, 57, 0, 8,
1048
+ 58, 59, 60, 45, 75, 46, 0, 0, 47, 48,
1041
1049
  0, 49, 50, 51, 52, 0, 53, 0, 0, 0,
1042
- 4, 54, 66, 0, 5, 0, 0, 55, 0, 56,
1043
- 57, 0, 8, 58, 59, 60, 45, 0, 46, 0,
1050
+ 4, 54, 99, 0, 5, 0, 0, 55, 0, 56,
1051
+ 57, 0, 8, 58, 59, 60, 45, 0, 46, 65,
1044
1052
  0, 47, 48, 0, 49, 50, 51, 52, 0, 53,
1045
1053
  0, 0, 0, 4, 54, 66, 0, 5, 0, 0,
1046
- 55, 171, 56, 57, 0, 8, 58, 59, 60, 45,
1054
+ 55, 0, 56, 57, 0, 8, 58, 59, 60, 45,
1047
1055
  0, 46, 0, 0, 47, 48, 0, 49, 50, 51,
1048
- 52, 0, 53, 267, 0, 0, 4, 54, 66, 0,
1049
- 5, 0, 0, 55, 0, 56, 57, 0, 8, 58,
1056
+ 52, 0, 53, 0, 0, 0, 4, 54, 66, 0,
1057
+ 5, 0, 0, 55, 171, 56, 57, 0, 8, 58,
1050
1058
  59, 60, 45, 0, 46, 0, 0, 47, 48, 0,
1051
- 49, 50, 51, 52, 0, 53, 0, 0, 0, 4,
1059
+ 49, 50, 51, 52, 0, 53, 263, 0, 0, 4,
1052
1060
  54, 66, 0, 5, 0, 0, 55, 0, 56, 57,
1053
1061
  0, 8, 58, 59, 60, 45, 0, 46, 0, 0,
1054
1062
  47, 48, 0, 49, 50, 51, 52, 0, 53, 0,
1055
- 0, 0, 4, 54, 0, 0, 5, 0, 0, 55,
1063
+ 0, 0, 4, 54, 66, 0, 5, 0, 0, 55,
1056
1064
  0, 56, 57, 0, 8, 58, 59, 60, 45, 0,
1057
- 46, 0, 0, 47, 0, 0, 49, 213, 51, 52,
1058
- 0, 53, 0, 0, 0, 4, 0, 218, 0, 5,
1059
- 0, 0, 55, 0, 56, 57, 0, 8, 0, 59,
1065
+ 46, 0, 0, 47, 48, 0, 49, 50, 51, 52,
1066
+ 0, 53, 0, 0, 0, 4, 54, 0, 0, 5,
1067
+ 0, 0, 55, 0, 56, 57, 0, 8, 58, 59,
1060
1068
  60
1061
1069
  };
1062
1070
 
1063
1071
  static const yytype_int16 yycheck[] =
1064
1072
  {
1065
- 0, 68, 15, 2, 0, 173, 42, 192, 173, 107,
1066
- 100, 11, 195, 165, 77, 11, 5, 144, 29, 29,
1067
- 96, 7, 190, 34, 34, 38, 39, 40, 41, 267,
1068
- 43, 44, 95, 22, 7, 187, 188, 164, 276, 137,
1069
- 116, 289, 118, 291, 29, 0, 25, 215, 21, 34,
1070
- 215, 299, 235, 238, 90, 91, 239, 93, 121, 149,
1071
- 123, 97, 75, 126, 29, 42, 65, 130, 21, 34,
1072
- 308, 84, 85, 86, 87, 88, 89, 167, 168, 31,
1073
- 22, 7, 17, 0, 29, 98, 99, 39, 65, 34,
1074
- 258, 104, 105, 258, 11, 23, 21, 14, 29, 27,
1075
- 113, 29, 169, 34, 21, 21, 23, 35, 108, 7,
1076
- 27, 124, 10, 90, 91, 22, 33, 34, 35, 31,
1077
- 97, 289, 34, 291, 101, 138, 6, 127, 8, 106,
1078
- 298, 299, 21, 146, 39, 112, 16, 114, 115, 19,
1079
- 117, 23, 119, 21, 144, 27, 159, 29, 125, 162,
1080
- 10, 128, 32, 35, 5, 132, 133, 37, 38, 11,
1081
- 5, 157, 14, 176, 164, 183, 22, 21, 186, 21,
1082
- 10, 23, 21, 173, 3, 27, 153, 34, 155, 21,
1083
- 193, 33, 34, 35, 30, 198, 5, 8, 26, 185,
1084
- 190, 26, 205, 170, 25, 16, 192, 23, 19, 5,
1085
- 5, 27, 29, 216, 200, 29, 10, 4, 221, 35,
1086
- 5, 32, 33, 28, 5, 215, 37, 38, 26, 5,
1087
- 12, 234, 11, 15, 147, 17, 296, 210, 134, 138,
1088
- 190, 260, 24, 25, 127, 263, 277, 250, 30, 159,
1089
- 252, 254, 238, 189, 36, 185, 99, 260, -1, -1,
1090
- 263, -1, -1, -1, 267, -1, 252, -1, 258, 272,
1091
- -1, -1, -1, 276, -1, -1, 243, -1, -1, -1,
1092
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1093
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 289,
1094
- 303, 291, -1, 306, -1, 308, -1, -1, 298, 299,
1095
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1096
- -1, -1, -1, -1, -1, 292, -1, -1, -1, -1,
1097
- 3, -1, -1, 6, -1, 8, -1, -1, 11, 12,
1098
- 307, 14, 15, 16, 17, 312, 19, -1, -1, -1,
1099
- 23, 24, 25, -1, 27, -1, -1, 30, -1, 32,
1100
- 33, -1, 35, 36, 37, 38, 6, -1, 8, -1,
1101
- -1, 11, 12, 13, 14, 15, 16, 17, 18, 19,
1102
- 20, 21, -1, 23, 24, 25, -1, 27, 28, -1,
1103
- 30, -1, 32, 33, 34, 35, 36, 37, 38, 39,
1104
- 6, -1, 8, -1, -1, 11, 12, 13, 14, 15,
1105
- 16, 17, 18, 19, 20, 21, -1, 23, 24, 25,
1106
- -1, 27, 28, -1, 30, -1, 32, 33, 34, 35,
1107
- 36, 37, 38, 39, 6, -1, 8, -1, -1, 11,
1108
- 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
1109
- -1, 23, 24, 25, -1, 27, -1, -1, 30, -1,
1110
- 32, 33, 34, 35, 36, 37, 38, 39, 6, -1,
1073
+ 0, 68, 15, 215, 2, 42, 77, 107, 195, 144,
1074
+ 0, 11, 100, 192, 96, 31, 5, 0, 25, 7,
1075
+ 165, 11, 173, 39, 95, 38, 39, 40, 41, 164,
1076
+ 43, 44, 263, 22, 116, 7, 118, 137, 22, 190,
1077
+ 21, 272, 187, 188, 7, 257, 17, 234, 21, 21,
1078
+ 121, 238, 123, 90, 91, 126, 93, 283, 237, 130,
1079
+ 97, 149, 75, 29, 215, 42, 292, 65, 34, 281,
1080
+ 301, 84, 85, 86, 87, 88, 89, 292, 304, 167,
1081
+ 168, 7, 0, 23, 10, 98, 99, 27, 65, 304,
1082
+ 316, 104, 105, 11, 29, 35, 14, 21, 39, 34,
1083
+ 113, 316, 169, 21, 21, 23, 257, 29, 108, 27,
1084
+ 10, 124, 34, 90, 91, 33, 34, 35, 29, 31,
1085
+ 97, 22, 34, 34, 101, 138, 6, 127, 8, 106,
1086
+ 281, 183, 283, 146, 186, 112, 16, 114, 115, 19,
1087
+ 117, 292, 119, 21, 144, 29, 159, 5, 125, 162,
1088
+ 34, 128, 32, 304, 29, 132, 133, 37, 38, 34,
1089
+ 5, 21, 23, 176, 164, 316, 27, 157, 29, 22,
1090
+ 21, 10, 34, 173, 35, 8, 153, 3, 155, 21,
1091
+ 193, 5, 26, 16, 30, 198, 19, 5, 26, 25,
1092
+ 190, 5, 205, 170, 29, 185, 4, 10, 28, 32,
1093
+ 33, 26, 192, 216, 37, 38, 11, 29, 221, 14,
1094
+ 200, 5, 5, 147, 12, 215, 21, 15, 23, 17,
1095
+ 233, 11, 27, 288, 134, 210, 24, 25, 33, 34,
1096
+ 35, 138, 30, 190, 259, 127, 249, 306, 36, 159,
1097
+ 253, 273, 251, 6, 189, 8, 259, 237, 11, 185,
1098
+ 263, 14, 15, 16, 17, 268, 19, 257, 99, 272,
1099
+ 23, 251, 25, -1, 27, 242, -1, 30, -1, 32,
1100
+ 33, -1, 35, 23, 37, 38, -1, 27, -1, 29,
1101
+ 293, 281, -1, 283, -1, 35, 299, -1, 301, -1,
1102
+ -1, -1, 292, 306, -1, -1, -1, 3, -1, -1,
1103
+ 6, -1, 8, -1, 304, 11, 12, 284, 14, 15,
1104
+ 16, 17, -1, 19, -1, -1, 316, 23, 24, 25,
1105
+ -1, 27, -1, 300, 30, -1, 32, 33, -1, 35,
1106
+ 36, 37, 38, 6, 311, 8, -1, -1, 11, 12,
1107
+ 13, 14, 15, 16, 17, 18, 19, 20, 21, -1,
1108
+ 23, 24, 25, -1, 27, 28, -1, 30, -1, 32,
1109
+ 33, 34, 35, 36, 37, 38, 39, 6, -1, 8,
1110
+ -1, -1, 11, 12, 13, 14, 15, 16, 17, 18,
1111
+ 19, 20, 21, -1, 23, 24, 25, -1, 27, 28,
1112
+ -1, 30, -1, 32, 33, 34, 35, 36, 37, 38,
1113
+ 39, 6, -1, 8, -1, -1, 11, 12, 13, 14,
1114
+ 15, 16, 17, 18, 19, 20, 21, -1, 23, 24,
1115
+ 25, -1, 27, -1, -1, 30, -1, 32, 33, 34,
1116
+ 35, 36, 37, 38, 39, 6, -1, 8, -1, -1,
1117
+ 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
1118
+ 21, -1, 23, 24, 25, -1, 27, 28, -1, 30,
1119
+ -1, 32, 33, 34, 35, 36, 37, 38, 6, -1,
1111
1120
  8, -1, -1, 11, 12, 13, 14, 15, 16, 17,
1112
1121
  18, 19, 20, 21, -1, 23, 24, 25, -1, 27,
1113
- -1, -1, 30, -1, 32, 33, 34, 35, 36, 37,
1114
- 38, 6, -1, 8, 9, -1, 11, 12, -1, 14,
1115
- 15, 16, 17, -1, 19, -1, -1, -1, 23, 24,
1116
- 25, -1, 27, -1, 29, 30, -1, 32, 33, -1,
1122
+ 28, -1, 30, -1, 32, 33, 34, 35, 36, 37,
1123
+ 38, 6, -1, 8, -1, -1, 11, 12, 13, 14,
1124
+ 15, 16, 17, 18, 19, 20, 21, -1, 23, 24,
1125
+ 25, -1, 27, -1, -1, 30, -1, 32, 33, 34,
1117
1126
  35, 36, 37, 38, 6, -1, 8, 9, -1, 11,
1118
1127
  12, -1, 14, 15, 16, 17, -1, 19, -1, -1,
1119
1128
  -1, 23, 24, 25, -1, 27, -1, 29, 30, -1,
@@ -1121,29 +1130,29 @@ static const yytype_int16 yycheck[] =
1121
1130
  9, -1, 11, 12, -1, 14, 15, 16, 17, -1,
1122
1131
  19, -1, -1, -1, 23, 24, 25, -1, 27, -1,
1123
1132
  29, 30, -1, 32, 33, -1, 35, 36, 37, 38,
1124
- 6, 7, 8, -1, -1, 11, 12, -1, 14, 15,
1133
+ 6, -1, 8, 9, -1, 11, 12, -1, 14, 15,
1125
1134
  16, 17, -1, 19, -1, -1, -1, 23, 24, 25,
1126
- -1, 27, -1, -1, 30, -1, 32, 33, -1, 35,
1127
- 36, 37, 38, 6, -1, 8, 9, -1, 11, 12,
1135
+ -1, 27, -1, 29, 30, -1, 32, 33, -1, 35,
1136
+ 36, 37, 38, 6, 7, 8, -1, -1, 11, 12,
1128
1137
  -1, 14, 15, 16, 17, -1, 19, -1, -1, -1,
1129
1138
  23, 24, 25, -1, 27, -1, -1, 30, -1, 32,
1130
- 33, -1, 35, 36, 37, 38, 6, -1, 8, -1,
1139
+ 33, -1, 35, 36, 37, 38, 6, -1, 8, 9,
1131
1140
  -1, 11, 12, -1, 14, 15, 16, 17, -1, 19,
1132
1141
  -1, -1, -1, 23, 24, 25, -1, 27, -1, -1,
1133
- 30, 31, 32, 33, -1, 35, 36, 37, 38, 6,
1142
+ 30, -1, 32, 33, -1, 35, 36, 37, 38, 6,
1134
1143
  -1, 8, -1, -1, 11, 12, -1, 14, 15, 16,
1135
- 17, -1, 19, 20, -1, -1, 23, 24, 25, -1,
1136
- 27, -1, -1, 30, -1, 32, 33, -1, 35, 36,
1144
+ 17, -1, 19, -1, -1, -1, 23, 24, 25, -1,
1145
+ 27, -1, -1, 30, 31, 32, 33, -1, 35, 36,
1137
1146
  37, 38, 6, -1, 8, -1, -1, 11, 12, -1,
1138
- 14, 15, 16, 17, -1, 19, -1, -1, -1, 23,
1147
+ 14, 15, 16, 17, -1, 19, 20, -1, -1, 23,
1139
1148
  24, 25, -1, 27, -1, -1, 30, -1, 32, 33,
1140
1149
  -1, 35, 36, 37, 38, 6, -1, 8, -1, -1,
1141
1150
  11, 12, -1, 14, 15, 16, 17, -1, 19, -1,
1142
- -1, -1, 23, 24, -1, -1, 27, -1, -1, 30,
1151
+ -1, -1, 23, 24, 25, -1, 27, -1, -1, 30,
1143
1152
  -1, 32, 33, -1, 35, 36, 37, 38, 6, -1,
1144
- 8, -1, -1, 11, -1, -1, 14, 15, 16, 17,
1145
- -1, 19, -1, -1, -1, 23, -1, 25, -1, 27,
1146
- -1, -1, 30, -1, 32, 33, -1, 35, -1, 37,
1153
+ 8, -1, -1, 11, 12, -1, 14, 15, 16, 17,
1154
+ -1, 19, -1, -1, -1, 23, 24, -1, -1, 27,
1155
+ -1, -1, 30, -1, 32, 33, -1, 35, 36, 37,
1147
1156
  38
1148
1157
  };
1149
1158
 
@@ -1152,37 +1161,37 @@ static const yytype_int16 yycheck[] =
1152
1161
  static const yytype_uint8 yystos[] =
1153
1162
  {
1154
1163
  0, 11, 14, 21, 23, 27, 33, 34, 35, 41,
1155
- 42, 43, 44, 45, 46, 47, 85, 89, 90, 94,
1156
- 95, 96, 97, 98, 108, 111, 112, 115, 116, 119,
1157
- 120, 121, 122, 123, 124, 125, 126, 127, 8, 16,
1164
+ 42, 43, 44, 45, 46, 47, 88, 92, 93, 97,
1165
+ 98, 99, 100, 101, 111, 114, 115, 118, 119, 122,
1166
+ 123, 124, 125, 126, 127, 128, 129, 130, 8, 16,
1158
1167
  19, 32, 33, 37, 38, 6, 8, 11, 12, 14,
1159
1168
  15, 16, 17, 19, 24, 30, 32, 33, 36, 37,
1160
- 38, 47, 81, 82, 86, 9, 25, 29, 53, 54,
1161
- 57, 80, 82, 83, 84, 7, 77, 78, 79, 0,
1162
- 44, 48, 80, 6, 8, 16, 19, 32, 37, 38,
1163
- 80, 80, 80, 80, 77, 78, 80, 80, 25, 25,
1164
- 77, 82, 29, 54, 5, 22, 58, 80, 21, 91,
1165
- 79, 22, 49, 7, 80, 80, 80, 80, 80, 80,
1166
- 77, 78, 77, 78, 17, 99, 78, 21, 99, 77,
1167
- 78, 80, 128, 128, 21, 55, 77, 80, 59, 60,
1168
- 80, 77, 58, 47, 92, 93, 39, 50, 51, 77,
1169
- 80, 77, 77, 99, 77, 99, 77, 21, 21, 3,
1170
- 80, 100, 101, 77, 92, 77, 10, 77, 77, 53,
1171
- 58, 31, 60, 5, 55, 56, 5, 29, 93, 80,
1172
- 31, 51, 55, 22, 104, 21, 21, 77, 77, 10,
1173
- 96, 113, 114, 96, 102, 103, 80, 100, 3, 80,
1174
- 21, 106, 29, 106, 26, 109, 110, 55, 55, 29,
1175
- 77, 12, 13, 15, 18, 20, 21, 24, 25, 34,
1176
- 36, 39, 47, 61, 62, 63, 64, 65, 67, 68,
1177
- 69, 73, 81, 80, 5, 103, 30, 117, 114, 103,
1178
- 106, 106, 110, 67, 29, 113, 80, 29, 102, 80,
1179
- 96, 105, 107, 80, 26, 56, 28, 62, 66, 70,
1180
- 71, 72, 74, 75, 76, 80, 80, 20, 80, 87,
1181
- 88, 31, 25, 29, 29, 77, 5, 80, 29, 105,
1182
- 80, 28, 62, 29, 72, 80, 29, 76, 80, 5,
1183
- 87, 10, 52, 4, 80, 118, 87, 104, 5, 5,
1184
- 61, 62, 28, 21, 61, 77, 26, 52, 5, 61,
1185
- 80, 77, 87, 77
1169
+ 38, 47, 84, 85, 89, 9, 25, 29, 53, 54,
1170
+ 57, 83, 85, 86, 87, 7, 80, 81, 82, 0,
1171
+ 44, 48, 83, 6, 8, 16, 19, 32, 37, 38,
1172
+ 83, 83, 83, 83, 80, 81, 83, 83, 25, 25,
1173
+ 80, 85, 29, 54, 5, 22, 58, 83, 21, 94,
1174
+ 82, 22, 49, 7, 83, 83, 83, 83, 83, 83,
1175
+ 80, 81, 80, 81, 17, 102, 81, 21, 102, 80,
1176
+ 81, 83, 131, 131, 21, 55, 80, 83, 59, 60,
1177
+ 83, 80, 58, 47, 95, 96, 39, 50, 51, 80,
1178
+ 83, 80, 80, 102, 80, 102, 80, 21, 21, 3,
1179
+ 83, 103, 104, 80, 95, 80, 10, 80, 80, 53,
1180
+ 58, 31, 60, 5, 55, 56, 5, 29, 96, 83,
1181
+ 31, 51, 55, 22, 107, 21, 21, 80, 80, 10,
1182
+ 99, 116, 117, 99, 105, 106, 83, 103, 3, 83,
1183
+ 21, 109, 29, 109, 26, 112, 113, 55, 55, 29,
1184
+ 80, 12, 13, 15, 18, 20, 21, 24, 25, 34,
1185
+ 36, 39, 47, 61, 63, 64, 65, 66, 70, 71,
1186
+ 72, 84, 83, 5, 106, 30, 120, 117, 106, 109,
1187
+ 109, 113, 70, 29, 116, 83, 29, 105, 83, 99,
1188
+ 108, 110, 83, 26, 56, 28, 63, 67, 73, 74,
1189
+ 75, 83, 83, 20, 83, 90, 91, 31, 25, 29,
1190
+ 29, 80, 5, 83, 29, 108, 83, 28, 63, 29,
1191
+ 75, 5, 90, 10, 52, 4, 83, 121, 90, 107,
1192
+ 63, 28, 20, 21, 61, 62, 68, 76, 80, 26,
1193
+ 52, 5, 28, 62, 69, 77, 78, 79, 83, 83,
1194
+ 80, 90, 28, 62, 29, 79, 5, 80, 62
1186
1195
  };
1187
1196
 
1188
1197
  /* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */
@@ -1192,21 +1201,22 @@ static const yytype_uint8 yyr1[] =
1192
1201
  45, 46, 46, 46, 47, 47, 47, 48, 48, 49,
1193
1202
  49, 50, 50, 51, 52, 52, 53, 53, 54, 54,
1194
1203
  54, 55, 56, 56, 57, 57, 58, 58, 59, 59,
1195
- 60, 61, 61, 61, 61, 61, 61, 61, 61, 61,
1196
- 62, 62, 62, 63, 64, 65, 65, 66, 66, 67,
1197
- 67, 67, 67, 68, 69, 70, 70, 71, 71, 72,
1198
- 73, 74, 74, 75, 75, 76, 77, 77, 78, 78,
1199
- 79, 80, 80, 81, 81, 81, 81, 81, 81, 81,
1200
- 81, 81, 81, 81, 81, 82, 82, 82, 82, 82,
1201
- 82, 83, 84, 84, 85, 86, 86, 87, 87, 88,
1202
- 88, 89, 89, 89, 90, 91, 91, 92, 92, 93,
1203
- 94, 94, 94, 94, 94, 94, 95, 96, 96, 97,
1204
- 98, 99, 99, 99, 99, 100, 100, 101, 101, 102,
1205
- 103, 103, 104, 104, 105, 106, 106, 107, 107, 107,
1206
- 108, 109, 109, 110, 110, 111, 112, 113, 114, 114,
1207
- 115, 116, 117, 117, 118, 118, 119, 119, 120, 120,
1208
- 121, 121, 121, 121, 121, 121, 122, 123, 124, 125,
1209
- 125, 126, 126, 127, 127, 128
1204
+ 60, 61, 61, 61, 61, 61, 61, 61, 62, 62,
1205
+ 62, 63, 63, 63, 63, 64, 65, 66, 66, 67,
1206
+ 67, 68, 68, 69, 69, 70, 70, 70, 70, 71,
1207
+ 72, 73, 73, 74, 74, 75, 76, 77, 77, 78,
1208
+ 78, 79, 80, 80, 81, 81, 82, 83, 83, 84,
1209
+ 84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
1210
+ 84, 85, 85, 85, 85, 85, 85, 86, 87, 87,
1211
+ 88, 89, 89, 90, 90, 91, 91, 92, 92, 92,
1212
+ 93, 94, 94, 95, 95, 96, 97, 97, 97, 97,
1213
+ 97, 97, 98, 99, 99, 100, 101, 102, 102, 102,
1214
+ 102, 103, 103, 104, 104, 105, 106, 106, 107, 107,
1215
+ 108, 109, 109, 110, 110, 110, 111, 112, 112, 113,
1216
+ 113, 114, 115, 116, 117, 117, 118, 119, 120, 120,
1217
+ 121, 121, 122, 122, 123, 123, 124, 124, 124, 124,
1218
+ 124, 124, 125, 126, 127, 128, 128, 129, 129, 130,
1219
+ 130, 131
1210
1220
  };
1211
1221
 
1212
1222
  /* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */
@@ -1217,27 +1227,28 @@ static const yytype_int8 yyr2[] =
1217
1227
  3, 1, 2, 6, 0, 2, 1, 2, 1, 1,
1218
1228
  1, 3, 0, 1, 6, 4, 0, 3, 1, 2,
1219
1229
  3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1220
- 1, 1, 1, 1, 2, 2, 3, 1, 2, 1,
1221
- 1, 1, 1, 1, 3, 0, 1, 1, 2, 3,
1222
- 3, 0, 1, 1, 2, 3, 0, 1, 1, 2,
1223
- 3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1230
+ 1, 1, 1, 1, 1, 1, 2, 2, 3, 1,
1231
+ 2, 2, 3, 1, 2, 1, 1, 1, 1, 1,
1232
+ 3, 0, 1, 1, 2, 3, 3, 0, 1, 1,
1233
+ 2, 3, 0, 1, 1, 2, 3, 1, 1, 1,
1224
1234
  1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1225
- 1, 3, 5, 3, 6, 0, 1, 1, 2, 1,
1226
- 3, 1, 1, 1, 3, 0, 3, 1, 2, 3,
1227
- 1, 1, 1, 1, 1, 1, 1, 0, 1, 4,
1228
- 6, 0, 3, 2, 2, 1, 3, 1, 2, 6,
1229
- 1, 2, 0, 3, 6, 0, 3, 0, 1, 2,
1230
- 6, 0, 1, 2, 3, 6, 7, 3, 1, 2,
1231
- 7, 8, 0, 1, 1, 3, 1, 1, 6, 3,
1232
- 1, 1, 1, 1, 1, 1, 4, 6, 6, 6,
1233
- 4, 7, 4, 7, 4, 1
1235
+ 1, 1, 1, 1, 1, 1, 1, 3, 5, 3,
1236
+ 6, 0, 1, 1, 2, 1, 3, 1, 1, 1,
1237
+ 3, 0, 3, 1, 2, 3, 1, 1, 1, 1,
1238
+ 1, 1, 1, 0, 1, 4, 6, 0, 3, 2,
1239
+ 2, 1, 3, 1, 2, 6, 1, 2, 0, 3,
1240
+ 6, 0, 3, 0, 1, 2, 6, 0, 1, 2,
1241
+ 3, 6, 7, 3, 1, 2, 7, 8, 0, 1,
1242
+ 1, 3, 1, 1, 6, 3, 1, 1, 1, 1,
1243
+ 1, 1, 4, 6, 6, 6, 4, 7, 4, 7,
1244
+ 4, 1
1234
1245
  };
1235
1246
 
1236
1247
 
1237
1248
  enum { YYENOMEM = -2 };
1238
1249
 
1239
1250
  #define yyerrok (yyerrstatus = 0)
1240
- #define yyclearin (yychar = YYEMPTY)
1251
+ #define yyclearin (yychar = GRAPHQL_YYEMPTY)
1241
1252
 
1242
1253
  #define YYACCEPT goto yyacceptlab
1243
1254
  #define YYABORT goto yyabortlab
@@ -1249,7 +1260,7 @@ enum { YYENOMEM = -2 };
1249
1260
 
1250
1261
  #define YYBACKUP(Token, Value) \
1251
1262
  do \
1252
- if (yychar == YYEMPTY) \
1263
+ if (yychar == GRAPHQL_YYEMPTY) \
1253
1264
  { \
1254
1265
  yychar = (Token); \
1255
1266
  yylval = (Value); \
@@ -1265,8 +1276,8 @@ enum { YYENOMEM = -2 };
1265
1276
  while (0)
1266
1277
 
1267
1278
  /* Backward compatibility with an undocumented macro.
1268
- Use YYerror or YYUNDEF. */
1269
- #define YYERRCODE YYUNDEF
1279
+ Use GRAPHQL_YYerror or GRAPHQL_YYUNDEF. */
1280
+ #define YYERRCODE GRAPHQL_YYUNDEF
1270
1281
 
1271
1282
 
1272
1283
  /* Enable debugging if requested. */
@@ -1724,7 +1735,7 @@ YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
1724
1735
 
1725
1736
  YYDPRINTF ((stderr, "Starting parse\n"));
1726
1737
 
1727
- yychar = YYEMPTY; /* Cause a token to be read. */
1738
+ yychar = GRAPHQL_YYEMPTY; /* Cause a token to be read. */
1728
1739
 
1729
1740
  goto yysetstate;
1730
1741
 
@@ -1834,25 +1845,25 @@ yybackup:
1834
1845
  /* Not known => get a lookahead token if don't already have one. */
1835
1846
 
1836
1847
  /* YYCHAR is either empty, or end-of-input, or a valid lookahead. */
1837
- if (yychar == YYEMPTY)
1848
+ if (yychar == GRAPHQL_YYEMPTY)
1838
1849
  {
1839
1850
  YYDPRINTF ((stderr, "Reading a token\n"));
1840
1851
  yychar = yylex (&yylval, parser, filename);
1841
1852
  }
1842
1853
 
1843
- if (yychar <= YYEOF)
1854
+ if (yychar <= GRAPHQL_YYEOF)
1844
1855
  {
1845
- yychar = YYEOF;
1856
+ yychar = GRAPHQL_YYEOF;
1846
1857
  yytoken = YYSYMBOL_YYEOF;
1847
1858
  YYDPRINTF ((stderr, "Now at end of input.\n"));
1848
1859
  }
1849
- else if (yychar == YYerror)
1860
+ else if (yychar == GRAPHQL_YYerror)
1850
1861
  {
1851
1862
  /* The scanner already issued an error message, process directly
1852
1863
  to error recovery. But do not keep the error token as
1853
1864
  lookahead, it is too special and may lead us to an endless
1854
1865
  loop in error recovery. */
1855
- yychar = YYUNDEF;
1866
+ yychar = GRAPHQL_YYUNDEF;
1856
1867
  yytoken = YYSYMBOL_YYerror;
1857
1868
  goto yyerrlab1;
1858
1869
  }
@@ -1889,7 +1900,7 @@ yybackup:
1889
1900
  YY_IGNORE_MAYBE_UNINITIALIZED_END
1890
1901
 
1891
1902
  /* Discard the shifted token. */
1892
- yychar = YYEMPTY;
1903
+ yychar = GRAPHQL_YYEMPTY;
1893
1904
  goto yynewstate;
1894
1905
 
1895
1906
 
@@ -1927,7 +1938,7 @@ yyreduce:
1927
1938
  case 2: /* start: document */
1928
1939
  #line 107 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1929
1940
  { rb_ivar_set(parser, rb_intern("@result"), yyvsp[0]); }
1930
- #line 1931 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1941
+ #line 1942 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1931
1942
  break;
1932
1943
 
1933
1944
  case 3: /* document: definitions_list */
@@ -1944,19 +1955,19 @@ yyreduce:
1944
1955
  }
1945
1956
  yyval = MAKE_AST_NODE(Document, 3, line, col, yyvsp[0]);
1946
1957
  }
1947
- #line 1948 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1958
+ #line 1959 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1948
1959
  break;
1949
1960
 
1950
1961
  case 4: /* definitions_list: definition */
1951
1962
  #line 123 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1952
1963
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
1953
- #line 1954 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1964
+ #line 1965 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1954
1965
  break;
1955
1966
 
1956
1967
  case 5: /* definitions_list: definitions_list definition */
1957
1968
  #line 124 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1958
1969
  { rb_ary_push(yyval, yyvsp[0]); }
1959
- #line 1960 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1970
+ #line 1971 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1960
1971
  break;
1961
1972
 
1962
1973
  case 11: /* operation_definition: operation_type operation_name_opt variable_definitions_opt directives_list_opt selection_set */
@@ -1972,7 +1983,7 @@ yyreduce:
1972
1983
  yyvsp[0]
1973
1984
  );
1974
1985
  }
1975
- #line 1976 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1986
+ #line 1987 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1976
1987
  break;
1977
1988
 
1978
1989
  case 12: /* operation_definition: LCURLY selection_list RCURLY */
@@ -1988,7 +1999,7 @@ yyreduce:
1988
1999
  yyvsp[-1]
1989
2000
  );
1990
2001
  }
1991
- #line 1992 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2002
+ #line 2003 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1992
2003
  break;
1993
2004
 
1994
2005
  case 13: /* operation_definition: LCURLY RCURLY */
@@ -2004,37 +2015,37 @@ yyreduce:
2004
2015
  GraphQL_Language_Nodes_NONE
2005
2016
  );
2006
2017
  }
2007
- #line 2008 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2018
+ #line 2019 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2008
2019
  break;
2009
2020
 
2010
2021
  case 17: /* operation_name_opt: %empty */
2011
2022
  #line 176 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2012
2023
  { yyval = Qnil; }
2013
- #line 2014 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2024
+ #line 2025 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2014
2025
  break;
2015
2026
 
2016
2027
  case 19: /* variable_definitions_opt: %empty */
2017
2028
  #line 180 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2018
2029
  { yyval = GraphQL_Language_Nodes_NONE; }
2019
- #line 2020 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2030
+ #line 2031 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2020
2031
  break;
2021
2032
 
2022
2033
  case 20: /* variable_definitions_opt: LPAREN variable_definitions_list RPAREN */
2023
2034
  #line 181 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2024
2035
  { yyval = yyvsp[-1]; }
2025
- #line 2026 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2036
+ #line 2037 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2026
2037
  break;
2027
2038
 
2028
2039
  case 21: /* variable_definitions_list: variable_definition */
2029
2040
  #line 184 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2030
2041
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2031
- #line 2032 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2042
+ #line 2043 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2032
2043
  break;
2033
2044
 
2034
2045
  case 22: /* variable_definitions_list: variable_definitions_list variable_definition */
2035
2046
  #line 185 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2036
2047
  { rb_ary_push(yyval, yyvsp[0]); }
2037
- #line 2038 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2048
+ #line 2049 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2038
2049
  break;
2039
2050
 
2040
2051
  case 23: /* variable_definition: VAR_SIGN name COLON type default_value_opt directives_list_opt */
@@ -2049,43 +2060,43 @@ yyreduce:
2049
2060
  yyvsp[0]
2050
2061
  );
2051
2062
  }
2052
- #line 2053 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2063
+ #line 2064 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2053
2064
  break;
2054
2065
 
2055
2066
  case 24: /* default_value_opt: %empty */
2056
2067
  #line 200 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2057
2068
  { yyval = Qnil; }
2058
- #line 2059 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2069
+ #line 2070 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2059
2070
  break;
2060
2071
 
2061
2072
  case 25: /* default_value_opt: EQUALS literal_value */
2062
2073
  #line 201 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2063
2074
  { yyval = yyvsp[0]; }
2064
- #line 2065 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2075
+ #line 2076 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2065
2076
  break;
2066
2077
 
2067
2078
  case 26: /* selection_list: selection */
2068
2079
  #line 204 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2069
2080
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2070
- #line 2071 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2081
+ #line 2082 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2071
2082
  break;
2072
2083
 
2073
2084
  case 27: /* selection_list: selection_list selection */
2074
2085
  #line 205 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2075
2086
  { rb_ary_push(yyval, yyvsp[0]); }
2076
- #line 2077 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2087
+ #line 2088 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2077
2088
  break;
2078
2089
 
2079
2090
  case 31: /* selection_set: LCURLY selection_list RCURLY */
2080
2091
  #line 213 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2081
2092
  { yyval = yyvsp[-1]; }
2082
- #line 2083 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2093
+ #line 2094 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2083
2094
  break;
2084
2095
 
2085
2096
  case 32: /* selection_set_opt: %empty */
2086
2097
  #line 216 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2087
2098
  { yyval = rb_ary_new(); }
2088
- #line 2089 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2099
+ #line 2100 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2089
2100
  break;
2090
2101
 
2091
2102
  case 34: /* field: name COLON name arguments_opt directives_list_opt selection_set_opt */
@@ -2101,7 +2112,7 @@ yyreduce:
2101
2112
  yyvsp[0] // subselections
2102
2113
  );
2103
2114
  }
2104
- #line 2105 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2115
+ #line 2116 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2105
2116
  break;
2106
2117
 
2107
2118
  case 35: /* field: name arguments_opt directives_list_opt selection_set_opt */
@@ -2117,31 +2128,31 @@ yyreduce:
2117
2128
  yyvsp[0] // subselections
2118
2129
  );
2119
2130
  }
2120
- #line 2121 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2131
+ #line 2132 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2121
2132
  break;
2122
2133
 
2123
2134
  case 36: /* arguments_opt: %empty */
2124
2135
  #line 244 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2125
2136
  { yyval = GraphQL_Language_Nodes_NONE; }
2126
- #line 2127 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2137
+ #line 2138 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2127
2138
  break;
2128
2139
 
2129
2140
  case 37: /* arguments_opt: LPAREN arguments_list RPAREN */
2130
2141
  #line 245 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2131
2142
  { yyval = yyvsp[-1]; }
2132
- #line 2133 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2143
+ #line 2144 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2133
2144
  break;
2134
2145
 
2135
2146
  case 38: /* arguments_list: argument */
2136
2147
  #line 248 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2137
2148
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2138
- #line 2139 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2149
+ #line 2150 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2139
2150
  break;
2140
2151
 
2141
2152
  case 39: /* arguments_list: arguments_list argument */
2142
2153
  #line 249 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2143
2154
  { rb_ary_push(yyval, yyvsp[0]); }
2144
- #line 2145 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2155
+ #line 2156 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2145
2156
  break;
2146
2157
 
2147
2158
  case 40: /* argument: name COLON input_value */
@@ -2154,41 +2165,41 @@ yyreduce:
2154
2165
  yyvsp[0]
2155
2166
  );
2156
2167
  }
2157
- #line 2158 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2168
+ #line 2169 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2158
2169
  break;
2159
2170
 
2160
- case 41: /* literal_value: FLOAT */
2171
+ case 41: /* scalar_value: FLOAT */
2161
2172
  #line 262 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2162
2173
  { yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_f"), 0); }
2163
- #line 2164 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2174
+ #line 2175 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2164
2175
  break;
2165
2176
 
2166
- case 42: /* literal_value: INT */
2177
+ case 42: /* scalar_value: INT */
2167
2178
  #line 263 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2168
2179
  { yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_i"), 0); }
2169
- #line 2170 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2180
+ #line 2181 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2170
2181
  break;
2171
2182
 
2172
- case 43: /* literal_value: STRING */
2183
+ case 43: /* scalar_value: STRING */
2173
2184
  #line 264 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2174
2185
  { yyval = rb_ary_entry(yyvsp[0], 3); }
2175
- #line 2176 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2186
+ #line 2187 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2176
2187
  break;
2177
2188
 
2178
- case 44: /* literal_value: TRUE_LITERAL */
2189
+ case 44: /* scalar_value: TRUE_LITERAL */
2179
2190
  #line 265 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2180
2191
  { yyval = Qtrue; }
2181
- #line 2182 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2192
+ #line 2193 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2182
2193
  break;
2183
2194
 
2184
- case 45: /* literal_value: FALSE_LITERAL */
2195
+ case 45: /* scalar_value: FALSE_LITERAL */
2185
2196
  #line 266 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2186
2197
  { yyval = Qfalse; }
2187
- #line 2188 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2198
+ #line 2199 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2188
2199
  break;
2189
2200
 
2190
- case 53: /* null_value: NULL_LITERAL */
2191
- #line 277 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2201
+ case 55: /* null_value: NULL_LITERAL */
2202
+ #line 281 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2192
2203
  {
2193
2204
  yyval = MAKE_AST_NODE(NullValue, 3,
2194
2205
  rb_ary_entry(yyvsp[0], 1),
@@ -2196,11 +2207,11 @@ yyreduce:
2196
2207
  rb_ary_entry(yyvsp[0], 3)
2197
2208
  );
2198
2209
  }
2199
- #line 2200 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2210
+ #line 2211 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2200
2211
  break;
2201
2212
 
2202
- case 54: /* variable: VAR_SIGN name */
2203
- #line 285 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2213
+ case 56: /* variable: VAR_SIGN name */
2214
+ #line 289 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2204
2215
  {
2205
2216
  yyval = MAKE_AST_NODE(VariableIdentifier, 3,
2206
2217
  rb_ary_entry(yyvsp[-1], 1),
@@ -2208,35 +2219,59 @@ yyreduce:
2208
2219
  rb_ary_entry(yyvsp[0], 3)
2209
2220
  );
2210
2221
  }
2211
- #line 2212 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2222
+ #line 2223 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2212
2223
  break;
2213
2224
 
2214
- case 55: /* list_value: LBRACKET RBRACKET */
2215
- #line 294 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2225
+ case 57: /* list_value: LBRACKET RBRACKET */
2226
+ #line 298 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2216
2227
  { yyval = GraphQL_Language_Nodes_NONE; }
2217
- #line 2218 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2228
+ #line 2229 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2218
2229
  break;
2219
2230
 
2220
- case 56: /* list_value: LBRACKET list_value_list RBRACKET */
2221
- #line 295 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2231
+ case 58: /* list_value: LBRACKET list_value_list RBRACKET */
2232
+ #line 299 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2222
2233
  { yyval = yyvsp[-1]; }
2223
- #line 2224 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2234
+ #line 2235 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2224
2235
  break;
2225
2236
 
2226
- case 57: /* list_value_list: input_value */
2227
- #line 298 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2237
+ case 59: /* list_value_list: input_value */
2238
+ #line 302 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2228
2239
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2229
- #line 2230 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2240
+ #line 2241 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2230
2241
  break;
2231
2242
 
2232
- case 58: /* list_value_list: list_value_list input_value */
2233
- #line 299 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2243
+ case 60: /* list_value_list: list_value_list input_value */
2244
+ #line 303 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2234
2245
  { rb_ary_push(yyval, yyvsp[0]); }
2235
- #line 2236 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2246
+ #line 2247 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2247
+ break;
2248
+
2249
+ case 61: /* list_literal_value: LBRACKET RBRACKET */
2250
+ #line 306 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2251
+ { yyval = GraphQL_Language_Nodes_NONE; }
2252
+ #line 2253 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2236
2253
  break;
2237
2254
 
2238
- case 63: /* enum_value: enum_name */
2255
+ case 62: /* list_literal_value: LBRACKET list_literal_value_list RBRACKET */
2239
2256
  #line 307 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2257
+ { yyval = yyvsp[-1]; }
2258
+ #line 2259 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2259
+ break;
2260
+
2261
+ case 63: /* list_literal_value_list: literal_value */
2262
+ #line 310 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2263
+ { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2264
+ #line 2265 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2265
+ break;
2266
+
2267
+ case 64: /* list_literal_value_list: list_literal_value_list literal_value */
2268
+ #line 311 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2269
+ { rb_ary_push(yyval, yyvsp[0]); }
2270
+ #line 2271 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2271
+ break;
2272
+
2273
+ case 69: /* enum_value: enum_name */
2274
+ #line 319 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2240
2275
  {
2241
2276
  yyval = MAKE_AST_NODE(Enum, 3,
2242
2277
  rb_ary_entry(yyvsp[0], 1),
@@ -2244,11 +2279,11 @@ yyreduce:
2244
2279
  rb_ary_entry(yyvsp[0], 3)
2245
2280
  );
2246
2281
  }
2247
- #line 2248 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2282
+ #line 2283 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2248
2283
  break;
2249
2284
 
2250
- case 64: /* object_value: LCURLY object_value_list_opt RCURLY */
2251
- #line 316 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2285
+ case 70: /* object_value: LCURLY object_value_list_opt RCURLY */
2286
+ #line 328 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2252
2287
  {
2253
2288
  yyval = MAKE_AST_NODE(InputObject, 3,
2254
2289
  rb_ary_entry(yyvsp[-2], 1),
@@ -2256,29 +2291,29 @@ yyreduce:
2256
2291
  yyvsp[-1]
2257
2292
  );
2258
2293
  }
2259
- #line 2260 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2294
+ #line 2295 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2260
2295
  break;
2261
2296
 
2262
- case 65: /* object_value_list_opt: %empty */
2263
- #line 325 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2297
+ case 71: /* object_value_list_opt: %empty */
2298
+ #line 337 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2264
2299
  { yyval = GraphQL_Language_Nodes_NONE; }
2265
- #line 2266 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2300
+ #line 2301 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2266
2301
  break;
2267
2302
 
2268
- case 67: /* object_value_list: object_value_field */
2269
- #line 329 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2303
+ case 73: /* object_value_list: object_value_field */
2304
+ #line 341 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2270
2305
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2271
- #line 2272 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2306
+ #line 2307 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2272
2307
  break;
2273
2308
 
2274
- case 68: /* object_value_list: object_value_list object_value_field */
2275
- #line 330 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2309
+ case 74: /* object_value_list: object_value_list object_value_field */
2310
+ #line 342 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2276
2311
  { rb_ary_push(yyval, yyvsp[0]); }
2277
- #line 2278 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2312
+ #line 2313 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2278
2313
  break;
2279
2314
 
2280
- case 69: /* object_value_field: name COLON input_value */
2281
- #line 333 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2315
+ case 75: /* object_value_field: name COLON input_value */
2316
+ #line 345 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2282
2317
  {
2283
2318
  yyval = MAKE_AST_NODE(Argument, 4,
2284
2319
  rb_ary_entry(yyvsp[-2], 1),
@@ -2287,11 +2322,11 @@ yyreduce:
2287
2322
  yyvsp[0]
2288
2323
  );
2289
2324
  }
2290
- #line 2291 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2325
+ #line 2326 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2291
2326
  break;
2292
2327
 
2293
- case 70: /* object_literal_value: LCURLY object_literal_value_list_opt RCURLY */
2294
- #line 344 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2328
+ case 76: /* object_literal_value: LCURLY object_literal_value_list_opt RCURLY */
2329
+ #line 356 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2295
2330
  {
2296
2331
  yyval = MAKE_AST_NODE(InputObject, 3,
2297
2332
  rb_ary_entry(yyvsp[-2], 1),
@@ -2299,29 +2334,29 @@ yyreduce:
2299
2334
  yyvsp[-1]
2300
2335
  );
2301
2336
  }
2302
- #line 2303 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2337
+ #line 2338 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2303
2338
  break;
2304
2339
 
2305
- case 71: /* object_literal_value_list_opt: %empty */
2306
- #line 353 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2340
+ case 77: /* object_literal_value_list_opt: %empty */
2341
+ #line 365 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2307
2342
  { yyval = GraphQL_Language_Nodes_NONE; }
2308
- #line 2309 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2343
+ #line 2344 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2309
2344
  break;
2310
2345
 
2311
- case 73: /* object_literal_value_list: object_literal_value_field */
2312
- #line 357 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2346
+ case 79: /* object_literal_value_list: object_literal_value_field */
2347
+ #line 369 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2313
2348
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2314
- #line 2315 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2349
+ #line 2350 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2315
2350
  break;
2316
2351
 
2317
- case 74: /* object_literal_value_list: object_literal_value_list object_literal_value_field */
2318
- #line 358 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2352
+ case 80: /* object_literal_value_list: object_literal_value_list object_literal_value_field */
2353
+ #line 370 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2319
2354
  { rb_ary_push(yyval, yyvsp[0]); }
2320
- #line 2321 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2355
+ #line 2356 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2321
2356
  break;
2322
2357
 
2323
- case 75: /* object_literal_value_field: name COLON literal_value */
2324
- #line 361 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2358
+ case 81: /* object_literal_value_field: name COLON literal_value */
2359
+ #line 373 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2325
2360
  {
2326
2361
  yyval = MAKE_AST_NODE(Argument, 4,
2327
2362
  rb_ary_entry(yyvsp[-2], 1),
@@ -2330,29 +2365,29 @@ yyreduce:
2330
2365
  yyvsp[0]
2331
2366
  );
2332
2367
  }
2333
- #line 2334 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2368
+ #line 2369 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2334
2369
  break;
2335
2370
 
2336
- case 76: /* directives_list_opt: %empty */
2337
- #line 372 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2371
+ case 82: /* directives_list_opt: %empty */
2372
+ #line 384 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2338
2373
  { yyval = GraphQL_Language_Nodes_NONE; }
2339
- #line 2340 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2374
+ #line 2375 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2340
2375
  break;
2341
2376
 
2342
- case 78: /* directives_list: directive */
2343
- #line 376 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2377
+ case 84: /* directives_list: directive */
2378
+ #line 388 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2344
2379
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2345
- #line 2346 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2380
+ #line 2381 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2346
2381
  break;
2347
2382
 
2348
- case 79: /* directives_list: directives_list directive */
2349
- #line 377 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2383
+ case 85: /* directives_list: directives_list directive */
2384
+ #line 389 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2350
2385
  { rb_ary_push(yyval, yyvsp[0]); }
2351
- #line 2352 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2386
+ #line 2387 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2352
2387
  break;
2353
2388
 
2354
- case 80: /* directive: DIR_SIGN name arguments_opt */
2355
- #line 379 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2389
+ case 86: /* directive: DIR_SIGN name arguments_opt */
2390
+ #line 391 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2356
2391
  {
2357
2392
  yyval = MAKE_AST_NODE(Directive, 4,
2358
2393
  rb_ary_entry(yyvsp[-2], 1),
@@ -2361,11 +2396,11 @@ yyreduce:
2361
2396
  yyvsp[0]
2362
2397
  );
2363
2398
  }
2364
- #line 2365 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2399
+ #line 2400 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2365
2400
  break;
2366
2401
 
2367
- case 101: /* fragment_spread: ELLIPSIS name_without_on directives_list_opt */
2368
- #line 416 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2402
+ case 107: /* fragment_spread: ELLIPSIS name_without_on directives_list_opt */
2403
+ #line 428 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2369
2404
  {
2370
2405
  yyval = MAKE_AST_NODE(FragmentSpread, 4,
2371
2406
  rb_ary_entry(yyvsp[-2], 1),
@@ -2374,11 +2409,11 @@ yyreduce:
2374
2409
  yyvsp[0]
2375
2410
  );
2376
2411
  }
2377
- #line 2378 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2412
+ #line 2413 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2378
2413
  break;
2379
2414
 
2380
- case 102: /* inline_fragment: ELLIPSIS ON NamedTypeForCondition directives_list_opt selection_set */
2381
- #line 426 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2415
+ case 108: /* inline_fragment: ELLIPSIS ON NamedTypeForCondition directives_list_opt selection_set */
2416
+ #line 438 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2382
2417
  {
2383
2418
  yyval = MAKE_AST_NODE(InlineFragment, 5,
2384
2419
  rb_ary_entry(yyvsp[-4], 1),
@@ -2388,11 +2423,11 @@ yyreduce:
2388
2423
  yyvsp[0]
2389
2424
  );
2390
2425
  }
2391
- #line 2392 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2426
+ #line 2427 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2392
2427
  break;
2393
2428
 
2394
- case 103: /* inline_fragment: ELLIPSIS directives_list_opt selection_set */
2395
- #line 435 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2429
+ case 109: /* inline_fragment: ELLIPSIS directives_list_opt selection_set */
2430
+ #line 447 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2396
2431
  {
2397
2432
  yyval = MAKE_AST_NODE(InlineFragment, 5,
2398
2433
  rb_ary_entry(yyvsp[-2], 1),
@@ -2402,11 +2437,11 @@ yyreduce:
2402
2437
  yyvsp[0]
2403
2438
  );
2404
2439
  }
2405
- #line 2406 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2440
+ #line 2441 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2406
2441
  break;
2407
2442
 
2408
- case 104: /* fragment_definition: FRAGMENT fragment_name_opt ON NamedTypeForCondition directives_list_opt selection_set */
2409
- #line 446 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2443
+ case 110: /* fragment_definition: FRAGMENT fragment_name_opt ON NamedTypeForCondition directives_list_opt selection_set */
2444
+ #line 458 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2410
2445
  {
2411
2446
  yyval = MAKE_AST_NODE(FragmentDefinition, 6,
2412
2447
  rb_ary_entry(yyvsp[-5], 1),
@@ -2417,29 +2452,29 @@ yyreduce:
2417
2452
  yyvsp[0]
2418
2453
  );
2419
2454
  }
2420
- #line 2421 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2455
+ #line 2456 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2421
2456
  break;
2422
2457
 
2423
- case 105: /* fragment_name_opt: %empty */
2424
- #line 458 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2458
+ case 111: /* fragment_name_opt: %empty */
2459
+ #line 470 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2425
2460
  { yyval = Qnil; }
2426
- #line 2427 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2461
+ #line 2462 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2427
2462
  break;
2428
2463
 
2429
- case 106: /* fragment_name_opt: name_without_on */
2430
- #line 459 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2464
+ case 112: /* fragment_name_opt: name_without_on */
2465
+ #line 471 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2431
2466
  { yyval = rb_ary_entry(yyvsp[0], 3); }
2432
- #line 2433 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2467
+ #line 2468 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2433
2468
  break;
2434
2469
 
2435
- case 108: /* type: nullable_type BANG */
2436
- #line 463 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2470
+ case 114: /* type: nullable_type BANG */
2471
+ #line 475 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2437
2472
  { yyval = MAKE_AST_NODE(NonNullType, 3, rb_funcall(yyvsp[-1], rb_intern("line"), 0), rb_funcall(yyvsp[-1], rb_intern("col"), 0), yyvsp[-1]); }
2438
- #line 2439 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2473
+ #line 2474 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2439
2474
  break;
2440
2475
 
2441
- case 109: /* nullable_type: name */
2442
- #line 466 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2476
+ case 115: /* nullable_type: name */
2477
+ #line 478 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2443
2478
  {
2444
2479
  yyval = MAKE_AST_NODE(TypeName, 3,
2445
2480
  rb_ary_entry(yyvsp[0], 1),
@@ -2447,11 +2482,11 @@ yyreduce:
2447
2482
  rb_ary_entry(yyvsp[0], 3)
2448
2483
  );
2449
2484
  }
2450
- #line 2451 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2485
+ #line 2486 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2451
2486
  break;
2452
2487
 
2453
- case 110: /* nullable_type: LBRACKET type RBRACKET */
2454
- #line 473 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2488
+ case 116: /* nullable_type: LBRACKET type RBRACKET */
2489
+ #line 485 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2455
2490
  {
2456
2491
  yyval = MAKE_AST_NODE(ListType, 3,
2457
2492
  rb_funcall(yyvsp[-1], rb_intern("line"), 0),
@@ -2459,11 +2494,11 @@ yyreduce:
2459
2494
  yyvsp[-1]
2460
2495
  );
2461
2496
  }
2462
- #line 2463 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2497
+ #line 2498 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2463
2498
  break;
2464
2499
 
2465
- case 114: /* schema_definition: SCHEMA directives_list_opt operation_type_definition_list_opt */
2466
- #line 487 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2500
+ case 120: /* schema_definition: SCHEMA directives_list_opt operation_type_definition_list_opt */
2501
+ #line 499 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2467
2502
  {
2468
2503
  yyval = MAKE_AST_NODE(SchemaDefinition, 6,
2469
2504
  rb_ary_entry(yyvsp[-2], 1),
@@ -2475,54 +2510,54 @@ yyreduce:
2475
2510
  yyvsp[-1]
2476
2511
  );
2477
2512
  }
2478
- #line 2479 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2513
+ #line 2514 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2479
2514
  break;
2480
2515
 
2481
- case 115: /* operation_type_definition_list_opt: %empty */
2482
- #line 500 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2516
+ case 121: /* operation_type_definition_list_opt: %empty */
2517
+ #line 512 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2483
2518
  { yyval = rb_hash_new(); }
2484
- #line 2485 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2519
+ #line 2520 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2485
2520
  break;
2486
2521
 
2487
- case 116: /* operation_type_definition_list_opt: LCURLY operation_type_definition_list RCURLY */
2488
- #line 501 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2522
+ case 122: /* operation_type_definition_list_opt: LCURLY operation_type_definition_list RCURLY */
2523
+ #line 513 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2489
2524
  { yyval = yyvsp[-1]; }
2490
- #line 2491 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2525
+ #line 2526 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2491
2526
  break;
2492
2527
 
2493
- case 117: /* operation_type_definition_list: operation_type_definition */
2494
- #line 504 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2528
+ case 123: /* operation_type_definition_list: operation_type_definition */
2529
+ #line 516 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2495
2530
  {
2496
2531
  yyval = rb_hash_new();
2497
2532
  rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
2498
2533
  }
2499
- #line 2500 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2534
+ #line 2535 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2500
2535
  break;
2501
2536
 
2502
- case 118: /* operation_type_definition_list: operation_type_definition_list operation_type_definition */
2503
- #line 508 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2537
+ case 124: /* operation_type_definition_list: operation_type_definition_list operation_type_definition */
2538
+ #line 520 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2504
2539
  {
2505
2540
  rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
2506
2541
  }
2507
- #line 2508 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2542
+ #line 2543 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2508
2543
  break;
2509
2544
 
2510
- case 119: /* operation_type_definition: operation_type COLON name */
2511
- #line 513 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2545
+ case 125: /* operation_type_definition: operation_type COLON name */
2546
+ #line 525 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2512
2547
  {
2513
2548
  yyval = rb_ary_new_from_args(2, rb_ary_entry(yyvsp[-2], 3), rb_ary_entry(yyvsp[0], 3));
2514
2549
  }
2515
- #line 2516 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2550
+ #line 2551 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2516
2551
  break;
2517
2552
 
2518
- case 127: /* description_opt: %empty */
2519
- #line 528 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2553
+ case 133: /* description_opt: %empty */
2554
+ #line 540 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2520
2555
  { yyval = Qnil; }
2521
- #line 2522 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2556
+ #line 2557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2522
2557
  break;
2523
2558
 
2524
- case 129: /* scalar_type_definition: description_opt SCALAR name directives_list_opt */
2525
- #line 532 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2559
+ case 135: /* scalar_type_definition: description_opt SCALAR name directives_list_opt */
2560
+ #line 544 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2526
2561
  {
2527
2562
  yyval = MAKE_AST_NODE(ScalarTypeDefinition, 5,
2528
2563
  rb_ary_entry(yyvsp[-2], 1),
@@ -2533,11 +2568,11 @@ yyreduce:
2533
2568
  yyvsp[0]
2534
2569
  );
2535
2570
  }
2536
- #line 2537 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2571
+ #line 2572 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2537
2572
  break;
2538
2573
 
2539
- case 130: /* object_type_definition: description_opt TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2540
- #line 544 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2574
+ case 136: /* object_type_definition: description_opt TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2575
+ #line 556 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2541
2576
  {
2542
2577
  yyval = MAKE_AST_NODE(ObjectTypeDefinition, 7,
2543
2578
  rb_ary_entry(yyvsp[-4], 1),
@@ -2550,35 +2585,35 @@ yyreduce:
2550
2585
  yyvsp[0]
2551
2586
  );
2552
2587
  }
2553
- #line 2554 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2588
+ #line 2589 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2554
2589
  break;
2555
2590
 
2556
- case 131: /* implements_opt: %empty */
2557
- #line 558 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2591
+ case 137: /* implements_opt: %empty */
2592
+ #line 570 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2558
2593
  { yyval = GraphQL_Language_Nodes_NONE; }
2559
- #line 2560 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2594
+ #line 2595 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2560
2595
  break;
2561
2596
 
2562
- case 132: /* implements_opt: IMPLEMENTS AMP interfaces_list */
2563
- #line 559 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2597
+ case 138: /* implements_opt: IMPLEMENTS AMP interfaces_list */
2598
+ #line 571 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2564
2599
  { yyval = yyvsp[0]; }
2565
- #line 2566 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2600
+ #line 2601 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2566
2601
  break;
2567
2602
 
2568
- case 133: /* implements_opt: IMPLEMENTS interfaces_list */
2569
- #line 560 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2603
+ case 139: /* implements_opt: IMPLEMENTS interfaces_list */
2604
+ #line 572 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2570
2605
  { yyval = yyvsp[0]; }
2571
- #line 2572 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2606
+ #line 2607 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2572
2607
  break;
2573
2608
 
2574
- case 134: /* implements_opt: IMPLEMENTS legacy_interfaces_list */
2575
- #line 561 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2609
+ case 140: /* implements_opt: IMPLEMENTS legacy_interfaces_list */
2610
+ #line 573 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2576
2611
  { yyval = yyvsp[0]; }
2577
- #line 2578 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2612
+ #line 2613 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2578
2613
  break;
2579
2614
 
2580
- case 135: /* interfaces_list: name */
2581
- #line 564 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2615
+ case 141: /* interfaces_list: name */
2616
+ #line 576 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2582
2617
  {
2583
2618
  VALUE new_name = MAKE_AST_NODE(TypeName, 3,
2584
2619
  rb_ary_entry(yyvsp[0], 1),
@@ -2587,20 +2622,20 @@ yyreduce:
2587
2622
  );
2588
2623
  yyval = rb_ary_new_from_args(1, new_name);
2589
2624
  }
2590
- #line 2591 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2625
+ #line 2626 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2591
2626
  break;
2592
2627
 
2593
- case 136: /* interfaces_list: interfaces_list AMP name */
2594
- #line 572 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2628
+ case 142: /* interfaces_list: interfaces_list AMP name */
2629
+ #line 584 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2595
2630
  {
2596
2631
  VALUE new_name = MAKE_AST_NODE(TypeName, 3, rb_ary_entry(yyvsp[0], 1), rb_ary_entry(yyvsp[0], 2), rb_ary_entry(yyvsp[0], 3));
2597
2632
  rb_ary_push(yyval, new_name);
2598
2633
  }
2599
- #line 2600 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2634
+ #line 2635 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2600
2635
  break;
2601
2636
 
2602
- case 137: /* legacy_interfaces_list: name */
2603
- #line 578 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2637
+ case 143: /* legacy_interfaces_list: name */
2638
+ #line 590 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2604
2639
  {
2605
2640
  VALUE new_name = MAKE_AST_NODE(TypeName, 3,
2606
2641
  rb_ary_entry(yyvsp[0], 1),
@@ -2609,19 +2644,19 @@ yyreduce:
2609
2644
  );
2610
2645
  yyval = rb_ary_new_from_args(1, new_name);
2611
2646
  }
2612
- #line 2613 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2647
+ #line 2648 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2613
2648
  break;
2614
2649
 
2615
- case 138: /* legacy_interfaces_list: legacy_interfaces_list name */
2616
- #line 586 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2650
+ case 144: /* legacy_interfaces_list: legacy_interfaces_list name */
2651
+ #line 598 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2617
2652
  {
2618
2653
  rb_ary_push(yyval, MAKE_AST_NODE(TypeName, 3, rb_ary_entry(yyvsp[0], 1), rb_ary_entry(yyvsp[0], 2), rb_ary_entry(yyvsp[0], 3)));
2619
2654
  }
2620
- #line 2621 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2655
+ #line 2656 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2621
2656
  break;
2622
2657
 
2623
- case 139: /* input_value_definition: description_opt name COLON type default_value_opt directives_list_opt */
2624
- #line 591 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2658
+ case 145: /* input_value_definition: description_opt name COLON type default_value_opt directives_list_opt */
2659
+ #line 603 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2625
2660
  {
2626
2661
  yyval = MAKE_AST_NODE(InputValueDefinition, 7,
2627
2662
  rb_ary_entry(yyvsp[-4], 1),
@@ -2634,35 +2669,35 @@ yyreduce:
2634
2669
  yyvsp[0]
2635
2670
  );
2636
2671
  }
2637
- #line 2638 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2672
+ #line 2673 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2638
2673
  break;
2639
2674
 
2640
- case 140: /* input_value_definition_list: input_value_definition */
2641
- #line 605 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2675
+ case 146: /* input_value_definition_list: input_value_definition */
2676
+ #line 617 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2642
2677
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2643
- #line 2644 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2678
+ #line 2679 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2644
2679
  break;
2645
2680
 
2646
- case 141: /* input_value_definition_list: input_value_definition_list input_value_definition */
2647
- #line 606 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2681
+ case 147: /* input_value_definition_list: input_value_definition_list input_value_definition */
2682
+ #line 618 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2648
2683
  { rb_ary_push(yyval, yyvsp[0]); }
2649
- #line 2650 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2684
+ #line 2685 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2650
2685
  break;
2651
2686
 
2652
- case 142: /* arguments_definitions_opt: %empty */
2653
- #line 609 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2687
+ case 148: /* arguments_definitions_opt: %empty */
2688
+ #line 621 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2654
2689
  { yyval = GraphQL_Language_Nodes_NONE; }
2655
- #line 2656 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2690
+ #line 2691 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2656
2691
  break;
2657
2692
 
2658
- case 143: /* arguments_definitions_opt: LPAREN input_value_definition_list RPAREN */
2659
- #line 610 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2693
+ case 149: /* arguments_definitions_opt: LPAREN input_value_definition_list RPAREN */
2694
+ #line 622 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2660
2695
  { yyval = yyvsp[-1]; }
2661
- #line 2662 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2696
+ #line 2697 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2662
2697
  break;
2663
2698
 
2664
- case 144: /* field_definition: description_opt name arguments_definitions_opt COLON type directives_list_opt */
2665
- #line 613 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2699
+ case 150: /* field_definition: description_opt name arguments_definitions_opt COLON type directives_list_opt */
2700
+ #line 625 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2666
2701
  {
2667
2702
  yyval = MAKE_AST_NODE(FieldDefinition, 7,
2668
2703
  rb_ary_entry(yyvsp[-4], 1),
@@ -2675,41 +2710,41 @@ yyreduce:
2675
2710
  yyvsp[0]
2676
2711
  );
2677
2712
  }
2678
- #line 2679 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2713
+ #line 2714 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2679
2714
  break;
2680
2715
 
2681
- case 145: /* field_definition_list_opt: %empty */
2682
- #line 627 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2716
+ case 151: /* field_definition_list_opt: %empty */
2717
+ #line 639 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2683
2718
  { yyval = GraphQL_Language_Nodes_NONE; }
2684
- #line 2685 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2719
+ #line 2720 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2685
2720
  break;
2686
2721
 
2687
- case 146: /* field_definition_list_opt: LCURLY field_definition_list RCURLY */
2688
- #line 628 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2722
+ case 152: /* field_definition_list_opt: LCURLY field_definition_list RCURLY */
2723
+ #line 640 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2689
2724
  { yyval = yyvsp[-1]; }
2690
- #line 2691 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2725
+ #line 2726 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2691
2726
  break;
2692
2727
 
2693
- case 147: /* field_definition_list: %empty */
2694
- #line 631 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2728
+ case 153: /* field_definition_list: %empty */
2729
+ #line 643 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2695
2730
  { yyval = GraphQL_Language_Nodes_NONE; }
2696
- #line 2697 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2731
+ #line 2732 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2697
2732
  break;
2698
2733
 
2699
- case 148: /* field_definition_list: field_definition */
2700
- #line 632 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2734
+ case 154: /* field_definition_list: field_definition */
2735
+ #line 644 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2701
2736
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2702
- #line 2703 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2737
+ #line 2738 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2703
2738
  break;
2704
2739
 
2705
- case 149: /* field_definition_list: field_definition_list field_definition */
2706
- #line 633 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2740
+ case 155: /* field_definition_list: field_definition_list field_definition */
2741
+ #line 645 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2707
2742
  { rb_ary_push(yyval, yyvsp[0]); }
2708
- #line 2709 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2743
+ #line 2744 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2709
2744
  break;
2710
2745
 
2711
- case 150: /* interface_type_definition: description_opt INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2712
- #line 636 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2746
+ case 156: /* interface_type_definition: description_opt INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2747
+ #line 648 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2713
2748
  {
2714
2749
  yyval = MAKE_AST_NODE(InterfaceTypeDefinition, 7,
2715
2750
  rb_ary_entry(yyvsp[-4], 1),
@@ -2722,23 +2757,23 @@ yyreduce:
2722
2757
  yyvsp[0]
2723
2758
  );
2724
2759
  }
2725
- #line 2726 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2760
+ #line 2761 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2726
2761
  break;
2727
2762
 
2728
- case 151: /* pipe_opt: %empty */
2729
- #line 650 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2763
+ case 157: /* pipe_opt: %empty */
2764
+ #line 662 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2730
2765
  { yyval = GraphQL_Language_Nodes_NONE; }
2731
- #line 2732 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2766
+ #line 2767 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2732
2767
  break;
2733
2768
 
2734
- case 152: /* pipe_opt: PIPE */
2735
- #line 651 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2769
+ case 158: /* pipe_opt: PIPE */
2770
+ #line 663 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2736
2771
  { yyval = GraphQL_Language_Nodes_NONE; }
2737
- #line 2738 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2772
+ #line 2773 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2738
2773
  break;
2739
2774
 
2740
- case 153: /* union_members: pipe_opt name */
2741
- #line 654 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2775
+ case 159: /* union_members: pipe_opt name */
2776
+ #line 666 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2742
2777
  {
2743
2778
  VALUE new_member = MAKE_AST_NODE(TypeName, 3,
2744
2779
  rb_ary_entry(yyvsp[0], 1),
@@ -2747,19 +2782,19 @@ yyreduce:
2747
2782
  );
2748
2783
  yyval = rb_ary_new_from_args(1, new_member);
2749
2784
  }
2750
- #line 2751 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2785
+ #line 2786 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2751
2786
  break;
2752
2787
 
2753
- case 154: /* union_members: union_members PIPE name */
2754
- #line 662 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2788
+ case 160: /* union_members: union_members PIPE name */
2789
+ #line 674 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2755
2790
  {
2756
2791
  rb_ary_push(yyval, MAKE_AST_NODE(TypeName, 3, rb_ary_entry(yyvsp[0], 1), rb_ary_entry(yyvsp[0], 2), rb_ary_entry(yyvsp[0], 3)));
2757
2792
  }
2758
- #line 2759 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2793
+ #line 2794 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2759
2794
  break;
2760
2795
 
2761
- case 155: /* union_type_definition: description_opt UNION name directives_list_opt EQUALS union_members */
2762
- #line 667 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2796
+ case 161: /* union_type_definition: description_opt UNION name directives_list_opt EQUALS union_members */
2797
+ #line 679 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2763
2798
  {
2764
2799
  yyval = MAKE_AST_NODE(UnionTypeDefinition, 6,
2765
2800
  rb_ary_entry(yyvsp[-4], 1),
@@ -2771,11 +2806,11 @@ yyreduce:
2771
2806
  yyvsp[-2]
2772
2807
  );
2773
2808
  }
2774
- #line 2775 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2809
+ #line 2810 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2775
2810
  break;
2776
2811
 
2777
- case 156: /* enum_type_definition: description_opt ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
2778
- #line 680 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2812
+ case 162: /* enum_type_definition: description_opt ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
2813
+ #line 692 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2779
2814
  {
2780
2815
  yyval = MAKE_AST_NODE(EnumTypeDefinition, 6,
2781
2816
  rb_ary_entry(yyvsp[-5], 1),
@@ -2787,11 +2822,11 @@ yyreduce:
2787
2822
  yyvsp[-1]
2788
2823
  );
2789
2824
  }
2790
- #line 2791 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2825
+ #line 2826 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2791
2826
  break;
2792
2827
 
2793
- case 157: /* enum_value_definition: description_opt enum_name directives_list_opt */
2794
- #line 693 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2828
+ case 163: /* enum_value_definition: description_opt enum_name directives_list_opt */
2829
+ #line 705 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2795
2830
  {
2796
2831
  yyval = MAKE_AST_NODE(EnumValueDefinition, 5,
2797
2832
  rb_ary_entry(yyvsp[-1], 1),
@@ -2802,23 +2837,23 @@ yyreduce:
2802
2837
  yyvsp[0]
2803
2838
  );
2804
2839
  }
2805
- #line 2806 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2840
+ #line 2841 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2806
2841
  break;
2807
2842
 
2808
- case 158: /* enum_value_definitions: enum_value_definition */
2809
- #line 705 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2843
+ case 164: /* enum_value_definitions: enum_value_definition */
2844
+ #line 717 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2810
2845
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2811
- #line 2812 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2846
+ #line 2847 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2812
2847
  break;
2813
2848
 
2814
- case 159: /* enum_value_definitions: enum_value_definitions enum_value_definition */
2815
- #line 706 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2849
+ case 165: /* enum_value_definitions: enum_value_definitions enum_value_definition */
2850
+ #line 718 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2816
2851
  { rb_ary_push(yyval, yyvsp[0]); }
2817
- #line 2818 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2852
+ #line 2853 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2818
2853
  break;
2819
2854
 
2820
- case 160: /* input_object_type_definition: description_opt INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
2821
- #line 709 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2855
+ case 166: /* input_object_type_definition: description_opt INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
2856
+ #line 721 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2822
2857
  {
2823
2858
  yyval = MAKE_AST_NODE(InputObjectTypeDefinition, 6,
2824
2859
  rb_ary_entry(yyvsp[-5], 1),
@@ -2830,11 +2865,11 @@ yyreduce:
2830
2865
  yyvsp[-1]
2831
2866
  );
2832
2867
  }
2833
- #line 2834 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2868
+ #line 2869 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2834
2869
  break;
2835
2870
 
2836
- case 161: /* directive_definition: description_opt DIRECTIVE DIR_SIGN name arguments_definitions_opt directive_repeatable_opt ON directive_locations */
2837
- #line 722 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2871
+ case 167: /* directive_definition: description_opt DIRECTIVE DIR_SIGN name arguments_definitions_opt directive_repeatable_opt ON directive_locations */
2872
+ #line 734 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2838
2873
  {
2839
2874
  yyval = MAKE_AST_NODE(DirectiveDefinition, 7,
2840
2875
  rb_ary_entry(yyvsp[-6], 1),
@@ -2847,35 +2882,35 @@ yyreduce:
2847
2882
  yyvsp[0]
2848
2883
  );
2849
2884
  }
2850
- #line 2851 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2885
+ #line 2886 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2851
2886
  break;
2852
2887
 
2853
- case 162: /* directive_repeatable_opt: %empty */
2854
- #line 736 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2888
+ case 168: /* directive_repeatable_opt: %empty */
2889
+ #line 748 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2855
2890
  { yyval = Qnil; }
2856
- #line 2857 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2891
+ #line 2892 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2857
2892
  break;
2858
2893
 
2859
- case 163: /* directive_repeatable_opt: REPEATABLE */
2860
- #line 737 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2894
+ case 169: /* directive_repeatable_opt: REPEATABLE */
2895
+ #line 749 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2861
2896
  { yyval = Qtrue; }
2862
- #line 2863 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2897
+ #line 2898 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2863
2898
  break;
2864
2899
 
2865
- case 164: /* directive_locations: name */
2866
- #line 740 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2900
+ case 170: /* directive_locations: name */
2901
+ #line 752 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2867
2902
  { yyval = rb_ary_new_from_args(1, MAKE_AST_NODE(DirectiveLocation, 3, rb_ary_entry(yyvsp[0], 1), rb_ary_entry(yyvsp[0], 2), rb_ary_entry(yyvsp[0], 3))); }
2868
- #line 2869 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2903
+ #line 2904 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2869
2904
  break;
2870
2905
 
2871
- case 165: /* directive_locations: directive_locations PIPE name */
2872
- #line 741 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2906
+ case 171: /* directive_locations: directive_locations PIPE name */
2907
+ #line 753 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2873
2908
  { rb_ary_push(yyval, MAKE_AST_NODE(DirectiveLocation, 3, rb_ary_entry(yyvsp[0], 1), rb_ary_entry(yyvsp[0], 2), rb_ary_entry(yyvsp[0], 3))); }
2874
- #line 2875 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2909
+ #line 2910 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2875
2910
  break;
2876
2911
 
2877
- case 168: /* schema_extension: EXTEND SCHEMA directives_list_opt LCURLY operation_type_definition_list RCURLY */
2878
- #line 749 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2912
+ case 174: /* schema_extension: EXTEND SCHEMA directives_list_opt LCURLY operation_type_definition_list RCURLY */
2913
+ #line 761 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2879
2914
  {
2880
2915
  yyval = MAKE_AST_NODE(SchemaExtension, 6,
2881
2916
  rb_ary_entry(yyvsp[-5], 1),
@@ -2887,11 +2922,11 @@ yyreduce:
2887
2922
  yyvsp[-3]
2888
2923
  );
2889
2924
  }
2890
- #line 2891 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2925
+ #line 2926 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2891
2926
  break;
2892
2927
 
2893
- case 169: /* schema_extension: EXTEND SCHEMA directives_list */
2894
- #line 760 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2928
+ case 175: /* schema_extension: EXTEND SCHEMA directives_list */
2929
+ #line 772 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2895
2930
  {
2896
2931
  yyval = MAKE_AST_NODE(SchemaExtension, 6,
2897
2932
  rb_ary_entry(yyvsp[-2], 1),
@@ -2902,11 +2937,11 @@ yyreduce:
2902
2937
  yyvsp[0]
2903
2938
  );
2904
2939
  }
2905
- #line 2906 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2940
+ #line 2941 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2906
2941
  break;
2907
2942
 
2908
- case 176: /* scalar_type_extension: EXTEND SCALAR name directives_list */
2909
- #line 779 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2943
+ case 182: /* scalar_type_extension: EXTEND SCALAR name directives_list */
2944
+ #line 791 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2910
2945
  {
2911
2946
  yyval = MAKE_AST_NODE(ScalarTypeExtension, 4,
2912
2947
  rb_ary_entry(yyvsp[-3], 1),
@@ -2915,11 +2950,11 @@ yyreduce:
2915
2950
  yyvsp[0]
2916
2951
  );
2917
2952
  }
2918
- #line 2919 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2953
+ #line 2954 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2919
2954
  break;
2920
2955
 
2921
- case 177: /* object_type_extension: EXTEND TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2922
- #line 789 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2956
+ case 183: /* object_type_extension: EXTEND TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2957
+ #line 801 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2923
2958
  {
2924
2959
  yyval = MAKE_AST_NODE(ObjectTypeExtension, 6,
2925
2960
  rb_ary_entry(yyvsp[-5], 1),
@@ -2930,11 +2965,11 @@ yyreduce:
2930
2965
  yyvsp[0]
2931
2966
  );
2932
2967
  }
2933
- #line 2934 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2968
+ #line 2969 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2934
2969
  break;
2935
2970
 
2936
- case 178: /* interface_type_extension: EXTEND INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2937
- #line 801 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2971
+ case 184: /* interface_type_extension: EXTEND INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2972
+ #line 813 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2938
2973
  {
2939
2974
  yyval = MAKE_AST_NODE(InterfaceTypeExtension, 6,
2940
2975
  rb_ary_entry(yyvsp[-5], 1),
@@ -2945,11 +2980,11 @@ yyreduce:
2945
2980
  yyvsp[0]
2946
2981
  );
2947
2982
  }
2948
- #line 2949 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2983
+ #line 2984 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2949
2984
  break;
2950
2985
 
2951
- case 179: /* union_type_extension: EXTEND UNION name directives_list_opt EQUALS union_members */
2952
- #line 813 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2986
+ case 185: /* union_type_extension: EXTEND UNION name directives_list_opt EQUALS union_members */
2987
+ #line 825 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2953
2988
  {
2954
2989
  yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
2955
2990
  rb_ary_entry(yyvsp[-5], 1),
@@ -2959,11 +2994,11 @@ yyreduce:
2959
2994
  yyvsp[-2]
2960
2995
  );
2961
2996
  }
2962
- #line 2963 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2997
+ #line 2998 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2963
2998
  break;
2964
2999
 
2965
- case 180: /* union_type_extension: EXTEND UNION name directives_list */
2966
- #line 822 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3000
+ case 186: /* union_type_extension: EXTEND UNION name directives_list */
3001
+ #line 834 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2967
3002
  {
2968
3003
  yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
2969
3004
  rb_ary_entry(yyvsp[-3], 1),
@@ -2973,11 +3008,11 @@ yyreduce:
2973
3008
  yyvsp[0]
2974
3009
  );
2975
3010
  }
2976
- #line 2977 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3011
+ #line 3012 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2977
3012
  break;
2978
3013
 
2979
- case 181: /* enum_type_extension: EXTEND ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
2980
- #line 833 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3014
+ case 187: /* enum_type_extension: EXTEND ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
3015
+ #line 845 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2981
3016
  {
2982
3017
  yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
2983
3018
  rb_ary_entry(yyvsp[-6], 1),
@@ -2987,11 +3022,11 @@ yyreduce:
2987
3022
  yyvsp[-1]
2988
3023
  );
2989
3024
  }
2990
- #line 2991 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3025
+ #line 3026 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2991
3026
  break;
2992
3027
 
2993
- case 182: /* enum_type_extension: EXTEND ENUM name directives_list */
2994
- #line 842 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3028
+ case 188: /* enum_type_extension: EXTEND ENUM name directives_list */
3029
+ #line 854 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2995
3030
  {
2996
3031
  yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
2997
3032
  rb_ary_entry(yyvsp[-3], 1),
@@ -3001,11 +3036,11 @@ yyreduce:
3001
3036
  GraphQL_Language_Nodes_NONE
3002
3037
  );
3003
3038
  }
3004
- #line 3005 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3039
+ #line 3040 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3005
3040
  break;
3006
3041
 
3007
- case 183: /* input_object_type_extension: EXTEND INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
3008
- #line 853 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3042
+ case 189: /* input_object_type_extension: EXTEND INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
3043
+ #line 865 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3009
3044
  {
3010
3045
  yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
3011
3046
  rb_ary_entry(yyvsp[-6], 1),
@@ -3015,11 +3050,11 @@ yyreduce:
3015
3050
  yyvsp[-1]
3016
3051
  );
3017
3052
  }
3018
- #line 3019 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3053
+ #line 3054 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3019
3054
  break;
3020
3055
 
3021
- case 184: /* input_object_type_extension: EXTEND INPUT name directives_list */
3022
- #line 862 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3056
+ case 190: /* input_object_type_extension: EXTEND INPUT name directives_list */
3057
+ #line 874 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3023
3058
  {
3024
3059
  yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
3025
3060
  rb_ary_entry(yyvsp[-3], 1),
@@ -3029,11 +3064,11 @@ yyreduce:
3029
3064
  GraphQL_Language_Nodes_NONE
3030
3065
  );
3031
3066
  }
3032
- #line 3033 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3067
+ #line 3068 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3033
3068
  break;
3034
3069
 
3035
- case 185: /* NamedTypeForCondition: name */
3036
- #line 874 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3070
+ case 191: /* NamedTypeForCondition: name */
3071
+ #line 886 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3037
3072
  {
3038
3073
  /* This action creates a TypeName AST node.
3039
3074
  $1 (yyvsp[0] in C) refers to the semantic value of 'name'.
@@ -3045,11 +3080,11 @@ yyreduce:
3045
3080
  rb_ary_entry(yyvsp[0], 3) /* name string itself */
3046
3081
  );
3047
3082
  }
3048
- #line 3049 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3083
+ #line 3084 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3049
3084
  break;
3050
3085
 
3051
3086
 
3052
- #line 3053 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3087
+ #line 3088 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3053
3088
 
3054
3089
  default: break;
3055
3090
  }
@@ -3091,7 +3126,7 @@ yyreduce:
3091
3126
  yyerrlab:
3092
3127
  /* Make sure we have latest lookahead translation. See comments at
3093
3128
  user semantic actions for why this is necessary. */
3094
- yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
3129
+ yytoken = yychar == GRAPHQL_YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
3095
3130
  /* If not already recovering from an error, report this error. */
3096
3131
  if (!yyerrstatus)
3097
3132
  {
@@ -3134,17 +3169,17 @@ yyerrlab:
3134
3169
  /* If just tried and failed to reuse lookahead token after an
3135
3170
  error, discard it. */
3136
3171
 
3137
- if (yychar <= YYEOF)
3172
+ if (yychar <= GRAPHQL_YYEOF)
3138
3173
  {
3139
3174
  /* Return failure if at end of input. */
3140
- if (yychar == YYEOF)
3175
+ if (yychar == GRAPHQL_YYEOF)
3141
3176
  YYABORT;
3142
3177
  }
3143
3178
  else
3144
3179
  {
3145
3180
  yydestruct ("Error: discarding",
3146
3181
  yytoken, &yylval, parser, filename);
3147
- yychar = YYEMPTY;
3182
+ yychar = GRAPHQL_YYEMPTY;
3148
3183
  }
3149
3184
  }
3150
3185
 
@@ -3246,7 +3281,7 @@ yyexhaustedlab:
3246
3281
  | yyreturnlab -- parsing is finished, clean up and return. |
3247
3282
  `----------------------------------------------------------*/
3248
3283
  yyreturnlab:
3249
- if (yychar != YYEMPTY)
3284
+ if (yychar != GRAPHQL_YYEMPTY)
3250
3285
  {
3251
3286
  /* Make sure we have latest lookahead translation. See comments at
3252
3287
  user semantic actions for why this is necessary. */
@@ -3273,7 +3308,7 @@ yyreturnlab:
3273
3308
  return yyresult;
3274
3309
  }
3275
3310
 
3276
- #line 887 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3311
+ #line 899 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3277
3312
 
3278
3313
 
3279
3314
  // Custom functions
@@ -3284,7 +3319,7 @@ int yylex (YYSTYPE *lvalp, VALUE parser, VALUE filename) {
3284
3319
  VALUE next_token = rb_ary_entry(tokens, next_token_idx);
3285
3320
 
3286
3321
  if (!RB_TEST(next_token)) {
3287
- return YYEOF;
3322
+ return GRAPHQL_YYEOF;
3288
3323
  }
3289
3324
  rb_ivar_set(parser, rb_intern("@next_token_index"), INT2FIX(next_token_idx + 1));
3290
3325
  VALUE token_type_rb_int = rb_ary_entry(next_token, 4);
@@ -3318,7 +3353,7 @@ void yyerror(VALUE parser, VALUE filename, const char *msg) {
3318
3353
  rb_global_variable(&GraphQL_Language_Nodes_##node_class_name); \
3319
3354
  GraphQL_Language_Nodes_##node_class_name = rb_const_get_at(mGraphQLLanguageNodes, rb_intern(#node_class_name));
3320
3355
 
3321
- void initialize_node_class_variables() {
3356
+ void initialize_node_class_variables(void) {
3322
3357
  VALUE mGraphQL = rb_const_get_at(rb_cObject, rb_intern("GraphQL"));
3323
3358
  VALUE mGraphQLLanguage = rb_const_get_at(mGraphQL, rb_intern("Language"));
3324
3359
  VALUE mGraphQLLanguageNodes = rb_const_get_at(mGraphQLLanguage, rb_intern("Nodes"));