Class: AdLint::Cc1::UnsignedShortTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::UnsignedShortTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ UnsignedShortTypeId
constructor
A new instance of UnsignedShortTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ UnsignedShortTypeId
Returns a new instance of UnsignedShortTypeId.
3932 3933 3934 |
# File 'lib/adlint/cc1/type.rb', line 3932 def initialize super("unsigned short") end |
Instance Method Details
#==(rhs_id) ⇒ Object
3936 3937 3938 3939 3940 3941 3942 3943 |
# File 'lib/adlint/cc1/type.rb', line 3936 def ==(rhs_id) case rhs_id when UnsignedShortTypeId, UnsignedShortIntTypeId true else false end end |