graphql 0.18.15 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/graphql/define/assign_global_id_field.rb +1 -2
  3. data/lib/graphql/directive.rb +41 -7
  4. data/lib/graphql/directive/deprecated_directive.rb +11 -0
  5. data/lib/graphql/directive/include_directive.rb +2 -2
  6. data/lib/graphql/directive/skip_directive.rb +2 -2
  7. data/lib/graphql/input_object_type.rb +14 -0
  8. data/lib/graphql/internal_representation/node.rb +8 -4
  9. data/lib/graphql/introspection/arguments_field.rb +0 -1
  10. data/lib/graphql/introspection/directive_location_enum.rb +3 -2
  11. data/lib/graphql/introspection/directive_type.rb +12 -7
  12. data/lib/graphql/introspection/enum_value_type.rb +4 -2
  13. data/lib/graphql/introspection/enum_values_field.rb +0 -1
  14. data/lib/graphql/introspection/field_type.rb +8 -7
  15. data/lib/graphql/introspection/fields_field.rb +0 -1
  16. data/lib/graphql/introspection/input_fields_field.rb +0 -1
  17. data/lib/graphql/introspection/input_value_type.rb +8 -10
  18. data/lib/graphql/introspection/interfaces_field.rb +0 -1
  19. data/lib/graphql/introspection/of_type_field.rb +0 -1
  20. data/lib/graphql/introspection/possible_types_field.rb +0 -1
  21. data/lib/graphql/introspection/schema_type.rb +11 -9
  22. data/lib/graphql/introspection/type_kind_enum.rb +3 -3
  23. data/lib/graphql/introspection/type_type.rb +9 -6
  24. data/lib/graphql/language/generation.rb +4 -1
  25. data/lib/graphql/language/lexer.rb +353 -316
  26. data/lib/graphql/language/lexer.rl +8 -6
  27. data/lib/graphql/language/nodes.rb +12 -0
  28. data/lib/graphql/language/parser.rb +553 -501
  29. data/lib/graphql/language/parser.y +26 -16
  30. data/lib/graphql/language/parser_tests.rb +20 -1
  31. data/lib/graphql/list_type.rb +5 -1
  32. data/lib/graphql/non_null_type.rb +4 -0
  33. data/lib/graphql/object_type.rb +1 -1
  34. data/lib/graphql/query/literal_input.rb +1 -1
  35. data/lib/graphql/relay.rb +1 -1
  36. data/lib/graphql/relay/global_id_resolve.rb +3 -5
  37. data/lib/graphql/relay/node.rb +34 -0
  38. data/lib/graphql/scalar_type.rb +1 -1
  39. data/lib/graphql/schema.rb +43 -15
  40. data/lib/graphql/schema/loader.rb +2 -2
  41. data/lib/graphql/schema/printer.rb +50 -8
  42. data/lib/graphql/schema/unique_within_type.rb +28 -0
  43. data/lib/graphql/schema/validation.rb +10 -3
  44. data/lib/graphql/static_validation/rules/fields_will_merge.rb +9 -1
  45. data/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb +8 -2
  46. data/lib/graphql/type_kinds.rb +12 -12
  47. data/lib/graphql/version.rb +1 -1
  48. data/readme.md +6 -5
  49. data/spec/graphql/argument_spec.rb +1 -1
  50. data/spec/graphql/execution_error_spec.rb +53 -0
  51. data/spec/graphql/introspection/directive_type_spec.rb +10 -0
  52. data/spec/graphql/introspection/input_value_type_spec.rb +23 -0
  53. data/spec/graphql/language/generation_spec.rb +4 -0
  54. data/spec/graphql/query/executor_spec.rb +2 -2
  55. data/spec/graphql/relay/mutation_spec.rb +1 -1
  56. data/spec/graphql/relay/node_spec.rb +87 -0
  57. data/spec/graphql/schema/catchall_middleware_spec.rb +1 -1
  58. data/spec/graphql/schema/loader_spec.rb +37 -4
  59. data/spec/graphql/schema/printer_spec.rb +30 -7
  60. data/spec/graphql/schema/unique_within_type_spec.rb +27 -0
  61. data/spec/graphql/schema/validation_spec.rb +7 -11
  62. data/spec/graphql/schema_spec.rb +32 -2
  63. data/spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb +14 -15
  64. data/spec/graphql/static_validation/rules/arguments_are_defined_spec.rb +10 -10
  65. data/spec/graphql/static_validation/rules/directives_are_defined_spec.rb +1 -5
  66. data/spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb +3 -5
  67. data/spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb +7 -11
  68. data/spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb +1 -4
  69. data/spec/graphql/static_validation/rules/fields_will_merge_spec.rb +10 -13
  70. data/spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb +3 -5
  71. data/spec/graphql/static_validation/rules/fragment_types_exist_spec.rb +2 -4
  72. data/spec/graphql/static_validation/rules/fragments_are_finite_spec.rb +4 -6
  73. data/spec/graphql/static_validation/rules/fragments_are_named_spec.rb +2 -4
  74. data/spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb +7 -7
  75. data/spec/graphql/static_validation/rules/fragments_are_used_spec.rb +1 -4
  76. data/spec/graphql/static_validation/rules/mutation_root_exists_spec.rb +2 -4
  77. data/spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb +3 -6
  78. data/spec/graphql/static_validation/rules/subscription_root_exists_spec.rb +2 -4
  79. data/spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb +12 -14
  80. data/spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb +7 -9
  81. data/spec/graphql/static_validation/rules/variables_are_input_types_spec.rb +20 -22
  82. data/spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb +27 -23
  83. data/spec/spec_helper.rb +1 -0
  84. data/spec/support/dairy_app.rb +2 -2
  85. data/spec/support/star_wars_schema.rb +15 -18
  86. data/spec/support/static_validation_helpers.rb +27 -0
  87. metadata +25 -5
  88. data/lib/graphql/relay/global_node_identification.rb +0 -138
  89. data/spec/graphql/relay/global_node_identification_spec.rb +0 -153
@@ -25,12 +25,13 @@
25
25
  UNION = 'union';
26
26
  ENUM = 'enum';
27
27
  INPUT = 'input';
28
- RCURLY = '{';
29
- LCURLY = '}';
30
- RPAREN = '(';
31
- LPAREN = ')';
32
- RBRACKET = '[';
33
- LBRACKET = ']';
28
+ LCURLY = '{';
29
+ RCURLY = '}';
30
+ LPAREN = '(';
31
+ RPAREN = ')';
32
+ LBRACKET = '[';
33
+ RBRACKET = ']';
34
+ DIRECTIVE = 'directive';
34
35
  COLON = ':';
35
36
  QUOTE = '"';
36
37
  ESCAPED_QUOTE = '\\"';
@@ -66,6 +67,7 @@
66
67
  UNION => { emit_token.call(:UNION) };
67
68
  ENUM => { emit_token.call(:ENUM) };
68
69
  INPUT => { emit_token.call(:INPUT) };
70
+ DIRECTIVE => { emit_token.call(:DIRECTIVE) };
69
71
  RCURLY => { emit_token.call(:RCURLY) };
70
72
  LCURLY => { emit_token.call(:LCURLY) };
71
73
  RPAREN => { emit_token.call(:RPAREN) };
@@ -142,6 +142,18 @@ module GraphQL
142
142
  end
143
143
  end
144
144
 
145
+ class DirectiveDefinition < AbstractNode
146
+ attr_accessor :name, :arguments, :locations
147
+ scalar_attributes :name
148
+ child_attributes :arguments, :locations
149
+
150
+ def initialize_node(name: nil, arguments: [], locations: [])
151
+ @name = name
152
+ @arguments = arguments
153
+ @locations = locations
154
+ end
155
+ end
156
+
145
157
  # This is the AST root for normal queries
146
158
  #
147
159
  # @example Deriving a document by parsing a string
@@ -12,7 +12,7 @@ module GraphQL
12
12
  module Language
13
13
  class Parser < Racc::Parser
14
14
 
15
- module_eval(<<'...end parser.y/module_eval...', 'parser.y', 333)
15
+ module_eval(<<'...end parser.y/module_eval...', 'parser.y', 343)
16
16
 
17
17
  def initialize(query_string)
18
18
  @query_string = query_string
@@ -75,501 +75,525 @@ end
75
75
  ##### State transition tables begin ###
76
76
 
