Safe Haskell | None |
---|
- datatypesTool :: APITool
- type_nm :: APINode -> Name
- rep_type_nm :: APINode -> Name
- nodeT :: APINode -> TypeQ
- nodeRepT :: APINode -> TypeQ
- nodeConE :: APINode -> ExpQ
- nodeFieldE :: APINode -> FieldName -> ExpQ
- nodeAltConE :: APINode -> FieldName -> ExpQ
- nodeAltConP :: APINode -> FieldName -> [PatQ] -> PatQ
- newtypeProjectionE :: APINode -> ExpQ
Documentation
datatypesTool :: APIToolSource
Tool to generate datatypes and type synonyms corresponding to an API
rep_type_nm :: APINode -> NameSource
Name of the representation type corresponding to the API node,
which differs from the type_nm
only if custom conversion
functions are specified. This is also the name of the sole
constructor for newtypes and records.
nodeFieldE :: APINode -> FieldName -> ExpQSource
A record field in an API node, as an expression
nodeAltConE :: APINode -> FieldName -> ExpQSource
A prefixed constructor for a union or enum, as an expression
nodeAltConP :: APINode -> FieldName -> [PatQ] -> PatQSource
A prefixed constructor for a union or enum, as a pattern
newtypeProjectionE :: APINode -> ExpQSource
The projection function from a newtype API node, as an epxression