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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/graphql/analysis/ast.rb +2 -2
  3. data/lib/graphql/backtrace/trace.rb +96 -0
  4. data/lib/graphql/backtrace/tracer.rb +1 -1
  5. data/lib/graphql/backtrace.rb +6 -1
  6. data/lib/graphql/execution/interpreter/arguments.rb +1 -1
  7. data/lib/graphql/execution/interpreter/arguments_cache.rb +2 -3
  8. data/lib/graphql/execution/interpreter/resolve.rb +19 -0
  9. data/lib/graphql/execution/interpreter/runtime.rb +254 -211
  10. data/lib/graphql/execution/interpreter.rb +9 -14
  11. data/lib/graphql/execution/lazy.rb +2 -4
  12. data/lib/graphql/execution/multiplex.rb +2 -1
  13. data/lib/graphql/filter.rb +7 -2
  14. data/lib/graphql/language/document_from_schema_definition.rb +25 -9
  15. data/lib/graphql/language/lexer.rb +216 -1505
  16. data/lib/graphql/language/nodes.rb +27 -9
  17. data/lib/graphql/language/parser.rb +509 -491
  18. data/lib/graphql/language/parser.y +43 -38
  19. data/lib/graphql/pagination/active_record_relation_connection.rb +0 -8
  20. data/lib/graphql/pagination/connection.rb +5 -5
  21. data/lib/graphql/query/context.rb +62 -31
  22. data/lib/graphql/query/null_context.rb +1 -1
  23. data/lib/graphql/query.rb +22 -5
  24. data/lib/graphql/schema/argument.rb +7 -9
  25. data/lib/graphql/schema/build_from_definition.rb +15 -3
  26. data/lib/graphql/schema/enum_value.rb +2 -5
  27. data/lib/graphql/schema/field.rb +44 -31
  28. data/lib/graphql/schema/field_extension.rb +1 -4
  29. data/lib/graphql/schema/find_inherited_value.rb +2 -7
  30. data/lib/graphql/schema/member/base_dsl_methods.rb +13 -11
  31. data/lib/graphql/schema/member/has_arguments.rb +1 -1
  32. data/lib/graphql/schema/member/has_ast_node.rb +12 -0
  33. data/lib/graphql/schema/member/has_deprecation_reason.rb +3 -4
  34. data/lib/graphql/schema/member/has_directives.rb +15 -10
  35. data/lib/graphql/schema/member/has_fields.rb +87 -37
  36. data/lib/graphql/schema/member/has_validators.rb +2 -2
  37. data/lib/graphql/schema/member/relay_shortcuts.rb +19 -0
  38. data/lib/graphql/schema/member/type_system_helpers.rb +1 -1
  39. data/lib/graphql/schema/object.rb +2 -4
  40. data/lib/graphql/schema/resolver/has_payload_type.rb +9 -9
  41. data/lib/graphql/schema/resolver.rb +4 -4
  42. data/lib/graphql/schema/timeout.rb +24 -28
  43. data/lib/graphql/schema/validator.rb +1 -1
  44. data/lib/graphql/schema/warden.rb +11 -2
  45. data/lib/graphql/schema.rb +72 -1
  46. data/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb +12 -4
  47. data/lib/graphql/static_validation/rules/fields_will_merge.rb +2 -2
  48. data/lib/graphql/static_validation/validator.rb +1 -1
  49. data/lib/graphql/tracing/active_support_notifications_trace.rb +16 -0
  50. data/lib/graphql/tracing/appoptics_trace.rb +231 -0
  51. data/lib/graphql/tracing/appsignal_trace.rb +77 -0
  52. data/lib/graphql/tracing/data_dog_trace.rb +148 -0
  53. data/lib/graphql/tracing/legacy_trace.rb +65 -0
  54. data/lib/graphql/tracing/new_relic_trace.rb +75 -0
  55. data/lib/graphql/tracing/notifications_trace.rb +42 -0
  56. data/lib/graphql/tracing/platform_trace.rb +109 -0
  57. data/lib/graphql/tracing/platform_tracing.rb +15 -3
  58. data/lib/graphql/tracing/prometheus_trace.rb +89 -0
  59. data/lib/graphql/tracing/prometheus_tracing/graphql_collector.rb +1 -1
  60. data/lib/graphql/tracing/prometheus_tracing.rb +3 -3
  61. data/lib/graphql/tracing/scout_trace.rb +72 -0
  62. data/lib/graphql/tracing/statsd_trace.rb +56 -0
  63. data/lib/graphql/tracing/trace.rb +75 -0
  64. data/lib/graphql/tracing.rb +16 -39
  65. data/lib/graphql/type_kinds.rb +6 -3
  66. data/lib/graphql/types/relay/base_connection.rb +1 -1
  67. data/lib/graphql/types/relay/connection_behaviors.rb +24 -2
  68. data/lib/graphql/types/relay/edge_behaviors.rb +16 -2
  69. data/lib/graphql/types/relay/node_behaviors.rb +7 -1
  70. data/lib/graphql/types/relay/page_info_behaviors.rb +7 -2
  71. data/lib/graphql/types/relay.rb +0 -1
  72. data/lib/graphql/version.rb +1 -1
  73. data/lib/graphql.rb +16 -9
  74. metadata +33 -8
  75. data/lib/graphql/language/lexer.rl +0 -280
  76. 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.0
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', 448)
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:, tracer: Tracing::NullTracer)
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
- @tracer = tracer
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
- @tracer.trace("lex", {query_string: @query_string}) do
31
- @tokens ||= GraphQL.scan(@query_string)
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
- @tracer.trace("parse", {query_string: @query_string}) do
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, tracer: GraphQL::Tracing::NullTracer)
48
- new(query_string, filename: filename, tracer: tracer).parse_document
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, tracer: GraphQL::Tracing::NullTracer)
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, tracer: tracer)
54
+ parse(File.read(filename), filename: filename, trace: trace)
55
55
  end
