Class: AdLint::Cc1::LongIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeLongIntTypeId

Returns a new instance of LongIntTypeId.



4462
4463
4464
# File 'lib/adlint/cc1/type.rb', line 4462

def initialize
  super("long int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4466
4467
4468
4469
4470
4471
4472
4473
# File 'lib/adlint/cc1/type.rb', line 4466

def ==(rhs_id)
  case rhs_id
  when LongIntTypeId, LongTypeId, SignedLongTypeId, SignedLongIntTypeId
    true
  else
    false
  end
end