graphql 0.14.2 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f42f86dd42811f58e382b89aea90f7969527970
4
- data.tar.gz: 10da7aeadbc8f5eb5ada9a8295ffa78d4caebe58
3
+ metadata.gz: b05e30846cd7aaf5a2ee24b7fea5e780497fd578
4
+ data.tar.gz: 879023d3b8d9dfc5f9632dbce3261a9fd929eb2c
5
5
  SHA512:
6
- metadata.gz: 3059deb5a8f1eab358417390ecd8fb47dfe8d3560323f725143572c507fb0d63f6ae458dafb10ab13c17ab675000633b1def409d06a656483d2286334eec969b
7
- data.tar.gz: 2fa0cbd823cb31e5571740bade7efdfd7e57bf1d409162fa24738b2bf993f958ec1fdcb644470d8e6e5a28a1d0b2bf4246131bec3956c09c7c2856249dc72aa6
6
+ metadata.gz: 986b994481cc72714bbe5fd67758e75afc5c0132f1e3aec57cda5b7dcea055d2fb9261ae753111a99c9063455f6a8c448637f9cbcf6e7782f7f19935e0248e5a
7
+ data.tar.gz: 6a4c3232002d4a87eccc7bea571736c75e5f9225f845a4d83ec313556d50297dd3100715f21bd3a496d6cf9b4b5ba4800723a9409b8e0b1d3209da859b278e76
@@ -1,7 +1,7 @@
1
1
 
2
2
  # line 1 "lib/graphql/language/lexer.rl"
3
3
 
4
- # line 78 "lib/graphql/language/lexer.rl"
4
+ # line 72 "lib/graphql/language/lexer.rl"
5
5
 
6
6
 
7
7
 
@@ -30,17 +30,16 @@ class << self
30
30
  end
31
31
  self._graphql_lexer_actions = [
32
32
  0, 1, 0, 1, 1, 1, 2, 1,
33
- 16, 1, 17, 1, 18, 1, 19, 1,
34
- 20, 1, 21, 1, 22, 1, 23, 1,
35
- 24, 1, 25, 1, 26, 1, 27, 1,
36
- 28, 1, 29, 1, 30, 1, 31, 1,
37
- 32, 1, 33, 1, 34, 1, 35, 1,
38
- 36, 1, 37, 1, 38, 1, 39, 2,
33
+ 13, 1, 14, 1, 15, 1, 16, 1,
34
+ 17, 1, 18, 1, 19, 1, 20, 1,
35
+ 21, 1, 22, 1, 23, 1, 24, 1,
36
+ 25, 1, 26, 1, 27, 1, 28, 1,
37
+ 29, 1, 30, 1, 31, 1, 32, 1,
38
+ 33, 1, 34, 1, 35, 1, 36, 2,
39
39
  2, 3, 2, 2, 4, 2, 2, 5,
40
40
  2, 2, 6, 2, 2, 7, 2, 2,
41
41
  8, 2, 2, 9, 2, 2, 10, 2,
42
- 2, 11, 2, 2, 12, 2, 2, 13,
43
- 2, 2, 14, 2, 2, 15
42
+ 2, 11, 2, 2, 12
44
43
  ]
45
44
 
46
45
  class << self
@@ -48,13 +47,11 @@ class << self
48
47
  private :_graphql_lexer_key_offsets, :_graphql_lexer_key_offsets=
49
48
  end
50
49
  self._graphql_lexer_key_offsets = [
51
- 0, 2, 4, 6, 8, 12, 13, 48,
52
- 51, 53, 55, 58, 65, 67, 73, 80,
53
- 81, 88, 97, 105, 113, 121, 129, 137,
54
- 145, 153, 161, 169, 177, 185, 193, 201,
55
- 209, 217, 225, 233, 241, 249, 257, 265,
56
- 273, 281, 289, 297, 305, 313, 321, 329,
57
- 337, 345, 353, 361, 369, 377, 385, 393
50
+ 0, 2, 4, 6, 8, 12, 13, 45,
51
+ 48, 50, 52, 55, 62, 64, 70, 77,
52
+ 78, 85, 94, 102, 110, 118, 126, 134,
53
+ 142, 150, 158, 166, 174, 182, 190, 198,
54
+ 206, 214
58
55
  ]
59
56
 
60
57
  class << self
