Class: AdLint::Cc1::UnsignedTypeId
- Inherits:
-
StandardTypeId
- Object
- TypeId
- StandardTypeId
- AdLint::Cc1::UnsignedTypeId
- Defined in:
- lib/adlint/cc1/type.rb
Instance Method Summary collapse
- #==(rhs_id) ⇒ Object
-
#initialize ⇒ UnsignedTypeId
constructor
A new instance of UnsignedTypeId.
Methods inherited from TypeId
Constructor Details
#initialize ⇒ UnsignedTypeId
Returns a new instance of UnsignedTypeId.
4242 4243 4244 |
# File 'lib/adlint/cc1/type.rb', line 4242 def initialize super("unsigned") end |
Instance Method Details
#==(rhs_id) ⇒ Object
4246 4247 4248 4249 4250 4251 4252 4253 |
# File 'lib/adlint/cc1/type.rb', line 4246 def ==(rhs_id) case rhs_id when UnsignedTypeId, UnsignedIntTypeId true else false end end |