graphql-c_parser 1.1.1 → 1.1.3

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.
@@ -371,24 +371,26 @@ enum yysymbol_kind_t
371
371
  YYSYMBOL_field_definition_list_opt = 106, /* field_definition_list_opt */
372
372
  YYSYMBOL_field_definition_list = 107, /* field_definition_list */
373
373
  YYSYMBOL_interface_type_definition = 108, /* interface_type_definition */
374
- YYSYMBOL_union_members = 109, /* union_members */
375
- YYSYMBOL_union_type_definition = 110, /* union_type_definition */
376
- YYSYMBOL_enum_type_definition = 111, /* enum_type_definition */
377
- YYSYMBOL_enum_value_definition = 112, /* enum_value_definition */
378
- YYSYMBOL_enum_value_definitions = 113, /* enum_value_definitions */
379
- YYSYMBOL_input_object_type_definition = 114, /* input_object_type_definition */
380
- YYSYMBOL_directive_definition = 115, /* directive_definition */
381
- YYSYMBOL_directive_repeatable_opt = 116, /* directive_repeatable_opt */
382
- YYSYMBOL_directive_locations = 117, /* directive_locations */
383
- YYSYMBOL_type_system_extension = 118, /* type_system_extension */
384
- YYSYMBOL_schema_extension = 119, /* schema_extension */
385
- YYSYMBOL_type_extension = 120, /* type_extension */
386
- YYSYMBOL_scalar_type_extension = 121, /* scalar_type_extension */
387
- YYSYMBOL_object_type_extension = 122, /* object_type_extension */
388
- YYSYMBOL_interface_type_extension = 123, /* interface_type_extension */
389
- YYSYMBOL_union_type_extension = 124, /* union_type_extension */
390
- YYSYMBOL_enum_type_extension = 125, /* enum_type_extension */
391
- YYSYMBOL_input_object_type_extension = 126 /* input_object_type_extension */
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 */
392
394
  };
393
395
  typedef enum yysymbol_kind_t yysymbol_kind_t;
394
396
 
@@ -716,16 +718,16 @@ union yyalloc
716
718
  /* YYFINAL -- State number of the termination state. */
717
719
  #define YYFINAL 79
718
720
  /* YYLAST -- Last index in YYTABLE. */
719
- #define YYLAST 808
721
+ #define YYLAST 820
720
722
 
721
723
  /* YYNTOKENS -- Number of terminals. */
722
724
  #define YYNTOKENS 40
723
725
  /* YYNNTS -- Number of nonterminals. */
724
- #define YYNNTS 87
726
+ #define YYNNTS 89
725
727
  /* YYNRULES -- Number of rules. */
726
- #define YYNRULES 182
728
+ #define YYNRULES 185
727
729
  /* YYNSTATES -- Number of states. */
728
- #define YYNSTATES 311
730
+ #define YYNSTATES 314
729
731
 
730
732
  /* YYMAXUTOK -- Last valid token kind. */
731
733
  #define YYMAXUTOK 257
@@ -774,25 +776,25 @@ static const yytype_int8 yytranslate[] =
774
776
  /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
775
777
  static const yytype_int16 yyrline[] =
776
778
  {
777
- 0, 103, 103, 105, 119, 120, 123, 124, 125, 128,
778
- 129, 132, 143, 154, 167, 168, 169, 172, 173, 176,
779
- 177, 180, 181, 184, 196, 197, 200, 201, 204, 205,
780
- 206, 209, 212, 213, 216, 227, 240, 241, 244, 245,
781
- 248, 258, 259, 260, 261, 262, 263, 264, 265, 266,
782
- 269, 270, 271, 273, 281, 290, 291, 294, 295, 298,
783
- 299, 300, 301, 303, 312, 321, 322, 325, 326, 329,
784
- 340, 349, 350, 353, 354, 357, 368, 369, 372, 373,
785
- 375, 385, 386, 389, 390, 391, 392, 393, 394, 395,
786
- 396, 397, 398, 399, 400, 403, 404, 405, 406, 407,
787
- 408, 412, 422, 431, 442, 454, 455, 458, 459, 462,
788
- 469, 478, 479, 480, 483, 496, 497, 500, 504, 509,
789
- 514, 515, 516, 517, 518, 519, 521, 524, 525, 528,
790
- 540, 554, 555, 556, 557, 560, 568, 574, 582, 587,
791
- 601, 602, 605, 606, 609, 623, 624, 627, 628, 629,
792
- 632, 646, 654, 659, 672, 685, 697, 698, 701, 714,
793
- 728, 729, 732, 733, 737, 738, 741, 752, 764, 765,
794
- 766, 767, 768, 769, 771, 781, 793, 805, 814, 825,
795
- 834, 845, 854
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
796
798
  };
797
799
  #endif
798
800
 
@@ -837,20 +839,21 @@ yysymbol_name (yysymbol_kind_t yysymbol)
837
839
  "interfaces_list", "legacy_interfaces_list", "input_value_definition",
838
840
  "input_value_definition_list", "arguments_definitions_opt",
839
841
  "field_definition", "field_definition_list_opt", "field_definition_list",
840
- "interface_type_definition", "union_members", "union_type_definition",
841
- "enum_type_definition", "enum_value_definition",
842
+ "interface_type_definition", "pipe_opt", "union_members",
843
+ "union_type_definition", "enum_type_definition", "enum_value_definition",
842
844
  "enum_value_definitions", "input_object_type_definition",
843
845
  "directive_definition", "directive_repeatable_opt",
844
846
  "directive_locations", "type_system_extension", "schema_extension",
845
847
  "type_extension", "scalar_type_extension", "object_type_extension",
846
848
  "interface_type_extension", "union_type_extension",
847
- "enum_type_extension", "input_object_type_extension", YY_NULLPTR
849
+ "enum_type_extension", "input_object_type_extension",
850
+ "NamedTypeForCondition", YY_NULLPTR
848
851
  };
849
852
  return yy_sname[yysymbol];
850
853
  }
851
854
  #endif
852
855
 
853
- #define YYPACT_NINF (-259)
856
+ #define YYPACT_NINF (-249)
854
857
 
855
858
  #define yypact_value_is_default(Yyn) \
856
859
  ((Yyn) == YYPACT_NINF)
@@ -864,38 +867,38 @@ yysymbol_name (yysymbol_kind_t yysymbol)
864
867
  STATE-NUM. */
865
868
  static const yytype_int16 yypact[] =
866
869
  {
867
- 232, 14, 737, 473, -259, -259, 7, -259, -259, 23,
868
- -259, 202, -259, -259, -259, 704, -259, -259, -259, -259,
869
- -259, 144, -259, -259, -259, -259, -259, -259, -259, -259,
870
- -259, -259, -259, -259, -259, -259, -259, -259, 704, 704,
871
- 704, 704, 7, 704, 704, -259, -259, -259, -259, -259,
872
- -259, -259, -259, -259, -259, -259, -259, -259, -259, -259,
873
- -259, -259, -259, -259, 19, 572, -259, -259, 506, -259,
874
- -259, 12, -259, -259, -259, 704, 41, 7, -259, -259,
875
- -259, 38, -259, 59, 704, 704, 704, 704, 704, 704,
876
- 7, 7, 62, 7, 73, 6, 62, 7, 605, 605,
877
- 75, 7, -259, -259, 704, 704, 7, 58, 70, -259,
878
- -259, 65, 7, 704, 7, 7, 62, 7, 62, 7,
879
- 77, 6, 91, 6, 304, 7, 7, 70, 7, 104,
880
- 122, 605, -259, 7, 114, 7, 638, -259, -259, 58,
881
- 671, -259, 117, 75, -259, 118, 80, -259, 704, -10,
882
- -259, 75, 106, 109, 113, 7, -259, 7, 133, 110,
883
- 110, 704, 260, 151, 704, 126, 183, 126, 704, 128,
884
- 75, -259, 75, 539, 7, -259, -259, 406, -259, -259,
885
- 704, -259, -259, 159, -259, -259, -259, 110, 136, 110,
886
- 110, 126, 126, 704, 770, -259, -18, 704, -259, 24,
887
- -259, 151, 704, -259, 39, -259, -259, -259, -259, 142,
888
- -259, -259, -259, -259, 75, -259, -259, -259, -259, 338,
889
- 704, -259, -259, -259, -259, 704, -259, -259, -259, -259,
890
- -259, -259, -259, -259, -259, -259, -259, -259, 605, 107,
891
- -259, 146, 66, 79, -259, -259, 142, 7, -259, -259,
892
- 167, -259, -259, -259, 704, -259, 82, 704, -259, -259,
893
- -259, 372, 149, 704, -259, 150, 704, -259, 168, -259,
894
- 170, -259, 704, -259, -259, -259, 605, 106, -259, -259,
895
- -259, -259, -259, -259, -259, 178, -259, -259, 179, 406,
896
- 440, 7, -259, 161, 170, 180, 406, 440, -259, -259,
897
- 704, -259, -259, 704, 7, 605, -259, -259, -259, 7,
898
- -259
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
899
902
  };
900
903
 
901
904
  /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
@@ -906,63 +909,63 @@ static const yytype_uint8 yydefact[] =
906
909
  127, 0, 105, 0, 15, 14, 76, 126, 16, 0,
907
910
  2, 127, 4, 6, 9, 17, 10, 7, 111, 112,
908
911
  128, 0, 120, 121, 122, 123, 124, 125, 113, 8,
909
- 164, 165, 168, 169, 170, 171, 172, 173, 0, 0,
912
+ 166, 167, 170, 171, 172, 173, 174, 175, 0, 0,
910
913
  0, 0, 76, 0, 0, 91, 89, 92, 97, 93,
911
914
  95, 90, 86, 87, 98, 94, 84, 83, 96, 85,
912
915
  88, 99, 100, 106, 0, 76, 82, 13, 0, 26,
913
916
  28, 36, 81, 29, 30, 0, 115, 77, 78, 1,
914
917
  5, 19, 18, 0, 0, 0, 0, 0, 0, 0,
915
- 76, 76, 131, 0, 0, 167, 131, 76, 0, 0,
918
+ 76, 76, 131, 0, 0, 169, 131, 76, 0, 0,
916
919
  0, 76, 12, 27, 0, 0, 76, 36, 0, 114,
917
920
  79, 0, 76, 0, 76, 76, 131, 76, 131, 76,
