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
Returns a new instance of ParameterTypeList.
3314 3315 3316 3317 3318 |
# File 'lib/adlint/cc1/syntax.rb', line 3314 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.
3320 3321 3322 |
# File 'lib/adlint/cc1/syntax.rb', line 3320 def parameters @parameters end |
Instance Method Details
#have_va_list? ⇒ Boolean
3326 3327 3328 |
# File 'lib/adlint/cc1/syntax.rb', line 3326 def have_va_list? @have_va_list end |
#inspect(indent = 0) ⇒ Object
3330 3331 3332 |
# File 'lib/adlint/cc1/syntax.rb', line 3330 def inspect(indent = 0) " " * indent + short_class_name end |
#location ⇒ Object
3322 3323 3324 |
# File 'lib/adlint/cc1/syntax.rb', line 3322 def location head_location end |