graphql 0.15.0 → 0.15.1

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