class Syntax::Ruby
def scan_heredoc(float, type, delim)
* +type+ is +nil+, a single quote, or a double quote
* +float+ indicates whether the delimiter may be floated to the right
Scan a heredoc beginning at the current position.
def scan_heredoc(float, type, delim) scan_delimited_region( :constant, :string, "", type != "'", delim, float ? :float : :flush ) end