@@ -66,53 +63,30 @@ self._graphql_lexer_trans_keys = [
66
63
  43, 45, 48, 57, 46, 9, 10, 13,
67
64
  32, 33, 34, 35, 36, 40, 41, 44,
68
65
  45, 46, 48, 58, 61, 64, 91, 93,
69
- 95, 102, 109, 110, 111, 113, 115, 116,
70
- 123, 125, 49, 57, 65, 90, 97, 122,
71
- 9, 32, 44, 34, 92, 10, 13, 48,
72
- 49, 57, 43, 45, 46, 69, 101, 48,
73
- 57, 48, 57, 43, 45, 69, 101, 48,
74
- 57, 43, 45, 46, 69, 101, 48, 57,
75
- 46, 95, 48, 57, 65, 90, 97, 122,
76
- 95, 97, 114, 48, 57, 65, 90, 98,
77
- 122, 95, 108, 48, 57, 65, 90, 97,
78
- 122, 95, 115, 48, 57, 65, 90, 97,
79
- 122, 95, 101, 48, 57, 65, 90, 97,
80
- 122, 95, 97, 48, 57, 65, 90, 98,
81
- 122, 95, 103, 48, 57, 65, 90, 97,
82
- 122, 95, 109, 48, 57, 65, 90, 97,
83
- 122, 95, 101, 48, 57, 65, 90, 97,
84
- 122, 95, 110, 48, 57, 65, 90, 97,
85
- 122, 95, 116, 48, 57, 65, 90, 97,
86
- 122, 95, 117, 48, 57, 65, 90, 97,
87
- 122, 95, 116, 48, 57, 65, 90, 97,
88
- 122, 95, 97, 48, 57, 65, 90, 98,
89
- 122, 95, 116, 48, 57, 65, 90, 97,
90
- 122, 95, 105, 48, 57, 65, 90, 97,
91
- 122, 95, 111, 48, 57, 65, 90, 97,
92
- 122, 95, 110, 48, 57, 65, 90, 97,
93
- 122, 95, 117, 48, 57, 65, 90, 97,
94
- 122, 95, 108, 48, 57, 65, 90, 97,
95
- 122, 95, 108, 48, 57, 65, 90, 97,
96
- 122, 95, 110, 48, 57, 65, 90, 97,
97
- 122, 95, 117, 48, 57, 65, 90, 97,
98
- 122, 95, 101, 48, 57, 65, 90, 97,
99
- 122, 95, 114, 48, 57, 65, 90, 97,
100
- 122, 95, 121, 48, 57, 65, 90, 97,
101
- 122, 95, 117, 48, 57, 65, 90, 97,
102
- 122, 95, 98, 48, 57, 65, 90, 97,
103
- 122, 95, 115, 48, 57, 65, 90, 97,
104
- 122, 95, 99, 48, 57, 65, 90, 97,
105
- 122, 95, 114, 48, 57, 65, 90, 97,
106
- 122, 95, 105, 48, 57, 65, 90, 97,
107
- 122, 95, 112, 48, 57, 65, 90, 97,
108
- 122, 95, 116, 48, 57, 65, 90, 97,
109
- 122, 95, 105, 48, 57, 65, 90, 97,
110
- 122, 95, 111, 48, 57, 65, 90, 97,
111
- 122, 95, 110, 48, 57, 65, 90, 97,
112
- 122, 95, 114, 48, 57, 65, 90, 97,
113
- 122, 95, 117, 48, 57, 65, 90, 97,
114
- 122, 95, 101, 48, 57, 65, 90, 97,
115
- 122, 0
66
+ 95, 102, 110, 111, 116, 123, 125, 49,
67
+ 57, 65, 90, 97, 122, 9, 32, 44,
68
+ 34, 92, 10, 13, 48, 49, 57, 43,
69
+ 45, 46, 69, 101, 48, 57, 48, 57,
70
+ 43, 45, 69, 101, 48, 57, 43, 45,
71
+ 46, 69, 101, 48, 57, 46, 95, 48,
72
+ 57, 65, 90, 97, 122, 95, 97, 114,
73
+ 48, 57, 65, 90, 98, 122, 95, 108,
74
+ 48, 57, 65, 90, 97, 122, 95, 115,
75
+ 48, 57, 65, 90, 97, 122, 95, 101,
76
+ 48, 57, 65, 90, 97, 122, 95, 97,
77
+ 48, 57, 65, 90, 98, 122, 95, 103,
78
+ 48, 57, 65, 90, 97, 122, 95, 109,
79
+ 48, 57, 65, 90, 97, 122, 95, 101,
80
+ 48, 57, 65, 90, 97, 122, 95, 110,
81
+ 48, 57, 65, 90, 97, 122, 95, 116,
82
+ 48, 57, 65, 90, 97, 122, 95, 117,
83
+ 48, 57, 65, 90, 97, 122, 95, 108,
84
+ 48, 57, 65, 90, 97, 122, 95, 108,
85
+ 48, 57, 65, 90, 97, 122, 95, 110,
86
+ 48, 57, 65, 90, 97, 122, 95, 114,
87
+ 48, 57, 65, 90, 97, 122, 95, 117,
88
+ 48, 57, 65, 90, 97, 122, 95, 101,
89
+ 48, 57, 65, 90, 97, 122, 0
116
90
  ]
