class SyntaxTree::Parser

def on_xstring_new

on_xstring_new: () -> XString
:call-seq:
def on_xstring_new
  heredoc = @heredocs[-1]
  location =
    if heredoc && heredoc.beginning.value.include?("`")
      heredoc.location
    else
      consume_token(Backtick).location
    end
  XString.new(parts: [], location: location)
end