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
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 13 def initialize(source, filename) @parser = RipperParser.new(source, filename) end
Public Instance Methods
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 21 def encoding_line; @parser.encoding_line end
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 19 def enumerator; @parser.enumerator end
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 22 def frozen_string_line; @parser.frozen_string_line end
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 20 def shebang_line; @parser.shebang_line end
Source
# File lib/yard/parser/ruby/ruby_parser.rb, line 18 def tokenize; @parser.tokens end