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

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

#parseObject

Since:

  • 0.5.6



37
38
39
40
41
42
43
44
# File 'lib/yard/parser/ruby/ruby_parser.rb', line 37

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