117
91
 
118
92
  class << self
@@ -120,13 +94,11 @@ class << self
120
94
  private :_graphql_lexer_single_lengths, :_graphql_lexer_single_lengths=
121
95
  end
122
96
  self._graphql_lexer_single_lengths = [
123
- 2, 2, 0, 0, 2, 1, 29, 3,
97
+ 2, 2, 0, 0, 2, 1, 26, 3,
124
98
  2, 2, 1, 5, 0, 4, 5, 1,
125
99
  1, 3, 2, 2, 2, 2, 2, 2,
126
100
  2, 2, 2, 2, 2, 2, 2, 2,
127
- 2, 2, 2, 2, 2, 2, 2, 2,
128
- 2, 2, 2, 2, 2, 2, 2, 2,
129
- 2, 2, 2, 2, 2, 2, 2, 2
101
+ 2, 2
130
102
  ]
131
103
 
132
104
  class << self
@@ -138,9 +110,7 @@ self._graphql_lexer_range_lengths = [
138
110
  0, 0, 1, 1, 1, 1, 1, 0,
139
111
  3, 3, 3, 3, 3, 3, 3, 3,
140
112
  3, 3, 3, 3, 3, 3, 3, 3,
141
- 3, 3, 3, 3, 3, 3, 3, 3,
142
- 3, 3, 3, 3, 3, 3, 3, 3,
143
- 3, 3, 3, 3, 3, 3, 3, 3
113
+ 3, 3
144
114
  ]
145
115
 
146
116
  class << self
@@ -148,13 +118,11 @@ class << self
148
118
  private :_graphql_lexer_index_offsets, :_graphql_lexer_index_offsets=
149
119
  end
150
120
  self._graphql_lexer_index_offsets = [
151
- 0, 3, 6, 8, 10, 14, 16, 49,
152
- 53, 56, 59, 62, 69, 71, 77, 84,
153
- 86, 91, 98, 104, 110, 116, 122, 128,
154
- 134, 140, 146, 152, 158, 164, 170, 176,
155
- 182, 188, 194, 200, 206, 212, 218, 224,
156
- 230, 236, 242, 248, 254, 260, 266, 272,
157
- 278, 284, 290, 296, 302, 308, 314, 320
121
+ 0, 3, 6, 8, 10, 14, 16, 46,
122
+ 50, 53, 56, 59, 66, 68, 74, 81,
123
+ 83, 88, 95, 101, 107, 113, 119, 125,
124
+ 131, 137, 143, 149, 155, 161, 167, 173,
125
+ 179, 185
158
126
  ]
159
127
 
160
128
  class << self
