Class: AdLint::MacroDef
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::MacroDef
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Macro definition information.
Instance Method Summary collapse
-
#initialize(loc, macro_name, macro_type) ⇒ MacroDef
constructor
DESCRIPTION Constructs the macro definition information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, macro_name, macro_type) ⇒ MacroDef
DESCRIPTION
Constructs the macro definition information.
PARAMETER
- loc
-
Location – Location where the definition appears.
- macro_name
-
String – Macro name.
- macro_type
-
String – Macro type string.
230 231 232 233 234 |
# File 'lib/adlint/code.rb', line 230 def initialize(loc, macro_name, macro_type) @loc = loc @macro_name = macro_name @macro_type = macro_type end |