Copyright | (c) Stefan Berthold 2014-2015 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | stefan.berthold@gmx.net |
Stability | unstable |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
This module specifies inline configuration parsers. The parsers are also used for the arguments in the command line interface.
- reconfigure :: ParserState -> Text -> Either (Text, Config) Config
- reconfiguration :: ParserState -> Parser (Either (Text, Config) Config)
- lex :: Parser a -> Parser a
- preamble :: Parser Text
- profileMain :: Map Text Config -> Parser Config
- profilePre :: Parser Text
- profileName :: Map Text Config -> Parser Config
- storeMain :: Config -> Parser (Text, Config)
- storePre :: Parser Text
- storeName :: Config -> Parser (Text, Config)
- periodMain :: Config -> Parser Config
- periodPre :: Parser Text
- periodSigns :: Config -> Parser Config
- replaceMain :: Config -> Parser Config
- replacePre :: Parser Text
- data Style
- replaceStyleNoarg :: Parser Style
- replaceStyleInarg :: Parser Style
- replaceMacro :: Config -> Style -> Parser Config
- searchMain :: Config -> Parser Config
- searchPre :: Parser Text
- searchList :: Config -> Parser Config
- isolateMain :: Config -> Parser Config
- isolatePre :: Parser Text
- isolateList :: Config -> Parser Config
- skipMain :: Config -> Parser Config
- skipPre :: Parser Text
- skipList :: Config -> Parser Config
- unskipMain :: Config -> Parser Config
- unskipPre :: Parser Text
- unskipList :: Config -> Parser Config
- eosMain :: Config -> Parser Config
- eosPre :: Parser Text
- eosList :: Config -> Parser Config
- exceptMain :: Config -> Parser Config
- exceptPre :: Parser Text
- exceptTuple :: Config -> Parser Config
- list :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool)
- list' :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool)
- listBlack :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool)
- listWhite :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool)
- listConstAll :: Parser (a -> Bool)
- listConstAll' :: Parser (LaTeXElement -> Bool)
- listConstNone :: Parser (a -> Bool)
- listConstNone' :: Parser (LaTeXElement -> Bool)
- iList :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text)
- iListBlack :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text)
- iListWhite :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text)
- iListConstAll :: Parser (LaTeXElement -> Maybe Text)
- iListConstNone :: Parser (LaTeXElement -> Maybe Text)
- listItems :: Parser [Text]
- listItem :: Parser Text
- listItemMacro :: Parser Text
- listItemEnvironment :: Parser Text
- listItemSeparator :: Parser Char
- isElement :: LaTeXElement -> [Text] -> Bool
Documentation
reconfigure :: ParserState -> Text -> Either (Text, Config) Config Source
reconfiguration :: ParserState -> Parser (Either (Text, Config) Config) Source
Lexer
Preamble
Restore profile
Store profile
Period chars
periodMain :: Config -> Parser Config Source
periodSigns :: Config -> Parser Config Source
Replace string
replaceMain :: Config -> Parser Config Source
Search filter
searchMain :: Config -> Parser Config Source
searchList :: Config -> Parser Config Source
Isolate filter
isolateMain :: Config -> Parser Config Source
isolateList :: Config -> Parser Config Source
Skip filter
Unskip filter
unskipMain :: Config -> Parser Config Source
unskipList :: Config -> Parser Config Source
End of sentence filter
Except and replace words
exceptMain :: Config -> Parser Config Source
exceptTuple :: Config -> Parser Config Source
Macro/environment name list parser
list :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool) Source
list' :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool) Source
listBlack :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool) Source
listWhite :: (LaTeXElement -> Bool) -> Parser (LaTeXElement -> Bool) Source
listConstAll :: Parser (a -> Bool) Source
listConstAll' :: Parser (LaTeXElement -> Bool) Source
listConstNone :: Parser (a -> Bool) Source
listConstNone' :: Parser (LaTeXElement -> Bool) Source
Isolate list parser
iList :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text) Source
iListBlack :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text) Source
iListWhite :: (LaTeXElement -> Maybe Text) -> Parser (LaTeXElement -> Maybe Text) Source
iListConstAll :: Parser (LaTeXElement -> Maybe Text) Source
iListConstNone :: Parser (LaTeXElement -> Maybe Text) Source
List item parser
isElement :: LaTeXElement -> [Text] -> Bool Source