Safe Haskell | None |
---|---|
Language | Haskell2010 |
Parsing of Enums.
Synopsis
- data Enumeration = Enumeration {
- enumMembers :: [EnumerationMember]
- enumErrorDomain :: Maybe Text
- enumTypeInit :: Maybe Text
- enumDocumentation :: Documentation
- enumCType :: Text
- enumStorageBytes :: Int
- enumDeprecated :: Maybe DeprecationInfo
- data EnumerationMember = EnumerationMember {
- enumMemberName :: Text
- enumMemberValue :: Int64
- enumMemberCId :: Text
- enumMemberDoc :: Documentation
- parseEnum :: Parser (Name, Enumeration)
Documentation
data Enumeration Source #
Enumeration | |
|
Instances
Show Enumeration Source # | |
Defined in Data.GI.GIR.Enum showsPrec :: Int -> Enumeration -> ShowS # show :: Enumeration -> String # showList :: [Enumeration] -> ShowS # |
data EnumerationMember Source #
Member of an enumeration.
EnumerationMember | |
|
Instances
Show EnumerationMember Source # | |
Defined in Data.GI.GIR.Enum showsPrec :: Int -> EnumerationMember -> ShowS # show :: EnumerationMember -> String # showList :: [EnumerationMember] -> ShowS # |