Safe Haskell | None |
---|---|
Language | Haskell98 |
- parseXML :: ObjectPath -> String -> Maybe Object
- formatXML :: Object -> Maybe String
- data Object
- object :: ObjectPath -> Object
- objectPath :: Object -> ObjectPath
- objectInterfaces :: Object -> [Interface]
- objectChildren :: Object -> [Object]
- data Interface
- interface :: InterfaceName -> Interface
- interfaceName :: Interface -> InterfaceName
- interfaceMethods :: Interface -> [Method]
- interfaceSignals :: Interface -> [Signal]
- interfaceProperties :: Interface -> [Property]
- data Method
- method :: MemberName -> Method
- methodName :: Method -> MemberName
- methodArgs :: Method -> [MethodArg]
- data MethodArg
- methodArg :: String -> Type -> Direction -> MethodArg
- methodArgName :: MethodArg -> String
- methodArgType :: MethodArg -> Type
- methodArgDirection :: MethodArg -> Direction
- data Direction
- directionIn :: Direction
- directionOut :: Direction
- data Signal
- signal :: MemberName -> Signal
- signalName :: Signal -> MemberName
- signalArgs :: Signal -> [SignalArg]
- data SignalArg
- signalArg :: String -> Type -> SignalArg
- signalArgName :: SignalArg -> String
- signalArgType :: SignalArg -> Type
- data Property
- property :: String -> Type -> Property
- propertyName :: Property -> String
- propertyType :: Property -> Type
- propertyRead :: Property -> Bool
- propertyWrite :: Property -> Bool
XML conversion
Objects
object :: ObjectPath -> Object Source #
objectPath :: Object -> ObjectPath Source #
objectInterfaces :: Object -> [Interface] Source #
objectChildren :: Object -> [Object] Source #
Interfaces
interface :: InterfaceName -> Interface Source #
interfaceMethods :: Interface -> [Method] Source #
interfaceSignals :: Interface -> [Signal] Source #
interfaceProperties :: Interface -> [Property] Source #
Methods
method :: MemberName -> Method Source #
methodName :: Method -> MemberName Source #
methodArgs :: Method -> [MethodArg] Source #
Method arguments
methodArgName :: MethodArg -> String Source #
methodArgType :: MethodArg -> Type Source #
Signals
signal :: MemberName -> Signal Source #
signalName :: Signal -> MemberName Source #
signalArgs :: Signal -> [SignalArg] Source #
Signal arguments
signalArgName :: SignalArg -> String Source #
signalArgType :: SignalArg -> Type Source #
Properties
propertyName :: Property -> String Source #
propertyType :: Property -> Type Source #
propertyRead :: Property -> Bool Source #
propertyWrite :: Property -> Bool Source #