| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.GI.GIR.Field
Description
Parsing of objectstructunion fields.
Synopsis
- data Field = Field {
- fieldName :: Text
- fieldVisible :: Bool
- fieldType :: Type
- fieldIsPointer :: Maybe Bool
- fieldArrayOfPointers :: Bool
- fieldCallback :: Maybe Callback
- fieldOffset :: Int
- fieldBits :: Maybe Int
- fieldBitShift :: Maybe Int
- fieldAnonymous :: Maybe AnonymousMember
- fieldFlags :: [FieldInfoFlag]
- fieldDocumentation :: Documentation
- fieldDeprecated :: Maybe DeprecationInfo
- data AnonymousMember
- = AnonymousUnion [Field]
- | AnonymousStruct [Field]
- data FieldInfoFlag
- parseFields :: Parser [Field]
Documentation
Constructors
| Field | |
Fields
| |
data AnonymousMember Source #
Contents of a union or struct declared inline in a struct or union.
Constructors
| AnonymousUnion [Field] | |
| AnonymousStruct [Field] |
Instances
| Show AnonymousMember Source # | |
Defined in Data.GI.GIR.Field Methods showsPrec :: Int -> AnonymousMember -> ShowS # show :: AnonymousMember -> String # showList :: [AnonymousMember] -> ShowS # | |
data FieldInfoFlag Source #
Instances
| Show FieldInfoFlag Source # | |
Defined in Data.GI.GIR.Field Methods showsPrec :: Int -> FieldInfoFlag -> ShowS # show :: FieldInfoFlag -> String # showList :: [FieldInfoFlag] -> ShowS # | |
parseFields :: Parser [Field] Source #
Parse the members of a struct or union, in order.