graphql 1.13.12 → 2.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/graphql/install_generator.rb +1 -1
  3. data/lib/generators/graphql/relay.rb +3 -17
  4. data/lib/generators/graphql/templates/schema.erb +3 -0
  5. data/lib/graphql/analysis/ast/field_usage.rb +3 -1
  6. data/lib/graphql/analysis/ast/max_query_complexity.rb +0 -1
  7. data/lib/graphql/analysis/ast/query_complexity.rb +1 -1
  8. data/lib/graphql/analysis/ast/query_depth.rb +0 -1
  9. data/lib/graphql/analysis/ast/visitor.rb +43 -36
  10. data/lib/graphql/analysis/ast.rb +2 -12
  11. data/lib/graphql/analysis.rb +0 -7
  12. data/lib/graphql/backtrace/table.rb +2 -20
  13. data/lib/graphql/backtrace/trace.rb +96 -0
  14. data/lib/graphql/backtrace/tracer.rb +2 -3
  15. data/lib/graphql/backtrace.rb +7 -8
  16. data/lib/graphql/dataloader/null_dataloader.rb +3 -1
  17. data/lib/graphql/dataloader/source.rb +9 -0
  18. data/lib/graphql/dataloader.rb +4 -1
  19. data/lib/graphql/dig.rb +1 -1
  20. data/lib/graphql/execution/errors.rb +12 -82
  21. data/lib/graphql/execution/interpreter/arguments.rb +1 -1
  22. data/lib/graphql/execution/interpreter/arguments_cache.rb +2 -3
  23. data/lib/graphql/execution/interpreter/resolve.rb +26 -0
  24. data/lib/graphql/execution/interpreter/runtime.rb +300 -222
  25. data/lib/graphql/execution/interpreter.rb +187 -78
  26. data/lib/graphql/execution/lazy.rb +7 -21
  27. data/lib/graphql/execution/lookahead.rb +44 -40
  28. data/lib/graphql/execution/multiplex.rb +3 -174
  29. data/lib/graphql/execution.rb +11 -4
  30. data/lib/graphql/filter.rb +7 -2
  31. data/lib/graphql/introspection/directive_type.rb +2 -2
  32. data/lib/graphql/introspection/dynamic_fields.rb +3 -8
  33. data/lib/graphql/introspection/entry_points.rb +2 -15
  34. data/lib/graphql/introspection/field_type.rb +1 -1
  35. data/lib/graphql/introspection/schema_type.rb +2 -2
  36. data/lib/graphql/introspection/type_type.rb +13 -6
  37. data/lib/graphql/introspection.rb +4 -3
  38. data/lib/graphql/language/document_from_schema_definition.rb +43 -44
  39. data/lib/graphql/language/lexer.rb +216 -1488
  40. data/lib/graphql/language/nodes.rb +66 -40
  41. data/lib/graphql/language/parser.rb +539 -510
  42. data/lib/graphql/language/parser.y +53 -44
  43. data/lib/graphql/language/printer.rb +37 -21
  44. data/lib/graphql/language/visitor.rb +191 -83
  45. data/lib/graphql/pagination/active_record_relation_connection.rb +0 -8
  46. data/lib/graphql/pagination/array_connection.rb +4 -2
  47. data/lib/graphql/pagination/connection.rb +33 -6
  48. data/lib/graphql/pagination/connections.rb +3 -28
  49. data/lib/graphql/pagination/relation_connection.rb +2 -0
  50. data/lib/graphql/query/context.rb +156 -196
  51. data/lib/graphql/query/input_validation_result.rb +10 -1
  52. data/lib/graphql/query/null_context.rb +1 -4
  53. data/lib/graphql/query/validation_pipeline.rb +12 -37
  54. data/lib/graphql/query/variable_validation_error.rb +2 -2
  55. data/lib/graphql/query/variables.rb +35 -21
  56. data/lib/graphql/query.rb +39 -46
  57. data/lib/graphql/railtie.rb +0 -104
  58. data/lib/graphql/rake_task/validate.rb +1 -1
  59. data/lib/graphql/rake_task.rb +29 -1
  60. data/lib/graphql/relay/range_add.rb +9 -20
  61. data/lib/graphql/relay.rb +0 -15
  62. data/lib/graphql/schema/addition.rb +7 -9
  63. data/lib/graphql/schema/argument.rb +38 -47
  64. data/lib/graphql/schema/build_from_definition.rb +47 -21
  65. data/lib/graphql/schema/directive/one_of.rb +12 -0
  66. data/lib/graphql/schema/directive/transform.rb +1 -1
  67. data/lib/graphql/schema/directive.rb +12 -23
  68. data/lib/graphql/schema/enum.rb +29 -41
  69. data/lib/graphql/schema/enum_value.rb +2 -25
  70. data/lib/graphql/schema/field/connection_extension.rb +4 -0
  71. data/lib/graphql/schema/field.rb +256 -349
  72. data/lib/graphql/schema/field_extension.rb +1 -4
  73. data/lib/graphql/schema/find_inherited_value.rb +2 -7
  74. data/lib/graphql/schema/input_object.rb +57 -69
  75. data/lib/graphql/schema/interface.rb +0 -35
  76. data/lib/graphql/schema/introspection_system.rb +3 -8
  77. data/lib/graphql/schema/late_bound_type.rb +8 -2
  78. data/lib/graphql/schema/list.rb +18 -9
  79. data/lib/graphql/schema/loader.rb +1 -2
  80. data/lib/graphql/schema/member/base_dsl_methods.rb +17 -19
  81. data/lib/graphql/schema/member/build_type.rb +5 -7
  82. data/lib/graphql/schema/member/has_arguments.rb +147 -56
  83. data/lib/graphql/schema/member/has_ast_node.rb +12 -0
  84. data/lib/graphql/schema/member/has_deprecation_reason.rb +3 -4
  85. data/lib/graphql/schema/member/has_directives.rb +81 -61
  86. data/lib/graphql/schema/member/has_fields.rb +97 -40
  87. data/lib/graphql/schema/member/has_interfaces.rb +49 -10
  88. data/lib/graphql/schema/member/has_validators.rb +32 -6
  89. data/lib/graphql/schema/member/relay_shortcuts.rb +47 -2
  90. data/lib/graphql/schema/member/type_system_helpers.rb +17 -0
  91. data/lib/graphql/schema/member/validates_input.rb +3 -3
  92. data/lib/graphql/schema/member.rb +0 -6
  93. data/lib/graphql/schema/mutation.rb +0 -9
  94. data/lib/graphql/schema/non_null.rb +3 -9
  95. data/lib/graphql/schema/object.rb +15 -52
  96. data/lib/graphql/schema/relay_classic_mutation.rb +53 -42
  97. data/lib/graphql/schema/resolver/has_payload_type.rb +20 -10
  98. data/lib/graphql/schema/resolver.rb +43 -44
  99. data/lib/graphql/schema/scalar.rb +8 -23
  100. data/lib/graphql/schema/subscription.rb +0 -7
  101. data/lib/graphql/schema/timeout.rb +24 -28
  102. data/lib/graphql/schema/type_membership.rb +3 -0
  103. data/lib/graphql/schema/union.rb +10 -17
  104. data/lib/graphql/schema/validator.rb +1 -1
  105. data/lib/graphql/schema/warden.rb +37 -9
  106. data/lib/graphql/schema/wrapper.rb +0 -5
  107. data/lib/graphql/schema.rb +265 -968
  108. data/lib/graphql/static_validation/all_rules.rb +1 -0
  109. data/lib/graphql/static_validation/base_visitor.rb +4 -21
  110. data/lib/graphql/static_validation/definition_dependencies.rb +7 -1
  111. data/lib/graphql/static_validation/error.rb +2 -2
  112. data/lib/graphql/static_validation/literal_validator.rb +19 -1
  113. data/lib/graphql/static_validation/rules/directives_are_defined.rb +11 -5
  114. data/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb +12 -12
  115. data/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb +12 -4
  116. data/lib/graphql/static_validation/rules/fields_will_merge.rb +2 -2
  117. data/lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb +66 -0
  118. data/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb +29 -0
  119. data/lib/graphql/static_validation/rules/unique_directives_per_location.rb +12 -6
  120. data/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb +1 -1
  121. data/lib/graphql/static_validation/validator.rb +3 -25
  122. data/lib/graphql/static_validation.rb +0 -2
  123. data/lib/graphql/subscriptions/action_cable_subscriptions.rb +7 -1
  124. data/lib/graphql/subscriptions/default_subscription_resolve_extension.rb +38 -1
  125. data/lib/graphql/subscriptions/event.rb +3 -8
  126. data/lib/graphql/subscriptions/instrumentation.rb +0 -51
  127. data/lib/graphql/subscriptions.rb +32 -20
  128. data/lib/graphql/tracing/active_support_notifications_trace.rb +16 -0
  129. data/lib/graphql/tracing/appoptics_trace.rb +231 -0
  130. data/lib/graphql/tracing/appsignal_trace.rb +77 -0
  131. data/lib/graphql/tracing/data_dog_trace.rb +148 -0
  132. data/lib/graphql/tracing/data_dog_tracing.rb +21 -2
  133. data/lib/graphql/tracing/legacy_trace.rb +65 -0
  134. data/lib/graphql/tracing/new_relic_trace.rb +75 -0
  135. data/lib/graphql/tracing/notifications_trace.rb +42 -0
  136. data/lib/graphql/tracing/platform_trace.rb +109 -0
  137. data/lib/graphql/tracing/platform_tracing.rb +33 -43
  138. data/lib/graphql/tracing/prometheus_trace.rb +89 -0
  139. data/lib/graphql/tracing/prometheus_tracing/graphql_collector.rb +1 -1
  140. data/lib/graphql/tracing/prometheus_tracing.rb +3 -3
  141. data/lib/graphql/tracing/scout_trace.rb +72 -0
  142. data/lib/graphql/tracing/statsd_trace.rb +56 -0
  143. data/lib/graphql/tracing/trace.rb +75 -0
  144. data/lib/graphql/tracing.rb +16 -40
  145. data/lib/graphql/type_kinds.rb +6 -3
  146. data/lib/graphql/types/iso_8601_date.rb +4 -1
  147. data/lib/graphql/types/iso_8601_date_time.rb +4 -0
  148. data/lib/graphql/types/relay/base_connection.rb +16 -6
  149. data/lib/graphql/types/relay/connection_behaviors.rb +29 -27
  150. data/lib/graphql/types/relay/edge_behaviors.rb +16 -5
  151. data/lib/graphql/types/relay/node_behaviors.rb +12 -2
  152. data/lib/graphql/types/relay/page_info_behaviors.rb +7 -2
  153. data/lib/graphql/types/relay.rb +0 -3
  154. data/lib/graphql/types/string.rb +1 -1
  155. data/lib/graphql/version.rb +1 -1
  156. data/lib/graphql.rb +17 -74
  157. metadata +33 -133
  158. data/lib/graphql/analysis/analyze_query.rb +0 -98
  159. data/lib/graphql/analysis/field_usage.rb +0 -45
  160. data/lib/graphql/analysis/max_query_complexity.rb +0 -26
  161. data/lib/graphql/analysis/max_query_depth.rb +0 -26
  162. data/lib/graphql/analysis/query_complexity.rb +0 -88
  163. data/lib/graphql/analysis/query_depth.rb +0 -43
  164. data/lib/graphql/analysis/reducer_state.rb +0 -48
  165. data/lib/graphql/argument.rb +0 -131
  166. data/lib/graphql/authorization.rb +0 -82
  167. data/lib/graphql/backtrace/legacy_tracer.rb +0 -56
  168. data/lib/graphql/backwards_compatibility.rb +0 -61
  169. data/lib/graphql/base_type.rb +0 -232
  170. data/lib/graphql/boolean_type.rb +0 -2
  171. data/lib/graphql/compatibility/execution_specification/counter_schema.rb +0 -53
  172. data/lib/graphql/compatibility/execution_specification/specification_schema.rb +0 -200
  173. data/lib/graphql/compatibility/execution_specification.rb +0 -436
  174. data/lib/graphql/compatibility/lazy_execution_specification/lazy_schema.rb +0 -111
  175. data/lib/graphql/compatibility/lazy_execution_specification.rb +0 -215
  176. data/lib/graphql/compatibility/query_parser_specification/parse_error_specification.rb +0 -87
  177. data/lib/graphql/compatibility/query_parser_specification/query_assertions.rb +0 -79
  178. data/lib/graphql/compatibility/query_parser_specification.rb +0 -266
  179. data/lib/graphql/compatibility/schema_parser_specification.rb +0 -682
  180. data/lib/graphql/compatibility.rb +0 -5
  181. data/lib/graphql/define/assign_argument.rb +0 -12
  182. data/lib/graphql/define/assign_connection.rb +0 -13
  183. data/lib/graphql/define/assign_enum_value.rb +0 -18
  184. data/lib/graphql/define/assign_global_id_field.rb +0 -11
  185. data/lib/graphql/define/assign_mutation_function.rb +0 -34
  186. data/lib/graphql/define/assign_object_field.rb +0 -42
  187. data/lib/graphql/define/defined_object_proxy.rb +0 -53
  188. data/lib/graphql/define/instance_definable.rb +0 -255
  189. data/lib/graphql/define/no_definition_error.rb +0 -7
  190. data/lib/graphql/define/non_null_with_bang.rb +0 -16
  191. data/lib/graphql/define/type_definer.rb +0 -31
  192. data/lib/graphql/define.rb +0 -31
  193. data/lib/graphql/deprecated_dsl.rb +0 -55
  194. data/lib/graphql/directive/deprecated_directive.rb +0 -2
  195. data/lib/graphql/directive/include_directive.rb +0 -2
  196. data/lib/graphql/directive/skip_directive.rb +0 -2
  197. data/lib/graphql/directive.rb +0 -107
  198. data/lib/graphql/enum_type.rb +0 -133
  199. data/lib/graphql/execution/execute.rb +0 -333
  200. data/lib/graphql/execution/flatten.rb +0 -40
  201. data/lib/graphql/execution/instrumentation.rb +0 -92
  202. data/lib/graphql/execution/lazy/resolve.rb +0 -91
  203. data/lib/graphql/execution/typecast.rb +0 -50
  204. data/lib/graphql/field/resolve.rb +0 -59
  205. data/lib/graphql/field.rb +0 -226
  206. data/lib/graphql/float_type.rb +0 -2
  207. data/lib/graphql/function.rb +0 -128
  208. data/lib/graphql/id_type.rb +0 -2
  209. data/lib/graphql/input_object_type.rb +0 -138
  210. data/lib/graphql/int_type.rb +0 -2
  211. data/lib/graphql/interface_type.rb +0 -72
  212. data/lib/graphql/internal_representation/document.rb +0 -27
  213. data/lib/graphql/internal_representation/node.rb +0 -206
  214. data/lib/graphql/internal_representation/print.rb +0 -51
  215. data/lib/graphql/internal_representation/rewrite.rb +0 -184
  216. data/lib/graphql/internal_representation/scope.rb +0 -88
  217. data/lib/graphql/internal_representation/visit.rb +0 -36
  218. data/lib/graphql/internal_representation.rb +0 -7
  219. data/lib/graphql/language/lexer.rl +0 -260
  220. data/lib/graphql/list_type.rb +0 -80
  221. data/lib/graphql/non_null_type.rb +0 -71
  222. data/lib/graphql/object_type.rb +0 -130
  223. data/lib/graphql/query/arguments.rb +0 -189
  224. data/lib/graphql/query/arguments_cache.rb +0 -24
  225. data/lib/graphql/query/executor.rb +0 -52
  226. data/lib/graphql/query/literal_input.rb +0 -136
  227. data/lib/graphql/query/serial_execution/field_resolution.rb +0 -92
  228. data/lib/graphql/query/serial_execution/operation_resolution.rb +0 -19
  229. data/lib/graphql/query/serial_execution/selection_resolution.rb +0 -23
  230. data/lib/graphql/query/serial_execution/value_resolution.rb +0 -87
  231. data/lib/graphql/query/serial_execution.rb +0 -40
  232. data/lib/graphql/relay/array_connection.rb +0 -83
  233. data/lib/graphql/relay/base_connection.rb +0 -189
  234. data/lib/graphql/relay/connection_instrumentation.rb +0 -54
  235. data/lib/graphql/relay/connection_resolve.rb +0 -43
  236. data/lib/graphql/relay/connection_type.rb +0 -54
  237. data/lib/graphql/relay/edge.rb +0 -27
  238. data/lib/graphql/relay/edge_type.rb +0 -19
  239. data/lib/graphql/relay/edges_instrumentation.rb +0 -39
  240. data/lib/graphql/relay/global_id_resolve.rb +0 -17
  241. data/lib/graphql/relay/mongo_relation_connection.rb +0 -50
  242. data/lib/graphql/relay/mutation/instrumentation.rb +0 -23
  243. data/lib/graphql/relay/mutation/resolve.rb +0 -56
  244. data/lib/graphql/relay/mutation/result.rb +0 -38
  245. data/lib/graphql/relay/mutation.rb +0 -106
  246. data/lib/graphql/relay/node.rb +0 -39
  247. data/lib/graphql/relay/page_info.rb +0 -7
  248. data/lib/graphql/relay/relation_connection.rb +0 -188
  249. data/lib/graphql/relay/type_extensions.rb +0 -32
  250. data/lib/graphql/scalar_type.rb +0 -91
  251. data/lib/graphql/schema/catchall_middleware.rb +0 -35
  252. data/lib/graphql/schema/default_parse_error.rb +0 -10
  253. data/lib/graphql/schema/default_type_error.rb +0 -17
  254. data/lib/graphql/schema/member/accepts_definition.rb +0 -164
  255. data/lib/graphql/schema/member/cached_graphql_definition.rb +0 -58
  256. data/lib/graphql/schema/member/instrumentation.rb +0 -131
  257. data/lib/graphql/schema/middleware_chain.rb +0 -82
  258. data/lib/graphql/schema/possible_types.rb +0 -44
  259. data/lib/graphql/schema/rescue_middleware.rb +0 -60
  260. data/lib/graphql/schema/timeout_middleware.rb +0 -88
  261. data/lib/graphql/schema/traversal.rb +0 -228
  262. data/lib/graphql/schema/validation.rb +0 -313
  263. data/lib/graphql/static_validation/default_visitor.rb +0 -15
  264. data/lib/graphql/static_validation/no_validate_visitor.rb +0 -10
  265. data/lib/graphql/string_type.rb +0 -2
  266. data/lib/graphql/subscriptions/subscription_root.rb +0 -76
  267. data/lib/graphql/tracing/skylight_tracing.rb +0 -70
  268. data/lib/graphql/types/relay/default_relay.rb +0 -31
  269. data/lib/graphql/types/relay/node_field.rb +0 -24
  270. data/lib/graphql/types/relay/nodes_field.rb +0 -43
  271. data/lib/graphql/union_type.rb +0 -115
  272. data/lib/graphql/upgrader/member.rb +0 -937
  273. data/lib/graphql/upgrader/schema.rb +0 -38