56
56
  else
57
- parse(File.read(filename), filename: filename, tracer: tracer)
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.name
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.prev_token
80
+ token = token[4]
81
81
 
82
82
  break if token.nil?
83
- break if token.name != :COMMENT
84
- break if prev_token.line != token.line + 1
83
+ break if token[0] != :COMMENT
84
+ break if prev_token[1] != token[1] + 1
85
85
 
86
- comments.unshift(token.to_s.sub(/^#\s*/, ""))
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, col = lexer_token.line_and_column
103
- if lexer_token.name == :BAD_UNICODE_ESCAPE
104
- raise GraphQL::ParseError.new("Parse error on bad Unicode escape sequence: #{lexer_token.to_s.inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
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.to_s.inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
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?(GraphQL::Language::Token)
115
- assigns[key] = value.to_s
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, -170, 11, 281, 12, 13, 14, 11, -101, 12,
128
- 13, 14, 95, 269, 275, 94, 19, 38, 74, 75,
129
- 76, 19, 77, 78, 79, 80, 15, 35, 161, 121,
130
- 35, 15, 35, 12, 13, 14, 28, 35, 180, 276,
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, 279, 183, 72, 35, 88,
134
- -154, 43, 44, 45, 46, 47, 48, 49, 50, 51,
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
- 280, 67, 90, 99, 35, 72, 72, -101, 43, 44,
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, 227, 12, 13, 14, 72, 67, 35,
139
- 175, 12, 13, 14, 72, 43, 44, 45, 46, 47,
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, 223, 102, 12, 13,
144
- 14, 67, 72, 221, 117, 72, 222, 121, 72, 204,
145
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
146
- 202, 203, 211, 212, 208, 209, 210, 220, 223, 72,
147
- 12, 13, 14, 132, 95, 221, 139, 72, 222, 259,
148
- 143, 204, 44, 45, 46, 47, 48, 49, 50, 51,
149
- 52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
150
- 223, 143, 12, 13, 14, 72, 72, 221, 72, 72,
151
- 222, 285, 143, 204, 44, 45, 46, 47, 48, 49,
152
- 50, 51, 52, 201, 202, 203, 211, 212, 208, 209,
153
- 210, 220, 301, 143, 12, 13, 14, 230, 12, 13,
154
- 14, 72, 222, 72, 72, 204, 44, 45, 46, 47,
155
- 48, 49, 50, 51, 52, 201, 202, 203, 211, 212,
156
- 208, 209, 210, 220, 223, 132, 12, 13, 14, 132,
157
- 95, 221, 169, 170, 222, 72, 72, 204, 44, 45,
158
- 46, 47, 48, 49, 50, 51, 52, 201, 202, 203,
159
- 211, 212, 208, 209, 210, 220, 223, 177, 12, 13,
160
- 14, 72, 72, 221, 72, -154, 222, 189, 190, 204,
161
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
162
- 202, 203, 211, 212, 208, 209, 210, 220, 301, 191,
163
- 12, 13, 14, 12, 13, 14, 72, 72, 222, 194,
164
- 195, 204, 44, 45, 46, 47, 48, 49, 50, 51,
165
- 52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
166
- 12, 13, 14, 12, 13, 14, 196, 197, 199, 72,
167
- 225, 97, 44, 45, 46, 47, 48, 49, 50, 51,
168
- 52, 53, 54, 55, 56, 57, 262, 12, 13, 14,
169
- 72, 132, 132, 72, 180, 237, 72, 180, 43, 44,
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, 287, 12, 13, 14, 35, 35, 180,
172
- 180, 35, 35, 35, 255, 43, 44, 45, 46, 47,
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
- 291, 12, 13, 14, 132, 237, 272, 272, 282, 284,
175
- 290, 197, 43, 44, 45, 46, 47, 48, 49, 50,
176
- 51, 52, 53, 54, 55, 56, 57, 309, 12, 13,
177
- 14, 72, 297, 302, 305, 306, 308, 284, 72, 43,
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, 130, nil, nil, 43, 44, 45,
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
- 130, nil, nil, 43, 44, 45, 46, 47, 48, 49,
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, 167, nil, nil, nil, nil, 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, 130, nil, nil, 43, 44, 45,
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
- 130, nil, nil, 43, 44, 45, 46, 47, 48, 49,
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, 130, nil, nil, 43, 44, 45, 46, 47,
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, 130, 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, 204, 44, 45, 46, 47, 48, 49,
280
- 50, 51, 52, 201, 202, 203, -160, nil, nil, nil,
281
- -160, nil, nil, nil, nil, nil, -160, nil, -160, -160,
282
- -160 ]
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, 180, 3, 253, 3, 3, 3, 0, 103, 0,
286
- 0, 0, 66, 232, 244, 66, 3, 1, 28, 28,
287
- 28, 0, 28, 28, 28, 28, 3, 253, 119, 119,
288
- 180, 0, 3, 143, 143, 143, 3, 0, 141, 245,
289
- 103, 0, 232, 244, 143, 143, 143, 143, 143, 143,
290
- 143, 143, 143, 143, 143, 143, 143, 143, 143, 11,
291
- 11, 11, 11, 148, 150, 251, 143, 19, 245, 38,
292
- 141, 11, 11, 11, 11, 11, 11, 11, 11, 11,
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
- 252, 11, 40, 68, 251, 148, 150, 146, 60, 60,
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, 173, 173, 173, 173, 146, 60, 252,
297
- 136, 136, 136, 136, 70, 173, 173, 173, 173, 173,
298
- 173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
299
- 132, 132, 132, 37, 37, 173, 37, 37, 37, 37,
300
- 37, 132, 132, 132, 132, 132, 132, 132, 132, 132,
301
- 132, 132, 132, 132, 132, 132, 169, 73, 169, 169,
302
- 169, 132, 74, 169, 87, 89, 169, 90, 93, 169,
303
- 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
304
- 169, 169, 169, 169, 169, 169, 169, 169, 222, 96,
305
- 222, 222, 222, 98, 101, 222, 104, 105, 222, 222,
306
- 106, 222, 222, 222, 222, 222, 222, 222, 222, 222,
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
- 223, 223, 223, 263, 263, 263, 263, 190, 191, 192,
330
- 193, 195, 196, 197, 198, 263, 263, 263, 263, 263,
331
- 263, 263, 263, 263, 263, 263, 263, 263, 263, 263,
332
- 266, 266, 266, 266, 200, 235, 240, 250, 254, 256,
333
- 265, 268, 266, 266, 266, 266, 266, 266, 266, 266,
334
- 266, 266, 266, 266, 266, 266, 266, 301, 301, 301,
335
- 301, 273, 278, 289, 293, 294, 298, 307, 311, 301,
336
- 301, 301, 301, 301, 301, 301, 301, 301, 301, 301,
337
- 301, 301, 301, 301, 10, 10, 10, 312, nil, nil,
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, 117, 117,
387
- 117, nil, nil, nil, nil, nil, nil, nil, nil, 117,
388
- 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
389
- 117, 117, 117, 117, 121, 121, 121, nil, nil, nil,
390
- nil, nil, nil, nil, nil, 121, 121, 121, 121, 121,
391
- 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
392
- 124, 124, 124, nil, 124, nil, nil, nil, nil, nil,
393
- nil, 124, 124, 124, 124, 124, 124, 124, 124, 124,
394
- 124, 124, 124, 124, 124, 124, 130, 130, 130, nil,
395
- nil, nil, nil, nil, 130, nil, nil, 130, 130, 130,
396
- 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
397
- 130, 130, 177, 177, 177, nil, nil, nil, nil, nil,
398
- nil, nil, nil, 177, 177, 177, 177, 177, 177, 177,
399
- 177, 177, 177, 177, 177, 177, 177, 177, 183, 183,
400
- 183, nil, nil, nil, nil, nil, nil, nil, nil, 183,
401
- 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
402
- 183, 183, 183, 183, 185, 185, 185, nil, nil, nil,
403
- nil, nil, nil, nil, nil, 185, 185, 185, 185, 185,
404
- 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
405
- 189, 189, 189, nil, nil, nil, nil, nil, nil, nil,
406
- nil, 189, 189, 189, 189, 189, 189, 189, 189, 189,
407
- 189, 189, 189, 189, 189, 189, 194, 194, 194, nil,
408
- nil, nil, nil, nil, nil, nil, nil, 194, 194, 194,
409
- 194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
410
- 194, 194, 199, 199, 199, nil, nil, nil, nil, nil,
411
- 199, nil, nil, 199, 199, 199, 199, 199, 199, 199,
412
- 199, 199, 199, 199, 199, 199, 199, 199, 221, 221,
413
- 221, nil, nil, nil, nil, nil, nil, nil, nil, 221,
414
- 221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
415
- 221, 221, 221, 221, 231, 231, 231, nil, nil, nil,
416
- nil, nil, nil, nil, nil, 231, 231, 231, 231, 231,
417
- 231, 231, 231, 231, 231, 231, 231, 231, 231, 231,
418
- 237, 237, 237, nil, nil, nil, nil, nil, nil, nil,
419
- nil, 237, 237, 237, 237, 237, 237, 237, 237, 237,
420
- 237, 237, 237, 237, 237, 237, 246, 246, 246, nil,
421
- nil, nil, nil, nil, nil, nil, nil, 246, 246, 246,
422
- 246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
423
- 246, 246, 272, 272, 272, nil, nil, nil, nil, nil,
424
- nil, nil, nil, 272, 272, 272, 272, 272, 272, 272,
425
- 272, 272, 272, 272, 272, 272, 272, 272, 282, 282,
426
- 282, nil, nil, nil, nil, nil, nil, nil, nil, 282,
427
- 282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
428
- 282, 282, 282, 282, 297, 297, 297, nil, nil, nil,
429
- nil, nil, 297, nil, nil, 297, 297, 297, 297, 297,
430
- 297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
431
- 306, 306, 306, nil, nil, nil, nil, nil, 306, nil,
432
- nil, 306, 306, 306, 306, 306, 306, 306, 306, 306,
433
- 306, 306, 306, 306, 306, 306, 308, 308, 308, nil,
434
- nil, nil, nil, nil, nil, nil, nil, 308, 308, 308,
435
- 308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
436
- 308, 308, 242, 242, 242, nil, nil, nil, nil, nil,
437
- nil, nil, nil, 242, 242, 242, 242, 242, 242, 242,
438
- 242, 242, 242, 242, 242, 242, 186, nil, nil, nil,
439
- 186, nil, nil, nil, nil, nil, 186, nil, 186, 186,
440
- 186 ]
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, 202,
454
- 204, 205, 223, 244, 237, 239, 240, 1014, 293, 20,
455
- nil, 1040, 297, 293, 1066, nil, 292, nil, 292, nil,
456
- 1092, 271, 136, nil, 272, nil, 117, nil, 317, 389,
457
- 297, 36, 298, 29, 300, 301, 83, 323, 61, 336,
458
- 62, 357, nil, 332, nil, 333, 355, 368, 394, 390,
459
- nil, nil, nil, 388, nil, nil, 365, nil, nil, 164,
460
- nil, 387, 419, 110, 420, nil, nil, 1118, 264, nil,
461
- -2, 389, 422, 1144, 388, 1170, 1521, 392, 425, 1196,
462
- 415, 416, 447, 448, 1222, 419, 420, 421, 427, 1248,
463
- 472, nil, 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, nil,
466
- nil, 1300, 10, nil, nil, 438, nil, 1326, nil, nil,
467
- 438, nil, 1508, nil, 11, 36, 1352, nil, nil, nil,
468
- 439, 62, 87, -5, 463, nil, 465, nil, nil, nil,
469
- 228, nil, nil, 440, nil, 470, 467, nil, 474, nil,
470
- nil, nil, 1378, 467, nil, nil, nil, nil, 492, nil,
471
- nil, nil, 1404, nil, 260, nil, nil, nil, nil, 493,
472
- 292, nil, nil, 494, 495, nil, nil, 1430, 468, nil,
473
- nil, 494, 324, nil, nil, 356, 1456, 493, 1482, nil,
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
- -149, -184, -1, -149, -3, -5, -6, -7, -8, -9,
478
- -16, -184, -13, -14, -15, -109, -111, -112, -113, -100,
479
- -118, -119, -120, -121, -122, -123, -124, -125, -184, -128,
480
- -129, -130, -131, -132, -133, -148, -150, -184, -184, -4,
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
- -184, -12, -32, -34, -35, -36, -66, -100, -184, -110,
484
- -101, -102, -184, -184, -100, -184, -184, -184, -184, -184,
485
- -184, -184, -184, -184, -184, -184, -184, -184, 316, -100,
486
- -184, -11, -33, -100, -184, -184, -100, -184, -184, -184,
487
- -103, -66, -184, -127, -184, -184, -153, -153, -100, -100,
488
- -100, -100, -153, -153, -100, -100, -100, -184, -184, -184,
489
- -20, -184, -30, -66, -184, -68, -184, -105, -23, -25,
490
- -184, -100, -184, -107, -100, -104, -184, -115, -184, -184,
491
- -134, -138, -100, -184, -100, -141, -143, -184, -145, -184,
492
- -147, -184, -151, -100, -154, -100, -184, -184, -184, -165,
493
- -10, -19, -21, -184, -31, -37, -100, -67, -69, -184,
494
- -24, -184, -184, -184, -184, -114, -116, -184, -184, -135,
495
- -149, -101, -168, -184, -156, -157, -158, -101, -168, -184,
496
- -149, -149, -168, -168, -184, -149, -149, -149, -180, -184,
497
- -30, -57, -58, -59, -60, -61, -62, -70, -71, -72,
498
- -73, -74, -75, -76, -77, -78, -79, -80, -81, -82,
499
- -83, -184, -184, -184, -99, -26, -106, -29, -108, -117,
500
- -126, -184, -149, -171, -136, -155, -158, -184, -161, -139,
501
- -142, -174, -184, -64, -149, -149, -184, -163, -152, -173,
502
- -176, -149, -149, -149, -184, -181, -27, -38, -84, -85,
503
- -184, -87, -89, -184, -91, -184, -184, -96, -165, -169,
504
- -172, -159, -184, -100, -65, -144, -146, -164, -184, -177,
505
- -178, -166, -184, -22, -184, -86, -88, -90, -92, -184,
506
- -184, -95, -97, -184, -184, -175, -63, -184, -179, -182,
507
- -28, -184, -184, -80, -93, -184, -184, -27, -184, -94,
508
- -98, -100, -100, -183, -167, -162 ]
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, 198, 60, 10, 37, 92, 207, 37, 41, 66,
512
- 165, 93, 69, 206, 131, 233, 134, 73, 283, 176,
513
- 100, 120, 264, 184, 277, 133, 125, 300, 274, 141,
514
- 145, 277, 277, 303, 136, 274, 142, 144, 4, 244,
515
- 1, 39, 153, 155, 251, 160, 135, 171, 310, 240,
516
- 162, 245, 2, 100, 250, 168, 252, 253, 66, 261,
517
- 3, 176, 288, 235, 96, 98, 206, 270, 166, 312,
518
- 101, 178, 104, 105, 106, 107, 108, 109, 110, 111,
519
- 112, 113, 114, 115, 116, 40, 206, 118, 257, 89,
520
- 100, 122, 123, 126, 127, 119, 100, 286, 100, 226,
521
- 100, 228, 138, 273, 206, 124, 147, 149, 151, 152,
522
- 294, 260, 156, 157, 158, 159, 256, 263, 92, 163,
523
- 292, 103, 126, 173, 68, 179, 185, 232, 206, 172,
524
- 66, 100, 174, 254, 206, 298, 138, 100, nil, 138,
525
- 182, 186, 188, nil, nil, nil, 206, nil, nil, 206,
526
- nil, 192, 140, 193, nil, 146, 148, 150, nil, nil,
527
- nil, nil, nil, nil, 200, nil, 234, nil, nil, 205,
528
- nil, 66, 239, nil, nil, 229, 248, 249, 138, nil,
529
- nil, 236, nil, 238, 231, nil, nil, 241, nil, 181,
530
- nil, 187, 241, nil, 242, nil, nil, nil, nil, 242,
531
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
532
- nil, nil, nil, nil, 307, nil, nil, nil, nil, 258,
533
- nil, 265, 205, 311, nil, nil, nil, nil, nil, 268,
534
- nil, nil, nil, nil, nil, 271, 231, nil, nil, nil,
535
- nil, nil, 205, nil, 278, nil, nil, nil, 242, nil,
536
- nil, nil, nil, nil, nil, 242, nil, nil, nil, nil,
537
- 205, 289, nil, nil, 293, nil, nil, nil, nil, nil,
538
- 295, 296, nil, nil, nil, nil, nil, nil, nil, nil,
539
- 299, nil, nil, nil, 205, nil, nil, nil, nil, nil,
540
- 205, nil, nil, nil, nil, nil, nil, nil, nil, 293,
541
- nil, nil, 205, nil, nil, 205, 313, nil, nil, 314,
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, 80, 15, 10, 33, 24, 37, 33, 16, 16,
546
- 23, 28, 29, 30, 19, 81, 19, 13, 20, 56,
547
- 50, 18, 46, 77, 79, 14, 36, 22, 32, 71,
548
- 71, 79, 79, 22, 55, 32, 73, 73, 4, 34,
549
- 1, 4, 73, 73, 34, 14, 28, 19, 22, 74,
550
- 18, 75, 2, 50, 74, 36, 75, 75, 16, 37,
551
- 3, 56, 46, 77, 29, 13, 30, 81, 28, 20,
552
- 16, 55, 13, 16, 16, 16, 16, 16, 16, 16,
553
- 16, 16, 16, 16, 16, 11, 30, 13, 23, 12,
554
- 50, 13, 16, 16, 13, 17, 50, 37, 50, 14,
555
- 50, 14, 10, 31, 30, 35, 13, 13, 13, 13,
556
- 80, 44, 13, 13, 13, 16, 19, 45, 24, 16,
557
- 48, 49, 16, 15, 51, 72, 78, 82, 30, 13,
558
- 16, 50, 13, 83, 30, 84, 10, 50, nil, 10,
559
- 13, 16, 13, nil, nil, nil, 30, nil, nil, 30,
560
- nil, 13, 49, 13, nil, 49, 49, 49, nil, nil,
561
- nil, nil, nil, nil, 13, nil, 72, nil, nil, 10,
562
- nil, 16, 72, nil, nil, 16, 72, 72, 10, nil,
563
- nil, 16, nil, 16, 33, nil, nil, 16, nil, 49,
564
- nil, 49, 16, nil, 33, nil, nil, nil, nil, 33,
565
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
566
- nil, nil, nil, nil, 19, nil, nil, nil, nil, 16,
567
- nil, 16, 10, 19, nil, nil, nil, nil, nil, 16,
568
- nil, nil, nil, nil, nil, 16, 33, nil, nil, nil,
569
- nil, nil, 10, nil, 16, nil, nil, nil, 33, nil,
570
- nil, nil, nil, nil, nil, 33, nil, nil, nil, nil,
571
- 10, 16, nil, nil, 16, nil, nil, nil, nil, nil,
572
- 16, 13, nil, nil, nil, nil, nil, nil, nil, nil,
573
- 16, nil, nil, nil, 10, nil, nil, nil, nil, nil,
574
- 10, nil, nil, nil, nil, nil, nil, nil, nil, 16,
575
- nil, nil, 10, nil, nil, 10, 16, nil, nil, 13,
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, 40, 52, 60, 38, nil, nil, nil, nil, nil,
580
- 0, 75, 49, -2, -73, -9, -2, 5, -69, -83,
581
- -238, nil, -257, -112, -55, nil, nil, nil, -55, -3,
582
- -156, -139, -216, 4, -151, 10, -69, -163, nil, nil,
583
- nil, nil, nil, nil, -111, -106, -201, nil, -146, 47,
584
- -50, 109, nil, nil, nil, -68, -117, nil, nil, nil,
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, -77, -16, -70, -140, -140, nil, -120, -17, -221,
587
- -158, -165, -53, -65, -147 ]
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, 164, nil, 129, nil, nil, nil,
592
- nil, 128, 217, nil, 62, 63, 64, 65, nil, 42,
593
- 59, 224, 243, 246, nil, nil, nil, 304, 213, 214,
594
- 215, 216, 218, 219, nil, nil, nil, 266, 267, 70,
595
- 71, nil, 16, 17, 18, nil, 137, 20, 21, 22,
596
- 23, 24, 25, 26, 27, 29, 30, 31, 32, 33,
597
- 34, 154, nil, nil, nil, nil, 36, nil, nil, 247,
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
- 5, 91, :_reduce_114,
716
- 1, 94, :_reduce_none,
717
- 2, 94, :_reduce_116,
718
- 3, 95, :_reduce_117,
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, 102, :_reduce_126,
728
- 3, 102, :_reduce_127,
729
- 1, 103, :_reduce_none,
730
- 1, 103, :_reduce_none,
731
- 1, 103, :_reduce_none,
732
- 1, 103, :_reduce_none,
733
- 1, 103, :_reduce_none,
734
- 1, 103, :_reduce_none,
735
- 4, 104, :_reduce_134,
736
- 5, 105, :_reduce_135,
737
- 6, 105, :_reduce_136,
738
- 5, 105, :_reduce_137,
739
- 4, 105, :_reduce_138,
740
- 6, 106, :_reduce_139,
741
- 5, 106, :_reduce_140,
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
- 7, 108, :_reduce_144,
746
+ 6, 108, :_reduce_144,
746
747
  4, 108, :_reduce_145,
