Class: MilkTea::AST::MemberAccess
- Inherits:
-
Data
- Object
- Data
- MilkTea::AST::MemberAccess
- Defined in:
- lib/milk_tea/core/ast.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#member ⇒ Object
readonly
Returns the value of attribute member.
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Instance Method Summary collapse
-
#initialize(receiver:, member:, line: nil, column: nil) ⇒ MemberAccess
constructor
A new instance of MemberAccess.
Constructor Details
#initialize(receiver:, member:, line: nil, column: nil) ⇒ MemberAccess
Returns a new instance of MemberAccess.
219 |
# File 'lib/milk_tea/core/ast.rb', line 219 def initialize(receiver:, member:, line: nil, column: nil) = super |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column
218 219 220 |
# File 'lib/milk_tea/core/ast.rb', line 218 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line
218 219 220 |
# File 'lib/milk_tea/core/ast.rb', line 218 def line @line end |
#member ⇒ Object (readonly)
Returns the value of attribute member
218 219 220 |
# File 'lib/milk_tea/core/ast.rb', line 218 def member @member end |
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver
218 219 220 |
# File 'lib/milk_tea/core/ast.rb', line 218 def receiver @receiver end |