918
- 0, 180, 0, 182, 0, 76, 174, 0, 76, 0,
919
- 178, 0, 109, 76, 107, 76, 0, 103, 101, 36,
920
- 0, 38, 0, 32, 80, 0, 0, 117, 0, 0,
921
- 21, 0, 142, 0, 0, 76, 129, 76, 0, 127,
922
- 127, 0, 135, 133, 134, 145, 0, 145, 0, 0,
923
- 0, 108, 0, 0, 76, 37, 39, 0, 33, 35,
924
- 0, 116, 118, 0, 20, 22, 11, 127, 160, 127,
925
- 127, 145, 145, 0, 0, 156, 127, 0, 140, 127,
926
- 135, 132, 0, 138, 127, 176, 166, 175, 151, 177,
927
- 110, 104, 102, 31, 32, 45, 41, 59, 42, 0,
928
- 65, 53, 60, 43, 44, 0, 61, 50, 40, 46,
929
- 51, 48, 63, 47, 52, 49, 62, 119, 0, 127,
930
- 161, 0, 127, 127, 150, 130, 153, 76, 179, 157,
931
- 0, 181, 141, 136, 0, 148, 127, 0, 34, 55,
932
- 57, 0, 0, 66, 67, 0, 72, 73, 0, 54,
933
- 24, 143, 0, 154, 158, 155, 0, 142, 146, 149,
934
- 152, 56, 58, 64, 68, 0, 70, 74, 0, 0,
935
- 0, 76, 162, 159, 24, 0, 0, 0, 50, 69,
936
- 71, 25, 23, 0, 76, 0, 75, 163, 139, 76,
937
- 144
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
938
941
  };
939
942
 
940
943
  /* YYPGOTO[NTERM-NUM]. */
941
944
  static const yytype_int16 yypgoto[] =
942
945
  {
943
- -259, -259, -259, -259, 177, -259, -259, 9, -259, -259,
944
- -259, 43, -101, 60, -67, -95, -17, -259, -97, -259,
945
- 61, -258, -174, -259, -259, -259, -259, 4, -259, -259,
946
- -259, -259, -63, -259, -259, -259, -61, 34, -36, -52,
947
- -3, -170, 2, -259, -259, -259, -259, -81, -259, -259,
948
- -259, -259, 87, -138, -259, -259, 15, -259, -259, -26,
949
- 46, -259, -180, -48, -68, -41, -103, -259, -259, 27,
950
- -259, -259, -194, 32, -259, -259, -259, -259, -259, -259,
951
- -259, -259, -259, -259, -259, -259, -259
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
952
955
  };
953
956
 
954
957
  /* YYDEFGOTO[NTERM-NUM]. */
955
958
  static const yytype_int16 yydefgoto[] =
956
959
  {
957
960
  0, 9, 10, 11, 12, 13, 14, 61, 81, 112,
958
- 149, 150, 291, 68, 69, 178, 179, 70, 106, 140,
959
- 141, 227, 299, 229, 230, 231, 261, 232, 233, 234,
960
- 262, 263, 264, 235, 265, 266, 267, 76, 77, 78,
961
- 132, 62, 72, 73, 74, 16, 64, 133, 134, 17,
962
- 18, 109, 146, 147, 19, 20, 197, 22, 23, 125,
963
- 163, 164, 198, 199, 188, 255, 205, 256, 24, 209,
964
- 25, 26, 195, 196, 27, 28, 241, 293, 29, 30,
965
- 31, 32, 33, 34, 35, 36, 37
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
966
969
  };
967
970
 
968
971
  /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
@@ -970,182 +973,186 @@ static const yytype_int16 yydefgoto[] =
970
973
  number is the opposite. If YYTABLE_NINF, syntax error. */
971
974
  static const yytype_int16 yytable[] =
972
975
  {
973
- 71, 103, 249, 228, 63, 137, 95, 236, 182, 15,
974
- 144, 248, 82, 75, 75, 21, 7, 104, 135, 252,
975
- 15, 184, 38, 79, 236, 110, 21, -77, 182, 148,
976
- 39, 298, 301, 40, 105, 90, 91, 92, 93, 306,
977
- 96, 97, 174, 110, 98, 260, 41, 42, 249, 236,
978
- 169, 43, 44, 251, 121, 123, 186, 126, 7, 252,
979
- 111, 130, 108, 252, 207, 71, 113, 101, -147, 110,
980
- 128, 110, 107, 7, 110, 211, 94, 212, 110, 124,
981
- 105, 114, 115, 116, 117, 118, 119, 282, 244, 245,
982
- 155, 236, 157, 4, 127, 273, 136, 5, 159, 100,
983
- 7, 139, 142, 4, 148, 8, 103, 5, 274, 181,
984
- 152, 278, 160, 7, 168, 8, 7, 145, 171, 236,
985
- 236, 162, 177, 180, 120, 122, 236, 236, 187, 75,
986
- 189, 129, -77, 71, 190, 138, 145, 142, 271, 239,
987
- 143, 7, 243, 193, 7, 183, 151, 204, 153, 154,
988
- 83, 156, 84, 158, 202, 145, 210, 270, 200, 165,
989
- 85, 203, 167, 86, 238, 208, 240, 170, 257, 172,
990
- 71, 272, 276, 289, 194, 145, 87, 237, 283, 286,
991
- 290, 88, 89, 296, 297, 305, 226, 303, 80, 191,
992
- 208, 192, 185, 304, 250, 294, 173, 258, 247, 253,
993
- 284, 176, -3, 226, 194, 287, 4, 201, 214, 295,
994
- 5, 194, 206, 1, 166, 279, 2, 268, 8, 254,
995
- 246, 242, 269, 3, 309, 4, 0, 0, 226, 5,
996
- 0, 0, 0, 0, 0, 6, 7, 8, 0, 0,
997
- 0, 0, 0, 1, 0, 0, 2, 0, 0, 0,
998
- 0, 277, 0, 3, 280, 4, 0, 194, 0, 5,
999
- 285, 0, 0, 288, 0, 6, 7, 8, 0, 292,
1000
- 226, 254, -137, 0, 0, -137, 0, -137, 0, 0,
1001
- 0, 275, 0, 0, -137, -137, 0, 0, 0, 0,
1002
- -137, 0, 0, 0, 0, 0, -137, 288, 226, 226,
1003
- 307, 0, 0, 0, 0, 226, 226, 161, 0, 0,
1004
- 45, 0, 46, 0, 0, 47, 48, 0, 49, 50,
1005
- 51, 52, 0, 53, 0, 302, 0, 4, 54, 66,
1006
- 0, 5, 0, 0, 55, 0, 56, 57, 308, 8,
1007
- 58, 59, 60, 310, 45, 0, 46, 0, 0, 47,
1008
- 215, 216, 49, 217, 51, 52, 218, 53, 219, 220,
1009
- 0, 4, 221, 222, 0, 5, 259, 0, 55, 0,
1010
- 56, 57, 223, 8, 224, 59, 60, 225, 45, 0,
1011
- 46, 0, 0, 47, 215, 216, 49, 217, 51, 52,
1012
- 218, 53, 219, 220, 0, 4, 221, 222, 0, 5,
1013
- 281, 0, 55, 0, 56, 57, 223, 8, 224, 59,
1014
- 60, 225, 45, 0, 46, 0, 0, 47, 215, 216,
1015
- 49, 217, 51, 52, 218, 53, 219, 220, 0, 4,
1016
- 221, 222, 0, 5, 0, 0, 55, 0, 56, 57,
1017
- 223, 8, 224, 59, 60, 225, 45, 0, 46, 0,
1018
- 0, 47, 215, 216, 49, 217, 51, 52, 218, 53,
1019
- 219, 300, 0, 4, 221, 222, 0, 5, 0, 0,
1020
- 55, 0, 56, 57, 223, 8, 224, 59, 60, 45,
1021
- 0, 46, 65, 0, 47, 48, 0, 49, 50, 51,
1022
- 52, 0, 53, 0, 0, 0, 4, 54, 66, 0,
1023
- 5, 0, 67, 55, 0, 56, 57, 0, 8, 58,
1024
- 59, 60, 45, 0, 46, 65, 0, 47, 48, 0,
1025
- 49, 50, 51, 52, 0, 53, 0, 0, 0, 4,
1026
- 54, 66, 0, 5, 0, 102, 55, 0, 56, 57,
1027
- 0, 8, 58, 59, 60, 45, 0, 46, 65, 0,
1028
- 47, 48, 0, 49, 50, 51, 52, 0, 53, 0,
1029
- 0, 0, 4, 54, 66, 0, 5, 0, 213, 55,
1030
- 0, 56, 57, 0, 8, 58, 59, 60, 45, 75,
1031
- 46, 0, 0, 47, 48, 0, 49, 50, 51, 52,
1032
- 0, 53, 0, 0, 0, 4, 54, 99, 0, 5,
1033
- 0, 0, 55, 0, 56, 57, 0, 8, 58, 59,
1034
- 60, 45, 0, 46, 0, 0, 47, 48, 0, 49,
1035
- 50, 51, 52, 0, 53, 131, 0, 0, 4, 54,
1036
- 66, 0, 5, 0, 0, 55, 0, 56, 57, 0,
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,
1022
+ 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,
1037
1028
  8, 58, 59, 60, 45, 0, 46, 65, 0, 47,
1038
1029
  48, 0, 49, 50, 51, 52, 0, 53, 0, 0,
1039
- 0, 4, 54, 66, 0, 5, 0, 0, 55, 0,
1030
+ 0, 4, 54, 66, 0, 5, 0, 102, 55, 0,
1040
1031
  56, 57, 0, 8, 58, 59, 60, 45, 0, 46,
1041
- 0, 0, 47, 48, 0, 49, 50, 51, 52, 0,
1032
+ 65, 0, 47, 48, 0, 49, 50, 51, 52, 0,
1042
1033
  53, 0, 0, 0, 4, 54, 66, 0, 5, 0,
1043
- 0, 55, 175, 56, 57, 0, 8, 58, 59, 60,
1044
- 45, 0, 46, 0, 0, 47, 48, 0, 49, 50,
1045
- 51, 52, 0, 53, 0, 0, 0, 4, 54, 66,
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,
1046
1037
  0, 5, 0, 0, 55, 0, 56, 57, 0, 8,
1047
- 58, 59, 60, 45, 0, 46, 0, 0, 47, 48,
1038
+ 58, 59, 60, 45, 0, 46, 65, 0, 47, 48,
1048
1039
  0, 49, 50, 51, 52, 0, 53, 0, 0, 0,
1049
- 4, 54, 0, 0, 5, 0, 0, 55, 0, 56,
1040
+ 4, 54, 66, 0, 5, 0, 0, 55, 0, 56,
1050
1041
  57, 0, 8, 58, 59, 60, 45, 0, 46, 0,
1051
- 0, 47, 0, 0, 49, 217, 51, 52, 0, 53,
1052
- 0, 0, 0, 4, 0, 222, 0, 5, 0, 0,
1053
- 55, 0, 56, 57, 0, 8, 0, 59, 60
1042
+ 0, 47, 48, 0, 49, 50, 51, 52, 0, 53,
1043
+ 0, 0, 0, 4, 54, 66, 0, 5, 0, 0,
1044
+ 55, 171, 56, 57, 0, 8, 58, 59, 60, 45,
1045
+ 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,
1048
+ 59, 60, 45, 0, 46, 0, 0, 47, 48, 0,
1049
+ 49, 50, 51, 52, 0, 53, 0, 0, 0, 4,
1050
+ 54, 66, 0, 5, 0, 0, 55, 0, 56, 57,
1051
+ 0, 8, 58, 59, 60, 45, 0, 46, 0, 0,
1052
+ 47, 48, 0, 49, 50, 51, 52, 0, 53, 0,
1053
+ 0, 0, 4, 54, 0, 0, 5, 0, 0, 55,
1054
+ 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,
1058
+ 60
1054
1059
  };
