class AdLint::FunDcl
DESCRIPTION¶ ↑
Function declaration information.
Public Class Methods
new(loc, linkage, scope_type, dcl_type, fun_id)
click to toggle source
DESCRIPTION¶ ↑
Constructs the function declaration information.
PARAMETER¶ ↑
- loc
- 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.
# 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