class AdLint::XRefVar
DESCRIPTION¶ ↑
Variable cross reference information.
Public Class Methods
new(loc, referrer, ref_type, var_name)
click to toggle source
DESCRIPTION¶ ↑
Constructs the cross reference information.
PARAMETER¶ ↑
- loc
- referrer
-
FunctionId
– Accessing function identifier. - ref_type
-
String
– Referencing type string. - var_name
-
String
– Accessed variable name.
# 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