747
748
  7, 109, :_reduce_146,
748
749
  4, 109, :_reduce_147,
749
- 1, 115, :_reduce_none,
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, 96, :_reduce_151,
753
- 6, 97, :_reduce_152,
754
- 0, 112, :_reduce_153,
755
- 1, 112, :_reduce_none,
756
- 3, 110, :_reduce_155,
757
- 2, 110, :_reduce_156,
758
- 2, 110, :_reduce_157,
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
- 2, 117, :_reduce_161,
763
- 6, 118, :_reduce_162,
764
- 1, 114, :_reduce_163,
765
- 2, 114, :_reduce_164,
766
- 0, 119, :_reduce_165,
767
- 3, 119, :_reduce_166,
768
- 6, 120, :_reduce_167,
769
- 0, 111, :_reduce_168,
770
- 3, 111, :_reduce_169,
771
- 0, 121, :_reduce_170,
772
- 1, 121, :_reduce_171,
773
- 2, 121, :_reduce_172,
774
- 6, 98, :_reduce_173,
775
- 1, 113, :_reduce_174,
776
- 3, 113, :_reduce_175,
777
- 6, 99, :_reduce_176,
778
- 7, 100, :_reduce_177,
779
- 7, 101, :_reduce_178,
780
- 8, 93, :_reduce_179,
781
- 0, 122, :_reduce_none,
782
- 1, 122, :_reduce_none,
783
- 1, 123, :_reduce_182,
784
- 3, 123, :_reduce_183 ]
785
-
786
- racc_reduce_n = 184
787
-
788
- racc_shift_n = 316
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].line, position_source: val[0] || 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].to_s
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].line, directives: val[1], **val[3])
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
- # reduce 115 omitted
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[0].merge(val[1])
1618
+ result = val[1]
1610
1619
  result
