Class: YARD::Parser::C::BodyStatement

Inherits:
Statement
  • Object
show all
Defined in:
lib/yard/parser/c/statement.rb

Instance Attribute Summary collapse

Attributes inherited from Statement

#comments_hash_flag, #file, #group, #line, #source

Method Summary

Methods inherited from Statement

#comments_range, #first_line, #initialize, #line_range, #show

Constructor Details

This class inherits a constructor from YARD::Parser::C::Statement

Instance Attribute Details

#commentsObject

Returns the value of attribute comments.



42
43
44
# File 'lib/yard/parser/c/statement.rb', line 42

def comments
  @comments
end