@@ -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', 444)
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,65 +125,65 @@ end
124
125
  ##### State transition tables begin ###
125
126
 
126
127
  racc_action_table = [
127
- -2, -168, 11, 284, 12, 13, 14, 11, -101, 12,
128
- 13, 14, 95, 267, -168, 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, 179, -168,
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, -101, 182, 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
- -101, 67, 276, 90, 277, 72, 72, 72, 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, 226, 12, 13, 14, -168, 67, -168,
139
- 282, 35, 72, 35, -101, 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
- 12, 13, 14, 283, 72, 67, 35, 99, 35, 35,
142
- 72, 43, 44, 45, 46, 47, 48, 49, 50, 51,
143
- 52, 53, 54, 55, 56, 57, 222, 102, 12, 13,
144
- 14, 67, 35, 220, 298, 299, 221, 303, 304, 203,
145
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 200,
146
- 201, 202, 210, 211, 207, 208, 209, 219, 222, 72,
147
- 12, 13, 14, 35, 35, 220, 35, 35, 221, 258,
148
- 117, 203, 44, 45, 46, 47, 48, 49, 50, 51,
149
- 52, 200, 201, 202, 210, 211, 207, 208, 209, 219,
150
- 222, 72, 12, 13, 14, 121, 72, 220, 72, 132,
151
- 221, 288, 95, 203, 44, 45, 46, 47, 48, 49,
152
- 50, 51, 52, 200, 201, 202, 210, 211, 207, 208,
153
- 209, 219, 308, 139, 12, 13, 14, 175, 12, 13,
154
- 14, 72, 221, 143, 143, 203, 44, 45, 46, 47,
155
- 48, 49, 50, 51, 52, 200, 201, 202, 210, 211,
156
- 207, 208, 209, 219, 222, 72, 12, 13, 14, 72,
157
- 72, 220, 72, 143, 221, 143, 72, 203, 44, 45,
158
- 46, 47, 48, 49, 50, 51, 52, 200, 201, 202,
159
- 210, 211, 207, 208, 209, 219, 222, 72, 12, 13,
160
- 14, 72, 132, 220, 132, 95, 221, 169, 170, 203,
161
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 200,
162
- 201, 202, 210, 211, 207, 208, 209, 219, 308, 72,
163
- 12, 13, 14, 229, 12, 13, 14, 72, 221, 177,
164
- 72, 203, 44, 45, 46, 47, 48, 49, 50, 51,
165
- 52, 200, 201, 202, 210, 211, 207, 208, 209, 219,
166
- 12, 13, 14, 81, 82, 72, 83, 84, 85, 86,
167
- 87, 97, 44, 45, 46, 47, 48, 49, 50, 51,
168
- 52, 53, 54, 55, 56, 57, 261, 12, 13, 14,
169
- 72, 12, 13, 14, 12, 13, 14, 72, 43, 44,
142
+ 12, 13, 14, 81, 82, 67, 83, 84, 85, 86,
143
+ 87, 43, 44, 45, 46, 47, 48, 49, 50, 51,
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, 290, 12, 13, 14, -154, 188, 189,
172
- 190, 72, 72, 193, 194, 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
- 294, 12, 13, 14, 195, 196, 198, 72, 224, 132,
175
- 132, 233, 43, 44, 45, 46, 47, 48, 49, 50,
176
- 51, 52, 53, 54, 55, 56, 57, 316, 12, 13,
177
- 14, 236, 238, 35, 35, 247, 248, 35, 35, 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
- 54, 55, 56, 57, 12, 13, 14, 35, 254, 132,
180
- 236, 273, 273, 285, 287, 43, 44, 45, 46, 47,
180
+ 54, 55, 56, 57, 12, 13, 14, 72, nil, nil,
181
+ nil, nil, nil, nil, nil, 43, 44, 45, 46, 47,
181
182
  48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
182
- 12, 13, 14, 293, 196, 72, 302, 309, 312, 313,
183
- 315, 287, 44, 45, 46, 47, 48, 49, 50, 51,
184
- 52, 53, 54, 55, 56, 57, 12, 13, 14, 72,
185
- 72, nil, nil, nil, nil, nil, nil, 43, 44, 45,
183
+ 12, 13, 14, nil, nil, nil, nil, nil, nil, nil,
184
+ nil, nil, 44, 45, 46, 47, 48, 49, 50, 51,
185
+ 52, 53, 54, 55, 56, 57, 12, 13, 14, nil,
186
+ nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
186
187
  46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
187
188
  56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
188
189
  nil, nil, nil, 43, 44, 45, 46, 47, 48, 49,
@@ -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,79 +269,79 @@ 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, 203, 44, 45, 46, 47, 48, 49,
280
- 50, 51, 52, 200, 201, 202, -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, 179, 3, 252, 3, 3, 3, 0, 103, 0,
286
- 0, 0, 66, 230, 233, 66, 3, 1, 28, 28,
287
- 28, 0, 28, 28, 28, 28, 3, 252, 119, 119,
288
- 179, 0, 3, 143, 143, 143, 3, 0, 141, 238,
289
- 103, 0, 230, 233, 143, 143, 143, 143, 143, 143,
290
- 143, 143, 143, 143, 143, 143, 143, 143, 143, 11,
291
- 11, 11, 11, 148, 150, 180, 143, 19, 238, 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
- 186, 11, 243, 40, 244, 148, 150, 180, 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, 247, 60, 248,
297
- 250, 243, 186, 244, 146, 173, 173, 173, 173, 173,
298
- 173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
299
- 132, 132, 132, 251, 146, 173, 247, 68, 248, 250,
300
- 70, 132, 132, 132, 132, 132, 132, 132, 132, 132,
301
- 132, 132, 132, 132, 132, 132, 169, 73, 169, 169,
302
- 169, 132, 251, 169, 270, 272, 169, 280, 281, 169,
303
- 169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
304
- 169, 169, 169, 169, 169, 169, 169, 169, 221, 74,
305
- 221, 221, 221, 270, 272, 221, 280, 281, 221, 221,
306
- 87, 221, 221, 221, 221, 221, 221, 221, 221, 221,
307
- 221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
308
- 259, 89, 259, 259, 259, 90, 93, 259, 96, 98,
309
- 259, 259, 101, 259, 259, 259, 259, 259, 259, 259,
310
- 259, 259, 259, 259, 259, 259, 259, 259, 259, 259,
311
- 259, 259, 287, 104, 287, 287, 287, 136, 136, 136,
312
- 136, 105, 287, 106, 107, 287, 287, 287, 287, 287,
313
- 287, 287, 287, 287, 287, 287, 287, 287, 287, 287,
314
- 287, 287, 287, 287, 293, 108, 293, 293, 293, 109,
315
- 110, 293, 111, 112, 293, 113, 114, 293, 293, 293,
316
- 293, 293, 293, 293, 293, 293, 293, 293, 293, 293,
317
- 293, 293, 293, 293, 293, 293, 309, 115, 309, 309,
318
- 309, 116, 118, 309, 122, 123, 309, 126, 128, 309,
319
- 309, 309, 309, 309, 309, 309, 309, 309, 309, 309,
320
- 309, 309, 309, 309, 309, 309, 309, 309, 312, 131,
321
- 312, 312, 312, 178, 178, 178, 178, 134, 312, 138,
322
- 140, 312, 312, 312, 312, 312, 312, 312, 312, 312,
323
- 312, 312, 312, 312, 312, 312, 312, 312, 312, 312,
324
- 67, 67, 67, 37, 37, 142, 37, 37, 37, 37,
325
- 37, 67, 67, 67, 67, 67, 67, 67, 67, 67,
326
- 67, 67, 67, 67, 67, 67, 222, 222, 222, 222,
327
- 67, 102, 102, 102, 139, 139, 139, 144, 222, 222,
328
- 222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
329
- 222, 222, 222, 262, 262, 262, 262, 145, 147, 149,
330
- 151, 153, 155, 156, 157, 262, 262, 262, 262, 262,
331
- 262, 262, 262, 262, 262, 262, 262, 262, 262, 262,
332
- 265, 265, 265, 265, 158, 159, 163, 166, 171, 172,
333
- 174, 181, 265, 265, 265, 265, 265, 265, 265, 265,
334
- 265, 265, 265, 265, 265, 265, 265, 308, 308, 308,
335
- 308, 183, 187, 189, 190, 191, 192, 194, 195, 308,
336
- 308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
337
- 308, 308, 308, 308, 10, 10, 10, 196, 197, 199,
338
- 234, 239, 249, 253, 255, 10, 10, 10, 10, 10,
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,
308
+ 223, 223, 223, 223, 223, 223, 223, 223, 223, 223,
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,
339
+ nil, nil, nil, nil, nil, 10, 10, 10, 10, 10,
339
340
  10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
340
- 15, 15, 15, 264, 269, 274, 279, 292, 296, 297,
341
- 305, 314, 15, 15, 15, 15, 15, 15, 15, 15,
342
- 15, 15, 15, 15, 15, 15, 72, 72, 72, 318,
343
- 319, nil, nil, nil, nil, nil, nil, 72, 72, 72,
341
+ 15, 15, 15, nil, nil, nil, nil, nil, nil, nil,
342
+ nil, nil, 15, 15, 15, 15, 15, 15, 15, 15,
343
+ 15, 15, 15, 15, 15, 15, 72, 72, 72, nil,
344
+ nil, nil, nil, nil, nil, nil, nil, 72, 72, 72,
344
345
  72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
345
346
  72, 72, 75, 75, 75, nil, nil, nil, nil, nil,
346
347
  nil, nil, nil, 75, 75, 75, 75, 75, 75, 75,
@@ -383,225 +384,219 @@ 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, 182, 182,
400
- 182, nil, nil, nil, nil, nil, nil, nil, nil, 182,
401
- 182, 182, 182, 182, 182, 182, 182, 182, 182, 182,
402
- 182, 182, 182, 182, 184, 184, 184, nil, nil, nil,
403
- nil, nil, nil, nil, nil, 184, 184, 184, 184, 184,
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,
404
402
  184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
405
- 188, 188, 188, nil, nil, nil, nil, nil, nil, nil,
406
- nil, 188, 188, 188, 188, 188, 188, 188, 188, 188,
407
- 188, 188, 188, 188, 188, 188, 193, 193, 193, nil,
408
- nil, nil, nil, nil, nil, nil, nil, 193, 193, 193,
409
- 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
410
- 193, 193, 198, 198, 198, nil, nil, nil, nil, nil,
411
- 198, nil, nil, 198, 198, 198, 198, 198, 198, 198,
412
- 198, 198, 198, 198, 198, 198, 198, 198, 220, 220,
413
- 220, nil, nil, nil, nil, nil, nil, nil, nil, 220,
414
- 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,
415
- 220, 220, 220, 220, 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
- 236, 236, 236, nil, nil, nil, nil, nil, nil, nil,
419
- nil, 236, 236, 236, 236, 236, 236, 236, 236, 236,
420
- 236, 236, 236, 236, 236, 236, 245, 245, 245, nil,
421
- nil, nil, nil, nil, nil, nil, nil, 245, 245, 245,
422
- 245, 245, 245, 245, 245, 245, 245, 245, 245, 245,
423
- 245, 245, 273, 273, 273, nil, nil, nil, nil, nil,
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,
424
425
  nil, nil, nil, 273, 273, 273, 273, 273, 273, 273,
425
- 273, 273, 273, 273, 273, 273, 273, 273, 285, 285,
426
- 285, nil, nil, nil, nil, nil, nil, nil, nil, 285,
427
- 285, 285, 285, 285, 285, 285, 285, 285, 285, 285,
428
- 285, 285, 285, 285, 302, 302, 302, nil, nil, nil,
429
- nil, nil, 302, nil, nil, 302, 302, 302, 302, 302,
430
- 302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
431
- 313, 313, 313, nil, nil, nil, nil, nil, 313, nil,
432
- nil, 313, 313, 313, 313, 313, 313, 313, 313, 313,
433
- 313, 313, 313, 313, 313, 313, 315, 315, 315, nil,
434
- nil, nil, nil, nil, nil, nil, nil, 315, 315, 315,
435
- 315, 315, 315, 315, 315, 315, 315, 315, 315, 315,
436
- 315, 315, 241, 241, 241, nil, nil, nil, nil, nil,
437
- nil, nil, nil, 241, 241, 241, 241, 241, 241, 241,
438
- 241, 241, 241, 241, 241, 241, 185, nil, nil, nil,
439
- 185, nil, nil, nil, nil, nil, 185, nil, 185, 185,
440
- 185 ]
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,
444
445
  520, 56, nil, nil, nil, 546, nil, nil, nil, 33,