1611
1620
  end
1612
1621
  .,.,
1613
1622
 
1614
- module_eval(<<'.,.,', 'parser.y', 293)
1615
- def _reduce_117(val, _values, result)
1616
- result = { val[0].to_s.to_sym => val[2] }
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
- # reduce 118 omitted
1622
-
1623
- # reduce 119 omitted
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
- module_eval(<<'.,.,', 'parser.y', 308)
1638
- def _reduce_126(val, _values, result)
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', 309)
1645
- def _reduce_127(val, _values, result)
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
- module_eval(<<'.,.,', 'parser.y', 319)
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
- module_eval(<<'.,.,', 'parser.y', 323)
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', 324)
1681
+ module_eval(<<'.,.,', 'parser.y', 323)
1678
1682
  def _reduce_136(val, _values, result)
1679
- result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
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', 325)
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: val[4], fields: [], position_source: val[0])
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', 326)
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(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
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(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: [], position_source: val[0])
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', 331)
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(:UnionTypeExtension, name: val[2], directives: val[3], types: val[5], position_source: val[0])
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(:UnionTypeExtension, name: val[2], directives: val[3], types: [], position_source: val[0])
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(:EnumTypeExtension, name: val[2], directives: val[3], values: val[5], position_source: val[0])
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(:EnumTypeExtension, name: val[2], directives: val[3], values: [], position_source: val[0])
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(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: val[5], position_source: val[0])
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(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: [], position_source: val[0])
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
- # reduce 148 omitted
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
- # reduce 149 omitted
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
- module_eval(<<'.,.,', 'parser.y', 353)
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
- result
1772
- end
1773
- .,.,
1783
+ # reduce 152 omitted
1774
1784
 
1775
- module_eval(<<'.,.,', 'parser.y', 358)
1776
- def _reduce_152(val, _values, result)
1777
- 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].line, position_source: val[0] || val[1])
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 _reduce_153(val, _values, result)
1785
- result = EMPTY_ARRAY
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 = val[2]
1803
+ result = EMPTY_ARRAY
1795
1804
  result
