Class: MilkTea::AST::IndexAccess

Inherits:
Data
  • Object
show all
Defined in:
lib/milk_tea/core/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#indexObject (readonly)

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



221
222
223
# File 'lib/milk_tea/core/ast.rb', line 221

def index
  @index
end

#receiverObject (readonly)

Returns the value of attribute receiver

Returns:

  • (Object)

    the current value of receiver



221
222
223
# File 'lib/milk_tea/core/ast.rb', line 221

def receiver
  @receiver
end