445
446
  nil, nil, nil, nil, nil, nil, nil, nil, 2, nil,
446
- nil, nil, nil, nil, nil, nil, nil, 376, 69, nil,
447
- 86, nil, nil, nil, nil, nil, nil, nil, nil, nil,
448
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
449
- 83, nil, nil, nil, nil, nil, 5, 386, 132, nil,
450
- 116, nil, 572, 165, 165, 598, 624, 650, 676, 702,
451
- 728, 754, 780, 806, 832, 858, 884, 176, nil, 197,
452
- 226, nil, nil, 202, 910, 936, 204, 962, 237, 988,
453
- nil, 235, 417, 6, 261, 237, 254, 255, 261, 265,
454
- 266, 268, 284, 286, 272, 293, 297, 1014, 330, 20,
455
- nil, 1040, 332, 328, 1066, nil, 327, nil, 327, nil,
456
- 1092, 325, 136, nil, 333, nil, 264, nil, 359, 420,
457
- 336, 36, 361, 29, 393, 413, 110, 434, 61, 447,
458
- 62, 448, nil, 417, nil, 418, 439, 452, 472, 468,
459
- nil, nil, nil, 466, nil, nil, 443, nil, nil, 164,
460
- nil, 465, 477, 110, 478, nil, nil, 1118, 360, -2,
461
- 63, 479, 1144, 464, 1170, 1521, 88, 500, 1196, 471,
462
- 472, 503, 504, 1222, 475, 476, 495, 501, 1248, 527,
447
+ nil, nil, nil, nil, nil, nil, nil, 126, 69, nil,
448
+ 85, nil, nil, nil, nil, nil, nil, nil, nil, nil,
463
449
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
450
+ 83, nil, nil, nil, nil, nil, 5, 386, 78, nil,
451
+ 90, nil, 572, 165, 138, 598, 624, 650, 676, 702,
452
+ 728, 754, 780, 806, 832, 858, 884, 140, nil, 141,
453
+ 168, nil, nil, 144, 910, 936, 165, 962, 201, 988,
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
- 1274, 196, 413, nil, nil, nil, nil, nil, nil, nil,
466
- 10, 1300, nil, 11, 493, nil, 1326, nil, 36, 493,
467
- nil, 1508, nil, 89, 91, 1352, nil, 114, 116, 494,
468
- 117, 140, -5, 518, nil, 520, nil, nil, nil, 228,
469
- nil, nil, 440, nil, 543, 467, nil, nil, nil, 547,
470
- 171, nil, 172, 1378, 521, nil, nil, nil, nil, 546,
471
- 174, 175, nil, nil, nil, 1404, nil, 260, nil, nil,
472
- nil, nil, 547, 292, nil, nil, 548, 549, nil, nil,
473
- nil, nil, 1430, nil, nil, 522, nil, nil, 494, 324,
474
- nil, nil, 356, 1456, 547, 1482, nil, nil, 545, 546,
475
- 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 ]
476
476
 
