Class: LibRubyParser::Nodes::MatchNilPattern
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::MatchNilPattern
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents empty hash pattern that is used in pattern matching (i.e. in **nil
)
Instance Attribute Summary collapse
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#name_l ⇒ Loc
readonly
Location of the name.
-
#operator_l ⇒ Loc
readonly
Location of the
**
operator.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
in **nil
~~~~~
2705 2706 2707 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2705 def expression_l @expression_l end |
#name_l ⇒ Loc (readonly)
Location of the name
in **nil
~~~
2696 2697 2698 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2696 def name_l @name_l end |
#operator_l ⇒ Loc (readonly)
Location of the **
operator
in **nil
~~
2687 2688 2689 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2687 def operator_l @operator_l end |