class Location

Description:

The Location class describes an access to a specific location (register or memory address) performed when printing data.

Attributes

index[R]
name[R]

Public Class Methods

new(name, index) click to toggle source
# File template.rb, line 941
def initialize(name, index)
  @name  = name
  @index = index
end

Public Instance Methods

to_s() click to toggle source
# File template.rb, line 946
def to_s
  "#{@name}[#{@index}]"
end