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

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

Language.C.Pretty

Description

 

Synopsis

Documentation

data Fixity Source

Constructors

Fixity Assoc Int 

infixop Source

Arguments

:: (Pretty a, Pretty b, Pretty op, CFixity op) 
=> Int

precedence of context

-> op

operator

-> a

left argument

-> b

right argument

-> Doc 

Pretty print infix binary operators

prefixop Source

Arguments

:: (Pretty a, Pretty op, CFixity op) 
=> Int

precedence of context

-> op

operator

-> a

argument

-> Doc 

Pretty print prefix unary operators

pprEnum :: Maybe Id -> [CEnum] -> [Attr] -> Doc Source