@@ -167,42 +135,25 @@ self._graphql_lexer_indicies = [
167
135
  12, 13, 13, 12, 14, 15, 16, 17,
168
136
  18, 19, 12, 20, 21, 22, 24, 25,
169
137
  26, 28, 29, 27, 30, 31, 32, 33,
170
- 34, 35, 36, 37, 38, 23, 27, 27,
171
- 11, 12, 12, 12, 39, 2, 3, 1,
172
- 40, 40, 16, 22, 23, 41, 8, 8,
173
- 43, 44, 44, 5, 42, 5, 45, 8,
174
- 8, 44, 44, 7, 45, 8, 8, 43,
175
- 44, 44, 23, 42, 46, 41, 27, 27,
176
- 27, 27, 0, 27, 48, 49, 27, 27,
177
- 27, 47, 27, 50, 27, 27, 27, 47,
178
- 27, 51, 27, 27, 27, 47, 27, 52,
179
- 27, 27, 27, 47, 27, 53, 27, 27,
180
- 27, 47, 27, 54, 27, 27, 27, 47,
181
- 27, 55, 27, 27, 27, 47, 27, 56,
182
- 27, 27, 27, 47, 27, 57, 27, 27,
183
- 27, 47, 27, 58, 27, 27, 27, 47,
184
- 27, 59, 27, 27, 27, 47, 27, 60,
185
- 27, 27, 27, 47, 27, 61, 27, 27,
186
- 27, 47, 27, 62, 27, 27, 27, 47,
187
- 27, 63, 27, 27, 27, 47, 27, 64,
188
- 27, 27, 27, 47, 27, 65, 27, 27,
189
- 27, 47, 27, 66, 27, 27, 27, 47,
190
- 27, 67, 27, 27, 27, 47, 27, 68,
191
- 27, 27, 27, 47, 27, 69, 27, 27,
192
- 27, 47, 27, 70, 27, 27, 27, 47,
193
- 27, 71, 27, 27, 27, 47, 27, 72,
194
- 27, 27, 27, 47, 27, 73, 27, 27,
195
- 27, 47, 27, 74, 27, 27, 27, 47,
196
- 27, 75, 27, 27, 27, 47, 27, 76,
197
- 27, 27, 27, 47, 27, 77, 27, 27,
198
- 27, 47, 27, 78, 27, 27, 27, 47,
199
- 27, 79, 27, 27, 27, 47, 27, 80,
200
- 27, 27, 27, 47, 27, 81, 27, 27,
201
- 27, 47, 27, 82, 27, 27, 27, 47,
202
- 27, 83, 27, 27, 27, 47, 27, 84,
203
- 27, 27, 27, 47, 27, 85, 27, 27,
204
- 27, 47, 27, 86, 27, 27, 27, 47,
205
- 27, 87, 27, 27, 27, 47, 0
138
+ 34, 35, 23, 27, 27, 11, 12, 12,
139
+ 12, 36, 2, 3, 1, 37, 37, 16,
140
+ 22, 23, 38, 8, 8, 40, 41, 41,
141
+ 5, 39, 5, 42, 8, 8, 41, 41,
142
+ 7, 42, 8, 8, 40, 41, 41, 23,
143
+ 39, 43, 38, 27, 27, 27, 27, 0,
144
+ 27, 45, 46, 27, 27, 27, 44, 27,
145
+ 47, 27, 27, 27, 44, 27, 48, 27,
146
+ 27, 27, 44, 27, 49, 27, 27, 27,
147
+ 44, 27, 50, 27, 27, 27, 44, 27,
148
+ 51, 27, 27, 27, 44, 27, 52, 27,
149
+ 27, 27, 44, 27, 53, 27, 27, 27,
150
+ 44, 27, 54, 27, 27, 27, 44, 27,
151
+ 55, 27, 27, 27, 44, 27, 56, 27,
152
+ 27, 27, 44, 27, 57, 27, 27, 27,
153
+ 44, 27, 58, 27, 27, 27, 44, 27,
154
+ 59, 27, 27, 27, 44, 27, 60, 27,
155
+ 27, 27, 44, 27, 61, 27, 27, 27,
156
+ 44, 27, 62, 27, 27, 27, 44, 0
206
157
  ]
207
158
 
208
159
  class << self
@@ -214,13 +165,10 @@ self._graphql_lexer_trans_targs = [
214
165
  2, 6, 6, 6, 7, 6, 6, 8,
215
166
  9, 6, 6, 6, 10, 15, 11, 14,
216
167
  6, 6, 6, 16, 6, 6, 17, 27,
217
- 34, 37, 38, 42, 53, 6, 6, 6,
218
- 6, 6, 6, 3, 4, 6, 5, 6,
219
- 18, 21, 19, 20, 16, 22, 23, 24,
220
- 25, 26, 16, 28, 29, 30, 31, 32,
221
- 33, 16, 35, 36, 16, 16, 39, 40,
222
- 41, 16, 43, 44, 45, 46, 47, 48,
223
- 49, 50, 51, 52, 16, 54, 55, 16
168
+ 30, 31, 6, 6, 6, 6, 6, 6,
169
+ 3, 4, 6, 5, 6, 18, 21, 19,
170
+ 20, 16, 22, 23, 24, 25, 26, 16,
171
+ 28, 29, 16, 16, 32, 33, 16
224
172
  ]