1055
1060
 
1056
1061
  static const yytype_int16 yycheck[] =
1057
1062
  {
1058
- 3, 68, 196, 177, 2, 100, 42, 177, 146, 0,
1059
- 107, 29, 15, 7, 7, 0, 34, 5, 99, 199,
1060
- 11, 31, 8, 0, 194, 77, 11, 21, 166, 39,
1061
- 16, 289, 290, 19, 22, 38, 39, 40, 41, 297,
1062
- 43, 44, 139, 95, 25, 219, 32, 33, 242, 219,
1063
- 131, 37, 38, 29, 90, 91, 151, 93, 34, 239,
1064
- 22, 97, 21, 243, 167, 68, 7, 65, 29, 121,
1065
- 96, 123, 75, 34, 126, 170, 42, 172, 130, 17,
1066
- 22, 84, 85, 86, 87, 88, 89, 261, 191, 192,
1067
- 116, 261, 118, 23, 21, 29, 21, 27, 21, 65,
1068
- 34, 104, 105, 23, 39, 35, 173, 27, 29, 29,
1069
- 113, 29, 21, 34, 10, 35, 34, 108, 4, 289,
1070
- 290, 124, 5, 5, 90, 91, 296, 297, 22, 7,
1071
- 21, 97, 10, 136, 21, 101, 127, 140, 31, 187,
1072
- 106, 34, 190, 10, 34, 148, 112, 21, 114, 115,
1073
- 6, 117, 8, 119, 3, 146, 28, 238, 161, 125,
1074
- 16, 164, 128, 19, 5, 168, 30, 133, 26, 135,
1075
- 173, 25, 5, 5, 159, 166, 32, 180, 29, 29,
1076
- 10, 37, 38, 5, 5, 5, 177, 26, 11, 155,
1077
- 193, 157, 149, 294, 197, 276, 136, 214, 194, 202,
1078
- 263, 140, 0, 194, 189, 266, 23, 161, 174, 277,
1079
- 27, 196, 29, 11, 127, 256, 14, 220, 35, 204,
1080
- 193, 189, 225, 21, 305, 23, -1, -1, 219, 27,
1081
- -1, -1, -1, -1, -1, 33, 34, 35, -1, -1,
1082
- -1, -1, -1, 11, -1, -1, 14, -1, -1, -1,
1083
- -1, 254, -1, 21, 257, 23, -1, 242, -1, 27,
1084
- 263, -1, -1, 266, -1, 33, 34, 35, -1, 272,
1085
- 261, 256, 12, -1, -1, 15, -1, 17, -1, -1,
1086
- -1, 247, -1, -1, 24, 25, -1, -1, -1, -1,
1087
- 30, -1, -1, -1, -1, -1, 36, 300, 289, 290,
1088
- 303, -1, -1, -1, -1, 296, 297, 3, -1, -1,
1089
- 6, -1, 8, -1, -1, 11, 12, -1, 14, 15,
1090
- 16, 17, -1, 19, -1, 291, -1, 23, 24, 25,
1091
- -1, 27, -1, -1, 30, -1, 32, 33, 304, 35,
1092
- 36, 37, 38, 309, 6, -1, 8, -1, -1, 11,
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,
1093
1106
  12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
1094
- -1, 23, 24, 25, -1, 27, 28, -1, 30, -1,
1107
+ -1, 23, 24, 25, -1, 27, -1, -1, 30, -1,
1095
1108
  32, 33, 34, 35, 36, 37, 38, 39, 6, -1,
1096
1109
  8, -1, -1, 11, 12, 13, 14, 15, 16, 17,
1097
1110
  18, 19, 20, 21, -1, 23, 24, 25, -1, 27,
1098
- 28, -1, 30, -1, 32, 33, 34, 35, 36, 37,
1099
- 38, 39, 6, -1, 8, -1, -1, 11, 12, 13,
1100
- 14, 15, 16, 17, 18, 19, 20, 21, -1, 23,
1101
- 24, 25, -1, 27, -1, -1, 30, -1, 32, 33,
1102
- 34, 35, 36, 37, 38, 39, 6, -1, 8, -1,
1103
- -1, 11, 12, 13, 14, 15, 16, 17, 18, 19,
1104
- 20, 21, -1, 23, 24, 25, -1, 27, -1, -1,
1105
- 30, -1, 32, 33, 34, 35, 36, 37, 38, 6,
1106
- -1, 8, 9, -1, 11, 12, -1, 14, 15, 16,
1107
- 17, -1, 19, -1, -1, -1, 23, 24, 25, -1,
1108
- 27, -1, 29, 30, -1, 32, 33, -1, 35, 36,
1109
- 37, 38, 6, -1, 8, 9, -1, 11, 12, -1,
1110
- 14, 15, 16, 17, -1, 19, -1, -1, -1, 23,
1111
- 24, 25, -1, 27, -1, 29, 30, -1, 32, 33,
1112
- -1, 35, 36, 37, 38, 6, -1, 8, 9, -1,
1113
- 11, 12, -1, 14, 15, 16, 17, -1, 19, -1,
1114
- -1, -1, 23, 24, 25, -1, 27, -1, 29, 30,
1115
- -1, 32, 33, -1, 35, 36, 37, 38, 6, 7,
1116
- 8, -1, -1, 11, 12, -1, 14, 15, 16, 17,
1117
- -1, 19, -1, -1, -1, 23, 24, 25, -1, 27,
1118
- -1, -1, 30, -1, 32, 33, -1, 35, 36, 37,
1119
- 38, 6, -1, 8, -1, -1, 11, 12, -1, 14,
1120
- 15, 16, 17, -1, 19, 20, -1, -1, 23, 24,
1121
- 25, -1, 27, -1, -1, 30, -1, 32, 33, -1,
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
1115
  35, 36, 37, 38, 6, -1, 8, 9, -1, 11,
1123
1116
  12, -1, 14, 15, 16, 17, -1, 19, -1, -1,
1124
- -1, 23, 24, 25, -1, 27, -1, -1, 30, -1,
1117
+ -1, 23, 24, 25, -1, 27, -1, 29, 30, -1,
1125
1118
  32, 33, -1, 35, 36, 37, 38, 6, -1, 8,
1126
- -1, -1, 11, 12, -1, 14, 15, 16, 17, -1,
1119
+ 9, -1, 11, 12, -1, 14, 15, 16, 17, -1,
1127
1120
  19, -1, -1, -1, 23, 24, 25, -1, 27, -1,
1128
- -1, 30, 31, 32, 33, -1, 35, 36, 37, 38,
1129
- 6, -1, 8, -1, -1, 11, 12, -1, 14, 15,
1121
+ 29, 30, -1, 32, 33, -1, 35, 36, 37, 38,
1122
+ 6, 7, 8, -1, -1, 11, 12, -1, 14, 15,
1130
1123
  16, 17, -1, 19, -1, -1, -1, 23, 24, 25,
1131
1124
  -1, 27, -1, -1, 30, -1, 32, 33, -1, 35,
1132
- 36, 37, 38, 6, -1, 8, -1, -1, 11, 12,
1125
+ 36, 37, 38, 6, -1, 8, 9, -1, 11, 12,
1133
1126
  -1, 14, 15, 16, 17, -1, 19, -1, -1, -1,
1134
- 23, 24, -1, -1, 27, -1, -1, 30, -1, 32,
1127
+ 23, 24, 25, -1, 27, -1, -1, 30, -1, 32,
1135
1128
  33, -1, 35, 36, 37, 38, 6, -1, 8, -1,
1136
- -1, 11, -1, -1, 14, 15, 16, 17, -1, 19,
1137
- -1, -1, -1, 23, -1, 25, -1, 27, -1, -1,
1138
- 30, -1, 32, 33, -1, 35, -1, 37, 38
1129
+ -1, 11, 12, -1, 14, 15, 16, 17, -1, 19,
1130
+ -1, -1, -1, 23, 24, 25, -1, 27, -1, -1,
1131
+ 30, 31, 32, 33, -1, 35, 36, 37, 38, 6,
1132
+ -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,
1135
+ 37, 38, 6, -1, 8, -1, -1, 11, 12, -1,
1136
+ 14, 15, 16, 17, -1, 19, -1, -1, -1, 23,
1137
+ 24, 25, -1, 27, -1, -1, 30, -1, 32, 33,
1138
+ -1, 35, 36, 37, 38, 6, -1, 8, -1, -1,
1139
+ 11, 12, -1, 14, 15, 16, 17, -1, 19, -1,
1140
+ -1, -1, 23, 24, -1, -1, 27, -1, -1, 30,
1141
+ -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,
1145
+ 38
1139
1146
  };
1140
1147
 
1141
1148
  /* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
1142
1149
  state STATE-NUM. */