477
477
  racc_action_default = [
478
- -149, -182, -1, -149, -3, -5, -6, -7, -8, -9,
479
- -16, -182, -13, -14, -15, -109, -111, -112, -113, -100,
480
- -118, -119, -120, -121, -122, -123, -124, -125, -182, -128,
481
- -129, -130, -131, -132, -133, -148, -150, -182, -182, -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,
482
482
  -18, -17, -39, -40, -41, -42, -43, -44, -45, -46,
483
483
  -47, -48, -49, -50, -51, -52, -53, -54, -55, -56,
484
- -182, -12, -32, -34, -35, -36, -66, -100, -182, -110,
485
- -101, -102, -182, -182, -100, -182, -182, -182, -182, -182,
486
- -182, -182, -182, -182, -182, -182, -182, -182, 323, -100,
487
- -182, -11, -33, -100, -182, -182, -100, -182, -182, -182,
488
- -103, -66, -182, -127, -182, -182, -153, -153, -100, -100,
489
- -100, -100, -153, -153, -100, -100, -100, -182, -182, -182,
490
- -20, -182, -30, -66, -182, -68, -182, -105, -23, -25,
491
- -182, -100, -182, -107, -100, -104, -182, -115, -182, -182,
492
- -134, -138, -100, -182, -100, -141, -143, -182, -145, -182,
493
- -147, -182, -151, -100, -154, -100, -182, -182, -182, -165,
494
- -10, -19, -21, -182, -31, -37, -100, -67, -69, -182,
495
- -24, -182, -182, -182, -182, -114, -116, -182, -182, -149,
496
- -137, -182, -182, -156, -157, -158, -140, -182, -182, -149,
497
- -149, -182, -182, -182, -149, -149, -149, -178, -182, -30,
498
- -57, -58, -59, -60, -61, -62, -70, -71, -72, -73,
499
- -74, -75, -76, -77, -78, -79, -80, -81, -82, -83,
500
- -182, -182, -182, -99, -26, -106, -29, -108, -117, -126,
501
- -149, -182, -169, -149, -155, -158, -182, -161, -149, -142,
502
- -172, -182, -64, -149, -149, -182, -163, -149, -149, -174,
503
- -149, -149, -149, -182, -179, -27, -38, -84, -85, -182,
504
- -87, -89, -182, -91, -182, -182, -96, -135, -170, -165,
505
- -149, -159, -149, -182, -100, -65, -144, -146, -164, -182,
506
- -149, -149, -175, -176, -166, -182, -22, -182, -86, -88,
507
- -90, -92, -182, -182, -95, -97, -182, -182, -136, -139,
508
- -173, -63, -182, -152, -171, -177, -180, -28, -182, -182,
509
- -80, -93, -182, -182, -27, -182, -94, -98, -100, -100,
510
- -181, -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 ]
511
510
 
