Class: YARD::Parser::Ruby::CommentNode

Inherits:
AstNode show all
Defined in:
lib/yard/parser/ruby/ast_node.rb

Overview

Represents a lone comment block in source

Managing node state collapse

Constructor Details

This class inherits a constructor from YARD::Parser::Ruby::AstNode

Instance Method Details

#docstringObject Also known as: comments



480
# File 'lib/yard/parser/ruby/ast_node.rb', line 480

def docstring; first end

#docstring=(value) ⇒ Object



481
# File 'lib/yard/parser/ruby/ast_node.rb', line 481

def docstring=(value) end

#first_lineObject



485
# File 'lib/yard/parser/ruby/ast_node.rb', line 485

def first_line; "" end

#sourceObject



484
# File 'lib/yard/parser/ruby/ast_node.rb', line 484

def source; "" end