225
173
 
226
174
  class << self
@@ -228,17 +176,14 @@ class << self
228
176
  private :_graphql_lexer_trans_actions, :_graphql_lexer_trans_actions=
229
177
  end
230
178
  self._graphql_lexer_trans_actions = [
231
- 53, 0, 21, 0, 85, 0, 49, 58,
232
- 0, 51, 27, 35, 0, 33, 31, 91,
179
+ 53, 0, 21, 0, 76, 0, 49, 58,
180
+ 0, 51, 27, 35, 0, 33, 31, 82,
233
181
  0, 23, 11, 13, 0, 5, 55, 55,
234
- 19, 29, 25, 88, 15, 17, 0, 0,
235
- 0, 0, 0, 0, 0, 7, 9, 43,
236
- 45, 47, 37, 0, 0, 39, 0, 41,
237
- 0, 0, 0, 0, 70, 0, 0, 0,
238
- 0, 0, 64, 0, 0, 0, 0, 0,
239
- 0, 79, 0, 0, 73, 61, 0, 0,
240
- 0, 76, 0, 0, 0, 0, 0, 0,
241
- 0, 0, 0, 0, 82, 0, 0, 67
182
+ 19, 29, 25, 79, 15, 17, 0, 0,
183
+ 0, 0, 7, 9, 43, 45, 47, 37,
184
+ 0, 0, 39, 0, 41, 0, 0, 0,
185
+ 0, 70, 0, 0, 0, 0, 0, 64,
186
+ 0, 0, 73, 61, 0, 0, 67
242
187
  ]
243
188
 
244
189
  class << self
@@ -250,9 +195,7 @@ self._graphql_lexer_to_state_actions = [
250
195
  0, 0, 0, 0, 0, 0, 0, 0,
251
196
  0, 0, 0, 0, 0, 0, 0, 0,
252
197
  0, 0, 0, 0, 0, 0, 0, 0,
253
- 0, 0, 0, 0, 0, 0, 0, 0,
254
- 0, 0, 0, 0, 0, 0, 0, 0,
255
- 0, 0, 0, 0, 0, 0, 0, 0
198
+ 0, 0
256
199
  ]
257
200
 
258
201
  class << self
@@ -264,9 +207,7 @@ self._graphql_lexer_from_state_actions = [
264
207
  0, 0, 0, 0, 0, 0, 0, 0,
265
208
  0, 0, 0, 0, 0, 0, 0, 0,
266
209
  0, 0, 0, 0, 0, 0, 0, 0,
267
- 0, 0, 0, 0, 0, 0, 0, 0,
268
- 0, 0, 0, 0, 0, 0, 0, 0,
269
- 0, 0, 0, 0, 0, 0, 0, 0
210
+ 0, 0
270
211
  ]
271
212
 
272
213
  class << self
@@ -274,13 +215,11 @@ class << self
274
215
  private :_graphql_lexer_eof_trans, :_graphql_lexer_eof_trans=
275
216
  end
276
217
  self._graphql_lexer_eof_trans = [
277
- 1, 1, 1, 7, 1, 10, 0, 40,
278
- 1, 41, 42, 43, 46, 46, 43, 42,
279
- 1, 48, 48, 48, 48, 48, 48, 48,
280
- 48, 48, 48, 48, 48, 48, 48, 48,
281
- 48, 48, 48, 48, 48, 48, 48, 48,
282
- 48, 48, 48, 48, 48, 48, 48, 48,
283
- 48, 48, 48, 48, 48, 48, 48, 48
218
+ 1, 1, 1, 7, 1, 10, 0, 37,
219
+ 1, 38, 39, 40, 43, 43, 40, 39,
220
+ 1, 45, 45, 45, 45, 45, 45, 45,
221
+ 45, 45, 45, 45, 45, 45, 45, 45,
222
+ 45, 45
284
223
  ]
285
224
 
286
225
  class << self
@@ -302,7 +241,7 @@ end
302
241
  self.graphql_lexer_en_main = 6;
303
242
 
304
243
 
305
- # line 99 "lib/graphql/language/lexer.rl"
244
+ # line 93 "lib/graphql/language/lexer.rl"
306
245
 
307
246
  def self.run_lexer(query_string)
308
247
  data = query_string.unpack("c*")
@@ -316,7 +255,7 @@ self.graphql_lexer_en_main = 6;
316
255
  }
