Class: Peruby::Lexer::Heredoc
- Inherits:
-
Struct
- Object
- Struct
- Peruby::Lexer::Heredoc
- Defined in:
- lib/peruby/lexer/heredoc.rb
Overview
Mutable payload filled when the lexer reaches the line after a heredoc declaration.
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#interpolate ⇒ Object
Returns the value of attribute interpolate.
-
#terminator ⇒ Object
Returns the value of attribute terminator.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
6 7 8 |
# File 'lib/peruby/lexer/heredoc.rb', line 6 def body @body end |
#indent ⇒ Object
Returns the value of attribute indent
6 7 8 |
# File 'lib/peruby/lexer/heredoc.rb', line 6 def indent @indent end |
#interpolate ⇒ Object
Returns the value of attribute interpolate
6 7 8 |
# File 'lib/peruby/lexer/heredoc.rb', line 6 def interpolate @interpolate end |
#terminator ⇒ Object
Returns the value of attribute terminator
6 7 8 |
# File 'lib/peruby/lexer/heredoc.rb', line 6 def terminator @terminator end |