class Prism::LexCompat::Heredoc::PlainHeredoc
Heredocs that are no dash or tilde heredocs are just a list of tokens. We need to keep them around so that we can insert them in the correct order back into the token stream and set the state of the last token to the state that the heredoc was opened in.
Attributes
tokens
[R]
Array[lex_compat_token]
:nodoc:
Public Class Methods
() → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/sig/generated/prism/lex_compat.rbs, line 74
def initialize: () -> void
: () -> void
Public Instance Methods
(lex_compat_token token) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/sig/generated/prism/lex_compat.rbs, line 77
def <<: (lex_compat_token token) -> void
: (lex_compat_token token) -> void