instance method
Prism::Node#newline?
newline?
lib/prism/node.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/node.rb, line 164
def newline?
flags.anybits?(NodeFlags::NEWLINE)
end
Returns true if the node has the newline flag set.