Safe Haskell | None |
---|---|
Language | Haskell2010 |
TH helpers to build scaffolding from introspection data
Documentation
liftObjectPath :: ObjectPath -> ExpQ Source
liftArgDesc :: ArgumentDescription n -> ExpQ Source
mapIInterfaces :: (Text -> IInterface -> [a]) -> Text -> INode -> [a] Source
nodeMethodDescriptions :: Text -> INode -> [SomeMethodDescription] Source
data PropertyDescription Source
PD | |
|
nodePropertyDescriptions :: Text -> INode -> [PropertyDescription] Source
promotedListT :: [TypeQ] -> TypeQ Source
promoteSimpleType :: Show a => a -> TypeQ Source
promoteDBusType :: DBusType -> TypeQ Source
readIntrospectXml :: FilePath -> Q INode Source
liftMethodDescription :: String -> SomeMethodDescription -> Q [Dec] Source
propertyFromDescription :: (PropertyDescription -> String) -> Maybe Text -> PropertyDescription -> Q [Dec] Source
nodeSignals :: Text -> INode -> [SomeSignalDescription] Source
interfaceSignalDs :: Text -> IInterface -> [SomeSignalDescription] Source
signalDs :: ObjectPath -> Text -> ISignal -> SomeSignalDescription Source
data SomeArgumentDescription where Source
SSAD :: Sing (ts :: [DBusType]) -> ArgumentDescription (ArgParity ts) -> SomeArgumentDescription |
liftSignalDescription :: String -> SomeSignalDescription -> Q [Dec] Source