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

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

Instance Attribute Summary collapse

Constructor Details

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

Instance Attribute Details

#blockObject

Returns the value of attribute block



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

def block
  @block
end

#commentsObject

Returns the value of attribute comments



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

def comments
  @comments
end

#comments_hash_flagObject Originally defined in class Statement

Returns the value of attribute comments_hash_flag

#declarationObject

Returns the value of attribute declaration



44
45
46
# File 'lib/yard/parser/c/statement.rb', line 44

def declaration
  @declaration
end

#fileObject Originally defined in class Statement

Returns the value of attribute file

#groupObject Originally defined in class Statement

Deprecated.

Groups are now defined by directives

#lineObject Originally defined in class Statement

Returns the value of attribute line

#sourceObject Originally defined in class Statement

Returns the value of attribute source