- parseYaml :: String -> IO YamlNode
- emitYaml :: YamlNode -> IO String
- parseYamlFile :: String -> IO YamlNode
- emitYamlFile :: FilePath -> YamlNode -> IO ()
- parseYamlBytes :: Buf -> IO YamlNode
- emitYamlBytes :: YamlNode -> IO Buf
- data YamlNode = MkNode {}
- data YamlElem
- data YamlAnchor
- = AAnchor !Int
- | AReference !Int
- | ASingleton
- tagNode :: YamlTag -> YamlNode -> YamlNode
- nilNode :: YamlNode
- mkNode :: YamlElem -> YamlNode
- mkTagNode :: String -> YamlElem -> YamlNode
- mkTagStrNode :: String -> String -> YamlNode
- type SYMID = CULong
- packBuf :: String -> Buf
- unpackBuf :: Buf -> String
Documentation
parseYamlFile :: String -> IO YamlNodeSource
Given a file name, parse contents of file
emitYamlFile :: FilePath -> YamlNode -> IO ()Source
Given a file name, dump a YAML node into that file
parseYamlBytes :: Buf -> IO YamlNodeSource
Parse a ByteString buffer (this is faster)
emitYamlBytes :: YamlNode -> IO BufSource
data YamlAnchor Source
mkTagStrNode :: String -> String -> YamlNodeSource