Class: AdLint::Cc1::SignedLongIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeSignedLongIntTypeId

Returns a new instance of SignedLongIntTypeId.



4506
4507
4508
# File 'lib/adlint/cc1/type.rb', line 4506

def initialize
  super("signed long int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4510
4511
4512
4513
4514
4515
4516
4517
# File 'lib/adlint/cc1/type.rb', line 4510

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