Class: RubyNext::Language::Builder

Inherits:
Parser::Builders::Default
  • Object
show all
Includes:
BuilderExt
Defined in:
lib/ruby-next/language/parser.rb

Instance Method Summary collapse

Methods included from BuilderExt

#match_pattern, #match_pattern_p

Instance Method Details

#check_reserved_for_numparam(name, loc) ⇒ Object



30
31
32
33
# File 'lib/ruby-next/language/parser.rb', line 30

def check_reserved_for_numparam(name, loc)
  # We don't want to raise SyntaxError, 'cause we want to use _x vars for older Rubies.
  # The exception should be raised by Ruby itself for versions supporting numbered parameters
end