class AdLint::Cc1::GroupedAbstractDeclarator

Attributes

base[R]

Public Class Methods

new(abstract_dcr) click to toggle source
Calls superclass method AdLint::Cc1::Declarator::new
# File lib/adlint/cc1/syntax.rb, line 4319
def initialize(abstract_dcr)
  super()
  @base = abstract_dcr
end

Public Instance Methods

function?() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4330
def function?
  @base.function?
end
identifier_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4342
def identifier_list
  @base.identifier_list
end
innermost_parameter_type_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4338
def innermost_parameter_type_list
  @base.innermost_parameter_type_list
end
inspect(indent = 0) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4346
def inspect(indent = 0)
  " " * indent + short_class_name
end
location() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4326
def location
  @base ? @base.location || head_location : head_location
end
parameter_type_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 4334
def parameter_type_list
  @base.parameter_type_list
end