# # DO NOT MODIFY!!!! # This file is automatically generated by Racc 1.4.14 # from Racc grammer file "". # require 'racc/parser.rb' module Steep class Parser < Racc::Parser module_eval(<<'...end parser.y/module_eval...', 'parser.y', 603) require "strscan" attr_reader :input attr_reader :buffer attr_reader :offset def initialize(type, buffer:, offset:, input: nil) super() @type = type @buffer = buffer @input = StringScanner.new(input || buffer.content) @offset = offset end def self.parse_method(input, name: nil) new(:METHOD, buffer: AST::Buffer.new(name: name, content: input), offset: 0).do_parse end def self.parse_signature(input, name: nil) new(:SIGNATURE, buffer: AST::Buffer.new(name: name, content: input), offset: 0).do_parse end def self.parse_annotation_opt(input, buffer:, offset: 0) new(:ANNOTATION, input: input, buffer: buffer, offset: offset).do_parse rescue => exn Steep.logger.debug "Parsing comment failed: #{exn.inspect}" nil end def self.parse_type(input, name: nil) new(:TYPE, buffer: AST::Buffer.new(name: name, content: input), offset: 0).do_parse end class LocatedValue attr_reader :location attr_reader :value def initialize(location:, value:) @location = location @value = value end end def new_token(type, value = nil) start_index = offset + input.pos - input.matched.bytesize end_index = offset + input.pos location = AST::Location.new(buffer: buffer, start_pos: start_index, end_pos: end_index) [type, LocatedValue.new(location: location, value: value)] end def next_token if @type type = @type @type = nil return [:"type_#{type}", nil] end case when input.scan(/\s+/) next_token when input.scan(/#.*/) next_token when input.eos? [false, false] when input.scan(/->/) new_token(:ARROW) when input.scan(/\?/) new_token(:QUESTION) when input.scan(/!/) new_token(:BANG, :!) when input.scan(/\(/) new_token(:LPAREN, nil) when input.scan(/\)/) new_token(:RPAREN, nil) when input.scan(/{/) new_token(:LBRACE, nil) when input.scan(/}/) new_token(:RBRACE, nil) when input.scan(/,/) new_token(:COMMA, nil) when input.scan(/:\w+/) new_token(:SYMBOL, input.matched[1..-1].to_sym) when input.scan(/::/) new_token(:COLON2) when input.scan(/:/) new_token(:COLON) when input.scan(/\*\*/) new_token(:STAR2, :**) when input.scan(/\*/) new_token(:STAR, :*) when input.scan(/\+/) new_token(:PLUS, :+) when input.scan(/\./) new_token(:DOT) when input.scan(/<:/) new_token(:LTCOLON) when input.scan(/\^/) new_token(:HAT, :"^") when input.scan(/(\[\]=)|(\[\])|===|==|!=|<<|=~/) new_token(:OPERATOR, input.matched.to_sym) when input.scan(/\[/) new_token(:LBRACKET, nil) when input.scan(/\]/) new_token(:RBRACKET, nil) when input.scan(/<=/) new_token(:OPERATOR, :<=) when input.scan(/>=/) new_token(:OPERATOR, :>=) when input.scan(/=/) new_token(:EQ, :"=") when input.scan(//) new_token(:GT, :>) when input.scan(/nil\b/) new_token(:NIL, :nil) when input.scan(/bool\b/) new_token(:BOOL, :bool) when input.scan(/any\b/) new_token(:ANY, :any) when input.scan(/void\b/) new_token(:VOID, :void) when input.scan(/type\b/) new_token(:TYPE, :type) when input.scan(/interface\b/) new_token(:INTERFACE, :interface) when input.scan(/incompatible\b/) new_token(:INCOMPATIBLE, :incompatible) when input.scan(/end\b/) new_token(:END, :end) when input.scan(/\|/) new_token(:BAR, :bar) when input.scan(/-@/) new_token(:UMINUS, :"-@") when input.scan(/def\b/) new_token(:DEF) when input.scan(/@type\b/) new_token(:AT_TYPE) when input.scan(/@implements\b/) new_token(:AT_IMPLEMENTS) when input.scan(/@dynamic\b/) new_token(:AT_DYNAMIC) when input.scan(/const\b/) new_token(:CONST, :const) when input.scan(/var\b/) new_token(:VAR, :var) when input.scan(/return\b/) new_token(:RETURN) when input.scan(/block\b/) new_token(:BLOCK, :block) when input.scan(/break\b/) new_token(:BREAK, :break) when input.scan(/method\b/) new_token(:METHOD, :method) when input.scan(/self\?/) new_token(:SELFQ) when input.scan(/self\b/) new_token(:SELF, :self) when input.scan(/'\w+/) new_token(:TVAR, input.matched.gsub(/\A'/, '').to_sym) when input.scan(/attr_reader\b/) new_token(:ATTR_READER, :attr_reader) when input.scan(/attr_accessor\b/) new_token(:ATTR_ACCESSOR, :attr_accessor) when input.scan(/instance\b/) new_token(:INSTANCE, :instance) when input.scan(/class\b/) new_token(:CLASS, :class) when input.scan(/module\b/) new_token(:MODULE, :module) when input.scan(/include\b/) new_token(:INCLUDE, :include) when input.scan(/extend\b/) new_token(:EXTEND, :extend) when input.scan(/instance\b/) new_token(:INSTANCE, :instance) when input.scan(/ivar\b/) new_token(:IVAR, :ivar) when input.scan(/%/) new_token(:PERCENT, :%) when input.scan(/-/) new_token(:MINUS, :-) when input.scan(/&/) new_token(:OPERATOR, :&) when input.scan(/~/) new_token(:OPERATOR, :~) when input.scan(/\//) new_token(:OPERATOR, :/) when input.scan(/extension\b/) new_token(:EXTENSION, :extension) when input.scan(/constructor\b/) new_token(:CONSTRUCTOR, :constructor) when input.scan(/noconstructor\b/) new_token(:NOCONSTRUCTOR, :noconstructor) when input.scan(/\$\w+\b/) new_token(:GVAR, input.matched.to_sym) when input.scan(/[A-Z]\w*/) new_token(:UIDENT, input.matched.to_sym) when input.scan(/_\w+/) new_token(:INTERFACE_NAME, input.matched.to_sym) when input.scan(/@\w+/) new_token(:IVAR_NAME, input.matched.to_sym) when input.scan(/\d+/) new_token(:INT, input.matched.to_i) when input.scan(/\"[^\"]*\"/) new_token(:STRING, input.matched[1...-1]) when input.scan(/[a-z]\w*/) new_token(:LIDENT, input.matched.to_sym) end end ...end parser.y/module_eval... ##### State transition tables begin ### clist = [ '93,348,92,353,348,134,96,97,105,194,110,111,112,344,106,100,121,345', '369,27,357,26,349,104,101,349,123,124,116,99,103,118,114,135,122,264', '107,108,134,102,27,360,26,262,113,125,126,127,193,94,95,98,117,109,115', '119,120,93,143,92,195,-34,370,96,97,105,135,110,111,112,29,106,100,121', '30,31,2,3,4,5,104,101,361,123,124,116,99,103,118,114,27,122,26,107,108', '27,102,26,27,362,26,113,125,126,127,363,94,95,98,117,109,115,119,120', '93,27,92,26,214,213,96,97,105,364,110,111,112,365,106,100,121,27,27', '26,26,254,255,104,101,368,123,124,116,99,103,118,114,371,122,372,107', '108,373,102,207,208,313,157,113,125,126,127,9,94,95,98,117,109,115,119', '120,93,9,92,379,380,382,96,97,105,384,110,111,112,131,106,100,121,132', '385,9,9,6,9,104,101,57,123,124,116,99,103,118,114,62,122,70,107,108', '71,102,73,77,27,79,113,125,126,127,133,94,95,98,117,109,115,119,120', '93,139,92,140,134,171,96,97,105,172,110,111,112,9,106,100,121,9,9,9', '9,27,182,104,101,182,123,124,116,99,103,118,114,184,122,185,107,108', '186,102,188,189,190,191,113,125,126,127,9,94,95,98,117,109,115,119,120', '93,196,92,197,198,199,96,97,105,200,110,111,112,204,106,100,121,205', '206,215,216,217,218,104,101,219,123,124,116,99,103,118,114,220,122,221', '107,108,222,102,227,-91,-92,-93,113,125,126,127,-94,94,95,98,117,109', '115,119,120,93,-98,92,-90,-88,62,96,97,105,231,110,111,112,233,106,100', '121,235,236,237,238,239,243,104,101,246,123,124,116,99,103,118,114,251', '122,134,107,108,256,102,257,278,280,231,113,125,126,127,303,94,95,98', '117,109,115,119,120,93,9,92,309,311,312,96,97,105,321,110,111,112,322', '106,100,121,324,326,331,332,333,337,104,101,338,123,124,116,99,103,118', '114,339,122,9,107,108,350,102,351,353,,,113,125,126,127,,94,95,98,117', '109,115,119,120,93,,92,,,,96,97,105,,110,111,112,131,106,100,121,132', ',,,,,104,101,,123,124,116,99,103,118,114,,122,,107,108,,102,,,,,113', '125,126,127,,94,95,98,117,109,115,119,120,93,,92,,,,96,97,105,,110,111', '112,,106,100,121,,87,86,84,,,104,101,,123,124,116,99,103,118,114,,122', ',107,108,83,102,88,,,,113,125,126,127,,94,95,98,117,109,115,119,120', '50,,,,,89,81,,80,82,85,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52', '53,,,,56,,,50,,,,214,213,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47', '48,49,,52,53,,,,,,,50,,,,21,22,,,27,,26,35,36,37,38,39,40,41,42,43,45', '46,47,48,49,,52,53,24,18,20,,23,27,50,26,,,21,22,,,27,,26,35,36,37,38', '39,40,41,42,43,45,46,47,48,49,,52,53,24,18,20,,23,27,50,26,,,21,22,', ',27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,24,18,20,,23', '27,50,26,,154,156,157,,,27,,26,159,36,160,161,162,163,41,42,43,45,46', '47,48,49,,164,165,,,,56,,166,167,168,169,170,50,,,,27,,26,,,,,35,36', '37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,59,,,,21,22,,,27', ',26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,24,18,20,,23,27', '50,26,,,21,22,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52', '53,24,18,20,56,23,27,50,26,,,21,22,,,27,,26,35,36,37,38,39,40,41,42', '43,45,46,47,48,49,,52,53,24,18,20,56,23,27,50,26,,,21,22,,,27,,26,35', '36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,24,18,20,56,23,27,50,26', ',,21,22,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,24', '18,20,56,23,27,50,26,,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47', '48,49,,52,53,,,,56,,,50,,,,214,213,,,27,,26,35,36,37,38,39,40,41,42', '43,45,46,47,48,49,,52,53,,,,,,,50,,,,313,157,,,27,,26,35,36,37,38,39', '40,41,42,43,45,46,47,48,49,295,52,53,,,,56,,,50,293,294,296,297,298', ',,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,295,52,53,,,,56,', ',50,293,294,296,297,298,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47', '48,49,295,52,53,,,,56,,,50,293,294,296,297,298,,,27,,26,159,36,160,161', '162,163,41,42,43,45,46,47,48,49,,164,165,,,,56,,166,167,168,169,170', '50,,,,27,,26,,,,,35,36,37,38,39,40,41,42,43,45,46,47,48,49,295,52,53', ',,,56,,,50,293,294,296,297,298,,,27,,26,35,36,37,38,39,40,41,42,43,45', '46,47,48,49,,52,53,,,,,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43', '45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41', '42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39', '40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37', '38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35', '36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,', '26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,154', '156,157,,,27,,26,159,36,160,161,162,163,41,42,43,45,46,47,48,49,,164', '165,,,,56,,166,167,168,169,170,,,,50,27,,26,313,157,,,,,,35,36,37,38', '39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36', '37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26', '35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27', ',26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,', ',,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50', ',,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56', ',,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53', ',,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48,49,', '52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46,47,48', '49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43,45,46', '47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41,42,43', '45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39,40,41', '42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37,38,39', '40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35,36,37', '38,39,40,41,42,43,45,46,47,48,49,,52,53,,,,56,,,50,,,,,,,,27,,26,35', '36,37,38,39,40,41,42,43,45,46,47,48,49,,52,53,154,275,,56,,,,,269,,270', '271,272,273,27,,26,,,,,,,268,267,,,154,275,,166,167,168,169,170,269', ',270,271,272,273,,,,,,,,,,268,267,,,154,275,,166,167,168,169,170,269', ',270,271,272,273,,,,,,,,,,268,267,,,154,156,157,166,167,168,169,170', '269,,270,271,272,273,,,,,,,,,,268,267,,,,,,166,167,168,169,170,35,36', '37,38,39,40,41,42,43,45,46,47,48,49,,52,53,,,269,,270,271,272,273,,', ',,,,27,,26,268,267,,,,,,166,167,168,169,170' ] racc_action_table = arr = ::Array.new(2169, nil) idx = 0 clist.each do |str| str.split(',', -1).each do |i| arr[idx] = i.to_i unless i.empty? idx += 1 end end clist = [ '325,326,325,330,365,44,325,325,325,91,325,325,325,325,325,325,325,325', '353,22,336,22,326,325,325,365,325,325,325,325,325,325,325,44,325,216', '325,325,202,325,295,341,295,216,325,325,325,325,91,325,325,325,325,325', '325,325,325,199,58,199,91,58,353,199,199,199,202,199,199,199,4,199,199', '199,4,4,0,0,0,0,199,199,343,199,199,199,199,199,199,199,296,199,296', '199,199,233,199,233,30,344,30,199,199,199,199,345,199,199,199,199,199', '199,199,199,200,21,200,21,311,311,200,200,200,346,200,200,200,347,200', '200,200,85,23,85,23,207,207,200,200,352,200,200,200,200,200,200,200', '354,200,355,200,200,356,200,139,139,339,339,200,200,200,200,360,200', '200,200,200,200,200,200,200,31,361,31,366,367,370,31,31,31,376,31,31', '31,31,31,31,31,31,377,384,385,1,2,31,31,6,31,31,31,31,31,31,31,9,31', '18,31,31,19,31,20,24,26,27,31,31,31,31,34,31,31,31,31,31,31,31,31,231', '51,231,56,60,61,231,231,231,62,231,231,231,72,231,231,231,74,75,76,77', '79,80,231,231,81,231,231,231,231,231,231,231,82,231,83,231,231,84,231', '86,87,88,89,231,231,231,231,90,231,231,231,231,231,231,231,231,298,97', '298,100,129,131,298,298,298,132,298,298,298,136,298,298,298,137,138', '141,142,144,145,298,298,147,298,298,298,298,298,298,298,149,298,151', '298,298,152,298,158,159,160,161,298,298,298,298,162,298,298,298,298', '298,298,298,298,297,163,297,164,165,172,297,297,297,175,297,297,297', '176,297,297,297,177,178,179,181,183,187,297,297,190,297,297,297,297', '297,297,297,201,297,209,297,297,210,297,212,225,229,230,297,297,297', '297,236,297,297,297,297,297,297,297,297,362,239,362,256,259,263,362', '362,362,282,362,362,362,283,362,362,362,293,294,300,301,303,314,362', '362,315,362,362,362,362,362,362,362,317,362,321,362,362,327,362,328', '329,,,362,362,362,362,,362,362,362,362,362,362,362,362,198,,198,,,,198', '198,198,,198,198,198,198,198,198,198,198,,,,,,198,198,,198,198,198,198', '198,198,198,,198,,198,198,,198,,,,,198,198,198,198,,198,198,198,198', '198,198,198,198,363,,363,,,,363,363,363,,363,363,363,,363,363,363,,29', '29,29,,,363,363,,363,363,363,363,363,363,363,,363,,363,363,29,363,29', ',,,363,363,363,363,,363,363,363,363,363,363,363,363,185,,,,,29,29,,29', '29,29,185,185,185,185,185,185,185,185,185,185,185,185,185,185,,185,185', ',,,185,,,140,,,,140,140,,,185,,185,140,140,140,140,140,140,140,140,140', '140,140,140,140,140,,140,140,,,,,,,213,,,,3,3,,,140,,140,213,213,213', '213,213,213,213,213,213,213,213,213,213,213,,213,213,3,3,3,,3,3,214', '3,,,14,14,,,213,,213,214,214,214,214,214,214,214,214,214,214,214,214', '214,214,,214,214,14,14,14,,14,14,215,14,,,15,15,,,214,,214,215,215,215', '215,215,215,215,215,215,215,215,215,215,215,,215,215,15,15,15,,15,15', '218,15,,218,218,218,,,215,,215,218,218,218,218,218,218,218,218,218,218', '218,218,218,218,,218,218,,,,218,,218,218,218,218,218,227,,,,218,,218', ',,,,227,227,227,227,227,227,227,227,227,227,227,227,227,227,,227,227', ',,,227,,,8,,,,11,11,,,227,,227,8,8,8,8,8,8,8,8,8,8,8,8,8,8,,8,8,11,11', '11,,11,11,235,11,,,12,12,,,8,,8,235,235,235,235,235,235,235,235,235', '235,235,235,235,235,,235,235,12,12,12,235,12,12,237,12,,,16,16,,,235', ',235,237,237,237,237,237,237,237,237,237,237,237,237,237,237,,237,237', '16,16,16,237,16,16,238,16,,,17,17,,,237,,237,238,238,238,238,238,238', '238,238,238,238,238,238,238,238,,238,238,17,17,17,238,17,17,243,17,', ',13,13,,,238,,238,243,243,243,243,243,243,243,243,243,243,243,243,243', '243,,243,243,13,13,13,243,13,13,246,13,,,,,,,243,,243,246,246,246,246', '246,246,246,246,246,246,246,246,246,246,,246,246,,,,246,,,257,,,,257', '257,,,246,,246,257,257,257,257,257,257,257,257,257,257,257,257,257,257', ',257,257,,,,,,,264,,,,264,264,,,257,,257,264,264,264,264,264,264,264', '264,264,264,264,264,264,264,284,264,264,,,,264,,,278,284,284,284,284', '284,,,264,,264,278,278,278,278,278,278,278,278,278,278,278,278,278,278', '234,278,278,,,,278,,,154,234,234,234,234,234,,,278,,278,154,154,154', '154,154,154,154,154,154,154,154,154,154,154,333,154,154,,,,154,,,156', '333,333,333,333,333,,,154,,154,156,156,156,156,156,156,156,156,156,156', '156,156,156,156,,156,156,,,,156,,156,156,156,156,156,157,,,,156,,156', ',,,,157,157,157,157,157,157,157,157,157,157,157,157,157,157,232,157', '157,,,,157,,,309,232,232,232,232,232,,,157,,157,309,309,309,309,309', '309,309,309,309,309,309,309,309,309,,309,309,,,,,,,312,,,,,,,,309,,309', '312,312,312,312,312,312,312,312,312,312,312,312,312,312,,312,312,,,', '312,,,313,,,,,,,,312,,312,313,313,313,313,313,313,313,313,313,313,313', '313,313,313,,313,313,,,,313,,,49,,,,,,,,313,,313,49,49,49,49,49,49,49', '49,49,49,49,49,49,49,,49,49,,,,49,,,50,,,,,,,,49,,49,50,50,50,50,50', '50,50,50,50,50,50,50,50,50,,50,50,,,,50,,,324,,,,,,,,50,,50,324,324', '324,324,324,324,324,324,324,324,324,324,324,324,,324,324,,,,324,,,331', ',,,,,,,324,,324,331,331,331,331,331,331,331,331,331,331,331,331,331', '331,,331,331,,,,331,,,59,,,59,59,59,,,331,,331,59,59,59,59,59,59,59', '59,59,59,59,59,59,59,,59,59,,,,59,,59,59,59,59,59,,,,338,59,,59,338', '338,,,,,,338,338,338,338,338,338,338,338,338,338,338,338,338,338,,338', '338,,,,338,,,133,,,,,,,,338,,338,133,133,133,133,133,133,133,133,133', '133,133,133,133,133,,133,133,,,,133,,,184,,,,,,,,133,,133,184,184,184', '184,184,184,184,184,184,184,184,184,184,184,,184,184,,,,184,,,71,,,', ',,,,184,,184,71,71,71,71,71,71,71,71,71,71,71,71,71,71,,71,71,,,,71', ',,186,,,,,,,,71,,71,186,186,186,186,186,186,186,186,186,186,186,186', '186,186,,186,186,,,,186,,,350,,,,,,,,186,,186,350,350,350,350,350,350', '350,350,350,350,350,350,350,350,,350,350,,,,350,,,351,,,,,,,,350,,350', '351,351,351,351,351,351,351,351,351,351,351,351,351,351,,351,351,,,', '351,,,188,,,,,,,,351,,351,188,188,188,188,188,188,188,188,188,188,188', '188,188,188,,188,188,,,,188,,,189,,,,,,,,188,,188,189,189,189,189,189', '189,189,189,189,189,189,189,189,189,,189,189,,,,189,,,5,,,,,,,,189,', '189,5,5,5,5,5,5,5,5,5,5,5,5,5,5,,5,5,,,,5,,,191,,,,,,,,5,,5,191,191', '191,191,191,191,191,191,191,191,191,191,191,191,,191,191,,,,191,,,368', ',,,,,,,191,,191,368,368,368,368,368,368,368,368,368,368,368,368,368', '368,,368,368,,,,368,,,70,,,,,,,,368,,368,70,70,70,70,70,70,70,70,70', '70,70,70,70,70,,70,70,,,,70,,,371,,,,,,,,70,,70,371,371,371,371,371', '371,371,371,371,371,371,371,371,371,,371,371,,,,371,,,205,,,,,,,,371', ',371,205,205,205,205,205,205,205,205,205,205,205,205,205,205,,205,205', '220,220,,205,,,,,220,,220,220,220,220,205,,205,,,,,,,220,220,,,221,221', ',220,220,220,220,220,221,,221,221,221,221,,,,,,,,,,221,221,,,222,222', ',221,221,221,221,221,222,,222,222,222,222,,,,,,,,,,222,222,,,219,219', '219,222,222,222,222,222,219,,219,219,219,219,,,,,,,,,,219,219,,,,,,219', '219,219,219,219,135,135,135,135,135,135,135,135,135,135,135,135,135', '135,,135,135,,,275,,275,275,275,275,,,,,,,135,,135,275,275,,,,,,275', '275,275,275,275' ] racc_action_check = arr = ::Array.new(2169, nil) idx = 0 clist.each do |str| str.split(',', -1).each do |i| arr[idx] = i.to_i unless i.empty? idx += 1 end end racc_action_pointer = [ 74, 192, 177, 622, 3, 1802, 196, nil, 805, 185, nil, 796, 830, 932, 656, 690, 864, 898, 193, 196, 178, 66, -30, 83, 178, nil, 164, 163, nil, 510, 49, 161, nil, nil, 203, nil, nil, nil, nil, nil, nil, nil, nil, nil, -6, nil, nil, nil, nil, 1319, 1353, 194, nil, nil, nil, nil, 224, nil, 47, 1455, 221, 216, 228, nil, nil, nil, nil, nil, nil, nil, 1904, 1598, 225, nil, 229, 230, 231, 232, nil, 200, 216, 219, 248, 250, 253, 82, 255, 256, 218, 258, 260, -2, nil, nil, nil, nil, nil, 269, nil, nil, 277, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 280, nil, 255, 259, 1530, nil, 2105, 266, 293, 295, 134, 597, 298, 291, nil, 298, 298, nil, 301, nil, 309, nil, 311, 314, nil, 1111, nil, 1145, 1183, 312, 313, 314, 315, 320, 330, 332, 333, nil, nil, nil, nil, nil, nil, 328, nil, nil, 298, 297, 346, 353, 311, nil, 349, nil, 350, 1564, 563, 1632, 351, 1734, 1768, 354, 1836, nil, nil, nil, nil, nil, nil, 446, 47, 104, 358, 27, nil, nil, 1972, nil, 99, nil, 366, 372, nil, 373, 631, 665, 699, 28, nil, 733, 2078, 1997, 2024, 2051, nil, nil, 370, nil, 771, nil, 337, 332, 218, 1173, 46, 1067, 839, 341, 873, 907, 384, nil, nil, nil, 941, nil, nil, 975, nil, nil, nil, nil, nil, nil, nil, nil, nil, 396, 1009, nil, 394, nil, nil, nil, 398, 1043, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 2124, nil, nil, 1077, nil, nil, nil, 395, 365, 1033, nil, nil, nil, nil, nil, nil, nil, nil, 403, 410, -9, 41, 332, 275, nil, 402, 372, nil, 412, nil, nil, nil, nil, nil, 1217, nil, 107, 1251, 1285, 413, 415, nil, 423, nil, nil, nil, 418, nil, nil, 1387, -10, -35, 421, 423, 433, -4, 1421, nil, 1101, nil, nil, 5, nil, 1496, 145, nil, 2, nil, 69, 64, 70, 115, 118, nil, nil, 1666, 1700, 126, 10, 134, 132, 105, nil, nil, nil, 146, 156, 389, 503, nil, -32, 157, 158, 1870, nil, 168, 1938, nil, nil, nil, nil, 167, 176, nil, nil, nil, nil, nil, nil, 174, 175, nil, nil ] racc_action_default = [ -223, -223, -155, -100, -223, -223, -223, -1, -7, -223, -2, -100, -100, -100, -100, -100, -100, -100, -223, -223, -223, -223, -223, -223, -223, -118, -223, -120, -3, -223, -223, -223, -4, -46, -68, -48, -49, -50, -51, -52, -53, -54, -55, -56, -64, -58, -59, -60, -61, -223, -223, -65, -66, -67, -74, -75, -223, 388, -31, -24, -9, -223, -157, -101, -102, -103, -104, -105, -106, -107, -223, -223, -155, -117, -155, -155, -155, -155, -119, -223, -223, -223, -223, -223, -223, -223, -223, -223, -223, -223, -155, -164, -165, -166, -167, -168, -169, -170, -171, -172, -223, -178, -179, -180, -181, -182, -183, -184, -185, -186, -187, -188, -189, -190, -191, -192, -193, -194, -195, -196, -197, -198, -199, -200, -201, -202, -203, -204, -215, -218, -219, -223, -223, -223, -57, -223, -223, -84, -223, -223, -80, -223, -223, -35, -223, -10, -12, -13, -15, -16, -18, -19, -20, -23, -223, -26, -223, -223, -223, -48, -50, -51, -52, -53, -66, -67, -89, -95, -96, -97, -99, -156, -223, -108, -109, -159, -151, -115, -223, -223, -121, -223, -222, -223, -223, -223, -223, -223, -223, -223, -223, -223, -214, -173, -174, -175, -176, -177, -223, -223, -223, -223, -86, -87, -62, -223, -63, -71, -70, -64, -223, -77, -78, -223, -223, -223, -36, -8, -24, -24, -24, -24, -24, -25, -27, -223, -28, -223, -158, -223, -159, -223, -122, -223, -122, -223, -223, -223, -223, -155, -207, -208, -209, -223, -211, -212, -223, -216, -217, -220, -221, -47, -85, -69, -72, -73, -223, -80, -81, -82, -5, -6, -32, -223, -44, -11, -14, -88, -90, -91, -92, -93, -94, -98, -17, -223, -21, -22, -223, -29, -110, -160, -223, -223, -122, -124, -125, -126, -127, -128, -129, -130, -131, -223, -145, -223, -223, -223, -223, -152, -153, -223, -116, -223, -114, -205, -206, -210, -213, -223, -79, -80, -223, -223, -223, -38, -40, -41, -43, -45, -30, -155, -111, -123, -223, -223, -223, -136, -138, -142, -142, -223, -112, -122, -76, -83, -223, -37, -44, -44, -161, -162, -132, -223, -223, -223, -223, -147, -149, -150, -223, -223, -223, -223, -223, -223, -223, -33, -39, -42, -155, -155, -223, -223, -146, -223, -223, -223, -223, -143, -223, -223, -154, -113, -163, -133, -223, -223, -148, -137, -139, -140, -144, -141, -155, -155, -134, -135 ] racc_goto_table = [ 32, 136, 7, 60, 19, 212, 128, 249, 250, 61, 144, 210, 19, 19, 19, 19, 19, 19, 19, 225, 317, 229, 74, 75, 76, 283, 319, 301, 314, 315, 78, 90, 346, 340, 274, 276, 277, 359, 175, 282, 176, 177, 178, 179, 335, 138, 181, 183, 72, 10, 352, 354, 263, 232, 155, 142, 192, 63, 64, 65, 66, 67, 68, 69, 234, 173, 174, 1, 325, 266, 260, 378, 374, 375, 141, 299, 281, 323, 258, 259, 261, 58, 253, 180, 28, 201, 187, 203, nil, nil, nil, nil, nil, nil, 317, 317, 386, 387, nil, nil, 319, 319, 358, 315, nil, 329, 330, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 212, nil, nil, nil, 356, nil, 310, nil, 202, nil, nil, 343, nil, 209, nil, nil, 225, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 223, nil, 224, 226, nil, nil, nil, nil, 252, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 265, 376, 377, 228, 248, 334, nil, nil, nil, nil, 240, 241, 242, nil, 244, 245, nil, 247, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 209, 209, 209, nil, nil, 155, nil, nil, nil, nil, nil, nil, nil, nil, 279, nil, nil, nil, nil, nil, nil, nil, 302, nil, 304, 305, 300, nil, nil, nil, 307, 306, nil, 308, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 209, nil, nil, nil, nil, nil, nil, 155, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 320, nil, nil, nil, nil, nil, nil, nil, nil, nil, 355, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 327, 328, nil, nil, nil, nil, 366, 367, 209, nil, nil, 336, 224, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 342, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 155, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 381, nil, nil, 383 ] racc_goto_check = [ 5, 30, 2, 12, 31, 10, 69, 59, 59, 65, 11, 34, 31, 31, 31, 31, 31, 31, 31, 22, 15, 44, 31, 31, 31, 46, 17, 46, 25, 13, 48, 31, 62, 60, 18, 18, 18, 26, 6, 59, 6, 6, 6, 6, 35, 5, 68, 68, 43, 3, 61, 61, 24, 45, 5, 23, 6, 3, 3, 3, 3, 3, 3, 3, 47, 5, 5, 1, 58, 14, 9, 62, 60, 60, 8, 64, 44, 46, 10, 10, 10, 7, 32, 48, 4, 30, 31, 33, nil, nil, nil, nil, nil, nil, 15, 15, 60, 60, nil, nil, 17, 17, 25, 13, nil, 59, 59, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 10, nil, nil, nil, 46, nil, 34, nil, 12, nil, nil, 59, nil, 12, nil, nil, 22, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, 5, 5, nil, nil, nil, nil, 30, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 11, 59, 59, 65, 69, 10, nil, nil, nil, nil, 5, 5, 5, nil, 5, 5, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 12, 12, 12, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, 5, nil, 5, 5, 31, nil, nil, nil, 5, 2, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 12, nil, nil, nil, nil, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, 30, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 31, 31, nil, nil, nil, nil, 30, 30, 12, nil, nil, 5, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 5, nil, nil, 5 ] racc_goto_pointer = [ nil, 67, 0, 46, 80, -5, -34, 73, 16, -145, -135, -49, -5, -235, -150, -244, nil, -238, -186, nil, nil, nil, -137, -3, -164, -236, -302, nil, nil, nil, -48, 1, -125, -48, -129, -267, nil, nil, nil, nil, nil, nil, nil, 28, -154, -123, -207, -113, 4, nil, nil, nil, nil, nil, nil, nil, nil, nil, -226, -192, -288, -279, -294, nil, -158, 0, nil, nil, -34, -25, nil ] racc_goto_default = [ nil, nil, 341, nil, nil, 137, 8, nil, nil, nil, 54, nil, 44, 145, 146, 147, 148, 149, 150, 151, 152, 153, 158, nil, nil, nil, 316, 318, 33, 34, nil, 51, nil, 55, nil, 211, 11, 12, 13, 14, 15, 16, 17, nil, nil, nil, nil, nil, 25, 284, 285, 286, 287, 288, 289, 290, 291, 292, nil, 130, nil, nil, nil, 347, nil, nil, 230, 91, nil, nil, 129 ] racc_reduce_table = [ 0, 0, :racc_error, 2, 74, :_reduce_1, 2, 74, :_reduce_2, 2, 74, :_reduce_3, 2, 74, :_reduce_4, 5, 75, :_reduce_5, 1, 82, :_reduce_none, 0, 80, :_reduce_7, 3, 80, :_reduce_8, 1, 80, :_reduce_9, 1, 84, :_reduce_10, 3, 84, :_reduce_11, 1, 84, :_reduce_12, 1, 87, :_reduce_13, 3, 87, :_reduce_14, 1, 87, :_reduce_15, 1, 89, :_reduce_16, 3, 89, :_reduce_17, 1, 89, :_reduce_18, 1, 91, :_reduce_19, 1, 91, :_reduce_20, 3, 91, :_reduce_21, 3, 91, :_reduce_22, 1, 91, :_reduce_23, 0, 94, :_reduce_24, 2, 94, :_reduce_25, 1, 86, :_reduce_26, 2, 88, :_reduce_27, 2, 90, :_reduce_28, 3, 92, :_reduce_29, 4, 93, :_reduce_30, 0, 81, :_reduce_31, 3, 81, :_reduce_32, 6, 81, :_reduce_33, 0, 96, :_reduce_34, 1, 96, :_reduce_35, 0, 97, :_reduce_36, 3, 97, :_reduce_37, 1, 98, :_reduce_38, 3, 98, :_reduce_39, 1, 98, :_reduce_40, 1, 99, :_reduce_41, 3, 99, :_reduce_42, 1, 99, :_reduce_43, 0, 100, :_reduce_44, 1, 100, :_reduce_45, 1, 85, :_reduce_46, 4, 85, :_reduce_47, 1, 85, :_reduce_48, 1, 85, :_reduce_49, 1, 85, :_reduce_50, 1, 85, :_reduce_51, 1, 85, :_reduce_52, 1, 85, :_reduce_53, 1, 85, :_reduce_54, 1, 85, :_reduce_55, 1, 85, :_reduce_56, 2, 85, :_reduce_57, 1, 85, :_reduce_58, 1, 85, :_reduce_59, 1, 85, :_reduce_60, 1, 85, :_reduce_61, 3, 85, :_reduce_62, 3, 83, :_reduce_63, 1, 83, :_reduce_none, 1, 102, :_reduce_65, 1, 102, :_reduce_66, 1, 102, :_reduce_67, 1, 101, :_reduce_none, 4, 101, :_reduce_69, 3, 101, :_reduce_70, 0, 105, :_reduce_71, 1, 105, :_reduce_72, 1, 105, :_reduce_73, 1, 78, :_reduce_none, 1, 78, :_reduce_75, 6, 78, :_reduce_76, 1, 107, :_reduce_none, 1, 107, :_reduce_78, 3, 107, :_reduce_79, 0, 108, :_reduce_80, 2, 108, :_reduce_81, 2, 108, :_reduce_82, 4, 108, :_reduce_83, 1, 103, :_reduce_84, 3, 103, :_reduce_85, 3, 106, :_reduce_86, 3, 106, :_reduce_87, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 1, 95, :_reduce_none, 0, 76, :_reduce_100, 2, 76, :_reduce_101, 2, 76, :_reduce_102, 2, 76, :_reduce_103, 2, 76, :_reduce_104, 2, 76, :_reduce_105, 2, 76, :_reduce_106, 2, 76, :_reduce_107, 3, 114, :_reduce_108, 3, 113, :_reduce_109, 5, 109, :_reduce_110, 6, 110, :_reduce_111, 6, 111, :_reduce_112, 8, 112, :_reduce_113, 5, 115, :_reduce_114, 0, 120, :_reduce_115, 2, 120, :_reduce_116, 1, 116, :_reduce_none, 1, 104, :_reduce_none, 2, 104, :_reduce_119, 1, 121, :_reduce_120, 3, 121, :_reduce_121, 0, 119, :_reduce_122, 2, 119, :_reduce_123, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 1, 122, :_reduce_none, 3, 128, :_reduce_132, 5, 123, :_reduce_133, 7, 124, :_reduce_134, 7, 125, :_reduce_135, 2, 126, :_reduce_136, 5, 126, :_reduce_137, 2, 127, :_reduce_138, 5, 127, :_reduce_139, 5, 129, :_reduce_140, 5, 130, :_reduce_141, 0, 134, :_reduce_142, 2, 134, :_reduce_143, 3, 134, :_reduce_144, 0, 131, :_reduce_145, 3, 131, :_reduce_146, 1, 135, :_reduce_147, 3, 135, :_reduce_148, 1, 136, :_reduce_149, 1, 136, :_reduce_150, 0, 118, :_reduce_151, 2, 118, :_reduce_152, 1, 137, :_reduce_153, 4, 137, :_reduce_154, 0, 79, :_reduce_155, 3, 79, :_reduce_156, 1, 138, :_reduce_157, 3, 138, :_reduce_158, 0, 117, :_reduce_159, 2, 117, :_reduce_160, 4, 139, :_reduce_161, 1, 133, :_reduce_162, 3, 133, :_reduce_163, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_none, 1, 132, :_reduce_172, 2, 132, :_reduce_173, 2, 132, :_reduce_174, 2, 132, :_reduce_175, 2, 132, :_reduce_176, 2, 132, :_reduce_177, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_200, 1, 140, :_reduce_201, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 1, 140, :_reduce_none, 5, 77, :_reduce_205, 5, 77, :_reduce_206, 4, 77, :_reduce_207, 4, 77, :_reduce_208, 4, 77, :_reduce_209, 5, 77, :_reduce_210, 4, 77, :_reduce_211, 4, 77, :_reduce_212, 5, 77, :_reduce_213, 3, 77, :_reduce_214, 2, 77, :_reduce_215, 4, 77, :_reduce_216, 3, 142, :_reduce_217, 1, 142, :_reduce_218, 1, 143, :_reduce_219, 3, 143, :_reduce_220, 3, 143, :_reduce_221, 1, 141, :_reduce_222 ] racc_reduce_n = 223 racc_shift_n = 388 racc_token_table = { false => 0, :error => 1, :type_METHOD => 2, :type_SIGNATURE => 3, :type_ANNOTATION => 4, :type_TYPE => 5, :ARROW => 6, :LPAREN => 7, :RPAREN => 8, :COMMA => 9, :STAR2 => 10, :QUESTION => 11, :STAR => 12, :COLON => 13, :LBRACE => 14, :RBRACE => 15, :LT => 16, :GT => 17, :ANY => 18, :TVAR => 19, :CLASS => 20, :MODULE => 21, :INSTANCE => 22, :SELF => 23, :VOID => 24, :NIL => 25, :BOOL => 26, :SELFQ => 27, :INT => 28, :STRING => 29, :SYMBOL => 30, :LBRACKET => 31, :RBRACKET => 32, :INTERFACE_NAME => 33, :LIDENT => 34, :DOT => 35, :CONSTRUCTOR => 36, :NOCONSTRUCTOR => 37, :HAT => 38, :BAR => 39, :MODULE_NAME => 40, :BLOCK => 41, :INCLUDE => 42, :IVAR => 43, :TYPE => 44, :GVAR => 45, :INTERFACE => 46, :END => 47, :EXTENSION => 48, :UIDENT => 49, :EQ => 50, :COLON2 => 51, :IVAR_NAME => 52, :DEF => 53, :EXTEND => 54, :ATTR_READER => 55, :ATTR_ACCESSOR => 56, :INCOMPATIBLE => 57, :LTCOLON => 58, :PERCENT => 59, :MINUS => 60, :UMINUS => 61, :BANG => 62, :PLUS => 63, :OPERATOR => 64, :BREAK => 65, :METHOD => 66, :AT_TYPE => 67, :VAR => 68, :RETURN => 69, :CONST => 70, :AT_IMPLEMENTS => 71, :AT_DYNAMIC => 72 } racc_nt_base = 73 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", "type_METHOD", "type_SIGNATURE", "type_ANNOTATION", "type_TYPE", "ARROW", "LPAREN", "RPAREN", "COMMA", "STAR2", "QUESTION", "STAR", "COLON", "LBRACE", "RBRACE", "LT", "GT", "ANY", "TVAR", "CLASS", "MODULE", "INSTANCE", "SELF", "VOID", "NIL", "BOOL", "SELFQ", "INT", "STRING", "SYMBOL", "LBRACKET", "RBRACKET", "INTERFACE_NAME", "LIDENT", "DOT", "CONSTRUCTOR", "NOCONSTRUCTOR", "HAT", "BAR", "MODULE_NAME", "BLOCK", "INCLUDE", "IVAR", "TYPE", "GVAR", "INTERFACE", "END", "EXTENSION", "UIDENT", "EQ", "COLON2", "IVAR_NAME", "DEF", "EXTEND", "ATTR_READER", "ATTR_ACCESSOR", "INCOMPATIBLE", "LTCOLON", "PERCENT", "MINUS", "UMINUS", "BANG", "PLUS", "OPERATOR", "BREAK", "METHOD", "AT_TYPE", "VAR", "RETURN", "CONST", "AT_IMPLEMENTS", "AT_DYNAMIC", "$start", "target", "method_type", "signatures", "annotation", "type", "type_params", "params", "block_opt", "return_type", "paren_type", "params0", "simple_type", "required_param", "params1", "optional_param", "params2", "rest_param", "params3", "required_keyword", "optional_keyword", "params4", "keyword", "block_optional", "block_params", "block_params0", "block_params1", "block_params2", "type_name", "application_type_name", "type_seq", "module_name", "constructor", "union_seq", "lambda_params", "lambda_params1", "interface", "class_decl", "module_decl", "extension_decl", "const_decl", "gvar_decl", "alias_decl", "interface_name", "interface_members", "super_opt", "class_members", "self_type_opt", "module_name0", "class_member", "instance_method_member", "module_method_member", "module_instance_method_member", "include_member", "extend_member", "ivar_member", "attr_reader_member", "attr_accessor_member", "method_annotations", "method_name", "method_type_union", "attr_ivar_opt", "method_annotation_seq", "method_annotation_keyword", "super_class", "type_param_seq", "interface_method", "method_name0", "subject", "dynamic_names", "dynamic_name" ] Racc_debug_parser = false ##### State transition tables end ##### # reduce 0 omitted module_eval(<<'.,.,', 'parser.y', 6) def _reduce_1(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 7) def _reduce_2(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 8) def _reduce_3(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 9) def _reduce_4(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 13) def _reduce_5(val, _values, result) result = AST::MethodType.new(location: AST::Location.concat(*val.compact.map(&:location)), type_params: val[0], params: val[1]&.value, block: val[2], return_type: val[4]) result end .,., # reduce 6 omitted module_eval(<<'.,.,', 'parser.y', 22) def _reduce_7(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 23) def _reduce_8(val, _values, result) result = LocatedValue.new(location: val[0].location + val[2].location, value: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 25) def _reduce_9(val, _values, result) result = LocatedValue.new(location: val[0].location, value: AST::MethodType::Params::Required.new(location: val[0].location, type: val[0])) result end .,., module_eval(<<'.,.,', 'parser.y', 28) def _reduce_10(val, _values, result) result = AST::MethodType::Params::Required.new(location: val[0].location, type: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 30) def _reduce_11(val, _values, result) location = val[0].location result = AST::MethodType::Params::Required.new(location: location, type: val[0], next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 35) def _reduce_12(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 37) def _reduce_13(val, _values, result) result = AST::MethodType::Params::Optional.new(location: val[0].first, type: val[0].last) result end .,., module_eval(<<'.,.,', 'parser.y', 39) def _reduce_14(val, _values, result) location = val[0].first result = AST::MethodType::Params::Optional.new(type: val[0].last, location: location, next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 42) def _reduce_15(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 44) def _reduce_16(val, _values, result) result = AST::MethodType::Params::Rest.new(location: val[0].first, type: val[0].last) result end .,., module_eval(<<'.,.,', 'parser.y', 46) def _reduce_17(val, _values, result) loc = val[0].first result = AST::MethodType::Params::Rest.new(location: loc, type: val[0].last, next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 49) def _reduce_18(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 52) def _reduce_19(val, _values, result) location, name, type = val[0] result = AST::MethodType::Params::RequiredKeyword.new(location: location, name: name, type: type) result end .,., module_eval(<<'.,.,', 'parser.y', 56) def _reduce_20(val, _values, result) location, name, type = val[0] result = AST::MethodType::Params::OptionalKeyword.new(location: location, name: name, type: type) result end .,., module_eval(<<'.,.,', 'parser.y', 60) def _reduce_21(val, _values, result) location, name, type = val[0] result = AST::MethodType::Params::RequiredKeyword.new(location: location, name: name, type: type, next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 67) def _reduce_22(val, _values, result) location, name, type = val[0] result = AST::MethodType::Params::OptionalKeyword.new(location: location, name: name, type: type, next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 73) def _reduce_23(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 75) def _reduce_24(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 77) def _reduce_25(val, _values, result) result = AST::MethodType::Params::RestKeyword.new(location: val[0].location + val[1].location, type: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 81) def _reduce_26(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 82) def _reduce_27(val, _values, result) result = [val[0].location + val[1].location, val[1]] result end .,., module_eval(<<'.,.,', 'parser.y', 84) def _reduce_28(val, _values, result) result = [val[0].location + val[1].location, val[1]] result end .,., module_eval(<<'.,.,', 'parser.y', 86) def _reduce_29(val, _values, result) result = [val[0].location + val[2].location, val[0].value, val[2]] result end .,., module_eval(<<'.,.,', 'parser.y', 89) def _reduce_30(val, _values, result) result = [val[0].location + val[3].location, val[1].value, val[3]] result end .,., module_eval(<<'.,.,', 'parser.y', 93) def _reduce_31(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 95) def _reduce_32(val, _values, result) result = AST::MethodType::Block.new(params: nil, return_type: nil, location: (val[0] || val[1]).location + val[2].location, optional: val[0]&.value || false) result end .,., module_eval(<<'.,.,', 'parser.y', 101) def _reduce_33(val, _values, result) result = AST::MethodType::Block.new(params: val[2], return_type: val[4], location: (val[0] || val[1]).location + val[5].location, optional: val[0]&.value || false) result end .,., module_eval(<<'.,.,', 'parser.y', 107) def _reduce_34(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 108) def _reduce_35(val, _values, result) result = LocatedValue.new(location: val[0].location, value: true) result end .,., module_eval(<<'.,.,', 'parser.y', 110) def _reduce_36(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 112) def _reduce_37(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 116) def _reduce_38(val, _values, result) result = AST::MethodType::Params::Required.new(location: val[0].location, type: val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 120) def _reduce_39(val, _values, result) result = AST::MethodType::Params::Required.new(location: val[0].location, type: val[0], next_params: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 124) def _reduce_40(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 127) def _reduce_41(val, _values, result) result = AST::MethodType::Params::Optional.new(location: val[0].first, type: val[0].last) result end .,., module_eval(<<'.,.,', 'parser.y', 131) def _reduce_42(val, _values, result) loc = val.first[0] + (val[2] || val[1]).location type = val.first[1] next_params = val[2] result = AST::MethodType::Params::Optional.new(location: loc, type: type, next_params: next_params) result end .,., module_eval(<<'.,.,', 'parser.y', 136) def _reduce_43(val, _values, result) result = val[0] result end .,., module_eval(<<'.,.,', 'parser.y', 138) def _reduce_44(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 140) def _reduce_45(val, _values, result) result = AST::MethodType::Params::Rest.new(location: val[0].first, type: val[0].last) result end .,., module_eval(<<'.,.,', 'parser.y', 144) def _reduce_46(val, _values, result) result = AST::Types::Name.new(name: val[0].value, location: val[0].location, args: []) result end .,., module_eval(<<'.,.,', 'parser.y', 147) def _reduce_47(val, _values, result) loc = val[0].location + val[3].location name = val[0].value args = val[2] result = AST::Types::Name.new(location: loc, name: name, args: args) result end .,., module_eval(<<'.,.,', 'parser.y', 152) def _reduce_48(val, _values, result) result = AST::Types::Any.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 153) def _reduce_49(val, _values, result) result = AST::Types::Var.new(location: val[0].location, name: val[0].value) result end .,., module_eval(<<'.,.,', 'parser.y', 154) def _reduce_50(val, _values, result) result = AST::Types::Class.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 155) def _reduce_51(val, _values, result) result = AST::Types::Class.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 156) def _reduce_52(val, _values, result) result = AST::Types::Instance.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 157) def _reduce_53(val, _values, result) result = AST::Types::Self.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 158) def _reduce_54(val, _values, result) result = AST::Types::Void.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 159) def _reduce_55(val, _values, result) result = AST::Types::Nil.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 160) def _reduce_56(val, _values, result) result = AST::Types::Boolean.new(location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 162) def _reduce_57(val, _values, result) type = val[0] nil_type = AST::Types::Nil.new(location: val[1].location) result = AST::Types::Union.build(types: [type, nil_type], location: val[0].location + val[1].location) result end .,., module_eval(<<'.,.,', 'parser.y', 167) def _reduce_58(val, _values, result) type = AST::Types::Self.new(location: val[0].location) nil_type = AST::Types::Nil.new(location: val[0].location) result = AST::Types::Union.build(types: [type, nil_type], location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 171) def _reduce_59(val, _values, result) result = AST::Types::Literal.new(value: val[0].value, location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 172) def _reduce_60(val, _values, result) result = AST::Types::Literal.new(value: val[0].value, location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 173) def _reduce_61(val, _values, result) result = AST::Types::Literal.new(value: val[0].value, location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 175) def _reduce_62(val, _values, result) loc = val[0].location + val[2].location result = AST::Types::Tuple.new(types: val[1], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 179) def _reduce_63(val, _values, result) result = val[1].with_location(val[0].location + val[2].location) result end .,., # reduce 64 omitted module_eval(<<'.,.,', 'parser.y', 183) def _reduce_65(val, _values, result) result = LocatedValue.new(value: TypeName::Instance.new(name: val[0].value), location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 187) def _reduce_66(val, _values, result) result = LocatedValue.new(value: TypeName::Interface.new(name: val[0].value), location: val[0].location) result end .,., module_eval(<<'.,.,', 'parser.y', 191) def _reduce_67(val, _values, result) result = LocatedValue.new(value: TypeName::Alias.new(name: val[0].value), location: val[0].location) result end .,., # reduce 68 omitted module_eval(<<'.,.,', 'parser.y', 197) def _reduce_69(val, _values, result) loc = val[0].location + (val[3] || val[2]).location result = LocatedValue.new(value: TypeName::Class.new(name: val[0].value, constructor: val[3]&.value), location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 202) def _reduce_70(val, _values, result) loc = val[0].location + val.last.location result = LocatedValue.new(value: TypeName::Module.new(name: val[0].value), location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 207) def _reduce_71(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 208) def _reduce_72(val, _values, result) result = LocatedValue.new(location: val[0].location, value: true) result end .,., module_eval(<<'.,.,', 'parser.y', 209) def _reduce_73(val, _values, result) result = LocatedValue.new(location: val[0].location, value: false) result end .,., # reduce 74 omitted module_eval(<<'.,.,', 'parser.y', 213) def _reduce_75(val, _values, result) loc = val[0].first.location + val[0].last.location result = AST::Types::Union.build(types: val[0], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 217) def _reduce_76(val, _values, result) loc = val[0].location + val[5].location result = AST::Types::Proc.new(params: val[2], return_type: val[5], location: loc) result end .,., # reduce 77 omitted module_eval(<<'.,.,', 'parser.y', 222) def _reduce_78(val, _values, result) result = Interface::Params.empty.update(required: [val[0]]) result end .,., module_eval(<<'.,.,', 'parser.y', 224) def _reduce_79(val, _values, result) result = val[2].update(required: [val[0]] + val[2].required) result end .,., module_eval(<<'.,.,', 'parser.y', 227) def _reduce_80(val, _values, result) result = Interface::Params.empty result end .,., module_eval(<<'.,.,', 'parser.y', 228) def _reduce_81(val, _values, result) result = Interface::Params.empty.update(rest: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 229) def _reduce_82(val, _values, result) result = Interface::Params.empty.update(optional: [val[1]]) result end .,., module_eval(<<'.,.,', 'parser.y', 230) def _reduce_83(val, _values, result) result = val[3].update(optional: [val[1]] + val[3].optional) result end .,., module_eval(<<'.,.,', 'parser.y', 233) def _reduce_84(val, _values, result) result = [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 234) def _reduce_85(val, _values, result) result = [val[0]] + val[2] result end .,., module_eval(<<'.,.,', 'parser.y', 236) def _reduce_86(val, _values, result) result = [val[0], val[2]] result end .,., module_eval(<<'.,.,', 'parser.y', 237) def _reduce_87(val, _values, result) result = [val[0]] + val[2] result end .,., # reduce 88 omitted # reduce 89 omitted # reduce 90 omitted # reduce 91 omitted # reduce 92 omitted # reduce 93 omitted # reduce 94 omitted # reduce 95 omitted # reduce 96 omitted # reduce 97 omitted # reduce 98 omitted # reduce 99 omitted module_eval(<<'.,.,', 'parser.y', 252) def _reduce_100(val, _values, result) result = [] result end .,., module_eval(<<'.,.,', 'parser.y', 253) def _reduce_101(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 254) def _reduce_102(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 255) def _reduce_103(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 256) def _reduce_104(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 257) def _reduce_105(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 258) def _reduce_106(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 259) def _reduce_107(val, _values, result) result = [val[0]] + val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 262) def _reduce_108(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Gvar.new( location: loc, name: val[0].value, type: val[2] ) result end .,., module_eval(<<'.,.,', 'parser.y', 271) def _reduce_109(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Const.new( location: loc, name: val[0].value, type: val[2] ) result end .,., module_eval(<<'.,.,', 'parser.y', 280) def _reduce_110(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Interface.new( location: loc, name: val[1].value, params: val[2], methods: val[3] ) result end .,., module_eval(<<'.,.,', 'parser.y', 290) def _reduce_111(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Class.new(name: val[1].value.absolute!, params: val[2], super_class: val[3], members: val[4], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 298) def _reduce_112(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Module.new(name: val[1].value.absolute!, location: loc, params: val[2], self_type: val[3], members: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 306) def _reduce_113(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Extension.new(module_name: val[1].value.absolute!, name: val[4].value, location: loc, params: val[2], members: val[6]) result end .,., module_eval(<<'.,.,', 'parser.y', 315) def _reduce_114(val, _values, result) loc = val[0].location + val[4].location result = AST::Signature::Alias.new(location: loc, name: val[1].value, params: val[2], type: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 322) def _reduce_115(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 323) def _reduce_116(val, _values, result) result = val[1] result end .,., # reduce 117 omitted # reduce 118 omitted module_eval(<<'.,.,', 'parser.y', 329) def _reduce_119(val, _values, result) loc = val.first.location + val.last.location result = LocatedValue.new(location: loc, value: val[1].value.absolute!) result end .,., module_eval(<<'.,.,', 'parser.y', 334) def _reduce_120(val, _values, result) result = LocatedValue.new(location: val[0].location, value: ModuleName.parse(val[0].value)) result end .,., module_eval(<<'.,.,', 'parser.y', 337) def _reduce_121(val, _values, result) location = val[0].location + val.last.location name = ModuleName.parse(val[0].value) + val.last.value result = LocatedValue.new(location: location, value: name) result end .,., module_eval(<<'.,.,', 'parser.y', 342) def _reduce_122(val, _values, result) result = [] result end .,., module_eval(<<'.,.,', 'parser.y', 343) def _reduce_123(val, _values, result) result = [val[0]] + val[1] result end .,., # reduce 124 omitted # reduce 125 omitted # reduce 126 omitted # reduce 127 omitted # reduce 128 omitted # reduce 129 omitted # reduce 130 omitted # reduce 131 omitted module_eval(<<'.,.,', 'parser.y', 355) def _reduce_132(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Members::Ivar.new( location: loc, name: val[0].value, type: val[2] ) result end .,., module_eval(<<'.,.,', 'parser.y', 364) def _reduce_133(val, _values, result) loc = val.first.location + val.last.last.location result = AST::Signature::Members::Method.new( name: val[2].value, types: val[4], kind: :instance, location: loc, attributes: val[1] || [] ) result end .,., module_eval(<<'.,.,', 'parser.y', 374) def _reduce_134(val, _values, result) loc = val.first.location + val.last.last.location result = AST::Signature::Members::Method.new( name: val[4].value, types: val[6], kind: :module, location: loc, attributes: val[1] || [] ) result end .,., module_eval(<<'.,.,', 'parser.y', 384) def _reduce_135(val, _values, result) loc = val.first.location + val.last.last.location result = AST::Signature::Members::Method.new( name: val[4].value, types: val[6], kind: :module_instance, location: loc, attributes: val[1] || [] ) result end .,., module_eval(<<'.,.,', 'parser.y', 394) def _reduce_136(val, _values, result) loc = val.first.location + val.last.location name = val[1].value result = AST::Signature::Members::Include.new(name: name, location: loc, args: []) result end .,., module_eval(<<'.,.,', 'parser.y', 399) def _reduce_137(val, _values, result) loc = val.first.location + val.last.location name = val[1].value result = AST::Signature::Members::Include.new(name: name, location: loc, args: val[3]) result end .,., module_eval(<<'.,.,', 'parser.y', 404) def _reduce_138(val, _values, result) loc = val.first.location + val.last.location name = val[1].value result = AST::Signature::Members::Extend.new(name: name, location: loc, args: []) result end .,., module_eval(<<'.,.,', 'parser.y', 409) def _reduce_139(val, _values, result) loc = val.first.location + val.last.location name = val[1].value result = AST::Signature::Members::Extend.new(name: name, location: loc, args: val[3]) result end .,., module_eval(<<'.,.,', 'parser.y', 414) def _reduce_140(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Members::Attr.new(location: loc, name: val[1].value, kind: :reader, ivar: val[2], type: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 418) def _reduce_141(val, _values, result) loc = val.first.location + val.last.location result = AST::Signature::Members::Attr.new(location: loc, name: val[1].value, kind: :accessor, ivar: val[2], type: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 422) def _reduce_142(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 423) def _reduce_143(val, _values, result) result = false result end .,., module_eval(<<'.,.,', 'parser.y', 424) def _reduce_144(val, _values, result) result = val[1].value result end .,., module_eval(<<'.,.,', 'parser.y', 426) def _reduce_145(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 427) def _reduce_146(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 429) def _reduce_147(val, _values, result) result = [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 430) def _reduce_148(val, _values, result) result = [val[0]] + val[2] result end .,., module_eval(<<'.,.,', 'parser.y', 432) def _reduce_149(val, _values, result) result = val[0].value result end .,., module_eval(<<'.,.,', 'parser.y', 433) def _reduce_150(val, _values, result) result = val[0].value result end .,., module_eval(<<'.,.,', 'parser.y', 435) def _reduce_151(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 436) def _reduce_152(val, _values, result) result = val[1] result end .,., module_eval(<<'.,.,', 'parser.y', 439) def _reduce_153(val, _values, result) result = AST::Signature::SuperClass.new(location: val[0].location, name: val[0].value, args: []) result end .,., module_eval(<<'.,.,', 'parser.y', 442) def _reduce_154(val, _values, result) loc = val[0].location + val[3].location name = val[0].value result = AST::Signature::SuperClass.new(location: loc, name: name, args: val[2]) result end .,., module_eval(<<'.,.,', 'parser.y', 447) def _reduce_155(val, _values, result) result = nil result end .,., module_eval(<<'.,.,', 'parser.y', 449) def _reduce_156(val, _values, result) location = val[0].location + val[2].location result = AST::TypeParams.new(location: location, variables: val[1]) result end .,., module_eval(<<'.,.,', 'parser.y', 453) def _reduce_157(val, _values, result) result = [val[0].value] result end .,., module_eval(<<'.,.,', 'parser.y', 454) def _reduce_158(val, _values, result) result = [val[0].value] + val[2] result end .,., module_eval(<<'.,.,', 'parser.y', 456) def _reduce_159(val, _values, result) result = [] result end .,., module_eval(<<'.,.,', 'parser.y', 457) def _reduce_160(val, _values, result) result = val[1].unshift(val[0]) result end .,., module_eval(<<'.,.,', 'parser.y', 460) def _reduce_161(val, _values, result) loc = val[0].location + val[3].last.location result = AST::Signature::Interface::Method.new(location: loc, name: val[1].value, types: val[3]) result end .,., module_eval(<<'.,.,', 'parser.y', 464) def _reduce_162(val, _values, result) result = [val[0]] result end .,., module_eval(<<'.,.,', 'parser.y', 465) def _reduce_163(val, _values, result) result = [val[0]] + val[2] result end .,., # reduce 164 omitted # reduce 165 omitted # reduce 166 omitted # reduce 167 omitted # reduce 168 omitted # reduce 169 omitted # reduce 170 omitted # reduce 171 omitted module_eval(<<'.,.,', 'parser.y', 472) def _reduce_172(val, _values, result) result = LocatedValue.new(location: val[0].location, value: :|) result end .,., module_eval(<<'.,.,', 'parser.y', 474) def _reduce_173(val, _values, result) raise ParseError, "\nunexpected method name #{val[0].to_s} =" unless val[0].location.pred?(val[1].location) result = LocatedValue.new(location: val[0].location + val[1].location, value: :"#{val[0].value}=") result end .,., module_eval(<<'.,.,', 'parser.y', 479) def _reduce_174(val, _values, result) raise ParseError, "\nunexpected method name #{val[0].to_s} ?" unless val[0].location.pred?(val[1].location) result = LocatedValue.new(location: val[0].location + val[1].location, value: :"#{val[0].value}?") result end .,., module_eval(<<'.,.,', 'parser.y', 484) def _reduce_175(val, _values, result) raise ParseError, "\nunexpected method name #{val[0].to_s} !" unless val[0].location.pred?(val[1].location) result = LocatedValue.new(location: val[0].location + val[1].location, value: :"#{val[0].value}!") result end .,., module_eval(<<'.,.,', 'parser.y', 489) def _reduce_176(val, _values, result) raise ParseError, "\nunexpected method name > >" unless val[0].location.pred?(val[1].location) result = LocatedValue.new(location: val[0].location + val[1].location, value: :>>) result end .,., module_eval(<<'.,.,', 'parser.y', 493) def _reduce_177(val, _values, result) raise ParseError, "\nunexpected method name #{val[0].to_s} ?" unless val[0].location.pred?(val[1].location) result = LocatedValue.new(location: val[0].location + val[1].location, value: :"nil?") result end .,., # reduce 178 omitted # reduce 179 omitted # reduce 180 omitted # reduce 181 omitted # reduce 182 omitted # reduce 183 omitted # reduce 184 omitted # reduce 185 omitted # reduce 186 omitted # reduce 187 omitted # reduce 188 omitted # reduce 189 omitted # reduce 190 omitted # reduce 191 omitted # reduce 192 omitted # reduce 193 omitted # reduce 194 omitted # reduce 195 omitted # reduce 196 omitted # reduce 197 omitted # reduce 198 omitted # reduce 199 omitted module_eval(<<'.,.,', 'parser.y', 519) def _reduce_200(val, _values, result) result = LocatedValue.new(location: val[0].location, value: :constructor) result end .,., module_eval(<<'.,.,', 'parser.y', 520) def _reduce_201(val, _values, result) result = LocatedValue.new(location: val[0].location, value: :noconstructor) result end .,., # reduce 202 omitted # reduce 203 omitted # reduce 204 omitted module_eval(<<'.,.,', 'parser.y', 526) def _reduce_205(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::VarType.new(location: loc, name: val[2].value, type: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 532) def _reduce_206(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::MethodType.new(location: loc, name: val[2].value, type: val[4]) result end .,., module_eval(<<'.,.,', 'parser.y', 538) def _reduce_207(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::ReturnType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 542) def _reduce_208(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::BlockType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 546) def _reduce_209(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::SelfType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 550) def _reduce_210(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::ConstType.new(name: val[2].value, type: val[4], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 556) def _reduce_211(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::InstanceType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 560) def _reduce_212(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::ModuleType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 564) def _reduce_213(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::IvarType.new(name: val[2].value, type: val[4], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 568) def _reduce_214(val, _values, result) loc = val[0].location + (val[2]&.location || val[1].location) args = val[2]&.variables || [] name = AST::Annotation::Implements::Module.new(name: val[1].value, args: args) result = AST::Annotation::Implements.new(name: name, location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 574) def _reduce_215(val, _values, result) loc = val[0].location + val[1].last.location result = AST::Annotation::Dynamic.new(names: val[1], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 578) def _reduce_216(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::BreakType.new(type: val[3], location: loc) result end .,., module_eval(<<'.,.,', 'parser.y', 582) def _reduce_217(val, _values, result) result = [val[0]] + val[2] result end .,., module_eval(<<'.,.,', 'parser.y', 583) def _reduce_218(val, _values, result) result = val result end .,., module_eval(<<'.,.,', 'parser.y', 586) def _reduce_219(val, _values, result) result = AST::Annotation::Dynamic::Name.new(name: val[0].value, location: val[0].location, kind: :instance) result end .,., module_eval(<<'.,.,', 'parser.y', 589) def _reduce_220(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::Dynamic::Name.new(name: val[2].value, location: loc, kind: :module) result end .,., module_eval(<<'.,.,', 'parser.y', 593) def _reduce_221(val, _values, result) loc = val.first.location + val.last.location result = AST::Annotation::Dynamic::Name.new(name: val[2].value, location: loc, kind: :module_instance) result end .,., module_eval(<<'.,.,', 'parser.y', 597) def _reduce_222(val, _values, result) result = val[0] result end .,., def _reduce_none(val, _values, result) val[0] end end # class Parser end # module Steep