512
511
  racc_goto_table = [
513
- 10, 41, 66, 10, 131, 92, 134, 197, 60, 206,
514
- 103, 37, 165, 69, 37, 176, 263, 136, 133, 183,
515
- 286, 120, 307, 125, 93, 278, 4, 275, 310, 39,
516
- 243, 205, 278, 278, 275, 250, 73, 171, 160, 141,
517
- 145, 140, 142, 144, 146, 148, 150, 317, 153, 155,
518
- 162, 66, 168, 1, 178, 239, 291, 176, 234, 135,
519
- 249, 260, 2, 101, 3, 96, 105, 106, 107, 108,
520
- 109, 110, 111, 112, 113, 114, 115, 116, 180, 319,
521
- 186, 166, 40, 205, 98, 123, 126, 100, 89, 256,
522
- 119, 104, 225, 274, 227, 268, 124, 259, 262, 289,
523
- 295, 68, 138, 205, 184, 255, 118, 253, 159, 305,
524
- 122, nil, 163, 127, nil, 126, nil, 297, 92, nil,
525
- 100, 205, 230, 66, nil, 147, 149, 151, 152, 173,
526
- nil, 156, 157, 158, 185, 268, 138, 268, 244, 138,
527
- nil, nil, nil, 251, 252, 268, 268, nil, 172, 205,
528
- nil, 174, nil, nil, nil, 205, nil, 100, nil, 181,
529
- nil, 187, nil, 100, 66, 100, nil, 100, 228, 204,
530
- 191, 205, 192, 235, 205, 237, 270, nil, 138, 240,
531
- nil, 272, nil, 199, 240, nil, nil, nil, nil, nil,
532
- 280, 281, nil, nil, nil, nil, nil, 100, nil, nil,
533
- 241, 245, nil, 100, nil, 241, 245, 245, nil, 314,
534
- nil, 257, nil, 264, nil, nil, nil, nil, nil, nil,
535
- 318, 204, 269, nil, nil, nil, nil, 271, nil, nil,
536
- nil, nil, nil, nil, nil, nil, 279, nil, nil, nil,
537
- nil, 204, nil, nil, nil, nil, nil, nil, nil, nil,
538
- nil, nil, nil, 292, 241, 245, 296, nil, nil, 204,
539
- nil, 241, 245, 245, 300, nil, nil, nil, nil, nil,
540
- nil, nil, nil, nil, nil, nil, 306, nil, nil, nil,
541
- nil, nil, nil, nil, nil, nil, nil, 204, nil, nil,
542
- nil, 301, nil, 204, nil, nil, nil, nil, nil, 296,
543
- nil, nil, nil, nil, nil, nil, 320, nil, nil, 204,
544
- nil, nil, 204, nil, nil, nil, nil, nil, nil, nil,
545
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
546
- nil, nil, nil, nil, nil, 321, 322 ]
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 ]
547
544
 
548
545
  racc_goto_check = [
549
- 10, 16, 16, 10, 19, 24, 19, 80, 15, 37,
550
- 49, 33, 23, 29, 33, 56, 46, 55, 14, 77,
551
- 20, 18, 22, 36, 28, 79, 4, 32, 22, 4,
552
- 34, 30, 79, 79, 32, 34, 13, 19, 14, 71,
553
- 71, 49, 73, 73, 49, 49, 49, 22, 73, 73,
554
- 18, 16, 36, 1, 55, 74, 46, 56, 77, 28,
555
- 74, 37, 2, 16, 3, 29, 16, 16, 16, 16,
556
- 16, 16, 16, 16, 16, 16, 16, 16, 49, 20,
557
- 49, 28, 11, 30, 13, 16, 16, 50, 12, 23,
558
- 17, 13, 14, 31, 14, 81, 35, 44, 45, 37,
559
- 48, 51, 10, 30, 78, 19, 13, 82, 16, 83,
560
- 13, nil, 16, 13, nil, 16, nil, 80, 24, nil,
561
- 50, 30, 72, 16, nil, 13, 13, 13, 13, 15,
562
- nil, 13, 13, 13, 16, 81, 10, 81, 75, 10,
563
- nil, nil, nil, 75, 75, 81, 81, nil, 13, 30,
564
- nil, 13, nil, nil, nil, 30, nil, 50, nil, 13,
565
- nil, 13, nil, 50, 16, 50, nil, 50, 16, 10,
566
- 13, 30, 13, 16, 30, 16, 72, nil, 10, 16,
567
- nil, 72, nil, 13, 16, nil, nil, nil, nil, nil,
568
- 72, 72, nil, nil, nil, nil, nil, 50, nil, nil,
569
- 33, 33, nil, 50, nil, 33, 33, 33, nil, 19,
570
- nil, 16, nil, 16, nil, nil, nil, nil, nil, nil,
571
- 19, 10, 16, nil, nil, nil, nil, 16, nil, nil,
572
- nil, nil, nil, nil, nil, nil, 16, nil, nil, nil,
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,
573
575
  nil, 10, nil, nil, nil, nil, nil, nil, nil, nil,
574
- nil, nil, nil, 16, 33, 33, 16, nil, nil, 10,
575
- nil, 33, 33, 33, 16, nil, nil, nil, nil, nil,
576
- nil, nil, nil, nil, nil, nil, 16, nil, nil, nil,
577
- nil, nil, nil, nil, nil, nil, nil, 10, nil, nil,
578
- nil, 13, nil, 10, nil, nil, nil, nil, nil, 16,
579
- nil, nil, nil, nil, nil, nil, 16, nil, nil, 10,
580
- nil, nil, 10, nil, nil, nil, nil, nil, nil, nil,
581
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
582
- nil, nil, nil, nil, nil, 13, 13 ]
576
+ 16, nil, nil, 10, nil, nil, 10, 16, nil, nil,
577
+ 13, 13 ]
583
578
 