1796
1805
  end
1797
1806
  .,.,
1798
1807
 
1799
- module_eval(<<'.,.,', 'parser.y', 367)
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', 368)
1810
+ module_eval(<<'.,.,', 'parser.y', 370)
1807
1811
  def _reduce_157(val, _values, result)
1808
- result = val[1]
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 = [make_node(:TypeName, name: val[0], position_source: val[0])]
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
- val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
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[1], position_source: val[1])
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', 380)
1845
+ module_eval(<<'.,.,', 'parser.y', 379)
1842
1846
  def _reduce_162(val, _values, result)
1843
- 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].line, position_source: val[0] || val[1])
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', 384)
1852
+ module_eval(<<'.,.,', 'parser.y', 380)
1850
1853
  def _reduce_163(val, _values, result)
1851
- result = [val[0]]
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', 385)
1859
+ module_eval(<<'.,.,', 'parser.y', 384)
1857
1860
  def _reduce_164(val, _values, result)
1858
- val[0] << val[1]
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 = EMPTY_ARRAY
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
- result = val[1]
1876
+ val[0] << val[1]
1873
1877
  result
1874
1878
  end
1875
1879
  .,.,
1876
1880
 
1877
- module_eval(<<'.,.,', 'parser.y', 393)
1881
+ module_eval(<<'.,.,', 'parser.y', 392)
1878
1882
  def _reduce_167(val, _values, result)
