Method: YARD::Parser::Ruby::RipperParser#parse

Defined in:
lib/yard/parser/ruby/ruby_parser.rb

#parseObject

Since:

  • 0.5.6


48
49
50
51
52
53
54
55
# File 'lib/yard/parser/ruby/ruby_parser.rb', line 48

def parse
  @ast = super
  @ast.full_source = @source
  @ast.file = @file
  freeze_tree
  insert_comments
  self
end