Class: AdLint::Cc1::KandRFunctionDeclarator

Inherits:
FunctionDeclarator show all
Defined in:
lib/adlint/cc1/syntax.rb

Instance Attribute Summary collapse

Attributes inherited from FunctionDeclarator

#base

Attributes inherited from Declarator

#pointer

Attributes inherited from SyntaxNode

#head_token, #subsequent_sequence_point, #tail_token

Instance Method Summary collapse

Methods inherited from FunctionDeclarator

#function?, #identifier, #inspect, #location

Methods inherited from Declarator

#abstract?, #base, #full=, #full?, #function?, #identifier, #variable?

Methods inherited from SyntaxNode

#head_location, #inspect, #location, #short_class_name, #tail_location

Methods included from LocationHolder

#analysis_target?

Methods included from Visitable

#accept

Constructor Details

#initialize(base_dcr, id_list) ⇒ KandRFunctionDeclarator

Returns a new instance of KandRFunctionDeclarator.



3283
3284
3285
3286
# File 'lib/adlint/cc1/syntax.rb', line 3283

def initialize(base_dcr, id_list)
  super(base_dcr)
  @identifier_list = id_list
end

Instance Attribute Details

#identifier_listObject (readonly)

Returns the value of attribute identifier_list.



3288
3289
3290
# File 'lib/adlint/cc1/syntax.rb', line 3288

def identifier_list
  @identifier_list
end

Instance Method Details

#innermost_parameter_type_listObject



3294
3295
3296
# File 'lib/adlint/cc1/syntax.rb', line 3294

def innermost_parameter_type_list
  @base.innermost_parameter_type_list
end

#parameter_type_listObject



3290
3291
3292
# File 'lib/adlint/cc1/syntax.rb', line 3290

def parameter_type_list
  @base.parameter_type_list
end