Class: AdLint::Cc1::UnsignedShortIntTypeId

Inherits:
StandardTypeId show all
Defined in:
lib/adlint/cc1/type.rb

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeUnsignedShortIntTypeId

Returns a new instance of UnsignedShortIntTypeId.



4066
4067
4068
# File 'lib/adlint/cc1/type.rb', line 4066

def initialize
  super("unsigned short int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/adlint/cc1/type.rb', line 4070

def ==(rhs_id)
  case rhs_id
  when UnsignedShortIntTypeId, UnsignedShortTypeId
    true
  else
    false
  end
end