Class: Chelsy::Operator::Access
- Defined in:
- lib/chelsy/ast.rb
Overview
=== 6.5.2.3 Structure and union members
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Unary
Attributes inherited from Element
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object, name, **rest) ⇒ Access
constructor
A new instance of Access.
- #object ⇒ Object
Methods inherited from Base
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
619 620 621 |
# File 'lib/chelsy/ast.rb', line 619 def name @name end |
Class Method Details
.operator ⇒ Object
621 |
# File 'lib/chelsy/ast.rb', line 621 def self.operator; :"." end |
Instance Method Details
#object ⇒ Object
628 |
# File 'lib/chelsy/ast.rb', line 628 def object; operand end |