123456789_123456789_123456789_123456789_123456789_

Class: Prism::InterpolatedStringNode

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Node
Instance Chain:
Inherits: Prism::Node
Defined in: lib/prism/node_ext.rb,
lib/prism/parse_result/newlines.rb

Instance Attribute Summary

HeredocQuery - Included

#heredoc?

Returns true if this node was represented as a heredoc in the source code.

Node - Inherited

Instance Method Summary

Node - Inherited

Instance Method Details

#newline_flag!(lines)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/prism/parse_result/newlines.rb', line 135

def newline_flag!(lines) # :nodoc:
  first = parts.first
  first.newline_flag!(lines) if first
end