Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.TypedProtocol.Documentation.Text
Documentation
stringLine :: String -> Build Source #
renderDescriptions :: [Description] -> Build Source #
renderMessageRef :: String -> MessageDescription codec -> Build Source #
renderState :: [MessageDescription codec] -> (StateRef, [Description], AgencyID) -> Build Source #
formatStateRef :: StateRef -> Build Source #
messageTOC :: String -> MessageDescription codec -> TOC (String, String) Source #
formatFieldSize :: FieldSize -> String Source #
renderMessage :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => MessageDescription codec -> Build Source #
protocolTOC :: ProtocolDescription codec -> TOC (String, String) Source #
renderProtocol :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => ProtocolDescription codec -> Build Source #
renderFieldSpec :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Build Source #
fieldSpecAnnotations :: FieldInfo codec -> [String] Source #
renderSubfields :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Build Source #
renderFieldType :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Build Source #
renderSubfield :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => SubfieldInfo codec -> Build Source #
renderProtocolDescriptions :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => [ProtocolDescription codec] -> Text Source #