class SyntaxTree::Parser

def on_heredoc_dedent(string, width)

on_heredoc_dedent: (StringContent string, Integer width) -> Heredoc
:call-seq:
def on_heredoc_dedent(string, width)
  heredoc = @heredocs[-1]
  @heredocs[-1] = Heredoc.new(
    beginning: heredoc.beginning,
    ending: heredoc.ending,
    dedent: width,
    parts: string.parts,
    location: heredoc.location
  )
end