graphql 2.0.17.2 → 2.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/analysis/ast.rb +2 -2
- data/lib/graphql/backtrace/trace.rb +96 -0
- data/lib/graphql/backtrace/tracer.rb +1 -1
- data/lib/graphql/backtrace.rb +6 -1
- data/lib/graphql/execution/interpreter/arguments.rb +1 -1
- data/lib/graphql/execution/interpreter/arguments_cache.rb +2 -3
- data/lib/graphql/execution/interpreter/resolve.rb +19 -0
- data/lib/graphql/execution/interpreter/runtime.rb +254 -211
- data/lib/graphql/execution/interpreter.rb +9 -14
- data/lib/graphql/execution/lazy.rb +2 -4
- data/lib/graphql/execution/multiplex.rb +2 -1
- data/lib/graphql/filter.rb +7 -2
- data/lib/graphql/language/document_from_schema_definition.rb +25 -9
- data/lib/graphql/language/lexer.rb +216 -1505
- data/lib/graphql/language/nodes.rb +27 -9
- data/lib/graphql/language/parser.rb +509 -491
- data/lib/graphql/language/parser.y +43 -38
- data/lib/graphql/pagination/active_record_relation_connection.rb +0 -8
- data/lib/graphql/pagination/connection.rb +5 -5
- data/lib/graphql/query/context.rb +62 -31
- data/lib/graphql/query/null_context.rb +1 -1
- data/lib/graphql/query.rb +22 -5
- data/lib/graphql/schema/argument.rb +7 -9
- data/lib/graphql/schema/build_from_definition.rb +15 -3
- data/lib/graphql/schema/enum_value.rb +2 -5
- data/lib/graphql/schema/field.rb +44 -31
- data/lib/graphql/schema/field_extension.rb +1 -4
- data/lib/graphql/schema/find_inherited_value.rb +2 -7
- data/lib/graphql/schema/member/base_dsl_methods.rb +13 -11
- data/lib/graphql/schema/member/has_arguments.rb +1 -1
- data/lib/graphql/schema/member/has_ast_node.rb +12 -0
- data/lib/graphql/schema/member/has_deprecation_reason.rb +3 -4
- data/lib/graphql/schema/member/has_directives.rb +15 -10
- data/lib/graphql/schema/member/has_fields.rb +87 -37
- data/lib/graphql/schema/member/has_validators.rb +2 -2
- data/lib/graphql/schema/member/relay_shortcuts.rb +19 -0
- data/lib/graphql/schema/member/type_system_helpers.rb +1 -1
- data/lib/graphql/schema/object.rb +2 -4
- data/lib/graphql/schema/resolver/has_payload_type.rb +9 -9
- data/lib/graphql/schema/resolver.rb +4 -4
- data/lib/graphql/schema/timeout.rb +24 -28
- data/lib/graphql/schema/validator.rb +1 -1
- data/lib/graphql/schema/warden.rb +11 -2
- data/lib/graphql/schema.rb +72 -1
- data/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb +12 -4
- data/lib/graphql/static_validation/rules/fields_will_merge.rb +2 -2
- data/lib/graphql/static_validation/validator.rb +1 -1
- data/lib/graphql/tracing/active_support_notifications_trace.rb +16 -0
- data/lib/graphql/tracing/appoptics_trace.rb +231 -0
- data/lib/graphql/tracing/appsignal_trace.rb +77 -0
- data/lib/graphql/tracing/data_dog_trace.rb +148 -0
- data/lib/graphql/tracing/legacy_trace.rb +65 -0
- data/lib/graphql/tracing/new_relic_trace.rb +75 -0
- data/lib/graphql/tracing/notifications_trace.rb +42 -0
- data/lib/graphql/tracing/platform_trace.rb +109 -0
- data/lib/graphql/tracing/platform_tracing.rb +15 -3
- data/lib/graphql/tracing/prometheus_trace.rb +89 -0
- data/lib/graphql/tracing/prometheus_tracing/graphql_collector.rb +1 -1
- data/lib/graphql/tracing/prometheus_tracing.rb +3 -3
- data/lib/graphql/tracing/scout_trace.rb +72 -0
- data/lib/graphql/tracing/statsd_trace.rb +56 -0
- data/lib/graphql/tracing/trace.rb +75 -0
- data/lib/graphql/tracing.rb +16 -39
- data/lib/graphql/type_kinds.rb +6 -3
- data/lib/graphql/types/relay/base_connection.rb +1 -1
- data/lib/graphql/types/relay/connection_behaviors.rb +24 -2
- data/lib/graphql/types/relay/edge_behaviors.rb +16 -2
- data/lib/graphql/types/relay/node_behaviors.rb +7 -1
- data/lib/graphql/types/relay/page_info_behaviors.rb +7 -2
- data/lib/graphql/types/relay.rb +0 -1
- data/lib/graphql/version.rb +1 -1
- data/lib/graphql.rb +16 -9
- metadata +33 -8
- data/lib/graphql/language/lexer.rl +0 -280
- data/lib/graphql/types/relay/default_relay.rb +0 -27
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.6.
|
3
|
+
# This file is automatically generated by Racc 1.6.2
|
4
4
|
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
@@ -12,26 +12,26 @@ module GraphQL
|
|
12
12
|
module Language
|
13
13
|
class Parser < Racc::Parser
|
14
14
|
|
15
|
-
module_eval(<<'...end parser.y/module_eval...', 'parser.y',
|
15
|
+
module_eval(<<'...end parser.y/module_eval...', 'parser.y', 452)
|
16
16
|
|
17
17
|
EMPTY_ARRAY = [].freeze
|
18
18
|
|
19
|
-
def initialize(query_string, filename:,
|
19
|
+
def initialize(query_string, filename:, trace: Tracing::NullTrace)
|
20
20
|
raise GraphQL::ParseError.new("No query string was present", nil, nil, query_string) if query_string.nil?
|
21
21
|
@query_string = query_string
|
22
22
|
@filename = filename
|
23
|
-
@
|
23
|
+
@trace = trace
|
24
24
|
@reused_next_token = [nil, nil]
|
25
25
|
end
|
26
26
|
|
27
27
|
def parse_document
|
28
28
|
@document ||= begin
|
29
29
|
# Break the string into tokens
|
30
|
-
@
|
31
|
-
@tokens ||= GraphQL.
|
30
|
+
@trace.lex(query_string: @query_string) do
|
31
|
+
@tokens ||= GraphQL::Language::Lexer.tokenize(@query_string)
|
32
32
|
end
|
33
33
|
# From the tokens, build an AST
|
34
|
-
@
|
34
|
+
@trace.parse(query_string: @query_string) do
|
35
35
|
if @tokens.empty?
|
36
36
|
raise GraphQL::ParseError.new("Unexpected end of document", nil, nil, @query_string)
|
37
37
|
else
|
@@ -44,17 +44,17 @@ end
|
|
44
44
|
class << self
|
45
45
|
attr_accessor :cache
|
46
46
|
|
47
|
-
def parse(query_string, filename: nil,
|
48
|
-
new(query_string, filename: filename,
|
47
|
+
def parse(query_string, filename: nil, trace: GraphQL::Tracing::NullTrace)
|
48
|
+
new(query_string, filename: filename, trace: trace).parse_document
|
49
49
|
end
|
50
50
|
|
51
|
-
def parse_file(filename,
|
51
|
+
def parse_file(filename, trace: GraphQL::Tracing::NullTrace)
|
52
52
|
if cache
|
53
53
|
cache.fetch(filename) do
|
54
|
-
parse(File.read(filename), filename: filename,
|
54
|
+
parse(File.read(filename), filename: filename, trace: trace)
|
55
55
|
end
|
56
56
|
else
|
57
|
-
parse(File.read(filename), filename: filename,
|
57
|
+
parse(File.read(filename), filename: filename, trace: trace)
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
@@ -66,7 +66,7 @@ def next_token
|
|
66
66
|
if lexer_token.nil?
|
67
67
|
nil
|
68
68
|
else
|
69
|
-
@reused_next_token[0] = lexer_token
|
69
|
+
@reused_next_token[0] = lexer_token[0]
|
70
70
|
@reused_next_token[1] = lexer_token
|
71
71
|
@reused_next_token
|
72
72
|
end
|
@@ -77,13 +77,13 @@ def get_description(token)
|
|
77
77
|
|
78
78
|
loop do
|
79
79
|
prev_token = token
|
80
|
-
token = token
|
80
|
+
token = token[4]
|
81
81
|
|
82
82
|
break if token.nil?
|
83
|
-
break if token
|
84
|
-
break if prev_token
|
83
|
+
break if token[0] != :COMMENT
|
84
|
+
break if prev_token[1] != token[1] + 1
|
85
85
|
|
86
|
-
comments.unshift(token.
|
86
|
+
comments.unshift(token[3].sub(/^#\s*/, ""))
|
87
87
|
end
|
88
88
|
|
89
89
|
return nil if comments.empty?
|
@@ -99,11 +99,12 @@ def on_error(parser_token_id, lexer_token, vstack)
|
|
99
99
|
if parser_token_name.nil?
|
100
100
|
raise GraphQL::ParseError.new("Parse Error on unknown token: {token_id: #{parser_token_id}, lexer_token: #{lexer_token}} from #{@query_string}", nil, nil, @query_string, filename: @filename)
|
101
101
|
else
|
102
|
-
line
|
103
|
-
|
104
|
-
|
102
|
+
line = lexer_token[1]
|
103
|
+
col = lexer_token[2]
|
104
|
+
if lexer_token[0] == :BAD_UNICODE_ESCAPE
|
105
|
+
raise GraphQL::ParseError.new("Parse error on bad Unicode escape sequence: #{lexer_token[3].inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
|
105
106
|
else
|
106
|
-
raise GraphQL::ParseError.new("Parse error on #{lexer_token.
|
107
|
+
raise GraphQL::ParseError.new("Parse error on #{lexer_token[3].inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
|
107
108
|
end
|
108
109
|
end
|
109
110
|
end
|
@@ -111,8 +112,8 @@ end
|
|
111
112
|
|
112
113
|
def make_node(node_name, assigns)
|
113
114
|
assigns.each do |key, value|
|
114
|
-
if key != :position_source && value.is_a?(
|
115
|
-
assigns[key] = value
|
115
|
+
if key != :position_source && value.is_a?(Array) && value[0].is_a?(Symbol)
|
116
|
+
assigns[key] = value[3]
|
116
117
|
end
|
117
118
|
end
|
118
119
|
|
@@ -124,57 +125,57 @@ end
|
|
124
125
|
##### State transition tables begin ###
|
125
126
|
|
126
127
|
racc_action_table = [
|
127
|
-
-2, -
|
128
|
-
13, 14, 95,
|
129
|
-
76, 19, 77, 78, 79, 80, 15, 35,
|
130
|
-
35, 15, 35, 12, 13, 14, 28, 35,
|
128
|
+
-2, -172, 11, 282, 12, 13, 14, 11, -101, 12,
|
129
|
+
13, 14, 95, 270, 276, 94, 19, 38, 74, 75,
|
130
|
+
76, 19, 77, 78, 79, 80, 15, 35, 162, 122,
|
131
|
+
35, 15, 35, 12, 13, 14, 28, 35, 181, 277,
|
131
132
|
72, 28, 35, 35, 43, 44, 45, 46, 47, 48,
|
132
133
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 61,
|
133
|
-
12, 13, 14, -101, -101,
|
134
|
-
-
|
134
|
+
12, 13, 14, -101, -101, 280, 184, 72, 35, 88,
|
135
|
+
-156, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
135
136
|
52, 53, 54, 55, 56, 57, 91, 12, 13, 14,
|
136
|
-
|
137
|
+
281, 67, 90, 99, 35, 72, 72, -101, 43, 44,
|
137
138
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
138
|
-
55, 56, 57,
|
139
|
-
|
139
|
+
55, 56, 57, 228, 12, 13, 14, 72, 67, 35,
|
140
|
+
176, 12, 13, 14, 72, 43, 44, 45, 46, 47,
|
140
141
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
141
142
|
12, 13, 14, 81, 82, 67, 83, 84, 85, 86,
|
142
143
|
87, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
143
|
-
52, 53, 54, 55, 56, 57,
|
144
|
-
14, 67, 72,
|
145
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
146
|
-
|
147
|
-
12, 13, 14,
|
148
|
-
|
149
|
-
52,
|
150
|
-
|
151
|
-
|
152
|
-
50, 51, 52,
|
153
|
-
|
154
|
-
14, 72,
|
155
|
-
48, 49, 50, 51, 52,
|
156
|
-
|
157
|
-
95,
|
158
|
-
46, 47, 48, 49, 50, 51, 52,
|
159
|
-
|
160
|
-
14, 72, 72,
|
161
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
162
|
-
|
163
|
-
12, 13, 14, 12, 13, 14, 72, 72,
|
164
|
-
|
165
|
-
52,
|
166
|
-
12, 13, 14, 12, 13, 14,
|
167
|
-
|
168
|
-
52, 53, 54, 55, 56, 57,
|
169
|
-
72,
|
144
|
+
52, 53, 54, 55, 56, 57, 224, 103, 12, 13,
|
145
|
+
14, 67, 72, 222, 118, 72, 223, 122, 72, 205,
|
146
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 202,
|
147
|
+
203, 204, 212, 213, 209, 210, 211, 221, 224, 72,
|
148
|
+
12, 13, 14, 133, 95, 222, 140, 72, 223, 260,
|
149
|
+
144, 205, 44, 45, 46, 47, 48, 49, 50, 51,
|
150
|
+
52, 202, 203, 204, 212, 213, 209, 210, 211, 221,
|
151
|
+
224, 144, 12, 13, 14, 72, 72, 222, 72, 72,
|
152
|
+
223, 286, 144, 205, 44, 45, 46, 47, 48, 49,
|
153
|
+
50, 51, 52, 202, 203, 204, 212, 213, 209, 210,
|
154
|
+
211, 221, 302, 144, 12, 13, 14, 231, 12, 13,
|
155
|
+
14, 72, 223, 72, 72, 205, 44, 45, 46, 47,
|
156
|
+
48, 49, 50, 51, 52, 202, 203, 204, 212, 213,
|
157
|
+
209, 210, 211, 221, 224, 133, 12, 13, 14, 133,
|
158
|
+
95, 222, 170, 171, 223, 72, 72, 205, 44, 45,
|
159
|
+
46, 47, 48, 49, 50, 51, 52, 202, 203, 204,
|
160
|
+
212, 213, 209, 210, 211, 221, 224, 178, 12, 13,
|
161
|
+
14, 72, 72, 222, 72, -156, 223, 190, 191, 205,
|
162
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 202,
|
163
|
+
203, 204, 212, 213, 209, 210, 211, 221, 302, 192,
|
164
|
+
12, 13, 14, 12, 13, 14, 72, 72, 223, 195,
|
165
|
+
196, 205, 44, 45, 46, 47, 48, 49, 50, 51,
|
166
|
+
52, 202, 203, 204, 212, 213, 209, 210, 211, 221,
|
167
|
+
12, 13, 14, 12, 13, 14, 197, 198, 200, 72,
|
168
|
+
226, 97, 44, 45, 46, 47, 48, 49, 50, 51,
|
169
|
+
52, 53, 54, 55, 56, 57, 263, 12, 13, 14,
|
170
|
+
72, 133, 133, 72, 181, 238, 72, 181, 43, 44,
|
170
171
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
171
|
-
55, 56, 57,
|
172
|
-
|
172
|
+
55, 56, 57, 288, 12, 13, 14, 35, 35, 181,
|
173
|
+
181, 35, 35, 35, 256, 43, 44, 45, 46, 47,
|
173
174
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
174
|
-
|
175
|
-
|
176
|
-
51, 52, 53, 54, 55, 56, 57,
|
177
|
-
14, 72,
|
175
|
+
292, 12, 13, 14, 133, 238, 273, 273, 283, 285,
|
176
|
+
291, 198, 43, 44, 45, 46, 47, 48, 49, 50,
|
177
|
+
51, 52, 53, 54, 55, 56, 57, 310, 12, 13,
|
178
|
+
14, 72, 298, 303, 306, 307, 309, 285, 72, 43,
|
178
179
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
179
180
|
54, 55, 56, 57, 12, 13, 14, 72, nil, nil,
|
180
181
|
nil, nil, nil, nil, nil, 43, 44, 45, 46, 47,
|
@@ -221,20 +222,20 @@ racc_action_table = [
|
|
221
222
|
12, 13, 14, nil, nil, nil, nil, nil, nil, nil,
|
222
223
|
nil, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
223
224
|
52, 53, 54, 55, 56, 57, 12, 13, 14, nil,
|
224
|
-
nil, nil, nil, nil,
|
225
|
+
nil, nil, nil, nil, 131, nil, nil, 43, 44, 45,
|
225
226
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
226
227
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
227
|
-
|
228
|
+
131, nil, nil, 43, 44, 45, 46, 47, 48, 49,
|
228
229
|
50, 51, 52, 53, 54, 55, 56, 57, 12, 13,
|
229
230
|
14, nil, nil, nil, nil, nil, nil, nil, nil, 43,
|
230
231
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
231
232
|
54, 55, 56, 57, 12, 13, 14, nil, nil, nil,
|
232
233
|
nil, nil, nil, nil, nil, 43, 44, 45, 46, 47,
|
233
234
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
234
|
-
12, 13, 14, nil,
|
235
|
+
12, 13, 14, nil, 168, nil, nil, nil, nil, nil,
|
235
236
|
nil, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
236
237
|
52, 53, 54, 55, 56, 57, 12, 13, 14, nil,
|
237
|
-
nil, nil, nil, nil,
|
238
|
+
nil, nil, nil, nil, 131, nil, nil, 43, 44, 45,
|
238
239
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
239
240
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
240
241
|
nil, nil, nil, 43, 44, 45, 46, 47, 48, 49,
|
@@ -250,7 +251,7 @@ racc_action_table = [
|
|
250
251
|
nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
|
251
252
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
252
253
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
253
|
-
|
254
|
+
131, nil, nil, 43, 44, 45, 46, 47, 48, 49,
|
254
255
|
50, 51, 52, 53, 54, 55, 56, 57, 12, 13,
|
255
256
|
14, nil, nil, nil, nil, nil, nil, nil, nil, 43,
|
256
257
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
@@ -268,73 +269,73 @@ racc_action_table = [
|
|
268
269
|
14, nil, nil, nil, nil, nil, nil, nil, nil, 43,
|
269
270
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
270
271
|
54, 55, 56, 57, 12, 13, 14, nil, nil, nil,
|
271
|
-
nil, nil,
|
272
|
+
nil, nil, 131, nil, nil, 43, 44, 45, 46, 47,
|
272
273
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
273
|
-
12, 13, 14, nil, nil, nil, nil, nil,
|
274
|
+
12, 13, 14, nil, nil, nil, nil, nil, 131, nil,
|
274
275
|
nil, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
275
276
|
52, 53, 54, 55, 56, 57, 12, 13, 14, nil,
|
276
277
|
nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
|
277
278
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
278
279
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
279
|
-
nil, nil, nil,
|
280
|
-
50, 51, 52,
|
281
|
-
-
|
282
|
-
-
|
280
|
+
nil, nil, nil, 205, 44, 45, 46, 47, 48, 49,
|
281
|
+
50, 51, 52, 202, 203, 204, -162, nil, nil, nil,
|
282
|
+
-162, nil, nil, nil, nil, nil, -162, nil, -162, -162,
|
283
|
+
-162 ]
|
283
284
|
|
284
285
|
racc_action_check = [
|
285
|
-
3,
|
286
|
-
0, 0, 66,
|
287
|
-
28, 0, 28, 28, 28, 28, 3,
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
11, 11, 11,
|
292
|
-
|
286
|
+
3, 181, 3, 254, 3, 3, 3, 0, 104, 0,
|
287
|
+
0, 0, 66, 233, 245, 66, 3, 1, 28, 28,
|
288
|
+
28, 0, 28, 28, 28, 28, 3, 254, 120, 120,
|
289
|
+
181, 0, 3, 144, 144, 144, 3, 0, 142, 246,
|
290
|
+
104, 0, 233, 245, 144, 144, 144, 144, 144, 144,
|
291
|
+
144, 144, 144, 144, 144, 144, 144, 144, 144, 11,
|
292
|
+
11, 11, 11, 149, 151, 252, 144, 19, 246, 38,
|
293
|
+
142, 11, 11, 11, 11, 11, 11, 11, 11, 11,
|
293
294
|
11, 11, 11, 11, 11, 11, 60, 60, 60, 60,
|
294
|
-
|
295
|
+
253, 11, 40, 68, 252, 149, 151, 147, 60, 60,
|
295
296
|
60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
296
|
-
60, 60, 60,
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
37,
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
308
|
-
260, 107, 260, 260, 260, 108, 109, 260, 110, 111,
|
309
|
-
260, 260, 112, 260, 260, 260, 260, 260, 260, 260,
|
310
|
-
260, 260, 260, 260, 260, 260, 260, 260, 260, 260,
|
311
|
-
260, 260, 284, 113, 284, 284, 284, 178, 178, 178,
|
312
|
-
178, 114, 284, 115, 116, 284, 284, 284, 284, 284,
|
313
|
-
284, 284, 284, 284, 284, 284, 284, 284, 284, 284,
|
314
|
-
284, 284, 284, 284, 290, 118, 290, 290, 290, 122,
|
315
|
-
123, 290, 126, 128, 290, 131, 134, 290, 290, 290,
|
316
|
-
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
|
317
|
-
290, 290, 290, 290, 290, 290, 302, 138, 302, 302,
|
318
|
-
302, 140, 142, 302, 144, 145, 302, 147, 149, 302,
|
319
|
-
302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
|
320
|
-
302, 302, 302, 302, 302, 302, 302, 302, 305, 151,
|
321
|
-
305, 305, 305, 102, 102, 102, 153, 155, 305, 156,
|
322
|
-
157, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
323
|
-
305, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
324
|
-
67, 67, 67, 139, 139, 139, 158, 159, 163, 166,
|
325
|
-
171, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
326
|
-
67, 67, 67, 67, 67, 67, 223, 223, 223, 223,
|
327
|
-
67, 172, 174, 181, 182, 184, 187, 188, 223, 223,
|
297
|
+
60, 60, 60, 174, 174, 174, 174, 147, 60, 253,
|
298
|
+
137, 137, 137, 137, 70, 174, 174, 174, 174, 174,
|
299
|
+
174, 174, 174, 174, 174, 174, 174, 174, 174, 174,
|
300
|
+
133, 133, 133, 37, 37, 174, 37, 37, 37, 37,
|
301
|
+
37, 133, 133, 133, 133, 133, 133, 133, 133, 133,
|
302
|
+
133, 133, 133, 133, 133, 133, 170, 73, 170, 170,
|
303
|
+
170, 133, 74, 170, 87, 89, 170, 90, 93, 170,
|
304
|
+
170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
|
305
|
+
170, 170, 170, 170, 170, 170, 170, 170, 223, 96,
|
306
|
+
223, 223, 223, 98, 101, 223, 105, 106, 223, 223,
|
307
|
+
107, 223, 223, 223, 223, 223, 223, 223, 223, 223,
|
328
308
|
223, 223, 223, 223, 223, 223, 223, 223, 223, 223,
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
309
|
+
261, 108, 261, 261, 261, 109, 110, 261, 111, 112,
|
310
|
+
261, 261, 113, 261, 261, 261, 261, 261, 261, 261,
|
311
|
+
261, 261, 261, 261, 261, 261, 261, 261, 261, 261,
|
312
|
+
261, 261, 285, 114, 285, 285, 285, 179, 179, 179,
|
313
|
+
179, 115, 285, 116, 117, 285, 285, 285, 285, 285,
|
314
|
+
285, 285, 285, 285, 285, 285, 285, 285, 285, 285,
|
315
|
+
285, 285, 285, 285, 291, 119, 291, 291, 291, 123,
|
316
|
+
124, 291, 127, 129, 291, 132, 135, 291, 291, 291,
|
317
|
+
291, 291, 291, 291, 291, 291, 291, 291, 291, 291,
|
318
|
+
291, 291, 291, 291, 291, 291, 303, 139, 303, 303,
|
319
|
+
303, 141, 143, 303, 145, 146, 303, 148, 150, 303,
|
320
|
+
303, 303, 303, 303, 303, 303, 303, 303, 303, 303,
|
321
|
+
303, 303, 303, 303, 303, 303, 303, 303, 306, 152,
|
322
|
+
306, 306, 306, 103, 103, 103, 154, 156, 306, 157,
|
323
|
+
158, 306, 306, 306, 306, 306, 306, 306, 306, 306,
|
324
|
+
306, 306, 306, 306, 306, 306, 306, 306, 306, 306,
|
325
|
+
67, 67, 67, 140, 140, 140, 159, 160, 164, 167,
|
326
|
+
172, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
327
|
+
67, 67, 67, 67, 67, 67, 224, 224, 224, 224,
|
328
|
+
67, 173, 175, 182, 183, 185, 188, 189, 224, 224,
|
329
|
+
224, 224, 224, 224, 224, 224, 224, 224, 224, 224,
|
330
|
+
224, 224, 224, 264, 264, 264, 264, 191, 192, 193,
|
331
|
+
194, 196, 197, 198, 199, 264, 264, 264, 264, 264,
|
332
|
+
264, 264, 264, 264, 264, 264, 264, 264, 264, 264,
|
333
|
+
267, 267, 267, 267, 201, 236, 241, 251, 255, 257,
|
334
|
+
266, 269, 267, 267, 267, 267, 267, 267, 267, 267,
|
335
|
+
267, 267, 267, 267, 267, 267, 267, 302, 302, 302,
|
336
|
+
302, 274, 279, 290, 294, 295, 299, 308, 312, 302,
|
337
|
+
302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
|
338
|
+
302, 302, 302, 302, 10, 10, 10, 313, nil, nil,
|
338
339
|
nil, nil, nil, nil, nil, 10, 10, 10, 10, 10,
|
339
340
|
10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
|
340
341
|
15, 15, 15, nil, nil, nil, nil, nil, nil, nil,
|
@@ -383,61 +384,61 @@ racc_action_check = [
|
|
383
384
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
384
385
|
97, 97, 99, 99, 99, nil, nil, nil, nil, nil,
|
385
386
|
99, nil, nil, 99, 99, 99, 99, 99, 99, 99,
|
386
|
-
99, 99, 99, 99, 99, 99, 99, 99,
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
nil, nil, nil, nil, nil,
|
391
|
-
|
392
|
-
|
393
|
-
nil,
|
394
|
-
|
395
|
-
nil, nil, nil, nil,
|
396
|
-
|
397
|
-
|
398
|
-
nil, nil, nil,
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
nil, nil, nil, nil, nil,
|
404
|
-
|
405
|
-
|
406
|
-
nil,
|
407
|
-
|
408
|
-
nil, nil, nil, nil, nil, nil, nil,
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
nil, nil, nil, nil, nil,
|
417
|
-
|
418
|
-
|
419
|
-
nil,
|
420
|
-
|
421
|
-
nil, nil, nil, nil, nil, nil, nil,
|
422
|
-
|
423
|
-
|
424
|
-
nil, nil, nil,
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
nil, nil,
|
430
|
-
|
431
|
-
|
432
|
-
nil,
|
433
|
-
|
434
|
-
nil, nil, nil, nil, nil, nil, nil,
|
435
|
-
|
436
|
-
|
437
|
-
nil, nil, nil,
|
438
|
-
|
439
|
-
|
440
|
-
|
387
|
+
99, 99, 99, 99, 99, 99, 99, 99, 118, 118,
|
388
|
+
118, nil, nil, nil, nil, nil, nil, nil, nil, 118,
|
389
|
+
118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
|
390
|
+
118, 118, 118, 118, 122, 122, 122, nil, nil, nil,
|
391
|
+
nil, nil, nil, nil, nil, 122, 122, 122, 122, 122,
|
392
|
+
122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
|
393
|
+
125, 125, 125, nil, 125, nil, nil, nil, nil, nil,
|
394
|
+
nil, 125, 125, 125, 125, 125, 125, 125, 125, 125,
|
395
|
+
125, 125, 125, 125, 125, 125, 131, 131, 131, nil,
|
396
|
+
nil, nil, nil, nil, 131, nil, nil, 131, 131, 131,
|
397
|
+
131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
|
398
|
+
131, 131, 178, 178, 178, nil, nil, nil, nil, nil,
|
399
|
+
nil, nil, nil, 178, 178, 178, 178, 178, 178, 178,
|
400
|
+
178, 178, 178, 178, 178, 178, 178, 178, 184, 184,
|
401
|
+
184, nil, nil, nil, nil, nil, nil, nil, nil, 184,
|
402
|
+
184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
|
403
|
+
184, 184, 184, 184, 186, 186, 186, nil, nil, nil,
|
404
|
+
nil, nil, nil, nil, nil, 186, 186, 186, 186, 186,
|
405
|
+
186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
|
406
|
+
190, 190, 190, nil, nil, nil, nil, nil, nil, nil,
|
407
|
+
nil, 190, 190, 190, 190, 190, 190, 190, 190, 190,
|
408
|
+
190, 190, 190, 190, 190, 190, 195, 195, 195, nil,
|
409
|
+
nil, nil, nil, nil, nil, nil, nil, 195, 195, 195,
|
410
|
+
195, 195, 195, 195, 195, 195, 195, 195, 195, 195,
|
411
|
+
195, 195, 200, 200, 200, nil, nil, nil, nil, nil,
|
412
|
+
200, nil, nil, 200, 200, 200, 200, 200, 200, 200,
|
413
|
+
200, 200, 200, 200, 200, 200, 200, 200, 222, 222,
|
414
|
+
222, nil, nil, nil, nil, nil, nil, nil, nil, 222,
|
415
|
+
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
416
|
+
222, 222, 222, 222, 232, 232, 232, nil, nil, nil,
|
417
|
+
nil, nil, nil, nil, nil, 232, 232, 232, 232, 232,
|
418
|
+
232, 232, 232, 232, 232, 232, 232, 232, 232, 232,
|
419
|
+
238, 238, 238, nil, nil, nil, nil, nil, nil, nil,
|
420
|
+
nil, 238, 238, 238, 238, 238, 238, 238, 238, 238,
|
421
|
+
238, 238, 238, 238, 238, 238, 247, 247, 247, nil,
|
422
|
+
nil, nil, nil, nil, nil, nil, nil, 247, 247, 247,
|
423
|
+
247, 247, 247, 247, 247, 247, 247, 247, 247, 247,
|
424
|
+
247, 247, 273, 273, 273, nil, nil, nil, nil, nil,
|
425
|
+
nil, nil, nil, 273, 273, 273, 273, 273, 273, 273,
|
426
|
+
273, 273, 273, 273, 273, 273, 273, 273, 283, 283,
|
427
|
+
283, nil, nil, nil, nil, nil, nil, nil, nil, 283,
|
428
|
+
283, 283, 283, 283, 283, 283, 283, 283, 283, 283,
|
429
|
+
283, 283, 283, 283, 298, 298, 298, nil, nil, nil,
|
430
|
+
nil, nil, 298, nil, nil, 298, 298, 298, 298, 298,
|
431
|
+
298, 298, 298, 298, 298, 298, 298, 298, 298, 298,
|
432
|
+
307, 307, 307, nil, nil, nil, nil, nil, 307, nil,
|
433
|
+
nil, 307, 307, 307, 307, 307, 307, 307, 307, 307,
|
434
|
+
307, 307, 307, 307, 307, 307, 309, 309, 309, nil,
|
435
|
+
nil, nil, nil, nil, nil, nil, nil, 309, 309, 309,
|
436
|
+
309, 309, 309, 309, 309, 309, 309, 309, 309, 309,
|
437
|
+
309, 309, 243, 243, 243, nil, nil, nil, nil, nil,
|
438
|
+
nil, nil, nil, 243, 243, 243, 243, 243, 243, 243,
|
439
|
+
243, 243, 243, 243, 243, 243, 187, nil, nil, nil,
|
440
|
+
187, nil, nil, nil, nil, nil, 187, nil, 187, 187,
|
441
|
+
187 ]
|
441
442
|
|
442
443
|
racc_action_pointer = [
|
443
444
|
5, 17, nil, 0, nil, nil, nil, nil, nil, nil,
|
@@ -450,152 +451,152 @@ racc_action_pointer = [
|
|
450
451
|
90, nil, 572, 165, 138, 598, 624, 650, 676, 702,
|
451
452
|
728, 754, 780, 806, 832, 858, 884, 140, nil, 141,
|
452
453
|
168, nil, nil, 144, 910, 936, 165, 962, 201, 988,
|
453
|
-
nil, 197, 359, 6, 204, 173, 191, 212, 201,
|
454
|
-
204, 205, 223, 244, 237, 239, 240, 1014, 293,
|
455
|
-
nil, 1040, 297, 293, 1066, nil, 292, nil, 292,
|
456
|
-
1092, 271, 136, nil, 272, nil, 117, nil, 317,
|
457
|
-
297, 36, 298, 29, 300, 301, 83, 323, 61,
|
458
|
-
62, 357, nil, 332, nil, 333, 355, 368, 394,
|
459
|
-
nil, nil, nil, 388, nil, nil, 365, nil, nil,
|
460
|
-
nil, 387, 419, 110, 420, nil, nil, 1118, 264,
|
461
|
-
-2, 389, 422, 1144, 388, 1170, 1521, 392, 425,
|
462
|
-
415, 416, 447, 448, 1222, 419, 420, 421, 427,
|
463
|
-
472, nil, nil, nil, nil, nil, nil, nil, nil,
|
454
|
+
nil, 197, nil, 359, 6, 204, 173, 191, 212, 201,
|
455
|
+
202, 204, 205, 223, 244, 237, 239, 240, 1014, 293,
|
456
|
+
20, nil, 1040, 297, 293, 1066, nil, 292, nil, 292,
|
457
|
+
nil, 1092, 271, 136, nil, 272, nil, 117, nil, 317,
|
458
|
+
389, 297, 36, 298, 29, 300, 301, 83, 323, 61,
|
459
|
+
336, 62, 357, nil, 332, nil, 333, 355, 368, 394,
|
460
|
+
390, nil, nil, nil, 388, nil, nil, 365, nil, nil,
|
461
|
+
164, nil, 387, 419, 110, 420, nil, nil, 1118, 264,
|
462
|
+
nil, -2, 389, 422, 1144, 388, 1170, 1521, 392, 425,
|
463
|
+
1196, 415, 416, 447, 448, 1222, 419, 420, 421, 427,
|
464
|
+
1248, 472, nil, nil, nil, nil, nil, nil, nil, nil,
|
464
465
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
465
|
-
nil, 1274, 196, 413, nil, nil, nil, nil, nil,
|
466
|
-
nil, 1300, 10, nil, nil, 438, nil, 1326, nil,
|
467
|
-
438, nil, 1508, nil, 11, 36, 1352, nil, nil,
|
468
|
-
439, 62, 87, -5, 463, nil, 465, nil, nil,
|
469
|
-
228, nil, nil, 440, nil, 470, 467, nil, 474,
|
470
|
-
nil, nil, 1378, 467, nil, nil, nil, nil, 492,
|
471
|
-
nil, nil, 1404, nil, 260, nil, nil, nil, nil,
|
472
|
-
292, nil, nil, 494, 495, nil, nil, 1430, 468,
|
473
|
-
nil, 494, 324, nil, nil, 356, 1456, 493, 1482,
|
474
|
-
nil, 474, 493, nil, nil, nil ]
|
466
|
+
nil, nil, 1274, 196, 413, nil, nil, nil, nil, nil,
|
467
|
+
nil, nil, 1300, 10, nil, nil, 438, nil, 1326, nil,
|
468
|
+
nil, 438, nil, 1508, nil, 11, 36, 1352, nil, nil,
|
469
|
+
nil, 439, 62, 87, -5, 463, nil, 465, nil, nil,
|
470
|
+
nil, 228, nil, nil, 440, nil, 470, 467, nil, 474,
|
471
|
+
nil, nil, nil, 1378, 467, nil, nil, nil, nil, 492,
|
472
|
+
nil, nil, nil, 1404, nil, 260, nil, nil, nil, nil,
|
473
|
+
493, 292, nil, nil, 494, 495, nil, nil, 1430, 468,
|
474
|
+
nil, nil, 494, 324, nil, nil, 356, 1456, 493, 1482,
|
475
|
+
nil, nil, 474, 493, nil, nil, nil ]
|
475
476
|
|
476
477
|
racc_action_default = [
|
477
|
-
-
|
478
|
-
-16, -
|
479
|
-
-
|
480
|
-
-
|
478
|
+
-151, -186, -1, -151, -3, -5, -6, -7, -8, -9,
|
479
|
+
-16, -186, -13, -14, -15, -109, -111, -112, -113, -100,
|
480
|
+
-120, -121, -122, -123, -124, -125, -126, -127, -186, -130,
|
481
|
+
-131, -132, -133, -134, -135, -150, -152, -186, -186, -4,
|
481
482
|
-18, -17, -39, -40, -41, -42, -43, -44, -45, -46,
|
482
483
|
-47, -48, -49, -50, -51, -52, -53, -54, -55, -56,
|
483
|
-
-
|
484
|
-
-101, -102, -
|
485
|
-
-
|
486
|
-
-
|
487
|
-
-103, -66, -
|
488
|
-
-100, -100, -
|
489
|
-
-20, -
|
490
|
-
-
|
491
|
-
-
|
492
|
-
-
|
493
|
-
-10, -19, -21, -
|
494
|
-
-24, -
|
495
|
-
-
|
496
|
-
-
|
497
|
-
-30, -57, -58, -59, -60, -61, -62, -70, -71,
|
498
|
-
-73, -74, -75, -76, -77, -78, -79, -80, -81,
|
499
|
-
-83, -
|
500
|
-
-
|
501
|
-
-
|
502
|
-
-
|
503
|
-
-
|
504
|
-
-
|
505
|
-
-
|
506
|
-
-
|
507
|
-
-28, -
|
508
|
-
-98, -100, -100, -
|
484
|
+
-186, -12, -32, -34, -35, -36, -66, -100, -186, -110,
|
485
|
+
-101, -102, -186, -115, -100, -186, -186, -186, -186, -186,
|
486
|
+
-186, -186, -186, -186, -186, -186, -186, -186, 317, -100,
|
487
|
+
-186, -11, -33, -100, -186, -186, -100, -186, -186, -186,
|
488
|
+
-103, -66, -114, -186, -129, -186, -186, -155, -155, -100,
|
489
|
+
-100, -100, -100, -155, -155, -100, -100, -100, -186, -186,
|
490
|
+
-186, -20, -186, -30, -66, -186, -68, -186, -105, -23,
|
491
|
+
-25, -186, -100, -186, -107, -100, -104, -186, -117, -186,
|
492
|
+
-186, -136, -140, -100, -186, -100, -143, -145, -186, -147,
|
493
|
+
-186, -149, -186, -153, -100, -156, -100, -186, -186, -186,
|
494
|
+
-167, -10, -19, -21, -186, -31, -37, -100, -67, -69,
|
495
|
+
-186, -24, -186, -186, -186, -186, -116, -118, -186, -186,
|
496
|
+
-137, -151, -101, -170, -186, -158, -159, -160, -101, -170,
|
497
|
+
-186, -151, -151, -170, -170, -186, -151, -151, -151, -182,
|
498
|
+
-186, -30, -57, -58, -59, -60, -61, -62, -70, -71,
|
499
|
+
-72, -73, -74, -75, -76, -77, -78, -79, -80, -81,
|
500
|
+
-82, -83, -186, -186, -186, -99, -26, -106, -29, -108,
|
501
|
+
-119, -128, -186, -151, -173, -138, -157, -160, -186, -163,
|
502
|
+
-141, -144, -176, -186, -64, -151, -151, -186, -165, -154,
|
503
|
+
-175, -178, -151, -151, -151, -186, -183, -27, -38, -84,
|
504
|
+
-85, -186, -87, -89, -186, -91, -186, -186, -96, -167,
|
505
|
+
-171, -174, -161, -186, -100, -65, -146, -148, -166, -186,
|
506
|
+
-179, -180, -168, -186, -22, -186, -86, -88, -90, -92,
|
507
|
+
-186, -186, -95, -97, -186, -186, -177, -63, -186, -181,
|
508
|
+
-184, -28, -186, -186, -80, -93, -186, -186, -27, -186,
|
509
|
+
-94, -98, -100, -100, -185, -169, -164 ]
|
509
510
|
|
510
511
|
racc_goto_table = [
|
511
|
-
10,
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
101,
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
66,
|
525
|
-
|
526
|
-
nil,
|
527
|
-
nil, nil,
|
528
|
-
nil, 66,
|
529
|
-
nil,
|
530
|
-
nil,
|
531
|
-
|
532
|
-
nil, nil, nil, nil,
|
533
|
-
nil,
|
534
|
-
|
535
|
-
nil, nil,
|
536
|
-
nil, nil, nil, nil, nil,
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
nil, nil,
|
542
|
-
315 ]
|
512
|
+
10, 69, 60, 10, 37, 93, 208, 37, 41, 66,
|
513
|
+
166, 92, 199, 207, 132, 234, 135, 73, 284, 177,
|
514
|
+
265, 134, 185, 301, 278, 121, 126, 137, 275, 304,
|
515
|
+
1, 278, 278, 246, 4, 275, 245, 39, 253, 254,
|
516
|
+
136, 252, 161, 2, 311, 143, 145, 3, 172, 142,
|
517
|
+
146, 154, 156, 96, 180, 163, 169, 40, 66, 262,
|
518
|
+
289, 177, 236, 167, 179, 98, 207, 271, 89, 313,
|
519
|
+
101, 120, 105, 106, 107, 108, 109, 110, 111, 112,
|
520
|
+
113, 114, 115, 116, 117, 100, 207, 119, 258, 274,
|
521
|
+
125, 123, 124, 127, 128, 235, 227, 287, 229, 261,
|
522
|
+
264, 240, 293, 139, 207, 249, 250, 148, 150, 152,
|
523
|
+
153, 68, 102, 157, 158, 159, 160, 257, 186, 100,
|
524
|
+
164, 295, 241, 127, 174, 92, 233, 251, 207, 255,
|
525
|
+
173, 66, 299, 175, 207, nil, nil, 139, nil, nil,
|
526
|
+
139, 183, 187, 189, nil, nil, 207, nil, nil, 207,
|
527
|
+
nil, nil, 193, nil, 194, nil, 100, nil, nil, nil,
|
528
|
+
nil, nil, 100, nil, 100, 201, 100, nil, nil, 104,
|
529
|
+
206, nil, 66, nil, nil, nil, 230, nil, nil, 139,
|
530
|
+
nil, nil, 237, nil, 239, 232, nil, nil, 242, nil,
|
531
|
+
nil, nil, nil, 242, nil, 243, nil, 100, nil, nil,
|
532
|
+
243, 141, nil, 100, 147, 149, 151, nil, nil, nil,
|
533
|
+
nil, nil, nil, nil, nil, 308, nil, nil, nil, nil,
|
534
|
+
259, nil, 266, 206, 312, nil, nil, nil, nil, nil,
|
535
|
+
269, nil, nil, nil, nil, nil, 272, 232, 182, nil,
|
536
|
+
188, nil, nil, 206, nil, 279, nil, nil, nil, 243,
|
537
|
+
nil, nil, nil, nil, nil, nil, 243, nil, nil, nil,
|
538
|
+
nil, 206, 290, nil, nil, 294, nil, nil, nil, nil,
|
539
|
+
nil, 296, 297, nil, nil, nil, nil, nil, nil, nil,
|
540
|
+
nil, 300, nil, nil, nil, 206, nil, nil, nil, nil,
|
541
|
+
nil, 206, nil, nil, nil, nil, nil, nil, nil, nil,
|
542
|
+
294, nil, nil, 206, nil, nil, 206, 314, nil, nil,
|
543
|
+
315, 316 ]
|
543
544
|
|
544
545
|
racc_goto_check = [
|
545
|
-
10,
|
546
|
-
23,
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
16,
|
553
|
-
16, 16, 16, 16, 16,
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
16,
|
559
|
-
13, 16, 13, nil, nil,
|
560
|
-
nil, 13,
|
561
|
-
nil, nil,
|
562
|
-
nil, 16,
|
563
|
-
nil, 16, nil, 16, 33, nil, nil, 16, nil,
|
564
|
-
nil,
|
565
|
-
|
566
|
-
nil, nil, nil, nil, 19, nil, nil, nil, nil,
|
567
|
-
nil, 16, 10, 19, nil, nil, nil, nil, nil,
|
568
|
-
nil, nil, nil, nil, nil, 16, 33,
|
569
|
-
nil, nil, 10, nil, 16, nil, nil, nil, 33,
|
570
|
-
nil, nil, nil, nil, nil, 33, nil, nil, nil,
|
571
|
-
10, 16, nil, nil, 16, nil, nil, nil, nil,
|
572
|
-
16, 13, nil, nil, nil, nil, nil, nil, nil,
|
573
|
-
16, nil, nil, nil, 10, nil, nil, nil, nil,
|
574
|
-
10, nil, nil, nil, nil, nil, nil, nil, nil,
|
575
|
-
nil, nil, 10, nil, nil, 10, 16, nil, nil,
|
576
|
-
13 ]
|
546
|
+
10, 29, 15, 10, 33, 28, 37, 33, 16, 16,
|
547
|
+
23, 24, 81, 30, 19, 82, 19, 13, 20, 57,
|
548
|
+
46, 14, 78, 22, 80, 18, 36, 56, 32, 22,
|
549
|
+
1, 80, 80, 76, 4, 32, 34, 4, 76, 76,
|
550
|
+
28, 34, 14, 2, 22, 74, 74, 3, 19, 72,
|
551
|
+
72, 74, 74, 29, 73, 18, 36, 11, 16, 37,
|
552
|
+
46, 57, 78, 28, 56, 13, 30, 82, 12, 20,
|
553
|
+
16, 17, 13, 16, 16, 16, 16, 16, 16, 16,
|
554
|
+
16, 16, 16, 16, 16, 50, 30, 13, 23, 31,
|
555
|
+
35, 13, 16, 16, 13, 73, 14, 37, 14, 44,
|
556
|
+
45, 73, 48, 10, 30, 73, 73, 13, 13, 13,
|
557
|
+
13, 51, 55, 13, 13, 13, 16, 19, 79, 50,
|
558
|
+
16, 81, 75, 16, 15, 24, 83, 75, 30, 84,
|
559
|
+
13, 16, 85, 13, 30, nil, nil, 10, nil, nil,
|
560
|
+
10, 13, 16, 13, nil, nil, 30, nil, nil, 30,
|
561
|
+
nil, nil, 13, nil, 13, nil, 50, nil, nil, nil,
|
562
|
+
nil, nil, 50, nil, 50, 13, 50, nil, nil, 49,
|
563
|
+
10, nil, 16, nil, nil, nil, 16, nil, nil, 10,
|
564
|
+
nil, nil, 16, nil, 16, 33, nil, nil, 16, nil,
|
565
|
+
nil, nil, nil, 16, nil, 33, nil, 50, nil, nil,
|
566
|
+
33, 49, nil, 50, 49, 49, 49, nil, nil, nil,
|
567
|
+
nil, nil, nil, nil, nil, 19, nil, nil, nil, nil,
|
568
|
+
16, nil, 16, 10, 19, nil, nil, nil, nil, nil,
|
569
|
+
16, nil, nil, nil, nil, nil, 16, 33, 49, nil,
|
570
|
+
49, nil, nil, 10, nil, 16, nil, nil, nil, 33,
|
571
|
+
nil, nil, nil, nil, nil, nil, 33, nil, nil, nil,
|
572
|
+
nil, 10, 16, nil, nil, 16, nil, nil, nil, nil,
|
573
|
+
nil, 16, 13, nil, nil, nil, nil, nil, nil, nil,
|
574
|
+
nil, 16, nil, nil, nil, 10, nil, nil, nil, nil,
|
575
|
+
nil, 10, nil, nil, nil, nil, nil, nil, nil, nil,
|
576
|
+
16, nil, nil, 10, nil, nil, 10, 16, nil, nil,
|
577
|
+
13, 13 ]
|
577
578
|
|
578
579
|
racc_goto_pointer = [
|
579
|
-
nil,
|
580
|
-
0,
|
581
|
-
-
|
582
|
-
-
|
583
|
-
nil, nil, nil, nil, -
|
584
|
-
|
580
|
+
nil, 30, 43, 47, 34, nil, nil, nil, nil, nil,
|
581
|
+
0, 47, 28, -2, -77, -9, -2, -19, -65, -83,
|
582
|
+
-239, nil, -262, -113, -49, nil, nil, nil, -61, -14,
|
583
|
+
-157, -154, -217, 4, -155, -5, -69, -164, nil, nil,
|
584
|
+
nil, nil, nil, nil, -124, -124, -204, nil, -165, 95,
|
585
|
+
15, 96, nil, nil, nil, 39, -76, -118, nil, nil,
|
585
586
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
586
|
-
nil, -
|
587
|
-
-
|
587
|
+
nil, nil, -58, -88, -62, -68, -159, nil, -122, -26,
|
588
|
+
-222, -148, -166, -55, -70, -151 ]
|
588
589
|
|
589
590
|
racc_goto_default = [
|
590
591
|
nil, nil, nil, nil, nil, 5, 6, 7, 8, 9,
|
591
|
-
58, nil, nil, nil,
|
592
|
-
nil,
|
593
|
-
59,
|
594
|
-
|
595
|
-
71, nil, 16, 17, 18, nil,
|
596
|
-
23, 24, 25, 26, 27, 29, 30, 31, 32,
|
597
|
-
34,
|
598
|
-
nil, nil, nil, nil, nil ]
|
592
|
+
58, nil, nil, nil, 165, nil, 130, nil, nil, nil,
|
593
|
+
nil, 129, 218, nil, 62, 63, 64, 65, nil, 42,
|
594
|
+
59, 225, 244, 247, nil, nil, nil, 305, 214, 215,
|
595
|
+
216, 217, 219, 220, nil, nil, nil, 267, 268, 70,
|
596
|
+
71, nil, 16, 17, 18, nil, nil, 138, 20, 21,
|
597
|
+
22, 23, 24, 25, 26, 27, 29, 30, 31, 32,
|
598
|
+
33, 34, 155, nil, nil, nil, nil, 36, nil, nil,
|
599
|
+
248, nil, nil, nil, nil, nil ]
|
599
600
|
|
600
601
|
racc_reduce_table = [
|
601
602
|
0, 0, :racc_error,
|
@@ -712,10 +713,12 @@ racc_reduce_table = [
|
|
712
713
|
1, 45, :_reduce_none,
|
713
714
|
1, 45, :_reduce_none,
|
714
715
|
1, 45, :_reduce_none,
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
716
|
+
3, 91, :_reduce_114,
|
717
|
+
0, 94, :_reduce_115,
|
718
|
+
3, 94, :_reduce_116,
|
719
|
+
1, 95, :_reduce_none,
|
720
|
+
2, 95, :_reduce_118,
|
721
|
+
3, 96, :_reduce_119,
|
719
722
|
1, 92, :_reduce_none,
|
720
723
|
1, 92, :_reduce_none,
|
721
724
|
1, 92, :_reduce_none,
|
@@ -724,68 +727,68 @@ racc_reduce_table = [
|
|
724
727
|
1, 92, :_reduce_none,
|
725
728
|
1, 46, :_reduce_none,
|
726
729
|
1, 46, :_reduce_none,
|
727
|
-
6,
|
728
|
-
3,
|
729
|
-
1,
|
730
|
-
1,
|
731
|
-
1,
|
732
|
-
1,
|
733
|
-
1,
|
734
|
-
1,
|
735
|
-
4,
|
736
|
-
5,
|
737
|
-
6,
|
738
|
-
5,
|
739
|
-
4,
|
740
|
-
6,
|
741
|
-
5,
|
742
|
-
4, 106, :_reduce_141,
|
743
|
-
6, 107, :_reduce_142,
|
730
|
+
6, 103, :_reduce_128,
|
731
|
+
3, 103, :_reduce_129,
|
732
|
+
1, 104, :_reduce_none,
|
733
|
+
1, 104, :_reduce_none,
|
734
|
+
1, 104, :_reduce_none,
|
735
|
+
1, 104, :_reduce_none,
|
736
|
+
1, 104, :_reduce_none,
|
737
|
+
1, 104, :_reduce_none,
|
738
|
+
4, 105, :_reduce_136,
|
739
|
+
5, 106, :_reduce_137,
|
740
|
+
6, 106, :_reduce_138,
|
741
|
+
5, 106, :_reduce_139,
|
742
|
+
4, 106, :_reduce_140,
|
743
|
+
6, 107, :_reduce_141,
|
744
|
+
5, 107, :_reduce_142,
|
744
745
|
4, 107, :_reduce_143,
|
745
|
-
|
746
|
+
6, 108, :_reduce_144,
|
746
747
|
4, 108, :_reduce_145,
|
747
748
|
7, 109, :_reduce_146,
|
748
749
|
4, 109, :_reduce_147,
|
749
|
-
|
750
|
+
7, 110, :_reduce_148,
|
751
|
+
4, 110, :_reduce_149,
|
752
|
+
1, 116, :_reduce_none,
|
750
753
|
0, 72, :_reduce_none,
|
751
754
|
1, 72, :_reduce_none,
|
752
|
-
4,
|
753
|
-
6,
|
754
|
-
0,
|
755
|
-
1,
|
756
|
-
3,
|
757
|
-
2,
|
758
|
-
2,
|
759
|
-
1, 116, :_reduce_158,
|
760
|
-
3, 116, :_reduce_159,
|
755
|
+
4, 97, :_reduce_153,
|
756
|
+
6, 98, :_reduce_154,
|
757
|
+
0, 113, :_reduce_155,
|
758
|
+
1, 113, :_reduce_none,
|
759
|
+
3, 111, :_reduce_157,
|
760
|
+
2, 111, :_reduce_158,
|
761
|
+
2, 111, :_reduce_159,
|
761
762
|
1, 117, :_reduce_160,
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
0,
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
763
|
+
3, 117, :_reduce_161,
|
764
|
+
1, 118, :_reduce_162,
|
765
|
+
2, 118, :_reduce_163,
|
766
|
+
6, 119, :_reduce_164,
|
767
|
+
1, 115, :_reduce_165,
|
768
|
+
2, 115, :_reduce_166,
|
769
|
+
0, 120, :_reduce_167,
|
770
|
+
3, 120, :_reduce_168,
|
771
|
+
6, 121, :_reduce_169,
|
772
|
+
0, 112, :_reduce_170,
|
773
|
+
3, 112, :_reduce_171,
|
774
|
+
0, 122, :_reduce_172,
|
775
|
+
1, 122, :_reduce_173,
|
776
|
+
2, 122, :_reduce_174,
|
777
|
+
6, 99, :_reduce_175,
|
778
|
+
1, 114, :_reduce_176,
|
779
|
+
3, 114, :_reduce_177,
|
780
|
+
6, 100, :_reduce_178,
|
781
|
+
7, 101, :_reduce_179,
|
782
|
+
7, 102, :_reduce_180,
|
783
|
+
8, 93, :_reduce_181,
|
784
|
+
0, 123, :_reduce_none,
|
785
|
+
1, 123, :_reduce_none,
|
786
|
+
1, 124, :_reduce_184,
|
787
|
+
3, 124, :_reduce_185 ]
|
788
|
+
|
789
|
+
racc_reduce_n = 186
|
790
|
+
|
791
|
+
racc_shift_n = 317
|
789
792
|
|
790
793
|
racc_token_table = {
|
791
794
|
false => 0,
|
@@ -943,6 +946,7 @@ Racc_token_to_s_table = [
|
|
943
946
|
"schema_definition",
|
944
947
|
"type_definition",
|
945
948
|
"directive_definition",
|
949
|
+
"operation_type_definition_list_opt",
|
946
950
|
"operation_type_definition_list",
|
947
951
|
"operation_type_definition",
|
948
952
|
"scalar_type_definition",
|
@@ -1280,7 +1284,7 @@ module_eval(<<'.,.,', 'parser.y', 119)
|
|
1280
1284
|
|
1281
1285
|
module_eval(<<'.,.,', 'parser.y', 164)
|
1282
1286
|
def _reduce_63(val, _values, result)
|
1283
|
-
result = make_node(:EnumValueDefinition, name: val[1], directives: val[2], description: val[0] || get_description(val[1]), definition_line: val[1]
|
1287
|
+
result = make_node(:EnumValueDefinition, name: val[1], directives: val[2], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1284
1288
|
result
|
1285
1289
|
end
|
1286
1290
|
.,.,
|
@@ -1336,21 +1340,21 @@ module_eval(<<'.,.,', 'parser.y', 179)
|
|
1336
1340
|
|
1337
1341
|
module_eval(<<'.,.,', 'parser.y', 182)
|
1338
1342
|
def _reduce_71(val, _values, result)
|
1339
|
-
result = val[0].to_f
|
1343
|
+
result = val[0][3].to_f
|
1340
1344
|
result
|
1341
1345
|
end
|
1342
1346
|
.,.,
|
1343
1347
|
|
1344
1348
|
module_eval(<<'.,.,', 'parser.y', 183)
|
1345
1349
|
def _reduce_72(val, _values, result)
|
1346
|
-
result = val[0].to_i
|
1350
|
+
result = val[0][3].to_i
|
1347
1351
|
result
|
1348
1352
|
end
|
1349
1353
|
.,.,
|
1350
1354
|
|
1351
1355
|
module_eval(<<'.,.,', 'parser.y', 184)
|
1352
1356
|
def _reduce_73(val, _values, result)
|
1353
|
-
result = val[0]
|
1357
|
+
result = val[0][3]
|
1354
1358
|
result
|
1355
1359
|
end
|
1356
1360
|
.,.,
|
@@ -1597,30 +1601,40 @@ module_eval(<<'.,.,', 'parser.y', 277)
|
|
1597
1601
|
|
1598
1602
|
module_eval(<<'.,.,', 'parser.y', 286)
|
1599
1603
|
def _reduce_114(val, _values, result)
|
1600
|
-
result = make_node(:SchemaDefinition, position_source: val[0], definition_line: val[0]
|
1604
|
+
result = make_node(:SchemaDefinition, position_source: val[0], definition_line: val[0][1], directives: val[1], **val[2])
|
1601
1605
|
result
|
1602
1606
|
end
|
1603
1607
|
.,.,
|
1604
1608
|
|
1605
|
-
|
1609
|
+
module_eval(<<'.,.,', 'parser.y', 289)
|
1610
|
+
def _reduce_115(val, _values, result)
|
1611
|
+
result = {}
|
1612
|
+
result
|
1613
|
+
end
|
1614
|
+
.,.,
|
1606
1615
|
|
1607
1616
|
module_eval(<<'.,.,', 'parser.y', 290)
|
1608
1617
|
def _reduce_116(val, _values, result)
|
1609
|
-
result = val[
|
1618
|
+
result = val[1]
|
1610
1619
|
result
|
1611
1620
|
end
|
1612
1621
|
.,.,
|
1613
1622
|
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1623
|
+
# reduce 117 omitted
|
1624
|
+
|
1625
|
+
module_eval(<<'.,.,', 'parser.y', 294)
|
1626
|
+
def _reduce_118(val, _values, result)
|
1627
|
+
result = val[0].merge(val[1])
|
1617
1628
|
result
|
1618
1629
|
end
|
1619
1630
|
.,.,
|
1620
1631
|
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1632
|
+
module_eval(<<'.,.,', 'parser.y', 297)
|
1633
|
+
def _reduce_119(val, _values, result)
|
1634
|
+
result = { val[0][3].to_sym => val[2] }
|
1635
|
+
result
|
1636
|
+
end
|
1637
|
+
.,.,
|
1624
1638
|
|
1625
1639
|
# reduce 120 omitted
|
1626
1640
|
|
@@ -1634,24 +1648,24 @@ module_eval(<<'.,.,', 'parser.y', 293)
|
|
1634
1648
|
|
1635
1649
|
# reduce 125 omitted
|
1636
1650
|
|
1637
|
-
|
1638
|
-
|
1651
|
+
# reduce 126 omitted
|
1652
|
+
|
1653
|
+
# reduce 127 omitted
|
1654
|
+
|
1655
|
+
module_eval(<<'.,.,', 'parser.y', 312)
|
1656
|
+
def _reduce_128(val, _values, result)
|
1639
1657
|
result = make_node(:SchemaExtension, position_source: val[0], directives: val[2], **val[4])
|
1640
1658
|
result
|
1641
1659
|
end
|
1642
1660
|
.,.,
|
1643
1661
|
|
1644
|
-
module_eval(<<'.,.,', 'parser.y',
|
1645
|
-
def
|
1662
|
+
module_eval(<<'.,.,', 'parser.y', 313)
|
1663
|
+
def _reduce_129(val, _values, result)
|
1646
1664
|
result = make_node(:SchemaExtension, position_source: val[0], directives: val[2])
|
1647
1665
|
result
|
1648
1666
|
end
|
1649
1667
|
.,.,
|
1650
1668
|
|
1651
|
-
# reduce 128 omitted
|
1652
|
-
|
1653
|
-
# reduce 129 omitted
|
1654
|
-
|
1655
1669
|
# reduce 130 omitted
|
1656
1670
|
|
1657
1671
|
# reduce 131 omitted
|
@@ -1660,166 +1674,156 @@ module_eval(<<'.,.,', 'parser.y', 309)
|
|
1660
1674
|
|
1661
1675
|
# reduce 133 omitted
|
1662
1676
|
|
1663
|
-
|
1664
|
-
def _reduce_134(val, _values, result)
|
1665
|
-
result = make_node(:ScalarTypeExtension, name: val[2], directives: val[3], position_source: val[0])
|
1666
|
-
result
|
1667
|
-
end
|
1668
|
-
.,.,
|
1677
|
+
# reduce 134 omitted
|
1669
1678
|
|
1670
|
-
|
1671
|
-
def _reduce_135(val, _values, result)
|
1672
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[4], position_source: val[0])
|
1673
|
-
result
|
1674
|
-
end
|
1675
|
-
.,.,
|
1679
|
+
# reduce 135 omitted
|
1676
1680
|
|
1677
|
-
module_eval(<<'.,.,', 'parser.y',
|
1681
|
+
module_eval(<<'.,.,', 'parser.y', 323)
|
1678
1682
|
def _reduce_136(val, _values, result)
|
1679
|
-
result = make_node(:
|
1683
|
+
result = make_node(:ScalarTypeExtension, name: val[2], directives: val[3], position_source: val[0])
|
1680
1684
|
result
|
1681
1685
|
end
|
1682
1686
|
.,.,
|
1683
1687
|
|
1684
|
-
module_eval(<<'.,.,', 'parser.y',
|
1688
|
+
module_eval(<<'.,.,', 'parser.y', 327)
|
1685
1689
|
def _reduce_137(val, _values, result)
|
1686
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives:
|
1690
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[4], position_source: val[0])
|
1687
1691
|
result
|
1688
1692
|
end
|
1689
1693
|
.,.,
|
1690
1694
|
|
1691
|
-
module_eval(<<'.,.,', 'parser.y',
|
1695
|
+
module_eval(<<'.,.,', 'parser.y', 328)
|
1692
1696
|
def _reduce_138(val, _values, result)
|
1693
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: [], position_source: val[0])
|
1697
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1694
1698
|
result
|
1695
1699
|
end
|
1696
1700
|
.,.,
|
1697
1701
|
|
1698
1702
|
module_eval(<<'.,.,', 'parser.y', 329)
|
1699
1703
|
def _reduce_139(val, _values, result)
|
1700
|
-
result = make_node(:
|
1704
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: [], position_source: val[0])
|
1701
1705
|
result
|
1702
1706
|
end
|
1703
1707
|
.,.,
|
1704
1708
|
|
1705
1709
|
module_eval(<<'.,.,', 'parser.y', 330)
|
1706
1710
|
def _reduce_140(val, _values, result)
|
1707
|
-
result = make_node(:
|
1711
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: [], position_source: val[0])
|
1708
1712
|
result
|
1709
1713
|
end
|
1710
1714
|
.,.,
|
1711
1715
|
|
1712
|
-
module_eval(<<'.,.,', 'parser.y',
|
1716
|
+
module_eval(<<'.,.,', 'parser.y', 333)
|
1713
1717
|
def _reduce_141(val, _values, result)
|
1714
|
-
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: [], position_source: val[0])
|
1718
|
+
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1715
1719
|
result
|
1716
1720
|
end
|
1717
1721
|
.,.,
|
1718
1722
|
|
1719
1723
|
module_eval(<<'.,.,', 'parser.y', 334)
|
1720
1724
|
def _reduce_142(val, _values, result)
|
1721
|
-
result = make_node(:
|
1725
|
+
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: [], position_source: val[0])
|
1722
1726
|
result
|
1723
1727
|
end
|
1724
1728
|
.,.,
|
1725
1729
|
|
1726
1730
|
module_eval(<<'.,.,', 'parser.y', 335)
|
1727
1731
|
def _reduce_143(val, _values, result)
|
1728
|
-
result = make_node(:
|
1732
|
+
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: [], position_source: val[0])
|
1729
1733
|
result
|
1730
1734
|
end
|
1731
1735
|
.,.,
|
1732
1736
|
|
1733
1737
|
module_eval(<<'.,.,', 'parser.y', 338)
|
1734
1738
|
def _reduce_144(val, _values, result)
|
1735
|
-
result = make_node(:
|
1739
|
+
result = make_node(:UnionTypeExtension, name: val[2], directives: val[3], types: val[5], position_source: val[0])
|
1736
1740
|
result
|
1737
1741
|
end
|
1738
1742
|
.,.,
|
1739
1743
|
|
1740
1744
|
module_eval(<<'.,.,', 'parser.y', 339)
|
1741
1745
|
def _reduce_145(val, _values, result)
|
1742
|
-
result = make_node(:
|
1746
|
+
result = make_node(:UnionTypeExtension, name: val[2], directives: val[3], types: [], position_source: val[0])
|
1743
1747
|
result
|
1744
1748
|
end
|
1745
1749
|
.,.,
|
1746
1750
|
|
1747
1751
|
module_eval(<<'.,.,', 'parser.y', 342)
|
1748
1752
|
def _reduce_146(val, _values, result)
|
1749
|
-
result = make_node(:
|
1753
|
+
result = make_node(:EnumTypeExtension, name: val[2], directives: val[3], values: val[5], position_source: val[0])
|
1750
1754
|
result
|
1751
1755
|
end
|
1752
1756
|
.,.,
|
1753
1757
|
|
1754
1758
|
module_eval(<<'.,.,', 'parser.y', 343)
|
1755
1759
|
def _reduce_147(val, _values, result)
|
1756
|
-
result = make_node(:
|
1760
|
+
result = make_node(:EnumTypeExtension, name: val[2], directives: val[3], values: [], position_source: val[0])
|
1757
1761
|
result
|
1758
1762
|
end
|
1759
1763
|
.,.,
|
1760
1764
|
|
1761
|
-
|
1765
|
+
module_eval(<<'.,.,', 'parser.y', 346)
|
1766
|
+
def _reduce_148(val, _values, result)
|
1767
|
+
result = make_node(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: val[5], position_source: val[0])
|
1768
|
+
result
|
1769
|
+
end
|
1770
|
+
.,.,
|
1762
1771
|
|
1763
|
-
|
1772
|
+
module_eval(<<'.,.,', 'parser.y', 347)
|
1773
|
+
def _reduce_149(val, _values, result)
|
1774
|
+
result = make_node(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: [], position_source: val[0])
|
1775
|
+
result
|
1776
|
+
end
|
1777
|
+
.,.,
|
1764
1778
|
|
1765
1779
|
# reduce 150 omitted
|
1766
1780
|
|
1767
|
-
|
1768
|
-
def _reduce_151(val, _values, result)
|
1769
|
-
result = make_node(:ScalarTypeDefinition, name: val[2], directives: val[3], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
|
1781
|
+
# reduce 151 omitted
|
1770
1782
|
|
1771
|
-
|
1772
|
-
end
|
1773
|
-
.,.,
|
1783
|
+
# reduce 152 omitted
|
1774
1784
|
|
1775
|
-
module_eval(<<'.,.,', 'parser.y',
|
1776
|
-
def
|
1777
|
-
result = make_node(:
|
1785
|
+
module_eval(<<'.,.,', 'parser.y', 357)
|
1786
|
+
def _reduce_153(val, _values, result)
|
1787
|
+
result = make_node(:ScalarTypeDefinition, name: val[2], directives: val[3], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1778
1788
|
|
1779
1789
|
result
|
1780
1790
|
end
|
1781
1791
|
.,.,
|
1782
1792
|
|
1783
1793
|
module_eval(<<'.,.,', 'parser.y', 362)
|
1784
|
-
def
|
1785
|
-
|
1794
|
+
def _reduce_154(val, _values, result)
|
1795
|
+
result = make_node(:ObjectTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1796
|
+
|
1786
1797
|
result
|
1787
1798
|
end
|
1788
1799
|
.,.,
|
1789
1800
|
|
1790
|
-
# reduce 154 omitted
|
1791
|
-
|
1792
1801
|
module_eval(<<'.,.,', 'parser.y', 366)
|
1793
1802
|
def _reduce_155(val, _values, result)
|
1794
|
-
result =
|
1803
|
+
result = EMPTY_ARRAY
|
1795
1804
|
result
|
1796
1805
|
end
|
1797
1806
|
.,.,
|
1798
1807
|
|
1799
|
-
|
1800
|
-
def _reduce_156(val, _values, result)
|
1801
|
-
result = val[1]
|
1802
|
-
result
|
1803
|
-
end
|
1804
|
-
.,.,
|
1808
|
+
# reduce 156 omitted
|
1805
1809
|
|
1806
|
-
module_eval(<<'.,.,', 'parser.y',
|
1810
|
+
module_eval(<<'.,.,', 'parser.y', 370)
|
1807
1811
|
def _reduce_157(val, _values, result)
|
1808
|
-
result = val[
|
1812
|
+
result = val[2]
|
1809
1813
|
result
|
1810
1814
|
end
|
1811
1815
|
.,.,
|
1812
1816
|
|
1813
1817
|
module_eval(<<'.,.,', 'parser.y', 371)
|
1814
1818
|
def _reduce_158(val, _values, result)
|
1815
|
-
result =
|
1819
|
+
result = val[1]
|
1816
1820
|
result
|
1817
1821
|
end
|
1818
1822
|
.,.,
|
1819
1823
|
|
1820
1824
|
module_eval(<<'.,.,', 'parser.y', 372)
|
1821
1825
|
def _reduce_159(val, _values, result)
|
1822
|
-
|
1826
|
+
result = val[1]
|
1823
1827
|
result
|
1824
1828
|
end
|
1825
1829
|
.,.,
|
@@ -1833,65 +1837,65 @@ module_eval(<<'.,.,', 'parser.y', 375)
|
|
1833
1837
|
|
1834
1838
|
module_eval(<<'.,.,', 'parser.y', 376)
|
1835
1839
|
def _reduce_161(val, _values, result)
|
1836
|
-
val[0] << make_node(:TypeName, name: val[
|
1840
|
+
val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
|
1837
1841
|
result
|
1838
1842
|
end
|
1839
1843
|
.,.,
|
1840
1844
|
|
1841
|
-
module_eval(<<'.,.,', 'parser.y',
|
1845
|
+
module_eval(<<'.,.,', 'parser.y', 379)
|
1842
1846
|
def _reduce_162(val, _values, result)
|
1843
|
-
|
1844
|
-
|
1847
|
+
result = [make_node(:TypeName, name: val[0], position_source: val[0])]
|
1845
1848
|
result
|
1846
1849
|
end
|
1847
1850
|
.,.,
|
1848
1851
|
|
1849
|
-
module_eval(<<'.,.,', 'parser.y',
|
1852
|
+
module_eval(<<'.,.,', 'parser.y', 380)
|
1850
1853
|
def _reduce_163(val, _values, result)
|
1851
|
-
|
1854
|
+
val[0] << make_node(:TypeName, name: val[1], position_source: val[1])
|
1852
1855
|
result
|
1853
1856
|
end
|
1854
1857
|
.,.,
|
1855
1858
|
|
1856
|
-
module_eval(<<'.,.,', 'parser.y',
|
1859
|
+
module_eval(<<'.,.,', 'parser.y', 384)
|
1857
1860
|
def _reduce_164(val, _values, result)
|
1858
|
-
|
1861
|
+
result = make_node(:InputValueDefinition, name: val[1], type: val[3], default_value: val[4], directives: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1862
|
+
|
1859
1863
|
result
|
1860
1864
|
end
|
1861
1865
|
.,.,
|
1862
1866
|
|
1863
1867
|
module_eval(<<'.,.,', 'parser.y', 388)
|
1864
1868
|
def _reduce_165(val, _values, result)
|
1865
|
-
result =
|
1869
|
+
result = [val[0]]
|
1866
1870
|
result
|
1867
1871
|
end
|
1868
1872
|
.,.,
|
1869
1873
|
|
1870
1874
|
module_eval(<<'.,.,', 'parser.y', 389)
|
1871
1875
|
def _reduce_166(val, _values, result)
|
1872
|
-
|
1876
|
+
val[0] << val[1]
|
1873
1877
|
result
|
1874
1878
|
end
|
1875
1879
|
.,.,
|
1876
1880
|
|
1877
|
-
module_eval(<<'.,.,', 'parser.y',
|
1881
|
+
module_eval(<<'.,.,', 'parser.y', 392)
|
1878
1882
|
def _reduce_167(val, _values, result)
|
1879
|
-
|
1880
|
-
|
1883
|
+
result = EMPTY_ARRAY
|
1881
1884
|
result
|
1882
1885
|
end
|
1883
1886
|
.,.,
|
1884
1887
|
|
1885
|
-
module_eval(<<'.,.,', 'parser.y',
|
1888
|
+
module_eval(<<'.,.,', 'parser.y', 393)
|
1886
1889
|
def _reduce_168(val, _values, result)
|
1887
|
-
result =
|
1890
|
+
result = val[1]
|
1888
1891
|
result
|
1889
1892
|
end
|
1890
1893
|
.,.,
|
1891
1894
|
|
1892
|
-
module_eval(<<'.,.,', 'parser.y',
|
1895
|
+
module_eval(<<'.,.,', 'parser.y', 397)
|
1893
1896
|
def _reduce_169(val, _values, result)
|
1894
|
-
|
1897
|
+
result = make_node(:FieldDefinition, name: val[1], arguments: val[2], type: val[4], directives: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1898
|
+
|
1895
1899
|
result
|
1896
1900
|
end
|
1897
1901
|
.,.,
|
@@ -1905,86 +1909,100 @@ module_eval(<<'.,.,', 'parser.y', 401)
|
|
1905
1909
|
|
1906
1910
|
module_eval(<<'.,.,', 'parser.y', 402)
|
1907
1911
|
def _reduce_171(val, _values, result)
|
1908
|
-
result =
|
1912
|
+
result = val[1]
|
1909
1913
|
result
|
1910
1914
|
end
|
1911
1915
|
.,.,
|
1912
1916
|
|
1913
|
-
module_eval(<<'.,.,', 'parser.y',
|
1917
|
+
module_eval(<<'.,.,', 'parser.y', 405)
|
1914
1918
|
def _reduce_172(val, _values, result)
|
1915
|
-
|
1919
|
+
result = EMPTY_ARRAY
|
1916
1920
|
result
|
1917
1921
|
end
|
1918
1922
|
.,.,
|
1919
1923
|
|
1920
|
-
module_eval(<<'.,.,', 'parser.y',
|
1924
|
+
module_eval(<<'.,.,', 'parser.y', 406)
|
1921
1925
|
def _reduce_173(val, _values, result)
|
1922
|
-
|
1923
|
-
|
1926
|
+
result = [val[0]]
|
1924
1927
|
result
|
1925
1928
|
end
|
1926
1929
|
.,.,
|
1927
1930
|
|
1928
|
-
module_eval(<<'.,.,', 'parser.y',
|
1931
|
+
module_eval(<<'.,.,', 'parser.y', 407)
|
1929
1932
|
def _reduce_174(val, _values, result)
|
1930
|
-
|
1933
|
+
val[0] << val[1]
|
1931
1934
|
result
|
1932
1935
|
end
|
1933
1936
|
.,.,
|
1934
1937
|
|
1935
|
-
module_eval(<<'.,.,', 'parser.y',
|
1938
|
+
module_eval(<<'.,.,', 'parser.y', 411)
|
1936
1939
|
def _reduce_175(val, _values, result)
|
1937
|
-
|
1940
|
+
result = make_node(:InterfaceTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1941
|
+
|
1938
1942
|
result
|
1939
1943
|
end
|
1940
1944
|
.,.,
|
1941
1945
|
|
1942
|
-
module_eval(<<'.,.,', 'parser.y',
|
1946
|
+
module_eval(<<'.,.,', 'parser.y', 415)
|
1943
1947
|
def _reduce_176(val, _values, result)
|
1944
|
-
|
1945
|
-
|
1948
|
+
result = [make_node(:TypeName, name: val[0], position_source: val[0])]
|
1946
1949
|
result
|
1947
1950
|
end
|
1948
1951
|
.,.,
|
1949
1952
|
|
1950
|
-
module_eval(<<'.,.,', 'parser.y',
|
1953
|
+
module_eval(<<'.,.,', 'parser.y', 416)
|
1951
1954
|
def _reduce_177(val, _values, result)
|
1952
|
-
|
1953
|
-
|
1955
|
+
val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
|
1954
1956
|
result
|
1955
1957
|
end
|
1956
1958
|
.,.,
|
1957
1959
|
|
1958
|
-
module_eval(<<'.,.,', 'parser.y',
|
1960
|
+
module_eval(<<'.,.,', 'parser.y', 420)
|
1959
1961
|
def _reduce_178(val, _values, result)
|
1960
|
-
result = make_node(:
|
1962
|
+
result = make_node(:UnionTypeDefinition, name: val[2], directives: val[3], types: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1961
1963
|
|
1962
1964
|
result
|
1963
1965
|
end
|
1964
1966
|
.,.,
|
1965
1967
|
|
1966
|
-
module_eval(<<'.,.,', 'parser.y',
|
1968
|
+
module_eval(<<'.,.,', 'parser.y', 425)
|
1967
1969
|
def _reduce_179(val, _values, result)
|
1968
|
-
|
1970
|
+
result = make_node(:EnumTypeDefinition, name: val[2], directives: val[3], values: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1971
|
+
|
1972
|
+
result
|
1973
|
+
end
|
1974
|
+
.,.,
|
1975
|
+
|
1976
|
+
module_eval(<<'.,.,', 'parser.y', 430)
|
1977
|
+
def _reduce_180(val, _values, result)
|
1978
|
+
result = make_node(:InputObjectTypeDefinition, name: val[2], directives: val[3], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1979
|
+
|
1980
|
+
result
|
1981
|
+
end
|
1982
|
+
.,.,
|
1983
|
+
|
1984
|
+
module_eval(<<'.,.,', 'parser.y', 435)
|
1985
|
+
def _reduce_181(val, _values, result)
|
1986
|
+
result = make_node(:DirectiveDefinition, name: val[3], arguments: val[4], locations: val[7], repeatable: !!val[5], description: val[0] || get_description(val[1]), definition_line: val[1][1], position_source: val[0] || val[1])
|
1969
1987
|
|
1970
1988
|
result
|
1971
1989
|
end
|
1972
1990
|
.,.,
|
1973
1991
|
|
1974
|
-
# reduce
|
1992
|
+
# reduce 182 omitted
|
1975
1993
|
|
1976
|
-
# reduce
|
1994
|
+
# reduce 183 omitted
|
1977
1995
|
|
1978
|
-
module_eval(<<'.,.,', 'parser.y',
|
1979
|
-
def
|
1980
|
-
result = [make_node(:DirectiveLocation, name: val[0]
|
1996
|
+
module_eval(<<'.,.,', 'parser.y', 443)
|
1997
|
+
def _reduce_184(val, _values, result)
|
1998
|
+
result = [make_node(:DirectiveLocation, name: val[0][3], position_source: val[0])]
|
1981
1999
|
result
|
1982
2000
|
end
|
1983
2001
|
.,.,
|
1984
2002
|
|
1985
|
-
module_eval(<<'.,.,', 'parser.y',
|
1986
|
-
def
|
1987
|
-
val[0] << make_node(:DirectiveLocation, name: val[2]
|
2003
|
+
module_eval(<<'.,.,', 'parser.y', 444)
|
2004
|
+
def _reduce_185(val, _values, result)
|
2005
|
+
val[0] << make_node(:DirectiveLocation, name: val[2][3], position_source: val[2])
|
1988
2006
|
result
|
1989
2007
|
end
|
1990
2008
|
.,.,
|