class RubyParser::Parser

Public Class Methods

inherited(x) click to toggle source
# File lib/ruby_parser.rb, line 53
def self.inherited x
  RubyParser::VERSIONS << x
end
version() click to toggle source
# File lib/ruby_parser.rb, line 61
def self.version
  @version ||= Parser > self && self.name[/(?:V|Ruby)(\d+)/, 1].to_i
end
version=(v) click to toggle source
# File lib/ruby_parser.rb, line 57
def self.version= v
   @version = v
end