Copyright | (c) Stefan Berthold 2014-2015 |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | stefan.berthold@gmx.net |
Stability | unstable |
Portability | GHC |
Safe Haskell | Safe |
Language | Haskell2010 |
This modules specifies parsers on LaTeXElement
token streams.
- type Parser u = Parsec LaTeX u
- satisfy :: (LaTeXElement -> Bool) -> Parser u LaTeXElement
- anyPrintable :: Parser u LaTeXElement
- printable :: Text -> Parser u LaTeXElement
- anyMacro :: Parser u LaTeXElement
- macro :: Text -> Parser u LaTeXElement
- anyEnvironment :: Parser u LaTeXElement
- environment :: Text -> Parser u LaTeXElement
- anyBlock :: Parser u LaTeXElement
- anyBBlock :: Parser u LaTeXElement
- anyMath :: Parser u LaTeXElement
- anyComment :: Parser u LaTeXElement
- updpos :: SourcePos -> t -> s -> SourcePos
Documentation
Parsers
satisfy :: (LaTeXElement -> Bool) -> Parser u LaTeXElement Source
printable :: Text -> Parser u LaTeXElement Source
anyMacro :: Parser u LaTeXElement Source
macro :: Text -> Parser u LaTeXElement Source
environment :: Text -> Parser u LaTeXElement Source
anyBlock :: Parser u LaTeXElement Source
anyMath :: Parser u LaTeXElement Source