Class: AdLint::XRefVar
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::XRefVar
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Variable cross reference information.
Instance Method Summary collapse
-
#initialize(loc, referrer, ref_type, var_name) ⇒ XRefVar
constructor
DESCRIPTION Constructs the cross reference information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, referrer, ref_type, var_name) ⇒ XRefVar
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.
- var_name
-
String – Accessed variable name.
389 390 391 392 393 394 |
# File 'lib/adlint/code.rb', line 389 def initialize(loc, referrer, ref_type, var_name) @loc = loc @referrer = referrer @ref_type = ref_type @var_name = var_name end |