class AdLint::Ld::Typedef

Attributes

location[R]
name[R]

Public Class Methods

new(name, loc) click to toggle source
# File lib/adlint/ld/typedef.rb, line 41
def initialize(name, loc)
  @name = name
  @location = loc
end

Public Instance Methods

==(rhs)
Alias for: eql?
eql?(rhs) click to toggle source
# File lib/adlint/ld/typedef.rb, line 49
def eql?(rhs)
  @name == rhs.name && @location == rhs.location
end
Also aliased as: ==
hash() click to toggle source
# File lib/adlint/ld/typedef.rb, line 55
def hash
  "#{name} #{location}".hash
end