Class: AdLint::FunDef
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::FunDef
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Function definition information.
Instance Method Summary collapse
-
#initialize(loc, linkage, scope_type, fun_id, lines) ⇒ FunDef
constructor
DESCRIPTION Constructs the function definition information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, linkage, scope_type, fun_id, lines) ⇒ FunDef
DESCRIPTION
Constructs the function definition information.
PARAMETER
- loc
-
Location – Location where the definition appears.
- linkage
-
String – Function linkage type string.
- scope_type
-
String – Definition scope type string.
- fun_id
-
FunctionId – Function identifier.
- lines
-
Integer – Physical lines.
201 202 203 204 205 206 207 |
# File 'lib/adlint/code.rb', line 201 def initialize(loc, linkage, scope_type, fun_id, lines) @loc = loc @linkage = linkage @scope_type = scope_type @fun_id = fun_id @lines = lines end |