317
256
 
318
257
 
319
- # line 320 "lib/graphql/language/lexer.rb"
258
+ # line 259 "lib/graphql/language/lexer.rb"
320
259
  begin
321
260
  p ||= 0
322
261
  pe ||= data.length
@@ -326,14 +265,14 @@ begin
326
265
  act = 0
327
266
  end
328
267
 
329
- # line 112 "lib/graphql/language/lexer.rl"
268
+ # line 106 "lib/graphql/language/lexer.rl"
330
269
 
331
270
  emit_token = -> (name) {
332
271
  emit(name, ts, te, meta)
333
272
  }
334
273
 
335
274
 
336
- # line 337 "lib/graphql/language/lexer.rb"
275
+ # line 276 "lib/graphql/language/lexer.rb"
337
276
  begin
338
277
  _klen, _trans, _keys, _acts, _nacts = nil
339
278
  _goto_level = 0
@@ -363,7 +302,7 @@ begin
363
302
  begin
364
303
  ts = p
365
304
  end
366
- # line 367 "lib/graphql/language/lexer.rb"
305
+ # line 306 "lib/graphql/language/lexer.rb"
367
306
  end # from state action switch
368
307
  end
369
308
  if _trigger_goto
@@ -436,137 +375,125 @@ when 2 then
436
375
  te = p+1
437
376
  end
438
377
  when 3 then
439
- # line 42 "lib/graphql/language/lexer.rl"
378
+ # line 39 "lib/graphql/language/lexer.rl"
440
379
  begin
441
380
  act = 1; end
442
381
  when 4 then
443
- # line 43 "lib/graphql/language/lexer.rl"
382
+ # line 40 "lib/graphql/language/lexer.rl"
444
383
  begin
445
384
  act = 2; end
446
385
  when 5 then
447
- # line 44 "lib/graphql/language/lexer.rl"
386
+ # line 41 "lib/graphql/language/lexer.rl"
448
387
  begin
449
388
  act = 3; end
450
389
  when 6 then
451
- # line 45 "lib/graphql/language/lexer.rl"
390
+ # line 42 "lib/graphql/language/lexer.rl"
452
391
  begin
453
392
  act = 4; end
454
393
  when 7 then
455
- # line 46 "lib/graphql/language/lexer.rl"
394
+ # line 43 "lib/graphql/language/lexer.rl"
456
395
  begin
457
396
  act = 5; end
458
397
  when 8 then
459
- # line 47 "lib/graphql/language/lexer.rl"
398
+ # line 44 "lib/graphql/language/lexer.rl"
460
399
  begin
461
400
  act = 6; end
462
401
  when 9 then
463
- # line 48 "lib/graphql/language/lexer.rl"
402
+ # line 45 "lib/graphql/language/lexer.rl"
464
403
  begin
465
404
  act = 7; end
466
405
  when 10 then
467
- # line 49 "lib/graphql/language/lexer.rl"
406
+ # line 53 "lib/graphql/language/lexer.rl"
468
407
  begin
469
- act = 8; end
408
+ act = 15; end
470
409
  when 11 then
471
- # line 50 "lib/graphql/language/lexer.rl"
410
+ # line 59 "lib/graphql/language/lexer.rl"
472
411
  begin
473
- act = 9; end
412
+ act = 21; end
474
413
  when 12 then
475
- # line 51 "lib/graphql/language/lexer.rl"
414
+ # line 69 "lib/graphql/language/lexer.rl"
476
415
  begin
477
- act = 10; end
416
+ act = 25; end
478
417
  when 13 then
479
- # line 59 "lib/graphql/language/lexer.rl"
480
- begin
481
- act = 18; end
482
- when 14 then
483
- # line 65 "lib/graphql/language/lexer.rl"
484
- begin
485
- act = 24; end
486
- when 15 then
487
- # line 75 "lib/graphql/language/lexer.rl"
488
- begin
489
- act = 28; end
490
- when 16 then
491
- # line 52 "lib/graphql/language/lexer.rl"
418
+ # line 46 "lib/graphql/language/lexer.rl"
492
419
  begin
493
420
  te = p+1
494
421
  begin emit_token.call(:RCURLY) end
495
422
  end
496
- when 17 then
497
- # line 53 "lib/graphql/language/lexer.rl"
423
+ when 14 then
424
+ # line 47 "lib/graphql/language/lexer.rl"
498
425
  begin
