Class: AdLint::TypeDcl
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::TypeDcl
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Type declaration information.
Instance Method Summary collapse
-
#initialize(loc, dcl_type, type_name, type_rep) ⇒ TypeDcl
constructor
DESCRIPTION Constructs the type declaration information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, dcl_type, type_name, type_rep) ⇒ TypeDcl
DESCRIPTION
Constructs the type declaration information.
PARAMETER
- loc
-
Location – Location where the declaration appears.
- dcl_type
-
String – Type string of the type declaration.
- type_name
-
String – Type name.
- type_rep
-
String – Type representation.
79 80 81 82 83 84 |
# File 'lib/adlint/code.rb', line 79 def initialize(loc, dcl_type, type_name, type_rep) @loc = loc @dcl_type = dcl_type @type_name = type_name @type_rep = type_rep end |