Class: AdLint::Cc1::SignedIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeSignedIntTypeId

Returns a new instance of SignedIntTypeId.



4198
4199
4200
# File 'lib/adlint/cc1/type.rb', line 4198

def initialize
  super("signed int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4202
4203
4204
4205
4206
4207
4208
4209
# File 'lib/adlint/cc1/type.rb', line 4202

def ==(rhs_id)
  case rhs_id
  when SignedIntTypeId, IntTypeId, SignedTypeId
    true
  else
    false
  end
end