Class: AdLint::Cc1::SignedShortIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeSignedShortIntTypeId

Returns a new instance of SignedShortIntTypeId.



4021
4022
4023
# File 'lib/adlint/cc1/type.rb', line 4021

def initialize
  super("signed short int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4025
4026
4027
4028
4029
4030
4031
4032
# File 'lib/adlint/cc1/type.rb', line 4025

def ==(rhs_id)
  case rhs_id
  when SignedShortIntTypeId, ShortTypeId, ShortIntTypeId, SignedShortTypeId
    true
  else
    false
  end
end