| Copyright | (c) roki 2019 |
|---|---|
| License | MIT |
| Maintainer | falgon53@yahoo.co.jp |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Htcc.CRules.Types.StorageClass
Contents
Description
The storage-class of C language
Synopsis
- data StorageClass i
- class StorageClassBase a where
- isSCStatic :: a i -> Bool
StorageClass data type and class
data StorageClass i Source #
The data type representing StorageClass
Constructors
| SCAuto (TypeKind i) | The |
| SCStatic (TypeKind i) | The |
| SCRegister (TypeKind i) | The |
| SCUndef (TypeKind i) |
|
Instances
class StorageClassBase a where Source #
Class to a type based on StorageClass.
Methods
isSCStatic :: a i -> Bool Source #
When the given argument is SCStatic, isSCStatic returns True, otherwise False.
Instances
| StorageClassBase StorageClass Source # | |
Defined in Htcc.CRules.Types.StorageClass Methods isSCStatic :: StorageClass i -> Bool Source # | |