Class: AdLint::Cc1::AnsiFunctionDeclarator
- Inherits:
-
FunctionDeclarator
- Object
- SyntaxNode
- Declarator
- FunctionDeclarator
- AdLint::Cc1::AnsiFunctionDeclarator
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary collapse
-
#parameter_type_list ⇒ Object
Returns the value of attribute parameter_type_list.
Attributes inherited from FunctionDeclarator
Attributes inherited from Declarator
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
- #identifier_list ⇒ Object
-
#initialize(base_dcr, param_type_list) ⇒ AnsiFunctionDeclarator
constructor
A new instance of AnsiFunctionDeclarator.
- #innermost_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, param_type_list) ⇒ AnsiFunctionDeclarator
3285 3286 3287 3288 |
# File 'lib/adlint/cc1/syntax.rb', line 3285 def initialize(base_dcr, param_type_list) super(base_dcr) @parameter_type_list = param_type_list end |
Instance Attribute Details
#parameter_type_list ⇒ Object
Returns the value of attribute parameter_type_list.
3290 3291 3292 |
# File 'lib/adlint/cc1/syntax.rb', line 3290 def parameter_type_list @parameter_type_list end |
Instance Method Details
#identifier_list ⇒ Object
3296 3297 3298 |
# File 'lib/adlint/cc1/syntax.rb', line 3296 def identifier_list @base.identifier_list end |
#innermost_parameter_type_list ⇒ Object
3292 3293 3294 |
# File 'lib/adlint/cc1/syntax.rb', line 3292 def innermost_parameter_type_list @base.innermost_parameter_type_list || @parameter_type_list end |