Class: Cyrel::AST::OptimizedNodes::PropertyAccessData
- Inherits:
-
Data
- Object
- Data
- Cyrel::AST::OptimizedNodes::PropertyAccessData
- Defined in:
- lib/cyrel/ast/optimized_nodes.rb
Overview
Simple expression nodes that benefit from fast equality
Instance Attribute Summary collapse
-
#property_name ⇒ Object
readonly
Returns the value of attribute property_name.
-
#variable ⇒ Object
readonly
Returns the value of attribute variable.
Instance Method Summary collapse
Instance Attribute Details
#property_name ⇒ Object (readonly)
Returns the value of attribute property_name
18 19 20 |
# File 'lib/cyrel/ast/optimized_nodes.rb', line 18 def property_name @property_name end |
#variable ⇒ Object (readonly)
Returns the value of attribute variable
18 19 20 |
# File 'lib/cyrel/ast/optimized_nodes.rb', line 18 def variable @variable end |
Instance Method Details
#accept(visitor) ⇒ Object
19 20 21 |
# File 'lib/cyrel/ast/optimized_nodes.rb', line 19 def accept(visitor) visitor.visit_property_access_data(self) end |