BF      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""##$$$$$$$$$$$$%%%%%%%%%%%%%&&&&&&&&&&&&&&&&&&&&&&&&&&& & & & & &&&&&&&&&&&&&&&&&&& &!&"&#&$&%&&&'&(&)&*&+&,&-&.&/&0&1&2&3&4&5&6&7&8&9&:&;&<&=&>&?&@&A&B&C&D&E&F&G&H&I&J'K'L'M'N(O(P(Q)R)S)T)U)V)W)X)Y)Z)[*\*]*^*_*`*a*b*c*d*e*f*g*h*i*j*k*l*m*n*o+p+q+r+s+t+u+v+w+x+y+z+{+|+}+~++++++++++++++++++++++++++"""""",,,,,,,,,-../000111111122233333333333333333333333344455566677899Safe (OT[Safe (OT[Construct the  representation of a showable.Throw an error with the given .3Capitalize the first character of the given string. 7Make the first character of the given string lowercase. Apply the given modification function to the given symbol. If the symbol is qualified the modification will only apply to the last component. :Split a list into sublists delimited by the given element. HRead a file assuming it is UTF-8 encoded. If decoding fails this calls . Write the given  into an UTF-8 encoded file.      Safe (OT[IDefault list of extensions to turn on when compiling the generated code.XExtensions that will be used in some modules, but we do not wish to turn on by default.6Default options for GHC when compiling generated code.%Default version of the report to use.#List of dependencies for all bindings. Notice that base is not included here, since not all bindings use the same base version. haskell-gi and haskell-gi-base are not included either, since the versions to use may change depending on whether we are using old style or new style bindings.HUnder which category in hackage should the generated bindings be listed.    Safe (OT[pTry asking pkg-config for the version of a given module, and return the package name together with its version.Get the pkg-config name and associated installed version of a given gobject-introspection namespace. Since the mapping is not one-to-one some guessing is involved, although in most cases the required information is listed in the GIR file.Safe (OT[A path to a module.9Construct a path into the given GIR namespace. The given  will be split along ".".Examples"dotModulePath (toModulePath "Foo")"Foo"/dotModulePath ("Foo" <> toModulePath "Bar.Baz") "Foo.Bar.Baz"/dotModulePath ("Foo" <> toModulePath "bar.baz") "Foo.Bar.Baz"Turn a module path into the corresponding dotted string. Note that the implementation ensures that the module names start with a capital letter.Examples'dotModulePath ("Foo" /. "Bar" /. "Baz") "Foo.Bar.Baz"'dotModulePath ("foo" /. "bar" /. "baz") "Foo.Bar.Baz" 4Append the given component to the given module path.ExamplesdotModulePath ("Foo" /. "Bar") "Foo.Bar"!s are s." Construct a  from a . !"   !"None (OT[ &Extra info about a field in a struct or union which is not easily determined from the GIR file. (And which we determine by using libgirepository.) Wrapper for  GITypelib Wrapper for  GIBaseInfoQAdd the given directory to the typelib search path, this is a thin wrapper over .)A convenience function for setting up the typelib search path from the environment. Note that for efficiency reasons this should only be called once per program run. If the list of paths passed in is empty, the environment variable HASKELL_GI_TYPELIB_SEARCH_PATHk will be checked. In either case the system directories will be searched after the passed in directories.*`Ensure that the given version of the namespace is loaded. If that is not possible we error out.GFind a given baseinfo by name, or give an error if it cannot be found..Get the extra information for the given field.+ZFind out the size of a struct, and the map from field names to offsets inside the struct.,XFind out the size of a union, and the map from field names to offsets inside the union.ILoad a symbol from the dynamic library associated to the given namespace.-LLoad a GType given the namespace where it lives and the type init function. &'()*+,-.&'()*+,-*)&'(+,-&'()*+,-.None (OT[/0/0/0/0Safe (OT[#1;A parsed representation of gtk-doc formatted documentation.3&A reference to some symbol in the API.<(The language for an embedded code block.>An item in a list, given by a list of lines (not including ending newlines). The list is always non-empty, so we represent it by the first line and then a possibly empty list with the rest of the lines.@GA link to a resource, either offline or a section of the documentation.DA parsed gtk-doc token.K$A section header of the given depth.M0Parse the given gtk-doc formatted documentation.ExamplesparseGtkDoc "" GtkDoc []parseGtkDoc "func()"'GtkDoc [SymbolRef (FunctionRef "func")]parseGtkDoc "literal"GtkDoc [Literal "literal"]$parseGtkDoc "This is a long literal")GtkDoc [Literal "This is a long literal"])parseGtkDoc "Call foo() for free cookies"RGtkDoc [Literal "Call ",SymbolRef (FunctionRef "foo"),Literal " for free cookies"]UparseGtkDoc "The signal ##%#GtkButton::activate is related to gtk_button_activate()."GtkDoc [Literal "The signal ##%",SymbolRef (SignalRef "GtkButton" "activate"),Literal " is related to ",SymbolRef (FunctionRef "gtk_button_activate"),Literal "."]5parseGtkDoc "# A section\n\n## and a subsection ##\n"{GtkDoc [SectionHeader 1 (GtkDoc [Literal "A section"]),Literal "\n",SectionHeader 2 (GtkDoc [Literal "and a subsection "])]8parseGtkDoc "Compact list:\n- First item\n- Second item"GtkDoc [Literal "Compact list:\n",List [ListItem (GtkDoc [Literal "First item"]) [],ListItem (GtkDoc [Literal "Second item"]) []]];parseGtkDoc "Spaced list:\n\n- First item\n\n- Second item"GtkDoc [Literal "Spaced list:\n",List [ListItem (GtkDoc [Literal "First item"]) [],ListItem (GtkDoc [Literal "Second item"]) []]]FparseGtkDoc "List with urls:\n- [test](http://test)\n- ![](image.png)"GtkDoc [Literal "List with urls:\n",List [ListItem (GtkDoc [ExternalLink (Link {linkName = "test", linkAddress = "http://test"})]) [],ListItem (GtkDoc [Image (Link {linkName = "", linkAddress = "image.png"})]) []]] 2 eats the newline before the section header, but  e does not, since it only matches at the beginning of the text. This restores the newlines eaten by  , so a K/ returned by the parser can always be assumed not& to have an implicit starting newline.  . eats the newline before the list, restore it. 6Accumulate consecutive literals into a single literal.Parser for tokens.Parse a single token.Examples-parseOnly (parseToken <* endOfInput) "func()"&Right (SymbolRef (FunctionRef "func"))3Parse a signal name, of the form > #Object::signalExamples<parseOnly (parseSignal <* endOfInput) "#GtkButton::activate"4Right (SymbolRef (SignalRef "GtkButton" "activate"))6Parse a property name, of the form > #Object:propertyExamplesFparseOnly (parseProperty <* endOfInput) "#GtkButton:always-show-image"?Right (SymbolRef (PropertyRef "GtkButton" "always-show-image"))FParse a reference to a virtual method, of the form > #Struct.method()Examples3parseOnly (parseVMethod <* endOfInput) "#Foo.bar()"*Right (SymbolRef (VMethodRef "Foo" "bar"))AParse a reference to a struct field, of the form > #Struct.fieldExamples5parseOnly (parseStructField <* endOfInput) "#Foo.bar".Right (SymbolRef (StructFieldRef "Foo" "bar"))3Parse a reference to a C type, of the form > #TypeExamples*parseOnly (parseType <* endOfInput) "#Foo"!Right (SymbolRef (TypeRef "Foo"))/Parse a constant, of the form > %CONSTANT_NAMEExamples8parseOnly (parseConstant <* endOfInput) "%TEST_CONSTANT"/Right (SymbolRef (ConstantRef "TEST_CONSTANT"))<Parse a reference to a parameter, of the form > @param_nameExamples2parseOnly (parseParam <* endOfInput) "@test_param")Right (SymbolRef (ParamRef "test_param"))7Whether the given character is valid in a C identifier.[Name of a signal or property name. Similar to a C identifier, but hyphens are allowed too.gSomething that could be a valid C identifier (loosely speaking, we do not need to be too strict here).Parse a function ref, given by a valid C identifier followed by '()', for instance 'gtk_widget_show()'. If the identifier is not followed by "()", return it as a literal instead.Examples8parseOnly (parseFunctionRef <* endOfInput) "test_func()"+Right (SymbolRef (FunctionRef "test_func"))7parseOnly (parseFunctionRef <* endOfInput) "not_a_func"Right (Literal "not_a_func")8Parse a escaped special character, i.e. one preceded by '\'.Parse a literal, i.e. anything without a known special meaning. Note that this parser always consumes the first character, regardless of what it is.List of special characters from the point of view of the parser (in the sense that they may be the beginning of something with a special interpretation).7Parse a verbatim string, of the form > `verbatim text`Examples:parseOnly (parseVerbatim <* endOfInput) "`Example quote!`"!Right (Verbatim "Example quote!")/Parse a URL in Markdown syntax, of the form > urlnameExamplesBparseOnly (parseUrl <* endOfInput) "[haskell](http://haskell.org)"VRight (ExternalLink (Link {linkName = "haskell", linkAddress = "http://haskell.org"})) )Parse an image reference, of the form > urllabelExamples7parseOnly (parseImage <* endOfInput) "![](diagram.png)"ARight (Image (Link {linkName = "", linkAddress = "diagram.png"}))!1Parse a code block embedded in the documentation.";Parse the language of a code block, specified as a comment. Parse a section header, given by a number of hash symbols, and then ordinary text. Note that this parser "eats" the newline before and after the section header. OParse a section header at the beginning of the text. I.e. this is the same as  7, but we do not expect a newline as a first character.ExamplesFparseOnly (parseInitialSectionHeader <* endOfInput) "### Hello! ###\n"4Right (SectionHeader 3 (GtkDoc [Literal "Hello! "]))@parseOnly (parseInitialSectionHeader <* endOfInput) "# Hello!\n"3Right (SectionHeader 1 (GtkDoc [Literal "Hello!"])) ~Parse a list header. Note that the newline before the start of the list is "eaten" by this parser, but is restored later by M.ExamplesCparseOnly (parseList <* endOfInput) "\n- First item\n- Second item"gRight (List [ListItem (GtkDoc [Literal "First item"]) [],ListItem (GtkDoc [Literal "Second item"]) []])`parseOnly (parseList <* endOfInput) "\n\n- Two line\n item\n\n- Second item,\n also two lines"Right (List [ListItem (GtkDoc [Literal "Two line"]) [GtkDoc [Literal "item"]],ListItem (GtkDoc [Literal "Second item,"]) [GtkDoc [Literal "also two lines"]]])8123456789:;<=>?@ABCDEFGHIJKLM   !"   123456789:;<=>?@ABCDEJFGHIKLMM12DEFGHIJKL<=@ABC>?3456789:;"123456789:;<=>?@ABCDEFGHIJKLM   !"   None (OT[ [GIR namespaces we know about.^>Turn a node into an element (if it is indeed an element node)._JFind all children of the given element which are XML Elements themselves.`The local name of an element.a,Restrict to those with the given local name.b"Restrict to those with given name.c1Find the first child element with the given name.d1Get the content of a given element, if it exists.e4Lookup an attribute for an element (with no prefix).#;Return the text representation of the known GIR namespaces.fGLookup an attribute for an element, given the namespace where it lives.g Construct a $ by only giving the local name.h Construct a $ specifying a namespace too.[\]^_`abcde#fgh[]\^_`abcdefgh^_`e[\]fabcdgh [\]^_`abcde#fgh None (OT[%:Split a list into sublists delimited by the given element.&Search for an appropriate .gir| file in the search path. This is either passed in explicitly, or if that is absent, loaded from the environment variable HASKELL_GI_GIR_SEARCH_PATH. In either case the system data dirs are also searched if nothing can be found in the explicitly passed paths, or in the contents of HASKELL_GI_GIR_SEARCH_PATH.jTry to load the `.gir`+ file corresponding to the given repository'()%&jverbosenameversion searchPathjj'()%&j None (OT[klDocumentation for a given element. The documentation text is typically encoded in the gtk-doc format, see  +https://developer.gnome.org/gtk-doc-manual/ . This can be parsed with :;.oCParse the documentation node for the given element of the GIR file.klmnoklmnoklmnoklmno None (OT[s$Deprecation information on a symbol.wHParse the deprecation information for the given element of the GIR file.stuvwstuvwstuvwstuvw Safe (OT[&zrThis type represents the types found in GObject Introspection interfaces: the types of constants, arguments, etc.|GError}GVariant~ GParamSpec>Zero terminated, Array Fixed Size, Array Length, Element TypeGArray GPtrArray GByteArrayGListGSList GHashTable"A reference to some API in the GIR`Basic types. These are generally trivial to marshal, and the GIR assumes that they are defined.gbooleangintguintglonggulonggint8guint8gint16guint16gint32guint32gint64guint64gfloatgdoublegunicharGTypegchar*, encoded as UTF-8gchar*, encoding a filenamegpointergintptrguintptr,An alias, which is simply (Namespace, name).*Transfer mode for an argument or property."Name for a symbol in the GIR file..z{|}~.z{|}~.z{|}~z {|}~None (OT[bMonad where parsers live: we carry a context around, and can throw errors that abort the parsing.<A message describing a parsing error in human readable form.*"Info to carry around when parsing.Throw a parse error.+DBuild a textual description (for debug purposes) of a given element.,&Build a name in the current namespace.Return the current namespace.Check whether there is an alias for the given name, and return the corresponding type in case it exists, and otherwise a TInterface.nReturn the value of an attribute for the given element. If the attribute is not present this throws an error.Like ), but allow for specifying the namespace.IReturn the value of an attribute if it is present, and Nothing otherwise.Like ), but allow for specifying the namespace.Ask for an optional attribute, applying the given parser to it. If the argument does not exist return the default value provided.Build a  out of the (possibly qualified) supplied name. If the supplied name is unqualified we qualify with the current namespace, and otherwise we simply parse it./Get the qualified name for the current element.'Parse the deprecation text, if present.2Parse the documentation info for the current node.Parse a signed integral number..A boolean value given by a numerical constant.CParse all the introspectable subelements with the given local name.0Parse all subelements with the given local name.KParse all introspectable children with the given namespace and local name.-<Run the given parser for a given subelement in the XML tree.;Run the given parser, returning either success or an error.*./012+,-[]\ks[\]sk*./012+,-None !"(MOT[3Map the given type name to a 3 (defined in Data.GI.GIR.BasicTypes), if possible.4The different array types.5 A C array6 A hash table.7For GLists and GSLists there is sometimes no information about the type of the elements. In these cases we report them as pointers.8)A type which is not a BasicType or array.98Parse information on a "type" element. Returns either a z, or :] indicating that the name of the type in the introspection data was "none" (associated with void in C).;7Find the children giving the type of the given element.(Find the C name for the current element.&Parse the C type for the current node.<4Find the children giving the C type for the element.=Try to find a type node, but do not error out if it is not found. This _does_ give an error if more than one type node is found, or if the type name is "none".\Parse the type of a node (which will be described by a child node named "type" or "array").Like , but allow for none, returned as :.5Parse the C-type associated to the element, if found.3456789;<=3456789;<=None (OT[Info about a constant.-Parse a "constant" element from the GIR file.None (OT[Member of an enumeration.&Bytes used for storage of this struct.>Parse a struct member.?`Return the number of bytes that should be allocated for storage of the given values in an enum.1Parse an "enumeration" element from the GIR file.@>?@>?None (OT[Safe (OT[,Type constructor applied to the given types. Embed in the A monad.A Ptr to the type.A FunPtr to the type. Embed in the B monad.)z{|}~)z{|}~None (OT[CH name for the argument. For a escaped name valid in Haskell code, use <=.  CD          CD None (OT[EFG    EFG None (OT[#$%&'#$%&'#$%&'#$%&'None (OT[/: if not known.HParse a single field in a struct or union. We parse non-introspectable fields too (but set fieldVisible = False for them), this is necessary since they affect the computation of offsets of fields and sizes of containing structs.)IJ*+,-./0123H4 )*+,-./01234 *+,-./0123)4)IJ* +,-./0123H4None (OT[789:;<789:;<789:;<789:;<None (OT[>?@ABC>?@ABC>?@ABC>?@ABCNone (OT[N)Constructs an instance of the parent typeOA function in the namespaceP9A function taking the parent instance as first argument. FGHIJKLMNOPKQ FGHIJKLMNOPQ FGHIJKLMNOPQFGHIJKLMNOPKQNone (OT[VWXYZ[\]^_`abcdVWXYZ[\]^_`abcdVWXYZ[\]^_`abcdVWXYZ[\]^_`abcdNone (OT[ ijklmnopqrstu ijklmnopqrstu ijklmnopqrstui jklmnopqrstuSafe (OT[wInformation about a given allocation operation. It is either disallowed, allowed via the given function, or it is unknown at the current stage how to perform the operation.z@Allocation/deallocation information for a given foreign pointer.FA convenience function, filling in all the allocation info to unknown. wxyz{|}~ wyxz{|}~ z{|}~wxywxyz{|}~None (OT[    None (OT[ None (OT[     None (OT[L&Find all aliases in a given namespace.M.Parse all the aliases in the current namespaceNParse a single alias%Find all aliases in a given document.LMNLMN!None !"#(OT["A rule for modifying the GIR file.&(Path to element, attrName), newValue;A name tag, which is either a name or a regular expression.)Node selector for a path in the GIR file. Node with the given "name" attr.Node of the given type.Combination of the above.Path to a node in the GIR file, starting from the document root of the GIR file. This is a very simplified version of something like XPath.O/Parse the list of includes in a given document.P(Load a set of dependencies, recursively.Q6Load a given GIR file and recursively its dependenciesRUTurn a GIRInfoParse into a proper GIRInfo, doing some sanity checking along the way.Bare minimum loading and parsing of a single repository, without loading or parsing its dependencies, resolving aliases, or fixing up structs or interfaces.6Load and parse a GIR file, including its dependencies.SList the prerequisites for a  corresponding to an interface.ToThe list of prerequisites in GIR files is not always accurate. Instead of relying on this, we instantiate the E associated to the interface, and listing the interfaces from there.UtThere is not enough info in the GIR files to determine whether a struct is boxed. We find out by instantiating the  corresponding to the struct (if known) and checking whether it descends from the boxed GType. Similarly, the size of the struct and offset of the fields is hard to compute from the GIR data, we simply reuse the machinery in libgirepository.V%Find out whether the struct is boxed.W}Fix the size and alignment of fields. This is much easier to do by using libgirepository than reading the GIR file directly.XSame thing for unions.YLike fixupStructSizeAndOffset above.Z7Fixup the offsets of fields using the given offset map.[Fixup parsed GIRInfos: some of the required information is not found in the GIR files themselves, but can be obtained by instantiating the required GTypes from the installed libraries.\DGiven a XML document containing GIR data, apply the given overrides.]Looks for the given path in the given subelements of the given element. If the path is empty apply the corresponding rule, otherwise return the element ummodified.^DSet an attribute for the child element specified by the given path._MLookup the given attribute and if present see if it matches the given regex.`<See if a given node specification applies to the given node.CabcdefghijklmnopqrstOPVerbose Requested Loaded so farextra path to searchfixupsNew loaded setQverbosenameversionextra paths to searchfixups(loaded doc, dependencies)Rverbosenameversionextra paths to searchbare parsed documentverbosenameversionextra paths to searchfixups(parsed doc, parsed deps)STUVWXYZ[\]^_`s #$%&*+,-./0123789:;>?@ABFGHIJKLMNOPVWXYZ[\]^_`abcijklmnopqrstwyxz{|}~z{|}~wxy s_`abcMNOP789:;>?@ABVWXYZ[\]^*+,-./0123#$%&FGHIJKLijklmnopqrst% abcdefghijklmnopqrstOPQRSTUVWXYZ[\]^_`#None (OT[ 7Remove functions and methods annotated with "moved-to".uDrop the moved methods.GObject-introspection does not currently support nullability annotations, so we try to guess the nullability from the nullability annotations of the curresponding get/set methods, which in principle should be reliable.v2Guess nullability for the properties of an object.w5Guess nullability for the properties of an interface.xZGuess the nullability for a property, given the list of methods for the object/interface.y|Guess whether "get" on the given property may return NULL, based on the corresponding "get_prop_name" method, if it exists.z|Guess whether "set" on the given property may return NULL, based on the corresponding "set_prop_name" method, if it exists.{2Find the first method with the given name, if any. uvwxyz{ uvwxyz{$None $(OT[,|Known operating systems.}XWe have a bit of context (the current namespace), and can fail, encode this in a monad.~"The state of the overrides parser.The current namespace.CThe contents of the override file will be ignored if there is any  value here. if( primitive push (prepend) values here, endif pop them. Ignored elements of a given API.?Ignored APIs (all elements in this API will just be discarded).9Structs for which accessors should not be auto-generated.-Explicit calloc/copy/free for structs/unions.;Mapping from GObject Introspection namespaces to pkg-config0Version number for the generated .cabal package."Prefered version of the namespace.Fixups for the GIR data.&Known places where to find the C docs.*Construct the generic config for a module.Default, empty, parser state.Get the current namespace.8Run the given parser only if the flags can be satisfied.Parse the given config file (as a set of lines) for a given introspection namespace, filling in the configuration as needed. In case the parsing fails we return a description of the error instead.TParse a single line of the config file, modifying the configuration as appropriate.Ignored elements.Sealed structures..Explicit allocation info for wrapped pointers.:Parse a explicit key=value pair into a (key, value) tuple.<Mapping from GObject Introspection namespaces to pkg-config.-Choose a preferred namespace version to load.-Specifying the cabal package version by hand.&Set a given attribute in the GIR file./Parse a documentation URL for the given module.<Parse a path specification, which is of the form "nodeSpec1 nodeSpec2_../nodeSpecN", where nodeSpec is a node specification of the form "nodeType[:name attribute]".XA specification of a name, which is either a regex (prefixed with "~") or a plain name."Parse a single node specification.+Parse an XML name, with an optional prefix.0Check whether we are running under the given OS.3Parse a textual representation of a version into a >?.\Check that the given pkg-config package has a version compatible with the given constraint.Parse a 'if' directive. Parse an endif directive.IFilter a set of named objects based on a lookup list of names to ignore.Given the previous allocation info, and a new allocation info, replace those entries in the old allocation info which are specified in the new info.-Filter one API according to the given config.?Given a list of APIs modify them according to the given config.LLoad a given API, applying filtering. Load also any necessary dependencies.There is a sensible notion of zero and addition of Overridess, encode this so that we can view the parser as a writer monad of configs.2|}~"|}~ %None (OT[#Name of the module being generated.Whether to print extra info.0List of loaded overrides for the code generator.%List of flags for the code generator.:Flags controlling different aspects of the code generator.*Whether to generate overloaded properties.3Whether to generate support for overloaded signals.3Whether to generate support for overloaded methods.   &None (OT[q0A subsection name, with an optional anchor name.&Code generators that can throw errors.+The code generator monad, for generators that cannot throw errors. The fact that they cannot throw errors is encoded in the forall, which disallows any operation on the error, except discarding it or passing it along without inspecting. This last operation is useful in order to allow embedding  computations inside Y computations, while disallowing the opposite embedding without explicit error handling.#Information for the code generator.Ambient config. APIs available to the generator.*Map from C references to Haskell symbols.4Minimal version of base supported by a given module. 7.0 8.0!Flags for module code generation.DUse the standard prelude, instead of the haskell-gi-base short one."Information on a generated module.Full module name: [Gtk, Label].Generated code for the module.'Interface going into the .hs-boot file.%Indexed by the relative module name.$Set of dependencies for this module.Exports for the module.Qualified (source) imports'Set of language pragmas for the module.%GHC options for compiling the module.Flags for the module.Documentation for the module.1Minimal version of base the module will work on.Possible types of exports.A type declaration.!An export in no specific section.!A method for a struct/union, etc.#A property for an object/interface.!A signal for an object/interface.Reexport of a whole module.Possible exports for a given module. Every export type constructor has two parameters: the section of the haddocks where it should appear, and the symbol name to export in the export list of the module.Which kind of export.Actual symbol to export.Symbol to export.LSubsection of the haddock documentation where the export should be located. No code .A single line, indented to current indentation Indented region The basic sequence of code A grouped set of linesA 0 representation of the given base version bound.Generate the empty module.Run a  with given  and initial [, returning either the resulting exception, or the result and final state of the codegen.4This is useful when we plan run a subgenerator, and - the result to the original structure later.zRun the given code generator using the state and config of an ambient CodeGen, but without adding the generated code to ", instead returning it explicitly.Like recurseV, giving explicitly the set of loaded APIs and C to Haskell map for the subgenerator.:Merge everything but the generated code for the two given .$Merge the infos, including code too.IAdd the given submodule to the list of submodules of the current module.Run the given CodeGen in order to generate a single submodule of the current module. Note that we do not generate the submodule if the code generator generated no code and the module does not have submodules.mRun the given CodeGen in order to generate a submodule (specified an an ordered list) of the current module.Try running the given action, and if it fails run fallback instead.0Return the currently loaded set of dependencies.8Return the ambient configuration for the code generator.&Return the name of the current module.3Return the list of APIs available to the generator.3Return the C -> Haskell available to the generator. Due to the forall in the definition of A, if we want to run the monad transformer stack until we get an AD action, our only option is ignoring the possible error code from S. This is perfectly safe, since there is no way to construct a computation in the > monad that throws an exception, due to the higher rank type.Like ), but discard the resulting output value.{Run a code generator, and return the information for the generated module together with the return value of the generator.0Mark the given dependency as used by the module.tReturn the transitive set of dependencies, i.e. the union of those of the module and (transitively) its submodules.wGiven a module name and a symbol in the module (including a proper namespace), return a qualified name for the symbol.Import the given module name qualified (as a source import if the namespace is the same as the current one), and return the name under which the module was imported.TConstruct a simplified version of the module name, suitable for a qualified import.PReturn the minimal base version supported by the module and all its submodules.MGive a friendly textual description of the error for presenting to the user."VFind the API associated with a given type. If the API cannot be found this raises an .'Add some code to the current generator.$&Print out a (newline-terminated) line.%LPrint out the given line both to the normal module, and to the HsBoot file.& A blank line'.Increase the indent level for code generation.(Group a set of related code.)CWrite the given code into the .hs-boot file for the current module.#Add a export to the current module.*Reexport a whole module.+8Export a toplevel (i.e. belonging to no section) symbol.,&Add a type declaration-related export.-,Add a method export under the given section..6Add a property-related export under the given section./4Add a signal-related export under the given section.00Set the language pragmas for the current module.1HSet the GHC options for compiling this module (in a OPTIONS_GHC pragma).2#Set the given flags for the module.3=Set the minimum base version supported by the current module.4$Return a text representation of the .PPad a line to the given number of leading spaces, and add a newline at the end.,Put a (padded) comma at the end of the text.$Format the list of exported modules.%Format the toplevel exported symbols.%Format the type declarations section.3A subsection with an anchor given by the title and  prefix:title anchor.+Format a given section made of subsections.Format the list of methods.Format the list of properties.Format the list of signals.JFormat the given export list. This is just the inside of the parenthesis.(Write down the list of language pragmas.#Write down the list of GHC options.!Standard fields for every module.FThe haddock header for the module, including optionally a description.:Generic module prelude. We reexport all of the submodules.Code for loading the needed dependencies. One needs to give the prefix for the namespace being currently generated, modules with this prefix will be imported as {- SOURCE --}, and otherwise will be imported normally.Standard imports.Like , but add a "GI." prefix.{Write to disk the code for a module, under the given base directory. Does not write submodules recursively, for that use 5.0Generate the .hs-boot file for the given module.9Construct the filename corresponding to the given module.5Write down the code for a module and its submodules to disk under the given base directory. It returns the list of written modules.6Return the list of modules 59 would write, without actually writing anything to disk.      !"#$%&'()*+,-./01234567I      !"#$%&'()*+,-./0123456I     564 '%$&()0123+*,-./!"#\       !"#$%&'()*+,-./01234567'None (OT[Info for a given package.nObtain the minor version. That is, if the given version numbers are x.y.z, so branch is [x,y,z], we return y.EObtain the haskell-gi minor version. Notice that we only append the minor version here, ignoring revisions. (So if the version is x.y.z, we drop the "z" part.) This gives us a mechanism for releasing bug-fix releases of haskell-gi without increasing the necessary dependency on haskell-gi-base, which only depends on x.y.If the haskell-gi version is of the form x.y[.z] and the pkgconfig version of the package being wrapped is a.b.c, this gives something of the form x.a.b.y.This strange seeming-rule is so that the packages that we produce follow the PVP, assuming that the package being wrapped follows the usual semantic versioning convention (http://semver.org) that increases in "a" indicate non-backwards compatible changes, increases in "b" backwards compatible additions to the API, and increases in "c" denote API compatible changes (so we do not need to regenerate bindings for these, at least in principle, so we do not encode them in the cabal version).In order to follow the PVP, then everything we need to do in the haskell-gi side is to increase x everytime the generated API changes (for a fixed a.b.c version).HIn any case, if such "strange" package numbers are undesired, or the wrapped package does not follow semver, it is possible to add an explicit cabal-pkg-version override. This needs to be maintained by hand (including in the list of dependencies of packages depending on this one), so think carefully before using this override!ODetermine the next version for which the minor of the package has been bumped.Determine the pkg-config name and installed version (major.minor only) for a given module, or throw an exception if that fails.Given a string a.b.c..., representing a version number, determine the major and minor versions, i.e. "a" and "b". If successful, return (a,b).L[Try to generate the cabal project. In case of error return the corresponding error string.JKLJKLLJK JKL(None (OT[O3Check whether the given name descends from GObject.NOPNOPNPONOP)None (OT[ Find the parent of a given object when building the instanceTree. For the purposes of the binding we do not need to distinguish between GObject.Object and GObject.InitiallyUnowned.Q<Compute the (ordered) list of parents of the current object.It is sometimes the case that a property name or signal is defined both in an object and in one of its ancestors/implemented interfaces. This is harmless if the properties are isomorphic (there will be more than one qualified set of property setters/getters that we can call, but they are all isomorphic). If they are not isomorphic we print a warning, and choose to use the one closest to the leaves of the object hierarchy.RUList all properties defined for an object, including those defined by its ancestors.S\List all properties defined for an interface, including those defined by its prerequisites.TRList all signals defined for an object, including those defined by its ancestors.UYList all signals defined for an interface, including those defined by its prerequisites.VRList all methods defined for an object, including those defined by its ancestors.WYList all methods defined for an interface, including those defined by its prerequisites.QRSTUVWXYZQRSTUVWRSTUVWQQRSTUVWXYZ*None $(OT[[bReturn a qualified form of the constraint for the given name (which should correspond to a valid ).\Same as [;, but applicable directly to a type. The type should be a $, otherwise an error will be raised.]MForeign type associated with a callback type. It can be passed in qualified.^IHaskell type exposing the closure arguments, which are generally elided._\The name of the dynamic wrapper for the given callback type. It can be passed in qualified.`gThe name of the Haskell to foreign wrapper for the given callback type. It can be passed in qualified.aThe name of the Haskell to foreign wrapper for the given callback type, keeping the closure arguments (we usually elide them). The callback type can be passed in qualified.bThe name of a function which takes a callback without closure arguments, and generates a function which does accep the closures, but simply ignores them.c,The name for the foreign wrapper allocator (foreign import "wrapper" ...>) for the given callback type. It can be passed in qualified.d_The name for the closure generator for the given callback type. It can be passed in qualified.$Move leading underscores to the end.Examplessanitize "_Value_Data_Union""Value_Data_Union_"eSame as f, but accepts a 4. The namespace part of the name will be discarded.Examples"lowerName (Name "Gtk" "main_quit") "mainQuit"fLTurn the given identifier into camelCase, starting with a lowercase letter.ExampleslowerSymbol "main_quit" "mainQuit"gTurn the given 0 into CamelCase, starting with a capital letter.Examples upperName (Name "Foo" "bar_baz")"BarBaz"hConstruct the submodule path where the given API element will live. This is the path relative to the root for the corresponding namespace. I.e. the GI.Gtk part is not prepended.iOReturn an identifier for the given interface type valid in the current module.j>Construct an identifier for the given symbol in the given API.kVSave a bit of typing for optional arguments in the case that we want to pass Nothing.l3Turn a hyphen-separated identifier into camel case.Examples&hyphensToCamelCase "one-sample-string""OneSampleString"m Similarly to l, turn a name separated_by_underscores into CamelCase. We preserve final and initial underscores, and n>1 consecutive underscores are transformed into n-1 underscores.Examples"underscoresToCamelCase "sample_id" "SampleId"&underscoresToCamelCase "_internal_id_""_InternalId_"/underscoresToCamelCase "multiple___underscores""Multiple__Underscores"ngName for the given argument, making sure it is a valid Haskell argument name (and escaping it if not).Reserved symbols, either because they are Haskell syntax or because the clash with symbols in scope for the generated bindings.[\]^_`abcdefghijklmn[\]^_`abcdefghijklmnefgkn[\lm]^b_c`adhij[\]^_`abcdefghijklmn+None (2MOT[#Distinct types of foreign pointers. Ordinary Ptr.FunPtr.o&Information on how to allocate a type.r In bytes.The free monad.$Lift some command to the Free monad.Try to find the hash and equalO functions appropriate for the given type, when used as a key in a GHashTable. GHashTable tries to fit every type into a pointer, the following function tries to find the appropriate (destroy,packer,unpacker) for the given type.OWhether the callable has closure arguments (i.e. "user_data" style arguments).Basically like g, but for types which admit a "isomorphic" version of the Haskell type distinct from the usual Haskell type. Generally the Haskell type we expose is isomorphic to the foreign type, but in some cases, such as callbacks with closure arguments, this does not hold, as we omit the closure arguments. This function returns a type which is actually isomorphic.8Information on how to allocate the given type, if known.0Returns whether the given type corresponds to a  ManagedPtr" instance (a thin wrapper over a  ForeignPtr).JReturns whether the given type is represented by a pointer on the C side.|For those types represented by pointers on the C side, return the type of pointer which represents them on the Haskell FFI.jIf the passed in type is nullable, return the conversion function between the FFI pointer type (may be a Ptr or a FunPtr) and the corresponding B type.iAn appropriate NULL value for the given type, for types which are represented by pointers on the C side.;Returns whether the given type should be represented by a B& type on the Haskell side. This applies to all properties which have a C representation in terms of pointers, except for G(S)Lists, for which NULL is a valid G(S)List, and raw pointers, which we just pass through to the Haskell side. Notice that introspection annotations can override this.Sopqr    stuv wxyz{|} !"#$%&'(~)* opqrsvtuwxyz{|}~ |z{}~opqrwxystuvCopqr    stuv wxyz{|} !"#$%&'(~)*"None (OT[#Link to an identifier, module, etc.Given a set of APIs, build a Map that given a Text corresponding to a certain C identifier returns the corresponding Haskell element in the bindings. For instance, gtk_widget_show will get mapped to @A.+;Obtain the absolute location of the module where the given  lives.,"Obtain the fully qualified symbol.-^Extract the C name of a constant. These are often referred to as types, so we allow that too..!Extract the C name of a function./\Extract the C names of the fields in an enumeration/flags, and the name of the type itself.0XGiven an optional C type and the API constructor construct the list of associated refs.1&Refs to the methods for a given owner.2!Extract the C name of a callback.3%Extract the C references in a struct.4$Extract the C references in a union.5)Extract the C references in an interface.6&Extract the C references in an object.+,-./0123456+,-./0123456,None (OT[~Where is the documentation located with respect to the relevant symbol, useful for determining whether we want to start with | or ^.7Given a 1, a map from C identifiers to Haskell symbols, and a location online where to find the C documentation, render the corresponding Haddock-formatted text. Note that the comment delimiters are not included in the output.ExamplesFformatHaddock M.empty "" (GtkDoc [Literal "Hello ", Literal "World!"])"Hello World!"3let c2h = M.fromList [(FunctionRef "foo", "foo()")]=formatHaddock c2h "" (GtkDoc [SymbolRef (FunctionRef "foo")]) "'foo()'"*let onlineDocs = "http://wiki.haskell.org"[formatHaddock M.empty onlineDocs (GtkDoc [ExternalLink (Link "GI" "GObjectIntrospection")])3"<http://wiki.haskell.org/GObjectIntrospection GI>"aformatHaddock M.empty "a" (GtkDoc [List [ListItem (GtkDoc [Image (Link "test" "test.png")]) []]])"\n* <<a/test.png test>>\n"8 Format a 3+ whose Haskell representation is not known.9&Formatting for an unknown C reference.: Format a  into plain .;,Format a code block in a specified language.<NQualify the given address with the docBase, if it is not an absolute address.=(Format a link to some external resource.>Format an embedded image.?Format a section header of the given level and with the given text. Note that the level will be truncated to 2, if it is larger than that.@Format a list of items.A2Escape the reserved Haddock characters in a given .Examples escape "\"""\\\""escape "foo@bar.com""foo\\@bar.com"escape "C:\\Applications""C:\\\\Applications"BcGet the base url for the online C language documentation for the module being currently generated.+Write the deprecation pragma for the given s , if not :.5Write the given documentation into a Haddock comment.Like A, but allows us to pass explicitly the Haddock comment to write./Write the documentation for the given argument.3Write the documentation for the given return value.UAdd the given text to the module-level documentation for the module being generated.789:;<=>?@AB  789:;<=>?@AB-None (OT[CData for a bidrectional pattern synonym. It is either a simple one of the form "pattern Name = value :: Type" or an explicit one of the form > pattern Name  -(view -; value) :: Type where > Name = expression value :: TypeDtAssign to the given name the given constant value, in a way that can be assigned to the corresponding Haskell type.ETShow a basic type, in a way that can be assigned to the corresponding Haskell type. FGHICJKLDE FGHICJKLDE.None (OT[ZVery similar to enums, but we also declare ourselves as members of the IsGFlag typeclass.M,Support for enums encapsulating error codes.NOPMNOPM/None (OT[Q\A list of all overloadable identifiers in the set of APIs (current properties and methods).QRQR0None (OT[SsGiven a property, return the set of constraints on the types, and the type variables for the object and its value.TThe property name as a lexically valid Haskell identifier. Note that this is not escaped, since it is assumed that it will be used with a prefix, so if a property is named "class", for example, this will return "class".UNThe name of the type encoding the information for the property of the object.VQGenerate a placeholder property for those cases in which code generation failed.kGenerate gtk2hs compatible attribute labels (to ease porting). These are namespaced labels, for examples widgetSensitive. We take the list of methods, since there may be name clashes (an example is Auth::is_for_proxy method in libsoup, and the corresponding Auth::is-for-proxy property). When there is a clash we give priority to the method.WSXYZ[T\U]V^_WSXYZ[T\U]V^_1None (OT[8Whether (not) to generate bindings for the given struct.`KCanonical name for the type of a callback type embedded in a struct field.arFix the interface names of callback fields in the struct to correspond to the ones that we are going to generate.Fix the interface names of callback fields in an APIStruct to correspond to the ones that we are going to generate. If something other than an APIStruct is passed in we don't touch it.Extract the callback types embedded in the fields of structs, and at the same time fix the type of the corresponding fields. Returns the list of APIs associated to this struct, not including the struct itself.bMThe name of the type encoding the information for a field in a struct/union.c2Whether a given field is an embedded struct/union.dExtract a field from a struct.ebWrite a field into a struct. Note that, since we cannot know for sure who will be deallocating the fields in the struct, we leave any conversions that involve pointers to the caller. What this means in practice is that scalar fields will get marshalled to/from Haskell, while anything that involves pointers will be returned in the C representation.fWrite a NULL" into a field of a struct of type Ptr.gName for the getter functionhName for the setter functioniName for the clear functionjHaskell name for the fieldkSupport for modifying fields as attributes. Returns a tuple with the name of the overloaded label to be used for the field, and the associated info type.lGenerate a constructor for a zero-filled struct/union of the given type, using the boxed (or GLib, for unboxed types) allocator.Specialization for structs of l.Specialization for unions of l.m)Construct a import with the given prefix.nSame as m, but import a FunPtr to the symbol.UGenerate the typeclass with information for how to allocate/deallocate a given type.`abcdefghijkolmn`abcdefghijkolmn2None (OT[PFree a container and/or the contained elements, depending on the transfer mode.Given an input argument to a C callable, and its label in the code, return the list of actions relevant to freeing the memory allocated for the argument (if appropriate, depending on the ownership transfer semantics of the callable).Same thing as freeInArg, but called in case the call to C didn't succeed. We thus free everything we allocated in preparation for the call, including args that would have been transferred to C.pqrstuvwxyz{|pqrstuvwxyz{|3None (OT[}$Information about a dynamic wrapper.~Haskell dynamic wrapperEName of the type synonym for the type of the function to be wrapped.The foreign symbol to wrap. It is either a foreign symbol wrapped in a foreign import, in which case we are given the name of the Haskell wrapper, or alternatively the information about a "dynamic" wrapper in scope.Haskell symbol in scope.Info about the dynamic wrapper.Signature for a callable.^Whether to expose closures and the associated destroy notify handlers in the Haskell wrapper.kGenerate a foreign import for the given C symbol. Return the name of the corresponding Haskell identifier.Make a wrapper for foreign FunPtrOs of the given type. Return the name of the resulting dynamic Haskell wrapper.Given an argument to a function, return whether it should be wrapped in a maybe type (useful for nullable types). We do some sanity checking to make sure that the argument is actually nullable (a relatively common annotation mistake is to mix up (optional) with (nullable)).Whether to skip the return value in the generated bindings. The C convention is that functions throwing an error and returning a gboolean set the boolean to TRUE iff there is no error, so the information is always implicit in whether we emit an exception or not, so the return value can be omitted from the generated bindings without loss of information (and omitting it gives rise to a nicer API). See 1https://bugzilla.gnome.org/show_bug.cgi?id=649657>Callbacks are a fairly special case, we treat them separately.4Format the signature of the Haskell binding for the .5Name for the first argument in dynamic wrappers (the FunPtr).eThe Haskell signature for the given callable. It returns a tuple ([constraints], [(type, argname)]).In\ arguments for the given callable on the Haskell side, together with the omitted arguments.Out6 arguments for the given callable on the Haskell side.2Convert the result of the foreign call to Haskell.vMarshal a foreign out argument to Haskell, returning the name of the variable containing the converted Haskell value.Convert the list of out arguments to Haskell, returning the names of the corresponding variables containing the marshaled values.3Invoke the given C function, taking care of errors.@Return the result of the call, possibly including out arguments.:Generate a Haskell wrapper for the given foreign function.FGenerate the body of the Haskell wrapper for the given foreign symbol.{caller-allocates arguments are arguments that the caller allocates, and the called function modifies. They are marked as outA argumens in the introspection data, we sometimes treat them as inout| arguments instead. The semantics are somewhat tricky: for memory management purposes they should be treated as "in" arguments, but from the point of view of the exposed API they should be treated as "out" or "inout". Unfortunately we cannot always just assume that they are purely "out", so in many cases the generated API is somewhat suboptimal (since the initial values are not important): for example for g_io_channel_read_chars the size of the buffer to read is determined by the caller-allocates argument. As a compromise, we assume that we can allocate anything that is not a TCArray of length determined by an argument.!Some debug info for the callable.(Generate a wrapper for a known C symbol.LFor callbacks we do not need to keep track of which arguments are closures.|Generate a wrapper for a dynamic C symbol (i.e. a Haskell function that will invoke its first argument, which should be a FunPtru of the appropriate type). The caller should have created a type synonym with the right type for the foreign symbol.;}~/}~4None (OT[/Qualified name for the info for a given method.AAppropriate instances so overloaded labels are properly resolved. Generate the  MethodList> instance given the list of methods for the given named type. Generate the  MethodInfo( type and instance for the given method.kGenerate a method info that is not actually callable, but rather gives a type error when trying to use it.5None (OT[WThe prototype of the callback on the Haskell side (what users of the binding will see)wGenerate the type synonym for the prototype of the callback on the C side. Returns the name given to the type synonym.Wrap the Haskell cb\ callback into a foreign function of the right type. Returns the name of the wrapped value.Generator of closures3A simple wrapper that drops every closure argument.LThe wrapper itself, marshalling to and from Haskell. The first argument is possibly a pointer to a FunPtr to free (via freeHaskellFunPtr) once the callback is run once, or Nothing if the FunPtr will be freed by someone else (the function registering the callback for ScopeTypeCall, or a destroy notifier for ScopeTypeNotified).@Return the name for the signal in Haskell CamelCase conventions.6None (OT[+Generate the overloaded signal connectors: Clicked,  ActivateLink, ...@Qualified name for the "(sigName, info)" tag for a given signal.<Generate the given signal instance for the given API object./Signal instances for (GObject-derived) objects. Signal instances for interfaces.7None (OT[ Generate wrapper for structures.Generated wrapper for unions.When parsing the GIR file we add the implicit object argument to methods of an object. Since we are prepending an argument we need to adjust the offset of the length arguments of CArrays, and closure and destroyer offsets.>Generate the code for a given API in the corresponding module.8None (OT[ Generate the PkgInfog module, listing the build information for the module. We include in particular the versions for the  `pkg-config` dependencies of the module.MParse the set of flags given to configure into flags for the code generator.A convenience helper for @, such that bindings for the given module are generated in the  configure step of cabal.The entry point for Setup.hs files in bindings.nameversionverboseoverrides file output dir previous nameversionverboseoverrides file output dirBCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`aabcdefghijkklmnopqrstuuvwxyz{|}~;                                                           !"#$$%&'()*+,,-./0123456789:;<=>?@ABCDEFGHIJKKLMNOPQRSTUVWXXYZ[\]^^_`abcdefghijjklmnoppqrstuvwwxyz{|}~ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!""##$$$$$$$$$$$$% % % % % % %%%%%%%&&&&&&&&&&&&& & &!&"&#&$&%&&&'&(&)&*&+&,&-&.&/&0&1&2&3&4&5&6&7&8&9&:&;&<&=&>&?&@&A&B&C&D&E&F&G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&Y&Z&[&\&]&^&_&`&a&b&c&d&e&f&g&h&i&j&k&l&m&n'o'p'q'r(s(t(u)v)w)x)y)z){)|)})~)********************=+++++~++++++++++++++++++++++++++++++++++++"""""",,,,,,,,,-../00011111112223333333333333333333333334445556667789999999999999 9 9    !"#$%&'()*+,-./0123t45 6789:;<=>?@AB CDE Q F G H IJKLMJNOPQRSTUVWXYZ[\]^_`abcdefghijkl m n o!p!q!r!s!t!u!v!w!x!y!z!{!|!}!~!!!!!!!!!!!!!!!!!!!!!!!#######$$$$$`a$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Z&&&&&&&&&&&&&&&''''''_''''''(()) ) ) ) ) ))))**++++++++++++++ +!+"+++#+$+%+&+'+(+)+*+++,+-+.+/+0+1+2+3+4+5+6+7+8+9+:+;+<+=+>+?"@"A"B"C"D"E"F"G"H"I"J"K,L,M,N,O,P,Q,R,S,T,U,V,W-X-Y-Z-[-\-]-^-_-`-a.b.c.d.e/f/g0h0i0j0k0l0m0n0o0p0q0r0s0t1u1v1j1w1x1y1z1{1|1}1~11111222222222222233333333333333333333333333333333333445555555555555666777777777777788%88(haskell-gi-0.20.1-LSe2mJsBKBI8YVkGfu9KfdData.GI.CodeGen.GTypeData.GI.GIR.ParserData.GI.CodeGen.UtilData.GI.CodeGen.ProjectInfoData.GI.CodeGen.PkgConfigData.GI.CodeGen.ModulePathData.GI.CodeGen.LibGIRepositoryData.GI.CodeGen.GtkDocData.GI.GIR.XMLUtilsData.GI.GIR.RepositoryData.GI.GIR.DocumentationData.GI.GIR.DeprecationData.GI.GIR.BasicTypesData.GI.GIR.TypeData.GI.GIR.ConstantData.GI.GIR.EnumData.GI.GIR.FlagsData.GI.CodeGen.TypeData.GI.GIR.ArgData.GI.GIR.CallableData.GI.GIR.CallbackData.GI.GIR.FieldData.GI.GIR.FunctionData.GI.GIR.SignalData.GI.GIR.MethodData.GI.GIR.PropertyData.GI.GIR.ObjectData.GI.GIR.AllocationData.GI.GIR.InterfaceData.GI.GIR.StructData.GI.GIR.UnionData.GI.GIR.AliasData.GI.CodeGen.APIData.GI.CodeGen.CtoHaskellMapData.GI.CodeGen.FixupsData.GI.CodeGen.OverridesData.GI.CodeGen.ConfigData.GI.CodeGen.CodeData.GI.CodeGen.CabalData.GI.CodeGen.GObjectData.GI.CodeGen.InheritanceData.GI.CodeGen.SymbolNamingData.GI.CodeGen.ConversionsData.GI.CodeGen.HaddockData.GI.CodeGen.ConstantData.GI.CodeGen.EnumFlags Data.GI.CodeGen.OverloadedLabelsData.GI.CodeGen.PropertiesData.GI.CodeGen.StructData.GI.CodeGen.TransferData.GI.CodeGen.Callable!Data.GI.CodeGen.OverloadedMethodsData.GI.CodeGen.Signal!Data.GI.CodeGen.OverloadedSignalsData.GI.CodeGen.CodeGenData.GI.CodeGen.CabalHooksPaths_haskell_gi Data.GI.GIR parseGtkDocGI.SymbolNamingescapedArgName Data.VersionVersionGI.Gtk.Objects.Widgetshow+haskell-gi-base-0.20-BpB8aI9ZvCq2BmACjGP5gzData.GI.Base.GTypeGType*xml-conduit-1.4.0.2-J6xrjKMpphIBfFEze9JEskText.XMLElementpadTo withCommentprime parenthesizetshowterrorucFirstlcFirstmodifyQualifiedsplitOn utf8ReadFile utf8WriteFilehomepageauthors maintainerslicensedefaultExtensionsotherExtensions ghcOptionsdefaultLanguage standardDepscategory licenseText tryPkgConfigpkgConfigGetVersion ModulePathmodulePathToList toModulePath dotModulePath/.$fMonoidModulePath$fIsStringModulePath$fEqModulePath$fShowModulePath$fOrdModulePath FieldInfofieldInfoOffsetsetupTypelibSearchPath girRequiregirStructFieldInfogirUnionFieldInfo girLoadGType$fBoxedObjectBaseInfogtypeIsA gtypeIsBoxedGtkDocCRef FunctionRefParamRef ConstantRef SignalRef PropertyRef VMethodRefStructFieldRefTypeRefLanguageListItemLinklinkName linkAddressTokenLiteralVerbatim CodeBlock ExternalLinkImageList SectionHeader SymbolRef $fShowLink$fEqLink$fShowLanguage $fEqLanguage $fShowCRef$fEqCRef $fOrdCRef $fShowGtkDoc $fEqGtkDoc $fShowToken $fEqToken$fShowListItem $fEqListItemGIRXMLNamespace GLibGIRNSCGIRNS nodeToElement subelements localNamechildElemsWithLocalNamechildElemsWithNSNamefirstChildWithLocalNamegetElementContent lookupAttrlookupAttrWithNamespace xmlLocalName xmlNSName$fShowGIRXMLNamespacereadGiRepository Documentation rawDocText sinceVersionqueryDocumentation$fShowDocumentation$fEqDocumentation$fOrdDocumentationDeprecationInfodeprecatedSinceVersiondeprecationMessagequeryDeprecated$fShowDeprecationInfo$fEqDeprecationInfoType TBasicTypeTErrorTVariant TParamSpecTCArrayTGArray TPtrArray TByteArrayTGListTGSListTGHash TInterface BasicTypeTBooleanTIntTUIntTLongTULongTInt8TUInt8TInt16TUInt16TInt32TUInt32TInt64TUInt64TFloatTDoubleTUniCharTGTypeTUTF8 TFileNameTPtrTIntPtrTUIntPtrAliasTransferTransferNothingTransferContainerTransferEverythingName namespacename$fEqName $fOrdName $fShowName$fShowTransfer $fEqTransfer $fOrdTransfer $fOrdAlias $fEqAlias $fShowAlias $fEqBasicType$fShowBasicType$fOrdBasicType$fEqType $fShowType $fOrdTypeParser ParseError parseErrorcurrentNamespaceresolveQualifiedTypeNamegetAttrgetAttrWithNamespace queryAttrqueryAttrWithNamespace optionalAttr qualifyName parseNameparseDeprecationparseDocumentation parseIntegral parseBoolparseChildrenWithLocalNameparseAllChildrenWithLocalNameparseChildrenWithNSName runParser$fShowParseContext queryCType parseCType parseTypeparseOptionalTypequeryElementCTypeConstant constantType constantValue constantCTypeconstantDocumentationconstantDeprecated parseConstant$fShowConstantEnumerationMemberenumMemberNameenumMemberValue enumMemberCId enumMemberDoc Enumeration enumMembersenumErrorDomain enumTypeInitenumDocumentation enumCTypeenumStorageBytesenumDeprecated parseEnum$fShowEnumerationMember$fShowEnumerationFlags parseFlags $fShowFlagsconioptrfunptrmaybeTArgargCNameargType direction mayBeNullargDocargScope argClosure argDestroyargCallerAllocatestransferScopeScopeTypeInvalid ScopeTypeCallScopeTypeAsyncScopeTypeNotified Direction DirectionIn DirectionOutDirectionInout parseTransferparseArg$fShowDirection $fEqDirection$fOrdDirection $fShowScope $fEqScope $fOrdScope $fShowArg$fEqArg$fOrdArgCallable returnTypereturnMayBeNullreturnTransferreturnDocumentationargs skipReturncallableThrowscallableDeprecatedcallableDocumentation parseCallable$fShowCallable $fEqCallableCallback cbCallablecbCType parseCallback$fShowCallback FieldInfoFlagField fieldName fieldVisible fieldTypefieldIsPointer fieldCallback fieldOffset fieldFlagsfieldDeprecated parseFields$fShowFieldInfoFlag $fShowFieldFunctionfnSymbol fnMovedTo fnCallable parseFunction$fShowFunctionSignalsigName sigCallable sigDeprecated parseSignal $fShowSignal $fEqSignalMethod methodName methodSymbol methodType methodMovedTomethodCallable MethodType ConstructorMemberFunctionOrdinaryMethod parseMethod$fEqMethodType$fShowMethodType $fEqMethod $fShowMethodPropertypropNamepropType propFlagspropReadNullablepropWriteNullable propTransferpropDeprecated PropertyFlagPropertyReadablePropertyWritablePropertyConstructPropertyConstructOnly parseProperty$fShowPropertyFlag$fEqPropertyFlag$fShowProperty $fEqPropertyObject objParent objTypeInit objTypeNameobjCType objInterfaces objDeprecatedobjDocumentation objMethods objProperties objSignals parseObject $fShowObject AllocationOpAllocationOpUnknownAllocationInfo allocCalloc allocCopy allocFreeunknownAllocationInfo$fShowAllocationOp$fEqAllocationOp$fShowAllocationInfo Interface ifTypeInitifCTypeifDocumentationifPrerequisites ifProperties ifSignals ifMethodsifAllocationInfo ifDeprecatedparseInterface$fShowInterfaceStruct structIsBoxedstructAllocationInfostructTypeInit structCType structSizegtypeStructForstructIsDisguised structFields structMethodsstructDeprecatedstructDocumentation parseStruct $fShowStructUnion unionIsBoxedunionAllocationInfounionDocumentation unionSize unionTypeInit unionFields unionMethods unionCTypeunionDeprecated parseUnion $fShowUniondocumentListAliasesAPIAPIConst APIFunction APICallbackAPIEnumAPIFlags APIInterface APIObject APIStructAPIUnionGIRRule GIRSetAttr GIRNameTag GIRPlainNameGIRRegex GIRNodeSpecGIRNamedGIRType GIRTypedNameGIRPathGIRInfo girPCPackages girNSName girNSVersiongirAPIs girCTypesloadRawGIRInfo loadGIRInfo$fShowGIRNameTag$fShowGIRNodeSpec $fShowGIRRule $fShowAPI$fShowGIRNamespace$fShowGIRInfoParse $fShowGIRInfo Hyperlink cToHaskellMapdropMovedItemsguessPropertyNullability Overrides pkgConfigMapcabalPkgVersionnsChooseVersion girFixups onlineDocsMapparseOverridesFilefilterAPIsAndDeps$fMonoidOverrides$fShowOverrides$fShowParserState $fShowOSTypeConfigmodNameverbose overridescgFlags CodeGenFlagscgOverloadedPropertiescgOverloadedSignalscgOverloadedMethods$fShowCodeGenFlags $fShowConfig ExcCodeGenCodeGen BaseCodeGenCGErrorCGErrorNotImplementedCGErrorBadIntrospectionInfoCGErrorMissingInfo BaseVersionBase47Base48 ModuleFlagImplicitPrelude ModuleInfo modulePath moduleCodebootCode submodules moduleDeps moduleExportsqualifiedImports modulePragmas moduleGHCOpts moduleFlags moduleDoc moduleMinBaseCodeNoCodeLineIndentSequenceGroupshowBaseVersionrecurseWithAPIs submodule handleCGExcgetDepsconfig currentModulegetAPIs getC2HMapgenCode evalCodeGenregisterNSDependencytransitiveModuleDeps qualifiedminBaseVersiondescribeCGErrornotImplementedError badIntroErrormissingInfoErrorfindAPIgetAPI findAPIByNamelineblineblankindentgrouphsBoot exportModuleexportToplevel exportDecl exportMethodexportProperty exportSignalsetLanguagePragmas setGHCOptionssetModuleFlagssetModuleMinBase codeToTextwriteModuleTreelistModuleTree $fMonoidCode$fEqCode $fShowCode$fShowExportType$fEqExportType$fOrdExportType $fShowExport $fEqExport $fOrdExport$fShowModuleFlag$fEqModuleFlag$fOrdModuleFlag$fShowBaseVersion$fEqBaseVersion$fOrdBaseVersion $fShowCGError$fEqSubsection$fShowSubsection$fOrdSubsection cabalConfigsetupHsgenCabalProject $fShowPkgInfo isGObject nameIsGObject apiIsGObject instanceTreefullObjectPropertyListfullInterfacePropertyListfullObjectSignalListfullInterfaceSignalListfullObjectMethodListfullInterfaceMethodList$fInheritableMethod$fInheritableSignal$fInheritablePropertyclassConstrainttypeConstraint callbackCTypecallbackHTypeWithClosurescallbackDynamicWrappercallbackHaskellToForeign$callbackHaskellToForeignWithClosurescallbackDropClosurescallbackWrapperAllocatorcallbackClosureGenerator lowerName lowerSymbol upperNamesubmoduleLocation qualifiedAPIqualifiedSymbolnoNamehyphensToCamelCaseunderscoresToCamelCase TypeAllocInfotypeAllocInfoIsBoxedtypeAllocInfoSizePMIdapplymapCliteral genConversioncomputeArrayLengthconverthToFfToH unpackCArray argumentType haskellTypecallableHasClosuresisoHaskellType foreignType getIsScalar typeAllocInfo isManaged typeIsPtrmaybeNullConvertnullPtrForTypetypeIsNullableelementTypeAndMap elementType elementMap$fIsStringConstructor $fMonadFree$fApplicativeFree $fFunctorFree$fEqConstructor$fShowConstructor $fShowMap $fShowFExpr$fFunctorFExprIdentifierLink ModuleLinkModuleLinkWithAnchor$fIsStringHyperlink$fShowHyperlink $fEqHyperlinkRelativeDocPositionDocBeforeSymbolDocAfterSymboldeprecatedPragmawriteDocumentation writeHaddockwriteArgDocumentationwriteReturnDocumentationaddModuleDocumentation genConstantgenEnumgenFlagsgenOverloadedLabelsgenObjectPropertiesgenInterfacePropertiesgenNamespacedPropLabels ignoreStruct fixAPIStructsextractCallbacksInStructgenStructOrUnionFields genZeroStruct genZeroUnion genWrappedPtrfreeContainerType freeInArgfreeInArgOnError ForeignSymbolKnownForeignSymbolDynamicForeignSymbol SignaturesignatureCallablesignatureConstraintssignatureArgTypessignatureReturnTypeExposeClosures WithClosuresWithoutClosureshOutType wrapMaybeinArgInterfacesarrayLengthsMap arrayLengths skipRetValcallableSignaturecallableHInArgscallableHOutArgsfixupCallerAllocatesgenCCallableWrappergenDynamicCallableWrapper genMethodList genMethodInfogenUnsupportedMethodInfo genCallbacksignalHaskellName genSignalgenOverloadedSignalConnectorsgenObjectSignalsgenInterfaceSignals genFunction genModulesetupHaskellGIBindingcatchIOversionbindirlibdir dynlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalTextbaseGHC.ErrerrorGHC.BaseMonoidStringTypelibBaseInfogirPrependSearchPath!g_irepository_prepend_search_path girFindByName getFieldInfo girSymbol GTypeInit gtypeInitg_typelib_symbolg_union_info_get_fieldg_union_info_get_n_fieldsg_union_info_get_sizeg_struct_info_get_fieldg_struct_info_get_n_fieldsg_struct_info_get_sizeg_base_info_get_nameg_field_info_get_offsetg_irepository_find_by_nameg_irepository_requirec_g_base_info_gtype_get_type g_type_is_a gtypeBoxedrestoreSHPreNewlinesparseSectionHeaderparseInitialSectionHeaderrestoreListPreNewline parseListcoalesceLiterals parseTokens parseToken parseVMethodparseStructField parseParamisCIdentsignalOrPropName parseCIdentparseFunctionRef parseEscapedparseBoringLiteralspecial parseVerbatimparseUrl parseImageparseCodeBlock parseLanguage girNamespace&xml-types-0.3.6-LXICdFNM88rEPxfvCuWvy2Data.XML.TypesgirFile girDataDirs girFilePathgirFile' ParseContextelementDescriptionnameInCurrentNS withElement ctxNamespace treePositioncurrentElement knownAliasesnameToBasicTypeparseArrayInfoparseCArrayTypeparseHashTable parseListTypeparseFundamentalType parseTypeInfoNothingparseTypeElementsparseCTypeNameElements queryTypeparseEnumMemberextractEnumStorageBytesget_storage_bytesghc-prim GHC.TypesIOMaybe parseScopeparseDirection parseArgsparseOneReturn parseReturn parseFieldFieldIsReadableFieldIsWritableparseInstanceArgnamespaceListAliases parseAliases parseAliasdocumentListIncludesloadDependencies loadGIRFile toGIRInfogtypeInterfaceListPrereqsfixupInterface fixupStructfixupStructIsBoxedfixupStructSizeAndOffsets fixupUnionfixupUnionSizeAndOffsets fixupField fixupGIRInfosfixupGIRDocumentfixupGIR girSetAttrlookupAndMatch specMatch GIRInfoParse girIPPackage girIPIncludesgirIPNamespaces GIRNamespacensName nsVersionnsAPIsnsCTypesg_type_interface_prerequisitesparseAPIparseNSElementparseNamespace parseInclude parsePackageparseRootElementemptyGIRInfoParseparseGIRDocumentfilterMovedMethodsguessObjectPropertyNullability!guessInterfacePropertyNullabilityguessNullabilityguessReadNullabilityguessWriteNullability findMethodOSType ParserState currentNSflagsFalse ignoredElems ignoredAPIs sealedStructs allocInfodefaultOverridesemptyParserStategetNS withFlags parseOneLine parseIgnore parseSealparseAllocInfoparseKeyValuePairparsePkgConfigNameparseNsVersionparseCabalPkgVersion parseSetAttr parseDocsUrl parsePathSpecparseGIRNameTag parseNodeSpec parseXMLNamecheckOS parseVersioncheckPkgConfigVersionparseIf parseEndif filterMethodsfilterAllocInfo filterOneAPI filterAPIsLinuxOSXWindows Subsection CodeGenConfighConfig loadedAPIsc2hMap ExportTypeExportTypeDeclExportToplevel ExportMethodExportProperty ExportSignal ExportModuleExport exportType exportSymbol SymbolNameHaddockSection emptyModule runCodeGen cleanInfomconcat recurseCGmergeInfoState mergeInfo addSubmodule submodule' unwrapCodeGentransformers-0.5.2.0Control.Monad.Trans.Except runExceptTqualifiedImportqualifiedModuleNametellCodeexport paddedLinecommaformatExportedModulesformatToplevelformatTypeDeclssubsecWithPrefix formatSection formatMethodsformatProperties formatSignalsformatExportListlanguagePragmasstandardFields moduleHaddock modulePrelude importDeps moduleImports dotWithPrefixwriteModuleInfo genHsBootmodulePathToFilePathsubsectionTitlesubsectionAnchorDepsPkgInfo minorVersionhaskellGIMinorgiModuleVersion giNextMinorreadMajorMinorpkgNamepkgMajorpkgMinorhaskellGIAPIVersiontypeDoParentSearchapiDoParentSearch getParentremoveDuplicates InheritableifInheritablesobjInheritablesiNameapiInheritablesfullAPIInheritableListfullObjectInheritableListfullInterfaceInheritableListsanitizeescapeReserved FFIPtrTypeFFIPtr FFIFunPtrFreeliftFhashTableKeyMappingshashTablePtrPackers typePtrTypeMapMapFirst MapSecond ConverterFExprApplyMapCPuremapNamemonadicMapNamemapFirst mapSecond hObjectToF hVariantToF hParamSpecToF hBoxedToF hStructToF hUnionToFhToF'getForeignConstructorhToF_PackedTypehToF_PackGHashTableboxedForeignPtr suForeignPtrstructForeignPtrunionForeignPtr fObjectToH fCallbackToH fVariantToH fParamSpecToHfToH'getHaskellConstructorfToH_PackedTypefToH_UnpackGHashTablehaskellBasicTypeforeignBasicTypelocationfullyQualified constRefsfuncRefsenumRefs maybeCType methodRefs callbackRefs structRefs unionRefs ifaceRefs objectRefs formatHaddockformatUnknownCRef formatCRefformatHyperlinkformatCodeBlock qualifiedWith formatLink formatImageformatSectionHeader formatListescape getDocBasePatternSynonym assignValue showBasicType PSExpressionPSViewPSTypePSValue SimpleSynonymExplicitSynonym writePatterngenErrorDomaingenEnumOrFlags genBoxedEnum genBoxedFlagsfindOverloadedgenOverloadedLabelattrType hPropNameinfoTypegenPlaceholderProperty propTypeStrgenPropertySettergenPropertyGettergenPropertyConstructorgenPropertyClearaccessorOrUndefinedgenOneProperty genPropertiesgenNamespacedAttrLabelsfieldCallbackTypefixCallbackStructFields isEmbeddedbuildFieldReaderbuildFieldWriterbuildFieldClear fieldGetter fieldSetter fieldClearfName genAttrInfo genZeroSUprefixedForeignImportprefixedFunPtrImportbuildFieldAttributes basicFreeFnbasicFreeFnOnError freeContainerfreeElem fullyFreefullyFreeOnError freeElementsfreeGHashTablefreeElementsOnErrorfreeIn freeInOnErrorfreeInGHashTablefreeOutDynamicWrapperdynamicWrapper dynamicTypemkForeignImportmkDynamicImportprepareInCallbackformatHSignaturefunPtr convertResult convertOutArgconvertOutArgsinvokeCFunction returnResultgenHaskellWrappergenWrapperBodygenCallableDebugInfoforgetClosuresclassifyDuplicatesreadInArrayLengthsreadInArrayLengthcheckInArrayLength freeInArgs' freeInArgsfreeInArgsOnErrorprepareArgForCall prepareInArgprepareInoutArg prepareOutArgconvertOutCArrayreadOutArrayLengths touchInArgclosureToCallbackMapprepareClosuresfreeCallCallbacksmethodInfoNamegenMethodResolvergenHaskellCallbackPrototypegenCCallbackPrototypegenWrappedCallback genClosuregenDropClosuresgenCallbackWrappergenCallbackWrapperFactoryconvertNullableconvertCallbackInCArray saveOutArgsignalInfoName genInstancefindSignalNames genStructgenUnion fixMethodArgs genAPIModulegenBoxedObjectfixConstructorReturnType genMethodgenGObjectCasts genObject genInterfacesymbolFromFunctiongenAPI genModule' genPkgInfoconfCodeGenHook%Cabal-1.24.2.0-DZNolZ9MBQLKV7GSAwAGX6Distribution.Simple.UserHooksconfHookConfHook