1143
- static const yytype_int8 yystos[] =
1150
+ static const yytype_uint8 yystos[] =
1144
1151
  {
1145
1152
  0, 11, 14, 21, 23, 27, 33, 34, 35, 41,
1146
1153
  42, 43, 44, 45, 46, 47, 85, 89, 90, 94,
1147
- 95, 96, 97, 98, 108, 110, 111, 114, 115, 118,
1148
- 119, 120, 121, 122, 123, 124, 125, 126, 8, 16,
1154
+ 95, 96, 97, 98, 108, 111, 112, 115, 116, 119,
1155
+ 120, 121, 122, 123, 124, 125, 126, 127, 8, 16,
1149
1156
  19, 32, 33, 37, 38, 6, 8, 11, 12, 14,
1150
1157
  15, 16, 17, 19, 24, 30, 32, 33, 36, 37,
1151
1158
  38, 47, 81, 82, 86, 9, 25, 29, 53, 54,
@@ -1155,29 +1162,29 @@ static const yytype_int8 yystos[] =
1155
1162
  77, 82, 29, 54, 5, 22, 58, 80, 21, 91,
1156
1163
  79, 22, 49, 7, 80, 80, 80, 80, 80, 80,
1157
1164
  77, 78, 77, 78, 17, 99, 78, 21, 99, 77,
1158
- 78, 20, 80, 87, 88, 87, 21, 55, 77, 80,
1159
- 59, 60, 80, 77, 58, 47, 92, 93, 39, 50,
1160
- 51, 77, 80, 77, 77, 99, 77, 99, 77, 21,
1161
- 21, 3, 80, 100, 101, 77, 92, 77, 10, 87,
1162
- 77, 4, 77, 53, 58, 31, 60, 5, 55, 56,
1163
- 5, 29, 93, 80, 31, 51, 55, 22, 104, 21,
1164
- 21, 77, 77, 10, 96, 112, 113, 96, 102, 103,
1165
- 80, 100, 3, 80, 21, 106, 29, 106, 80, 109,
1166
- 28, 55, 55, 29, 77, 12, 13, 15, 18, 20,
1167
- 21, 24, 25, 34, 36, 39, 47, 61, 62, 63,
1168
- 64, 65, 67, 68, 69, 73, 81, 80, 5, 103,
1169
- 30, 116, 113, 103, 106, 106, 109, 67, 29, 112,
1170
- 80, 29, 102, 80, 96, 105, 107, 26, 56, 28,
1171
- 62, 66, 70, 71, 72, 74, 75, 76, 80, 80,
1172
- 87, 31, 25, 29, 29, 77, 5, 80, 29, 105,
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,
1173
1180
  80, 28, 62, 29, 72, 80, 29, 76, 80, 5,
1174
- 10, 52, 80, 117, 87, 104, 5, 5, 61, 62,
1175
- 21, 61, 77, 26, 52, 5, 61, 80, 77, 87,
1176
- 77
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
1177
1184
  };
1178
1185
 
1179
1186
  /* YYR1[RULE-NUM] -- Symbol kind of the left-hand side of rule RULE-NUM. */
1180
- static const yytype_int8 yyr1[] =
1187
+ static const yytype_uint8 yyr1[] =
1181
1188
  {
1182
1189
  0, 40, 41, 42, 43, 43, 44, 44, 44, 45,
1183
1190
  45, 46, 46, 46, 47, 47, 47, 48, 48, 49,
@@ -1194,10 +1201,10 @@ static const yytype_int8 yyr1[] =
1194
1201
  94, 94, 94, 94, 94, 94, 95, 96, 96, 97,
1195
1202
  98, 99, 99, 99, 99, 100, 100, 101, 101, 102,
1196
1203
  103, 103, 104, 104, 105, 106, 106, 107, 107, 107,
1197
- 108, 109, 109, 110, 111, 112, 113, 113, 114, 115,
1198
- 116, 116, 117, 117, 118, 118, 119, 119, 120, 120,
1199
- 120, 120, 120, 120, 121, 122, 123, 124, 124, 125,
1200
- 125, 126, 126
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
1201
1208
  };
1202
1209
 
1203
1210
  /* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */
@@ -1218,10 +1225,10 @@ static const yytype_int8 yyr2[] =
1218
1225
  1, 1, 1, 1, 1, 1, 1, 0, 1, 4,
1219
1226
  6, 0, 3, 2, 2, 1, 3, 1, 2, 6,
1220
1227
  1, 2, 0, 3, 6, 0, 3, 0, 1, 2,
1221
- 6, 1, 3, 6, 7, 3, 1, 2, 7, 8,
1222
- 0, 1, 1, 3, 1, 1, 6, 3, 1, 1,
1223
- 1, 1, 1, 1, 4, 6, 6, 6, 4, 7,
1224
- 4, 7, 4
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
1225
1232
  };
1226
1233
 
1227
1234
 
@@ -1916,13 +1923,13 @@ yyreduce:
1916
1923
  switch (yyn)
1917
1924
  {
1918
1925
  case 2: /* start: document */
1919
- #line 103 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1926
+ #line 105 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1920
1927
  { rb_ivar_set(parser, rb_intern("@result"), yyvsp[0]); }
1921
- #line 1922 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1928
+ #line 1929 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1922
1929
  break;
1923
1930
 
1924
1931
  case 3: /* document: definitions_list */
1925
- #line 105 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1932
+ #line 107 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1926
1933
  {
1927
1934
  VALUE position_source = rb_ary_entry(yyvsp[0], 0);
1928
1935
  VALUE line, col;
@@ -1935,23 +1942,23 @@ yyreduce:
1935
1942
  }
1936
1943
  yyval = MAKE_AST_NODE(Document, 3, line, col, yyvsp[0]);
1937
1944
  }
1938
- #line 1939 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1945
+ #line 1946 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1939
1946
  break;
1940
1947
 
1941
1948
  case 4: /* definitions_list: definition */
1942
- #line 119 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1949
+ #line 121 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1943
1950
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
1944
- #line 1945 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1951
+ #line 1952 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1945
1952
  break;
1946
1953
 
1947
1954
  case 5: /* definitions_list: definitions_list definition */
1948
- #line 120 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1955
+ #line 122 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1949
1956
  { rb_ary_push(yyval, yyvsp[0]); }
1950
- #line 1951 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1957
+ #line 1958 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1951
1958
  break;
1952
1959
 
1953
1960
  case 11: /* operation_definition: operation_type operation_name_opt variable_definitions_opt directives_list_opt selection_set */
1954
- #line 132 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1961
+ #line 134 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1955
1962
  {
1956
1963
  yyval = MAKE_AST_NODE(OperationDefinition, 7,
1957
1964
  rb_ary_entry(yyvsp[-4], 1),
@@ -1963,11 +1970,11 @@ yyreduce:
1963
1970
  yyvsp[0]
1964
1971
  );
1965
1972
  }
1966
- #line 1967 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1973
+ #line 1974 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1967
1974
  break;
1968
1975
 
1969
1976
  case 12: /* operation_definition: LCURLY selection_list RCURLY */
1970
- #line 143 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1977
+ #line 145 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1971
1978
  {
1972
1979
  yyval = MAKE_AST_NODE(OperationDefinition, 7,
1973
1980
  rb_ary_entry(yyvsp[-2], 1),
@@ -1979,11 +1986,11 @@ yyreduce:
1979
1986
  yyvsp[-1]
1980
1987
  );
1981
1988
  }
1982
- #line 1983 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1989
+ #line 1990 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1983
1990
  break;
1984
1991
 
1985
1992
  case 13: /* operation_definition: LCURLY RCURLY */
1986
- #line 154 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1993
+ #line 156 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
1987
1994
  {
1988
1995
  yyval = MAKE_AST_NODE(OperationDefinition, 7,
1989
1996
  rb_ary_entry(yyvsp[-1], 1),
@@ -1995,41 +2002,41 @@ yyreduce:
1995
2002
  GraphQL_Language_Nodes_NONE
1996
2003
  );
1997
2004
  }
1998
- #line 1999 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2005
+ #line 2006 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
1999
2006
  break;
2000
2007
 
2001
2008
  case 17: /* operation_name_opt: %empty */
2002
- #line 172 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2009
+ #line 174 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2003
2010
  { yyval = Qnil; }
2004
- #line 2005 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2011
+ #line 2012 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2005
2012
  break;
2006
2013
 
2007
2014
  case 19: /* variable_definitions_opt: %empty */
2008
- #line 176 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2015
+ #line 178 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2009
2016
  { yyval = GraphQL_Language_Nodes_NONE; }
2010
- #line 2011 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2017
+ #line 2018 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2011
2018
  break;
2012
2019
 
2013
2020
  case 20: /* variable_definitions_opt: LPAREN variable_definitions_list RPAREN */
2014
- #line 177 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2021
+ #line 179 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2015
2022
  { yyval = yyvsp[-1]; }
2016
- #line 2017 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2023
+ #line 2024 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2017
2024
  break;
2018
2025
 
2019
2026
  case 21: /* variable_definitions_list: variable_definition */
2020
- #line 180 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2027
+ #line 182 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2021
2028
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2022
- #line 2023 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2029
+ #line 2030 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2023
2030
  break;
2024
2031
 
2025
2032
  case 22: /* variable_definitions_list: variable_definitions_list variable_definition */
2026
- #line 181 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2033
+ #line 183 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2027
2034
  { rb_ary_push(yyval, yyvsp[0]); }
2028
- #line 2029 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2035
+ #line 2036 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2029
2036
  break;
2030
2037
 
2031
2038
  case 23: /* variable_definition: VAR_SIGN name COLON type default_value_opt directives_list_opt */
2032
- #line 184 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2039
+ #line 186 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2033
2040
  {
2034
2041
  yyval = MAKE_AST_NODE(VariableDefinition, 6,
2035
2042
  rb_ary_entry(yyvsp[-5], 1),
@@ -2040,47 +2047,47 @@ yyreduce:
2040
2047
  yyvsp[0]
2041
2048
  );
2042
2049
  }
2043
- #line 2044 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2050
+ #line 2051 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2044
2051
  break;
2045
2052
 
2046
2053
  case 24: /* default_value_opt: %empty */
2047
- #line 196 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2054
+ #line 198 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2048
2055
  { yyval = Qnil; }
2049
- #line 2050 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2056
+ #line 2057 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2050
2057
  break;
2051
2058
 
2052
2059
  case 25: /* default_value_opt: EQUALS literal_value */
2053
- #line 197 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2060
+ #line 199 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2054
2061
  { yyval = yyvsp[0]; }
2055
- #line 2056 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2062
+ #line 2063 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2056
2063
  break;
2057
2064
 
2058
2065
  case 26: /* selection_list: selection */
2059
- #line 200 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2066
+ #line 202 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2060
2067
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2061
- #line 2062 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2068
+ #line 2069 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2062
2069
  break;
2063
2070
 
2064
2071
  case 27: /* selection_list: selection_list selection */
2065
- #line 201 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2072
+ #line 203 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2066
2073
  { rb_ary_push(yyval, yyvsp[0]); }
2067
- #line 2068 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2074
+ #line 2075 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2068
2075
  break;
2069
2076
 
2070
2077
  case 31: /* selection_set: LCURLY selection_list RCURLY */
2071
- #line 209 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2078
+ #line 211 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2072
2079
  { yyval = yyvsp[-1]; }
2073
- #line 2074 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2080
+ #line 2081 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2074
2081
  break;
2075
2082
 
2076
2083
  case 32: /* selection_set_opt: %empty */
