module Prism::HeredocQuery

def heredoc?

Returns true if this node was represented as a heredoc in the source code.
:nodoc:
def heredoc?
  opening&.start_with?("<<")
end