language-c-quote-0.12.1: C/CUDA/OpenCL/Objective-C quasiquoting library.

Copyright(c) 2006-2011 Harvard University
(c) 2011-2013 Geoffrey Mainland
(c) 2013-2014 Manuel M T Chakravarty
: (c) 2013-2015 Drexel University
LicenseBSD-style
Maintainermainland@drexel.edu
Safe HaskellNone
LanguageHaskell98

Language.C.Quote.ObjC

Description

 

Synopsis

Documentation

class ToIdent a where #

An instance of ToIndent can be converted to a Id.

Minimal complete definition

toIdent

Methods

toIdent :: a -> SrcLoc -> Id #

Instances

ToIdent String # 

Methods

toIdent :: String -> SrcLoc -> Id #

ToIdent Id # 

Methods

toIdent :: Id -> SrcLoc -> Id #

ToIdent (SrcLoc -> Id) # 

Methods

toIdent :: (SrcLoc -> Id) -> SrcLoc -> Id #

class ToConst a where #

An instance of ToConst can be converted to a Const.

Minimal complete definition

toConst

Methods

toConst :: a -> SrcLoc -> Const #

Instances

class ToExp a where #

An instance of ToExp can be converted to a Exp.

Minimal complete definition

toExp

Methods

toExp :: a -> SrcLoc -> Exp #

Instances

ToExp Char # 

Methods

toExp :: Char -> SrcLoc -> Exp #

ToExp Double # 

Methods

toExp :: Double -> SrcLoc -> Exp #

ToExp Float # 

Methods

toExp :: Float -> SrcLoc -> Exp #

ToExp Int # 

Methods

toExp :: Int -> SrcLoc -> Exp #

ToExp Int8 # 

Methods

toExp :: Int8 -> SrcLoc -> Exp #

ToExp Int16 # 

Methods

toExp :: Int16 -> SrcLoc -> Exp #

ToExp Int32 # 

Methods

toExp :: Int32 -> SrcLoc -> Exp #

ToExp Int64 # 

Methods

toExp :: Int64 -> SrcLoc -> Exp #

ToExp Integer # 

Methods

toExp :: Integer -> SrcLoc -> Exp #

ToExp Rational # 

Methods

toExp :: Rational -> SrcLoc -> Exp #

ToExp Word # 

Methods

toExp :: Word -> SrcLoc -> Exp #

ToExp Word8 # 

Methods

toExp :: Word8 -> SrcLoc -> Exp #

ToExp Word16 # 

Methods

toExp :: Word16 -> SrcLoc -> Exp #

ToExp Word32 # 

Methods

toExp :: Word32 -> SrcLoc -> Exp #

ToExp Word64 # 

Methods

toExp :: Word64 -> SrcLoc -> Exp #

ToExp String # 

Methods

toExp :: String -> SrcLoc -> Exp #

ToExp Exp # 

Methods

toExp :: Exp -> SrcLoc -> Exp #

objcLit :: a -> ObjCLit a #

Indicates that a value should be treated as an Objective-C literal.