class Prism::LexCompat::Heredoc::PlainHeredoc
:nodoc:
the state that the heredoc was opened in.
order back into the token stream and set the state of the last token to
We need to keep them around so that we can insert them in the correct
Heredocs that are no dash or tilde heredocs are just a list of tokens.
:nodoc:
closes.
heredoc that should be appended onto the list of tokens when the heredoc
A heredoc in this case is a list of tokens that belong to the body of the
def <<(token)
def <<(token) tokens << token end
def initialize
def initialize @tokens = [] end
def to_a
def to_a tokens end