Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data StringPart a
- data HsChompState = HsChompState {}
- data QuoteState
- data EscapeState
- parseInterpolations :: [Interpolator a] -> String -> Either ParseError [StringPart a]
- pInterp :: [Interpolator a] -> Parser [StringPart a]
- pStringPart :: [Interpolator a] -> Parser (StringPart a)
- pAnti :: Interpolator a -> Parser (StringPart a)
- parseExpQ :: String -> Q Exp
- pAntiOpen :: Interpolator a -> Parser String
- pAntiClose :: Interpolator a -> Parser String
- pUntilUnbalancedCloseBracket :: Interpolator a -> Parser String
- pEsc :: Parser (StringPart a)
- pLit :: [Interpolator a] -> Parser (StringPart a)
Documentation
data StringPart a Source #
The raw segments the parser will cut the quasi-quoted string into
data HsChompState Source #
HsChompState | |
|
Instances
Show HsChompState Source # | |
Defined in CustomInterpolation.Parser showsPrec :: Int -> HsChompState -> ShowS # show :: HsChompState -> String # showList :: [HsChompState] -> ShowS # |
data QuoteState Source #
Instances
Eq QuoteState Source # | |
Defined in CustomInterpolation.Parser (==) :: QuoteState -> QuoteState -> Bool # (/=) :: QuoteState -> QuoteState -> Bool # | |
Ord QuoteState Source # | |
Defined in CustomInterpolation.Parser compare :: QuoteState -> QuoteState -> Ordering # (<) :: QuoteState -> QuoteState -> Bool # (<=) :: QuoteState -> QuoteState -> Bool # (>) :: QuoteState -> QuoteState -> Bool # (>=) :: QuoteState -> QuoteState -> Bool # max :: QuoteState -> QuoteState -> QuoteState # min :: QuoteState -> QuoteState -> QuoteState # | |
Show QuoteState Source # | |
Defined in CustomInterpolation.Parser showsPrec :: Int -> QuoteState -> ShowS # show :: QuoteState -> String # showList :: [QuoteState] -> ShowS # |
data EscapeState Source #
Instances
parseInterpolations :: [Interpolator a] -> String -> Either ParseError [StringPart a] Source #
pInterp :: [Interpolator a] -> Parser [StringPart a] Source #
pStringPart :: [Interpolator a] -> Parser (StringPart a) Source #
pAnti :: Interpolator a -> Parser (StringPart a) Source #
pAntiClose :: Interpolator a -> Parser String Source #
pEsc :: Parser (StringPart a) Source #
pLit :: [Interpolator a] -> Parser (StringPart a) Source #