Ruby 1.9 parser @!attribute [r] #encoding_line @!attribute [r] #shebang_line @!attribute [r] enumerator
# File lib/yard/parser/ruby/ruby_parser.rb, line 11 def initialize(source, filename) @parser = RipperParser.new(source, filename) end
# File lib/yard/parser/ruby/ruby_parser.rb, line 19 def encoding_line; @parser.encoding_line end
# File lib/yard/parser/ruby/ruby_parser.rb, line 17 def enumerator; @parser.enumerator end
# File lib/yard/parser/ruby/ruby_parser.rb, line 15 def parse; @parser.parse end
# File lib/yard/parser/ruby/ruby_parser.rb, line 18 def shebang_line; @parser.shebang_line end
# File lib/yard/parser/ruby/ruby_parser.rb, line 16 def tokenize; @parser.tokens end