123456789_123456789_123456789_123456789_123456789_

Class: Prism::WhileNode

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Node
Instance Chain:
self, Node
Inherits: Prism::Node
Defined in: lib/prism/node_ext.rb,
lib/prism/parse_result/newlines.rb

Instance Attribute Summary

Node - Inherited

#newline_flag?

: () -> bool.

Instance Method Summary

Node - Inherited

#deprecated

: (*String replacements) -> void.

#newline_flag!

: (Array lines) -> void.

Instance Method Details

#closing

: () -> String?

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 482

def closing # :nodoc
  end_keyword
end

#closing_loc

: () -> Location?

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 487

def closing_loc # :nodoc
  end_keyword_loc
end

#keyword

: () -> String

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 472

def keyword # :nodoc
  while_keyword
end

#keyword_loc

: () -> Location

[ GitHub ]

  
# File 'lib/prism/node_ext.rb', line 477

def keyword_loc # :nodoc
  while_keyword_loc
end

#newline_flag!(lines)

: (Array lines) -> void

[ GitHub ]

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

def newline_flag!(lines) # :nodoc:
  predicate.newline_flag!(lines)
end