Class: AdLint::Cc1::LongIntTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::LongIntTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ LongIntTypeId
constructor
A new instance of LongIntTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ LongIntTypeId
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 |