Safe Haskell | None |
---|---|
Language | Haskell98 |
- data DeprecationInfo
- deprecatedPragma :: Text -> Maybe DeprecationInfo -> Text
- queryDeprecated :: Element -> Maybe DeprecationInfo
Documentation
data DeprecationInfo Source #
Deprecation information on a symbol.
Eq DeprecationInfo Source # | |
Show DeprecationInfo Source # | |
deprecatedPragma :: Text -> Maybe DeprecationInfo -> Text Source #
Encode the given DeprecationInfo
for the given symbol as a
deprecation pragma.
queryDeprecated :: Element -> Maybe DeprecationInfo Source #
Parse the deprecation information for the given element of the GIR file.