77
77
  racc_action_table = [
78
- 10, 11, 12, 198, 177, 74, 199, 198, 73, 198,
79
- 132, 210, 50, 35, 36, 37, 38, 39, 40, 41,
80
- 42, 43, 44, 45, 46, 47, 10, 11, 12, 77,
81
- 57, 198, 119, 95, 199, 10, 11, 12, 70, 35,
82
- 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
83
- 46, 47, 10, 11, 12, 77, 57, 74, 127, 74,
84
- 13, 150, 77, 13, 13, 79, 36, 37, 38, 39,
85
- 40, 41, 42, 43, 44, 45, 46, 47, 10, 11,
86
- 12, 77, 13, 162, 117, 169, 163, 201, 116, 164,
87
- 173, 141, 36, 37, 38, 39, 40, 41, 42, 43,
88
- 139, 140, 156, 157, 153, 154, 155, 10, 11, 12,
89
- 77, 115, 162, 77, 114, 163, 77, 13, 164, 110,
90
- 141, 36, 37, 38, 39, 40, 41, 42, 43, 139,
91
- 140, 156, 157, 153, 154, 155, 10, 11, 12, 13,
92
- 77, 162, 77, 77, 163, 185, 194, 164, 95, 141,
93
- 36, 37, 38, 39, 40, 41, 42, 43, 139, 140,
94
- 156, 157, 153, 154, 155, 10, 11, 12, 77, 77,
95
- 162, 77, 77, 163, 77, 205, 164, 87, 141, 36,
96
- 37, 38, 39, 40, 41, 42, 43, 139, 140, 156,
97
- 157, 153, 154, 155, 10, 11, 12, 77, 81, 162,
98
- 69, 67, 163, 60, 30, 164, 77, 141, 36, 37,
99
- 38, 39, 40, 41, 42, 43, 139, 140, 156, 157,
100
- 153, 154, 155, 10, 11, 12, nil, 206, nil, nil,
101
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
102
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
103
- 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
104
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
105
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
106
- nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
107
- 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
108
- 47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
109
- nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
110
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
78
+ 10, 11, 12, 77, 208, 208, 76, 209, 208, 208,
79
+ 220, 13, 209, 184, 18, 25, 26, 138, 27, 28,
80
+ 29, 30, 80, 14, 10, 11, 12, 80, 77, 10,
81
+ 11, 12, 31, 125, 99, 13, 133, 77, 18, 25,
82
+ 26, 112, 27, 28, 29, 30, 13, 14, 10, 11,
83
+ 12, 10, 11, 12, 13, 157, 31, 158, 80, 122,
84
+ 73, 37, 38, 39, 40, 41, 42, 43, 44, 45,
85
+ 46, 47, 48, 49, 10, 11, 12, 13, 59, 13,
86
+ 121, 122, 120, 180, 80, 119, 52, 37, 38, 39,
87
+ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
88
+ 10, 11, 12, 80, 59, 118, 80, 114, 13, 13,
89
+ 80, 80, 80, 82, 38, 39, 40, 41, 42, 43,
90
+ 44, 45, 46, 47, 48, 49, 10, 11, 12, 80,
91
+ 99, 170, 203, 80, 171, 211, 80, 172, 206, 147,
92
+ 38, 39, 40, 41, 42, 43, 44, 45, 145, 146,
93
+ 164, 165, 161, 162, 163, 10, 11, 12, 80, 80,
94
+ 170, 80, 90, 171, 215, 80, 172, 84, 147, 38,
95
+ 39, 40, 41, 42, 43, 44, 45, 145, 146, 164,
96
+ 165, 161, 162, 163, 10, 11, 12, 72, 70, 170,
97
+ 69, 62, 171, 195, 32, 172, 80, 147, 38, 39,
98
+ 40, 41, 42, 43, 44, 45, 145, 146, 164, 165,
99
+ 161, 162, 163, 10, 11, 12, nil, nil, 170, nil,
100
+ nil, 171, nil, nil, 172, nil, 147, 38, 39, 40,
101
+ 41, 42, 43, 44, 45, 145, 146, 164, 165, 161,
102
+ 162, 163, 10, 11, 12, nil, nil, 170, nil, nil,
103
+ 171, nil, nil, 172, nil, 147, 38, 39, 40, 41,
104
+ 42, 43, 44, 45, 145, 146, 164, 165, 161, 162,
105
+ 163, 10, 11, 12, nil, nil, nil, nil, nil, nil,
106
+ nil, nil, nil, 202, 37, 38, 39, 40, 41, 42,
107
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
111
108
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
112
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
113
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
114
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
115
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
116
- 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
117
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
118
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
119
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 36,
120
109
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
121
- 47, 10, 11, 12, nil, 125, nil, nil, nil, nil,
122
- nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
123
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
110
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
111
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
112
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
113
+ 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
114
+ nil, nil, 37, 38, 39, 40, 41, 42, 43, 44,
115
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
116
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
117
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
118
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
119
+ nil, nil, nil, nil, 37, 38, 39, 40, 41, 42,
120
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
124
121
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
125
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
126
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
127
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
128
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
122
+ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
123
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
124
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
125
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
129
126
  11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
130
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
131
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
132
- nil, nil, nil, 182, nil, nil, nil, nil, 35, 36,
127
+ nil, nil, 37, 38, 39, 40, 41, 42, 43, 44,
128
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
129
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
130
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
131
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
132
+ nil, nil, nil, nil, 37, 38, 39, 40, 41, 42,
133
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
134
+ nil, nil, nil, nil, nil, 192, nil, nil, nil, nil,
133
135
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
134
- 47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
135
- nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
136
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
137
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 203,
138
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
139
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
140
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
141
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
142
- 11, 12, nil, nil, nil, nil, nil, 182, nil, nil,
143
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
144
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
145
- nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
136
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
137
+ nil, nil, nil, nil, nil, 213, 37, 38, 39, 40,
138
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
139
+ 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
140
+ nil, nil, nil, 38, 39, 40, 41, 42, 43, 44,
141
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
142
+ nil, nil, nil, 192, nil, nil, nil, nil, 37, 38,
143
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
144
+ 49, 10, 11, 12, nil, 131, nil, nil, nil, nil,
145
+ nil, nil, nil, nil, 37, 38, 39, 40, 41, 42,
146
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
147
+ nil, nil, nil, nil, nil, 192, nil, nil, nil, nil,
146
148
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
147
- 47, 10, 11, 12, nil, nil, nil, nil, nil, 182,
148
- nil, nil, nil, nil, 35, 36, 37, 38, 39, 40,
149
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
150
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 172,
151
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
152
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
153
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
154
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
149
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
150
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
151
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
155
152
  11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
156
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
157
- 43, 44, 45, 46, 47, 10, 11, 12, nil, 98,
158
- nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
153
+ nil, nil, 37, 38, 39, 40, 41, 42, 43, 44,
154
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
155
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
156
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
157
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
158
+ nil, nil, nil, 198, 37, 38, 39, 40, 41, 42,
159
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
160
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
159
161
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
160
- 47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
161
- nil, nil, nil, 192, 35, 36, 37, 38, 39, 40,
162
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
162
+ 47, 48, 49, 10, 11, 12, nil, 102, nil, nil,
163
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
164
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
165
+ 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
166
+ nil, nil, 37, 38, 39, 40, 41, 42, 43, 44,
167
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
168
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
169
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
170
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
171
+ nil, nil, nil, nil, 37, 38, 39, 40, 41, 42,
172
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
163
173
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
164
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
165
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
166
- nil, nil, nil, nil, nil, 188, 35, 36, 37, 38,
167
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
174
+ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
175
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
176
+ nil, 192, nil, nil, nil, nil, 37, 38, 39, 40,
177
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
168
178
  11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
169
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
170
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
171
- nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
179
+ nil, nil, nil, 38, 39, 40, 41, 42, 43, 44,
180
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
181
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
182
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
183
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
184
+ nil, nil, nil, nil, 37, 38, 39, 40, 41, 42,
185
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
186
+ nil, 187, nil, nil, nil, nil, nil, nil, nil, nil,
172
187
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
173
- 47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
174
- nil, nil, nil, nil, nil, 36, 37, 38, 39, 40,
175
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
188
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
189
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
190
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
191
+ 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
192
+ nil, 186, 37, 38, 39, 40, 41, 42, 43, 44,
193
+ 45, 46, 47, 48, 49, 10, 11, 12, nil, nil,
194
+ nil, nil, nil, nil, nil, nil, nil, nil, 37, 38,
195
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
196
+ 49, 10, 11, 12, nil, nil, nil, nil, nil, nil,
197
+ nil, nil, nil, 179, 37, 38, 39, 40, 41, 42,
198
+ 43, 44, 45, 46, 47, 48, 49, 10, 11, 12,
176
199
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
177
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
178
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
179
- nil, nil, nil, nil, nil, nil, 35, 36, 37, 38,
180
- 39, 40, 41, 42, 43, 44, 45, 46, 47, 10,
181
- 11, 12, nil, nil, nil, nil, nil, 182, nil, nil,
182
- nil, nil, 35, 36, 37, 38, 39, 40, 41, 42,
183
- 43, 44, 45, 46, 47, 10, 11, 12, nil, nil,
184
- nil, nil, nil, nil, nil, nil, nil, nil, 35, 36,
185
200
  37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
186
- 47, 10, 11, 12, nil, nil, nil, nil, nil, nil,
187
- nil, nil, nil, 179, 35, 36, 37, 38, 39, 40,
188
- 41, 42, 43, 44, 45, 46, 47, 10, 11, 12,
189
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
190
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
191
- 45, 46, 47, 10, 11, 12, nil, nil, nil, nil,
192
- nil, nil, nil, nil, nil, 176, 141, 36, 37, 38,
193
- 39, 40, 41, 42, 43, 139, 140, 10, 11, 12,
194
- nil, nil, 10, 11, 12, nil, nil, nil, 13, nil,
195
- nil, 17, 24, 25, 108, 26, 27, 28, 29, nil,
196
- 14, 10, 11, 12, nil, nil, nil, nil, nil, nil,
197
- nil, nil, 13, nil, nil, 17, 24, 25, nil, 26,
198
- 27, 28, 29, nil, 14, 10, 11, 12, nil, nil,
199
- nil, nil, nil, nil, nil, nil, nil, nil, 141, 36,
200
- 37, 38, 39, 40, 41, 42, 43, 139, 140 ]
201
+ 47, 48, 49, 10, 11, 12, nil, nil, nil, nil,
202
+ nil, nil, nil, nil, nil, nil, 37, 38, 39, 40,
203
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 10,
204
+ 11, 12, nil, nil, nil, nil, nil, nil, nil, nil,
205
+ nil, 183, 147, 38, 39, 40, 41, 42, 43, 44,
206
+ 45, 145, 146, 10, 11, 12, nil, nil, nil, nil,
207
+ nil, nil, nil, nil, nil, nil, 147, 38, 39, 40,
208
+ 41, 42, 43, 44, 45, 145, 146 ]
201
209
 
