flp-0.1.0.0: A layout spec language for memory managers implemented in Rust.

Copyright(c) Alec Theriault 2017-2018
LicenseBSD-style
Maintaineralec.theriault@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

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

Documentation

translateLit :: LitTok -> Suffix -> a -> Lit a Source #

Parse a valid LitTok into a Lit.