123456789_123456789_123456789_123456789_123456789_

Class: Prism::InterpolatedRegularExpressionNode

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

Node - Inherited

Instance Method Summary

RegularExpressionOptions - Included

#options

Returns a numeric value that represents the flags that were used to create the regular expression.

Node - Inherited

Instance Method Details

#newline_flag!(lines)

This method is for internal use only.
[ GitHub ]

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

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