Class: AdLint::LabelDef
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::LabelDef
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Label definition information.
Instance Method Summary collapse
-
#initialize(loc, label_name) ⇒ LabelDef
constructor
DESCRIPTION Constructs the label definition information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, label_name) ⇒ LabelDef
DESCRIPTION
Constructs the label definition information.
PARAMETER
- loc
-
Location – Location where the definition appears.
- label_name
-
String – Label name.
256 257 258 259 |
# File 'lib/adlint/code.rb', line 256 def initialize(loc, label_name) @loc = loc @label_name = label_name end |