# # DO NOT MODIFY!!!! # This file is automatically generated by Racc 1.4.14 # from Racc grammer file "". # require 'racc/parser.rb' module GraphQL module Language class Parser < Racc::Parser module_eval(<<'...end parser.y/module_eval...', 'parser.y', 426) def initialize(query_string, filename:, tracer: Tracing::NullTracer) @query_string = query_string @filename = filename @tracer = tracer end def parse_document @document ||= begin # Break the string into tokens @tracer.trace("lex", {query_string: @query_string}) do @tokens ||= GraphQL.scan(@query_string) end # From the tokens, build an AST @tracer.trace("parse", {query_string: @query_string}) do if @tokens.none? make_node(:Document, definitions: [], filename: @filename) else do_parse end end end end def self.parse(query_string, filename: nil, tracer: GraphQL::Tracing::NullTracer) self.new(query_string, filename: filename, tracer: tracer).parse_document end private def next_token lexer_token = @tokens.shift if lexer_token.nil? nil else [lexer_token.name, lexer_token] end end def get_description(token) comments = [] loop do prev_token = token token = token.prev_token break if token.nil? break if token.name != :COMMENT break if prev_token.line != token.line + 1 comments.unshift(token.to_s.sub(/^#\s*/, "")) end return nil if comments.empty? comments.join("\n") end def on_error(parser_token_id, lexer_token, vstack) if lexer_token == "$" || lexer_token == nil raise GraphQL::ParseError.new("Unexpected end of document", nil, nil, @query_string, filename: @filename) else parser_token_name = token_to_str(parser_token_id) if parser_token_name.nil? 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) else line, col = lexer_token.line_and_column if lexer_token.name == :BAD_UNICODE_ESCAPE raise GraphQL::ParseError.new("Parse error on bad Unicode escape sequence: #{lexer_token.to_s.inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename) else raise GraphQL::ParseError.new("Parse error on #{lexer_token.to_s.inspect} (#{parser_token_name}) at [#{line}, #{col}]", line, col, @query_string, filename: @filename) end end end end def make_node(node_name, assigns) assigns.each do |key, value| if key != :position_source && value.is_a?(GraphQL::Language::Token) assigns[key] = value.to_s end end assigns[:filename] = @filename GraphQL::Language::Nodes.const_get(node_name).new(assigns) end ...end parser.y/module_eval... ##### State transition tables begin ### racc_action_table = [ 11, -100, 12, 13, 14, -100, 177, 177, 177, -100, 177, 75, -100, 286, 19, 35, 36, 42, 37, 38, 39, 40, 41, 11, 15, 12, 13, 14, 75, 75, 75, 75, 75, 28, 168, 126, 75, 19, 35, 36, 75, 37, 38, 39, 40, 41, 186, 15, 12, 13, 14, -100, -100, 75, 177, 98, 28, 286, 97, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 238, 12, 13, 14, -149, 90, 177, 157, 237, 75, 75, 91, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 12, 13, 14, 93, 70, 182, 12, 13, 14, 102, 75, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 94, 12, 13, 14, 105, 70, 241, 12, 13, 14, 75, 75, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 234, 117, 12, 13, 14, 70, 75, 232, 75, 75, 233, 266, 75, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 234, 75, 12, 13, 14, 126, 75, 232, 75, 137, 233, 98, 144, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 301, 75, 12, 13, 14, 12, 13, 14, 117, 75, 233, 75, 75, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 234, 75, 12, 13, 14, 75, 161, 232, 162, 163, 233, 164, 165, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 234, 137, 12, 13, 14, 137, 98, 232, 176, 184, 233, 75, 75, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 301, 189, 12, 13, 14, 12, 13, 14, 190, 191, 233, 192, 193, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 12, 13, 14, 77, 78, 79, 196, 80, 81, 82, 83, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 234, 215, 12, 13, 14, 70, 216, 232, 137, 137, 233, 287, 243, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 222, 223, 219, 220, 221, 231, 12, 13, 14, 196, 165, 253, 75, 257, 137, 253, 281, 100, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 293, 12, 13, 14, 75, 284, 292, 302, 305, 75, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 296, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 252, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 269, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 275, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 259, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 308, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 277, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 279, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 280, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 289, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, nil, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, 174, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, 129, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, 260, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 12, 13, 14, nil, nil, nil, nil, nil, 136, nil, nil, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 256, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 278, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, 12, 13, 14, nil, nil, nil, nil, nil, nil, nil, nil, 205, 48, 49, 50, 51, 52, 53, 54, 55, 56, 203, 204, -155, nil, nil, nil, -155, nil, nil, nil, nil, nil, -155, nil, -155, -155 ] racc_action_check = [ 3, 152, 3, 3, 3, 187, 135, 297, 139, 148, 283, 173, 150, 283, 3, 3, 3, 1, 3, 3, 3, 3, 3, 0, 3, 0, 0, 0, 135, 297, 139, 150, 152, 3, 124, 124, 187, 0, 0, 0, 148, 0, 0, 0, 0, 0, 146, 0, 117, 117, 117, 106, 154, 19, 263, 69, 0, 263, 69, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 180, 180, 180, 180, 146, 41, 179, 117, 179, 106, 154, 42, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 11, 11, 11, 11, 44, 180, 141, 141, 141, 141, 71, 73, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 63, 63, 63, 63, 76, 11, 185, 185, 185, 185, 77, 84, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 233, 85, 233, 233, 233, 63, 86, 233, 87, 88, 233, 233, 89, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, 292, 92, 292, 292, 292, 93, 96, 292, 99, 101, 292, 104, 107, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, 286, 108, 286, 286, 286, 105, 105, 105, 109, 110, 286, 111, 112, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 302, 113, 302, 302, 302, 115, 118, 302, 119, 120, 302, 121, 122, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 302, 176, 123, 176, 176, 176, 127, 128, 176, 132, 143, 176, 145, 147, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 305, 149, 305, 305, 305, 144, 144, 144, 151, 153, 305, 155, 156, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, 137, 137, 137, 28, 28, 28, 158, 28, 28, 28, 28, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 267, 166, 267, 267, 267, 137, 170, 267, 178, 181, 267, 267, 188, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, 70, 70, 70, 194, 198, 202, 208, 211, 217, 245, 250, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 273, 273, 273, 273, 70, 261, 272, 291, 295, 298, nil, nil, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 276, 276, 276, 276, nil, nil, nil, nil, nil, nil, nil, nil, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 276, 200, 200, 200, 200, nil, nil, nil, nil, nil, nil, nil, nil, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 234, 234, 234, 234, nil, nil, nil, nil, nil, nil, nil, nil, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 234, 242, 242, 242, 242, nil, nil, nil, nil, nil, nil, nil, nil, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 213, 213, 213, 213, nil, nil, nil, nil, nil, nil, nil, nil, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 213, 301, 301, 301, 301, nil, nil, nil, nil, nil, nil, nil, nil, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, 244, 244, 244, 244, nil, nil, nil, nil, nil, nil, nil, nil, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, 247, 247, 247, 247, nil, nil, nil, nil, nil, nil, nil, nil, 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, 247, 248, 248, 248, 248, nil, nil, nil, nil, nil, nil, nil, nil, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 270, 270, 270, 270, nil, nil, nil, nil, nil, nil, nil, nil, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 270, 39, 39, 39, nil, nil, nil, nil, nil, nil, nil, nil, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 281, 281, 281, nil, nil, nil, nil, nil, 281, nil, nil, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 102, 102, 102, nil, nil, nil, nil, nil, 102, nil, nil, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, 284, 284, 284, nil, nil, nil, nil, nil, nil, nil, nil, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 40, 40, 40, nil, nil, nil, nil, nil, nil, nil, nil, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 10, 10, 10, nil, nil, nil, nil, nil, nil, nil, nil, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 165, 165, 165, nil, nil, nil, nil, nil, nil, nil, nil, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 165, 126, 126, 126, nil, nil, nil, nil, nil, nil, nil, nil, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, 90, 90, 90, nil, nil, nil, nil, nil, nil, nil, nil, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 15, 15, 15, nil, nil, nil, nil, nil, nil, nil, nil, nil, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 162, 162, 162, nil, nil, nil, nil, nil, nil, nil, nil, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 136, 136, 136, nil, nil, nil, nil, nil, 136, nil, nil, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 136, 130, 130, 130, nil, 130, nil, nil, nil, nil, nil, nil, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, 97, 97, 97, nil, nil, nil, nil, nil, nil, nil, nil, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 98, 98, 98, nil, 98, nil, nil, nil, nil, nil, nil, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 75, 75, 75, nil, nil, nil, nil, nil, nil, nil, nil, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 161, 161, 161, nil, nil, nil, nil, nil, nil, nil, nil, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 161, 35, 35, 35, nil, nil, nil, nil, nil, nil, nil, nil, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 184, 184, 184, nil, nil, nil, nil, nil, nil, nil, nil, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 159, 159, 159, nil, nil, nil, nil, nil, nil, nil, nil, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 186, 186, 186, nil, nil, nil, nil, nil, nil, nil, nil, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 36, 36, 36, nil, nil, nil, nil, nil, nil, nil, nil, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 189, 189, 189, nil, nil, nil, nil, nil, nil, nil, nil, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 190, 190, 190, nil, nil, nil, nil, nil, nil, nil, nil, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 164, 164, 164, nil, nil, nil, nil, nil, nil, nil, nil, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 192, 192, 192, nil, nil, nil, nil, nil, nil, nil, nil, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 193, 193, 193, nil, nil, nil, nil, nil, nil, nil, nil, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 78, 78, 78, nil, nil, nil, nil, nil, nil, nil, nil, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, 196, 196, 196, nil, nil, nil, nil, nil, nil, nil, nil, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 79, 79, 79, nil, nil, nil, nil, nil, nil, nil, nil, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 80, 80, 80, nil, nil, nil, nil, nil, nil, nil, nil, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 81, 81, 81, nil, nil, nil, nil, nil, nil, nil, nil, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, 82, 82, 82, nil, nil, nil, nil, nil, nil, nil, nil, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, 214, 214, 214, nil, 214, nil, nil, nil, nil, nil, nil, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 215, 215, 215, nil, nil, nil, nil, nil, nil, nil, nil, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 216, 216, 216, nil, nil, nil, nil, nil, 216, nil, nil, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 232, 232, 232, nil, nil, nil, nil, nil, nil, nil, nil, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 243, 243, 243, nil, nil, nil, nil, nil, nil, nil, nil, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, 83, 83, 83, nil, nil, nil, nil, nil, nil, nil, nil, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 37, 37, 37, nil, nil, nil, nil, nil, nil, nil, nil, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 253, 253, 253, nil, nil, nil, nil, nil, nil, nil, nil, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 257, 257, 257, nil, nil, nil, nil, nil, 257, nil, nil, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 257, 38, 38, 38, nil, nil, nil, nil, nil, nil, nil, nil, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 157, 157, 157, nil, nil, nil, nil, nil, nil, nil, nil, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 100, 100, 100, nil, nil, nil, nil, nil, 100, nil, nil, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 210, 210, 210, 210, nil, nil, nil, nil, nil, nil, nil, nil, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 246, 246, 246, 246, nil, nil, nil, nil, nil, nil, nil, nil, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, 191, 191, 191, nil, nil, nil, nil, nil, nil, nil, nil, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 163, 163, 163, nil, nil, nil, nil, nil, nil, nil, nil, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 160, nil, nil, nil, 160, nil, nil, nil, nil, nil, 160, nil, 160, 160 ] racc_action_pointer = [ 21, 17, nil, -2, nil, nil, nil, nil, nil, nil, 825, 96, nil, nil, nil, 925, nil, nil, nil, 20, nil, nil, nil, nil, nil, nil, nil, nil, 324, nil, nil, nil, nil, nil, nil, 1125, 1225, 1675, 1750, 700, 800, 45, 84, nil, 96, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 122, nil, nil, nil, nil, nil, 48, 389, 94, nil, 77, nil, 1075, 127, 102, 1375, 1425, 1450, 1475, 1500, 1650, 103, 133, 124, 126, 127, 130, 900, nil, 150, 178, nil, nil, 155, 1025, 1050, 157, 1800, 189, 750, nil, 186, 214, 49, 192, 181, 202, 189, 191, 192, 212, nil, 216, nil, 44, 248, 238, 251, 253, 249, 274, 26, nil, 875, 278, 274, nil, 1000, nil, 273, nil, nil, -5, 975, 333, nil, -3, nil, 102, nil, 274, 307, 253, 44, 254, 7, 305, -2, 300, -1, 313, 50, 315, 316, 1775, 307, 1175, 1908, 1100, 950, 1896, 1300, 850, 348, nil, nil, nil, 358, nil, nil, -22, nil, nil, 273, nil, 368, 68, 70, 369, nil, nil, 1150, 128, 1200, 3, 372, 1250, 1275, 1873, 1325, 1350, 360, nil, 1400, nil, 390, nil, 467, nil, 361, nil, nil, nil, nil, nil, 366, nil, 1826, 390, nil, 545, 1525, 1550, 1575, 399, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 1600, 149, 493, nil, nil, nil, nil, nil, nil, nil, 519, 1625, 597, 365, 1850, 623, 649, nil, 393, nil, nil, 1700, nil, nil, nil, 1725, nil, nil, nil, 386, nil, 43, nil, nil, nil, 360, nil, nil, 675, nil, 414, 415, nil, nil, 441, nil, nil, nil, nil, 725, nil, -1, 775, nil, 211, nil, nil, nil, nil, 415, 180, nil, nil, 416, nil, -4, 394, nil, nil, 571, 242, nil, nil, 304, nil, nil, nil, nil ] racc_action_default = [ -175, -175, -1, -2, -3, -5, -6, -7, -8, -9, -16, -175, -13, -14, -15, -108, -110, -111, -112, -99, -117, -118, -119, -120, -121, -122, -123, -124, -175, -127, -128, -129, -130, -131, -132, -175, -175, -175, -175, -175, -175, -175, -175, -4, -18, -17, -38, -39, -40, -41, -42, -43, -44, -45, -46, -47, -48, -49, -50, -51, -52, -53, -54, -175, -12, -31, -33, -34, -35, -63, -99, -175, -109, -100, -101, -175, -175, -99, -175, -175, -175, -175, -175, -175, -99, -148, -99, -99, -99, -99, -175, 310, -99, -175, -11, -32, -99, -175, -175, -99, -175, -175, -175, -102, -63, -175, -126, -175, -175, -148, -99, -99, -99, -99, -146, -99, -149, -175, -175, -175, -175, -175, -160, -175, -175, -20, -175, -29, -63, -64, -175, -66, -175, -104, -23, -99, -175, -175, -106, -99, -103, -175, -114, -175, -175, -133, -137, -99, -139, -175, -141, -175, -143, -175, -145, -175, -175, -175, -151, -152, -153, -163, -175, -175, -175, -175, -175, -10, -19, -21, -175, -30, -36, -99, -65, -67, -78, -24, -175, -175, -175, -175, -113, -115, -175, -175, -163, -136, -175, -163, -175, -175, -175, -163, -150, -153, -175, -156, -160, -164, -175, -167, -169, -55, -56, -57, -58, -59, -99, -61, -175, -175, -158, -175, -175, -175, -175, -29, -68, -69, -70, -71, -72, -73, -74, -75, -76, -77, -79, -80, -81, -82, -175, -175, -175, -98, -105, -25, -28, -107, -116, -125, -175, -163, -175, -140, -175, -175, -175, -154, -175, -165, -166, -175, -60, -62, -170, -175, -159, -171, -161, -172, -173, -26, -37, -83, -84, -175, -86, -88, -175, -90, -175, -175, -95, -134, -175, -138, -142, -144, -147, -175, -168, -26, -175, -22, -175, -85, -87, -89, -91, -175, -78, -94, -96, -175, -135, -99, -99, -174, -27, -175, -78, -79, -92, -175, -162, -157, -93, -97 ] racc_goto_table = [ 10, 63, 95, 10, 218, 183, 141, 96, 271, 166, 45, 69, 135, 172, 139, 210, 72, 255, 208, 76, 131, 285, 200, 4, 106, 125, 43, 158, 130, 138, 258, 258, 1, 261, 202, 84, 85, 86, 87, 88, 89, 298, 140, 246, 290, 185, 208, 242, 179, 183, 244, 167, 175, 255, 248, 145, 169, 148, 150, 152, 154, 268, 245, 69, 258, 208, 173, 194, 124, 116, 101, 99, 251, 92, 103, 104, 44, 107, 108, 109, 110, 111, 112, 113, 114, 250, 118, 119, 120, 121, 122, 159, 123, 146, 187, 288, 127, 128, 132, 133, 134, 208, 134, 264, 276, 143, 236, 103, 115, 239, 149, 151, 153, 155, 251, 156, 251, 160, 3, 95, 251, 2, 213, 214, 270, 294, 170, 180, 263, 267, 132, 71, 147, nil, nil, 178, 134, 69, nil, 181, nil, 143, nil, nil, 143, nil, 103, 188, 251, 103, 247, 103, 300, 103, 207, 103, nil, 195, 303, 197, nil, nil, 201, 206, 211, 211, nil, 207, nil, 283, nil, 309, nil, 217, nil, nil, 206, nil, nil, nil, 69, nil, 207, nil, 240, 143, nil, nil, 103, nil, 201, 206, 211, 297, nil, nil, 249, nil, nil, nil, nil, 207, nil, nil, nil, nil, nil, nil, 254, nil, 206, nil, nil, 211, 211, 262, 134, nil, nil, nil, nil, nil, nil, nil, 207, nil, nil, nil, nil, nil, nil, nil, 265, 206, 272, nil, nil, 207, nil, nil, nil, nil, nil, nil, nil, nil, 206, 211, nil, nil, nil, nil, nil, 282, nil, nil, nil, 134, 207, nil, nil, nil, nil, nil, nil, nil, nil, 206, nil, nil, 291, nil, nil, 295, nil, nil, nil, 207, nil, nil, nil, 134, nil, 207, 299, nil, 206, nil, nil, nil, nil, nil, 206, 207, nil, nil, 207, 306, 307, nil, nil, 295, 206, nil, nil, 206 ] racc_goto_check = [ 10, 15, 23, 10, 35, 54, 53, 27, 44, 77, 16, 16, 19, 22, 19, 32, 28, 31, 30, 13, 34, 20, 70, 4, 47, 18, 4, 74, 33, 14, 76, 76, 1, 79, 72, 16, 16, 16, 16, 16, 16, 20, 27, 32, 44, 53, 30, 70, 19, 54, 70, 14, 34, 31, 70, 47, 18, 47, 47, 47, 47, 35, 72, 16, 76, 30, 27, 74, 17, 69, 13, 28, 78, 12, 48, 16, 11, 13, 16, 16, 16, 16, 16, 16, 13, 77, 13, 13, 13, 13, 16, 75, 13, 69, 47, 35, 13, 16, 16, 13, 16, 30, 16, 22, 70, 10, 14, 48, 71, 14, 13, 13, 13, 13, 78, 13, 78, 16, 3, 23, 78, 2, 73, 73, 43, 46, 16, 15, 19, 42, 16, 49, 71, nil, nil, 13, 16, 16, nil, 13, nil, 10, nil, nil, 10, nil, 48, 13, 78, 48, 73, 48, 21, 48, 29, 48, nil, 16, 21, 16, nil, nil, 16, 10, 16, 16, nil, 29, nil, 19, nil, 21, nil, 13, nil, nil, 10, nil, nil, nil, 16, nil, 29, nil, 16, 10, nil, nil, 48, nil, 16, 10, 16, 19, nil, nil, 16, nil, nil, nil, nil, 29, nil, nil, nil, nil, nil, nil, 13, nil, 10, nil, nil, 16, 16, 16, 16, nil, nil, nil, nil, nil, nil, nil, 29, nil, nil, nil, nil, nil, nil, nil, 16, 10, 16, nil, nil, 29, nil, nil, nil, nil, nil, nil, nil, nil, 10, 16, nil, nil, nil, nil, nil, 16, nil, nil, nil, 16, 29, nil, nil, nil, nil, nil, nil, nil, nil, 10, nil, nil, 16, nil, nil, 16, nil, nil, nil, 29, nil, nil, nil, 16, nil, 29, 16, nil, 10, nil, nil, nil, nil, nil, 10, 29, nil, nil, 29, 13, 13, nil, nil, 16, 10, nil, nil, 10 ] racc_goto_pointer = [ nil, 32, 121, 118, 23, nil, nil, nil, nil, nil, 0, 66, 29, 0, -72, -10, 0, -25, -68, -88, -242, -134, -114, -61, nil, nil, nil, -62, 1, -9, -145, -193, -148, -70, -78, -172, nil, nil, nil, nil, nil, nil, -104, -110, -226, nil, -148, -53, 1, 116, nil, nil, nil, -99, -136, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, -16, -139, 23, -128, -42, -90, -26, -183, -113, -128, -182 ] racc_goto_default = [ nil, nil, nil, nil, nil, 5, 6, 7, 8, 9, 61, nil, nil, nil, 171, nil, 198, nil, nil, nil, nil, 228, nil, 65, 66, 67, 68, nil, 46, 62, 235, 209, nil, nil, nil, 304, 224, 225, 226, 227, 229, 230, nil, nil, nil, 273, 274, 73, 74, nil, 16, 17, 18, nil, 142, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, nil, nil, nil, nil, nil, nil, nil, 212, nil, 199, nil ] racc_reduce_table = [ 0, 0, :racc_error, 1, 39, :_reduce_none, 1, 40, :_reduce_2, 1, 41, :_reduce_3, 2, 41, :_reduce_4, 1, 42, :_reduce_none, 1, 42, :_reduce_none, 1, 42, :_reduce_none, 1, 43, :_reduce_none, 1, 43, :_reduce_none, 5, 46, :_reduce_10, 3, 46, :_reduce_11, 2, 46, :_reduce_12, 1, 48, :_reduce_none, 1, 48, :_reduce_none, 1, 48, :_reduce_none, 0, 49, :_reduce_16, 1, 49, :_reduce_none, 0, 50, :_reduce_18, 3, 50, :_reduce_19, 1, 55, :_reduce_20, 2, 55, :_reduce_21, 5, 56, :_reduce_22, 1, 57, :_reduce_23, 2, 57, :_reduce_24, 3, 57, :_reduce_25, 0, 58, :_reduce_26, 2, 58, :_reduce_27, 3, 52, :_reduce_28, 0, 60, :_reduce_29, 1, 60, :_reduce_30, 1, 53, :_reduce_31, 2, 53, :_reduce_32, 1, 61, :_reduce_none, 1, 61, :_reduce_none, 1, 61, :_reduce_none, 4, 62, :_reduce_36, 6, 62, :_reduce_37, 1, 54, :_reduce_none, 1, 54, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 67, :_reduce_none, 1, 66, :_reduce_none, 1, 66, :_reduce_none, 1, 66, :_reduce_none, 1, 66, :_reduce_none, 1, 66, :_reduce_none, 1, 66, :_reduce_none, 1, 68, :_reduce_none, 1, 68, :_reduce_none, 1, 68, :_reduce_none, 1, 68, :_reduce_none, 1, 68, :_reduce_none, 2, 69, :_reduce_60, 1, 70, :_reduce_61, 2, 70, :_reduce_62, 0, 65, :_reduce_63, 2, 65, :_reduce_64, 3, 65, :_reduce_65, 1, 71, :_reduce_66, 2, 71, :_reduce_67, 3, 72, :_reduce_68, 1, 59, :_reduce_69, 1, 59, :_reduce_70, 1, 59, :_reduce_71, 1, 59, :_reduce_72, 1, 59, :_reduce_73, 1, 59, :_reduce_none, 1, 59, :_reduce_none, 1, 59, :_reduce_none, 1, 59, :_reduce_none, 0, 73, :_reduce_none, 1, 73, :_reduce_none, 1, 73, :_reduce_none, 1, 73, :_reduce_none, 1, 74, :_reduce_82, 2, 78, :_reduce_83, 2, 76, :_reduce_84, 3, 76, :_reduce_85, 1, 80, :_reduce_86, 2, 80, :_reduce_87, 2, 79, :_reduce_88, 3, 79, :_reduce_89, 1, 81, :_reduce_90, 2, 81, :_reduce_91, 3, 82, :_reduce_92, 2, 77, :_reduce_93, 3, 77, :_reduce_94, 1, 83, :_reduce_95, 2, 83, :_reduce_96, 3, 84, :_reduce_97, 1, 75, :_reduce_98, 0, 51, :_reduce_99, 1, 51, :_reduce_none, 1, 85, :_reduce_101, 2, 85, :_reduce_102, 3, 86, :_reduce_103, 3, 63, :_reduce_104, 5, 64, :_reduce_105, 3, 64, :_reduce_106, 6, 47, :_reduce_107, 0, 87, :_reduce_108, 1, 87, :_reduce_none, 1, 44, :_reduce_none, 1, 44, :_reduce_none, 1, 44, :_reduce_none, 5, 88, :_reduce_113, 1, 91, :_reduce_none, 2, 91, :_reduce_115, 3, 92, :_reduce_116, 1, 89, :_reduce_none, 1, 89, :_reduce_none, 1, 89, :_reduce_none, 1, 89, :_reduce_none, 1, 89, :_reduce_none, 1, 89, :_reduce_none, 1, 45, :_reduce_none, 1, 45, :_reduce_none, 6, 99, :_reduce_125, 3, 99, :_reduce_126, 1, 100, :_reduce_none, 1, 100, :_reduce_none, 1, 100, :_reduce_none, 1, 100, :_reduce_none, 1, 100, :_reduce_none, 1, 100, :_reduce_none, 4, 101, :_reduce_133, 7, 102, :_reduce_134, 8, 102, :_reduce_135, 5, 102, :_reduce_136, 4, 102, :_reduce_137, 7, 103, :_reduce_138, 4, 103, :_reduce_139, 6, 104, :_reduce_140, 4, 104, :_reduce_141, 7, 105, :_reduce_142, 4, 105, :_reduce_143, 7, 106, :_reduce_144, 4, 106, :_reduce_145, 3, 93, :_reduce_146, 7, 94, :_reduce_147, 0, 109, :_reduce_148, 1, 109, :_reduce_none, 3, 107, :_reduce_150, 2, 107, :_reduce_151, 2, 107, :_reduce_152, 1, 112, :_reduce_153, 3, 112, :_reduce_154, 1, 113, :_reduce_155, 2, 113, :_reduce_156, 5, 114, :_reduce_157, 1, 111, :_reduce_158, 2, 111, :_reduce_159, 0, 115, :_reduce_160, 3, 115, :_reduce_161, 5, 116, :_reduce_162, 0, 108, :_reduce_163, 1, 108, :_reduce_164, 2, 108, :_reduce_165, 6, 95, :_reduce_166, 1, 110, :_reduce_167, 3, 110, :_reduce_168, 5, 96, :_reduce_169, 6, 97, :_reduce_170, 6, 98, :_reduce_171, 6, 90, :_reduce_172, 1, 117, :_reduce_173, 3, 117, :_reduce_174 ] racc_reduce_n = 175 racc_shift_n = 310 racc_token_table = { false => 0, :error => 1, :LCURLY => 2, :RCURLY => 3, :QUERY => 4, :MUTATION => 5, :SUBSCRIPTION => 6, :LPAREN => 7, :RPAREN => 8, :VAR_SIGN => 9, :COLON => 10, :BANG => 11, :LBRACKET => 12, :RBRACKET => 13, :EQUALS => 14, :ON => 15, :SCHEMA => 16, :SCALAR => 17, :TYPE => 18, :IMPLEMENTS => 19, :INTERFACE => 20, :UNION => 21, :ENUM => 22, :INPUT => 23, :DIRECTIVE => 24, :IDENTIFIER => 25, :FRAGMENT => 26, :TRUE => 27, :FALSE => 28, :FLOAT => 29, :INT => 30, :STRING => 31, :NULL => 32, :DIR_SIGN => 33, :ELLIPSIS => 34, :EXTEND => 35, :AMP => 36, :PIPE => 37 } racc_nt_base = 38 racc_use_result_var = true Racc_arg = [ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ] Racc_token_to_s_table = [ "$end", "error", "LCURLY", "RCURLY", "QUERY", "MUTATION", "SUBSCRIPTION", "LPAREN", "RPAREN", "VAR_SIGN", "COLON", "BANG", "LBRACKET", "RBRACKET", "EQUALS", "ON", "SCHEMA", "SCALAR", "TYPE", "IMPLEMENTS", "INTERFACE", "UNION", "ENUM", "INPUT", "DIRECTIVE", "IDENTIFIER", "FRAGMENT", "TRUE", "FALSE", "FLOAT", "INT", "STRING", "NULL", "DIR_SIGN", "ELLIPSIS", "EXTEND", "AMP", "PIPE", "$start", "target", "document", "definitions_list", "definition", "executable_definition", "type_system_definition", "type_system_extension", "operation_definition", "fragment_definition", "operation_type", "operation_name_opt", "variable_definitions_opt", "directives_list_opt", "selection_set", "selection_list", "name", "variable_definitions_list", "variable_definition", "type", "default_value_opt", "literal_value", "selection_set_opt", "selection", "field", "fragment_spread", "inline_fragment", "arguments_opt", "name_without_on", "schema_keyword", "enum_name", "enum_value_definition", "enum_value_definitions", "arguments_list", "argument", "input_value", "null_value", "enum_value", "list_value", "object_literal_value", "variable", "object_value", "list_value_list", "object_value_list", "object_value_field", "object_literal_value_list", "object_literal_value_field", "directives_list", "directive", "fragment_name_opt", "schema_definition", "type_definition", "directive_definition", "operation_type_definition_list", "operation_type_definition", "scalar_type_definition", "object_type_definition", "interface_type_definition", "union_type_definition", "enum_type_definition", "input_object_type_definition", "schema_extension", "type_extension", "scalar_type_extension", "object_type_extension", "interface_type_extension", "union_type_extension", "enum_type_extension", "input_object_type_extension", "implements", "field_definition_list", "implements_opt", "union_members", "input_value_definition_list", "interfaces_list", "legacy_interfaces_list", "input_value_definition", "arguments_definitions_opt", "field_definition", "directive_locations" ] Racc_debug_parser = false ##### State transition tables end ##### # reduce 0 omitted # reduce 1 omitted module_eval(<<'.,.,', 'parser.y', 4) def _reduce_2(val, _values, result) return make_node(:Document, definitions: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 7) def _reduce_3(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 8) def _reduce_4(val, _values, result) val[0] << val[1] result end .,., # reduce 5 omitted # reduce 6 omitted # reduce 7 omitted # reduce 8 omitted # reduce 9 omitted module_eval(<<'.,.,', 'parser.y', 21) def _reduce_10(val, _values, result) return make_node( :OperationDefinition, { operation_type: val[0], name: val[1], variables: val[2], directives: val[3], selections: val[4], position_source: val[0], } ) result end .,., module_eval(<<'.,.,', 'parser.y', 33) def _reduce_11(val, _values, result) return make_node( :OperationDefinition, { operation_type: "query", selections: val[1], position_source: val[0], } ) result end .,., module_eval(<<'.,.,', 'parser.y', 42) def _reduce_12(val, _values, result) return make_node( :OperationDefinition, { operation_type: "query", selections: [], position_source: val[0], } ) result end .,., # reduce 13 omitted # reduce 14 omitted # reduce 15 omitted module_eval(<<'.,.,', 'parser.y', 57) def _reduce_16(val, _values, result) return nil result end .,., # reduce 17 omitted module_eval(<<'.,.,', 'parser.y', 61) def _reduce_18(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 62) def _reduce_19(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 65) def _reduce_20(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 66) def _reduce_21(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 70) def _reduce_22(val, _values, result) return make_node(:VariableDefinition, { name: val[1], type: val[3], default_value: val[4], position_source: val[0], }) result end .,., module_eval(<<'.,.,', 'parser.y', 79) def _reduce_23(val, _values, result) return make_node(:TypeName, name: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 80) def _reduce_24(val, _values, result) return make_node(:NonNullType, of_type: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 81) def _reduce_25(val, _values, result) return make_node(:ListType, of_type: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 84) def _reduce_26(val, _values, result) return nil result end .,., module_eval(<<'.,.,', 'parser.y', 85) def _reduce_27(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 88) def _reduce_28(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 91) def _reduce_29(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 92) def _reduce_30(val, _values, result) return val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 95) def _reduce_31(val, _values, result) return [result] result end .,., module_eval(<<'.,.,', 'parser.y', 96) def _reduce_32(val, _values, result) val[0] << val[1] result end .,., # reduce 33 omitted # reduce 34 omitted # reduce 35 omitted module_eval(<<'.,.,', 'parser.y', 105) def _reduce_36(val, _values, result) return make_node( :Field, { name: val[0], arguments: val[1], directives: val[2], selections: val[3], position_source: val[0], } ) result end .,., module_eval(<<'.,.,', 'parser.y', 116) def _reduce_37(val, _values, result) return make_node( :Field, { alias: val[0], name: val[2], arguments: val[3], directives: val[4], selections: val[5], position_source: val[0], } ) result end .,., # reduce 38 omitted # reduce 39 omitted # reduce 40 omitted # reduce 41 omitted # reduce 42 omitted # reduce 43 omitted # reduce 44 omitted # reduce 45 omitted # reduce 46 omitted # reduce 47 omitted # reduce 48 omitted # reduce 49 omitted # reduce 50 omitted # reduce 51 omitted # reduce 52 omitted # reduce 53 omitted # reduce 54 omitted # reduce 55 omitted # reduce 56 omitted # reduce 57 omitted # reduce 58 omitted # reduce 59 omitted module_eval(<<'.,.,', 'parser.y', 159) def _reduce_60(val, _values, result) return make_node(:EnumValueDefinition, name: val[0], directives: val[1], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 162) def _reduce_61(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 163) def _reduce_62(val, _values, result) return val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 166) def _reduce_63(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 167) def _reduce_64(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 168) def _reduce_65(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 171) def _reduce_66(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 172) def _reduce_67(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 175) def _reduce_68(val, _values, result) return make_node(:Argument, name: val[0], value: val[2], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 178) def _reduce_69(val, _values, result) return val[0].to_f result end .,., module_eval(<<'.,.,', 'parser.y', 179) def _reduce_70(val, _values, result) return val[0].to_i result end .,., module_eval(<<'.,.,', 'parser.y', 180) def _reduce_71(val, _values, result) return val[0].to_s result end .,., module_eval(<<'.,.,', 'parser.y', 181) def _reduce_72(val, _values, result) return true result end .,., module_eval(<<'.,.,', 'parser.y', 182) def _reduce_73(val, _values, result) return false result end .,., # reduce 74 omitted # reduce 75 omitted # reduce 76 omitted # reduce 77 omitted # reduce 78 omitted # reduce 79 omitted # reduce 80 omitted # reduce 81 omitted module_eval(<<'.,.,', 'parser.y', 193) def _reduce_82(val, _values, result) return make_node(:NullValue, name: val[0], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 194) def _reduce_83(val, _values, result) return make_node(:VariableIdentifier, name: val[1], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 197) def _reduce_84(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 198) def _reduce_85(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 201) def _reduce_86(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 202) def _reduce_87(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 205) def _reduce_88(val, _values, result) return make_node(:InputObject, arguments: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 206) def _reduce_89(val, _values, result) return make_node(:InputObject, arguments: val[1], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 209) def _reduce_90(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 210) def _reduce_91(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 213) def _reduce_92(val, _values, result) return make_node(:Argument, name: val[0], value: val[2], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 217) def _reduce_93(val, _values, result) return make_node(:InputObject, arguments: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 218) def _reduce_94(val, _values, result) return make_node(:InputObject, arguments: val[1], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 221) def _reduce_95(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 222) def _reduce_96(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 225) def _reduce_97(val, _values, result) return make_node(:Argument, name: val[0], value: val[2], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 227) def _reduce_98(val, _values, result) return make_node(:Enum, name: val[0], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 230) def _reduce_99(val, _values, result) return [] result end .,., # reduce 100 omitted module_eval(<<'.,.,', 'parser.y', 234) def _reduce_101(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 235) def _reduce_102(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 237) def _reduce_103(val, _values, result) return make_node(:Directive, name: val[1], arguments: val[2], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 240) def _reduce_104(val, _values, result) return make_node(:FragmentSpread, name: val[1], directives: val[2], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 244) def _reduce_105(val, _values, result) return make_node(:InlineFragment, { type: val[2], directives: val[3], selections: val[4], position_source: val[0] }) result end .,., module_eval(<<'.,.,', 'parser.y', 252) def _reduce_106(val, _values, result) return make_node(:InlineFragment, { type: nil, directives: val[1], selections: val[2], position_source: val[0] }) result end .,., module_eval(<<'.,.,', 'parser.y', 262) def _reduce_107(val, _values, result) return make_node(:FragmentDefinition, { name: val[1], type: val[3], directives: val[4], selections: val[5], position_source: val[0], } ) result end .,., module_eval(<<'.,.,', 'parser.y', 273) def _reduce_108(val, _values, result) return nil result end .,., # reduce 109 omitted # reduce 110 omitted # reduce 111 omitted # reduce 112 omitted module_eval(<<'.,.,', 'parser.y', 282) def _reduce_113(val, _values, result) return make_node(:SchemaDefinition, position_source: val[0], directives: val[1], **val[3]) result end .,., # reduce 114 omitted module_eval(<<'.,.,', 'parser.y', 286) def _reduce_115(val, _values, result) return val[0].merge(val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 289) def _reduce_116(val, _values, result) return { val[0].to_s.to_sym => val[2] } result end .,., # reduce 117 omitted # reduce 118 omitted # reduce 119 omitted # reduce 120 omitted # reduce 121 omitted # reduce 122 omitted # reduce 123 omitted # reduce 124 omitted module_eval(<<'.,.,', 'parser.y', 304) def _reduce_125(val, _values, result) return make_node(:SchemaExtension, position_source: val[0], directives: val[2], **val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 305) def _reduce_126(val, _values, result) return make_node(:SchemaExtension, position_source: val[0], directives: val[2]) result end .,., # reduce 127 omitted # reduce 128 omitted # reduce 129 omitted # reduce 130 omitted # reduce 131 omitted # reduce 132 omitted module_eval(<<'.,.,', 'parser.y', 315) def _reduce_133(val, _values, result) return make_node(:ScalarTypeExtension, name: val[2], directives: val[3], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 319) def _reduce_134(val, _values, result) return make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: val[5], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 320) def _reduce_135(val, _values, result) return make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: val[6], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 321) def _reduce_136(val, _values, result) return make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: val[4], fields: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 322) def _reduce_137(val, _values, result) return make_node(:ObjectTypeExtension, name: val[2], interfaces: val[3], directives: [], fields: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 325) def _reduce_138(val, _values, result) return make_node(:InterfaceTypeExtension, name: val[2], directives: val[3], fields: val[5], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 326) def _reduce_139(val, _values, result) return make_node(:InterfaceTypeExtension, name: val[2], directives: val[3], fields: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 329) def _reduce_140(val, _values, result) return make_node(:UnionTypeExtension, name: val[2], directives: val[3], types: val[5], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 330) def _reduce_141(val, _values, result) return make_node(:UnionTypeExtension, name: val[2], directives: val[3], types: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 333) def _reduce_142(val, _values, result) return make_node(:EnumTypeExtension, name: val[2], directives: val[3], values: val[5], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 334) def _reduce_143(val, _values, result) return make_node(:EnumTypeExtension, name: val[2], directives: val[3], values: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 337) def _reduce_144(val, _values, result) return make_node(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: val[5], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 338) def _reduce_145(val, _values, result) return make_node(:InputObjectTypeExtension, name: val[2], directives: val[3], fields: [], position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 340) def _reduce_146(val, _values, result) return make_node(:ScalarTypeDefinition, name: val[1], directives: val[2], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 344) def _reduce_147(val, _values, result) return make_node(:ObjectTypeDefinition, name: val[1], interfaces: val[2], directives: val[3], fields: val[5], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 348) def _reduce_148(val, _values, result) return [] result end .,., # reduce 149 omitted module_eval(<<'.,.,', 'parser.y', 352) def _reduce_150(val, _values, result) return val[2] result end .,., module_eval(<<'.,.,', 'parser.y', 353) def _reduce_151(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 354) def _reduce_152(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 357) def _reduce_153(val, _values, result) return [make_node(:TypeName, name: val[0], position_source: val[0])] result end .,., module_eval(<<'.,.,', 'parser.y', 358) def _reduce_154(val, _values, result) val[0] << make_node(:TypeName, name: val[2], position_source: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 361) def _reduce_155(val, _values, result) return [make_node(:TypeName, name: val[0], position_source: val[0])] result end .,., module_eval(<<'.,.,', 'parser.y', 362) def _reduce_156(val, _values, result) val[0] << make_node(:TypeName, name: val[1], position_source: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 366) def _reduce_157(val, _values, result) return make_node(:InputValueDefinition, name: val[0], type: val[2], default_value: val[3], directives: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 370) def _reduce_158(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 371) def _reduce_159(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 374) def _reduce_160(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 375) def _reduce_161(val, _values, result) return val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 379) def _reduce_162(val, _values, result) return make_node(:FieldDefinition, name: val[0], arguments: val[1], type: val[3], directives: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 383) def _reduce_163(val, _values, result) return [] result end .,., module_eval(<<'.,.,', 'parser.y', 384) def _reduce_164(val, _values, result) return [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 385) def _reduce_165(val, _values, result) val[0] << val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 389) def _reduce_166(val, _values, result) return make_node(:InterfaceTypeDefinition, name: val[1], directives: val[2], fields: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 393) def _reduce_167(val, _values, result) return [make_node(:TypeName, name: val[0], position_source: val[0])] result end .,., module_eval(<<'.,.,', 'parser.y', 394) def _reduce_168(val, _values, result) val[0] << make_node(:TypeName, name: val[2], position_source: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 398) def _reduce_169(val, _values, result) return make_node(:UnionTypeDefinition, name: val[1], directives: val[2], types: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 403) def _reduce_170(val, _values, result) return make_node(:EnumTypeDefinition, name: val[1], directives: val[2], values: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 408) def _reduce_171(val, _values, result) return make_node(:InputObjectTypeDefinition, name: val[1], directives: val[2], fields: val[4], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 413) def _reduce_172(val, _values, result) return make_node(:DirectiveDefinition, name: val[2], arguments: val[3], locations: val[5], description: get_description(val[0]), position_source: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 417) def _reduce_173(val, _values, result) return [make_node(:DirectiveLocation, name: val[0].to_s, position_source: val[0])] result end .,., module_eval(<<'.,.,', 'parser.y', 418) def _reduce_174(val, _values, result) val[0] << make_node(:DirectiveLocation, name: val[2].to_s, position_source: val[2]) result end .,., def _reduce_none(val, _values, result) val[0] end end # class Parser end # module Language end # module GraphQL