1879
- 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].line, position_source: val[0] || val[1])
1880
-
1883
+ result = EMPTY_ARRAY
1881
1884
  result
1882
1885
  end
1883
1886
  .,.,
1884
1887
 
1885
- module_eval(<<'.,.,', 'parser.y', 397)
1888
+ module_eval(<<'.,.,', 'parser.y', 393)
1886
1889
  def _reduce_168(val, _values, result)
1887
- result = EMPTY_ARRAY
1890
+ result = val[1]
1888
1891
  result
1889
1892
  end
1890
1893
  .,.,
1891
1894
 
1892
- module_eval(<<'.,.,', 'parser.y', 398)
1895
+ module_eval(<<'.,.,', 'parser.y', 397)
1893
1896
  def _reduce_169(val, _values, result)
1894
- result = val[1]
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 = [val[0]]
1912
+ result = val[1]
1909
1913
  result
1910
1914
  end
1911
1915
  .,.,
1912
1916
 
1913
- module_eval(<<'.,.,', 'parser.y', 403)
1917
+ module_eval(<<'.,.,', 'parser.y', 405)
1914
1918
  def _reduce_172(val, _values, result)
1915
- val[0] << val[1]
1919
+ result = EMPTY_ARRAY
1916
1920
  result
1917
1921
  end
