Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.TypedProtocol.Documentation.Html
Documentation
renderDescriptions :: [Description] -> Html Source #
renderState :: String -> [MessageDescription codec] -> (StateRef, [Description], AgencyID) -> Html Source #
messageTOC :: String -> MessageDescription codec -> TOC (String, String) Source #
formatFieldSize :: FieldSize -> String Source #
renderMessage :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => String -> MessageDescription codec -> Html Source #
protocolTOC :: ProtocolDescription codec -> TOC (String, String) Source #
protocolToSvgMem :: ProtocolDescription codec -> ByteString Source #
renderDiagramSvg :: ProtocolDescription codec -> Html Source #
renderProtocol :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => ProtocolDescription codec -> Html Source #
fieldSpecToHTML :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Html Source #
fieldSpecAnnotations :: FieldInfo codec -> [String] Source #
subfieldsToHTML :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Maybe Html Source #
fieldTypeToHtml :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => FieldInfo codec -> Html Source #
subfieldToHtmlTR :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => SubfieldInfo codec -> Html Source #
wrapDocument :: Html -> Html Source #
renderProtocolDescriptions :: (HasInfo codec Word32, HasInfo codec (DefEnumEncoding codec)) => [ProtocolDescription codec] -> Html Source #