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

- (Object) block

Returns the value of attribute block



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

def block
  @block
end

- (Object) comments

Returns the value of attribute comments



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

def comments
  @comments
end

- (Object) comments_hash_flag Originally defined in class Statement

Returns the value of attribute comments_hash_flag

- (Object) declaration

Returns the value of attribute declaration



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

def declaration
  @declaration
end

- (Object) file Originally defined in class Statement

Returns the value of attribute file

- (Object) group Originally defined in class Statement

Deprecated.

Groups are now defined by directives

- (Object) line Originally defined in class Statement

Returns the value of attribute line

- (Object) source Originally defined in class Statement

Returns the value of attribute source