Class: AdLint::Ld::ObjectReferrer

Inherits:
Object
  • Object
show all
Defined in:
lib/adlint/ld/object.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.of_ctors_section(ref_loc) ⇒ Object



351
352
353
# File 'lib/adlint/ld/object.rb', line 351

def of_ctors_section(ref_loc)
  CtorsSection.new(ref_loc)
end

.of_function(fun) ⇒ Object



347
348
349
# File 'lib/adlint/ld/object.rb', line 347

def of_function(fun)
  Function.new(fun)
end

Instance Method Details

#eql?(rhs) ⇒ Boolean

Returns:

  • (Boolean)


368
369
370
# File 'lib/adlint/ld/object.rb', line 368

def eql?(rhs)
  subclass_responsibility
end

#functionObject



360
361
362
# File 'lib/adlint/ld/object.rb', line 360

def function
  subclass_responsibility
end

#hashObject



364
365
366
# File 'lib/adlint/ld/object.rb', line 364

def hash
  subclass_responsibility
end

#locationObject



356
357
358
# File 'lib/adlint/ld/object.rb', line 356

def location
  subclass_responsibility
end