499
426
  te = p+1
500
427
  begin emit_token.call(:LCURLY) end
501
428
  end
502
- when 18 then
503
- # line 54 "lib/graphql/language/lexer.rl"
429
+ when 15 then
430
+ # line 48 "lib/graphql/language/lexer.rl"
504
431
  begin
505
432
  te = p+1
506
433
  begin emit_token.call(:RPAREN) end
507
434
  end
508
- when 19 then
509
- # line 55 "lib/graphql/language/lexer.rl"
435
+ when 16 then
436
+ # line 49 "lib/graphql/language/lexer.rl"
510
437
  begin
511
438
  te = p+1
512
439
  begin emit_token.call(:LPAREN) end
513
440
  end
514
- when 20 then
515
- # line 56 "lib/graphql/language/lexer.rl"
441
+ when 17 then
442
+ # line 50 "lib/graphql/language/lexer.rl"
516
443
  begin
517
444
  te = p+1
518
445
  begin emit_token.call(:RBRACKET) end
519
446
  end
520
- when 21 then
521
- # line 57 "lib/graphql/language/lexer.rl"
447
+ when 18 then
448
+ # line 51 "lib/graphql/language/lexer.rl"
522
449
  begin
523
450
  te = p+1
524
451
  begin emit_token.call(:LBRACKET) end
525
452
  end
526
- when 22 then
527
- # line 58 "lib/graphql/language/lexer.rl"
453
+ when 19 then
454
+ # line 52 "lib/graphql/language/lexer.rl"
528
455
  begin
529
456
  te = p+1
530
457
  begin emit_token.call(:COLON) end
531
458
  end
532
- when 23 then
533
- # line 59 "lib/graphql/language/lexer.rl"
459
+ when 20 then
460
+ # line 53 "lib/graphql/language/lexer.rl"
534
461
  begin
535
462
  te = p+1
536
463
  begin emit_string(ts + 1, te - 1, meta) end
537
464
  end
538
- when 24 then
539
- # line 60 "lib/graphql/language/lexer.rl"
465
+ when 21 then
466
+ # line 54 "lib/graphql/language/lexer.rl"
540
467
  begin
541
468
  te = p+1
542
469
  begin emit_token.call(:VAR_SIGN) end
543
470
  end
544
- when 25 then
545
- # line 61 "lib/graphql/language/lexer.rl"
471
+ when 22 then
472
+ # line 55 "lib/graphql/language/lexer.rl"
546
473
  begin
547
474
  te = p+1
548
475
  begin emit_token.call(:DIR_SIGN) end
549
476
  end
550
- when 26 then
551
- # line 62 "lib/graphql/language/lexer.rl"
477
+ when 23 then
478
+ # line 56 "lib/graphql/language/lexer.rl"
552
479
  begin
553
480
  te = p+1
554
481
  begin emit_token.call(:ELLIPSIS) end
555
482
  end
556
- when 27 then
557
- # line 63 "lib/graphql/language/lexer.rl"
483
+ when 24 then
484
+ # line 57 "lib/graphql/language/lexer.rl"
558
485
  begin
559
486
  te = p+1
560
487
  begin emit_token.call(:EQUALS) end
561
488
  end
562
- when 28 then
563
- # line 64 "lib/graphql/language/lexer.rl"
489
+ when 25 then
490
+ # line 58 "lib/graphql/language/lexer.rl"
564
491
  begin
565
492
  te = p+1
566
493
  begin emit_token.call(:BANG) end
567
494
  end
568
- when 29 then
569
- # line 67 "lib/graphql/language/lexer.rl"
495
+ when 26 then
496
+ # line 61 "lib/graphql/language/lexer.rl"
570
497
  begin
571
498
  te = p+1
572
499
  begin
@@ -574,61 +501,61 @@ te = p+1
574
501
  meta[:col] = 1
575
502
  end
576
503
  end
577
- when 30 then
578
- # line 75 "lib/graphql/language/lexer.rl"
504
+ when 27 then
505
+ # line 69 "lib/graphql/language/lexer.rl"
579
506
  begin
580
507
  te = p+1
581
508
  begin emit_token.call(:UNKNOWN_CHAR) end
582
509
  end
583
- when 31 then
584
- # line 42 "lib/graphql/language/lexer.rl"
510
+ when 28 then
511
+ # line 39 "lib/graphql/language/lexer.rl"
585
512
  begin
586
513
  te = p
