language-c-quote-0.13: C/CUDA/OpenCL/Objective-C quasiquoting library.
Copyright(c) 2006-2011 Harvard University
(c) 2011-2012 Geoffrey Mainland
(c) 2013-2014 Manuel M T Chakravarty
(c) 2013-2016 Drexel University
LicenseBSD-style
Maintainermainland@drexel.edu
Safe HaskellNone
LanguageHaskell2010

Language.C.Parser.Parser

Description

 

Documentation

newtype HappyAbsSyn Source #

Constructors

HappyAbsSyn HappyAny 

happyThen :: P a -> (a -> P b) -> P b Source #

happyReturn :: a -> P a Source #

happyThen1 :: P a -> (a -> P b) -> P b Source #

happySeq :: a -> b -> b Source #

lexer :: (L Token -> P a) -> P a Source #

locate :: Loc -> (SrcLoc -> a) -> L a Source #

data TySpec Source #

Instances

Instances details
Eq TySpec Source # 
Instance details

Defined in Language.C.Parser.Parser

Methods

(==) :: TySpec -> TySpec -> Bool #

(/=) :: TySpec -> TySpec -> Bool #

Ord TySpec Source # 
Instance details

Defined in Language.C.Parser.Parser

Show TySpec Source # 
Instance details

Defined in Language.C.Parser.Parser

Pretty TySpec Source # 
Instance details

Defined in Language.C.Parser.Parser

Methods

ppr :: TySpec -> Doc #

pprPrec :: Int -> TySpec -> Doc #

pprList :: [TySpec] -> Doc #

Located TySpec Source # 
Instance details

Defined in Language.C.Parser.Parser

Methods

locOf :: TySpec -> Loc #

locOfList :: [TySpec] -> Loc #

gccOnly :: Located a => String -> a -> P a Source #

data RevList a Source #

Constructors

RNil 
RCons a (RevList a) 
RApp [a] (RevList a) 

Instances

Instances details
Located a => Located (RevList a) Source # 
Instance details

Defined in Language.C.Parser.Parser

Methods

locOf :: RevList a -> Loc #

locOfList :: [RevList a] -> Loc #

rcons :: a -> RevList a -> RevList a infixr 5 Source #

rapp :: [a] -> RevList a -> RevList a Source #

rlist :: [a] -> RevList a Source #

rev :: RevList a -> [a] Source #

data HappyStk a infixr 9 Source #

Constructors

HappyStk a (HappyStk a) infixr 9 

happyAccept :: Int# -> p1 -> Int# -> p2 -> HappyStk a -> P a Source #

data HappyAddr Source #

Constructors

HappyA# Addr# 

happyTcHack :: Int# -> a -> a Source #

happyDoSeq :: a -> b -> b Source #

happyDontSeq :: a -> b -> b Source #