Class: LibRubyParser::Nodes::Splat
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Splat
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents an 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 to array.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
foo(*bar)
~~~~
3851 3852 3853 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3851 def expression_l @expression_l end |
#operator_l ⇒ Loc (readonly)
Location of the *
operator
foo(*bar)
~
3842 3843 3844 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3842 def operator_l @operator_l end |
#value ⇒ Node? (readonly)
Value that is converted to array
3833 3834 3835 |
# File 'lib/lib-ruby-parser/nodes.rb', line 3833 def value @value end |