class AdLint::Cc1::IdentifierDeclarator

Attributes

identifier[R]

Public Class Methods

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

Public Instance Methods

base() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3149
def base
  nil
end
function?(stack = []) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3165
def function?(stack = [])
  stack.push(:pointer) if pointer
  stack.last == :function
end
identifier_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3161
def identifier_list
  nil
end
innermost_parameter_type_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3157
def innermost_parameter_type_list
  nil
end
inspect(indent = 0) click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3170
def inspect(indent = 0)
  " " * indent + "#{short_class_name} #{@identifier.value}"
end
location() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3145
def location
  @identifier.location
end
parameter_type_list() click to toggle source
# File lib/adlint/cc1/syntax.rb, line 3153
def parameter_type_list
  nil
end