Class: LibRubyParser::Nodes::Kwsplat

Inherits:
LibRubyParser::Node show all
Defined in:
lib/lib-ruby-parser/nodes.rb

Overview

Represents a keyword arguments splat (i.e. **bar in a call like foo(**bar))

Instance Attribute Summary collapse

Instance Attribute Details

#expression_lLoc (readonly)

Location of the full expression

foo(**bar)
    ~~~~~

Returns:



2450
2451
2452
# File 'lib/lib-ruby-parser/nodes.rb', line 2450

def expression_l
  @expression_l
end

#operator_lLoc (readonly)

Location of the ** operator

foo(**bar)
    ~~

Returns:



2441
2442
2443
# File 'lib/lib-ruby-parser/nodes.rb', line 2441

def operator_l
  @operator_l
end

#valueNode (readonly)

Value that is converted into a Hash using **

Returns:



2432
2433
2434
# File 'lib/lib-ruby-parser/nodes.rb', line 2432

def value
  @value
end