2077
- #line 212 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2084
+ #line 214 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2078
2085
  { yyval = rb_ary_new(); }
2079
- #line 2080 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2086
+ #line 2087 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2080
2087
  break;
2081
2088
 
2082
2089
  case 34: /* field: name COLON name arguments_opt directives_list_opt selection_set_opt */
2083
- #line 216 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2090
+ #line 218 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2084
2091
  {
2085
2092
  yyval = MAKE_AST_NODE(Field, 7,
2086
2093
  rb_ary_entry(yyvsp[-5], 1),
@@ -2092,11 +2099,11 @@ yyreduce:
2092
2099
  yyvsp[0] // subselections
2093
2100
  );
2094
2101
  }
2095
- #line 2096 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2102
+ #line 2103 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2096
2103
  break;
2097
2104
 
2098
2105
  case 35: /* field: name arguments_opt directives_list_opt selection_set_opt */
2099
- #line 227 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2106
+ #line 229 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2100
2107
  {
2101
2108
  yyval = MAKE_AST_NODE(Field, 7,
2102
2109
  rb_ary_entry(yyvsp[-3], 1),
@@ -2108,35 +2115,35 @@ yyreduce:
2108
2115
  yyvsp[0] // subselections
2109
2116
  );
2110
2117
  }
2111
- #line 2112 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2118
+ #line 2119 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2112
2119
  break;
2113
2120
 
2114
2121
  case 36: /* arguments_opt: %empty */
2115
- #line 240 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2122
+ #line 242 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2116
2123
  { yyval = GraphQL_Language_Nodes_NONE; }
2117
- #line 2118 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2124
+ #line 2125 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2118
2125
  break;
2119
2126
 
2120
2127
  case 37: /* arguments_opt: LPAREN arguments_list RPAREN */
2121
- #line 241 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2128
+ #line 243 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2122
2129
  { yyval = yyvsp[-1]; }
2123
- #line 2124 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2130
+ #line 2131 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2124
2131
  break;
2125
2132
 
2126
2133
  case 38: /* arguments_list: argument */
2127
- #line 244 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2134
+ #line 246 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2128
2135
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2129
- #line 2130 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2136
+ #line 2137 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2130
2137
  break;
2131
2138
 
2132
2139
  case 39: /* arguments_list: arguments_list argument */
2133
- #line 245 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2140
+ #line 247 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2134
2141
  { rb_ary_push(yyval, yyvsp[0]); }
2135
- #line 2136 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2142
+ #line 2143 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2136
2143
  break;
2137
2144
 
2138
2145
  case 40: /* argument: name COLON input_value */
2139
- #line 248 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2146
+ #line 250 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2140
2147
  {
2141
2148
  yyval = MAKE_AST_NODE(Argument, 4,
2142
2149
  rb_ary_entry(yyvsp[-2], 1),
@@ -2145,41 +2152,41 @@ yyreduce:
2145
2152
  yyvsp[0]
2146
2153
  );
2147
2154
  }
2148
- #line 2149 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2155
+ #line 2156 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2149
2156
  break;
2150
2157
 
2151
2158
  case 41: /* literal_value: FLOAT */
