Class: LibRubyParser::Nodes::Undef
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Undef
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents an undef
keyword (e.g. undef foo, :bar
)
Instance Attribute Summary collapse
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#keyword_l ⇒ Loc
readonly
Location the
undef
keyword. -
#names ⇒ ::Array<Node>
readonly
A list of names to
undef
.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
undef :foo, bar
~~~~~~~~~~~~~~~
4042 4043 4044 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4042 def expression_l @expression_l end |
#keyword_l ⇒ Loc (readonly)
Location the undef
keyword
undef foo, :bar
~~~~~
4033 4034 4035 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4033 def keyword_l @keyword_l end |
#names ⇒ ::Array<Node> (readonly)
A list of names to undef
4024 4025 4026 |
# File 'lib/lib-ruby-parser/nodes.rb', line 4024 def names @names end |