Class: AdLint::XRefFun

Inherits:
CodeStructure show all
Defined in:
lib/adlint/code.rb

Instance Method Summary collapse

Methods inherited from CodeStructure

#print_as_csv, #to_s

Constructor Details

#initialize(loc, referrer, ref_type, fun) ⇒ XRefFun

DESCRIPTION

Constructs the cross reference information.

PARAMETER

loc

Location – Location where the cross-ref appears.

referrer

FunctionId – Accessing function identifier.

ref_type

String – Referencing type string.

fun

FunctionId – Accessed function identifier.



416
417
418
419
420
421
# File 'lib/adlint/code.rb', line 416

def initialize(loc, referrer, ref_type, fun)
  @loc      = loc
  @referrer = referrer
  @ref_type = ref_type
  @fun      = fun
end