Class: AdLint::Cc1::KandRFunctionDeclarator
- Inherits:
-
FunctionDeclarator
- Object
- SyntaxNode
- Declarator
- FunctionDeclarator
- AdLint::Cc1::KandRFunctionDeclarator
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary collapse
-
#identifier_list ⇒ Object
readonly
Returns the value of attribute identifier_list.
Attributes inherited from FunctionDeclarator
Attributes inherited from Declarator
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
-
#initialize(base_dcr, id_list) ⇒ KandRFunctionDeclarator
constructor
A new instance of KandRFunctionDeclarator.
- #innermost_parameter_type_list ⇒ Object
- #parameter_type_list ⇒ Object
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
Methods included from Visitable
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_list ⇒ Object (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_list ⇒ Object
3294 3295 3296 |
# File 'lib/adlint/cc1/syntax.rb', line 3294 def innermost_parameter_type_list @base.innermost_parameter_type_list end |
#parameter_type_list ⇒ Object
3290 3291 3292 |
# File 'lib/adlint/cc1/syntax.rb', line 3290 def parameter_type_list @base.parameter_type_list end |