haskell-gi-0.20: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellNone
LanguageHaskell98

Data.GI.GIR.Type

Description

Parsing type information from GIR files.

Synopsis

Documentation

parseType :: Parser Type Source #

Parse the type of a node (which will be described by a child node named "type" or "array").

parseCType :: Parser Text Source #

Parse the C-type associated to the element. If there is no "c:type" attribute we return the type name.

parseOptionalType :: Parser (Maybe Type) Source #

Like parseType, but allow for none, returned as Nothing.