2152
- #line 258 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2159
+ #line 260 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2153
2160
  { yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_f"), 0); }
2154
- #line 2155 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2161
+ #line 2162 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2155
2162
  break;
2156
2163
 
2157
2164
  case 42: /* literal_value: INT */
2158
- #line 259 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2165
+ #line 261 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2159
2166
  { yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_i"), 0); }
2160
- #line 2161 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2167
+ #line 2168 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2161
2168
  break;
2162
2169
 
2163
2170
  case 43: /* literal_value: STRING */
2164
- #line 260 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2171
+ #line 262 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2165
2172
  { yyval = rb_ary_entry(yyvsp[0], 3); }
2166
- #line 2167 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2173
+ #line 2174 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2167
2174
  break;
2168
2175
 
2169
2176
  case 44: /* literal_value: TRUE_LITERAL */
2170
- #line 261 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2177
+ #line 263 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2171
2178
  { yyval = Qtrue; }
2172
- #line 2173 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2179
+ #line 2180 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2173
2180
  break;
2174
2181
 
2175
2182
  case 45: /* literal_value: FALSE_LITERAL */
2176
- #line 262 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2183
+ #line 264 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2177
2184
  { yyval = Qfalse; }
2178
- #line 2179 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2185
+ #line 2186 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2179
2186
  break;
2180
2187
 
2181
2188
  case 53: /* null_value: NULL_LITERAL */
2182
- #line 273 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2189
+ #line 275 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2183
2190
  {
2184
2191
  yyval = MAKE_AST_NODE(NullValue, 3,
2185
2192
  rb_ary_entry(yyvsp[0], 1),
@@ -2187,11 +2194,11 @@ yyreduce:
2187
2194
  rb_ary_entry(yyvsp[0], 3)
2188
2195
  );
2189
2196
  }
2190
- #line 2191 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2197
+ #line 2198 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2191
2198
  break;
2192
2199
 
2193
2200
  case 54: /* variable: VAR_SIGN name */
2194
- #line 281 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2201
+ #line 283 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2195
2202
  {
2196
2203
  yyval = MAKE_AST_NODE(VariableIdentifier, 3,
2197
2204
  rb_ary_entry(yyvsp[-1], 1),
@@ -2199,35 +2206,35 @@ yyreduce:
2199
2206
  rb_ary_entry(yyvsp[0], 3)
2200
2207
  );
2201
2208
  }
2202
- #line 2203 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2209
+ #line 2210 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2203
2210
  break;
2204
2211
 
2205
2212
  case 55: /* list_value: LBRACKET RBRACKET */
2206
- #line 290 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2213
+ #line 292 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2207
2214
  { yyval = GraphQL_Language_Nodes_NONE; }
2208
- #line 2209 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2215
+ #line 2216 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2209
2216
  break;
2210
2217
 
2211
2218
  case 56: /* list_value: LBRACKET list_value_list RBRACKET */
2212
- #line 291 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2219
+ #line 293 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2213
2220
  { yyval = yyvsp[-1]; }
2214
- #line 2215 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2221
+ #line 2222 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2215
2222
  break;
2216
2223
 
2217
2224
  case 57: /* list_value_list: input_value */
2218
- #line 294 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2225
+ #line 296 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2219
2226
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2220
- #line 2221 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2227
+ #line 2228 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2221
2228
  break;
2222
2229
 
2223
2230
  case 58: /* list_value_list: list_value_list input_value */
2224
- #line 295 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2231
+ #line 297 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2225
2232
  { rb_ary_push(yyval, yyvsp[0]); }
2226
- #line 2227 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2233
+ #line 2234 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2227
2234
  break;
2228
2235
 
2229
2236
  case 63: /* enum_value: enum_name */
2230
- #line 303 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2237
+ #line 305 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2231
2238
  {
2232
2239
  yyval = MAKE_AST_NODE(Enum, 3,
2233
2240
  rb_ary_entry(yyvsp[0], 1),
@@ -2235,11 +2242,11 @@ yyreduce:
2235
2242
  rb_ary_entry(yyvsp[0], 3)
2236
2243
  );
2237
2244
  }
2238
- #line 2239 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2245
+ #line 2246 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2239
2246
  break;
2240
2247
 
2241
2248
  case 64: /* object_value: LCURLY object_value_list_opt RCURLY */
2242
- #line 312 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2249
+ #line 314 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2243
2250
  {
2244
2251
  yyval = MAKE_AST_NODE(InputObject, 3,
2245
2252
  rb_ary_entry(yyvsp[-2], 1),
@@ -2247,29 +2254,29 @@ yyreduce:
2247
2254
  yyvsp[-1]
2248
2255
  );
2249
2256
  }
2250
- #line 2251 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2257
+ #line 2258 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2251
2258
  break;
2252
2259
 
2253
2260
  case 65: /* object_value_list_opt: %empty */
2254
- #line 321 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2261
+ #line 323 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2255
2262
  { yyval = GraphQL_Language_Nodes_NONE; }
2256
- #line 2257 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2263
+ #line 2264 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2257
2264
  break;
2258
2265
 
2259
2266
  case 67: /* object_value_list: object_value_field */
2260
- #line 325 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2267
+ #line 327 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2261
2268
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2262
- #line 2263 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2269
+ #line 2270 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2263
2270
  break;
2264
2271
 
2265
2272
  case 68: /* object_value_list: object_value_list object_value_field */
2266
- #line 326 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2273
+ #line 328 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2267
2274
  { rb_ary_push(yyval, yyvsp[0]); }
2268
- #line 2269 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2275
+ #line 2276 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2269
2276
  break;
2270
2277
 
2271
2278
  case 69: /* object_value_field: name COLON input_value */
2272
- #line 329 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2279
+ #line 331 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2273
2280
  {
2274
2281
  yyval = MAKE_AST_NODE(Argument, 4,
2275
2282
  rb_ary_entry(yyvsp[-2], 1),
@@ -2278,11 +2285,11 @@ yyreduce:
2278
2285
  yyvsp[0]
2279
2286
  );
2280
2287
  }
2281
- #line 2282 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2288
+ #line 2289 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2282
2289
  break;
2283
2290
 
2284
2291
  case 70: /* object_literal_value: LCURLY object_literal_value_list_opt RCURLY */
2285
- #line 340 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2292
+ #line 342 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2286
2293
  {
2287
2294
  yyval = MAKE_AST_NODE(InputObject, 3,
2288
2295
  rb_ary_entry(yyvsp[-2], 1),
@@ -2290,29 +2297,29 @@ yyreduce:
2290
2297
  yyvsp[-1]
2291
2298
  );
2292
2299
  }
2293
- #line 2294 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2300
+ #line 2301 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2294
2301
  break;
2295
2302
 
2296
2303
  case 71: /* object_literal_value_list_opt: %empty */
2297
- #line 349 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2304
+ #line 351 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2298
2305
  { yyval = GraphQL_Language_Nodes_NONE; }
2299
- #line 2300 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2306
+ #line 2307 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2300
2307
  break;
2301
2308
 
2302
2309
  case 73: /* object_literal_value_list: object_literal_value_field */
2303
- #line 353 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2310
+ #line 355 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2304
2311
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2305
- #line 2306 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2312
+ #line 2313 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2306
2313
  break;
2307
2314
 
2308
2315
  case 74: /* object_literal_value_list: object_literal_value_list object_literal_value_field */
2309
- #line 354 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2316
+ #line 356 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2310
2317
  { rb_ary_push(yyval, yyvsp[0]); }
2311
- #line 2312 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2318
+ #line 2319 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2312
2319
  break;
2313
2320
 
2314
2321
  case 75: /* object_literal_value_field: name COLON literal_value */
2315
- #line 357 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2322
+ #line 359 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2316
2323
  {
2317
2324
  yyval = MAKE_AST_NODE(Argument, 4,
2318
2325
  rb_ary_entry(yyvsp[-2], 1),
@@ -2321,29 +2328,29 @@ yyreduce:
2321
2328
  yyvsp[0]
2322
2329
  );
2323
2330
  }
2324
- #line 2325 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2331
+ #line 2332 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2325
2332
  break;
2326
2333
 
2327
2334
  case 76: /* directives_list_opt: %empty */
2328
- #line 368 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2335
+ #line 370 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2329
2336
  { yyval = GraphQL_Language_Nodes_NONE; }
2330
- #line 2331 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2337
+ #line 2338 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2331
2338
  break;
2332
2339
 
2333
2340
  case 78: /* directives_list: directive */
2334
- #line 372 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2341
+ #line 374 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2335
2342
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2336
- #line 2337 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2343
+ #line 2344 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2337
2344
  break;
2338
2345
 
2339
2346
  case 79: /* directives_list: directives_list directive */
2340
- #line 373 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2347
+ #line 375 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2341
2348
  { rb_ary_push(yyval, yyvsp[0]); }
2342
- #line 2343 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2349
+ #line 2350 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2343
2350
  break;
2344
2351
 
2345
2352
  case 80: /* directive: DIR_SIGN name arguments_opt */
2346
- #line 375 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2353
+ #line 377 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2347
2354
  {
2348
2355
  yyval = MAKE_AST_NODE(Directive, 4,
2349
2356
  rb_ary_entry(yyvsp[-2], 1),
@@ -2352,11 +2359,11 @@ yyreduce:
2352
2359
  yyvsp[0]
2353
2360
  );
2354
2361
  }
2355
- #line 2356 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2362
+ #line 2363 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2356
2363
  break;
2357
2364
 
2358
2365
  case 101: /* fragment_spread: ELLIPSIS name_without_on directives_list_opt */
2359
- #line 412 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2366
+ #line 414 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2360
2367
  {
2361
2368
  yyval = MAKE_AST_NODE(FragmentSpread, 4,
2362
2369
  rb_ary_entry(yyvsp[-2], 1),
@@ -2365,12 +2372,12 @@ yyreduce:
2365
2372
  yyvsp[0]
2366
2373
  );
2367
2374
  }
2368
- #line 2369 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2375
+ #line 2376 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2369
2376
  break;
2370
2377
 
2371
- case 102: /* inline_fragment: ELLIPSIS ON type directives_list_opt selection_set */
2372
- #line 422 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2373
- {
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"
2380
+ {
2374
2381
  yyval = MAKE_AST_NODE(InlineFragment, 5,
2375
2382
  rb_ary_entry(yyvsp[-4], 1),
2376
2383
  rb_ary_entry(yyvsp[-4], 2),
@@ -2379,11 +2386,11 @@ yyreduce:
2379
2386
  yyvsp[0]
2380
2387
  );
2381
2388
  }
2382
- #line 2383 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2389
+ #line 2390 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2383
2390
  break;
2384
2391
 
2385
2392
  case 103: /* inline_fragment: ELLIPSIS directives_list_opt selection_set */
2386
- #line 431 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2393
+ #line 433 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2387
2394
  {
2388
2395
  yyval = MAKE_AST_NODE(InlineFragment, 5,
2389
2396
  rb_ary_entry(yyvsp[-2], 1),
@@ -2393,12 +2400,12 @@ yyreduce:
2393
2400
  yyvsp[0]
2394
2401
  );
2395
2402
  }
2396
- #line 2397 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2403
+ #line 2404 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2397
2404
  break;
2398
2405
 
2399
- case 104: /* fragment_definition: FRAGMENT fragment_name_opt ON type directives_list_opt selection_set */
2400
- #line 442 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2401
- {
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"
2408
+ {
2402
2409
  yyval = MAKE_AST_NODE(FragmentDefinition, 6,
2403
2410
  rb_ary_entry(yyvsp[-5], 1),
2404
2411
  rb_ary_entry(yyvsp[-5], 2),
@@ -2408,29 +2415,29 @@ yyreduce:
2408
2415
  yyvsp[0]
2409
2416
  );
2410
2417
  }
2411
- #line 2412 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2418
+ #line 2419 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2412
2419
  break;
2413
2420
 
2414
2421
  case 105: /* fragment_name_opt: %empty */
2415
- #line 454 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2422
+ #line 456 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2416
2423
  { yyval = Qnil; }
2417
- #line 2418 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2424
+ #line 2425 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2418
2425
  break;
2419
2426
 
2420
2427
  case 106: /* fragment_name_opt: name_without_on */
2421
- #line 455 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2428
+ #line 457 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2422
2429
  { yyval = rb_ary_entry(yyvsp[0], 3); }
2423
- #line 2424 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2430
+ #line 2431 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2424
2431
  break;
2425
2432
 
2426
2433
  case 108: /* type: nullable_type BANG */
2427
- #line 459 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2434
+ #line 461 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2428
2435
  { yyval = MAKE_AST_NODE(NonNullType, 3, rb_funcall(yyvsp[-1], rb_intern("line"), 0), rb_funcall(yyvsp[-1], rb_intern("col"), 0), yyvsp[-1]); }
2429
- #line 2430 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2436
+ #line 2437 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2430
2437
  break;
2431
2438
 
2432
2439
  case 109: /* nullable_type: name */
2433
- #line 462 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2440
+ #line 464 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2434
2441
  {
2435
2442
  yyval = MAKE_AST_NODE(TypeName, 3,
2436
2443
  rb_ary_entry(yyvsp[0], 1),
@@ -2438,11 +2445,11 @@ yyreduce:
2438
2445
  rb_ary_entry(yyvsp[0], 3)
2439
2446
  );
2440
2447
  }
2441
- #line 2442 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2448
+ #line 2449 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2442
2449
  break;
2443
2450
 
2444
2451
  case 110: /* nullable_type: LBRACKET type RBRACKET */
2445
- #line 469 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2452
+ #line 471 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2446
2453
  {
2447
2454
  yyval = MAKE_AST_NODE(ListType, 3,
2448
2455
  rb_funcall(yyvsp[-1], rb_intern("line"), 0),
@@ -2450,11 +2457,11 @@ yyreduce:
2450
2457
  yyvsp[-1]
2451
2458
  );
2452
2459
  }
2453
- #line 2454 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2460
+ #line 2461 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2454
2461
  break;
2455
2462
 
2456
2463
  case 114: /* schema_definition: SCHEMA directives_list_opt operation_type_definition_list_opt */
2457
- #line 483 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2464
+ #line 485 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2458
2465
  {
2459
2466
  yyval = MAKE_AST_NODE(SchemaDefinition, 6,
2460
2467
  rb_ary_entry(yyvsp[-2], 1),
@@ -2466,54 +2473,54 @@ yyreduce:
2466
2473
  yyvsp[-1]
2467
2474
  );
2468
2475
  }
2469
- #line 2470 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2476
+ #line 2477 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2470
2477
  break;
2471
2478
 
2472
2479
  case 115: /* operation_type_definition_list_opt: %empty */
2473
- #line 496 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2480
+ #line 498 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2474
2481
  { yyval = rb_hash_new(); }
2475
- #line 2476 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2482
+ #line 2483 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2476
2483
  break;
2477
2484
 
2478
2485
  case 116: /* operation_type_definition_list_opt: LCURLY operation_type_definition_list RCURLY */
2479
- #line 497 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2486
+ #line 499 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2480
2487
  { yyval = yyvsp[-1]; }
2481
- #line 2482 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2488
+ #line 2489 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2482
2489
  break;
2483
2490
 
2484
2491
  case 117: /* operation_type_definition_list: operation_type_definition */
2485
- #line 500 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2492
+ #line 502 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2486
2493
  {
2487
2494
  yyval = rb_hash_new();
2488
2495
  rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
2489
2496
  }
2490
- #line 2491 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2497
+ #line 2498 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2491
2498
  break;
2492
2499
 
2493
2500
  case 118: /* operation_type_definition_list: operation_type_definition_list operation_type_definition */
2494
- #line 504 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2501
+ #line 506 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2495
2502
  {
2496
2503
  rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
2497
2504
  }
2498
- #line 2499 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2505
+ #line 2506 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2499
2506
  break;
2500
2507
 
2501
2508
  case 119: /* operation_type_definition: operation_type COLON name */
2502
- #line 509 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2509
+ #line 511 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2503
2510
  {
2504
2511
  yyval = rb_ary_new_from_args(2, rb_ary_entry(yyvsp[-2], 3), rb_ary_entry(yyvsp[0], 3));
2505
2512
  }
2506
- #line 2507 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2513
+ #line 2514 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2507
2514
  break;
2508
2515
 
2509
2516
  case 127: /* description_opt: %empty */
2510
- #line 524 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2517
+ #line 526 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2511
2518
  { yyval = Qnil; }
2512
- #line 2513 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2519
+ #line 2520 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2513
2520
  break;
2514
2521
 
2515
2522
  case 129: /* scalar_type_definition: description_opt SCALAR name directives_list_opt */
2516
- #line 528 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2523
+ #line 530 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2517
2524
  {
2518
2525
  yyval = MAKE_AST_NODE(ScalarTypeDefinition, 5,
2519
2526
  rb_ary_entry(yyvsp[-2], 1),
@@ -2524,11 +2531,11 @@ yyreduce:
2524
2531
  yyvsp[0]
2525
2532
  );
2526
2533
  }
2527
- #line 2528 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2534
+ #line 2535 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2528
2535
  break;
2529
2536
 
2530
2537
  case 130: /* object_type_definition: description_opt TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2531
- #line 540 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2538
+ #line 542 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2532
2539
  {
2533
2540
  yyval = MAKE_AST_NODE(ObjectTypeDefinition, 7,
2534
2541
  rb_ary_entry(yyvsp[-4], 1),
@@ -2541,35 +2548,35 @@ yyreduce:
2541
2548
  yyvsp[0]
2542
2549
  );
2543
2550
  }
2544
- #line 2545 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2551
+ #line 2552 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2545
2552
  break;
2546
2553
 
2547
2554
  case 131: /* implements_opt: %empty */
2548
- #line 554 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2555
+ #line 556 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2549
2556
  { yyval = GraphQL_Language_Nodes_NONE; }
2550
- #line 2551 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2557
+ #line 2558 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2551
2558
  break;
2552
2559
 
2553
2560
  case 132: /* implements_opt: IMPLEMENTS AMP interfaces_list */
2554
- #line 555 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2561
+ #line 557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2555
2562
  { yyval = yyvsp[0]; }
2556
- #line 2557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2563
+ #line 2564 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2557
2564
  break;
2558
2565
 
2559
2566
  case 133: /* implements_opt: IMPLEMENTS interfaces_list */
2560
- #line 556 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2567
+ #line 558 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2561
2568
  { yyval = yyvsp[0]; }
2562
- #line 2563 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2569
+ #line 2570 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2563
2570
  break;
2564
2571
 
2565
2572
  case 134: /* implements_opt: IMPLEMENTS legacy_interfaces_list */
2566
- #line 557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2573
+ #line 559 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2567
2574
  { yyval = yyvsp[0]; }
2568
- #line 2569 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2575
+ #line 2576 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2569
2576
  break;
2570
2577
 
2571
2578
  case 135: /* interfaces_list: name */
2572
- #line 560 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2579
+ #line 562 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2573
2580
  {
2574
2581
  VALUE new_name = MAKE_AST_NODE(TypeName, 3,
2575
2582
  rb_ary_entry(yyvsp[0], 1),
@@ -2578,20 +2585,20 @@ yyreduce:
2578
2585
  );
2579
2586
  yyval = rb_ary_new_from_args(1, new_name);
2580
2587
  }
2581
- #line 2582 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2588
+ #line 2589 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2582
2589
  break;
2583
2590
 
2584
2591
  case 136: /* interfaces_list: interfaces_list AMP name */
2585
- #line 568 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2592
+ #line 570 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2586
2593
  {
2587
2594
  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));
2588
2595
  rb_ary_push(yyval, new_name);
2589
2596
  }
2590
- #line 2591 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2597
+ #line 2598 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2591
2598
  break;
2592
2599
 
2593
2600
  case 137: /* legacy_interfaces_list: name */
2594
- #line 574 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2601
+ #line 576 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2595
2602
  {
2596
2603
  VALUE new_name = MAKE_AST_NODE(TypeName, 3,
2597
2604
  rb_ary_entry(yyvsp[0], 1),
@@ -2600,19 +2607,19 @@ yyreduce:
2600
2607
  );
2601
2608
  yyval = rb_ary_new_from_args(1, new_name);
2602
2609
  }
2603
- #line 2604 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2610
+ #line 2611 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2604
2611
  break;
2605
2612
 
2606
2613
  case 138: /* legacy_interfaces_list: legacy_interfaces_list name */
2607
- #line 582 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2614
+ #line 584 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2608
2615
  {
2609
2616
  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)));
