123456789_123456789_123456789_123456789_123456789_

Class: Prism::Translation::Parser::Lexer::HeredocData

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • ::Object
Defined in: lib/prism/translation/parser/lexer.rb

Overview

Heredocs are complex and require us to keep track of a bit of info to refer to later

Instance Attribute Summary

  • #common_whitespace rw

    Heredocs are complex and require us to keep track of a bit of info to refer to later.

  • #identifier rw

    Heredocs are complex and require us to keep track of a bit of info to refer to later.

Instance Attribute Details

#common_whitespace (rw)

Heredocs are complex and require us to keep track of a bit of info to refer to later

[ GitHub ]

  
# File 'lib/prism/translation/parser/lexer.rb', line 211

HeredocData = Struct.new(:identifier, :common_whitespace, keyword_init: true)

#identifier (rw)

Heredocs are complex and require us to keep track of a bit of info to refer to later

[ GitHub ]

  
# File 'lib/prism/translation/parser/lexer.rb', line 211

HeredocData = Struct.new(:identifier, :common_whitespace, keyword_init: true)