Class: Prism::RequiredParameterNode

Inherits:
Object
  • Object
show all
Defined in:
lib/masamune/abstract_syntax_tree/prism/node_extensions.rb

Instance Method Summary collapse

Instance Method Details

#token_valueObject



59
# File 'lib/masamune/abstract_syntax_tree/prism/node_extensions.rb', line 59

def token_value = slice

#variable?Boolean

Returns:

  • (Boolean)


58
# File 'lib/masamune/abstract_syntax_tree/prism/node_extensions.rb', line 58

def variable? = true