202
210
  racc_action_check = [
203
- 13, 13, 13, 196, 147, 56, 196, 207, 56, 200,
204
- 111, 200, 13, 13, 13, 13, 13, 13, 13, 13,
205
- 13, 13, 13, 13, 13, 13, 51, 51, 51, 207,
206
- 13, 180, 93, 93, 180, 60, 60, 60, 51, 51,
207
- 51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
208
- 51, 51, 57, 57, 57, 105, 51, 103, 101, 97,
209
- 96, 121, 124, 92, 129, 57, 57, 57, 57, 57,
210
- 57, 57, 57, 57, 57, 57, 57, 57, 186, 186,
211
- 186, 57, 130, 186, 91, 134, 186, 186, 90, 186,
212
- 138, 186, 186, 186, 186, 186, 186, 186, 186, 186,
213
- 186, 186, 186, 186, 186, 186, 186, 127, 127, 127,
214
- 144, 89, 127, 107, 88, 127, 86, 151, 127, 84,
215
- 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
216
- 127, 127, 127, 127, 127, 127, 163, 163, 163, 80,
217
- 78, 163, 75, 72, 163, 163, 170, 163, 69, 163,
218
- 163, 163, 163, 163, 163, 163, 163, 163, 163, 163,
219
- 163, 163, 163, 163, 163, 205, 205, 205, 68, 66,
220
- 205, 65, 64, 205, 63, 191, 205, 62, 205, 205,
221
- 205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
222
- 205, 205, 205, 205, 199, 199, 199, 61, 58, 199,
223
- 32, 30, 199, 17, 1, 199, 208, 199, 199, 199,
224
- 199, 199, 199, 199, 199, 199, 199, 199, 199, 199,
225
- 199, 199, 199, 193, 193, 193, nil, 193, nil, nil,
226
- nil, nil, nil, nil, nil, nil, 193, 193, 193, 193,
227
- 193, 193, 193, 193, 193, 193, 193, 193, 193, 26,
228
- 26, 26, nil, nil, nil, nil, nil, nil, nil, nil,
229
- nil, nil, 26, 26, 26, 26, 26, 26, 26, 26,
230
- 26, 26, 26, 26, 26, 27, 27, 27, nil, nil,
231
- nil, nil, nil, nil, nil, nil, nil, nil, 27, 27,
232
- 27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
233
- 27, 28, 28, 28, nil, nil, nil, nil, nil, nil,
234
- nil, nil, nil, nil, 28, 28, 28, 28, 28, 28,
235
- 28, 28, 28, 28, 28, 28, 28, 29, 29, 29,
211
+ 0, 0, 0, 58, 205, 216, 58, 205, 210, 190,
212
+ 210, 0, 190, 153, 0, 0, 0, 115, 0, 0,
213
+ 0, 0, 109, 0, 3, 3, 3, 216, 107, 85,
214
+ 85, 85, 0, 97, 97, 3, 105, 101, 3, 3,
215
+ 3, 85, 3, 3, 3, 3, 100, 3, 53, 53,
216
+ 53, 62, 62, 62, 96, 123, 3, 127, 130, 95,
217
+ 53, 53, 53, 53, 53, 53, 53, 53, 53, 53,
218
+ 53, 53, 53, 53, 13, 13, 13, 135, 53, 136,
219
+ 94, 140, 93, 144, 150, 92, 13, 13, 13, 13,
220
+ 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
221
+ 59, 59, 59, 111, 13, 91, 89, 87, 83, 159,
222
+ 81, 78, 75, 59, 59, 59, 59, 59, 59, 59,
223
+ 59, 59, 59, 59, 59, 59, 196, 196, 196, 59,
224
+ 72, 196, 177, 71, 196, 196, 68, 196, 188, 196,
225
+ 196, 196, 196, 196, 196, 196, 196, 196, 196, 196,
226
+ 196, 196, 196, 196, 196, 215, 215, 215, 67, 66,
227
+ 215, 65, 64, 215, 201, 63, 215, 60, 215, 215,
228
+ 215, 215, 215, 215, 215, 215, 215, 215, 215, 215,
229
+ 215, 215, 215, 215, 171, 171, 171, 34, 32, 171,
230
+ 31, 18, 171, 171, 1, 171, 217, 171, 171, 171,
231
+ 171, 171, 171, 171, 171, 171, 171, 171, 171, 171,
232
+ 171, 171, 171, 133, 133, 133, nil, nil, 133, nil,
233
+ nil, 133, nil, nil, 133, nil, 133, 133, 133, 133,
234
+ 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
235
+ 133, 133, 209, 209, 209, nil, nil, 209, nil, nil,
236
+ 209, nil, nil, 209, nil, 209, 209, 209, 209, 209,
237
+ 209, 209, 209, 209, 209, 209, 209, 209, 209, 209,
238
+ 209, 176, 176, 176, nil, nil, nil, nil, nil, nil,
239
+ nil, nil, nil, 176, 176, 176, 176, 176, 176, 176,
240
+ 176, 176, 176, 176, 176, 176, 176, 29, 29, 29,
236
241
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
237
242
  29, 29, 29, 29, 29, 29, 29, 29, 29, 29,
238
- 29, 29, 29, 115, 115, 115, nil, nil, nil, nil,
239
- nil, nil, nil, nil, nil, nil, 115, 115, 115, 115,
240
- 115, 115, 115, 115, 115, 115, 115, 115, 115, 24,
241
- 24, 24, nil, nil, nil, nil, nil, nil, nil, nil,
242
- nil, nil, 24, 24, 24, 24, 24, 24, 24, 24,
243
- 24, 24, 24, 24, 24, 14, 14, 14, nil, nil,
244
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 14,
245
- 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
246
- 14, 99, 99, 99, nil, 99, nil, nil, nil, nil,
247
- nil, nil, nil, nil, 99, 99, 99, 99, 99, 99,
248
- 99, 99, 99, 99, 99, 99, 99, 110, 110, 110,
243
+ 29, 29, 29, 30, 30, 30, nil, nil, nil, nil,
244
+ nil, nil, nil, nil, nil, nil, 30, 30, 30, 30,
245
+ 30, 30, 30, 30, 30, 30, 30, 30, 30, 114,
246
+ 114, 114, nil, nil, nil, nil, nil, nil, nil, nil,
247
+ nil, nil, 114, 114, 114, 114, 114, 114, 114, 114,
248
+ 114, 114, 114, 114, 114, 27, 27, 27, nil, nil,
249
+ nil, nil, nil, nil, nil, nil, nil, nil, 27, 27,
250
+ 27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
251
+ 27, 206, 206, 206, nil, nil, nil, nil, nil, nil,
252
+ nil, nil, nil, nil, 206, 206, 206, 206, 206, 206,
253
+ 206, 206, 206, 206, 206, 206, 206, 26, 26, 26,
249
254
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
250
- 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
251
- 110, 110, 110, 117, 117, 117, nil, nil, nil, nil,
255
+ 26, 26, 26, 26, 26, 26, 26, 26, 26, 26,
256
+ 26, 26, 26, 117, 117, 117, nil, nil, nil, nil,
252
257
  nil, nil, nil, nil, nil, nil, 117, 117, 117, 117,
253
- 117, 117, 117, 117, 117, 117, 117, 117, 117, 95,
254
- 95, 95, nil, nil, nil, nil, nil, nil, nil, nil,
255
- nil, nil, 95, 95, 95, 95, 95, 95, 95, 95,
256
- 95, 95, 95, 95, 95, 194, 194, 194, nil, nil,
257
- nil, nil, nil, 194, nil, nil, nil, nil, 194, 194,
258
- 194, 194, 194, 194, 194, 194, 194, 194, 194, 194,
259
- 194, 25, 25, 25, nil, nil, nil, nil, nil, nil,
260
- nil, nil, nil, nil, 25, 25, 25, 25, 25, 25,
261
- 25, 25, 25, 25, 25, 25, 25, 189, 189, 189,
262
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 189,
263
- 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
264
- 189, 189, 189, 8, 8, 8, nil, nil, nil, nil,
265
- nil, nil, nil, nil, nil, nil, 8, 8, 8, 8,
266
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 182,
267
- 182, 182, nil, nil, nil, nil, nil, 182, nil, nil,
268
- nil, nil, 182, 182, 182, 182, 182, 182, 182, 182,
269
- 182, 182, 182, 182, 182, 114, 114, 114, nil, nil,
270
- nil, nil, nil, nil, nil, nil, nil, nil, 114, 114,
271
- 114, 114, 114, 114, 114, 114, 114, 114, 114, 114,
272
- 114, 177, 177, 177, nil, nil, nil, nil, nil, 177,
273
- nil, nil, nil, nil, 177, 177, 177, 177, 177, 177,
274
- 177, 177, 177, 177, 177, 177, 177, 136, 136, 136,
275
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 136,
276
- 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
277
- 136, 136, 136, 169, 169, 169, nil, nil, nil, nil,
278
- nil, nil, nil, nil, nil, nil, 169, 169, 169, 169,
279
- 169, 169, 169, 169, 169, 169, 169, 169, 169, 73,
280
- 73, 73, nil, nil, nil, nil, nil, nil, nil, nil,
281
- nil, nil, 73, 73, 73, 73, 73, 73, 73, 73,
282
- 73, 73, 73, 73, 73, 74, 74, 74, nil, 74,
283
- nil, nil, nil, nil, nil, nil, nil, nil, 74, 74,
284
- 74, 74, 74, 74, 74, 74, 74, 74, 74, 74,
285
- 74, 168, 168, 168, nil, nil, nil, nil, nil, nil,
286
- nil, nil, nil, 168, 168, 168, 168, 168, 168, 168,
287
- 168, 168, 168, 168, 168, 168, 168, 77, 77, 77,
258
+ 117, 117, 117, 117, 117, 117, 117, 117, 117, 25,
259
+ 25, 25, nil, nil, nil, nil, nil, nil, nil, nil,
260
+ nil, nil, 25, 25, 25, 25, 25, 25, 25, 25,
261
+ 25, 25, 25, 25, 25, 118, 118, 118, nil, nil,
262
+ nil, nil, nil, nil, nil, nil, nil, nil, 118, 118,
263
+ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
264
+ 118, 119, 119, 119, nil, nil, nil, nil, nil, nil,
265
+ nil, nil, nil, nil, 119, 119, 119, 119, 119, 119,
266
+ 119, 119, 119, 119, 119, 119, 119, 203, 203, 203,
267
+ nil, nil, nil, nil, nil, 203, nil, nil, nil, nil,
268
+ 203, 203, 203, 203, 203, 203, 203, 203, 203, 203,
269
+ 203, 203, 203, 199, 199, 199, nil, nil, nil, nil,
270
+ nil, nil, nil, nil, nil, 199, 199, 199, 199, 199,
271
+ 199, 199, 199, 199, 199, 199, 199, 199, 199, 14,
272
+ 14, 14, nil, nil, nil, nil, nil, nil, nil, nil,
273
+ nil, nil, nil, 14, 14, 14, 14, 14, 14, 14,
274
+ 14, 14, 14, 14, 14, 192, 192, 192, nil, nil,
275
+ nil, nil, nil, 192, nil, nil, nil, nil, 192, 192,
276
+ 192, 192, 192, 192, 192, 192, 192, 192, 192, 192,
277
+ 192, 103, 103, 103, nil, 103, nil, nil, nil, nil,
278
+ nil, nil, nil, nil, 103, 103, 103, 103, 103, 103,
279
+ 103, 103, 103, 103, 103, 103, 103, 184, 184, 184,
280
+ nil, nil, nil, nil, nil, 184, nil, nil, nil, nil,
281
+ 184, 184, 184, 184, 184, 184, 184, 184, 184, 184,
282
+ 184, 184, 184, 69, 69, 69, nil, nil, nil, nil,
283
+ nil, nil, nil, nil, nil, nil, 69, 69, 69, 69,
284
+ 69, 69, 69, 69, 69, 69, 69, 69, 69, 180,
285
+ 180, 180, nil, nil, nil, nil, nil, nil, nil, nil,
286
+ nil, nil, 180, 180, 180, 180, 180, 180, 180, 180,
287
+ 180, 180, 180, 180, 180, 28, 28, 28, nil, nil,
288
+ nil, nil, nil, nil, nil, nil, nil, nil, 28, 28,
289
+ 28, 28, 28, 28, 28, 28, 28, 28, 28, 28,
290
+ 28, 172, 172, 172, nil, nil, nil, nil, nil, nil,
291
+ nil, nil, nil, 172, 172, 172, 172, 172, 172, 172,
292
+ 172, 172, 172, 172, 172, 172, 172, 76, 76, 76,
288
293
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
289
- 77, 77, 77, 77, 77, 77, 77, 77, 77, 77,
290
- 77, 77, 77, 164, 164, 164, nil, nil, nil, nil,
291
- nil, nil, nil, nil, nil, 164, 164, 164, 164, 164,
292
- 164, 164, 164, 164, 164, 164, 164, 164, 164, 79,
293
- 79, 79, nil, nil, nil, nil, nil, nil, nil, nil,
294
- nil, nil, 79, 79, 79, 79, 79, 79, 79, 79,
295
- 79, 79, 79, 79, 79, 113, 113, 113, nil, nil,
296
- nil, nil, nil, nil, nil, nil, nil, nil, 113, 113,
297
- 113, 113, 113, 113, 113, 113, 113, 113, 113, 113,
298
- 113, 81, 81, 81, nil, nil, nil, nil, nil, nil,
299
- nil, nil, nil, nil, nil, 81, 81, 81, 81, 81,
300
- 81, 81, 81, 81, 81, 81, 81, 132, 132, 132,
294
+ 76, 76, 76, 76, 76, 76, 76, 76, 76, 76,
295
+ 76, 76, 76, 77, 77, 77, nil, 77, nil, nil,
296
+ nil, nil, nil, nil, nil, nil, 77, 77, 77, 77,
297
+ 77, 77, 77, 77, 77, 77, 77, 77, 77, 8,
298
+ 8, 8, nil, nil, nil, nil, nil, nil, nil, nil,
299
+ nil, nil, 8, 8, 8, 8, 8, 8, 8, 8,
300
+ 8, 8, 8, 8, 8, 122, 122, 122, nil, nil,
301
+ nil, nil, nil, nil, nil, nil, nil, nil, 122, 122,
302
+ 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
303
+ 122, 170, 170, 170, nil, nil, nil, nil, nil, nil,
304
+ nil, nil, nil, nil, 170, 170, 170, 170, 170, 170,
305
+ 170, 170, 170, 170, 170, 170, 170, 82, 82, 82,
301
306
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
302
- 132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
303
- 132, 132, 132, 162, 162, 162, nil, nil, nil, nil,
304
- nil, nil, nil, nil, nil, nil, 162, 162, 162, 162,
305
- 162, 162, 162, 162, 162, 162, 162, 162, 162, 150,
306
- 150, 150, nil, nil, nil, nil, nil, 150, nil, nil,
307
- nil, nil, 150, 150, 150, 150, 150, 150, 150, 150,
308
- 150, 150, 150, 150, 150, 87, 87, 87, nil, nil,
309
- nil, nil, nil, nil, nil, nil, nil, nil, 87, 87,
310
- 87, 87, 87, 87, 87, 87, 87, 87, 87, 87,
311
- 87, 149, 149, 149, nil, nil, nil, nil, nil, nil,
312
- nil, nil, nil, 149, 149, 149, 149, 149, 149, 149,
313
- 149, 149, 149, 149, 149, 149, 149, 173, 173, 173,
307
+ 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
308
+ 82, 82, 82, 158, 158, 158, nil, nil, nil, nil,
309
+ nil, 158, nil, nil, nil, nil, 158, 158, 158, 158,
310
+ 158, 158, 158, 158, 158, 158, 158, 158, 158, 84,
311
+ 84, 84, nil, nil, nil, nil, nil, nil, nil, nil,
312
+ nil, nil, nil, 84, 84, 84, 84, 84, 84, 84,
313
+ 84, 84, 84, 84, 84, 121, 121, 121, nil, nil,
314
+ nil, nil, nil, nil, nil, nil, nil, nil, 121, 121,
315
+ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
316
+ 121, 157, 157, 157, nil, nil, nil, nil, nil, nil,
317
+ nil, nil, nil, nil, 157, 157, 157, 157, 157, 157,
318
+ 157, 157, 157, 157, 157, 157, 157, 156, 156, 156,
319
+ nil, 156, nil, nil, nil, nil, nil, nil, nil, nil,
320
+ 156, 156, 156, 156, 156, 156, 156, 156, 156, 156,
321
+ 156, 156, 156, 90, 90, 90, nil, nil, nil, nil,
322
+ nil, nil, nil, nil, nil, nil, 90, 90, 90, 90,
323
+ 90, 90, 90, 90, 90, 90, 90, 90, 90, 155,
324
+ 155, 155, nil, nil, nil, nil, nil, nil, nil, nil,
325
+ nil, 155, 155, 155, 155, 155, 155, 155, 155, 155,
326
+ 155, 155, 155, 155, 155, 99, 99, 99, nil, nil,
327
+ nil, nil, nil, nil, nil, nil, nil, nil, 99, 99,
328
+ 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
329
+ 99, 142, 142, 142, nil, nil, nil, nil, nil, nil,
330
+ nil, nil, nil, 142, 142, 142, 142, 142, 142, 142,
331
+ 142, 142, 142, 142, 142, 142, 142, 138, 138, 138,
314
332
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
315
- 173, 173, 173, 173, 173, 173, 173, 173, 173, 173,
316
- 173, 173, 173, 146, 146, 146, nil, nil, nil, nil,
317
- nil, nil, nil, nil, nil, 146, 146, 146, 146, 146,
318
- 146, 146, 146, 146, 146, 146, 146, 0, 0, 0,
319
- nil, nil, 82, 82, 82, nil, nil, nil, 0, nil,
320
- nil, 0, 0, 0, 82, 0, 0, 0, 0, nil,
321
- 0, 3, 3, 3, nil, nil, nil, nil, nil, nil,
322
- nil, nil, 3, nil, nil, 3, 3, 3, nil, 3,
323
- 3, 3, 3, nil, 3, 116, 116, 116, nil, nil,
324
- nil, nil, nil, nil, nil, nil, nil, nil, 116, 116,
325
- 116, 116, 116, 116, 116, 116, 116, 116, 116 ]
333
+ 138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
334
+ 138, 138, 138, 80, 80, 80, nil, nil, nil, nil,
335
+ nil, nil, nil, nil, nil, nil, 80, 80, 80, 80,
336
+ 80, 80, 80, 80, 80, 80, 80, 80, 80, 152,
337
+ 152, 152, nil, nil, nil, nil, nil, nil, nil, nil,
338
+ nil, 152, 152, 152, 152, 152, 152, 152, 152, 152,
339
+ 152, 152, 152, 120, 120, 120, nil, nil, nil, nil,
340
+ nil, nil, nil, nil, nil, nil, 120, 120, 120, 120,
341
+ 120, 120, 120, 120, 120, 120, 120 ]
326
342
 
