123456789_123456789_123456789_123456789_123456789_

Class: YARD::Parser::C::Comment

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Statement
Instance Chain:
Inherits: YARD::Parser::C::Statement
Defined in: lib/yard/parser/c/statement.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(source, file = nil, line = nil) ⇒ Comment

[ GitHub ]

  
# File 'lib/yard/parser/c/statement.rb', line 58

def initialize(source, file = nil, line = nil)
  super(parse_comments(source), file, line)
end

Instance Attribute Details

#overrides (rw)

[ GitHub ]

  
# File 'lib/yard/parser/c/statement.rb', line 55

attr_accessor :overrides

#statement (rw)

[ GitHub ]

  
# File 'lib/yard/parser/c/statement.rb', line 56

attr_accessor :statement

#type (rw)

[ GitHub ]

  
# File 'lib/yard/parser/c/statement.rb', line 54

attr_accessor :type

Instance Method Details

#comments

[ GitHub ]

  
# File 'lib/yard/parser/c/statement.rb', line 62

def comments; self end