class AdLint::Ld::Function

Public Class Methods

new(fun_def_rec) click to toggle source
# File lib/adlint/ld/object.rb, line 193
def initialize(fun_def_rec)
  @met_record = fun_def_rec
end

Public Instance Methods

==(rhs)
Alias for: eql?
eql?(rhs) click to toggle source
# File lib/adlint/ld/object.rb, line 213
def eql?(rhs)
  signature == rhs.signature && location == rhs.location
end
Also aliased as: ==
extern?() click to toggle source
# File lib/adlint/ld/object.rb, line 209
def extern?
  @met_record.function_linkage_type == "X"
end
hash() click to toggle source
# File lib/adlint/ld/object.rb, line 219
def hash
  "#{signature} #{location}".hash
end
location() click to toggle source
# File lib/adlint/ld/object.rb, line 197
def location
  @met_record.location
end
name() click to toggle source
# File lib/adlint/ld/object.rb, line 205
def name
  @met_record.function_id.name
end
signature() click to toggle source
# File lib/adlint/ld/object.rb, line 201
def signature
  @met_record.function_id.signature
end