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

Maintainermainland@eecs.harvard.edu
Safe HaskellSafe-Infered

Language.C.Parser.Monad

Description

 

Synopsis

Documentation

failAt :: Loc -> String -> P aSource

parserError :: Loc -> Doc -> P aSource

unclosed :: Loc -> String -> P aSource

data AlexInput Source

Constructors

AlexInput 

Fields

alexPos :: !Pos
 
alexPrevChar :: !Char
 
alexInp :: !ByteString
 
alexOff :: !Int
 

type AlexPredicate = PState -> AlexInput -> Int -> AlexInput -> BoolSource

The components of an AlexPredicate are the predicate state, input stream before the token, length of the token, input stream after the token.