587
514
  p = p - 1; begin emit_token.call(:INT) end
588
515
  end
589
- when 32 then
590
- # line 43 "lib/graphql/language/lexer.rl"
516
+ when 29 then
517
+ # line 40 "lib/graphql/language/lexer.rl"
591
518
  begin
592
519
  te = p
593
520
  p = p - 1; begin emit_token.call(:FLOAT) end
594
521
  end
595
- when 33 then
596
- # line 65 "lib/graphql/language/lexer.rl"
522
+ when 30 then
523
+ # line 59 "lib/graphql/language/lexer.rl"
597
524
  begin
598
525
  te = p
599
526
  p = p - 1; begin emit_token.call(:IDENTIFIER) end
600
527
  end
601
- when 34 then
602
- # line 72 "lib/graphql/language/lexer.rl"
528
+ when 31 then
529
+ # line 66 "lib/graphql/language/lexer.rl"
603
530
  begin
604
531
  te = p
605
532
  p = p - 1; begin meta[:col] += te - ts end
606
533
  end
607
- when 35 then
608
- # line 73 "lib/graphql/language/lexer.rl"
534
+ when 32 then
535
+ # line 67 "lib/graphql/language/lexer.rl"
609
536
  begin
610
537
  te = p
611
538
  p = p - 1; begin meta[:col] += te - ts end
612
539
  end
613
- when 36 then
614
- # line 75 "lib/graphql/language/lexer.rl"
540
+ when 33 then
541
+ # line 69 "lib/graphql/language/lexer.rl"
615
542
  begin
616
543
  te = p
617
544
  p = p - 1; begin emit_token.call(:UNKNOWN_CHAR) end
618
545
  end
619
- when 37 then
620
- # line 42 "lib/graphql/language/lexer.rl"
546
+ when 34 then
547
+ # line 39 "lib/graphql/language/lexer.rl"
621
548
  begin
622
549
  begin p = ((te))-1; end
623
550
  begin emit_token.call(:INT) end
624
551
  end
625
- when 38 then
626
- # line 75 "lib/graphql/language/lexer.rl"
552
+ when 35 then
553
+ # line 69 "lib/graphql/language/lexer.rl"
627
554
  begin
628
555
  begin p = ((te))-1; end
629
556
  begin emit_token.call(:UNKNOWN_CHAR) end
630
557
  end
631
- when 39 then
558
+ when 36 then
632
559
  # line 1 "NONE"
633
560
  begin
634
561
  case act
@@ -653,27 +580,18 @@ when 39 then
653
580
  when 7 then
654
581
  begin begin p = ((te))-1; end
655
582
  emit_token.call(:NULL) end
656
- when 8 then
657
- begin begin p = ((te))-1; end
658
- emit_token.call(:QUERY) end
659
- when 9 then
660
- begin begin p = ((te))-1; end
661
- emit_token.call(:MUTATION) end
662
- when 10 then
663
- begin begin p = ((te))-1; end
664
- emit_token.call(:SUBSCRIPTION) end
665
- when 18 then
583
+ when 15 then
666
584
  begin begin p = ((te))-1; end
667
585
  emit_string(ts + 1, te - 1, meta) end
668
- when 24 then
586
+ when 21 then
669
587
  begin begin p = ((te))-1; end
670
588
  emit_token.call(:IDENTIFIER) end
671
- when 28 then
589
+ when 25 then
672
590
  begin begin p = ((te))-1; end
673
591
  emit_token.call(:UNKNOWN_CHAR) end
674
592
  end
675
593
  end
676
- # line 677 "lib/graphql/language/lexer.rb"
594
+ # line 595 "lib/graphql/language/lexer.rb"
677
595
  end # action switch
678
596
  end
679
597
  end
@@ -693,7 +611,7 @@ when 0 then
693
611
  # line 1 "NONE"
694
612
  begin
695
613
  ts = nil; end
696
- # line 697 "lib/graphql/language/lexer.rb"
614
+ # line 615 "lib/graphql/language/lexer.rb"
697
615
  end # to state action switch
698
616
  end
699
617
  if _trigger_goto
@@ -720,7 +638,7 @@ end
720
638
  end
721
639
  end
722
640
 
723
- # line 118 "lib/graphql/language/lexer.rl"
641
+ # line 112 "lib/graphql/language/lexer.rl"
724
642
 
725
643
  meta[:tokens]
726
644
  end