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.



3302
3303
3304
3305
# File 'lib/adlint/cc1/syntax.rb', line 3302

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.



3307
3308
3309
# File 'lib/adlint/cc1/syntax.rb', line 3307

def identifier_list
  @identifier_list
end

Instance Method Details

#innermost_parameter_type_listObject



3313
3314
3315
# File 'lib/adlint/cc1/syntax.rb', line 3313

def innermost_parameter_type_list
  @base.innermost_parameter_type_list
end

#parameter_type_listObject



3309
3310
3311
# File 'lib/adlint/cc1/syntax.rb', line 3309

def parameter_type_list
  @base.parameter_type_list
end