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