| Copyright | (c) Eric Mertens 2017 |
|---|---|
| License | ISC |
| Maintainer | emertens@gmail.com |
| Safe Haskell | Trustworthy |
| Language | Haskell2010 |
TOML.Lexer
Description
Lexer for TOML generated by Alex. Errors are reported in the resulting
token list with Error. As much as possible this module only contains
generated code. The rest of the implementation is in LexerUtils.
- scanTokens :: Text -> [Located Token]
Documentation
Produce a token stream from an input file. The token
stream will always be terminated by an ErrorToken or
EofToken.