| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Synopsis | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Documentation | ||||||||||||||||||||||||||||||||||||||||||||||||
parseYaml :: String -> IO YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
Parse a regular Haskell string | ||||||||||||||||||||||||||||||||||||||||||||||||
emitYaml :: YamlNode -> IO String | ||||||||||||||||||||||||||||||||||||||||||||||||
Dump a YAML node into a regular Haskell string | ||||||||||||||||||||||||||||||||||||||||||||||||
parseYamlFile :: String -> IO YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
Given a file name, parse contents of file | ||||||||||||||||||||||||||||||||||||||||||||||||
emitYamlFile :: FilePath -> YamlNode -> IO () | ||||||||||||||||||||||||||||||||||||||||||||||||
Given a file name, dump a YAML node into that file | ||||||||||||||||||||||||||||||||||||||||||||||||
parseYamlBytes :: Buf -> IO YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
Parse a ByteString buffer (this is faster) | ||||||||||||||||||||||||||||||||||||||||||||||||
emitYamlBytes :: YamlNode -> IO Buf | ||||||||||||||||||||||||||||||||||||||||||||||||
data YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
data YamlElem | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
data YamlAnchor | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
tagNode :: YamlTag -> YamlNode -> YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
nilNode :: YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
mkNode :: YamlElem -> YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
mkTagNode :: String -> YamlElem -> YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
mkTagStrNode :: String -> String -> YamlNode | ||||||||||||||||||||||||||||||||||||||||||||||||
type SYMID = CULong | ||||||||||||||||||||||||||||||||||||||||||||||||
packBuf :: String -> Buf | ||||||||||||||||||||||||||||||||||||||||||||||||
Convert a regular Haskell string into a ByteString buffer | ||||||||||||||||||||||||||||||||||||||||||||||||
unpackBuf :: Buf -> String | ||||||||||||||||||||||||||||||||||||||||||||||||
Convert a ByteString buffer into a regular Haskell string | ||||||||||||||||||||||||||||||||||||||||||||||||
Produced by Haddock version 2.7.2 |