graphql 1.13.19 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/graphql/install_generator.rb +1 -1
- data/lib/generators/graphql/relay.rb +3 -17
- data/lib/generators/graphql/templates/schema.erb +3 -0
- data/lib/graphql/analysis/ast/field_usage.rb +3 -1
- data/lib/graphql/analysis/ast/max_query_complexity.rb +0 -1
- data/lib/graphql/analysis/ast/query_complexity.rb +1 -1
- data/lib/graphql/analysis/ast/query_depth.rb +0 -1
- data/lib/graphql/analysis/ast/visitor.rb +43 -36
- data/lib/graphql/analysis/ast.rb +2 -12
- data/lib/graphql/analysis.rb +0 -7
- data/lib/graphql/backtrace/table.rb +2 -20
- data/lib/graphql/backtrace/tracer.rb +2 -3
- data/lib/graphql/backtrace.rb +2 -8
- data/lib/graphql/dataloader/null_dataloader.rb +3 -1
- data/lib/graphql/dataloader/source.rb +9 -0
- data/lib/graphql/dataloader.rb +4 -1
- data/lib/graphql/dig.rb +1 -1
- data/lib/graphql/execution/errors.rb +12 -82
- data/lib/graphql/execution/interpreter/resolve.rb +26 -0
- data/lib/graphql/execution/interpreter/runtime.rb +162 -119
- data/lib/graphql/execution/interpreter.rb +187 -78
- data/lib/graphql/execution/lazy.rb +7 -21
- data/lib/graphql/execution/lookahead.rb +44 -40
- data/lib/graphql/execution/multiplex.rb +3 -174
- data/lib/graphql/execution.rb +11 -4
- data/lib/graphql/introspection/dynamic_fields.rb +3 -8
- data/lib/graphql/introspection/entry_points.rb +2 -15
- data/lib/graphql/introspection/type_type.rb +8 -1
- data/lib/graphql/introspection.rb +4 -3
- data/lib/graphql/language/document_from_schema_definition.rb +18 -35
- data/lib/graphql/language/lexer.rb +216 -1488
- data/lib/graphql/language/lexer.ri +744 -0
- data/lib/graphql/language/nodes.rb +41 -33
- data/lib/graphql/language/parser.rb +375 -363
- data/lib/graphql/language/parser.y +48 -43
- data/lib/graphql/language/printer.rb +37 -21
- data/lib/graphql/language/visitor.rb +191 -83
- data/lib/graphql/pagination/active_record_relation_connection.rb +0 -8
- data/lib/graphql/pagination/array_connection.rb +4 -2
- data/lib/graphql/pagination/connection.rb +31 -4
- data/lib/graphql/pagination/connections.rb +3 -28
- data/lib/graphql/pagination/relation_connection.rb +2 -0
- data/lib/graphql/query/context.rb +155 -196
- data/lib/graphql/query/input_validation_result.rb +1 -1
- data/lib/graphql/query/null_context.rb +0 -3
- data/lib/graphql/query/validation_pipeline.rb +10 -34
- data/lib/graphql/query/variables.rb +7 -20
- data/lib/graphql/query.rb +32 -42
- data/lib/graphql/railtie.rb +0 -104
- data/lib/graphql/rake_task/validate.rb +1 -1
- data/lib/graphql/rake_task.rb +29 -1
- data/lib/graphql/relay/range_add.rb +9 -20
- data/lib/graphql/relay.rb +0 -15
- data/lib/graphql/schema/addition.rb +7 -9
- data/lib/graphql/schema/argument.rb +36 -43
- data/lib/graphql/schema/build_from_definition.rb +32 -18
- data/lib/graphql/schema/directive/one_of.rb +12 -0
- data/lib/graphql/schema/directive/transform.rb +1 -1
- data/lib/graphql/schema/directive.rb +11 -22
- data/lib/graphql/schema/enum.rb +28 -39
- data/lib/graphql/schema/enum_value.rb +5 -25
- data/lib/graphql/schema/field/connection_extension.rb +4 -0
- data/lib/graphql/schema/field.rb +214 -327
- data/lib/graphql/schema/input_object.rb +56 -67
- data/lib/graphql/schema/interface.rb +0 -35
- data/lib/graphql/schema/introspection_system.rb +3 -8
- data/lib/graphql/schema/late_bound_type.rb +8 -2
- data/lib/graphql/schema/list.rb +0 -6
- data/lib/graphql/schema/loader.rb +1 -2
- data/lib/graphql/schema/member/base_dsl_methods.rb +15 -19
- data/lib/graphql/schema/member/build_type.rb +5 -7
- data/lib/graphql/schema/member/has_arguments.rb +144 -53
- data/lib/graphql/schema/member/has_deprecation_reason.rb +3 -4
- data/lib/graphql/schema/member/has_directives.rb +71 -56
- data/lib/graphql/schema/member/has_fields.rb +15 -3
- data/lib/graphql/schema/member/has_interfaces.rb +47 -18
- data/lib/graphql/schema/member/has_validators.rb +31 -5
- data/lib/graphql/schema/member/relay_shortcuts.rb +28 -2
- data/lib/graphql/schema/member/type_system_helpers.rb +17 -0
- data/lib/graphql/schema/member/validates_input.rb +1 -1
- data/lib/graphql/schema/member.rb +0 -6
- data/lib/graphql/schema/mutation.rb +0 -9
- data/lib/graphql/schema/non_null.rb +1 -7
- data/lib/graphql/schema/object.rb +15 -52
- data/lib/graphql/schema/relay_classic_mutation.rb +53 -42
- data/lib/graphql/schema/resolver/has_payload_type.rb +20 -10
- data/lib/graphql/schema/resolver.rb +41 -42
- data/lib/graphql/schema/scalar.rb +7 -22
- data/lib/graphql/schema/subscription.rb +0 -7
- data/lib/graphql/schema/timeout.rb +24 -28
- data/lib/graphql/schema/type_membership.rb +3 -0
- data/lib/graphql/schema/union.rb +10 -17
- data/lib/graphql/schema/warden.rb +23 -6
- data/lib/graphql/schema/wrapper.rb +0 -5
- data/lib/graphql/schema.rb +240 -968
- data/lib/graphql/static_validation/all_rules.rb +1 -0
- data/lib/graphql/static_validation/base_visitor.rb +4 -21
- data/lib/graphql/static_validation/definition_dependencies.rb +7 -1
- data/lib/graphql/static_validation/error.rb +2 -2
- data/lib/graphql/static_validation/literal_validator.rb +19 -1
- data/lib/graphql/static_validation/rules/directives_are_defined.rb +11 -5
- data/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb +12 -12
- data/lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb +66 -0
- data/lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb +29 -0
- data/lib/graphql/static_validation/rules/unique_directives_per_location.rb +12 -6
- data/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb +1 -1
- data/lib/graphql/static_validation/validator.rb +3 -25
- data/lib/graphql/static_validation.rb +0 -2
- data/lib/graphql/subscriptions/action_cable_subscriptions.rb +7 -1
- data/lib/graphql/subscriptions/default_subscription_resolve_extension.rb +38 -1
- data/lib/graphql/subscriptions/event.rb +3 -8
- data/lib/graphql/subscriptions/instrumentation.rb +0 -51
- data/lib/graphql/subscriptions.rb +32 -20
- data/lib/graphql/tracing/active_support_notifications_trace.rb +16 -0
- data/lib/graphql/tracing/appoptics_trace.rb +231 -0
- data/lib/graphql/tracing/appsignal_trace.rb +66 -0
- data/lib/graphql/tracing/data_dog_trace.rb +148 -0
- data/lib/graphql/tracing/data_dog_tracing.rb +2 -0
- data/lib/graphql/tracing/new_relic_trace.rb +75 -0
- data/lib/graphql/tracing/notifications_trace.rb +41 -0
- data/lib/graphql/tracing/platform_trace.rb +107 -0
- data/lib/graphql/tracing/platform_tracing.rb +26 -41
- data/lib/graphql/tracing/prometheus_trace.rb +89 -0
- data/lib/graphql/tracing/prometheus_tracing.rb +3 -3
- data/lib/graphql/tracing/scout_trace.rb +72 -0
- data/lib/graphql/tracing/statsd_trace.rb +56 -0
- data/lib/graphql/tracing.rb +136 -40
- data/lib/graphql/type_kinds.rb +6 -3
- data/lib/graphql/types/iso_8601_date.rb +4 -1
- data/lib/graphql/types/iso_8601_date_time.rb +4 -0
- data/lib/graphql/types/relay/base_connection.rb +16 -6
- data/lib/graphql/types/relay/connection_behaviors.rb +5 -25
- data/lib/graphql/types/relay/default_relay.rb +5 -9
- data/lib/graphql/types/relay/edge_behaviors.rb +1 -4
- data/lib/graphql/types/relay/node_behaviors.rb +5 -1
- data/lib/graphql/types/relay.rb +0 -2
- data/lib/graphql/types/string.rb +1 -1
- data/lib/graphql/version.rb +1 -1
- data/lib/graphql.rb +11 -72
- metadata +31 -132
- data/lib/graphql/analysis/analyze_query.rb +0 -98
- data/lib/graphql/analysis/field_usage.rb +0 -45
- data/lib/graphql/analysis/max_query_complexity.rb +0 -26
- data/lib/graphql/analysis/max_query_depth.rb +0 -26
- data/lib/graphql/analysis/query_complexity.rb +0 -88
- data/lib/graphql/analysis/query_depth.rb +0 -43
- data/lib/graphql/analysis/reducer_state.rb +0 -48
- data/lib/graphql/argument.rb +0 -131
- data/lib/graphql/authorization.rb +0 -82
- data/lib/graphql/backtrace/legacy_tracer.rb +0 -56
- data/lib/graphql/backwards_compatibility.rb +0 -61
- data/lib/graphql/base_type.rb +0 -232
- data/lib/graphql/boolean_type.rb +0 -2
- data/lib/graphql/compatibility/execution_specification/counter_schema.rb +0 -53
- data/lib/graphql/compatibility/execution_specification/specification_schema.rb +0 -200
- data/lib/graphql/compatibility/execution_specification.rb +0 -436
- data/lib/graphql/compatibility/lazy_execution_specification/lazy_schema.rb +0 -111
- data/lib/graphql/compatibility/lazy_execution_specification.rb +0 -215
- data/lib/graphql/compatibility/query_parser_specification/parse_error_specification.rb +0 -87
- data/lib/graphql/compatibility/query_parser_specification/query_assertions.rb +0 -79
- data/lib/graphql/compatibility/query_parser_specification.rb +0 -266
- data/lib/graphql/compatibility/schema_parser_specification.rb +0 -682
- data/lib/graphql/compatibility.rb +0 -5
- data/lib/graphql/define/assign_argument.rb +0 -12
- data/lib/graphql/define/assign_connection.rb +0 -13
- data/lib/graphql/define/assign_enum_value.rb +0 -18
- data/lib/graphql/define/assign_global_id_field.rb +0 -11
- data/lib/graphql/define/assign_mutation_function.rb +0 -34
- data/lib/graphql/define/assign_object_field.rb +0 -42
- data/lib/graphql/define/defined_object_proxy.rb +0 -53
- data/lib/graphql/define/instance_definable.rb +0 -255
- data/lib/graphql/define/no_definition_error.rb +0 -7
- data/lib/graphql/define/non_null_with_bang.rb +0 -16
- data/lib/graphql/define/type_definer.rb +0 -31
- data/lib/graphql/define.rb +0 -31
- data/lib/graphql/deprecated_dsl.rb +0 -55
- data/lib/graphql/directive/deprecated_directive.rb +0 -2
- data/lib/graphql/directive/include_directive.rb +0 -2
- data/lib/graphql/directive/skip_directive.rb +0 -2
- data/lib/graphql/directive.rb +0 -107
- data/lib/graphql/enum_type.rb +0 -133
- data/lib/graphql/execution/execute.rb +0 -333
- data/lib/graphql/execution/flatten.rb +0 -40
- data/lib/graphql/execution/instrumentation.rb +0 -92
- data/lib/graphql/execution/lazy/resolve.rb +0 -91
- data/lib/graphql/execution/typecast.rb +0 -50
- data/lib/graphql/field/resolve.rb +0 -59
- data/lib/graphql/field.rb +0 -226
- data/lib/graphql/float_type.rb +0 -2
- data/lib/graphql/function.rb +0 -128
- data/lib/graphql/id_type.rb +0 -2
- data/lib/graphql/input_object_type.rb +0 -138
- data/lib/graphql/int_type.rb +0 -2
- data/lib/graphql/interface_type.rb +0 -72
- data/lib/graphql/internal_representation/document.rb +0 -27
- data/lib/graphql/internal_representation/node.rb +0 -206
- data/lib/graphql/internal_representation/print.rb +0 -51
- data/lib/graphql/internal_representation/rewrite.rb +0 -184
- data/lib/graphql/internal_representation/scope.rb +0 -88
- data/lib/graphql/internal_representation/visit.rb +0 -36
- data/lib/graphql/internal_representation.rb +0 -7
- data/lib/graphql/language/lexer.rl +0 -260
- data/lib/graphql/list_type.rb +0 -80
- data/lib/graphql/non_null_type.rb +0 -71
- data/lib/graphql/object_type.rb +0 -130
- data/lib/graphql/query/arguments.rb +0 -189
- data/lib/graphql/query/arguments_cache.rb +0 -24
- data/lib/graphql/query/executor.rb +0 -52
- data/lib/graphql/query/literal_input.rb +0 -136
- data/lib/graphql/query/serial_execution/field_resolution.rb +0 -92
- data/lib/graphql/query/serial_execution/operation_resolution.rb +0 -19
- data/lib/graphql/query/serial_execution/selection_resolution.rb +0 -23
- data/lib/graphql/query/serial_execution/value_resolution.rb +0 -87
- data/lib/graphql/query/serial_execution.rb +0 -40
- data/lib/graphql/relay/array_connection.rb +0 -83
- data/lib/graphql/relay/base_connection.rb +0 -189
- data/lib/graphql/relay/connection_instrumentation.rb +0 -54
- data/lib/graphql/relay/connection_resolve.rb +0 -43
- data/lib/graphql/relay/connection_type.rb +0 -54
- data/lib/graphql/relay/edge.rb +0 -27
- data/lib/graphql/relay/edge_type.rb +0 -19
- data/lib/graphql/relay/edges_instrumentation.rb +0 -39
- data/lib/graphql/relay/global_id_resolve.rb +0 -17
- data/lib/graphql/relay/mongo_relation_connection.rb +0 -50
- data/lib/graphql/relay/mutation/instrumentation.rb +0 -23
- data/lib/graphql/relay/mutation/resolve.rb +0 -56
- data/lib/graphql/relay/mutation/result.rb +0 -38
- data/lib/graphql/relay/mutation.rb +0 -106
- data/lib/graphql/relay/node.rb +0 -39
- data/lib/graphql/relay/page_info.rb +0 -7
- data/lib/graphql/relay/relation_connection.rb +0 -188
- data/lib/graphql/relay/type_extensions.rb +0 -32
- data/lib/graphql/scalar_type.rb +0 -91
- data/lib/graphql/schema/catchall_middleware.rb +0 -35
- data/lib/graphql/schema/default_parse_error.rb +0 -10
- data/lib/graphql/schema/default_type_error.rb +0 -17
- data/lib/graphql/schema/member/accepts_definition.rb +0 -164
- data/lib/graphql/schema/member/cached_graphql_definition.rb +0 -58
- data/lib/graphql/schema/member/instrumentation.rb +0 -131
- data/lib/graphql/schema/middleware_chain.rb +0 -82
- data/lib/graphql/schema/possible_types.rb +0 -44
- data/lib/graphql/schema/rescue_middleware.rb +0 -60
- data/lib/graphql/schema/timeout_middleware.rb +0 -88
- data/lib/graphql/schema/traversal.rb +0 -228
- data/lib/graphql/schema/validation.rb +0 -313
- data/lib/graphql/static_validation/default_visitor.rb +0 -15
- data/lib/graphql/static_validation/no_validate_visitor.rb +0 -10
- data/lib/graphql/string_type.rb +0 -2
- data/lib/graphql/subscriptions/subscription_root.rb +0 -76
- data/lib/graphql/tracing/skylight_tracing.rb +0 -70
- data/lib/graphql/types/relay/node_field.rb +0 -24
- data/lib/graphql/types/relay/nodes_field.rb +0 -43
- data/lib/graphql/union_type.rb +0 -115
- data/lib/graphql/upgrader/member.rb +0 -937
- 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.
|
3
|
+
# This file is automatically generated by Racc 1.6.2
|
4
4
|
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
@@ -12,26 +12,26 @@ module GraphQL
|
|
12
12
|
module Language
|
13
13
|
class Parser < Racc::Parser
|
14
14
|
|
15
|
-
module_eval(<<'...end parser.y/module_eval...', 'parser.y',
|
15
|
+
module_eval(<<'...end parser.y/module_eval...', 'parser.y', 448)
|
16
16
|
|
17
17
|
EMPTY_ARRAY = [].freeze
|
18
18
|
|
19
|
-
def initialize(query_string, filename:,
|
19
|
+
def initialize(query_string, filename:, trace: Tracing::NullTrace)
|
20
20
|
raise GraphQL::ParseError.new("No query string was present", nil, nil, query_string) if query_string.nil?
|
21
21
|
@query_string = query_string
|
22
22
|
@filename = filename
|
23
|
-
@
|
23
|
+
@trace = trace
|
24
24
|
@reused_next_token = [nil, nil]
|
25
25
|
end
|
26
26
|
|
27
27
|
def parse_document
|
28
28
|
@document ||= begin
|
29
29
|
# Break the string into tokens
|
30
|
-
@
|
30
|
+
@trace.lex(query_string: @query_string) do
|
31
31
|
@tokens ||= GraphQL.scan(@query_string)
|
32
32
|
end
|
33
33
|
# From the tokens, build an AST
|
34
|
-
@
|
34
|
+
@trace.parse(query_string: @query_string) do
|
35
35
|
if @tokens.empty?
|
36
36
|
raise GraphQL::ParseError.new("Unexpected end of document", nil, nil, @query_string)
|
37
37
|
else
|
@@ -44,17 +44,17 @@ end
|
|
44
44
|
class << self
|
45
45
|
attr_accessor :cache
|
46
46
|
|
47
|
-
def parse(query_string, filename: nil,
|
48
|
-
new(query_string, filename: filename,
|
47
|
+
def parse(query_string, filename: nil, trace: GraphQL::Tracing::NullTrace)
|
48
|
+
new(query_string, filename: filename, trace: trace).parse_document
|
49
49
|
end
|
50
50
|
|
51
|
-
def parse_file(filename,
|
51
|
+
def parse_file(filename, trace: GraphQL::Tracing::NullTrace)
|
52
52
|
if cache
|
53
53
|
cache.fetch(filename) do
|
54
|
-
parse(File.read(filename), filename: filename,
|
54
|
+
parse(File.read(filename), filename: filename, trace: trace)
|
55
55
|
end
|
56
56
|
else
|
57
|
-
parse(File.read(filename), filename: filename,
|
57
|
+
parse(File.read(filename), filename: filename, trace: trace)
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
@@ -66,7 +66,7 @@ def next_token
|
|
66
66
|
if lexer_token.nil?
|
67
67
|
nil
|
68
68
|
else
|
69
|
-
@reused_next_token[0] = lexer_token
|
69
|
+
@reused_next_token[0] = lexer_token[0]
|
70
70
|
@reused_next_token[1] = lexer_token
|
71
71
|
@reused_next_token
|
72
72
|
end
|
@@ -77,13 +77,13 @@ def get_description(token)
|
|
77
77
|
|
78
78
|
loop do
|
79
79
|
prev_token = token
|
80
|
-
token = token
|
80
|
+
token = token[4]
|
81
81
|
|
82
82
|
break if token.nil?
|
83
|
-
break if token
|
84
|
-
break if prev_token
|
83
|
+
break if token[0] != :COMMENT
|
84
|
+
break if prev_token[1] != token[1] + 1
|
85
85
|
|
86
|
-
comments.unshift(token.
|
86
|
+
comments.unshift(token[3].sub(/^#\s*/, ""))
|
87
87
|
end
|
88
88
|
|
89
89
|
return nil if comments.empty?
|
@@ -99,11 +99,12 @@ def on_error(parser_token_id, lexer_token, vstack)
|
|
99
99
|
if parser_token_name.nil?
|
100
100
|
raise GraphQL::ParseError.new("Parse Error on unknown token: {token_id: #{parser_token_id}, lexer_token: #{lexer_token}} from #{@query_string}", nil, nil, @query_string, filename: @filename)
|
101
101
|
else
|
102
|
-
line
|
103
|
-
|
104
|
-
|
102
|
+
line = lexer_token[1]
|
103
|
+
col = lexer_token[2]
|
104
|
+
if lexer_token[0] == :BAD_UNICODE_ESCAPE
|
105
|
+
raise GraphQL::ParseError.new("Parse error on bad Unicode escape sequence: #{lexer_token[3].inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
|
105
106
|
else
|
106
|
-
raise GraphQL::ParseError.new("Parse error on #{lexer_token.
|
107
|
+
raise GraphQL::ParseError.new("Parse error on #{lexer_token[3].inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename)
|
107
108
|
end
|
108
109
|
end
|
109
110
|
end
|
@@ -111,8 +112,8 @@ end
|
|
111
112
|
|
112
113
|
def make_node(node_name, assigns)
|
113
114
|
assigns.each do |key, value|
|
114
|
-
if key != :position_source && value.is_a?(
|
115
|
-
assigns[key] = value
|
115
|
+
if key != :position_source && value.is_a?(Array) && value[0].is_a?(Symbol)
|
116
|
+
assigns[key] = value[3]
|
116
117
|
end
|
117
118
|
end
|
118
119
|
|
@@ -124,65 +125,65 @@ end
|
|
124
125
|
##### State transition tables begin ###
|
125
126
|
|
126
127
|
racc_action_table = [
|
127
|
-
-2, -
|
128
|
-
13, 14, 95,
|
128
|
+
-2, -170, 11, 281, 12, 13, 14, 11, -101, 12,
|
129
|
+
13, 14, 95, 269, 275, 94, 19, 38, 74, 75,
|
129
130
|
76, 19, 77, 78, 79, 80, 15, 35, 161, 121,
|
130
|
-
35, 15, 35, 12, 13, 14, 28, 35,
|
131
|
+
35, 15, 35, 12, 13, 14, 28, 35, 180, 276,
|
131
132
|
72, 28, 35, 35, 43, 44, 45, 46, 47, 48,
|
132
133
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 61,
|
133
|
-
12, 13, 14, -101, -101,
|
134
|
+
12, 13, 14, -101, -101, 279, 183, 72, 35, 88,
|
134
135
|
-154, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
135
136
|
52, 53, 54, 55, 56, 57, 91, 12, 13, 14,
|
136
|
-
|
137
|
+
280, 67, 90, 99, 35, 72, 72, -101, 43, 44,
|
137
138
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
138
|
-
55, 56, 57,
|
139
|
-
|
139
|
+
55, 56, 57, 227, 12, 13, 14, 72, 67, 35,
|
140
|
+
175, 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,
|
142
|
-
|
143
|
-
52, 53, 54, 55, 56, 57,
|
144
|
-
14, 67,
|
145
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
146
|
-
|
147
|
-
12, 13, 14,
|
148
|
-
|
149
|
-
52,
|
150
|
-
|
151
|
-
|
152
|
-
50, 51, 52,
|
153
|
-
|
154
|
-
14, 72,
|
155
|
-
48, 49, 50, 51, 52,
|
156
|
-
|
157
|
-
|
158
|
-
46, 47, 48, 49, 50, 51, 52,
|
159
|
-
|
160
|
-
14, 72,
|
161
|
-
44, 45, 46, 47, 48, 49, 50, 51, 52,
|
162
|
-
|
163
|
-
12, 13, 14,
|
164
|
-
|
165
|
-
52,
|
166
|
-
12, 13, 14,
|
167
|
-
|
168
|
-
52, 53, 54, 55, 56, 57,
|
169
|
-
72,
|
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, 223, 102, 12, 13,
|
145
|
+
14, 67, 72, 221, 117, 72, 222, 121, 72, 204,
|
146
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
|
147
|
+
202, 203, 211, 212, 208, 209, 210, 220, 223, 72,
|
148
|
+
12, 13, 14, 132, 95, 221, 139, 72, 222, 259,
|
149
|
+
143, 204, 44, 45, 46, 47, 48, 49, 50, 51,
|
150
|
+
52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
|
151
|
+
223, 143, 12, 13, 14, 72, 72, 221, 72, 72,
|
152
|
+
222, 285, 143, 204, 44, 45, 46, 47, 48, 49,
|
153
|
+
50, 51, 52, 201, 202, 203, 211, 212, 208, 209,
|
154
|
+
210, 220, 301, 143, 12, 13, 14, 230, 12, 13,
|
155
|
+
14, 72, 222, 72, 72, 204, 44, 45, 46, 47,
|
156
|
+
48, 49, 50, 51, 52, 201, 202, 203, 211, 212,
|
157
|
+
208, 209, 210, 220, 223, 132, 12, 13, 14, 132,
|
158
|
+
95, 221, 169, 170, 222, 72, 72, 204, 44, 45,
|
159
|
+
46, 47, 48, 49, 50, 51, 52, 201, 202, 203,
|
160
|
+
211, 212, 208, 209, 210, 220, 223, 177, 12, 13,
|
161
|
+
14, 72, 72, 221, 72, -154, 222, 189, 190, 204,
|
162
|
+
44, 45, 46, 47, 48, 49, 50, 51, 52, 201,
|
163
|
+
202, 203, 211, 212, 208, 209, 210, 220, 301, 191,
|
164
|
+
12, 13, 14, 12, 13, 14, 72, 72, 222, 194,
|
165
|
+
195, 204, 44, 45, 46, 47, 48, 49, 50, 51,
|
166
|
+
52, 201, 202, 203, 211, 212, 208, 209, 210, 220,
|
167
|
+
12, 13, 14, 12, 13, 14, 196, 197, 199, 72,
|
168
|
+
225, 97, 44, 45, 46, 47, 48, 49, 50, 51,
|
169
|
+
52, 53, 54, 55, 56, 57, 262, 12, 13, 14,
|
170
|
+
72, 132, 132, 72, 180, 237, 72, 180, 43, 44,
|
170
171
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
171
|
-
55, 56, 57,
|
172
|
-
|
172
|
+
55, 56, 57, 287, 12, 13, 14, 35, 35, 180,
|
173
|
+
180, 35, 35, 35, 255, 43, 44, 45, 46, 47,
|
173
174
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
174
|
-
|
175
|
-
|
176
|
-
51, 52, 53, 54, 55, 56, 57,
|
177
|
-
14,
|
175
|
+
291, 12, 13, 14, 132, 237, 272, 272, 282, 284,
|
176
|
+
290, 197, 43, 44, 45, 46, 47, 48, 49, 50,
|
177
|
+
51, 52, 53, 54, 55, 56, 57, 309, 12, 13,
|
178
|
+
14, 72, 297, 302, 305, 306, 308, 284, 72, 43,
|
178
179
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
179
|
-
54, 55, 56, 57, 12, 13, 14,
|
180
|
-
|
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,
|
183
|
-
|
184
|
-
52, 53, 54, 55, 56, 57, 12, 13, 14,
|
185
|
-
|
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,
|
@@ -276,71 +277,71 @@ racc_action_table = [
|
|
276
277
|
nil, nil, nil, nil, nil, nil, nil, 43, 44, 45,
|
277
278
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
278
279
|
56, 57, 12, 13, 14, nil, nil, nil, nil, nil,
|
279
|
-
nil, nil, nil,
|
280
|
-
50, 51, 52,
|
280
|
+
nil, nil, nil, 204, 44, 45, 46, 47, 48, 49,
|
281
|
+
50, 51, 52, 201, 202, 203, -160, nil, nil, nil,
|
281
282
|
-160, nil, nil, nil, nil, nil, -160, nil, -160, -160,
|
282
283
|
-160 ]
|
283
284
|
|
284
285
|
racc_action_check = [
|
285
|
-
3,
|
286
|
-
0, 0, 66,
|
287
|
-
28, 0, 28, 28, 28, 28, 3,
|
288
|
-
|
289
|
-
103, 0,
|
286
|
+
3, 180, 3, 253, 3, 3, 3, 0, 103, 0,
|
287
|
+
0, 0, 66, 232, 244, 66, 3, 1, 28, 28,
|
288
|
+
28, 0, 28, 28, 28, 28, 3, 253, 119, 119,
|
289
|
+
180, 0, 3, 143, 143, 143, 3, 0, 141, 245,
|
290
|
+
103, 0, 232, 244, 143, 143, 143, 143, 143, 143,
|
290
291
|
143, 143, 143, 143, 143, 143, 143, 143, 143, 11,
|
291
|
-
11, 11, 11, 148, 150,
|
292
|
+
11, 11, 11, 148, 150, 251, 143, 19, 245, 38,
|
292
293
|
141, 11, 11, 11, 11, 11, 11, 11, 11, 11,
|
293
294
|
11, 11, 11, 11, 11, 11, 60, 60, 60, 60,
|
294
|
-
|
295
|
+
252, 11, 40, 68, 251, 148, 150, 146, 60, 60,
|
295
296
|
60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
296
|
-
60, 60, 60, 173, 173, 173, 173,
|
297
|
-
|
297
|
+
60, 60, 60, 173, 173, 173, 173, 146, 60, 252,
|
298
|
+
136, 136, 136, 136, 70, 173, 173, 173, 173, 173,
|
298
299
|
173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
|
299
|
-
132, 132, 132,
|
300
|
-
|
300
|
+
132, 132, 132, 37, 37, 173, 37, 37, 37, 37,
|
301
|
+
37, 132, 132, 132, 132, 132, 132, 132, 132, 132,
|
301
302
|
132, 132, 132, 132, 132, 132, 169, 73, 169, 169,
|
302
|
-
169, 132,
|
303
|
+
169, 132, 74, 169, 87, 89, 169, 90, 93, 169,
|
303
304
|
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
304
|
-
169, 169, 169, 169, 169, 169, 169, 169,
|
305
|
-
|
306
|
-
|
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,
|
305
|
+
169, 169, 169, 169, 169, 169, 169, 169, 222, 96,
|
306
|
+
222, 222, 222, 98, 101, 222, 104, 105, 222, 222,
|
307
|
+
106, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
328
308
|
222, 222, 222, 222, 222, 222, 222, 222, 222, 222,
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
309
|
+
260, 107, 260, 260, 260, 108, 109, 260, 110, 111,
|
310
|
+
260, 260, 112, 260, 260, 260, 260, 260, 260, 260,
|
311
|
+
260, 260, 260, 260, 260, 260, 260, 260, 260, 260,
|
312
|
+
260, 260, 284, 113, 284, 284, 284, 178, 178, 178,
|
313
|
+
178, 114, 284, 115, 116, 284, 284, 284, 284, 284,
|
314
|
+
284, 284, 284, 284, 284, 284, 284, 284, 284, 284,
|
315
|
+
284, 284, 284, 284, 290, 118, 290, 290, 290, 122,
|
316
|
+
123, 290, 126, 128, 290, 131, 134, 290, 290, 290,
|
317
|
+
290, 290, 290, 290, 290, 290, 290, 290, 290, 290,
|
318
|
+
290, 290, 290, 290, 290, 290, 302, 138, 302, 302,
|
319
|
+
302, 140, 142, 302, 144, 145, 302, 147, 149, 302,
|
320
|
+
302, 302, 302, 302, 302, 302, 302, 302, 302, 302,
|
321
|
+
302, 302, 302, 302, 302, 302, 302, 302, 305, 151,
|
322
|
+
305, 305, 305, 102, 102, 102, 153, 155, 305, 156,
|
323
|
+
157, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
324
|
+
305, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
325
|
+
67, 67, 67, 139, 139, 139, 158, 159, 163, 166,
|
326
|
+
171, 67, 67, 67, 67, 67, 67, 67, 67, 67,
|
327
|
+
67, 67, 67, 67, 67, 67, 223, 223, 223, 223,
|
328
|
+
67, 172, 174, 181, 182, 184, 187, 188, 223, 223,
|
329
|
+
223, 223, 223, 223, 223, 223, 223, 223, 223, 223,
|
330
|
+
223, 223, 223, 263, 263, 263, 263, 190, 191, 192,
|
331
|
+
193, 195, 196, 197, 198, 263, 263, 263, 263, 263,
|
332
|
+
263, 263, 263, 263, 263, 263, 263, 263, 263, 263,
|
333
|
+
266, 266, 266, 266, 200, 235, 240, 250, 254, 256,
|
334
|
+
265, 268, 266, 266, 266, 266, 266, 266, 266, 266,
|
335
|
+
266, 266, 266, 266, 266, 266, 266, 301, 301, 301,
|
336
|
+
301, 273, 278, 289, 293, 294, 298, 307, 311, 301,
|
337
|
+
301, 301, 301, 301, 301, 301, 301, 301, 301, 301,
|
338
|
+
301, 301, 301, 301, 10, 10, 10, 312, 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,
|
341
|
-
|
342
|
-
15, 15, 15, 15, 15, 15, 72, 72, 72,
|
343
|
-
|
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,
|
@@ -396,212 +397,206 @@ racc_action_check = [
|
|
396
397
|
130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
|
397
398
|
130, 130, 177, 177, 177, nil, nil, nil, nil, nil,
|
398
399
|
nil, nil, nil, 177, 177, 177, 177, 177, 177, 177,
|
399
|
-
177, 177, 177, 177, 177, 177, 177, 177,
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
nil, nil, nil, nil, nil,
|
404
|
-
|
405
|
-
|
406
|
-
nil,
|
407
|
-
|
408
|
-
nil, nil, nil, nil, nil, nil, nil,
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
400
|
+
177, 177, 177, 177, 177, 177, 177, 177, 183, 183,
|
401
|
+
183, nil, nil, nil, nil, nil, nil, nil, nil, 183,
|
402
|
+
183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
403
|
+
183, 183, 183, 183, 185, 185, 185, nil, nil, nil,
|
404
|
+
nil, nil, nil, nil, nil, 185, 185, 185, 185, 185,
|
405
|
+
185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
|
406
|
+
189, 189, 189, nil, nil, nil, nil, nil, nil, nil,
|
407
|
+
nil, 189, 189, 189, 189, 189, 189, 189, 189, 189,
|
408
|
+
189, 189, 189, 189, 189, 189, 194, 194, 194, nil,
|
409
|
+
nil, nil, nil, nil, nil, nil, nil, 194, 194, 194,
|
410
|
+
194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
|
411
|
+
194, 194, 199, 199, 199, nil, nil, nil, nil, nil,
|
412
|
+
199, nil, nil, 199, 199, 199, 199, 199, 199, 199,
|
413
|
+
199, 199, 199, 199, 199, 199, 199, 199, 221, 221,
|
414
|
+
221, nil, nil, nil, nil, nil, nil, nil, nil, 221,
|
415
|
+
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
|
416
|
+
221, 221, 221, 221, 231, 231, 231, nil, nil, nil,
|
416
417
|
nil, nil, nil, nil, nil, 231, 231, 231, 231, 231,
|
417
418
|
231, 231, 231, 231, 231, 231, 231, 231, 231, 231,
|
418
|
-
|
419
|
-
nil,
|
420
|
-
|
421
|
-
nil, nil, nil, nil, nil, nil, nil,
|
422
|
-
|
423
|
-
|
424
|
-
nil, nil, nil,
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
nil, nil,
|
430
|
-
|
431
|
-
|
432
|
-
nil,
|
433
|
-
|
434
|
-
nil, nil, nil, nil, nil, nil, nil,
|
435
|
-
|
436
|
-
|
437
|
-
nil, nil, nil,
|
438
|
-
|
439
|
-
|
440
|
-
|
419
|
+
237, 237, 237, nil, nil, nil, nil, nil, nil, nil,
|
420
|
+
nil, 237, 237, 237, 237, 237, 237, 237, 237, 237,
|
421
|
+
237, 237, 237, 237, 237, 237, 246, 246, 246, nil,
|
422
|
+
nil, nil, nil, nil, nil, nil, nil, 246, 246, 246,
|
423
|
+
246, 246, 246, 246, 246, 246, 246, 246, 246, 246,
|
424
|
+
246, 246, 272, 272, 272, nil, nil, nil, nil, nil,
|
425
|
+
nil, nil, nil, 272, 272, 272, 272, 272, 272, 272,
|
426
|
+
272, 272, 272, 272, 272, 272, 272, 272, 282, 282,
|
427
|
+
282, nil, nil, nil, nil, nil, nil, nil, nil, 282,
|
428
|
+
282, 282, 282, 282, 282, 282, 282, 282, 282, 282,
|
429
|
+
282, 282, 282, 282, 297, 297, 297, nil, nil, nil,
|
430
|
+
nil, nil, 297, nil, nil, 297, 297, 297, 297, 297,
|
431
|
+
297, 297, 297, 297, 297, 297, 297, 297, 297, 297,
|
432
|
+
306, 306, 306, nil, nil, nil, nil, nil, 306, nil,
|
433
|
+
nil, 306, 306, 306, 306, 306, 306, 306, 306, 306,
|
434
|
+
306, 306, 306, 306, 306, 306, 308, 308, 308, nil,
|
435
|
+
nil, nil, nil, nil, nil, nil, nil, 308, 308, 308,
|
436
|
+
308, 308, 308, 308, 308, 308, 308, 308, 308, 308,
|
437
|
+
308, 308, 242, 242, 242, nil, nil, nil, nil, nil,
|
438
|
+
nil, nil, nil, 242, 242, 242, 242, 242, 242, 242,
|
439
|
+
242, 242, 242, 242, 242, 242, 186, nil, nil, nil,
|
440
|
+
186, nil, nil, nil, nil, nil, 186, nil, 186, 186,
|
441
|
+
186 ]
|
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,
|
447
|
-
|
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, 359, 6, 204, 173, 191, 212, 201, 202,
|
455
|
+
204, 205, 223, 244, 237, 239, 240, 1014, 293, 20,
|
456
|
+
nil, 1040, 297, 293, 1066, nil, 292, nil, 292, nil,
|
457
|
+
1092, 271, 136, nil, 272, nil, 117, nil, 317, 389,
|
458
|
+
297, 36, 298, 29, 300, 301, 83, 323, 61, 336,
|
459
|
+
62, 357, nil, 332, nil, 333, 355, 368, 394, 390,
|
460
|
+
nil, nil, nil, 388, nil, nil, 365, nil, nil, 164,
|
461
|
+
nil, 387, 419, 110, 420, nil, nil, 1118, 264, nil,
|
462
|
+
-2, 389, 422, 1144, 388, 1170, 1521, 392, 425, 1196,
|
463
|
+
415, 416, 447, 448, 1222, 419, 420, 421, 427, 1248,
|
464
|
+
472, nil, 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,
|
466
|
-
|
467
|
-
nil, 1508, nil,
|
468
|
-
|
469
|
-
nil, nil, 440, nil,
|
470
|
-
|
471
|
-
|
472
|
-
nil, nil,
|
473
|
-
nil,
|
474
|
-
nil,
|
475
|
-
nil, nil, nil ]
|
466
|
+
nil, 1274, 196, 413, nil, nil, nil, nil, nil, nil,
|
467
|
+
nil, 1300, 10, nil, nil, 438, nil, 1326, nil, nil,
|
468
|
+
438, nil, 1508, nil, 11, 36, 1352, nil, nil, nil,
|
469
|
+
439, 62, 87, -5, 463, nil, 465, nil, nil, nil,
|
470
|
+
228, nil, nil, 440, nil, 470, 467, nil, 474, nil,
|
471
|
+
nil, nil, 1378, 467, nil, nil, nil, nil, 492, nil,
|
472
|
+
nil, nil, 1404, nil, 260, nil, nil, nil, nil, 493,
|
473
|
+
292, nil, nil, 494, 495, nil, nil, 1430, 468, nil,
|
474
|
+
nil, 494, 324, nil, nil, 356, 1456, 493, 1482, nil,
|
475
|
+
nil, 474, 493, nil, nil, nil ]
|
476
476
|
|
477
477
|
racc_action_default = [
|
478
|
-
-149, -
|
479
|
-
-16, -
|
480
|
-
-118, -119, -120, -121, -122, -123, -124, -125, -
|
481
|
-
-129, -130, -131, -132, -133, -148, -150, -
|
478
|
+
-149, -184, -1, -149, -3, -5, -6, -7, -8, -9,
|
479
|
+
-16, -184, -13, -14, -15, -109, -111, -112, -113, -100,
|
480
|
+
-118, -119, -120, -121, -122, -123, -124, -125, -184, -128,
|
481
|
+
-129, -130, -131, -132, -133, -148, -150, -184, -184, -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
|
-
-
|
485
|
-
-101, -102, -
|
486
|
-
-
|
487
|
-
-
|
488
|
-
-103, -66, -
|
489
|
-
-100, -100, -153, -153, -100, -100, -100, -
|
490
|
-
-20, -
|
491
|
-
-
|
492
|
-
-134, -138, -100, -
|
493
|
-
-147, -
|
494
|
-
-10, -19, -21, -
|
495
|
-
-24, -
|
496
|
-
-
|
497
|
-
-149, -
|
498
|
-
-57, -58, -59, -60, -61, -62, -70, -71, -72,
|
499
|
-
-74, -75, -76, -77, -78, -79, -80, -81, -82,
|
500
|
-
-
|
501
|
-
-
|
502
|
-
-
|
503
|
-
-149, -149, -149, -
|
504
|
-
-87, -89, -
|
505
|
-
-
|
506
|
-
-
|
507
|
-
-
|
508
|
-
|
509
|
-
-
|
510
|
-
-181, -167, -162 ]
|
484
|
+
-184, -12, -32, -34, -35, -36, -66, -100, -184, -110,
|
485
|
+
-101, -102, -184, -184, -100, -184, -184, -184, -184, -184,
|
486
|
+
-184, -184, -184, -184, -184, -184, -184, -184, 316, -100,
|
487
|
+
-184, -11, -33, -100, -184, -184, -100, -184, -184, -184,
|
488
|
+
-103, -66, -184, -127, -184, -184, -153, -153, -100, -100,
|
489
|
+
-100, -100, -153, -153, -100, -100, -100, -184, -184, -184,
|
490
|
+
-20, -184, -30, -66, -184, -68, -184, -105, -23, -25,
|
491
|
+
-184, -100, -184, -107, -100, -104, -184, -115, -184, -184,
|
492
|
+
-134, -138, -100, -184, -100, -141, -143, -184, -145, -184,
|
493
|
+
-147, -184, -151, -100, -154, -100, -184, -184, -184, -165,
|
494
|
+
-10, -19, -21, -184, -31, -37, -100, -67, -69, -184,
|
495
|
+
-24, -184, -184, -184, -184, -114, -116, -184, -184, -135,
|
496
|
+
-149, -101, -168, -184, -156, -157, -158, -101, -168, -184,
|
497
|
+
-149, -149, -168, -168, -184, -149, -149, -149, -180, -184,
|
498
|
+
-30, -57, -58, -59, -60, -61, -62, -70, -71, -72,
|
499
|
+
-73, -74, -75, -76, -77, -78, -79, -80, -81, -82,
|
500
|
+
-83, -184, -184, -184, -99, -26, -106, -29, -108, -117,
|
501
|
+
-126, -184, -149, -171, -136, -155, -158, -184, -161, -139,
|
502
|
+
-142, -174, -184, -64, -149, -149, -184, -163, -152, -173,
|
503
|
+
-176, -149, -149, -149, -184, -181, -27, -38, -84, -85,
|
504
|
+
-184, -87, -89, -184, -91, -184, -184, -96, -165, -169,
|
505
|
+
-172, -159, -184, -100, -65, -144, -146, -164, -184, -177,
|
506
|
+
-178, -166, -184, -22, -184, -86, -88, -90, -92, -184,
|
507
|
+
-184, -95, -97, -184, -184, -175, -63, -184, -179, -182,
|
508
|
+
-28, -184, -184, -80, -93, -184, -184, -27, -184, -94,
|
509
|
+
-98, -100, -100, -183, -167, -162 ]
|
511
510
|
|
512
511
|
racc_goto_table = [
|
513
|
-
10,
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
162,
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
nil,
|
529
|
-
nil,
|
530
|
-
|
531
|
-
nil,
|
532
|
-
|
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,
|
512
|
+
10, 198, 60, 10, 37, 92, 207, 37, 41, 66,
|
513
|
+
165, 93, 69, 206, 131, 233, 134, 73, 283, 176,
|
514
|
+
100, 120, 264, 184, 277, 133, 125, 300, 274, 141,
|
515
|
+
145, 277, 277, 303, 136, 274, 142, 144, 4, 244,
|
516
|
+
1, 39, 153, 155, 251, 160, 135, 171, 310, 240,
|
517
|
+
162, 245, 2, 100, 250, 168, 252, 253, 66, 261,
|
518
|
+
3, 176, 288, 235, 96, 98, 206, 270, 166, 312,
|
519
|
+
101, 178, 104, 105, 106, 107, 108, 109, 110, 111,
|
520
|
+
112, 113, 114, 115, 116, 40, 206, 118, 257, 89,
|
521
|
+
100, 122, 123, 126, 127, 119, 100, 286, 100, 226,
|
522
|
+
100, 228, 138, 273, 206, 124, 147, 149, 151, 152,
|
523
|
+
294, 260, 156, 157, 158, 159, 256, 263, 92, 163,
|
524
|
+
292, 103, 126, 173, 68, 179, 185, 232, 206, 172,
|
525
|
+
66, 100, 174, 254, 206, 298, 138, 100, nil, 138,
|
526
|
+
182, 186, 188, nil, nil, nil, 206, nil, nil, 206,
|
527
|
+
nil, 192, 140, 193, nil, 146, 148, 150, nil, nil,
|
528
|
+
nil, nil, nil, nil, 200, nil, 234, nil, nil, 205,
|
529
|
+
nil, 66, 239, nil, nil, 229, 248, 249, 138, nil,
|
530
|
+
nil, 236, nil, 238, 231, nil, nil, 241, nil, 181,
|
531
|
+
nil, 187, 241, nil, 242, nil, nil, nil, nil, 242,
|
545
532
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
546
|
-
nil, nil, nil, nil, nil,
|
533
|
+
nil, nil, nil, nil, 307, nil, nil, nil, nil, 258,
|
534
|
+
nil, 265, 205, 311, nil, nil, nil, nil, nil, 268,
|
535
|
+
nil, nil, nil, nil, nil, 271, 231, nil, nil, nil,
|
536
|
+
nil, nil, 205, nil, 278, nil, nil, nil, 242, nil,
|
537
|
+
nil, nil, nil, nil, nil, 242, nil, nil, nil, nil,
|
538
|
+
205, 289, nil, nil, 293, nil, nil, nil, nil, nil,
|
539
|
+
295, 296, nil, nil, nil, nil, nil, nil, nil, nil,
|
540
|
+
299, nil, nil, nil, 205, nil, nil, nil, nil, nil,
|
541
|
+
205, nil, nil, nil, nil, nil, nil, nil, nil, 293,
|
542
|
+
nil, nil, 205, nil, nil, 205, 313, nil, nil, 314,
|
543
|
+
315 ]
|
547
544
|
|
548
545
|
racc_goto_check = [
|
549
|
-
10,
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
18,
|
555
|
-
|
556
|
-
16,
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
nil, nil, nil,
|
564
|
-
nil, 13,
|
565
|
-
nil,
|
566
|
-
|
567
|
-
nil,
|
568
|
-
|
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,
|
573
|
-
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,
|
546
|
+
10, 80, 15, 10, 33, 24, 37, 33, 16, 16,
|
547
|
+
23, 28, 29, 30, 19, 81, 19, 13, 20, 56,
|
548
|
+
50, 18, 46, 77, 79, 14, 36, 22, 32, 71,
|
549
|
+
71, 79, 79, 22, 55, 32, 73, 73, 4, 34,
|
550
|
+
1, 4, 73, 73, 34, 14, 28, 19, 22, 74,
|
551
|
+
18, 75, 2, 50, 74, 36, 75, 75, 16, 37,
|
552
|
+
3, 56, 46, 77, 29, 13, 30, 81, 28, 20,
|
553
|
+
16, 55, 13, 16, 16, 16, 16, 16, 16, 16,
|
554
|
+
16, 16, 16, 16, 16, 11, 30, 13, 23, 12,
|
555
|
+
50, 13, 16, 16, 13, 17, 50, 37, 50, 14,
|
556
|
+
50, 14, 10, 31, 30, 35, 13, 13, 13, 13,
|
557
|
+
80, 44, 13, 13, 13, 16, 19, 45, 24, 16,
|
558
|
+
48, 49, 16, 15, 51, 72, 78, 82, 30, 13,
|
559
|
+
16, 50, 13, 83, 30, 84, 10, 50, nil, 10,
|
560
|
+
13, 16, 13, nil, nil, nil, 30, nil, nil, 30,
|
561
|
+
nil, 13, 49, 13, nil, 49, 49, 49, nil, nil,
|
562
|
+
nil, nil, nil, nil, 13, nil, 72, nil, nil, 10,
|
563
|
+
nil, 16, 72, nil, nil, 16, 72, 72, 10, nil,
|
564
|
+
nil, 16, nil, 16, 33, nil, nil, 16, nil, 49,
|
565
|
+
nil, 49, 16, nil, 33, nil, nil, nil, nil, 33,
|
581
566
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
582
|
-
nil, nil, nil, nil, nil,
|
567
|
+
nil, nil, nil, nil, 19, nil, nil, nil, nil, 16,
|
568
|
+
nil, 16, 10, 19, nil, nil, nil, nil, nil, 16,
|
569
|
+
nil, nil, nil, nil, nil, 16, 33, nil, nil, nil,
|
570
|
+
nil, nil, 10, nil, 16, nil, nil, nil, 33, nil,
|
571
|
+
nil, nil, nil, nil, nil, 33, nil, nil, nil, nil,
|
572
|
+
10, 16, nil, nil, 16, nil, nil, nil, nil, nil,
|
573
|
+
16, 13, nil, nil, nil, nil, nil, nil, nil, nil,
|
574
|
+
16, nil, nil, nil, 10, nil, nil, nil, nil, nil,
|
575
|
+
10, nil, nil, nil, nil, nil, nil, nil, nil, 16,
|
576
|
+
nil, nil, 10, nil, nil, 10, 16, nil, nil, 13,
|
577
|
+
13 ]
|
583
578
|
|
584
579
|
racc_goto_pointer = [
|
585
|
-
nil,
|
586
|
-
0,
|
587
|
-
-
|
588
|
-
-
|
589
|
-
nil, nil, nil, nil, -
|
590
|
-
|
580
|
+
nil, 40, 52, 60, 38, nil, nil, nil, nil, nil,
|
581
|
+
0, 75, 49, -2, -73, -9, -2, 5, -69, -83,
|
582
|
+
-238, nil, -257, -112, -55, nil, nil, nil, -55, -3,
|
583
|
+
-156, -139, -216, 4, -151, 10, -69, -163, nil, nil,
|
584
|
+
nil, nil, nil, nil, -111, -106, -201, nil, -146, 47,
|
585
|
+
-50, 109, nil, nil, nil, -68, -117, nil, nil, nil,
|
591
586
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
592
|
-
nil, -
|
593
|
-
-
|
587
|
+
nil, -77, -16, -70, -140, -140, nil, -120, -17, -221,
|
588
|
+
-158, -165, -53, -65, -147 ]
|
594
589
|
|
595
590
|
racc_goto_default = [
|
596
591
|
nil, nil, nil, nil, nil, 5, 6, 7, 8, 9,
|
597
592
|
58, nil, nil, nil, 164, nil, 129, nil, nil, nil,
|
598
|
-
nil, 128,
|
599
|
-
59,
|
600
|
-
|
593
|
+
nil, 128, 217, nil, 62, 63, 64, 65, nil, 42,
|
594
|
+
59, 224, 243, 246, nil, nil, nil, 304, 213, 214,
|
595
|
+
215, 216, 218, 219, nil, nil, nil, 266, 267, 70,
|
601
596
|
71, nil, 16, 17, 18, nil, 137, 20, 21, 22,
|
602
597
|
23, 24, 25, 26, 27, 29, 30, 31, 32, 33,
|
603
|
-
34, 154, nil, nil, nil, nil, 36, nil, nil,
|
604
|
-
nil,
|
598
|
+
34, 154, nil, nil, nil, nil, 36, nil, nil, 247,
|
599
|
+
nil, nil, nil, nil, nil ]
|
605
600
|
|
606
601
|
racc_reduce_table = [
|
607
602
|
0, 0, :racc_error,
|
@@ -739,11 +734,11 @@ racc_reduce_table = [
|
|
739
734
|
1, 103, :_reduce_none,
|
740
735
|
1, 103, :_reduce_none,
|
741
736
|
4, 104, :_reduce_134,
|
742
|
-
|
743
|
-
|
737
|
+
5, 105, :_reduce_135,
|
738
|
+
6, 105, :_reduce_136,
|
744
739
|
5, 105, :_reduce_137,
|
745
740
|
4, 105, :_reduce_138,
|
746
|
-
|
741
|
+
6, 106, :_reduce_139,
|
747
742
|
5, 106, :_reduce_140,
|
748
743
|
4, 106, :_reduce_141,
|
749
744
|
6, 107, :_reduce_142,
|
@@ -756,7 +751,7 @@ racc_reduce_table = [
|
|
756
751
|
0, 72, :_reduce_none,
|
757
752
|
1, 72, :_reduce_none,
|
758
753
|
4, 96, :_reduce_151,
|
759
|
-
|
754
|
+
6, 97, :_reduce_152,
|
760
755
|
0, 112, :_reduce_153,
|
761
756
|
1, 112, :_reduce_none,
|
762
757
|
3, 110, :_reduce_155,
|
@@ -773,23 +768,25 @@ racc_reduce_table = [
|
|
773
768
|
3, 119, :_reduce_166,
|
774
769
|
6, 120, :_reduce_167,
|
775
770
|
0, 111, :_reduce_168,
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
771
|
+
3, 111, :_reduce_169,
|
772
|
+
0, 121, :_reduce_170,
|
773
|
+
1, 121, :_reduce_171,
|
774
|
+
2, 121, :_reduce_172,
|
775
|
+
6, 98, :_reduce_173,
|
776
|
+
1, 113, :_reduce_174,
|
777
|
+
3, 113, :_reduce_175,
|
778
|
+
6, 99, :_reduce_176,
|
779
|
+
7, 100, :_reduce_177,
|
780
|
+
7, 101, :_reduce_178,
|
781
|
+
8, 93, :_reduce_179,
|
782
|
+
0, 122, :_reduce_none,
|
783
|
+
1, 122, :_reduce_none,
|
784
|
+
1, 123, :_reduce_182,
|
785
|
+
3, 123, :_reduce_183 ]
|
786
|
+
|
787
|
+
racc_reduce_n = 184
|
788
|
+
|
789
|
+
racc_shift_n = 316
|
793
790
|
|
794
791
|
racc_token_table = {
|
795
792
|
false => 0,
|
@@ -964,7 +961,7 @@ Racc_token_to_s_table = [
|
|
964
961
|
"enum_type_extension",
|
965
962
|
"input_object_type_extension",
|
966
963
|
"implements",
|
967
|
-
"
|
964
|
+
"field_definition_list_opt",
|
968
965
|
"implements_opt",
|
969
966
|
"union_members",
|
970
967
|
"input_value_definition_list",
|
@@ -974,6 +971,7 @@ Racc_token_to_s_table = [
|
|
974
971
|
"input_value_definition",
|
975
972
|
"arguments_definitions_opt",
|
976
973
|
"field_definition",
|
974
|
+
"field_definition_list",
|
977
975
|
"directive_repeatable_opt",
|
978
976
|
"directive_locations" ]
|
979
977
|
|
@@ -1283,7 +1281,7 @@ module_eval(<<'.,.,', 'parser.y', 119)
|
|
1283
1281
|
|
1284
1282
|
module_eval(<<'.,.,', 'parser.y', 164)
|
1285
1283
|
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]
|
1284
|
+
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
1285
|
result
|
1288
1286
|
end
|
1289
1287
|
.,.,
|
@@ -1339,21 +1337,21 @@ module_eval(<<'.,.,', 'parser.y', 179)
|
|
1339
1337
|
|
1340
1338
|
module_eval(<<'.,.,', 'parser.y', 182)
|
1341
1339
|
def _reduce_71(val, _values, result)
|
1342
|
-
result = val[0].to_f
|
1340
|
+
result = val[0][3].to_f
|
1343
1341
|
result
|
1344
1342
|
end
|
1345
1343
|
.,.,
|
1346
1344
|
|
1347
1345
|
module_eval(<<'.,.,', 'parser.y', 183)
|
1348
1346
|
def _reduce_72(val, _values, result)
|
1349
|
-
result = val[0].to_i
|
1347
|
+
result = val[0][3].to_i
|
1350
1348
|
result
|
1351
1349
|
end
|
1352
1350
|
.,.,
|
1353
1351
|
|
1354
1352
|
module_eval(<<'.,.,', 'parser.y', 184)
|
1355
1353
|
def _reduce_73(val, _values, result)
|
1356
|
-
result = val[0]
|
1354
|
+
result = val[0][3]
|
1357
1355
|
result
|
1358
1356
|
end
|
1359
1357
|
.,.,
|
@@ -1600,7 +1598,7 @@ module_eval(<<'.,.,', 'parser.y', 277)
|
|
1600
1598
|
|
1601
1599
|
module_eval(<<'.,.,', 'parser.y', 286)
|
1602
1600
|
def _reduce_114(val, _values, result)
|
1603
|
-
result = make_node(:SchemaDefinition, position_source: val[0], definition_line: val[0]
|
1601
|
+
result = make_node(:SchemaDefinition, position_source: val[0], definition_line: val[0][1], directives: val[1], **val[3])
|
1604
1602
|
result
|
1605
1603
|
end
|
1606
1604
|
.,.,
|
@@ -1616,7 +1614,7 @@ module_eval(<<'.,.,', 'parser.y', 290)
|
|
1616
1614
|
|
1617
1615
|
module_eval(<<'.,.,', 'parser.y', 293)
|
1618
1616
|
def _reduce_117(val, _values, result)
|
1619
|
-
result = { val[0].
|
1617
|
+
result = { val[0][3].to_sym => val[2] }
|
1620
1618
|
result
|
1621
1619
|
end
|
1622
1620
|
.,.,
|
@@ -1672,14 +1670,14 @@ module_eval(<<'.,.,', 'parser.y', 319)
|
|
1672
1670
|
|
1673
1671
|
module_eval(<<'.,.,', 'parser.y', 323)
|
1674
1672
|
def _reduce_135(val, _values, result)
|
1675
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[
|
1673
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[4], position_source: val[0])
|
1676
1674
|
result
|
1677
1675
|
end
|
1678
1676
|
.,.,
|
1679
1677
|
|
1680
1678
|
module_eval(<<'.,.,', 'parser.y', 324)
|
1681
1679
|
def _reduce_136(val, _values, result)
|
1682
|
-
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1680
|
+
result = make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1683
1681
|
result
|
1684
1682
|
end
|
1685
1683
|
.,.,
|
@@ -1700,7 +1698,7 @@ module_eval(<<'.,.,', 'parser.y', 326)
|
|
1700
1698
|
|
1701
1699
|
module_eval(<<'.,.,', 'parser.y', 329)
|
1702
1700
|
def _reduce_139(val, _values, result)
|
1703
|
-
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1701
|
+
result = make_node(:InterfaceTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[5], position_source: val[0])
|
1704
1702
|
result
|
1705
1703
|
end
|
1706
1704
|
.,.,
|
@@ -1769,7 +1767,7 @@ module_eval(<<'.,.,', 'parser.y', 343)
|
|
1769
1767
|
|
1770
1768
|
module_eval(<<'.,.,', 'parser.y', 353)
|
1771
1769
|
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]
|
1770
|
+
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])
|
1773
1771
|
|
1774
1772
|
result
|
1775
1773
|
end
|
@@ -1777,7 +1775,7 @@ module_eval(<<'.,.,', 'parser.y', 353)
|
|
1777
1775
|
|
1778
1776
|
module_eval(<<'.,.,', 'parser.y', 358)
|
1779
1777
|
def _reduce_152(val, _values, result)
|
1780
|
-
result = make_node(:ObjectTypeDefinition, name: val[2], interfaces: val[3], directives: val[4], fields: val[
|
1778
|
+
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])
|
1781
1779
|
|
1782
1780
|
result
|
1783
1781
|
end
|
@@ -1843,7 +1841,7 @@ module_eval(<<'.,.,', 'parser.y', 376)
|
|
1843
1841
|
|
1844
1842
|
module_eval(<<'.,.,', 'parser.y', 380)
|
1845
1843
|
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]
|
1844
|
+
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])
|
1847
1845
|
|
1848
1846
|
result
|
1849
1847
|
end
|
@@ -1879,7 +1877,7 @@ module_eval(<<'.,.,', 'parser.y', 389)
|
|
1879
1877
|
|
1880
1878
|
module_eval(<<'.,.,', 'parser.y', 393)
|
1881
1879
|
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]
|
1880
|
+
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])
|
1883
1881
|
|
1884
1882
|
result
|
1885
1883
|
end
|
@@ -1894,86 +1892,100 @@ module_eval(<<'.,.,', 'parser.y', 397)
|
|
1894
1892
|
|
1895
1893
|
module_eval(<<'.,.,', 'parser.y', 398)
|
1896
1894
|
def _reduce_169(val, _values, result)
|
1897
|
-
result =
|
1895
|
+
result = val[1]
|
1898
1896
|
result
|
1899
1897
|
end
|
1900
1898
|
.,.,
|
1901
1899
|
|
1902
|
-
module_eval(<<'.,.,', 'parser.y',
|
1900
|
+
module_eval(<<'.,.,', 'parser.y', 401)
|
1903
1901
|
def _reduce_170(val, _values, result)
|
1904
|
-
|
1902
|
+
result = EMPTY_ARRAY
|
1905
1903
|
result
|
1906
1904
|
end
|
1907
1905
|
.,.,
|
1908
1906
|
|
1909
|
-
module_eval(<<'.,.,', 'parser.y',
|
1907
|
+
module_eval(<<'.,.,', 'parser.y', 402)
|
1910
1908
|
def _reduce_171(val, _values, result)
|
1911
|
-
|
1912
|
-
|
1909
|
+
result = [val[0]]
|
1913
1910
|
result
|
1914
1911
|
end
|
1915
1912
|
.,.,
|
1916
1913
|
|
1917
|
-
module_eval(<<'.,.,', 'parser.y',
|
1914
|
+
module_eval(<<'.,.,', 'parser.y', 403)
|
1918
1915
|
def _reduce_172(val, _values, result)
|
1919
|
-
|
1916
|
+
val[0] << val[1]
|
1920
1917
|
result
|
1921
1918
|
end
|
1922
1919
|
.,.,
|
1923
1920
|
|
1924
|
-
module_eval(<<'.,.,', 'parser.y',
|
1921
|
+
module_eval(<<'.,.,', 'parser.y', 407)
|
1925
1922
|
def _reduce_173(val, _values, result)
|
1926
|
-
|
1923
|
+
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])
|
1924
|
+
|
1927
1925
|
result
|
1928
1926
|
end
|
1929
1927
|
.,.,
|
1930
1928
|
|
1931
|
-
module_eval(<<'.,.,', 'parser.y',
|
1929
|
+
module_eval(<<'.,.,', 'parser.y', 411)
|
1932
1930
|
def _reduce_174(val, _values, result)
|
1933
|
-
|
1934
|
-
|
1931
|
+
result = [make_node(:TypeName, name: val[0], position_source: val[0])]
|
1935
1932
|
result
|
1936
1933
|
end
|
1937
1934
|
.,.,
|
1938
1935
|
|
1939
|
-
module_eval(<<'.,.,', 'parser.y',
|
1936
|
+
module_eval(<<'.,.,', 'parser.y', 412)
|
1940
1937
|
def _reduce_175(val, _values, result)
|
1941
|
-
|
1942
|
-
|
1938
|
+
val[0] << make_node(:TypeName, name: val[2], position_source: val[2])
|
1943
1939
|
result
|
1944
1940
|
end
|
1945
1941
|
.,.,
|
1946
1942
|
|
1947
|
-
module_eval(<<'.,.,', 'parser.y',
|
1943
|
+
module_eval(<<'.,.,', 'parser.y', 416)
|
1948
1944
|
def _reduce_176(val, _values, result)
|
1949
|
-
result = make_node(:
|
1945
|
+
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])
|
1950
1946
|
|
1951
1947
|
result
|
1952
1948
|
end
|
1953
1949
|
.,.,
|
1954
1950
|
|
1955
|
-
module_eval(<<'.,.,', 'parser.y',
|
1951
|
+
module_eval(<<'.,.,', 'parser.y', 421)
|
1956
1952
|
def _reduce_177(val, _values, result)
|
1957
|
-
|
1953
|
+
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])
|
1954
|
+
|
1955
|
+
result
|
1956
|
+
end
|
1957
|
+
.,.,
|
1958
|
+
|
1959
|
+
module_eval(<<'.,.,', 'parser.y', 426)
|
1960
|
+
def _reduce_178(val, _values, result)
|
1961
|
+
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])
|
1962
|
+
|
1963
|
+
result
|
1964
|
+
end
|
1965
|
+
.,.,
|
1966
|
+
|
1967
|
+
module_eval(<<'.,.,', 'parser.y', 431)
|
1968
|
+
def _reduce_179(val, _values, result)
|
1969
|
+
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])
|
1958
1970
|
|
1959
1971
|
result
|
1960
1972
|
end
|
1961
1973
|
.,.,
|
1962
1974
|
|
1963
|
-
# reduce
|
1975
|
+
# reduce 180 omitted
|
1964
1976
|
|
1965
|
-
# reduce
|
1977
|
+
# reduce 181 omitted
|
1966
1978
|
|
1967
|
-
module_eval(<<'.,.,', 'parser.y',
|
1968
|
-
def
|
1969
|
-
result = [make_node(:DirectiveLocation, name: val[0]
|
1979
|
+
module_eval(<<'.,.,', 'parser.y', 439)
|
1980
|
+
def _reduce_182(val, _values, result)
|
1981
|
+
result = [make_node(:DirectiveLocation, name: val[0][3], position_source: val[0])]
|
1970
1982
|
result
|
1971
1983
|
end
|
1972
1984
|
.,.,
|
1973
1985
|
|
1974
|
-
module_eval(<<'.,.,', 'parser.y',
|
1975
|
-
def
|
1976
|
-
val[0] << make_node(:DirectiveLocation, name: val[2]
|
1986
|
+
module_eval(<<'.,.,', 'parser.y', 440)
|
1987
|
+
def _reduce_183(val, _values, result)
|
1988
|
+
val[0] << make_node(:DirectiveLocation, name: val[2][3], position_source: val[2])
|
1977
1989
|
result
|
1978
1990
|
end
|
1979
1991
|
.,.,
|