Class: Parser::Source::Map::Heredoc
- Inherits:
-
Parser::Source::Map
show all
- Defined in:
- lib/parser/source/map/heredoc.rb
Instance Attribute Summary (collapse)
#expression, #node
Instance Method Summary
(collapse)
#==, #column, #line, #to_hash
Constructor Details
- (Heredoc) initialize(begin_l, body_l, end_l)
Returns a new instance of Heredoc
8
9
10
11
12
13
|
# File 'lib/parser/source/map/heredoc.rb', line 8
def initialize(begin_l, body_l, end_l)
@heredoc_body = body_l
@heredoc_end = end_l
super(begin_l)
end
|
Instance Attribute Details
- (Object) heredoc_body
5
6
7
|
# File 'lib/parser/source/map/heredoc.rb', line 5
def heredoc_body
@heredoc_body
end
|
- (Object) heredoc_end
6
7
8
|
# File 'lib/parser/source/map/heredoc.rb', line 6
def heredoc_end
@heredoc_end
end
|