Class: AdLint::Cc1::SignedShortTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::SignedShortTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ SignedShortTypeId
constructor
A new instance of SignedShortTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ SignedShortTypeId
Returns a new instance of SignedShortTypeId.
3887 3888 3889 |
# File 'lib/adlint/cc1/type.rb', line 3887 def initialize super("signed short") end |
Instance Method Details
#==(rhs_id) ⇒ Object
3891 3892 3893 3894 3895 3896 3897 3898 |
# File 'lib/adlint/cc1/type.rb', line 3891 def ==(rhs_id) case rhs_id when SignedShortTypeId, ShortTypeId, ShortIntTypeId, SignedShortIntTypeId true else false end end |