123456789_123456789_123456789_123456789_123456789_

Class: Parser::Source::Map::Heredoc

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Map
Instance Chain:
self, Map
Inherits: Map
  • Object
Defined in: lib/rubocop/ast/vendor/parser/source/map/heredoc.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(begin_l, body_l, end_l) ⇒ Heredoc

[ GitHub ]

  
# 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