Copyright | (c) Andrea Rossato |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Andrea Rossato <andrea.rossato@unitn.it> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell98 |
The CS Language parsers
- readCSLFile :: FilePath -> IO Style
- parseCSL :: String -> IO Style
- parseCSL' :: ByteString -> IO Style
- readLocaleFile :: String -> IO Locale
- xpStyle :: PU Style
- xpInfo :: PU (Maybe CSInfo)
- xpLocale :: PU Locale
- xpTerms :: PU [CslTerm]
- xpMacros :: PU [MacroMap]
- xpCitation :: PU Citation
- xpBibliography :: PU Bibliography
- xpOpt :: String -> PU [Option]
- xpNamesOpt :: PU [Option]
- xpNameFormat :: PU [Option]
- xpNameAttrs :: PU NameAttrs
- xpNameOpt :: PU [Option]
- xpBibOpts :: PU [Option]
- xpCitOpts :: PU [Option]
- xpStyleOpts :: PU [Option]
- xpSort :: PU [Sort]
- xpChoose :: PU Element
- xpMacro :: PU Element
- xpConst :: PU Element
- xpVariable :: PU Element
- xpTerm :: PU Element
- xpNames :: PU Element
- xpLabel :: PU Element
- xpSubStitute :: PU Element
- xpGroup :: PU Element
- xpNumber :: PU Element
- xpDate :: PU Element
- xpLocaleDate :: PU Element
- xpTextElem :: PU a -> PU a
- xpDelimiter :: PU String
- xpPlural :: PU Plural
- xpCommon :: (XmlPickler b, XmlPickler c) => String -> PU (String, b, c)
- xpAttrText :: String -> PU String
- xpAttrText' :: String -> PU String
- xpAttrWithDefault :: Eq a => a -> String -> PU a -> PU a
- xpIElemWithDefault :: Eq a => a -> String -> PU a -> PU a
- readable :: (Read a, Show b) => (String -> a, b -> String)
- toShow :: String -> String
- toRead :: String -> String
- langBase :: [(String, String)]
Documentation
readCSLFile :: FilePath -> IO Style Source
Read and parse a CSL style file into the internal style
representation, the Style
.
parseCSL' :: ByteString -> IO Style Source
readLocaleFile :: String -> IO Locale Source
xpNamesOpt :: PU [Option] Source
xpNameFormat :: PU [Option] Source
xpStyleOpts :: PU [Option] Source
xpTextElem :: PU a -> PU a Source
xpCommon :: (XmlPickler b, XmlPickler c) => String -> PU (String, b, c) Source
xpAttrText :: String -> PU String Source
For mandatory attributes.
xpAttrText' :: String -> PU String Source
For optional attributes.