Class: LibRubyParser::Nodes::Kwsplat
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Kwsplat
- 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
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#operator_l ⇒ Loc
readonly
Location of the
**
operator. -
#value ⇒ Node
readonly
Value that is converted into a
Hash
using**
.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
foo(**bar)
~~~~~
2450 2451 2452 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2450 def expression_l @expression_l end |
#operator_l ⇒ Loc (readonly)
Location of the **
operator
foo(**bar)
~~
2441 2442 2443 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2441 def operator_l @operator_l end |
#value ⇒ Node (readonly)
Value that is converted into a Hash
using **
2432 2433 2434 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2432 def value @value end |