327
343
  racc_action_pointer = [
328
- 1155, 204, nil, 1179, nil, nil, nil, nil, 611, nil,
329
- nil, nil, nil, -2, 403, nil, nil, 190, nil, nil,
330
- nil, nil, nil, nil, 377, 559, 247, 273, 299, 325,
331
- 201, nil, 195, nil, nil, nil, nil, nil, nil, nil,
344
+ -2, 194, nil, 22, nil, nil, nil, nil, 867, nil,
345
+ nil, nil, nil, 72, 607, nil, nil, nil, 178, nil,
346
+ nil, nil, nil, nil, nil, 477, 425, 373, 763, 295,
347
+ 321, 159, 188, nil, 182, nil, nil, nil, nil, nil,
348
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
349
+ nil, nil, nil, 46, nil, nil, nil, nil, -2, 98,
350
+ 152, nil, 49, 134, 143, 130, 128, 127, 105, 711,
351
+ nil, 102, 123, nil, nil, 81, 815, 841, 80, nil,
352
+ 1231, 79, 945, 95, 997, 27, nil, 99, nil, 75,
353
+ 1101, 92, 73, 69, 67, 54, 41, 27, nil, 1153,
354
+ 33, 32, nil, 659, nil, 28, nil, 23, nil, -9,
355
+ nil, 72, nil, nil, 347, 4, nil, 451, 503, 529,
356
+ 1281, 1023, 893, 40, nil, nil, nil, 49, nil, nil,
357
+ 27, nil, nil, 211, nil, 64, 66, nil, 1205, nil,
358
+ 76, nil, 1179, nil, 50, nil, nil, nil, nil, nil,
359
+ 53, nil, 1257, 5, nil, 1127, 1075, 1049, 971, 96,
332
360
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
333
- nil, 24, nil, nil, nil, nil, 0, 50, 183, nil,
334
- 33, 166, 158, 143, 141, 140, 138, nil, 137, 141,
335
- nil, nil, 112, 767, 793, 111, nil, 845, 109, 897,
336
- 126, 949, 1160, nil, 111, nil, 85, 1053, 101, 99,
337
- 75, 71, 50, 26, nil, 507, 47, 54, nil, 429,
338
- nil, 50, nil, 52, nil, 24, nil, 82, nil, nil,
339
- 455, -3, nil, 923, 663, 351, 1203, 481, nil, nil,
340
- nil, 53, nil, nil, 31, nil, nil, 105, nil, 51,
341
- 69, nil, 975, nil, 80, nil, 715, nil, 57, nil,
342
- nil, nil, nil, nil, 79, nil, 1131, -4, nil, 1079,
343
- 1027, 104, nil, nil, nil, nil, nil, nil, nil, nil,
344
- nil, nil, 1001, 134, 871, nil, nil, nil, 819, 741,
345
- 138, nil, nil, 1105, nil, nil, nil, 689, nil, nil,
346
- 22, nil, 637, nil, nil, nil, 76, nil, nil, 585,
347
- nil, 167, nil, 221, 533, nil, -6, nil, nil, 192,
348
- 0, nil, nil, nil, nil, 163, nil, -2, 175, nil,
361
+ 919, 182, 789, nil, nil, nil, 269, 124, nil, nil,
362
+ 737, nil, nil, nil, 685, nil, nil, nil, 105, nil,
363
+ 0, nil, 633, nil, nil, nil, 124, nil, nil, 581,
364
+ nil, 156, nil, 555, nil, -5, 399, nil, nil, 240,
365
+ -1, nil, nil, nil, nil, 153, -4, 165, nil, nil,
349
366
  nil, nil, nil, nil ]
