graphql-c_parser 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/graphql_c_parser_ext/parser.c +551 -546
- data/lib/graphql/c_parser/version.rb +1 -1
- metadata +6 -6
@@ -714,16 +714,16 @@ union yyalloc
|
|
714
714
|
#endif /* !YYCOPY_NEEDED */
|
715
715
|
|
716
716
|
/* YYFINAL -- State number of the termination state. */
|
717
|
-
#define YYFINAL
|
717
|
+
#define YYFINAL 79
|
718
718
|
/* YYLAST -- Last index in YYTABLE. */
|
719
|
-
#define YYLAST
|
719
|
+
#define YYLAST 808
|
720
720
|
|
721
721
|
/* YYNTOKENS -- Number of terminals. */
|
722
722
|
#define YYNTOKENS 40
|
723
723
|
/* YYNNTS -- Number of nonterminals. */
|
724
724
|
#define YYNNTS 87
|
725
725
|
/* YYNRULES -- Number of rules. */
|
726
|
-
#define YYNRULES
|
726
|
+
#define YYNRULES 182
|
727
727
|
/* YYNSTATES -- Number of states. */
|
728
728
|
#define YYNSTATES 311
|
729
729
|
|
@@ -776,23 +776,23 @@ static const yytype_int16 yyrline[] =
|
|
776
776
|
{
|
777
777
|
0, 103, 103, 105, 119, 120, 123, 124, 125, 128,
|
778
778
|
129, 132, 143, 154, 167, 168, 169, 172, 173, 176,
|
779
|
-
177, 180, 181, 184,
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
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
|
796
796
|
};
|
797
797
|
#endif
|
798
798
|
|
@@ -850,12 +850,12 @@ yysymbol_name (yysymbol_kind_t yysymbol)
|
|
850
850
|
}
|
851
851
|
#endif
|
852
852
|
|
853
|
-
#define YYPACT_NINF (-
|
853
|
+
#define YYPACT_NINF (-259)
|
854
854
|
|
855
855
|
#define yypact_value_is_default(Yyn) \
|
856
856
|
((Yyn) == YYPACT_NINF)
|
857
857
|
|
858
|
-
#define YYTABLE_NINF (-
|
858
|
+
#define YYTABLE_NINF (-148)
|
859
859
|
|
860
860
|
#define yytable_value_is_error(Yyn) \
|
861
861
|
0
|
@@ -864,38 +864,38 @@ yysymbol_name (yysymbol_kind_t yysymbol)
|
|
864
864
|
STATE-NUM. */
|
865
865
|
static const yytype_int16 yypact[] =
|
866
866
|
{
|
867
|
-
|
868
|
-
-
|
869
|
-
-
|
870
|
-
-
|
871
|
-
|
872
|
-
-
|
873
|
-
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
-
|
889
|
-
|
890
|
-
-
|
891
|
-
|
892
|
-
|
893
|
-
-
|
894
|
-
|
895
|
-
-
|
896
|
-
|
897
|
-
|
898
|
-
-
|
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
|
899
899
|
};
|
900
900
|
|
901
901
|
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
|
@@ -903,65 +903,65 @@ static const yytype_int16 yypact[] =
|
|
903
903
|
means the default is an error. */
|
904
904
|
static const yytype_uint8 yydefact[] =
|
905
905
|
{
|
906
|
-
|
907
|
-
2,
|
908
|
-
|
909
|
-
165,
|
910
|
-
0, 0,
|
911
|
-
|
912
|
-
|
913
|
-
36,
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
0,
|
936
|
-
71,
|
937
|
-
|
906
|
+
127, 0, 105, 0, 15, 14, 76, 126, 16, 0,
|
907
|
+
2, 127, 4, 6, 9, 17, 10, 7, 111, 112,
|
908
|
+
128, 0, 120, 121, 122, 123, 124, 125, 113, 8,
|
909
|
+
164, 165, 168, 169, 170, 171, 172, 173, 0, 0,
|
910
|
+
0, 0, 76, 0, 0, 91, 89, 92, 97, 93,
|
911
|
+
95, 90, 86, 87, 98, 94, 84, 83, 96, 85,
|
912
|
+
88, 99, 100, 106, 0, 76, 82, 13, 0, 26,
|
913
|
+
28, 36, 81, 29, 30, 0, 115, 77, 78, 1,
|
914
|
+
5, 19, 18, 0, 0, 0, 0, 0, 0, 0,
|
915
|
+
76, 76, 131, 0, 0, 167, 131, 76, 0, 0,
|
916
|
+
0, 76, 12, 27, 0, 0, 76, 36, 0, 114,
|
917
|
+
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
|
938
938
|
};
|
939
939
|
|
940
940
|
/* YYPGOTO[NTERM-NUM]. */
|
941
941
|
static const yytype_int16 yypgoto[] =
|
942
942
|
{
|
943
|
-
-
|
944
|
-
-
|
945
|
-
|
946
|
-
-
|
947
|
-
-3, -
|
948
|
-
-
|
949
|
-
|
950
|
-
-
|
951
|
-
-
|
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
|
952
952
|
};
|
953
953
|
|
954
954
|
/* YYDEFGOTO[NTERM-NUM]. */
|
955
955
|
static const yytype_int16 yydefgoto[] =
|
956
956
|
{
|
957
|
-
0, 9, 10, 11, 12, 13, 14,
|
958
|
-
|
959
|
-
|
960
|
-
263, 264,
|
961
|
-
|
962
|
-
18,
|
963
|
-
|
964
|
-
25, 26,
|
957
|
+
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
965
|
31, 32, 33, 34, 35, 36, 37
|
966
966
|
};
|
967
967
|
|
@@ -970,168 +970,172 @@ static const yytype_int16 yydefgoto[] =
|
|
970
970
|
number is the opposite. If YYTABLE_NINF, syntax error. */
|
971
971
|
static const yytype_int16 yytable[] =
|
972
972
|
{
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
0,
|
999
|
-
|
1000
|
-
|
1001
|
-
0, 0,
|
1002
|
-
|
1003
|
-
307, 0, 0, 0,
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
0,
|
1028
|
-
|
1029
|
-
0,
|
1030
|
-
|
1031
|
-
|
1032
|
-
0, 0,
|
1033
|
-
0, 0, 0,
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
0,
|
1042
|
-
|
1043
|
-
0,
|
1044
|
-
|
1045
|
-
|
1046
|
-
0,
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
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,
|
1037
|
+
8, 58, 59, 60, 45, 0, 46, 65, 0, 47,
|
1038
|
+
48, 0, 49, 50, 51, 52, 0, 53, 0, 0,
|
1039
|
+
0, 4, 54, 66, 0, 5, 0, 0, 55, 0,
|
1040
|
+
56, 57, 0, 8, 58, 59, 60, 45, 0, 46,
|
1041
|
+
0, 0, 47, 48, 0, 49, 50, 51, 52, 0,
|
1042
|
+
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,
|
1046
|
+
0, 5, 0, 0, 55, 0, 56, 57, 0, 8,
|
1047
|
+
58, 59, 60, 45, 0, 46, 0, 0, 47, 48,
|
1048
|
+
0, 49, 50, 51, 52, 0, 53, 0, 0, 0,
|
1049
|
+
4, 54, 0, 0, 5, 0, 0, 55, 0, 56,
|
1050
|
+
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
|
1052
1054
|
};
|
1053
1055
|
|
1054
1056
|
static const yytype_int16 yycheck[] =
|
1055
1057
|
{
|
1056
|
-
3,
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
43, 44,
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
-1,
|
1082
|
-
|
1083
|
-
|
1084
|
-
-1, -1,
|
1085
|
-
|
1086
|
-
303, -1, -1, -1,
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
-1, -1, 12, 13, 14, 15, 16, 17, 18, 19,
|
1092
|
-
20, 21, -1, 23, 24, 25, -1, 27, 28, -1,
|
1093
|
-
30, -1, 32, 33, 34, 35, 36, 37, 38, 39,
|
1094
|
-
-1, -1, -1, -1, -1, 304, 6, -1, 8, -1,
|
1095
|
-
309, -1, 12, 13, 14, 15, 16, 17, 18, 19,
|
1096
|
-
20, 21, -1, 23, 24, 25, -1, 27, 28, -1,
|
1097
|
-
30, -1, 32, 33, 34, 35, 36, 37, 38, 39,
|
1098
|
-
6, -1, 8, -1, -1, -1, 12, 13, 14, 15,
|
1099
|
-
16, 17, 18, 19, 20, 21, -1, 23, 24, 25,
|
1100
|
-
-1, 27, -1, -1, 30, -1, 32, 33, 34, 35,
|
1101
|
-
36, 37, 38, 39, 6, -1, 8, -1, -1, -1,
|
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,
|
1102
1093
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
1094
|
+
-1, 23, 24, 25, -1, 27, 28, -1, 30, -1,
|
1095
|
+
32, 33, 34, 35, 36, 37, 38, 39, 6, -1,
|
1096
|
+
8, -1, -1, 11, 12, 13, 14, 15, 16, 17,
|
1097
|
+
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,
|
1122
|
+
35, 36, 37, 38, 6, -1, 8, 9, -1, 11,
|
1123
|
+
12, -1, 14, 15, 16, 17, -1, 19, -1, -1,
|
1103
1124
|
-1, 23, 24, 25, -1, 27, -1, -1, 30, -1,
|
1104
|
-
32, 33,
|
1105
|
-
|
1125
|
+
32, 33, -1, 35, 36, 37, 38, 6, -1, 8,
|
1126
|
+
-1, -1, 11, 12, -1, 14, 15, 16, 17, -1,
|
1106
1127
|
19, -1, -1, -1, 23, 24, 25, -1, 27, -1,
|
1107
|
-
|
1108
|
-
6, -1, 8,
|
1128
|
+
-1, 30, 31, 32, 33, -1, 35, 36, 37, 38,
|
1129
|
+
6, -1, 8, -1, -1, 11, 12, -1, 14, 15,
|
1109
1130
|
16, 17, -1, 19, -1, -1, -1, 23, 24, 25,
|
1110
|
-
-1, 27, -1,
|
1111
|
-
36, 37, 38, 6, -1, 8,
|
1131
|
+
-1, 27, -1, -1, 30, -1, 32, 33, -1, 35,
|
1132
|
+
36, 37, 38, 6, -1, 8, -1, -1, 11, 12,
|
1112
1133
|
-1, 14, 15, 16, 17, -1, 19, -1, -1, -1,
|
1113
|
-
23, 24,
|
1114
|
-
33, -1, 35, 36, 37, 38, 6,
|
1115
|
-
-1, -1,
|
1116
|
-
-1, -1, -1, 23,
|
1117
|
-
30, -1, 32, 33, -1, 35,
|
1118
|
-
-1, 8, -1, -1, -1, 12, -1, 14, 15, 16,
|
1119
|
-
17, -1, 19, 20, -1, -1, 23, 24, 25, -1,
|
1120
|
-
27, -1, -1, 30, -1, 32, 33, -1, 35, 36,
|
1121
|
-
37, 38, 6, -1, 8, 9, -1, -1, 12, -1,
|
1122
|
-
14, 15, 16, 17, -1, 19, -1, -1, -1, 23,
|
1123
|
-
24, 25, -1, 27, -1, -1, 30, -1, 32, 33,
|
1124
|
-
-1, 35, 36, 37, 38, 6, -1, 8, -1, -1,
|
1125
|
-
-1, 12, -1, 14, 15, 16, 17, -1, 19, -1,
|
1126
|
-
-1, -1, 23, 24, 25, -1, 27, -1, -1, 30,
|
1127
|
-
31, 32, 33, -1, 35, 36, 37, 38, 6, -1,
|
1128
|
-
8, -1, -1, -1, 12, -1, 14, 15, 16, 17,
|
1129
|
-
-1, 19, -1, -1, -1, 23, 24, 25, -1, 27,
|
1130
|
-
-1, -1, 30, -1, 32, 33, -1, 35, 36, 37,
|
1131
|
-
38, 6, -1, 8, -1, -1, -1, 12, -1, 14,
|
1132
|
-
15, 16, 17, -1, 19, -1, -1, -1, 23, 24,
|
1133
|
-
-1, -1, 27, -1, -1, 30, -1, 32, 33, -1,
|
1134
|
-
35, 36, 37, 38
|
1134
|
+
23, 24, -1, -1, 27, -1, -1, 30, -1, 32,
|
1135
|
+
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
|
1135
1139
|
};
|
1136
1140
|
|
1137
1141
|
/* YYSTOS[STATE-NUM] -- The symbol kind of the accessing symbol of
|
@@ -1142,33 +1146,33 @@ static const yytype_int8 yystos[] =
|
|
1142
1146
|
42, 43, 44, 45, 46, 47, 85, 89, 90, 94,
|
1143
1147
|
95, 96, 97, 98, 108, 110, 111, 114, 115, 118,
|
1144
1148
|
119, 120, 121, 122, 123, 124, 125, 126, 8, 16,
|
1145
|
-
19, 32, 33, 37, 38, 6, 8, 12, 14,
|
1146
|
-
16, 17, 19, 24, 30, 32, 33, 36, 37,
|
1147
|
-
47, 81, 82, 86, 9, 25, 29, 53, 54,
|
1148
|
-
80, 82, 83, 84, 7, 77, 78, 79, 0,
|
1149
|
-
48, 80, 6, 8, 16, 19, 32, 37, 38,
|
1150
|
-
80, 80, 80, 77, 78, 80, 80, 25, 25,
|
1151
|
-
82, 29, 54, 5, 22, 58, 80, 21, 91,
|
1152
|
-
22, 49, 7, 80, 80, 80, 80, 80, 80,
|
1153
|
-
78, 77, 78, 17, 99, 78, 21, 99, 77,
|
1154
|
-
20, 80, 87, 88, 87, 21, 55, 77, 80,
|
1155
|
-
60, 80, 77, 58, 47, 92, 93, 39, 50,
|
1156
|
-
77, 80, 77, 77, 99, 77, 99, 77, 21,
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
77, 77, 10, 96, 112, 113, 96, 102, 103,
|
1161
|
-
|
1162
|
-
55, 55, 29, 77, 12, 13,
|
1163
|
-
21, 24, 25,
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1149
|
+
19, 32, 33, 37, 38, 6, 8, 11, 12, 14,
|
1150
|
+
15, 16, 17, 19, 24, 30, 32, 33, 36, 37,
|
1151
|
+
38, 47, 81, 82, 86, 9, 25, 29, 53, 54,
|
1152
|
+
57, 80, 82, 83, 84, 7, 77, 78, 79, 0,
|
1153
|
+
44, 48, 80, 6, 8, 16, 19, 32, 37, 38,
|
1154
|
+
80, 80, 80, 80, 77, 78, 80, 80, 25, 25,
|
1155
|
+
77, 82, 29, 54, 5, 22, 58, 80, 21, 91,
|
1156
|
+
79, 22, 49, 7, 80, 80, 80, 80, 80, 80,
|
1157
|
+
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,
|
1173
|
+
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,
|
1172
1176
|
77
|
1173
1177
|
};
|
1174
1178
|
|
@@ -1181,19 +1185,19 @@ static const yytype_int8 yyr1[] =
|
|
1181
1185
|
54, 55, 56, 56, 57, 57, 58, 58, 59, 59,
|
1182
1186
|
60, 61, 61, 61, 61, 61, 61, 61, 61, 61,
|
1183
1187
|
62, 62, 62, 63, 64, 65, 65, 66, 66, 67,
|
1184
|
-
67, 67, 67,
|
1185
|
-
|
1186
|
-
|
1187
|
-
81, 81, 81, 81,
|
1188
|
-
82,
|
1189
|
-
88,
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
120, 120, 120, 120,
|
1196
|
-
125,
|
1188
|
+
67, 67, 67, 68, 69, 70, 70, 71, 71, 72,
|
1189
|
+
73, 74, 74, 75, 75, 76, 77, 77, 78, 78,
|
1190
|
+
79, 80, 80, 81, 81, 81, 81, 81, 81, 81,
|
1191
|
+
81, 81, 81, 81, 81, 82, 82, 82, 82, 82,
|
1192
|
+
82, 83, 84, 84, 85, 86, 86, 87, 87, 88,
|
1193
|
+
88, 89, 89, 89, 90, 91, 91, 92, 92, 93,
|
1194
|
+
94, 94, 94, 94, 94, 94, 95, 96, 96, 97,
|
1195
|
+
98, 99, 99, 99, 99, 100, 100, 101, 101, 102,
|
1196
|
+
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
|
1197
1201
|
};
|
1198
1202
|
|
1199
1203
|
/* YYR2[RULE-NUM] -- Number of symbols on the right-hand side of rule RULE-NUM. */
|
@@ -1201,23 +1205,23 @@ static const yytype_int8 yyr2[] =
|
|
1201
1205
|
{
|
1202
1206
|
0, 2, 1, 1, 1, 2, 1, 1, 1, 1,
|
1203
1207
|
1, 5, 3, 2, 1, 1, 1, 0, 1, 0,
|
1204
|
-
3, 1, 2,
|
1208
|
+
3, 1, 2, 6, 0, 2, 1, 2, 1, 1,
|
1205
1209
|
1, 3, 0, 1, 6, 4, 0, 3, 1, 2,
|
1206
1210
|
3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1207
1211
|
1, 1, 1, 1, 2, 2, 3, 1, 2, 1,
|
1208
|
-
1, 1, 1, 1,
|
1209
|
-
|
1210
|
-
|
1212
|
+
1, 1, 1, 1, 3, 0, 1, 1, 2, 3,
|
1213
|
+
3, 0, 1, 1, 2, 3, 0, 1, 1, 2,
|
1214
|
+
3, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1211
1215
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
1212
|
-
1,
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
1, 1, 1, 1,
|
1220
|
-
|
1216
|
+
1, 3, 5, 3, 6, 0, 1, 1, 2, 1,
|
1217
|
+
3, 1, 1, 1, 3, 0, 3, 1, 2, 3,
|
1218
|
+
1, 1, 1, 1, 1, 1, 1, 0, 1, 4,
|
1219
|
+
6, 0, 3, 2, 2, 1, 3, 1, 2, 6,
|
1220
|
+
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
|
1221
1225
|
};
|
1222
1226
|
|
1223
1227
|
|
@@ -1914,7 +1918,7 @@ yyreduce:
|
|
1914
1918
|
case 2: /* start: document */
|
1915
1919
|
#line 103 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
1916
1920
|
{ rb_ivar_set(parser, rb_intern("@result"), yyvsp[0]); }
|
1917
|
-
#line
|
1921
|
+
#line 1922 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1918
1922
|
break;
|
1919
1923
|
|
1920
1924
|
case 3: /* document: definitions_list */
|
@@ -1931,19 +1935,19 @@ yyreduce:
|
|
1931
1935
|
}
|
1932
1936
|
yyval = MAKE_AST_NODE(Document, 3, line, col, yyvsp[0]);
|
1933
1937
|
}
|
1934
|
-
#line
|
1938
|
+
#line 1939 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1935
1939
|
break;
|
1936
1940
|
|
1937
1941
|
case 4: /* definitions_list: definition */
|
1938
1942
|
#line 119 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
1939
1943
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
1940
|
-
#line
|
1944
|
+
#line 1945 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1941
1945
|
break;
|
1942
1946
|
|
1943
1947
|
case 5: /* definitions_list: definitions_list definition */
|
1944
1948
|
#line 120 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
1945
1949
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
1946
|
-
#line
|
1950
|
+
#line 1951 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1947
1951
|
break;
|
1948
1952
|
|
1949
1953
|
case 11: /* operation_definition: operation_type operation_name_opt variable_definitions_opt directives_list_opt selection_set */
|
@@ -1959,7 +1963,7 @@ yyreduce:
|
|
1959
1963
|
yyvsp[0]
|
1960
1964
|
);
|
1961
1965
|
}
|
1962
|
-
#line
|
1966
|
+
#line 1967 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1963
1967
|
break;
|
1964
1968
|
|
1965
1969
|
case 12: /* operation_definition: LCURLY selection_list RCURLY */
|
@@ -1975,7 +1979,7 @@ yyreduce:
|
|
1975
1979
|
yyvsp[-1]
|
1976
1980
|
);
|
1977
1981
|
}
|
1978
|
-
#line
|
1982
|
+
#line 1983 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1979
1983
|
break;
|
1980
1984
|
|
1981
1985
|
case 13: /* operation_definition: LCURLY RCURLY */
|
@@ -1991,91 +1995,92 @@ yyreduce:
|
|
1991
1995
|
GraphQL_Language_Nodes_NONE
|
1992
1996
|
);
|
1993
1997
|
}
|
1994
|
-
#line
|
1998
|
+
#line 1999 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
1995
1999
|
break;
|
1996
2000
|
|
1997
2001
|
case 17: /* operation_name_opt: %empty */
|
1998
2002
|
#line 172 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
1999
2003
|
{ yyval = Qnil; }
|
2000
|
-
#line
|
2004
|
+
#line 2005 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2001
2005
|
break;
|
2002
2006
|
|
2003
2007
|
case 19: /* variable_definitions_opt: %empty */
|
2004
2008
|
#line 176 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2005
2009
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2006
|
-
#line
|
2010
|
+
#line 2011 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2007
2011
|
break;
|
2008
2012
|
|
2009
2013
|
case 20: /* variable_definitions_opt: LPAREN variable_definitions_list RPAREN */
|
2010
2014
|
#line 177 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2011
2015
|
{ yyval = yyvsp[-1]; }
|
2012
|
-
#line
|
2016
|
+
#line 2017 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2013
2017
|
break;
|
2014
2018
|
|
2015
2019
|
case 21: /* variable_definitions_list: variable_definition */
|
2016
2020
|
#line 180 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2017
2021
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2018
|
-
#line
|
2022
|
+
#line 2023 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2019
2023
|
break;
|
2020
2024
|
|
2021
2025
|
case 22: /* variable_definitions_list: variable_definitions_list variable_definition */
|
2022
2026
|
#line 181 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2023
2027
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2024
|
-
#line
|
2028
|
+
#line 2029 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2025
2029
|
break;
|
2026
2030
|
|
2027
|
-
case 23: /* variable_definition: VAR_SIGN name COLON type default_value_opt */
|
2031
|
+
case 23: /* variable_definition: VAR_SIGN name COLON type default_value_opt directives_list_opt */
|
2028
2032
|
#line 184 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2029
|
-
|
2030
|
-
yyval = MAKE_AST_NODE(VariableDefinition,
|
2031
|
-
rb_ary_entry(yyvsp[-
|
2032
|
-
rb_ary_entry(yyvsp[-
|
2033
|
-
rb_ary_entry(yyvsp[-
|
2033
|
+
{
|
2034
|
+
yyval = MAKE_AST_NODE(VariableDefinition, 6,
|
2035
|
+
rb_ary_entry(yyvsp[-5], 1),
|
2036
|
+
rb_ary_entry(yyvsp[-5], 2),
|
2037
|
+
rb_ary_entry(yyvsp[-4], 3),
|
2038
|
+
yyvsp[-2],
|
2034
2039
|
yyvsp[-1],
|
2035
2040
|
yyvsp[0]
|
2036
2041
|
);
|
2037
2042
|
}
|
2038
|
-
#line
|
2043
|
+
#line 2044 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2039
2044
|
break;
|
2040
2045
|
|
2041
2046
|
case 24: /* default_value_opt: %empty */
|
2042
|
-
#line
|
2047
|
+
#line 196 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2043
2048
|
{ yyval = Qnil; }
|
2044
|
-
#line
|
2049
|
+
#line 2050 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2045
2050
|
break;
|
2046
2051
|
|
2047
2052
|
case 25: /* default_value_opt: EQUALS literal_value */
|
2048
|
-
#line
|
2053
|
+
#line 197 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2049
2054
|
{ yyval = yyvsp[0]; }
|
2050
|
-
#line
|
2055
|
+
#line 2056 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2051
2056
|
break;
|
2052
2057
|
|
2053
2058
|
case 26: /* selection_list: selection */
|
2054
|
-
#line
|
2059
|
+
#line 200 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2055
2060
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2056
|
-
#line
|
2061
|
+
#line 2062 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2057
2062
|
break;
|
2058
2063
|
|
2059
2064
|
case 27: /* selection_list: selection_list selection */
|
2060
|
-
#line
|
2065
|
+
#line 201 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2061
2066
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2062
|
-
#line
|
2067
|
+
#line 2068 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2063
2068
|
break;
|
2064
2069
|
|
2065
2070
|
case 31: /* selection_set: LCURLY selection_list RCURLY */
|
2066
|
-
#line
|
2071
|
+
#line 209 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2067
2072
|
{ yyval = yyvsp[-1]; }
|
2068
|
-
#line
|
2073
|
+
#line 2074 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2069
2074
|
break;
|
2070
2075
|
|
2071
2076
|
case 32: /* selection_set_opt: %empty */
|
2072
|
-
#line
|
2077
|
+
#line 212 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2073
2078
|
{ yyval = rb_ary_new(); }
|
2074
|
-
#line
|
2079
|
+
#line 2080 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2075
2080
|
break;
|
2076
2081
|
|
2077
2082
|
case 34: /* field: name COLON name arguments_opt directives_list_opt selection_set_opt */
|
2078
|
-
#line
|
2083
|
+
#line 216 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2079
2084
|
{
|
2080
2085
|
yyval = MAKE_AST_NODE(Field, 7,
|
2081
2086
|
rb_ary_entry(yyvsp[-5], 1),
|
@@ -2087,11 +2092,11 @@ yyreduce:
|
|
2087
2092
|
yyvsp[0] // subselections
|
2088
2093
|
);
|
2089
2094
|
}
|
2090
|
-
#line
|
2095
|
+
#line 2096 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2091
2096
|
break;
|
2092
2097
|
|
2093
2098
|
case 35: /* field: name arguments_opt directives_list_opt selection_set_opt */
|
2094
|
-
#line
|
2099
|
+
#line 227 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2095
2100
|
{
|
2096
2101
|
yyval = MAKE_AST_NODE(Field, 7,
|
2097
2102
|
rb_ary_entry(yyvsp[-3], 1),
|
@@ -2103,35 +2108,35 @@ yyreduce:
|
|
2103
2108
|
yyvsp[0] // subselections
|
2104
2109
|
);
|
2105
2110
|
}
|
2106
|
-
#line
|
2111
|
+
#line 2112 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2107
2112
|
break;
|
2108
2113
|
|
2109
2114
|
case 36: /* arguments_opt: %empty */
|
2110
|
-
#line
|
2115
|
+
#line 240 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2111
2116
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2112
|
-
#line
|
2117
|
+
#line 2118 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2113
2118
|
break;
|
2114
2119
|
|
2115
2120
|
case 37: /* arguments_opt: LPAREN arguments_list RPAREN */
|
2116
|
-
#line
|
2121
|
+
#line 241 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2117
2122
|
{ yyval = yyvsp[-1]; }
|
2118
|
-
#line
|
2123
|
+
#line 2124 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2119
2124
|
break;
|
2120
2125
|
|
2121
2126
|
case 38: /* arguments_list: argument */
|
2122
|
-
#line
|
2127
|
+
#line 244 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2123
2128
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2124
|
-
#line
|
2129
|
+
#line 2130 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2125
2130
|
break;
|
2126
2131
|
|
2127
2132
|
case 39: /* arguments_list: arguments_list argument */
|
2128
|
-
#line
|
2133
|
+
#line 245 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2129
2134
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2130
|
-
#line
|
2135
|
+
#line 2136 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2131
2136
|
break;
|
2132
2137
|
|
2133
2138
|
case 40: /* argument: name COLON input_value */
|
2134
|
-
#line
|
2139
|
+
#line 248 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2135
2140
|
{
|
2136
2141
|
yyval = MAKE_AST_NODE(Argument, 4,
|
2137
2142
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2140,41 +2145,41 @@ yyreduce:
|
|
2140
2145
|
yyvsp[0]
|
2141
2146
|
);
|
2142
2147
|
}
|
2143
|
-
#line
|
2148
|
+
#line 2149 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2144
2149
|
break;
|
2145
2150
|
|
2146
2151
|
case 41: /* literal_value: FLOAT */
|
2147
|
-
#line
|
2152
|
+
#line 258 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2148
2153
|
{ yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_f"), 0); }
|
2149
|
-
#line
|
2154
|
+
#line 2155 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2150
2155
|
break;
|
2151
2156
|
|
2152
2157
|
case 42: /* literal_value: INT */
|
2153
|
-
#line
|
2158
|
+
#line 259 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2154
2159
|
{ yyval = rb_funcall(rb_ary_entry(yyvsp[0], 3), rb_intern("to_i"), 0); }
|
2155
|
-
#line
|
2160
|
+
#line 2161 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2156
2161
|
break;
|
2157
2162
|
|
2158
2163
|
case 43: /* literal_value: STRING */
|
2159
|
-
#line
|
2164
|
+
#line 260 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2160
2165
|
{ yyval = rb_ary_entry(yyvsp[0], 3); }
|
2161
|
-
#line
|
2166
|
+
#line 2167 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2162
2167
|
break;
|
2163
2168
|
|
2164
2169
|
case 44: /* literal_value: TRUE_LITERAL */
|
2165
|
-
#line
|
2170
|
+
#line 261 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2166
2171
|
{ yyval = Qtrue; }
|
2167
|
-
#line
|
2172
|
+
#line 2173 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2168
2173
|
break;
|
2169
2174
|
|
2170
2175
|
case 45: /* literal_value: FALSE_LITERAL */
|
2171
|
-
#line
|
2176
|
+
#line 262 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2172
2177
|
{ yyval = Qfalse; }
|
2173
|
-
#line
|
2178
|
+
#line 2179 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2174
2179
|
break;
|
2175
2180
|
|
2176
2181
|
case 53: /* null_value: NULL_LITERAL */
|
2177
|
-
#line
|
2182
|
+
#line 273 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2178
2183
|
{
|
2179
2184
|
yyval = MAKE_AST_NODE(NullValue, 3,
|
2180
2185
|
rb_ary_entry(yyvsp[0], 1),
|
@@ -2182,11 +2187,11 @@ yyreduce:
|
|
2182
2187
|
rb_ary_entry(yyvsp[0], 3)
|
2183
2188
|
);
|
2184
2189
|
}
|
2185
|
-
#line
|
2190
|
+
#line 2191 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2186
2191
|
break;
|
2187
2192
|
|
2188
2193
|
case 54: /* variable: VAR_SIGN name */
|
2189
|
-
#line
|
2194
|
+
#line 281 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2190
2195
|
{
|
2191
2196
|
yyval = MAKE_AST_NODE(VariableIdentifier, 3,
|
2192
2197
|
rb_ary_entry(yyvsp[-1], 1),
|
@@ -2194,35 +2199,35 @@ yyreduce:
|
|
2194
2199
|
rb_ary_entry(yyvsp[0], 3)
|
2195
2200
|
);
|
2196
2201
|
}
|
2197
|
-
#line
|
2202
|
+
#line 2203 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2198
2203
|
break;
|
2199
2204
|
|
2200
2205
|
case 55: /* list_value: LBRACKET RBRACKET */
|
2201
|
-
#line
|
2206
|
+
#line 290 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2202
2207
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2203
|
-
#line
|
2208
|
+
#line 2209 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2204
2209
|
break;
|
2205
2210
|
|
2206
2211
|
case 56: /* list_value: LBRACKET list_value_list RBRACKET */
|
2207
|
-
#line
|
2212
|
+
#line 291 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2208
2213
|
{ yyval = yyvsp[-1]; }
|
2209
|
-
#line
|
2214
|
+
#line 2215 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2210
2215
|
break;
|
2211
2216
|
|
2212
2217
|
case 57: /* list_value_list: input_value */
|
2213
|
-
#line
|
2218
|
+
#line 294 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2214
2219
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2215
|
-
#line
|
2220
|
+
#line 2221 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2216
2221
|
break;
|
2217
2222
|
|
2218
2223
|
case 58: /* list_value_list: list_value_list input_value */
|
2219
|
-
#line
|
2224
|
+
#line 295 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2220
2225
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2221
|
-
#line
|
2226
|
+
#line 2227 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2222
2227
|
break;
|
2223
2228
|
|
2224
|
-
case
|
2225
|
-
#line
|
2229
|
+
case 63: /* enum_value: enum_name */
|
2230
|
+
#line 303 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2226
2231
|
{
|
2227
2232
|
yyval = MAKE_AST_NODE(Enum, 3,
|
2228
2233
|
rb_ary_entry(yyvsp[0], 1),
|
@@ -2230,11 +2235,11 @@ yyreduce:
|
|
2230
2235
|
rb_ary_entry(yyvsp[0], 3)
|
2231
2236
|
);
|
2232
2237
|
}
|
2233
|
-
#line
|
2238
|
+
#line 2239 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2234
2239
|
break;
|
2235
2240
|
|
2236
|
-
case
|
2237
|
-
#line
|
2241
|
+
case 64: /* object_value: LCURLY object_value_list_opt RCURLY */
|
2242
|
+
#line 312 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2238
2243
|
{
|
2239
2244
|
yyval = MAKE_AST_NODE(InputObject, 3,
|
2240
2245
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2242,29 +2247,29 @@ yyreduce:
|
|
2242
2247
|
yyvsp[-1]
|
2243
2248
|
);
|
2244
2249
|
}
|
2245
|
-
#line
|
2250
|
+
#line 2251 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2246
2251
|
break;
|
2247
2252
|
|
2248
|
-
case
|
2249
|
-
#line
|
2253
|
+
case 65: /* object_value_list_opt: %empty */
|
2254
|
+
#line 321 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2250
2255
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2251
|
-
#line
|
2256
|
+
#line 2257 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2252
2257
|
break;
|
2253
2258
|
|
2254
|
-
case
|
2255
|
-
#line
|
2259
|
+
case 67: /* object_value_list: object_value_field */
|
2260
|
+
#line 325 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2256
2261
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2257
|
-
#line
|
2262
|
+
#line 2263 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2258
2263
|
break;
|
2259
2264
|
|
2260
|
-
case
|
2261
|
-
#line
|
2265
|
+
case 68: /* object_value_list: object_value_list object_value_field */
|
2266
|
+
#line 326 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2262
2267
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2263
|
-
#line
|
2268
|
+
#line 2269 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2264
2269
|
break;
|
2265
2270
|
|
2266
|
-
case
|
2267
|
-
#line
|
2271
|
+
case 69: /* object_value_field: name COLON input_value */
|
2272
|
+
#line 329 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2268
2273
|
{
|
2269
2274
|
yyval = MAKE_AST_NODE(Argument, 4,
|
2270
2275
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2273,11 +2278,11 @@ yyreduce:
|
|
2273
2278
|
yyvsp[0]
|
2274
2279
|
);
|
2275
2280
|
}
|
2276
|
-
#line
|
2281
|
+
#line 2282 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2277
2282
|
break;
|
2278
2283
|
|
2279
|
-
case
|
2280
|
-
#line
|
2284
|
+
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"
|
2281
2286
|
{
|
2282
2287
|
yyval = MAKE_AST_NODE(InputObject, 3,
|
2283
2288
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2285,29 +2290,29 @@ yyreduce:
|
|
2285
2290
|
yyvsp[-1]
|
2286
2291
|
);
|
2287
2292
|
}
|
2288
|
-
#line
|
2293
|
+
#line 2294 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2289
2294
|
break;
|
2290
2295
|
|
2291
|
-
case
|
2292
|
-
#line
|
2296
|
+
case 71: /* object_literal_value_list_opt: %empty */
|
2297
|
+
#line 349 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2293
2298
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2294
|
-
#line
|
2299
|
+
#line 2300 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2295
2300
|
break;
|
2296
2301
|
|
2297
|
-
case
|
2298
|
-
#line
|
2302
|
+
case 73: /* object_literal_value_list: object_literal_value_field */
|
2303
|
+
#line 353 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2299
2304
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2300
|
-
#line
|
2305
|
+
#line 2306 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2301
2306
|
break;
|
2302
2307
|
|
2303
|
-
case
|
2304
|
-
#line
|
2308
|
+
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"
|
2305
2310
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2306
|
-
#line
|
2311
|
+
#line 2312 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2307
2312
|
break;
|
2308
2313
|
|
2309
|
-
case
|
2310
|
-
#line
|
2314
|
+
case 75: /* object_literal_value_field: name COLON literal_value */
|
2315
|
+
#line 357 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2311
2316
|
{
|
2312
2317
|
yyval = MAKE_AST_NODE(Argument, 4,
|
2313
2318
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2316,29 +2321,29 @@ yyreduce:
|
|
2316
2321
|
yyvsp[0]
|
2317
2322
|
);
|
2318
2323
|
}
|
2319
|
-
#line
|
2324
|
+
#line 2325 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2320
2325
|
break;
|
2321
2326
|
|
2322
|
-
case
|
2323
|
-
#line
|
2327
|
+
case 76: /* directives_list_opt: %empty */
|
2328
|
+
#line 368 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2324
2329
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2325
|
-
#line
|
2330
|
+
#line 2331 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2326
2331
|
break;
|
2327
2332
|
|
2328
|
-
case
|
2329
|
-
#line
|
2333
|
+
case 78: /* directives_list: directive */
|
2334
|
+
#line 372 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2330
2335
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2331
|
-
#line
|
2336
|
+
#line 2337 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2332
2337
|
break;
|
2333
2338
|
|
2334
|
-
case
|
2335
|
-
#line
|
2339
|
+
case 79: /* directives_list: directives_list directive */
|
2340
|
+
#line 373 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2336
2341
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2337
|
-
#line
|
2342
|
+
#line 2343 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2338
2343
|
break;
|
2339
2344
|
|
2340
|
-
case
|
2341
|
-
#line
|
2345
|
+
case 80: /* directive: DIR_SIGN name arguments_opt */
|
2346
|
+
#line 375 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2342
2347
|
{
|
2343
2348
|
yyval = MAKE_AST_NODE(Directive, 4,
|
2344
2349
|
rb_ary_entry(yyvsp[-2], 1),
|
@@ -2347,10 +2352,10 @@ yyreduce:
|
|
2347
2352
|
yyvsp[0]
|
2348
2353
|
);
|
2349
2354
|
}
|
2350
|
-
#line
|
2355
|
+
#line 2356 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2351
2356
|
break;
|
2352
2357
|
|
2353
|
-
case
|
2358
|
+
case 101: /* fragment_spread: ELLIPSIS name_without_on directives_list_opt */
|
2354
2359
|
#line 412 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2355
2360
|
{
|
2356
2361
|
yyval = MAKE_AST_NODE(FragmentSpread, 4,
|
@@ -2360,10 +2365,10 @@ yyreduce:
|
|
2360
2365
|
yyvsp[0]
|
2361
2366
|
);
|
2362
2367
|
}
|
2363
|
-
#line
|
2368
|
+
#line 2369 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2364
2369
|
break;
|
2365
2370
|
|
2366
|
-
case
|
2371
|
+
case 102: /* inline_fragment: ELLIPSIS ON type directives_list_opt selection_set */
|
2367
2372
|
#line 422 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2368
2373
|
{
|
2369
2374
|
yyval = MAKE_AST_NODE(InlineFragment, 5,
|
@@ -2374,10 +2379,10 @@ yyreduce:
|
|
2374
2379
|
yyvsp[0]
|
2375
2380
|
);
|
2376
2381
|
}
|
2377
|
-
#line
|
2382
|
+
#line 2383 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2378
2383
|
break;
|
2379
2384
|
|
2380
|
-
case
|
2385
|
+
case 103: /* inline_fragment: ELLIPSIS directives_list_opt selection_set */
|
2381
2386
|
#line 431 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2382
2387
|
{
|
2383
2388
|
yyval = MAKE_AST_NODE(InlineFragment, 5,
|
@@ -2388,10 +2393,10 @@ yyreduce:
|
|
2388
2393
|
yyvsp[0]
|
2389
2394
|
);
|
2390
2395
|
}
|
2391
|
-
#line
|
2396
|
+
#line 2397 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2392
2397
|
break;
|
2393
2398
|
|
2394
|
-
case
|
2399
|
+
case 104: /* fragment_definition: FRAGMENT fragment_name_opt ON type directives_list_opt selection_set */
|
2395
2400
|
#line 442 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2396
2401
|
{
|
2397
2402
|
yyval = MAKE_AST_NODE(FragmentDefinition, 6,
|
@@ -2403,28 +2408,28 @@ yyreduce:
|
|
2403
2408
|
yyvsp[0]
|
2404
2409
|
);
|
2405
2410
|
}
|
2406
|
-
#line
|
2411
|
+
#line 2412 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2407
2412
|
break;
|
2408
2413
|
|
2409
|
-
case
|
2414
|
+
case 105: /* fragment_name_opt: %empty */
|
2410
2415
|
#line 454 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2411
2416
|
{ yyval = Qnil; }
|
2412
|
-
#line
|
2417
|
+
#line 2418 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2413
2418
|
break;
|
2414
2419
|
|
2415
|
-
case
|
2420
|
+
case 106: /* fragment_name_opt: name_without_on */
|
2416
2421
|
#line 455 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2417
2422
|
{ yyval = rb_ary_entry(yyvsp[0], 3); }
|
2418
|
-
#line
|
2423
|
+
#line 2424 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2419
2424
|
break;
|
2420
2425
|
|
2421
|
-
case
|
2426
|
+
case 108: /* type: nullable_type BANG */
|
2422
2427
|
#line 459 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2423
2428
|
{ yyval = MAKE_AST_NODE(NonNullType, 3, rb_funcall(yyvsp[-1], rb_intern("line"), 0), rb_funcall(yyvsp[-1], rb_intern("col"), 0), yyvsp[-1]); }
|
2424
|
-
#line
|
2429
|
+
#line 2430 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2425
2430
|
break;
|
2426
2431
|
|
2427
|
-
case
|
2432
|
+
case 109: /* nullable_type: name */
|
2428
2433
|
#line 462 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2429
2434
|
{
|
2430
2435
|
yyval = MAKE_AST_NODE(TypeName, 3,
|
@@ -2433,10 +2438,10 @@ yyreduce:
|
|
2433
2438
|
rb_ary_entry(yyvsp[0], 3)
|
2434
2439
|
);
|
2435
2440
|
}
|
2436
|
-
#line
|
2441
|
+
#line 2442 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2437
2442
|
break;
|
2438
2443
|
|
2439
|
-
case
|
2444
|
+
case 110: /* nullable_type: LBRACKET type RBRACKET */
|
2440
2445
|
#line 469 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2441
2446
|
{
|
2442
2447
|
yyval = MAKE_AST_NODE(ListType, 3,
|
@@ -2445,10 +2450,10 @@ yyreduce:
|
|
2445
2450
|
yyvsp[-1]
|
2446
2451
|
);
|
2447
2452
|
}
|
2448
|
-
#line
|
2453
|
+
#line 2454 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2449
2454
|
break;
|
2450
2455
|
|
2451
|
-
case
|
2456
|
+
case 114: /* schema_definition: SCHEMA directives_list_opt operation_type_definition_list_opt */
|
2452
2457
|
#line 483 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2453
2458
|
{
|
2454
2459
|
yyval = MAKE_AST_NODE(SchemaDefinition, 6,
|
@@ -2461,53 +2466,53 @@ yyreduce:
|
|
2461
2466
|
yyvsp[-1]
|
2462
2467
|
);
|
2463
2468
|
}
|
2464
|
-
#line
|
2469
|
+
#line 2470 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2465
2470
|
break;
|
2466
2471
|
|
2467
|
-
case
|
2472
|
+
case 115: /* operation_type_definition_list_opt: %empty */
|
2468
2473
|
#line 496 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2469
2474
|
{ yyval = rb_hash_new(); }
|
2470
|
-
#line
|
2475
|
+
#line 2476 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2471
2476
|
break;
|
2472
2477
|
|
2473
|
-
case
|
2478
|
+
case 116: /* operation_type_definition_list_opt: LCURLY operation_type_definition_list RCURLY */
|
2474
2479
|
#line 497 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2475
2480
|
{ yyval = yyvsp[-1]; }
|
2476
|
-
#line
|
2481
|
+
#line 2482 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2477
2482
|
break;
|
2478
2483
|
|
2479
|
-
case
|
2484
|
+
case 117: /* operation_type_definition_list: operation_type_definition */
|
2480
2485
|
#line 500 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2481
2486
|
{
|
2482
2487
|
yyval = rb_hash_new();
|
2483
2488
|
rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
|
2484
2489
|
}
|
2485
|
-
#line
|
2490
|
+
#line 2491 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2486
2491
|
break;
|
2487
2492
|
|
2488
|
-
case
|
2493
|
+
case 118: /* operation_type_definition_list: operation_type_definition_list operation_type_definition */
|
2489
2494
|
#line 504 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2490
2495
|
{
|
2491
2496
|
rb_hash_aset(yyval, rb_ary_entry(yyvsp[0], 0), rb_ary_entry(yyvsp[0], 1));
|
2492
2497
|
}
|
2493
|
-
#line
|
2498
|
+
#line 2499 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2494
2499
|
break;
|
2495
2500
|
|
2496
|
-
case
|
2501
|
+
case 119: /* operation_type_definition: operation_type COLON name */
|
2497
2502
|
#line 509 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2498
2503
|
{
|
2499
2504
|
yyval = rb_ary_new_from_args(2, rb_ary_entry(yyvsp[-2], 3), rb_ary_entry(yyvsp[0], 3));
|
2500
2505
|
}
|
2501
|
-
#line
|
2506
|
+
#line 2507 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2502
2507
|
break;
|
2503
2508
|
|
2504
|
-
case
|
2509
|
+
case 127: /* description_opt: %empty */
|
2505
2510
|
#line 524 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2506
2511
|
{ yyval = Qnil; }
|
2507
|
-
#line
|
2512
|
+
#line 2513 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2508
2513
|
break;
|
2509
2514
|
|
2510
|
-
case
|
2515
|
+
case 129: /* scalar_type_definition: description_opt SCALAR name directives_list_opt */
|
2511
2516
|
#line 528 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2512
2517
|
{
|
2513
2518
|
yyval = MAKE_AST_NODE(ScalarTypeDefinition, 5,
|
@@ -2519,10 +2524,10 @@ yyreduce:
|
|
2519
2524
|
yyvsp[0]
|
2520
2525
|
);
|
2521
2526
|
}
|
2522
|
-
#line
|
2527
|
+
#line 2528 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2523
2528
|
break;
|
2524
2529
|
|
2525
|
-
case
|
2530
|
+
case 130: /* object_type_definition: description_opt TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
|
2526
2531
|
#line 540 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2527
2532
|
{
|
2528
2533
|
yyval = MAKE_AST_NODE(ObjectTypeDefinition, 7,
|
@@ -2536,34 +2541,34 @@ yyreduce:
|
|
2536
2541
|
yyvsp[0]
|
2537
2542
|
);
|
2538
2543
|
}
|
2539
|
-
#line
|
2544
|
+
#line 2545 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2540
2545
|
break;
|
2541
2546
|
|
2542
|
-
case
|
2547
|
+
case 131: /* implements_opt: %empty */
|
2543
2548
|
#line 554 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2544
2549
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2545
|
-
#line
|
2550
|
+
#line 2551 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2546
2551
|
break;
|
2547
2552
|
|
2548
|
-
case
|
2553
|
+
case 132: /* implements_opt: IMPLEMENTS AMP interfaces_list */
|
2549
2554
|
#line 555 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2550
2555
|
{ yyval = yyvsp[0]; }
|
2551
|
-
#line
|
2556
|
+
#line 2557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2552
2557
|
break;
|
2553
2558
|
|
2554
|
-
case
|
2559
|
+
case 133: /* implements_opt: IMPLEMENTS interfaces_list */
|
2555
2560
|
#line 556 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2556
2561
|
{ yyval = yyvsp[0]; }
|
2557
|
-
#line
|
2562
|
+
#line 2563 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2558
2563
|
break;
|
2559
2564
|
|
2560
|
-
case
|
2565
|
+
case 134: /* implements_opt: IMPLEMENTS legacy_interfaces_list */
|
2561
2566
|
#line 557 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2562
2567
|
{ yyval = yyvsp[0]; }
|
2563
|
-
#line
|
2568
|
+
#line 2569 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2564
2569
|
break;
|
2565
2570
|
|
2566
|
-
case
|
2571
|
+
case 135: /* interfaces_list: name */
|
2567
2572
|
#line 560 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2568
2573
|
{
|
2569
2574
|
VALUE new_name = MAKE_AST_NODE(TypeName, 3,
|
@@ -2573,19 +2578,19 @@ yyreduce:
|
|
2573
2578
|
);
|
2574
2579
|
yyval = rb_ary_new_from_args(1, new_name);
|
2575
2580
|
}
|
2576
|
-
#line
|
2581
|
+
#line 2582 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2577
2582
|
break;
|
2578
2583
|
|
2579
|
-
case
|
2584
|
+
case 136: /* interfaces_list: interfaces_list AMP name */
|
2580
2585
|
#line 568 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2581
2586
|
{
|
2582
2587
|
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));
|
2583
2588
|
rb_ary_push(yyval, new_name);
|
2584
2589
|
}
|
2585
|
-
#line
|
2590
|
+
#line 2591 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2586
2591
|
break;
|
2587
2592
|
|
2588
|
-
case
|
2593
|
+
case 137: /* legacy_interfaces_list: name */
|
2589
2594
|
#line 574 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2590
2595
|
{
|
2591
2596
|
VALUE new_name = MAKE_AST_NODE(TypeName, 3,
|
@@ -2595,18 +2600,18 @@ yyreduce:
|
|
2595
2600
|
);
|
2596
2601
|
yyval = rb_ary_new_from_args(1, new_name);
|
2597
2602
|
}
|
2598
|
-
#line
|
2603
|
+
#line 2604 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2599
2604
|
break;
|
2600
2605
|
|
2601
|
-
case
|
2606
|
+
case 138: /* legacy_interfaces_list: legacy_interfaces_list name */
|
2602
2607
|
#line 582 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2603
2608
|
{
|
2604
2609
|
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)));
|
2605
2610
|
}
|
2606
|
-
#line
|
2611
|
+
#line 2612 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2607
2612
|
break;
|
2608
2613
|
|
2609
|
-
case
|
2614
|
+
case 139: /* input_value_definition: description_opt name COLON type default_value_opt directives_list_opt */
|
2610
2615
|
#line 587 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2611
2616
|
{
|
2612
2617
|
yyval = MAKE_AST_NODE(InputValueDefinition, 7,
|
@@ -2620,34 +2625,34 @@ yyreduce:
|
|
2620
2625
|
yyvsp[0]
|
2621
2626
|
);
|
2622
2627
|
}
|
2623
|
-
#line
|
2628
|
+
#line 2629 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2624
2629
|
break;
|
2625
2630
|
|
2626
|
-
case
|
2631
|
+
case 140: /* input_value_definition_list: input_value_definition */
|
2627
2632
|
#line 601 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2628
2633
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2629
|
-
#line
|
2634
|
+
#line 2635 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2630
2635
|
break;
|
2631
2636
|
|
2632
|
-
case
|
2637
|
+
case 141: /* input_value_definition_list: input_value_definition_list input_value_definition */
|
2633
2638
|
#line 602 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2634
2639
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2635
|
-
#line
|
2640
|
+
#line 2641 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2636
2641
|
break;
|
2637
2642
|
|
2638
|
-
case
|
2643
|
+
case 142: /* arguments_definitions_opt: %empty */
|
2639
2644
|
#line 605 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2640
2645
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2641
|
-
#line
|
2646
|
+
#line 2647 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2642
2647
|
break;
|
2643
2648
|
|
2644
|
-
case
|
2649
|
+
case 143: /* arguments_definitions_opt: LPAREN input_value_definition_list RPAREN */
|
2645
2650
|
#line 606 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2646
2651
|
{ yyval = yyvsp[-1]; }
|
2647
|
-
#line
|
2652
|
+
#line 2653 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2648
2653
|
break;
|
2649
2654
|
|
2650
|
-
case
|
2655
|
+
case 144: /* field_definition: description_opt name arguments_definitions_opt COLON type directives_list_opt */
|
2651
2656
|
#line 609 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2652
2657
|
{
|
2653
2658
|
yyval = MAKE_AST_NODE(FieldDefinition, 7,
|
@@ -2661,40 +2666,40 @@ yyreduce:
|
|
2661
2666
|
yyvsp[0]
|
2662
2667
|
);
|
2663
2668
|
}
|
2664
|
-
#line
|
2669
|
+
#line 2670 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2665
2670
|
break;
|
2666
2671
|
|
2667
|
-
case
|
2672
|
+
case 145: /* field_definition_list_opt: %empty */
|
2668
2673
|
#line 623 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2669
2674
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2670
|
-
#line
|
2675
|
+
#line 2676 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2671
2676
|
break;
|
2672
2677
|
|
2673
|
-
case
|
2678
|
+
case 146: /* field_definition_list_opt: LCURLY field_definition_list RCURLY */
|
2674
2679
|
#line 624 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2675
2680
|
{ yyval = yyvsp[-1]; }
|
2676
|
-
#line
|
2681
|
+
#line 2682 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2677
2682
|
break;
|
2678
2683
|
|
2679
|
-
case
|
2684
|
+
case 147: /* field_definition_list: %empty */
|
2680
2685
|
#line 627 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2681
2686
|
{ yyval = GraphQL_Language_Nodes_NONE; }
|
2682
|
-
#line
|
2687
|
+
#line 2688 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2683
2688
|
break;
|
2684
2689
|
|
2685
|
-
case
|
2690
|
+
case 148: /* field_definition_list: field_definition */
|
2686
2691
|
#line 628 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2687
2692
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2688
|
-
#line
|
2693
|
+
#line 2694 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2689
2694
|
break;
|
2690
2695
|
|
2691
|
-
case
|
2696
|
+
case 149: /* field_definition_list: field_definition_list field_definition */
|
2692
2697
|
#line 629 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2693
2698
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2694
|
-
#line
|
2699
|
+
#line 2700 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2695
2700
|
break;
|
2696
2701
|
|
2697
|
-
case
|
2702
|
+
case 150: /* interface_type_definition: description_opt INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
|
2698
2703
|
#line 632 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2699
2704
|
{
|
2700
2705
|
yyval = MAKE_AST_NODE(InterfaceTypeDefinition, 7,
|
@@ -2708,10 +2713,10 @@ yyreduce:
|
|
2708
2713
|
yyvsp[0]
|
2709
2714
|
);
|
2710
2715
|
}
|
2711
|
-
#line
|
2716
|
+
#line 2717 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2712
2717
|
break;
|
2713
2718
|
|
2714
|
-
case
|
2719
|
+
case 151: /* union_members: name */
|
2715
2720
|
#line 646 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2716
2721
|
{
|
2717
2722
|
VALUE new_member = MAKE_AST_NODE(TypeName, 3,
|
@@ -2721,18 +2726,18 @@ yyreduce:
|
|
2721
2726
|
);
|
2722
2727
|
yyval = rb_ary_new_from_args(1, new_member);
|
2723
2728
|
}
|
2724
|
-
#line
|
2729
|
+
#line 2730 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2725
2730
|
break;
|
2726
2731
|
|
2727
|
-
case
|
2732
|
+
case 152: /* union_members: union_members PIPE name */
|
2728
2733
|
#line 654 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2729
2734
|
{
|
2730
2735
|
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)));
|
2731
2736
|
}
|
2732
|
-
#line
|
2737
|
+
#line 2738 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2733
2738
|
break;
|
2734
2739
|
|
2735
|
-
case
|
2740
|
+
case 153: /* union_type_definition: description_opt UNION name directives_list_opt EQUALS union_members */
|
2736
2741
|
#line 659 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2737
2742
|
{
|
2738
2743
|
yyval = MAKE_AST_NODE(UnionTypeDefinition, 6,
|
@@ -2745,10 +2750,10 @@ yyreduce:
|
|
2745
2750
|
yyvsp[-2]
|
2746
2751
|
);
|
2747
2752
|
}
|
2748
|
-
#line
|
2753
|
+
#line 2754 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2749
2754
|
break;
|
2750
2755
|
|
2751
|
-
case
|
2756
|
+
case 154: /* enum_type_definition: description_opt ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
|
2752
2757
|
#line 672 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2753
2758
|
{
|
2754
2759
|
yyval = MAKE_AST_NODE(EnumTypeDefinition, 6,
|
@@ -2761,10 +2766,10 @@ yyreduce:
|
|
2761
2766
|
yyvsp[-1]
|
2762
2767
|
);
|
2763
2768
|
}
|
2764
|
-
#line
|
2769
|
+
#line 2770 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2765
2770
|
break;
|
2766
2771
|
|
2767
|
-
case
|
2772
|
+
case 155: /* enum_value_definition: description_opt enum_name directives_list_opt */
|
2768
2773
|
#line 685 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2769
2774
|
{
|
2770
2775
|
yyval = MAKE_AST_NODE(EnumValueDefinition, 5,
|
@@ -2776,22 +2781,22 @@ yyreduce:
|
|
2776
2781
|
yyvsp[0]
|
2777
2782
|
);
|
2778
2783
|
}
|
2779
|
-
#line
|
2784
|
+
#line 2785 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2780
2785
|
break;
|
2781
2786
|
|
2782
|
-
case
|
2787
|
+
case 156: /* enum_value_definitions: enum_value_definition */
|
2783
2788
|
#line 697 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2784
2789
|
{ yyval = rb_ary_new_from_args(1, yyvsp[0]); }
|
2785
|
-
#line
|
2790
|
+
#line 2791 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2786
2791
|
break;
|
2787
2792
|
|
2788
|
-
case
|
2793
|
+
case 157: /* enum_value_definitions: enum_value_definitions enum_value_definition */
|
2789
2794
|
#line 698 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2790
2795
|
{ rb_ary_push(yyval, yyvsp[0]); }
|
2791
|
-
#line
|
2796
|
+
#line 2797 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2792
2797
|
break;
|
2793
2798
|
|
2794
|
-
case
|
2799
|
+
case 158: /* input_object_type_definition: description_opt INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
|
2795
2800
|
#line 701 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2796
2801
|
{
|
2797
2802
|
yyval = MAKE_AST_NODE(InputObjectTypeDefinition, 6,
|
@@ -2804,10 +2809,10 @@ yyreduce:
|
|
2804
2809
|
yyvsp[-1]
|
2805
2810
|
);
|
2806
2811
|
}
|
2807
|
-
#line
|
2812
|
+
#line 2813 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2808
2813
|
break;
|
2809
2814
|
|
2810
|
-
case
|
2815
|
+
case 159: /* directive_definition: description_opt DIRECTIVE DIR_SIGN name arguments_definitions_opt directive_repeatable_opt ON directive_locations */
|
2811
2816
|
#line 714 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2812
2817
|
{
|
2813
2818
|
yyval = MAKE_AST_NODE(DirectiveDefinition, 7,
|
@@ -2821,34 +2826,34 @@ yyreduce:
|
|
2821
2826
|
yyvsp[0]
|
2822
2827
|
);
|
2823
2828
|
}
|
2824
|
-
#line
|
2829
|
+
#line 2830 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2825
2830
|
break;
|
2826
2831
|
|
2827
|
-
case
|
2832
|
+
case 160: /* directive_repeatable_opt: %empty */
|
2828
2833
|
#line 728 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2829
2834
|
{ yyval = Qnil; }
|
2830
|
-
#line
|
2835
|
+
#line 2836 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2831
2836
|
break;
|
2832
2837
|
|
2833
|
-
case
|
2838
|
+
case 161: /* directive_repeatable_opt: REPEATABLE */
|
2834
2839
|
#line 729 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2835
2840
|
{ yyval = Qtrue; }
|
2836
|
-
#line
|
2841
|
+
#line 2842 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2837
2842
|
break;
|
2838
2843
|
|
2839
|
-
case
|
2844
|
+
case 162: /* directive_locations: name */
|
2840
2845
|
#line 732 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2841
2846
|
{ 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))); }
|
2842
|
-
#line
|
2847
|
+
#line 2848 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2843
2848
|
break;
|
2844
2849
|
|
2845
|
-
case
|
2850
|
+
case 163: /* directive_locations: directive_locations PIPE name */
|
2846
2851
|
#line 733 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2847
2852
|
{ 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))); }
|
2848
|
-
#line
|
2853
|
+
#line 2854 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2849
2854
|
break;
|
2850
2855
|
|
2851
|
-
case
|
2856
|
+
case 166: /* schema_extension: EXTEND SCHEMA directives_list_opt LCURLY operation_type_definition_list RCURLY */
|
2852
2857
|
#line 741 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2853
2858
|
{
|
2854
2859
|
yyval = MAKE_AST_NODE(SchemaExtension, 6,
|
@@ -2861,10 +2866,10 @@ yyreduce:
|
|
2861
2866
|
yyvsp[-3]
|
2862
2867
|
);
|
2863
2868
|
}
|
2864
|
-
#line
|
2869
|
+
#line 2870 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2865
2870
|
break;
|
2866
2871
|
|
2867
|
-
case
|
2872
|
+
case 167: /* schema_extension: EXTEND SCHEMA directives_list */
|
2868
2873
|
#line 752 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2869
2874
|
{
|
2870
2875
|
yyval = MAKE_AST_NODE(SchemaExtension, 6,
|
@@ -2876,10 +2881,10 @@ yyreduce:
|
|
2876
2881
|
yyvsp[0]
|
2877
2882
|
);
|
2878
2883
|
}
|
2879
|
-
#line
|
2884
|
+
#line 2885 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2880
2885
|
break;
|
2881
2886
|
|
2882
|
-
case
|
2887
|
+
case 174: /* scalar_type_extension: EXTEND SCALAR name directives_list */
|
2883
2888
|
#line 771 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2884
2889
|
{
|
2885
2890
|
yyval = MAKE_AST_NODE(ScalarTypeExtension, 4,
|
@@ -2889,10 +2894,10 @@ yyreduce:
|
|
2889
2894
|
yyvsp[0]
|
2890
2895
|
);
|
2891
2896
|
}
|
2892
|
-
#line
|
2897
|
+
#line 2898 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2893
2898
|
break;
|
2894
2899
|
|
2895
|
-
case
|
2900
|
+
case 175: /* object_type_extension: EXTEND TYPE_LITERAL name implements_opt directives_list_opt field_definition_list_opt */
|
2896
2901
|
#line 781 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2897
2902
|
{
|
2898
2903
|
yyval = MAKE_AST_NODE(ObjectTypeExtension, 6,
|
@@ -2904,10 +2909,10 @@ yyreduce:
|
|
2904
2909
|
yyvsp[0]
|
2905
2910
|
);
|
2906
2911
|
}
|
2907
|
-
#line
|
2912
|
+
#line 2913 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2908
2913
|
break;
|
2909
2914
|
|
2910
|
-
case
|
2915
|
+
case 176: /* interface_type_extension: EXTEND INTERFACE name implements_opt directives_list_opt field_definition_list_opt */
|
2911
2916
|
#line 793 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2912
2917
|
{
|
2913
2918
|
yyval = MAKE_AST_NODE(InterfaceTypeExtension, 6,
|
@@ -2919,10 +2924,10 @@ yyreduce:
|
|
2919
2924
|
yyvsp[0]
|
2920
2925
|
);
|
2921
2926
|
}
|
2922
|
-
#line
|
2927
|
+
#line 2928 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2923
2928
|
break;
|
2924
2929
|
|
2925
|
-
case
|
2930
|
+
case 177: /* union_type_extension: EXTEND UNION name directives_list_opt EQUALS union_members */
|
2926
2931
|
#line 805 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2927
2932
|
{
|
2928
2933
|
yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
|
@@ -2933,10 +2938,10 @@ yyreduce:
|
|
2933
2938
|
yyvsp[-2]
|
2934
2939
|
);
|
2935
2940
|
}
|
2936
|
-
#line
|
2941
|
+
#line 2942 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2937
2942
|
break;
|
2938
2943
|
|
2939
|
-
case
|
2944
|
+
case 178: /* union_type_extension: EXTEND UNION name directives_list */
|
2940
2945
|
#line 814 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2941
2946
|
{
|
2942
2947
|
yyval = MAKE_AST_NODE(UnionTypeExtension, 5,
|
@@ -2947,10 +2952,10 @@ yyreduce:
|
|
2947
2952
|
yyvsp[0]
|
2948
2953
|
);
|
2949
2954
|
}
|
2950
|
-
#line
|
2955
|
+
#line 2956 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2951
2956
|
break;
|
2952
2957
|
|
2953
|
-
case
|
2958
|
+
case 179: /* enum_type_extension: EXTEND ENUM name directives_list_opt LCURLY enum_value_definitions RCURLY */
|
2954
2959
|
#line 825 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2955
2960
|
{
|
2956
2961
|
yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
|
@@ -2961,10 +2966,10 @@ yyreduce:
|
|
2961
2966
|
yyvsp[-1]
|
2962
2967
|
);
|
2963
2968
|
}
|
2964
|
-
#line
|
2969
|
+
#line 2970 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2965
2970
|
break;
|
2966
2971
|
|
2967
|
-
case
|
2972
|
+
case 180: /* enum_type_extension: EXTEND ENUM name directives_list */
|
2968
2973
|
#line 834 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2969
2974
|
{
|
2970
2975
|
yyval = MAKE_AST_NODE(EnumTypeExtension, 5,
|
@@ -2975,10 +2980,10 @@ yyreduce:
|
|
2975
2980
|
GraphQL_Language_Nodes_NONE
|
2976
2981
|
);
|
2977
2982
|
}
|
2978
|
-
#line
|
2983
|
+
#line 2984 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2979
2984
|
break;
|
2980
2985
|
|
2981
|
-
case
|
2986
|
+
case 181: /* input_object_type_extension: EXTEND INPUT name directives_list_opt LCURLY input_value_definition_list RCURLY */
|
2982
2987
|
#line 845 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2983
2988
|
{
|
2984
2989
|
yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
|
@@ -2989,10 +2994,10 @@ yyreduce:
|
|
2989
2994
|
yyvsp[-1]
|
2990
2995
|
);
|
2991
2996
|
}
|
2992
|
-
#line
|
2997
|
+
#line 2998 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
2993
2998
|
break;
|
2994
2999
|
|
2995
|
-
case
|
3000
|
+
case 182: /* input_object_type_extension: EXTEND INPUT name directives_list */
|
2996
3001
|
#line 854 "graphql-c_parser/ext/graphql_c_parser_ext/parser.y"
|
2997
3002
|
{
|
2998
3003
|
yyval = MAKE_AST_NODE(InputObjectTypeExtension, 5,
|
@@ -3003,11 +3008,11 @@ yyreduce:
|
|
3003
3008
|
GraphQL_Language_Nodes_NONE
|
3004
3009
|
);
|
3005
3010
|
}
|
3006
|
-
#line
|
3011
|
+
#line 3012 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
3007
3012
|
break;
|
3008
3013
|
|
3009
3014
|
|
3010
|
-
#line
|
3015
|
+
#line 3016 "graphql-c_parser/ext/graphql_c_parser_ext/parser.c"
|
3011
3016
|
|
3012
3017
|
default: break;
|
3013
3018
|
}
|