class AdLint::Ld::ObjectReferrer::Function

Attributes

function[R]

Public Class Methods

new(fun) click to toggle source
# File lib/adlint/ld/object.rb, line 375
def initialize(fun)
  @function = fun
end

Public Instance Methods

eql?(rhs) click to toggle source
# File lib/adlint/ld/object.rb, line 389
def eql?(rhs)
  case rhs
  when Function
    @function == rhs.function
  else
    false
  end
end
hash() click to toggle source
# File lib/adlint/ld/object.rb, line 385
def hash
  @function.hash
end
location() click to toggle source
# File lib/adlint/ld/object.rb, line 381
def location
  @function.location
end