Class: AdLint::Cc1::ParameterTypeList
- Inherits:
-
SyntaxNode
- Object
- SyntaxNode
- AdLint::Cc1::ParameterTypeList
- Defined in:
- lib/adlint/cc1/syntax.rb
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
Attributes inherited from SyntaxNode
#head_token, #subsequent_sequence_point, #tail_token
Instance Method Summary collapse
- #have_va_list? ⇒ Boolean
-
#initialize(params, have_va_list) ⇒ ParameterTypeList
constructor
A new instance of ParameterTypeList.
- #inspect(indent = 0) ⇒ Object
- #location ⇒ Object
Methods inherited from SyntaxNode
#head_location, #short_class_name, #tail_location
Methods included from LocationHolder
Methods included from Visitable
Constructor Details
#initialize(params, have_va_list) ⇒ ParameterTypeList
3333 3334 3335 3336 3337 |
# File 'lib/adlint/cc1/syntax.rb', line 3333 def initialize(params, have_va_list) super() @parameters = params @have_va_list = have_va_list end |
Instance Attribute Details
#parameters ⇒ Object (readonly)
Returns the value of attribute parameters.
3339 3340 3341 |
# File 'lib/adlint/cc1/syntax.rb', line 3339 def parameters @parameters end |
Instance Method Details
#have_va_list? ⇒ Boolean
3345 3346 3347 |
# File 'lib/adlint/cc1/syntax.rb', line 3345 def have_va_list? @have_va_list end |
#inspect(indent = 0) ⇒ Object
3349 3350 3351 |
# File 'lib/adlint/cc1/syntax.rb', line 3349 def inspect(indent = 0) " " * indent + short_class_name end |
#location ⇒ Object
3341 3342 3343 |
# File 'lib/adlint/cc1/syntax.rb', line 3341 def location head_location end |