1918
1922
  .,.,
1919
1923
 
1920
- module_eval(<<'.,.,', 'parser.y', 407)
1924
+ module_eval(<<'.,.,', 'parser.y', 406)
1921
1925
  def _reduce_173(val, _values, result)
1922
- 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].line, position_source: val[0] || val[1])
1923
-
1926
+ result = [val[0]]
1924
1927
  result
1925
1928
  end
1926
1929
  .,.,
1927
1930
 
1928
- module_eval(<<'.,.,', 'parser.y', 411)
1931
+ module_eval(<<'.,.,', 'parser.y', 407)
1929
1932
  def _reduce_174(val, _values, result)
1930
- result = [make_node(:TypeName, name: val[0], position_source: val[0])]
1933
+ val[0] << val[1]
1931
1934
  result
1932
1935
  end
1933
1936
  .,.,
1934
1937
 
1935
- module_eval(<<'.,.,', 'parser.y', 412)
1938
+ module_eval(<<'.,.,', 'parser.y', 411)
1936
1939
  def _reduce_175(val, _values, result)
1937
- val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
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', 416)
1946
+ module_eval(<<'.,.,', 'parser.y', 415)
1943
1947
  def _reduce_176(val, _values, result)
1944
- result = make_node(:UnionTypeDefinition, name: val[2], directives: val[3], types: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
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', 421)
1953
+ module_eval(<<'.,.,', 'parser.y', 416)
1951
1954
  def _reduce_177(val, _values, result)
1952
- result = make_node(:EnumTypeDefinition, name: val[2], directives: val[3], values: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
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', 426)
1960
+ module_eval(<<'.,.,', 'parser.y', 420)
1959
1961
  def _reduce_178(val, _values, result)
1960
- result = make_node(:InputObjectTypeDefinition, name: val[2], directives: val[3], fields: val[5], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
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', 431)
1968
+ module_eval(<<'.,.,', 'parser.y', 425)
1967
1969
  def _reduce_179(val, _values, result)
1968
- 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].line, position_source: val[0] || val[1])
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 180 omitted
1992
+ # reduce 182 omitted
1975
1993
 
1976
- # reduce 181 omitted
1994
+ # reduce 183 omitted
1977
1995
 
1978
- module_eval(<<'.,.,', 'parser.y', 439)
1979
- def _reduce_182(val, _values, result)
1980
- result = [make_node(:DirectiveLocation, name: val[0].to_s, position_source: 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', 440)
1986
- def _reduce_183(val, _values, result)
1987
- val[0] << make_node(:DirectiveLocation, name: val[2].to_s, position_source: 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
  .,.,