Class: YARD::Parser::C::Comment
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Statement
|
|
Instance Chain:
self,
CommentParser ,
Statement
|
|
Inherits: |
YARD::Parser::C::Statement
|
Defined in: | lib/yard/parser/c/statement.rb |
Class Method Summary
Instance Attribute Summary
- #overrides rw
- #statement rw
- #type rw
Statement
- Inherited
Instance Method Summary
CommentParser
- Included
Statement
- Inherited
#comments_range, #first_line, #line_range, #show, | |
#signature | Alias for Statement#first_line. |
Constructor Details
.new(source, file = nil, line = nil) ⇒ Comment
# 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