class AdLint::Cpp::FunctionLikeDefineLine

Attributes

identifier_list[R]

Public Class Methods

new(keyword, id, id_list, repl_list, sym) click to toggle source
Calls superclass method AdLint::Cpp::DefineLine::new
# File lib/adlint/cpp/syntax.rb, line 383
def initialize(keyword, id, id_list, repl_list, sym)
  super(keyword, id, repl_list, sym)
  @identifier_list = id_list
end

Public Instance Methods

have_va_list?() click to toggle source
# File lib/adlint/cpp/syntax.rb, line 390
def have_va_list?
  false
end
inspect(indent = 0) click to toggle source
# File lib/adlint/cpp/syntax.rb, line 394
def inspect(indent = 0)
  " " * indent + "#{short_class_name} (#{identifier.inspect})"
end