Class: AdLint::Cc1::ShortIntTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::ShortIntTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ ShortIntTypeId
constructor
A new instance of ShortIntTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ ShortIntTypeId
Returns a new instance of ShortIntTypeId.
3976 3977 3978 |
# File 'lib/adlint/cc1/type.rb', line 3976 def initialize super("short int") end |
Instance Method Details
#==(rhs_id) ⇒ Object
3980 3981 3982 3983 3984 3985 3986 3987 |
# File 'lib/adlint/cc1/type.rb', line 3980 def ==(rhs_id) case rhs_id when ShortIntTypeId, ShortTypeId, SignedShortTypeId, SignedShortIntTypeId true else false end end |