Class: YARD::Parser::C::ToplevelStatement

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

#blockObject

Returns the value of attribute block.



46
47
48
# File 'lib/yard/parser/c/statement.rb', line 46

def block
  @block
end

#commentsObject

Returns the value of attribute comments.



48
49
50
# File 'lib/yard/parser/c/statement.rb', line 48

def comments
  @comments
end

#declarationObject

Returns the value of attribute declaration.



47
48
49
# File 'lib/yard/parser/c/statement.rb', line 47

def declaration
  @declaration
end