language-c99-util-0.2.0: Utilities for language-c99.

Safe Haskell | None
Language | Haskell2010

Language.C99.Util

# Documentation

class Wrap a b where Source #

Methods

wrap :: a -> b Source #

#### Instances

Instances details

Wrap AddExpr AddExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: AddExpr -> AddExpr Source #
Wrap AndExpr AndExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: AndExpr -> AndExpr Source #
Wrap AssignExpr AssignExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: AssignExpr -> AssignExpr Source #
Wrap CastExpr CastExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: CastExpr -> CastExpr Source #
Wrap CondExpr CondExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: CondExpr -> CondExpr Source #
Wrap EqExpr EqExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: EqExpr -> EqExpr Source #
Wrap Expr Expr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: Expr -> Expr Source #
Wrap LAndExpr LAndExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: LAndExpr -> LAndExpr Source #
Wrap LOrExpr LOrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: LOrExpr -> LOrExpr Source #
Wrap MultExpr MultExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: MultExpr -> MultExpr Source #
Wrap OrExpr OrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: OrExpr -> OrExpr Source #
Wrap PostfixExpr PostfixExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: PostfixExpr -> PostfixExpr Source #
Wrap PrimExpr PrimExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: PrimExpr -> PrimExpr Source #
Wrap RelExpr RelExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: RelExpr -> RelExpr Source #
Wrap ShiftExpr ShiftExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: ShiftExpr -> ShiftExpr Source #
Wrap UnaryExpr UnaryExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: UnaryExpr -> UnaryExpr Source #
Wrap XOrExpr XOrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: XOrExpr -> XOrExpr Source #
(WrapStep a b, Wrap b AddExpr) => Wrap a AddExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> AddExpr Source #
(WrapStep a b, Wrap b AndExpr) => Wrap a AndExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> AndExpr Source #
(WrapStep a b, Wrap b AssignExpr) => Wrap a AssignExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> AssignExpr Source #
(WrapStep a b, Wrap b CastExpr) => Wrap a CastExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> CastExpr Source #
(WrapStep a b, Wrap b CondExpr) => Wrap a CondExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> CondExpr Source #
(WrapStep a b, Wrap b EqExpr) => Wrap a EqExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> EqExpr Source #
(WrapStep a b, Wrap b Expr) => Wrap a Expr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> Expr Source #
(WrapStep a b, Wrap b LAndExpr) => Wrap a LAndExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> LAndExpr Source #
(WrapStep a b, Wrap b LOrExpr) => Wrap a LOrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> LOrExpr Source #
(WrapStep a b, Wrap b MultExpr) => Wrap a MultExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> MultExpr Source #
(WrapStep a b, Wrap b OrExpr) => Wrap a OrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> OrExpr Source #
(WrapStep a b, Wrap b PostfixExpr) => Wrap a PostfixExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> PostfixExpr Source #
(WrapStep a b, Wrap b PrimExpr) => Wrap a PrimExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> PrimExpr Source #
(WrapStep a b, Wrap b RelExpr) => Wrap a RelExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> RelExpr Source #
(WrapStep a b, Wrap b ShiftExpr) => Wrap a ShiftExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> ShiftExpr Source #
(WrapStep a b, Wrap b UnaryExpr) => Wrap a UnaryExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> UnaryExpr Source #
(WrapStep a b, Wrap b XOrExpr) => Wrap a XOrExpr Source # |
Instance details Defined in Language.C99.Util.Wrap Methods wrap :: a -> XOrExpr Source #

group :: [GroupPart] -> Group Source #

error_emptylist :: [Char] -> a Source #

hcharseq :: [HChar] -> HCharSeq Source #

qcharseq :: [QChar] -> QCharSeq Source #

pptokens :: [PreprocToken] -> PPTokens Source #

paramlist :: [ParamDecln] -> ParamList Source #

voidparamlist :: [ParamDecln] -> ParamList Source #

digit :: Int -> Digit Source #

nonzerodigit :: Int -> NonZeroDigit Source #

nondigit :: Char -> IdentNonDigit Source #

ident :: String -> Ident Source #

litbool :: Bool -> PrimExpr Source #

litint :: Integer -> UnaryExpr Source #

litdouble :: Double -> UnaryExpr Source #

litfloat :: Float -> UnaryExpr Source #

litstring :: String -> UnaryExpr Source #

identdeclr :: String -> Declr Source #