350
367
 
351
368
  racc_action_default = [
352
- -129, -129, -1, -2, -3, -5, -6, -7, -13, -9,
353
- -10, -11, -12, -129, -97, -99, -100, -129, -105, -106,
354
- -107, -108, -109, -110, -129, -129, -129, -129, -129, -129,
355
- -129, -4, -15, -14, -36, -37, -38, -39, -40, -41,
356
- -42, -43, -44, -45, -46, -47, -48, -49, -50, -51,
357
- -25, -129, -29, -31, -32, -33, -62, -88, -129, -98,
358
- -129, -88, -113, -88, -88, -88, -88, 214, -88, -129,
359
- -26, -30, -88, -129, -129, -89, -90, -129, -88, -129,
360
- -129, -129, -129, -102, -129, -111, -88, -129, -129, -129,
361
- -129, -129, -129, -129, -17, -129, -27, -62, -63, -129,
362
- -65, -129, -91, -62, -93, -88, -95, -88, -101, -103,
363
- -129, -129, -57, -114, -129, -129, -129, -129, -8, -16,
364
- -18, -129, -28, -34, -88, -64, -66, -129, -92, -129,
365
- -129, -104, -129, -58, -118, -121, -129, -124, -126, -52,
366
- -53, -54, -55, -56, -88, -60, -129, -129, -116, -129,
367
- -129, -27, -67, -68, -69, -70, -71, -72, -73, -74,
368
- -75, -76, -129, -129, -129, -87, -94, -96, -129, -129,
369
- -129, -122, -123, -129, -59, -61, -127, -129, -117, -128,
370
- -23, -20, -129, -35, -77, -78, -129, -80, -82, -129,
371
- -84, -129, -112, -129, -129, -125, -23, -19, -21, -129,
372
- -129, -79, -81, -83, -85, -129, -119, -88, -88, -24,
373
- -22, -86, -120, -115 ]
369
+ -133, -133, -1, -2, -3, -5, -6, -7, -13, -9,
370
+ -10, -11, -12, -133, -97, -99, -100, -101, -133, -106,
371
+ -107, -108, -109, -110, -111, -133, -133, -133, -133, -133,
372
+ -133, -133, -133, -4, -15, -14, -36, -37, -38, -39,
373
+ -40, -41, -42, -43, -44, -45, -46, -47, -48, -49,
374
+ -50, -51, -25, -133, -29, -31, -32, -33, -62, -88,
375
+ -133, -98, -133, -88, -114, -88, -88, -88, -88, -133,
376
+ 224, -88, -133, -26, -30, -88, -133, -133, -89, -90,
377
+ -133, -88, -133, -133, -133, -133, -103, -133, -112, -88,
378
+ -133, -133, -133, -133, -133, -119, -133, -133, -17, -133,
379
+ -27, -62, -63, -133, -65, -133, -91, -62, -93, -88,
380
+ -95, -88, -102, -104, -133, -133, -57, -115, -133, -133,
381
+ -133, -133, -133, -133, -8, -16, -18, -133, -28, -34,
382
+ -88, -64, -66, -133, -92, -133, -133, -105, -133, -58,
383
+ -119, -122, -133, -125, -127, -52, -53, -54, -55, -56,
384
+ -88, -60, -133, -133, -117, -133, -133, -133, -133, -27,
385
+ -67, -68, -69, -70, -71, -72, -73, -74, -75, -76,
386
+ -133, -133, -133, -87, -94, -96, -133, -133, -123, -124,
387
+ -133, -59, -61, -128, -133, -118, -129, -120, -130, -131,
388
+ -23, -20, -133, -35, -77, -78, -133, -80, -82, -133,
389
+ -84, -133, -113, -133, -126, -23, -133, -19, -21, -133,
390
+ -133, -79, -81, -83, -85, -133, -88, -88, -132, -24,
391
+ -22, -86, -121, -116 ]
374
392
 
375
393
  racc_goto_table = [
376
- 8, 123, 152, 8, 72, 149, 33, 1, 52, 59,
377
- 190, 56, 94, 144, 178, 171, 106, 146, 197, 99,
378
- 143, 113, 61, 62, 63, 64, 65, 66, 118, 145,
379
- 100, 143, 122, 80, 208, 204, 120, 85, 187, 88,
380
- 89, 90, 91, 144, 92, 124, 71, 171, 96, 56,
381
- 143, 128, 78, 186, 104, 126, 183, 193, 178, 175,
382
- 84, 202, 111, 189, 83, 166, 167, 143, 51, 102,
383
- 136, 97, 101, 58, 209, 103, 107, 105, 180, 82,
384
- 211, 129, 84, 130, 93, 112, 109, 122, 168, 4,
385
- 143, 86, 31, 121, 68, 32, 3, 101, 170, 2,
386
- 151, 138, nil, 143, nil, 196, nil, nil, 131, 143,
387
- 200, 133, nil, 137, nil, 147, 142, nil, nil, nil,
388
- 174, nil, 207, nil, nil, nil, nil, 142, nil, nil,
394
+ 8, 61, 110, 8, 129, 149, 123, 54, 35, 150,
395
+ 98, 160, 200, 58, 4, 124, 75, 33, 149, 128,
396
+ 185, 185, 1, 178, 104, 63, 64, 65, 66, 67,
397
+ 68, 103, 151, 117, 190, 126, 83, 149, 86, 214,
398
+ 88, 150, 91, 92, 93, 94, 81, 74, 96, 197,
399
+ 132, 177, 100, 58, 174, 175, 149, 178, 108, 130,
400
+ 205, 113, 87, 193, 182, 134, 115, 196, 210, 95,
401
+ 199, 111, 142, 152, 212, 106, 101, 105, 128, 216,
402
+ 107, 149, 109, 207, 60, 87, 135, 219, 136, 85,
403
+ 116, 53, 176, 221, 149, 155, 156, 89, 217, 127,
404
+ 149, 97, 71, 105, 34, 3, 2, 159, 144, 188,
405
+ nil, nil, nil, nil, 137, nil, nil, 139, nil, 143,
406
+ 148, 153, 153, nil, nil, nil, nil, 181, nil, nil,
407
+ nil, nil, nil, 148, nil, nil, nil, nil, nil, nil,
389
408
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
390
- nil, nil, nil, nil, nil, nil, 142, 147, 181, nil,
409
+ nil, nil, 148, nil, nil, 153, 153, 189, 191, nil,
391
410
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
392
- 184, nil, 191, 142, nil, nil, nil, 147, nil, nil,
393
- nil, 195, nil, nil, nil, 181, nil, nil, nil, nil,
394
- 181, nil, nil, 212, 213, nil, 142, 191, nil, nil,
395
- nil, 147, 181, nil, nil, nil, nil, nil, nil, 142,
396
- nil, nil, nil, nil, nil, 142 ]
411
+ 194, 148, 201, nil, nil, nil, nil, nil, nil, nil,
412
+ 204, nil, nil, nil, 191, nil, nil, nil, nil, nil,
413
+ nil, nil, 191, 222, 223, nil, 148, nil, nil, 201,
414
+ nil, nil, nil, 191, nil, nil, 218, nil, nil, 148,
415
+ nil, nil, nil, nil, nil, 148 ]
397
416
 
