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

#block ⇒ Object

Returns the value of attribute block



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

def block
  @block
end

#comments ⇒ Object

Returns the value of attribute comments



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

def comments
  @comments
end

#comments_hash_flag ⇒ Object Originally defined in class Statement

Returns the value of attribute comments_hash_flag

#declaration ⇒ Object

Returns the value of attribute declaration



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

def declaration
  @declaration
end

#file ⇒ Object Originally defined in class Statement

Returns the value of attribute file

#group ⇒ Object Originally defined in class Statement

Deprecated.

Groups are now defined by directives

#line ⇒ Object Originally defined in class Statement

Returns the value of attribute line

#source ⇒ Object Originally defined in class Statement

Returns the value of attribute source