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

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

Language.C.Parser.Monad

Description

 

Synopsis

Documentation

data PState

Instances

pushLexState :: Int -> P ()

setCurToken :: L Token -> P ()

pushScope :: P ()

popScope :: P ()

failAt :: Loc -> String -> P a

parserError :: Loc -> Doc -> P a

unclosed :: Loc -> String -> P a

data AlexInput

Constructors

AlexInput 

skipChar :: P ()

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

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