398
417
  racc_goto_check = [
399
- 8, 20, 18, 8, 25, 57, 13, 1, 21, 26,
400
- 40, 13, 15, 28, 56, 59, 12, 31, 17, 32,
401
- 27, 29, 13, 13, 13, 13, 13, 13, 12, 30,
402
- 33, 27, 12, 11, 17, 40, 15, 11, 18, 11,
403
- 11, 11, 11, 28, 11, 25, 21, 59, 11, 13,
404
- 27, 25, 26, 38, 11, 33, 20, 57, 56, 30,
405
- 8, 18, 11, 39, 47, 12, 12, 27, 19, 42,
406
- 55, 13, 13, 43, 18, 13, 26, 13, 16, 46,
407
- 18, 11, 8, 11, 14, 13, 47, 12, 55, 4,
408
- 27, 54, 4, 13, 10, 9, 3, 13, 58, 2,
409
- 11, 60, nil, 27, nil, 16, nil, nil, 13, 27,
410
- 16, 13, nil, 13, nil, 13, 8, nil, nil, nil,
411
- 11, nil, 16, nil, nil, nil, nil, 8, nil, nil,
418
+ 8, 26, 12, 8, 20, 27, 59, 21, 13, 28,
419
+ 15, 18, 40, 13, 4, 12, 25, 4, 27, 12,
420
+ 57, 57, 1, 60, 33, 13, 13, 13, 13, 13,
421
+ 13, 32, 30, 29, 16, 15, 11, 27, 48, 40,
422
+ 11, 28, 11, 11, 11, 11, 26, 21, 11, 18,
423
+ 33, 59, 11, 13, 12, 12, 27, 60, 11, 25,
424
+ 16, 48, 8, 20, 30, 25, 11, 38, 16, 13,
425
+ 39, 26, 56, 31, 18, 42, 13, 13, 12, 16,
426
+ 13, 27, 13, 17, 43, 8, 11, 18, 11, 47,
427
+ 13, 19, 56, 18, 27, 58, 58, 55, 17, 13,
428
+ 27, 14, 10, 13, 9, 3, 2, 11, 61, 62,
429
+ nil, nil, nil, nil, 13, nil, nil, 13, nil, 13,
430
+ 8, 13, 13, nil, nil, nil, nil, 11, nil, nil,
431
+ nil, nil, nil, 8, nil, nil, nil, nil, nil, nil,
412
432
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
413
- nil, nil, nil, nil, nil, nil, 8, 13, 13, nil,
433
+ nil, nil, 8, nil, nil, 13, 13, 13, 13, nil,
414
434
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
415
- 13, nil, 13, 8, nil, nil, nil, 13, nil, nil,
416
- nil, 13, nil, nil, nil, 13, nil, nil, nil, nil,
417
- 13, nil, nil, 11, 11, nil, 8, 13, nil, nil,
418
- nil, 13, 13, nil, nil, nil, nil, nil, nil, 8,
435
+ 13, 8, 13, nil, nil, nil, nil, nil, nil, nil,
436
+ 13, nil, nil, nil, 13, nil, nil, nil, nil, nil,
437
+ nil, nil, 13, 11, 11, nil, 8, nil, nil, 13,
438
+ nil, nil, nil, 13, nil, nil, 13, nil, nil, 8,
419
439
  nil, nil, nil, nil, nil, 8 ]
420
440
 
421
441
  racc_goto_pointer = [
422
- nil, 7, 99, 96, 89, nil, nil, nil, 0, 87,
423
- 62, -24, -64, -2, 15, -57, -72, -162, -125, 55,
424
- -95, -5, nil, nil, nil, -52, -5, -96, -103, -66,
425
- -87, -99, -55, -44, nil, nil, nil, nil, -110, -101,
426
- -154, nil, -6, 59, nil, nil, 19, 4, nil, nil,
427
- nil, nil, nil, nil, 29, -44, -135, -112, -36, -121,
428
- -14 ]
442
+ nil, 22, 106, 105, 14, nil, nil, nil, 0, 96,
443
+ 68, -23, -81, 0, 29, -62, -124, -107, -122, 78,
444
+ -96, -6, nil, nil, nil, -42, -13, -115, -111, -57,
445
+ -88, -47, -46, -53, nil, nil, nil, nil, -104, -102,
446
+ -160, nil, -3, 70, nil, nil, nil, 27, -24, nil,
447
+ nil, nil, nil, nil, nil, 33, -46, -135, -26, -89,
448
+ -119, -11, -48 ]
429
449
 
430
450
  racc_goto_default = [
431
- nil, nil, nil, nil, nil, 5, 6, 7, 48, nil,
432
- nil, nil, 9, 134, nil, nil, nil, nil, nil, nil,
433
- nil, nil, 53, 54, 55, nil, 34, 49, 165, nil,
434
- nil, nil, nil, nil, 158, 159, 160, 161, nil, nil,
435
- nil, 75, 76, nil, 15, 16, nil, nil, 18, 19,
436
- 20, 21, 22, 23, nil, nil, 148, nil, nil, 135,
437
- nil ]
451
+ nil, nil, nil, nil, nil, 5, 6, 7, 50, nil,
452
+ nil, nil, 9, 140, nil, nil, nil, nil, nil, nil,
453
+ nil, nil, 55, 56, 57, nil, 36, 51, 173, nil,
454
+ nil, nil, nil, nil, 166, 167, 168, 169, nil, nil,
455
+ nil, 78, 79, nil, 15, 16, 17, nil, nil, 19,
456
+ 20, 21, 22, 23, 24, nil, nil, 154, nil, nil,
457
+ 141, nil, nil ]
438
458
 
