Class: Parser::Source::Map::Heredoc
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Map
|
|
|
Instance Chain:
self,
Map
|
|
| Inherits: |
Map
|
| Defined in: | lib/rubocop/ast/vendor/parser/source/map/heredoc.rb |
Class Method Summary
- .new(begin_l, body_l, end_l) ⇒ Heredoc constructor
Instance Attribute Summary
- #heredoc_body readonly
- #heredoc_end readonly
Constructor Details
.new(begin_l, body_l, end_l) ⇒ Heredoc
# File 'lib/rubocop/ast/vendor/parser/source/map/heredoc.rb', line 10
def initialize(begin_l, body_l, end_l) @heredoc_body = body_l @heredoc_end = end_l super(begin_l) end
Instance Attribute Details
#heredoc_body (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/heredoc.rb', line 7
attr_reader :heredoc_body
#heredoc_end (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/heredoc.rb', line 8
attr_reader :heredoc_end