2610
2617
  }
2611
- #line 2612 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2618
+ #line 2619 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2612
2619
  break;
2613
2620
 
2614
2621
  case 139: /* input_value_definition: description_opt name COLON type default_value_opt directives_list_opt */
2615
- #line 587 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2622
+ #line 589 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2616
2623
  {
2617
2624
  yyval = MAKE_AST_NODE(InputValueDefinition, 7,
2618
2625
  rb_ary_entry(yyvsp[-4], 1),
@@ -2625,35 +2632,35 @@ yyreduce:
2625
2632
  yyvsp[0]
2626
2633
  );
2627
2634
  }
2628
- #line 2629 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2635
+ #line 2636 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2629
2636
  break;
2630
2637
 
2631
2638
  case 140: /* input_value_definition_list: input_value_definition */
2632
- #line 601 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2639
+ #line 603 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2633
2640
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2634
- #line 2635 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2641
+ #line 2642 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2635
2642
  break;
2636
2643
 
2637
2644
  case 141: /* input_value_definition_list: input_value_definition_list input_value_definition */
2638
- #line 602 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2645
+ #line 604 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2639
2646
  { rb_ary_push(yyval, yyvsp[0]); }
2640
- #line 2641 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2647
+ #line 2648 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2641
2648
  break;
2642
2649
 
2643
2650
  case 142: /* arguments_definitions_opt: %empty */
2644
- #line 605 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2651
+ #line 607 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2645
2652
  { yyval = GraphQL_Language_Nodes_NONE; }
2646
- #line 2647 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2653
+ #line 2654 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2647
2654
  break;
2648
2655
 
2649
2656
  case 143: /* arguments_definitions_opt: LPAREN input_value_definition_list RPAREN */
2650
- #line 606 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2657
+ #line 608 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2651
2658
  { yyval = yyvsp[-1]; }
2652
- #line 2653 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2659
+ #line 2660 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2653
2660
  break;
2654
2661
 
2655
2662
  case 144: /* field_definition: description_opt name arguments_definitions_opt COLON type directives_list_opt */
2656
- #line 609 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2663
+ #line 611 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2657
2664
  {
2658
2665
  yyval = MAKE_AST_NODE(FieldDefinition, 7,
2659
2666
  rb_ary_entry(yyvsp[-4], 1),
@@ -2666,41 +2673,41 @@ yyreduce:
2666
2673
  yyvsp[0]
2667
2674
  );
2668
2675
  }
2669
- #line 2670 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2676
+ #line 2677 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2670
2677
  break;
2671
2678
 
2672
2679
  case 145: /* field_definition_list_opt: %empty */
2673
- #line 623 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2680
+ #line 625 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2674
2681
  { yyval = GraphQL_Language_Nodes_NONE; }
2675
- #line 2676 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2682
+ #line 2683 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2676
2683
  break;
2677
2684
 
2678
2685
  case 146: /* field_definition_list_opt: LCURLY field_definition_list RCURLY */
2679
- #line 624 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2686
+ #line 626 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2680
2687
  { yyval = yyvsp[-1]; }
2681
- #line 2682 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2688
+ #line 2689 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2682
2689
  break;
2683
2690
 
2684
2691
  case 147: /* field_definition_list: %empty */
2685
- #line 627 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2692
+ #line 629 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2686
2693
  { yyval = GraphQL_Language_Nodes_NONE; }
2687
- #line 2688 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2694
+ #line 2695 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2688
2695
  break;
2689
2696
 
2690
2697
  case 148: /* field_definition_list: field_definition */
2691
- #line 628 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2698
+ #line 630 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2692
2699
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2693
- #line 2694 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2700
+ #line 2701 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2694
2701
  break;
2695
2702
 
2696
2703
  case 149: /* field_definition_list: field_definition_list field_definition */
2697
- #line 629 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2704
+ #line 631 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2698
2705
  { rb_ary_push(yyval, yyvsp[0]); }
2699
- #line 2700 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2706
+ #line 2707 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2700
2707
  break;
2701
2708
 
2702
2709
  case 150: /* interface_type_definition: description_opt INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2703
- #line 632 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2710
+ #line 634 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2704
2711
  {
2705
2712
  yyval = MAKE_AST_NODE(InterfaceTypeDefinition, 7,
2706
2713
  rb_ary_entry(yyvsp[-4], 1),
@@ -2713,12 +2720,24 @@ yyreduce:
2713
2720
  yyvsp[0]
2714
2721
  );
2715
2722
  }
2716
- #line 2717 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2723
+ #line 2724 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2717
2724
  break;
2718
2725
 
2719
- case 151: /* union_members: name */
2720
- #line 646 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2721
- {
2726
+ case 151: /* pipe_opt: %empty */
2727
+ #line 648 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2728
+ { yyval = GraphQL_Language_Nodes_NONE; }
2729
+ #line 2730 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2730
+ break;
2731
+
2732
+ case 152: /* pipe_opt: PIPE */
2733
+ #line 649 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2734
+ { yyval = GraphQL_Language_Nodes_NONE; }
2735
+ #line 2736 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2736
+ break;
2737
+
2738
+ case 153: /* union_members: pipe_opt name */
2739
+ #line 652 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2740
+ {
2722
2741
  VALUE new_member = MAKE_AST_NODE(TypeName, 3,
2723
2742
  rb_ary_entry(yyvsp[0], 1),
2724
2743
  rb_ary_entry(yyvsp[0], 2),
@@ -2726,19 +2745,19 @@ yyreduce:
2726
2745
  );
2727
2746
  yyval = rb_ary_new_from_args(1, new_member);
2728
2747
  }
2729
- #line 2730 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2748
+ #line 2749 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2730
2749
  break;
2731
2750
 
2732
- case 152: /* union_members: union_members PIPE name */
2733
- #line 654 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2751
+ case 154: /* union_members: union_members PIPE name */
2752
+ #line 660 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2734
2753
  {
2735
2754
  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)));
2736
2755
  }
2737
- #line 2738 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2756
+ #line 2757 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2738
2757
  break;
2739
2758
 
2740
- case 153: /* union_type_definition: description_opt UNION name directives_list_opt EQUALS union_members */
2741
- #line 659 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2742
2761
  {
2743
2762
  yyval = MAKE_AST_NODE(UnionTypeDefinition, 6,
2744
2763
  rb_ary_entry(yyvsp[-4], 1),
@@ -2750,11 +2769,11 @@ yyreduce:
2750
2769
  yyvsp[-2]
2751
2770
  );
2752
2771
  }
2753
- #line 2754 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2772
+ #line 2773 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2754
2773
  break;
2755
2774
 
2756
- case 154: /* enum_type_definition: description_opt ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
2757
- #line 672 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2758
2777
  {
2759
2778
  yyval = MAKE_AST_NODE(EnumTypeDefinition, 6,
2760
2779
  rb_ary_entry(yyvsp[-5], 1),
@@ -2766,11 +2785,11 @@ yyreduce:
2766
2785
  yyvsp[-1]
2767
2786
  );
2768
2787
  }
2769
- #line 2770 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2788
+ #line 2789 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2770
2789
  break;
2771
2790
 
2772
- case 155: /* enum_value_definition: description_opt enum_name directives_list_opt */
2773
- #line 685 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2774
2793
  {
2775
2794
  yyval = MAKE_AST_NODE(EnumValueDefinition, 5,
2776
2795
  rb_ary_entry(yyvsp[-1], 1),
@@ -2781,23 +2800,23 @@ yyreduce:
2781
2800
  yyvsp[0]
2782
2801
  );
2783
2802
  }
2784
- #line 2785 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2803
+ #line 2804 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2785
2804
  break;
2786
2805
 
2787
- case 156: /* enum_value_definitions: enum_value_definition */
2788
- #line 697 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2806
+ case 158: /* enum_value_definitions: enum_value_definition */
2807
+ #line 703 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2789
2808
  { yyval = rb_ary_new_from_args(1, yyvsp[0]); }
2790
- #line 2791 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2809
+ #line 2810 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2791
2810
  break;
2792
2811
 
2793
- case 157: /* enum_value_definitions: enum_value_definitions enum_value_definition */
2794
- #line 698 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2795
2814
  { rb_ary_push(yyval, yyvsp[0]); }
