feat[ClassFlag]: Haddock comments
This commit is contained in:
parent
4e2d2e9b98
commit
b82ce2646b
1 changed files with 9 additions and 9 deletions
|
@ -59,15 +59,15 @@ newtype instance ClassFlags Parse = ClassFlags (Flags ClassFlag)
|
||||||
deriving Extractable via Generically (ClassFlags Parse)
|
deriving Extractable via Generically (ClassFlags Parse)
|
||||||
|
|
||||||
data ClassFlag
|
data ClassFlag
|
||||||
= Public -- may be accessed from outside the package
|
= Public -- ^ may be accessed from outside the package
|
||||||
| Final -- no subclasses allowed
|
| Final -- ^ no subclasses allowed
|
||||||
| Super -- treat superclass methods special when using InvokeSpecial
|
| Super -- ^ treat superclass methods special when using InvokeSpecial
|
||||||
| Interface -- is an interface
|
| Interface -- ^ is an interface
|
||||||
| Abstract -- abstract, must not be instantiated
|
| Abstract -- ^ abstract, must not be instantiated
|
||||||
| Synthetic -- not present in source code
|
| Synthetic -- ^ not present in source code
|
||||||
| Annotation -- is annotation interface
|
| Annotation -- ^ is annotation interface
|
||||||
| Enum -- enumerated instances
|
| Enum -- ^ enumerated instances
|
||||||
| Module -- module, not a class
|
| Module -- ^ module, not a class
|
||||||
deriving (Show, Eq, Ord, Enum, Bounded)
|
deriving (Show, Eq, Ord, Enum, Bounded)
|
||||||
|
|
||||||
instance FlagMask ClassFlag where
|
instance FlagMask ClassFlag where
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue