Safe Haskell | None |
---|---|
Language | Haskell98 |
Parsing of documentation nodes.
- data Documentation = Documentation {
- rawDocText :: Maybe Text
- sinceVersion :: Maybe Text
- queryDocumentation :: Element -> Documentation
Documentation
data Documentation Source #
Documentation 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 parseGtkDoc
.
queryDocumentation :: Element -> Documentation Source #
Parse the documentation node for the given element of the GIR file.