439
459
  racc_reduce_table = [
440
460
  0, 0, :racc_error,
441
- 1, 35, :_reduce_none,
442
- 1, 36, :_reduce_2,
443
- 1, 37, :_reduce_3,
444
- 2, 37, :_reduce_4,
445
- 1, 38, :_reduce_none,
446
- 1, 38, :_reduce_none,
447
- 1, 38, :_reduce_none,
448
- 5, 39, :_reduce_8,
449
- 1, 39, :_reduce_9,
450
- 1, 42, :_reduce_none,
451
- 1, 42, :_reduce_none,
452
- 1, 42, :_reduce_none,
453
- 0, 43, :_reduce_13,
461
+ 1, 36, :_reduce_none,
462
+ 1, 37, :_reduce_2,
463
+ 1, 38, :_reduce_3,
464
+ 2, 38, :_reduce_4,
465
+ 1, 39, :_reduce_none,
466
+ 1, 39, :_reduce_none,
467
+ 1, 39, :_reduce_none,
468
+ 5, 40, :_reduce_8,
469
+ 1, 40, :_reduce_9,
454
470
  1, 43, :_reduce_none,
455
- 0, 44, :_reduce_15,
456
- 3, 44, :_reduce_16,
457
- 1, 48, :_reduce_17,
458
- 2, 48, :_reduce_18,
459
- 5, 49, :_reduce_19,
460
- 1, 50, :_reduce_20,
461
- 2, 50, :_reduce_21,
462
- 3, 50, :_reduce_22,
463
- 0, 51, :_reduce_23,
464
- 2, 51, :_reduce_24,
465
- 2, 46, :_reduce_25,
466
- 3, 46, :_reduce_26,
467
- 0, 54, :_reduce_27,
468
- 1, 54, :_reduce_28,
469
- 1, 53, :_reduce_29,
470
- 2, 53, :_reduce_30,
471
- 1, 55, :_reduce_none,
472
- 1, 55, :_reduce_none,
473
- 1, 55, :_reduce_none,
474
- 4, 56, :_reduce_34,
475
- 6, 56, :_reduce_35,
476
- 1, 47, :_reduce_none,
477
- 1, 47, :_reduce_none,
478
- 1, 61, :_reduce_none,
479
- 1, 61, :_reduce_none,
471
+ 1, 43, :_reduce_none,
472
+ 1, 43, :_reduce_none,
473
+ 0, 44, :_reduce_13,
474
+ 1, 44, :_reduce_none,
475
+ 0, 45, :_reduce_15,
476
+ 3, 45, :_reduce_16,
477
+ 1, 49, :_reduce_17,
478
+ 2, 49, :_reduce_18,
479
+ 5, 50, :_reduce_19,
480
+ 1, 51, :_reduce_20,
481
+ 2, 51, :_reduce_21,
482
+ 3, 51, :_reduce_22,
483
+ 0, 52, :_reduce_23,
484
+ 2, 52, :_reduce_24,
485
+ 2, 47, :_reduce_25,
486
+ 3, 47, :_reduce_26,
487
+ 0, 55, :_reduce_27,
488
+ 1, 55, :_reduce_28,
489
+ 1, 54, :_reduce_29,
490
+ 2, 54, :_reduce_30,
491
+ 1, 56, :_reduce_none,
492
+ 1, 56, :_reduce_none,
493
+ 1, 56, :_reduce_none,
494
+ 4, 57, :_reduce_34,
495
+ 6, 57, :_reduce_35,
496
+ 1, 48, :_reduce_none,
497
+ 1, 48, :_reduce_none,
498
+ 1, 62, :_reduce_none,
499
+ 1, 62, :_reduce_none,
500
+ 1, 62, :_reduce_none,
501
+ 1, 62, :_reduce_none,
502
+ 1, 62, :_reduce_none,
503
+ 1, 62, :_reduce_none,
504
+ 1, 62, :_reduce_none,
505
+ 1, 62, :_reduce_none,
480
506
  1, 61, :_reduce_none,
481
507
  1, 61, :_reduce_none,
482
508
  1, 61, :_reduce_none,
483
509
  1, 61, :_reduce_none,
484
510
  1, 61, :_reduce_none,
485
511
  1, 61, :_reduce_none,
486
- 1, 60, :_reduce_none,
487
- 1, 60, :_reduce_none,
488
- 1, 60, :_reduce_none,
489
- 1, 60, :_reduce_none,
490
- 1, 60, :_reduce_none,
491
- 1, 60, :_reduce_none,
492
- 1, 62, :_reduce_none,
493
- 1, 62, :_reduce_none,
494
- 1, 62, :_reduce_none,
495
- 1, 62, :_reduce_none,
496
- 1, 62, :_reduce_none,
497
- 1, 63, :_reduce_57,
498
- 2, 63, :_reduce_58,
499
- 2, 64, :_reduce_59,
500
- 1, 65, :_reduce_60,
501
- 2, 65, :_reduce_61,
502
- 0, 59, :_reduce_62,
503
- 2, 59, :_reduce_63,
504
- 3, 59, :_reduce_64,
505
- 1, 66, :_reduce_65,
506
- 2, 66, :_reduce_66,
507
- 3, 67, :_reduce_67,
508
- 1, 52, :_reduce_68,
509
- 1, 52, :_reduce_69,
510
- 1, 52, :_reduce_70,
511
- 1, 52, :_reduce_71,
512
- 1, 52, :_reduce_72,
513
- 1, 52, :_reduce_none,
514
- 1, 52, :_reduce_none,
515
- 1, 52, :_reduce_none,
516
- 1, 52, :_reduce_none,
517
- 2, 68, :_reduce_77,
518
- 2, 69, :_reduce_78,
519
- 3, 69, :_reduce_79,
520
- 1, 72, :_reduce_80,
521
- 2, 72, :_reduce_81,
522
- 2, 70, :_reduce_82,
523
- 3, 70, :_reduce_83,
524
- 1, 73, :_reduce_84,
525
- 2, 73, :_reduce_85,
526
- 3, 74, :_reduce_86,
527
- 1, 71, :_reduce_87,
528
- 0, 45, :_reduce_88,
529
- 1, 45, :_reduce_none,
530
- 1, 75, :_reduce_90,
531
- 2, 75, :_reduce_91,
532
- 3, 76, :_reduce_92,
533
- 3, 57, :_reduce_93,
534
- 5, 58, :_reduce_94,
535
- 3, 58, :_reduce_95,
536
- 6, 40, :_reduce_96,
537
- 0, 77, :_reduce_97,
538
- 1, 77, :_reduce_none,
539
- 1, 41, :_reduce_none,
540
- 1, 41, :_reduce_none,
541
- 4, 78, :_reduce_101,
512
+ 1, 63, :_reduce_none,
513
+ 1, 63, :_reduce_none,
514
+ 1, 63, :_reduce_none,
515
+ 1, 63, :_reduce_none,
516
+ 1, 63, :_reduce_none,
517
+ 1, 64, :_reduce_57,
518
+ 2, 64, :_reduce_58,
519
+ 2, 65, :_reduce_59,
520
+ 1, 66, :_reduce_60,
521
+ 2, 66, :_reduce_61,
522
+ 0, 60, :_reduce_62,
523
+ 2, 60, :_reduce_63,
524
+ 3, 60, :_reduce_64,
525
+ 1, 67, :_reduce_65,
526
+ 2, 67, :_reduce_66,
527
+ 3, 68, :_reduce_67,
528
+ 1, 53, :_reduce_68,
529
+ 1, 53, :_reduce_69,
530
+ 1, 53, :_reduce_70,
531
+ 1, 53, :_reduce_71,
532
+ 1, 53, :_reduce_72,
533
+ 1, 53, :_reduce_none,
534
+ 1, 53, :_reduce_none,
535
+ 1, 53, :_reduce_none,
536
+ 1, 53, :_reduce_none,
537
+ 2, 69, :_reduce_77,
538
+ 2, 70, :_reduce_78,
539
+ 3, 70, :_reduce_79,
540
+ 1, 73, :_reduce_80,
541
+ 2, 73, :_reduce_81,
542
+ 2, 71, :_reduce_82,
543
+ 3, 71, :_reduce_83,
544
+ 1, 74, :_reduce_84,
545
+ 2, 74, :_reduce_85,
546
+ 3, 75, :_reduce_86,
547
+ 1, 72, :_reduce_87,
548
+ 0, 46, :_reduce_88,
549
+ 1, 46, :_reduce_none,
550
+ 1, 76, :_reduce_90,
551
+ 2, 76, :_reduce_91,
552
+ 3, 77, :_reduce_92,
553
+ 3, 58, :_reduce_93,
554
+ 5, 59, :_reduce_94,
555
+ 3, 59, :_reduce_95,
556
+ 6, 41, :_reduce_96,
557
+ 0, 78, :_reduce_97,
558
+ 1, 78, :_reduce_none,
559
+ 1, 42, :_reduce_none,
560
+ 1, 42, :_reduce_none,
561
+ 1, 42, :_reduce_none,
562
+ 4, 79, :_reduce_102,
563
+ 1, 82, :_reduce_none,
564
+ 2, 82, :_reduce_104,
565
+ 3, 83, :_reduce_105,
566
+ 1, 80, :_reduce_none,
567
+ 1, 80, :_reduce_none,
568
+ 1, 80, :_reduce_none,
542
569
  1, 80, :_reduce_none,
543
- 2, 80, :_reduce_103,
544
- 3, 81, :_reduce_104,
545
- 1, 79, :_reduce_none,
546
- 1, 79, :_reduce_none,
547
- 1, 79, :_reduce_none,
548
- 1, 79, :_reduce_none,
549
- 1, 79, :_reduce_none,
550
- 1, 79, :_reduce_none,
551
- 3, 82, :_reduce_111,
552
- 7, 83, :_reduce_112,
553
- 0, 88, :_reduce_113,
554
- 2, 88, :_reduce_114,
555
- 5, 90, :_reduce_115,
556
- 1, 91, :_reduce_116,
557
- 2, 91, :_reduce_117,
558
- 0, 92, :_reduce_118,
559
- 3, 92, :_reduce_119,
560
- 5, 93, :_reduce_120,
561
- 1, 89, :_reduce_121,
562
- 2, 89, :_reduce_122,
563
- 6, 84, :_reduce_123,
564
- 1, 94, :_reduce_124,
565
- 3, 94, :_reduce_125,
566
- 5, 85, :_reduce_126,
567
- 6, 86, :_reduce_127,
568
- 6, 87, :_reduce_128 ]
569
-
570
- racc_reduce_n = 129
571
-
572
- racc_shift_n = 214
570
+ 1, 80, :_reduce_none,
571
+ 1, 80, :_reduce_none,
572
+ 3, 84, :_reduce_112,
573
+ 7, 85, :_reduce_113,
574
+ 0, 90, :_reduce_114,
575
+ 2, 90, :_reduce_115,
576
+ 5, 92, :_reduce_116,
577
+ 1, 93, :_reduce_117,
578
+ 2, 93, :_reduce_118,
579
+ 0, 94, :_reduce_119,
580
+ 3, 94, :_reduce_120,
581
+ 5, 95, :_reduce_121,
582
+ 1, 91, :_reduce_122,
583
+ 2, 91, :_reduce_123,
584
+ 6, 86, :_reduce_124,
585
+ 1, 96, :_reduce_125,
586
+ 3, 96, :_reduce_126,
587
+ 5, 87, :_reduce_127,
588
+ 6, 88, :_reduce_128,
589
+ 6, 89, :_reduce_129,
590
+ 6, 81, :_reduce_130,
591
+ 1, 97, :_reduce_131,
592
+ 3, 97, :_reduce_132 ]
593
+
594
+ racc_reduce_n = 133
595
+
596
+ racc_shift_n = 224
573
597
 
