class YARD::Parser::Ruby::RubyParser
@!attribute [r] enumerator
@!attribute [r] shebang_line
@!attribute [r] frozen_string_line
@!attribute [r] encoding_line
Ruby 1.9 parser
def encoding_line; @parser.encoding_line end
def encoding_line; @parser.encoding_line end
def enumerator; @parser.enumerator end
def enumerator; @parser.enumerator end
def frozen_string_line; @parser.frozen_string_line end
def frozen_string_line; @parser.frozen_string_line end
def initialize(source, filename)
def initialize(source, filename) @parser = RipperParser.new(source, filename) end
def parse; @parser.parse end
def parse; @parser.parse end
def shebang_line; @parser.shebang_line end
def shebang_line; @parser.shebang_line end
def tokenize; @parser.tokens end
def tokenize; @parser.tokens end