584
579
  racc_goto_pointer = [
585
- nil, 53, 62, 64, 26, nil, nil, nil, nil, nil,
586
- 0, 72, 48, 17, -80, -3, -9, 0, -69, -93,
587
- -235, nil, -265, -110, -55, nil, nil, nil, -42, -2,
588
- -138, -148, -216, 11, -159, 1, -72, -160, nil, nil,
589
- nil, nil, nil, nil, -124, -124, -206, nil, -165, -64,
590
- 17, 86, nil, nil, nil, -85, -121, 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,
591
586
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
592
- nil, -67, -57, -64, -133, -52, nil, -124, -39, -219,
593
- -152, -135, -90, -176 ]
587
+ nil, nil, -58, -88, -62, -68, -159, nil, -122, -26,
588
+ -222, -148, -166, -55, -70, -151 ]
594
589
 
595
590
  racc_goto_default = [
596
591
  nil, nil, nil, nil, nil, 5, 6, 7, 8, 9,
597
- 58, nil, nil, nil, 164, nil, 129, nil, nil, nil,
598
- nil, 128, 216, nil, 62, 63, 64, 65, nil, 42,
599
- 59, 223, 242, 231, nil, nil, nil, 311, 212, 213,
600
- 214, 215, 217, 218, nil, nil, nil, 265, 266, 70,
601
- 71, nil, 16, 17, 18, nil, 137, 20, 21, 22,
602
- 23, 24, 25, 26, 27, 29, 30, 31, 32, 33,
603
- 34, 154, nil, nil, nil, nil, 36, nil, nil, 246,
604
- nil, 232, 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 ]
605
600
 
606
601
  racc_reduce_table = [
607
602
  0, 0, :racc_error,
@@ -718,10 +713,12 @@ racc_reduce_table = [
718
713
  1, 45, :_reduce_none,
719
714
  1, 45, :_reduce_none,
720
715
  1, 45, :_reduce_none,
721
- 5, 91, :_reduce_114,
722
- 1, 94, :_reduce_none,
723
- 2, 94, :_reduce_116,
724
- 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,
725
722
  1, 92, :_reduce_none,
726
723
  1, 92, :_reduce_none,
727
724
  1, 92, :_reduce_none,
@@ -730,66 +727,68 @@ racc_reduce_table = [
730
727
  1, 92, :_reduce_none,
731
728
  1, 46, :_reduce_none,
732
729
  1, 46, :_reduce_none,
733
- 6, 102, :_reduce_126,
734
- 3, 102, :_reduce_127,
735
- 1, 103, :_reduce_none,
736
- 1, 103, :_reduce_none,
737
- 1, 103, :_reduce_none,
738
- 1, 103, :_reduce_none,
739
- 1, 103, :_reduce_none,
740
- 1, 103, :_reduce_none,
741
- 4, 104, :_reduce_134,
742
- 7, 105, :_reduce_135,
743
- 8, 105, :_reduce_136,
744
- 5, 105, :_reduce_137,
745
- 4, 105, :_reduce_138,
746
- 8, 106, :_reduce_139,
747
- 5, 106, :_reduce_140,
748
- 4, 106, :_reduce_141,
749
- 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,
750
745
  4, 107, :_reduce_143,
751
- 7, 108, :_reduce_144,
746
+ 6, 108, :_reduce_144,
752
747
  4, 108, :_reduce_145,
753
748
  7, 109, :_reduce_146,
754
749
  4, 109, :_reduce_147,
755
- 1, 115, :_reduce_none,
750
+ 7, 110, :_reduce_148,
751
+ 4, 110, :_reduce_149,
752
+ 1, 116, :_reduce_none,
756
753
  0, 72, :_reduce_none,
757
754
  1, 72, :_reduce_none,
758
- 4, 96, :_reduce_151,
759
- 8, 97, :_reduce_152,
760
- 0, 112, :_reduce_153,
761
- 1, 112, :_reduce_none,
762
- 3, 110, :_reduce_155,
763
- 2, 110, :_reduce_156,
764
- 2, 110, :_reduce_157,
765
- 1, 116, :_reduce_158,
766
- 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,
767
762
  1, 117, :_reduce_160,
768
- 2, 117, :_reduce_161,
769
- 6, 118, :_reduce_162,
770
- 1, 114, :_reduce_163,
771
- 2, 114, :_reduce_164,
772
- 0, 119, :_reduce_165,
773
- 3, 119, :_reduce_166,
774
- 6, 120, :_reduce_167,
775
- 0, 111, :_reduce_168,
776
- 1, 111, :_reduce_169,
777
- 2, 111, :_reduce_170,
778
- 8, 98, :_reduce_171,
779
- 1, 113, :_reduce_172,
780
- 3, 113, :_reduce_173,
781
- 6, 99, :_reduce_174,
782
- 7, 100, :_reduce_175,
783
- 7, 101, :_reduce_176,
784
- 8, 93, :_reduce_177,
785
- 0, 121, :_reduce_none,
786
- 1, 121, :_reduce_none,
787
- 1, 122, :_reduce_180,
788
- 3, 122, :_reduce_181 ]
789
-
790
- racc_reduce_n = 182
791
-
792
- racc_shift_n = 323
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
793
792
 
794
793
  racc_token_table = {
795
794
  false => 0,
@@ -947,6 +946,7 @@ Racc_token_to_s_table = [
947
946
  "schema_definition",
948
947
  "type_definition",
949
948
  "directive_definition",
949
+ "operation_type_definition_list_opt",
950
950
  "operation_type_definition_list",
951
951
  "operation_type_definition",
952
952
  "scalar_type_definition",
@@ -964,7 +964,7 @@ Racc_token_to_s_table = [
964
964
  "enum_type_extension",
965
965
  "input_object_type_extension",
966
966
  "implements",
967
- "field_definition_list",
967
+ "field_definition_list_opt",
968
968
  "implements_opt",
969
969
  "union_members",
970
970
  "input_value_definition_list",
@@ -974,6 +974,7 @@ Racc_token_to_s_table = [
974
974
  "input_value_definition",
975
975
  "arguments_definitions_opt",
976
976
  "field_definition",
977
+ "field_definition_list",
977
978
  "directive_repeatable_opt",
978
979
  "directive_locations" ]
979
980
 
@@ -1283,7 +1284,7 @@ module_eval(<<'.,.,', 'parser.y', 119)
1283
1284
 
1284
1285
  module_eval(<<'.,.,', 'parser.y', 164)
1285
1286
  def _reduce_63(val, _values, result)
1286
- 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])
1287
1288
  result
1288
1289
  end
1289
1290
  .,.,
@@ -1339,21 +1340,21 @@ module_eval(<<'.,.,', 'parser.y', 179)
1339
1340
 
1340
1341
  module_eval(<<'.,.,', 'parser.y', 182)
1341
1342
  def _reduce_71(val, _values, result)
1342
- result = val[0].to_f
1343
+ result = val[0][3].to_f
1343
1344
  result
1344
1345
  end
1345
1346
  .,.,
1346
1347
 
1347
1348
  module_eval(<<'.,.,', 'parser.y', 183)
1348
1349
  def _reduce_72(val, _values, result)
1349
- result = val[0].to_i
1350
+ result = val[0][3].to_i
1350
1351
  result
1351
1352
  end
1352
1353
  .,.,
1353
1354
 
1354
1355
  module_eval(<<'.,.,', 'parser.y', 184)
1355
1356
  def _reduce_73(val, _values, result)
1356
- result = val[0].to_s
1357
+ result = val[0][3]
1357
1358
  result
1358
1359
  end
1359
1360
  .,.,
@@ -1600,30 +1601,40 @@ module_eval(<<'.,.,', 'parser.y', 277)
1600
1601
 
1601
1602
  module_eval(<<'.,.,', 'parser.y', 286)
1602
1603
  def _reduce_114(val, _values, result)
1603
- 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])
1604
1605
  result
1605
1606
  end
1606
1607
  .,.,
1607
1608
 
1608
- # reduce 115 omitted
1609
+ module_eval(<<'.,.,', 'parser.y', 289)
1610
+ def _reduce_115(val, _values, result)
1611
+ result = {}
1612
+ result
1613
+ end
1614
+ .,.,
1609
1615
 
1610
1616
  module_eval(<<'.,.,', 'parser.y', 290)
1611
1617
  def _reduce_116(val, _values, result)
1612
- result = val[0].merge(val[1])
1618
+ result = val[1]
1613
1619
  result
1614
1620
  end
1615
1621
  .,.,
1616
1622
 
1617
- module_eval(<<'.,.,', 'parser.y', 293)
1618
- def _reduce_117(val, _values, result)
1619
- 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])
1620
1628
  result
