Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | None |
Language | Haskell98 |
Synopsis
- data LayoutMode
- data LexerOutput = LexerOutput {}
- stringLexer :: StringLexerOptions -> Maybe Language -> Input -> LexerOutput
Documentation
data LayoutMode Source #
Instances
Eq LayoutMode Source # | |
Defined in Recognize.Data.StringLexer (==) :: LayoutMode -> LayoutMode -> Bool # (/=) :: LayoutMode -> LayoutMode -> Bool # | |
Show LayoutMode Source # | |
Defined in Recognize.Data.StringLexer showsPrec :: Int -> LayoutMode -> ShowS # show :: LayoutMode -> String # showList :: [LayoutMode] -> ShowS # | |
ToXML LayoutMode Source # | |
Defined in Recognize.Data.StringLexer toXML :: LayoutMode -> XML # listToXML :: [LayoutMode] -> XML # |
data LexerOutput Source #
The LexerOutput contains the lexed strings and the layout mode which is determind by the columnizer in Recognize.Parsing.MathLexer
Instances
Show LexerOutput Source # | |
Defined in Recognize.Data.StringLexer showsPrec :: Int -> LexerOutput -> ShowS # show :: LexerOutput -> String # showList :: [LexerOutput] -> ShowS # | |
ToHTML LexerOutput Source # | |
Defined in Recognize.Data.StringLexer toHTML :: LexerOutput -> HTMLBuilder # listToHTML :: [LexerOutput] -> HTMLBuilder # | |
ToXML LexerOutput Source # | |
Defined in Recognize.Data.StringLexer toXML :: LexerOutput -> XML # listToXML :: [LexerOutput] -> XML # | |
Pretty LexerOutput Source # | |
Defined in Recognize.Data.StringLexer pretty :: LexerOutput -> Doc # prettyList :: [LexerOutput] -> Doc # |
stringLexer :: StringLexerOptions -> Maybe Language -> Input -> LexerOutput Source #