| Maintainer | bastiaan.heeren@ou.nl |
|---|---|
| Stability | provisional |
| Portability | portable (depends on ghc) |
| Safe Haskell | None |
| Language | Haskell98 |
Recognize.Data.StringLexer
Description
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 | |
| Show LayoutMode Source # | |
Defined in Recognize.Data.StringLexer Methods showsPrec :: Int -> LayoutMode -> ShowS # show :: LayoutMode -> String # showList :: [LayoutMode] -> ShowS # | |
| ToXML LayoutMode Source # | |
Defined in Recognize.Data.StringLexer | |
data LexerOutput Source #
The LexerOutput contains the lexed strings and the layout mode which is determind by the columnizer in Recognize.Parsing.MathLexer
Constructors
| LexerOutput | |
Fields
| |
Instances
| Show LexerOutput Source # | |
Defined in Recognize.Data.StringLexer Methods showsPrec :: Int -> LexerOutput -> ShowS # show :: LexerOutput -> String # showList :: [LexerOutput] -> ShowS # | |
| ToHTML LexerOutput Source # | |
Defined in Recognize.Data.StringLexer | |
| ToXML LexerOutput Source # | |
Defined in Recognize.Data.StringLexer | |
| Pretty LexerOutput Source # | |
Defined in Recognize.Data.StringLexer | |
stringLexer :: StringLexerOptions -> Maybe Language -> Input -> LexerOutput Source #