2796
- #line 2797 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2815
+ #line 2816 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2797
2816
  break;
2798
2817
 
2799
- case 158: /* input_object_type_definition: description_opt INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
2800
- #line 701 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2801
2820
  {
2802
2821
  yyval = MAKE_AST_NODE(InputObjectTypeDefinition, 6,
2803
2822
  rb_ary_entry(yyvsp[-5], 1),
@@ -2809,11 +2828,11 @@ yyreduce:
2809
2828
  yyvsp[-1]
2810
2829
  );
2811
2830
  }
2812
- #line 2813 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2831
+ #line 2832 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2813
2832
  break;
2814
2833
 
2815
- case 159: /* directive_definition: description_opt DIRECTIVE DIR_SIGN name arguments_definitions_opt directive_repeatable_opt ON directive_locations */
2816
- #line 714 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2817
2836
  {
2818
2837
  yyval = MAKE_AST_NODE(DirectiveDefinition, 7,
2819
2838
  rb_ary_entry(yyvsp[-6], 1),
@@ -2826,35 +2845,35 @@ yyreduce:
2826
2845
  yyvsp[0]
2827
2846
  );
2828
2847
  }
2829
- #line 2830 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2848
+ #line 2849 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2830
2849
  break;
2831
2850
 
2832
- case 160: /* directive_repeatable_opt: %empty */
2833
- #line 728 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2851
+ case 162: /* directive_repeatable_opt: %empty */
2852
+ #line 734 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2834
2853
  { yyval = Qnil; }
2835
- #line 2836 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2854
+ #line 2855 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2836
2855
  break;
2837
2856
 
2838
- case 161: /* directive_repeatable_opt: REPEATABLE */
2839
- #line 729 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2857
+ case 163: /* directive_repeatable_opt: REPEATABLE */
2858
+ #line 735 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2840
2859
  { yyval = Qtrue; }
2841
- #line 2842 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2860
+ #line 2861 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2842
2861
  break;
2843
2862
 
2844
- case 162: /* directive_locations: name */
2845
- #line 732 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2863
+ case 164: /* directive_locations: name */
2864
+ #line 738 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2846
2865
  { 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))); }
2847
- #line 2848 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2866
+ #line 2867 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2848
2867
  break;
2849
2868
 
2850
- case 163: /* directive_locations: directive_locations PIPE name */
2851
- #line 733 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2869
+ case 165: /* directive_locations: directive_locations PIPE name */
2870
+ #line 739 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2852
2871
  { 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))); }
2853
- #line 2854 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2872
+ #line 2873 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2854
2873
  break;
2855
2874
 
2856
- case 166: /* schema_extension: EXTEND SCHEMA directives_list_opt LCURLY operation_type_definition_list RCURLY */
2857
- #line 741 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2858
2877
  {
2859
2878
  yyval = MAKE_AST_NODE(SchemaExtension, 6,
2860
2879
  rb_ary_entry(yyvsp[-5], 1),
@@ -2866,11 +2885,11 @@ yyreduce:
2866
2885
  yyvsp[-3]
2867
2886
  );
2868
2887
  }
2869
- #line 2870 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2888
+ #line 2889 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2870
2889
  break;
2871
2890
 
2872
- case 167: /* schema_extension: EXTEND SCHEMA directives_list */
2873
- #line 752 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2891
+ case 169: /* schema_extension: EXTEND SCHEMA directives_list */
2892
+ #line 758 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2874
2893
  {
2875
2894
  yyval = MAKE_AST_NODE(SchemaExtension, 6,
2876
2895
  rb_ary_entry(yyvsp[-2], 1),
@@ -2881,11 +2900,11 @@ yyreduce:
2881
2900
  yyvsp[0]
2882
2901
  );
2883
2902
  }
2884
- #line 2885 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2903
+ #line 2904 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2885
2904
  break;
2886
2905
 
2887
- case 174: /* scalar_type_extension: EXTEND SCALAR name directives_list */
2888
- #line 771 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2906
+ case 176: /* scalar_type_extension: EXTEND SCALAR name directives_list */
2907
+ #line 777 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2889
2908
  {
2890
2909
  yyval = MAKE_AST_NODE(ScalarTypeExtension, 4,
2891
2910
  rb_ary_entry(yyvsp[-3], 1),
@@ -2894,11 +2913,11 @@ yyreduce:
2894
2913
  yyvsp[0]
2895
2914
  );
2896
2915
  }
2897
- #line 2898 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2916
+ #line 2917 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2898
2917
  break;
2899
2918
 
2900
- case 175: /* object_type_extension: EXTEND TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
2901
- #line 781 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2902
2921
  {
2903
2922
  yyval = MAKE_AST_NODE(ObjectTypeExtension, 6,
2904
2923
  rb_ary_entry(yyvsp[-5], 1),
@@ -2909,11 +2928,11 @@ yyreduce:
2909
2928
  yyvsp[0]
2910
2929
  );
2911
2930
  }
2912
- #line 2913 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2931
+ #line 2932 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2913
2932
  break;
2914
2933
 
2915
- case 176: /* interface_type_extension: EXTEND INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
2916
- #line 793 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2917
2936
  {
2918
2937
  yyval = MAKE_AST_NODE(InterfaceTypeExtension, 6,
2919
2938
  rb_ary_entry(yyvsp[-5], 1),
@@ -2924,11 +2943,11 @@ yyreduce:
2924
2943
  yyvsp[0]
2925
2944
  );
2926
2945
  }
2927
- #line 2928 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2946
+ #line 2947 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2928
2947
  break;
2929
2948
 
2930
- case 177: /* union_type_extension: EXTEND UNION name directives_list_opt EQUALS union_members */
2931
- #line 805 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2932
2951
  {
2933
2952
  yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
2934
2953
  rb_ary_entry(yyvsp[-5], 1),
@@ -2938,11 +2957,11 @@ yyreduce:
2938
2957
  yyvsp[-2]
2939
2958
  );
2940
2959
  }
2941
- #line 2942 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2960
+ #line 2961 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2942
2961
  break;
2943
2962
 
2944
- case 178: /* union_type_extension: EXTEND UNION name directives_list */
2945
- #line 814 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2963
+ case 180: /* union_type_extension: EXTEND UNION name directives_list */
2964
+ #line 820 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2946
2965
  {
2947
2966
  yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
2948
2967
  rb_ary_entry(yyvsp[-3], 1),
@@ -2952,11 +2971,11 @@ yyreduce:
2952
2971
  yyvsp[0]
2953
2972
  );
2954
2973
  }
2955
- #line 2956 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2974
+ #line 2975 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2956
2975
  break;
2957
2976
 
2958
- case 179: /* enum_type_extension: EXTEND ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
2959
- #line 825 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2960
2979
  {
2961
2980
  yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
2962
2981
  rb_ary_entry(yyvsp[-6], 1),
@@ -2966,11 +2985,11 @@ yyreduce:
2966
2985
  yyvsp[-1]
2967
2986
  );
2968
2987
  }
2969
- #line 2970 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2988
+ #line 2989 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2970
2989
  break;
2971
2990
 
2972
- case 180: /* enum_type_extension: EXTEND ENUM name directives_list */
2973
- #line 834 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2991
+ case 182: /* enum_type_extension: EXTEND ENUM name directives_list */
2992
+ #line 840 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
2974
2993
  {
2975
2994
  yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
2976
2995
  rb_ary_entry(yyvsp[-3], 1),
@@ -2980,11 +2999,11 @@ yyreduce:
2980
2999
  GraphQL_Language_Nodes_NONE
2981
3000
  );
2982
3001
  }
2983
- #line 2984 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3002
+ #line 3003 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2984
3003
  break;
2985
3004
 
2986
- case 181: /* input_object_type_extension: EXTEND INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
2987
- #line 845 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
2988
3007
  {
2989
3008
  yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
2990
3009
  rb_ary_entry(yyvsp[-6], 1),
@@ -2994,11 +3013,11 @@ yyreduce:
2994
3013
  yyvsp[-1]
2995
3014
  );
2996
3015
  }
2997
- #line 2998 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3016
+ #line 3017 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
2998
3017
  break;
2999
3018
 
3000
- case 182: /* input_object_type_extension: EXTEND INPUT name directives_list */
3001
- #line 854 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
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"
3002
3021
  {
3003
3022
  yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
3004
3023
  rb_ary_entry(yyvsp[-3], 1),
@@ -3008,11 +3027,27 @@ yyreduce:
3008
3027
  GraphQL_Language_Nodes_NONE
3009
3028
  );
3010
3029
  }
3011
- #line 3012 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3030
+ #line 3031 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3031
+ break;
3032
+
3033
+ case 185: /* NamedTypeForCondition: name */
3034
+ #line 872 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3035
+ {
3036
+ /* This action creates a TypeName AST node.
3037
+ $1 (yyvsp[0] in C) refers to the semantic value of 'name'.
3038
+ The MAKE_AST_NODE macro is used, consistent with other rules.
3039
+ 'name' (represented by $1) provides an array: [filename, line, col, name_string] */
3040
+ yyval = MAKE_AST_NODE(TypeName, 3,
3041
+ rb_ary_entry(yyvsp[0], 1), /* line from name token */
3042
+ rb_ary_entry(yyvsp[0], 2), /* col from name token */
3043
+ rb_ary_entry(yyvsp[0], 3) /* name string itself */
3044
+ );
3045
+ }
3046
+ #line 3047 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3012
3047
  break;
3013
3048
 
3014
3049
 
3015
- #line 3016 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3050
+ #line 3051 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
3016
3051
 
3017
3052
  default: break;
3018
3053
  }
@@ -3236,7 +3271,7 @@ yyreturnlab:
3236
3271
  return yyresult;
3237
3272
  }
3238
3273
 
3239
- #line 864 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3274
+ #line 885 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
3240
3275
 
3241
3276
 
3242
3277
  // Custom functions
@@ -3250,7 +3285,7 @@ int yylex (YYSTYPE *lvalp, VALUE parser, VALUE filename) {
3250
3285
  return YYEOF;
3251
3286
  }
3252
3287
  rb_ivar_set(parser, rb_intern("@next_token_index"), INT2FIX(next_token_idx + 1));
3253
- VALUE token_type_rb_int = rb_ary_entry(next_token, 5);
3288
+ VALUE token_type_rb_int = rb_ary_entry(next_token, 4);
3254
3289
  int next_token_type = FIX2INT(token_type_rb_int);
3255
3290
  if (next_token_type == 241) { // BAD_UNICODE_ESCAPE
3256
3291
  VALUE mGraphQL = rb_const_get_at(rb_cObject, rb_intern("GraphQL"));