class YARD::Parser::Ruby::RubyParser

Ruby 1.9 parser @!attribute [r] encoding_line @!attribute [r] frozen_string_line @!attribute [r] shebang_line @!attribute [r] enumerator

Public Class Methods

new(source, filename) click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 13
def initialize(source, filename)
  @parser = RipperParser.new(source, filename)
end

Public Instance Methods

encoding_line() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 21
def encoding_line; @parser.encoding_line end
enumerator() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 19
def enumerator; @parser.enumerator end
frozen_string_line() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 22
def frozen_string_line; @parser.frozen_string_line end
parse() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 17
def parse; @parser.parse end
shebang_line() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 20
def shebang_line; @parser.shebang_line end
tokenize() click to toggle source
# File lib/yard/parser/ruby/ruby_parser.rb, line 18
def tokenize; @parser.tokens end