1621
1629
  end
1622
1630
  .,.,
1623
1631
 
1624
- # reduce 118 omitted
1625
-
1626
- # 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
+ .,.,
1627
1638
 
1628
1639
  # reduce 120 omitted
1629
1640
 
@@ -1637,24 +1648,24 @@ module_eval(<<'.,.,', 'parser.y', 293)
1637
1648
 
1638
1649
  # reduce 125 omitted
1639
1650
 
1640
- module_eval(<<'.,.,', 'parser.y', 308)
1641
- 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)
1642
1657
  result = make_node(:SchemaExtension, position_source: val[0], directives: val[2], **val[4])
1643
1658
  result
1644
1659
  end
1645
1660
  .,.,
1646
1661
 
1647
- module_eval(<<'.,.,', 'parser.y', 309)
1648
- def _reduce_127(val, _values, result)
1662
+ module_eval(<<'.,.,', 'parser.y', 313)
1663
+ def _reduce_129(val, _values, result)
1649
1664
  result = make_node(:SchemaExtension, position_source: val[0], directives: val[2])
1650
1665
  result
1651
1666
  end
1652
1667
  .,.,
1653
1668
 
1654
- # reduce 128 omitted
1655
-
1656
- # reduce 129 omitted
1657
-
1658
1669
  # reduce 130 omitted
1659
1670
 
1660
1671
  # reduce 131 omitted
@@ -1663,166 +1674,156 @@ module_eval(<<'.,.,', 'parser.y', 309)
1663
1674
 
1664
1675
  # reduce 133 omitted
1665
1676
 
1666
- module_eval(<<'.,.,', 'parser.y', 319)
1667
- def _reduce_134(val, _values, result)
1668
- result = make_node(:ScalarTypeExtension, name: val[2], directives: val[3], position_source: val[0])
1669
- result
1670
- end
1671
- .,.,
1677
+ # reduce 134 omitted
1672
1678
 
1673
- module_eval(<<'.,.,', 'parser.y', 323)
1674
- def _reduce_135(val, _values, result)
1675
- result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[5], position_source: val[0])
1676
- result
1677
- end
1678
- .,.,
1679
+ # reduce 135 omitted
1679
1680
 
1680
- module_eval(<<'.,.,', 'parser.y', 324)
1681
+ module_eval(<<'.,.,', 'parser.y', 323)
1681
1682
  def _reduce_136(val, _values, result)
1682
- result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[6], position_source: val[0])
1683
+ result = make_node(:ScalarTypeExtension, name: val[2], directives: val[3], position_source: val[0])
1683
1684
  result
1684
1685
  end
1685
1686
  .,.,
1686
1687
 
1687
- module_eval(<<'.,.,', 'parser.y', 325)
1688
+ module_eval(<<'.,.,', 'parser.y', 327)
1688
1689
  def _reduce_137(val, _values, result)
1689
- 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])
1690
1691
  result
1691
1692
  end
1692
1693
  .,.,
1693
1694
 
1694
- module_eval(<<'.,.,', 'parser.y', 326)
1695
+ module_eval(<<'.,.,', 'parser.y', 328)
1695
1696
  def _reduce_138(val, _values, result)
1696
- 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])
1697
1698
  result
1698
1699
  end
1699
1700
  .,.,
1700
1701
 
1701
1702
  module_eval(<<'.,.,', 'parser.y', 329)
1702
1703
  def _reduce_139(val, _values, result)
1703
- result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[6], position_source: val[0])
1704
+ result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: [], position_source: val[0])
1704
1705
  result
1705
1706
  end
1706
1707
  .,.,
1707
1708
 
1708
1709
  module_eval(<<'.,.,', 'parser.y', 330)
1709
1710
  def _reduce_140(val, _values, result)
1710
- 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])
1711
1712
  result
1712
1713
  end
1713
1714
  .,.,
1714
1715
 
1715
- module_eval(<<'.,.,', 'parser.y', 331)
1716
+ module_eval(<<'.,.,', 'parser.y', 333)
1716
1717
  def _reduce_141(val, _values, result)
1717
- 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])
1718
1719
  result
1719
1720
  end
1720
1721
  .,.,
1721
1722
 
1722
1723
  module_eval(<<'.,.,', 'parser.y', 334)
1723
1724
  def _reduce_142(val, _values, result)
1724
- 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])
1725
1726
  result
1726
1727
  end
1727
1728
  .,.,
1728
1729
 
1729
1730
  module_eval(<<'.,.,', 'parser.y', 335)
1730
1731
  def _reduce_143(val, _values, result)
1731
- 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])
1732
1733
  result
1733
1734
  end
1734
1735
  .,.,
1735
1736
 
1736
1737
  module_eval(<<'.,.,', 'parser.y', 338)
1737
1738
  def _reduce_144(val, _values, result)
1738
- 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])
1739
1740
  result
1740
1741
  end
1741
1742
  .,.,
1742
1743
 
1743
1744
  module_eval(<<'.,.,', 'parser.y', 339)
1744
1745
  def _reduce_145(val, _values, result)
1745
- 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])
1746
1747
  result
1747
1748
  end
1748
1749
  .,.,
1749
1750
 
1750
1751
  module_eval(<<'.,.,', 'parser.y', 342)
1751
1752
  def _reduce_146(val, _values, result)
1752
- 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])
1753
1754
  result
1754
1755
  end
1755
1756
  .,.,
1756
1757
 
1757
1758
  module_eval(<<'.,.,', 'parser.y', 343)
1758
1759
  def _reduce_147(val, _values, result)
1759
- 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])
1760
1761
  result
1761
1762
  end
1762
1763
  .,.,
1763
1764
 
1764
- # 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
+ .,.,
1765
1771
 
1766
- # 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
+ .,.,
1767
1778
 
1768
1779
  # reduce 150 omitted
1769
1780
 
1770
- module_eval(<<'.,.,', 'parser.y', 353)
1771
- def _reduce_151(val, _values, result)
1772
- 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
1773
1782
 
1774
- result
1775
- end
1776
- .,.,
1783
+ # reduce 152 omitted
1777
1784
 
1778
- module_eval(<<'.,.,', 'parser.y', 358)
1779
- def _reduce_152(val, _values, result)
1780
- result = make_node(:ObjectTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[6], 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])
1781
1788
 
1782
1789
  result
1783
1790
  end
1784
1791
  .,.,
1785
1792
 
1786
1793
  module_eval(<<'.,.,', 'parser.y', 362)
1787
- def _reduce_153(val, _values, result)
1788
- 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
+
1789
1797
  result
1790
1798
  end
1791
1799
  .,.,
1792
1800
 
1793
- # reduce 154 omitted
1794
-
1795
1801
  module_eval(<<'.,.,', 'parser.y', 366)
1796
1802
  def _reduce_155(val, _values, result)
1797
- result = val[2]
1803
+ result = EMPTY_ARRAY
1798
1804
  result
1799
1805
  end
1800
1806
  .,.,
1801
1807
 
1802
- module_eval(<<'.,.,', 'parser.y', 367)
1803
- def _reduce_156(val, _values, result)
1804
- result = val[1]
1805
- result
1806
- end
1807
- .,.,
1808
+ # reduce 156 omitted
1808
1809
 
1809
- module_eval(<<'.,.,', 'parser.y', 368)
1810
+ module_eval(<<'.,.,', 'parser.y', 370)
1810
1811
  def _reduce_157(val, _values, result)
1811
- result = val[1]
1812
+ result = val[2]
1812
1813
  result
