Class: AdLint::FunDcl
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::FunDcl
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Function declaration information.
Instance Method Summary collapse
-
#initialize(loc, linkage, scope_type, dcl_type, fun_id) ⇒ FunDcl
constructor
DESCRIPTION Constructs the function declaration information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, linkage, scope_type, dcl_type, fun_id) ⇒ FunDcl
DESCRIPTION
Constructs the function declaration information.
PARAMETER
- loc
-
Location – Location where the declaration appears.
- linkage
-
String – Function linkage type string.
- scope_type
-
String – Declaration scope type string.
- dcl_type
-
String – Declaration type string.
- fun_id
-
FunctionId – Identifier of the function.
136 137 138 139 140 141 142 |
# File 'lib/adlint/code.rb', line 136 def initialize(loc, linkage, scope_type, dcl_type, fun_id) @loc = loc @linkage = linkage @scope_type = scope_type @dcl_type = dcl_type @fun_id = fun_id end |