| Copyright | (c) Alec Theriault 2017-2018 |
|---|---|
| License | BSD-style |
| Maintainer | alec.theriault@gmail.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Rust.Parser.Literals
Description
Functions for parsing literals from valid literal tokens. Note the functions in this module fail
badly is fed invalid LitToks; it is expected their input is coming from Alex and is correct.
Synopsis
- translateLit :: LitTok -> Suffix -> a -> Lit a