Class: AdLint::XRefFun
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::XRefFun
- Defined in:
- lib/adlint/code.rb
Instance Method Summary collapse
-
#initialize(loc, referrer, ref_type, fun) ⇒ XRefFun
constructor
DESCRIPTION Constructs the cross reference information.
Methods inherited from CodeStructure
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 |