574
598
  racc_token_table = {
575
599
  false => 0,
@@ -577,16 +601,16 @@ racc_token_table = {
577
601
  :QUERY => 2,
578
602
  :MUTATION => 3,
579
603
  :SUBSCRIPTION => 4,
580
- :RPAREN => 5,
581
- :LPAREN => 6,
604
+ :LPAREN => 5,
605
+ :RPAREN => 6,
582
606
  :VAR_SIGN => 7,
583
607
  :COLON => 8,
584
608
  :BANG => 9,
585
- :RBRACKET => 10,
586
- :LBRACKET => 11,
609
+ :LBRACKET => 10,
610
+ :RBRACKET => 11,
587
611
  :EQUALS => 12,
588
- :RCURLY => 13,
589
- :LCURLY => 14,
612
+ :LCURLY => 13,
613
+ :RCURLY => 14,
590
614
  :ON => 15,
591
615
  :SCHEMA => 16,
592
616
  :SCALAR => 17,
@@ -605,9 +629,10 @@ racc_token_table = {
605
629
  :STRING => 30,
606
630
  :DIR_SIGN => 31,
607
631
  :ELLIPSIS => 32,
608
- :PIPE => 33 }
632
+ :PIPE => 33,
633
+ :DIRECTIVE => 34 }
609
634
 
610
- racc_nt_base = 34
635
+ racc_nt_base = 35
611
636
 
612
637
  racc_use_result_var = true
613
638
 
@@ -633,16 +658,16 @@ Racc_token_to_s_table = [
633
658
  "QUERY",
634
659
  "MUTATION",
635
660
  "SUBSCRIPTION",
636
- "RPAREN",
637
661
  "LPAREN",
662
+ "RPAREN",
638
663
  "VAR_SIGN",
639
664
  "COLON",
640
665
  "BANG",
641
- "RBRACKET",
642
666
  "LBRACKET",
667
+ "RBRACKET",
643
668
  "EQUALS",
644
- "RCURLY",
645
669
  "LCURLY",
670
+ "RCURLY",
646
671
  "ON",
647
672
  "SCHEMA",
648
673
  "SCALAR",
@@ -662,6 +687,7 @@ Racc_token_to_s_table = [
662
687
  "DIR_SIGN",
663
688
  "ELLIPSIS",
664
689
  "PIPE",
690
+ "DIRECTIVE",
665
691
  "$start",
666
692
  "target",
667
693
  "document",
@@ -708,6 +734,7 @@ Racc_token_to_s_table = [
708
734
  "fragment_name_opt",
709
735
  "schema_definition",
710
736
  "type_definition",
737
+ "directive_definition",
711
738
  "operation_type_definition_list",
712
739
  "operation_type_definition",
713
740
  "scalar_type_definition",
@@ -722,7 +749,8 @@ Racc_token_to_s_table = [
722
749
  "input_value_definition_list",
723
750
  "arguments_definitions_opt",
724
751
  "field_definition",
725
- "union_members" ]
752
+ "union_members",
753
+ "directive_locations" ]
726
754
 
727
755
  Racc_debug_parser = false
728
756
 
@@ -1291,31 +1319,31 @@ module_eval(<<'.,.,', 'parser.y', 245)
1291
1319
 
1292
1320
  # reduce 100 omitted
1293
1321
 
1294
- module_eval(<<'.,.,', 'parser.y', 253)
1295
- def _reduce_101(val, _values, result)
1322
+ # reduce 101 omitted
1323
+
1324
+ module_eval(<<'.,.,', 'parser.y', 254)
1325
+ def _reduce_102(val, _values, result)
1296
1326
  return make_node(:SchemaDefinition, val[2])
1297
1327
  result
1298
1328
  end
1299
1329
  .,.,
1300
1330
 
1301
- # reduce 102 omitted
1331
+ # reduce 103 omitted
1302
1332
 
1303
- module_eval(<<'.,.,', 'parser.y', 257)
1304
- def _reduce_103(val, _values, result)
1333
+ module_eval(<<'.,.,', 'parser.y', 258)
1334
+ def _reduce_104(val, _values, result)
1305
1335
  return val[0].merge(val[1])
1306
1336
  result
1307
1337
  end
1308
1338
  .,.,
1309
1339
 
1310
- module_eval(<<'.,.,', 'parser.y', 260)
1311
- def _reduce_104(val, _values, result)
1340
+ module_eval(<<'.,.,', 'parser.y', 261)
1341
+ def _reduce_105(val, _values, result)
1312
1342
  return { val[0].to_s.to_sym => val[2] }
1313
1343
  result
1314
1344
  end
1315
1345
  .,.,
1316
1346
 
1317
- # reduce 105 omitted
1318
-
1319
1347
  # reduce 106 omitted
1320
1348
 
1321
1349
  # reduce 107 omitted
@@ -1326,139 +1354,163 @@ module_eval(<<'.,.,', 'parser.y', 260)
1326
1354
 
1327
1355
  # reduce 110 omitted
1328
1356
 
1329
- module_eval(<<'.,.,', 'parser.y', 270)
1330
- def _reduce_111(val, _values, result)
1357
+ # reduce 111 omitted
1358
+
1359
+ module_eval(<<'.,.,', 'parser.y', 271)
1360
+ def _reduce_112(val, _values, result)
1331
1361
  return make_node(:ScalarTypeDefinition, name: val[1], directives: val[2])
1332
1362
  result
1333
1363
  end
1334
1364
  .,.,
1335
1365
 
1336
- module_eval(<<'.,.,', 'parser.y', 274)
1337
- def _reduce_112(val, _values, result)
1366
+ module_eval(<<'.,.,', 'parser.y', 275)
1367
+ def _reduce_113(val, _values, result)
1338
1368
  return make_node(:ObjectTypeDefinition, name: val[1], interfaces: val[2], directives: val[3], fields: val[5])
1339
1369
 
1340
1370
  result
1341
1371
  end
1342
1372
  .,.,
1343
1373
 
1344
- module_eval(<<'.,.,', 'parser.y', 278)
1345
- def _reduce_113(val, _values, result)
1374
+ module_eval(<<'.,.,', 'parser.y', 279)
1375
+ def _reduce_114(val, _values, result)
1346
1376
  return []
1347
1377
  result
1348
1378
  end
1349
1379
  .,.,
1350
1380
 
1351
- module_eval(<<'.,.,', 'parser.y', 279)
1352
- def _reduce_114(val, _values, result)
1381
+ module_eval(<<'.,.,', 'parser.y', 280)
1382
+ def _reduce_115(val, _values, result)
1353
1383
  return val[1]
1354
1384
  result
1355
1385
  end
1356
1386
  .,.,
1357
1387
 
1358
- module_eval(<<'.,.,', 'parser.y', 283)
1359
- def _reduce_115(val, _values, result)
1388
+ module_eval(<<'.,.,', 'parser.y', 284)
1389
+ def _reduce_116(val, _values, result)
1360
1390
  return make_node(:InputValueDefinition, name: val[0], type: val[2], default_value: val[3], directives: val[4])
1361
1391
 
1362
1392
  result
1363
1393
  end
1364
1394
  .,.,
1365
1395
 
1366
- module_eval(<<'.,.,', 'parser.y', 287)
1367
- def _reduce_116(val, _values, result)
1396
+ module_eval(<<'.,.,', 'parser.y', 288)
1397
+ def _reduce_117(val, _values, result)
1368
1398
  return [val[0]]
1369
1399
  result
1370
1400
  end
1371
1401
  .,.,
1372
1402
 
1373
- module_eval(<<'.,.,', 'parser.y', 288)
1374
- def _reduce_117(val, _values, result)
1403
+ module_eval(<<'.,.,', 'parser.y', 289)
1404
+ def _reduce_118(val, _values, result)
1375
1405
  val[0] << val[1]
1376
1406
  result
1377
1407
  end
1378
1408
  .,.,
1379
1409
 
1380
- module_eval(<<'.,.,', 'parser.y', 291)
1381
- def _reduce_118(val, _values, result)
1410
+ module_eval(<<'.,.,', 'parser.y', 292)
1411
+ def _reduce_119(val, _values, result)
1382
1412
  return []
1383
1413
  result
1384
1414
  end
1385
1415
  .,.,
1386
1416
 
1387
- module_eval(<<'.,.,', 'parser.y', 292)
1388
- def _reduce_119(val, _values, result)
1417
+ module_eval(<<'.,.,', 'parser.y', 293)
1418
+ def _reduce_120(val, _values, result)
1389
1419
  return val[1]
1390
1420
  result
1391
1421
  end
1392
1422
  .,.,
1393
1423
 
1394
- module_eval(<<'.,.,', 'parser.y', 296)
1395
- def _reduce_120(val, _values, result)
1424
+ module_eval(<<'.,.,', 'parser.y', 297)
1425
+ def _reduce_121(val, _values, result)
1396
1426
  return make_node(:FieldDefinition, name: val[0], arguments: val[1], type: val[3], directives: val[4])
1397
1427
 
1398
1428
  result
1399
1429
  end
1400
1430
  .,.,
1401
1431
 
1402
- module_eval(<<'.,.,', 'parser.y', 300)
1403
- def _reduce_121(val, _values, result)
1432
+ module_eval(<<'.,.,', 'parser.y', 301)
1433
+ def _reduce_122(val, _values, result)
1404
1434
  return [val[0]]
1405
1435
  result
1406
1436
  end
1407
1437
  .,.,
1408
1438
 
1409
- module_eval(<<'.,.,', 'parser.y', 301)
1410
- def _reduce_122(val, _values, result)
1439
+ module_eval(<<'.,.,', 'parser.y', 302)
1440
+ def _reduce_123(val, _values, result)
1411
1441
  val[0] << val[1]
1412
1442
  result
1413
1443
  end
1414
1444
  .,.,
1415
1445
 
1416
- module_eval(<<'.,.,', 'parser.y', 305)
1417
- def _reduce_123(val, _values, result)
1446
+ module_eval(<<'.,.,', 'parser.y', 306)
1447
+ def _reduce_124(val, _values, result)
1418
1448
  return make_node(:InterfaceTypeDefinition, name: val[1], directives: val[2], fields: val[4])
1419
1449
 
1420
1450
  result
1421
1451
  end
1422
1452
  .,.,
1423
1453
 
1424
- module_eval(<<'.,.,', 'parser.y', 309)
1425
- def _reduce_124(val, _values, result)
1454
+ module_eval(<<'.,.,', 'parser.y', 310)
1455
+ def _reduce_125(val, _values, result)
1426
1456
  return [val[0].to_s]
1427
1457
  result
1428
1458
  end
1429
1459
  .,.,
1430
1460
 
1431
- module_eval(<<'.,.,', 'parser.y', 310)
1432
- def _reduce_125(val, _values, result)
1461
+ module_eval(<<'.,.,', 'parser.y', 311)
1462
+ def _reduce_126(val, _values, result)
1433
1463
  val[0] << val[2].to_s
1434
1464
  result
1435
1465
  end
1436
1466
  .,.,
1437
1467
 
1438
- module_eval(<<'.,.,', 'parser.y', 314)
1439
- def _reduce_126(val, _values, result)
1468
+ module_eval(<<'.,.,', 'parser.y', 315)
1469
+ def _reduce_127(val, _values, result)
1440
1470
  return make_node(:UnionTypeDefinition, name: val[1], directives: val[2], types: val[4])
1441
1471
 
1442
1472
  result
1443
1473
  end
1444
1474
  .,.,
1445
1475
 
1446
- module_eval(<<'.,.,', 'parser.y', 319)
1447
- def _reduce_127(val, _values, result)
1476
+ module_eval(<<'.,.,', 'parser.y', 320)
1477
+ def _reduce_128(val, _values, result)
1448
1478
  return make_node(:EnumTypeDefinition, name: val[1], directives: val[2], values: val[4])
1449
1479
 
1450
1480
  result
1451
1481
  end
1452
1482
  .,.,
1453
1483
 
1454
- module_eval(<<'.,.,', 'parser.y', 324)
1455
- def _reduce_128(val, _values, result)
1484
+ module_eval(<<'.,.,', 'parser.y', 325)
1485
+ def _reduce_129(val, _values, result)
1456
1486
  return make_node(:InputObjectTypeDefinition, name: val[1], directives: val[2], fields: val[4])
1457
1487
 
1458
1488
  result
1459
1489
  end
1460
1490
  .,.,
1461
1491
 
1492
+ module_eval(<<'.,.,', 'parser.y', 330)
1493
+ def _reduce_130(val, _values, result)
1494
+ return make_node(:DirectiveDefinition, name: val[2], arguments: val[3], locations: val[5])
1495
+
1496
+ result
1497
+ end
1498
+ .,.,
1499
+
1500
+ module_eval(<<'.,.,', 'parser.y', 334)
1501
+ def _reduce_131(val, _values, result)
1502
+ return [val[0].to_s]
1503
+ result
1504
+ end
1505
+ .,.,
1506
+
1507
+ module_eval(<<'.,.,', 'parser.y', 335)
1508
+ def _reduce_132(val, _values, result)
1509
+ val[0] << val[2].to_s
1510
+ result
1511
+ end
1512
+ .,.,
1513
+
1462
1514
  def _reduce_none(val, _values, result)
1463
1515
  val[0]
1464
1516
  end