Class: Prism::WhenNode
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 |
Instance Attribute Summary
Node - Inherited
| #newline_flag? | : () -> bool. |
Instance Method Summary
-
#keyword
: () -> String.
-
#keyword_loc
: () ->
Location.
Node - Inherited
| #deprecated | : (*String replacements) -> void. |
| #newline_flag! | : (Array lines) -> void. |
Instance Method Details
#keyword
: () -> String
# File 'lib/prism/node_ext.rb', line 460
def keyword # :nodoc when_keyword end
#keyword_loc
: () -> Location
# File 'lib/prism/node_ext.rb', line 465
def keyword_loc # :nodoc when_keyword_loc end