class AdLint::Cc1::Member

Attributes

name[R]
type[R]

Public Class Methods

new(name, type) click to toggle source
# File lib/adlint/cc1/type.rb, line 6696
def initialize(name, type)
  @name = name
  @type = type
end

Public Instance Methods

dup() click to toggle source
# File lib/adlint/cc1/type.rb, line 6708
def dup
  Member.new(@name, @type.dup)
end
named?() click to toggle source
# File lib/adlint/cc1/type.rb, line 6704
def named?
  !@name.nil?
end