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



353
354
355
# File 'lib/adlint/ld/object.rb', line 353

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

.of_function(fun) ⇒ Object



349
350
351
# File 'lib/adlint/ld/object.rb', line 349

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

Instance Method Details

#eql?(rhs) ⇒ Boolean

Returns:

  • (Boolean)


370
371
372
# File 'lib/adlint/ld/object.rb', line 370

def eql?(rhs)
  subclass_responsibility
end

#functionObject



362
363
364
# File 'lib/adlint/ld/object.rb', line 362

def function
  subclass_responsibility
end

#hashObject



366
367
368
# File 'lib/adlint/ld/object.rb', line 366

def hash
  subclass_responsibility
end

#locationObject



358
359
360
# File 'lib/adlint/ld/object.rb', line 358

def location
  subclass_responsibility
end