1813
1814
  end
1814
1815
  .,.,
1815
1816
 
1816
1817
  module_eval(<<'.,.,', 'parser.y', 371)
1817
1818
  def _reduce_158(val, _values, result)
1818
- result = [make_node(:TypeName, name: val[0], position_source: val[0])]
1819
+ result = val[1]
1819
1820
  result
1820
1821
  end
1821
1822
  .,.,
1822
1823
 
1823
1824
  module_eval(<<'.,.,', 'parser.y', 372)
1824
1825
  def _reduce_159(val, _values, result)
1825
- val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
1826
+ result = val[1]
1826
1827
  result
1827
1828
  end
1828
1829
  .,.,
@@ -1836,144 +1837,172 @@ module_eval(<<'.,.,', 'parser.y', 375)
1836
1837
 
1837
1838
  module_eval(<<'.,.,', 'parser.y', 376)
1838
1839
  def _reduce_161(val, _values, result)
1839
- 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])
1840
1841
  result
1841
1842
  end
1842
1843
  .,.,
1843
1844
 
1844
- module_eval(<<'.,.,', 'parser.y', 380)
1845
+ module_eval(<<'.,.,', 'parser.y', 379)
1845
1846
  def _reduce_162(val, _values, result)
1846
- 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])
1847
-
1847
+ result = [make_node(:TypeName, name: val[0], position_source: val[0])]
1848
1848
  result
1849
1849
  end
1850
1850
  .,.,
1851
1851
 
1852
- module_eval(<<'.,.,', 'parser.y', 384)
1852
+ module_eval(<<'.,.,', 'parser.y', 380)
1853
1853
  def _reduce_163(val, _values, result)
1854
- result = [val[0]]
1854
+ val[0] << make_node(:TypeName, name: val[1], position_source: val[1])
1855
1855
  result
1856
1856
  end
1857
1857
  .,.,
1858
1858
 
1859
- module_eval(<<'.,.,', 'parser.y', 385)
1859
+ module_eval(<<'.,.,', 'parser.y', 384)
1860
1860
  def _reduce_164(val, _values, result)
1861
- 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
+
1862
1863
  result
1863
1864
  end
1864
1865
  .,.,
1865
1866
 
1866
1867
  module_eval(<<'.,.,', 'parser.y', 388)
1867
1868
  def _reduce_165(val, _values, result)
1868
- result = EMPTY_ARRAY
1869
+ result = [val[0]]
1869
1870
  result
1870
1871
  end
1871
1872
  .,.,
1872
1873
 
1873
1874
  module_eval(<<'.,.,', 'parser.y', 389)
1874
1875
  def _reduce_166(val, _values, result)
1875
- result = val[1]
1876
+ val[0] << val[1]
1876
1877
  result
1877
1878
  end
1878
1879
  .,.,
1879
1880
 
1880
- module_eval(<<'.,.,', 'parser.y', 393)
1881
+ module_eval(<<'.,.,', 'parser.y', 392)
1881
1882
  def _reduce_167(val, _values, result)
1882
- 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])
1883
-
1883
+ result = EMPTY_ARRAY
1884
1884
  result
1885
1885
  end
1886
1886
  .,.,
1887
1887
 
1888
- module_eval(<<'.,.,', 'parser.y', 397)
1888
+ module_eval(<<'.,.,', 'parser.y', 393)
1889
1889
  def _reduce_168(val, _values, result)
1890
- result = EMPTY_ARRAY
1890
+ result = val[1]
1891
1891
  result
1892
1892
  end
1893
1893
  .,.,
1894
1894
 
1895
- module_eval(<<'.,.,', 'parser.y', 398)
1895
+ module_eval(<<'.,.,', 'parser.y', 397)
1896
1896
  def _reduce_169(val, _values, result)
1897
- result = [val[0]]
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
+
1898
1899
  result
1899
1900
  end
1900
1901
  .,.,
1901
1902
 
1902
- module_eval(<<'.,.,', 'parser.y', 399)
1903
+ module_eval(<<'.,.,', 'parser.y', 401)
1903
1904
  def _reduce_170(val, _values, result)
1904
- val[0] << val[1]
1905
+ result = EMPTY_ARRAY
1905
1906
  result
1906
1907
  end
1907
1908
  .,.,
1908
1909
 
1909
- module_eval(<<'.,.,', 'parser.y', 403)
1910
+ module_eval(<<'.,.,', 'parser.y', 402)
1910
1911
  def _reduce_171(val, _values, result)
1911
- result = make_node(:InterfaceTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[6], description: val[0] || get_description(val[1]), definition_line: val[1].line, position_source: val[0] || val[1])
1912
-
1912
+ result = val[1]
1913
1913
  result
1914
1914
  end
1915
1915
  .,.,
1916
1916
 
1917
- module_eval(<<'.,.,', 'parser.y', 407)
1917
+ module_eval(<<'.,.,', 'parser.y', 405)
1918
1918
  def _reduce_172(val, _values, result)
1919
- result = [make_node(:TypeName, name: val[0], position_source: val[0])]
1919
+ result = EMPTY_ARRAY
1920
1920
  result
1921
1921
  end
1922
1922
  .,.,
1923
1923
 
1924
- module_eval(<<'.,.,', 'parser.y', 408)
1924
+ module_eval(<<'.,.,', 'parser.y', 406)
1925
1925
  def _reduce_173(val, _values, result)
1926
- val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
1926
+ result = [val[0]]
1927
1927
  result
1928
1928
  end
1929
1929
  .,.,
1930
1930
 
1931
- module_eval(<<'.,.,', 'parser.y', 412)
1931
+ module_eval(<<'.,.,', 'parser.y', 407)
1932
1932
  def _reduce_174(val, _values, result)
1933
- 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])
1934
-
1933
+ val[0] << val[1]
1935
1934
  result
1936
1935
  end
1937
1936
  .,.,
1938
1937
 
1939
- module_eval(<<'.,.,', 'parser.y', 417)
1938
+ module_eval(<<'.,.,', 'parser.y', 411)
1940
1939
  def _reduce_175(val, _values, result)
1941
- 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])
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])
1942
1941
 
1943
1942
  result
1944
1943
  end
1945
1944
  .,.,
1946
1945
 
1947
- module_eval(<<'.,.,', 'parser.y', 422)
1946
+ module_eval(<<'.,.,', 'parser.y', 415)
1948
1947
  def _reduce_176(val, _values, result)
1949
- 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])
1950
-
1948
+ result = [make_node(:TypeName, name: val[0], position_source: val[0])]
1951
1949
  result
1952
1950
  end
1953
1951
  .,.,
1954
1952
 
1955
- module_eval(<<'.,.,', 'parser.y', 427)
1953
+ module_eval(<<'.,.,', 'parser.y', 416)
1956
1954
  def _reduce_177(val, _values, result)
1957
- 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])
1955
+ val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
1956
+ result
1957
+ end
1958
+ .,.,
1959
+
1960
+ module_eval(<<'.,.,', 'parser.y', 420)
1961
+ def _reduce_178(val, _values, result)
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])
1958
1963
 
1959
1964
  result
1960
1965
  end
1961
1966
  .,.,
1962
1967
 
1963
- # reduce 178 omitted
1968
+ module_eval(<<'.,.,', 'parser.y', 425)
1969
+ def _reduce_179(val, _values, result)
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])
1964
1971
 
1965
- # reduce 179 omitted
1972
+ result
1973
+ end
1974
+ .,.,
1966
1975
 
1967
- module_eval(<<'.,.,', 'parser.y', 435)
1976
+ module_eval(<<'.,.,', 'parser.y', 430)
1968
1977
  def _reduce_180(val, _values, result)
1969
- result = [make_node(:DirectiveLocation, name: val[0].to_s, position_source: val[0])]
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
+
1970
1980
  result
1971
1981
  end
1972
1982
  .,.,
1973
1983
 
1974
- module_eval(<<'.,.,', 'parser.y', 436)
1984
+ module_eval(<<'.,.,', 'parser.y', 435)
1975
1985
  def _reduce_181(val, _values, result)
1976
- val[0] << make_node(:DirectiveLocation, name: val[2].to_s, position_source: val[2])
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])
1987
+
1988
+ result
1989
+ end
1990
+ .,.,
1991
+
1992
+ # reduce 182 omitted
1993
+
1994
+ # reduce 183 omitted
1995
+
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])]
1999
+ result
2000
+ end
2001
+ .,.,
2002
+
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])
1977
2006
  result
1978
2007
  end
1979
2008
  .,.,