Class: LibRubyParser::Nodes::Ivar
- Inherits:
-
LibRubyParser::Node
- Object
- LibRubyParser::Node
- LibRubyParser::Nodes::Ivar
- Defined in:
- lib/lib-ruby-parser/nodes.rb
Overview
Represents access to instance variable (i.e. @foo
)
Instance Attribute Summary collapse
-
#expression_l ⇒ Loc
readonly
Location of the full expression.
-
#name ⇒ String
readonly
Name of the instance variable,
String("@foo")
in@foo
.
Instance Attribute Details
#expression_l ⇒ Loc (readonly)
Location of the full expression
~~~~
2204 2205 2206 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2204 def expression_l @expression_l end |
#name ⇒ String (readonly)
Name of the instance variable, String("@foo")
in @foo
2195 2196 2197 |
# File 'lib/lib-ruby-parser/nodes.rb', line 2195 def name @name end |