Class: AdLint::Cc1::IntTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::IntTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ IntTypeId
constructor
A new instance of IntTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ IntTypeId
Returns a new instance of IntTypeId.
4110 4111 4112 |
# File 'lib/adlint/cc1/type.rb', line 4110 def initialize super("int") end |
Instance Method Details
#==(rhs_id) ⇒ Object
4114 4115 4116 4117 4118 4119 4120 4121 |
# File 'lib/adlint/cc1/type.rb', line 4114 def ==(rhs_id) case rhs_id when IntTypeId, SignedTypeId, SignedIntTypeId true else false end end |