Documentation
pragState :: DynFlags -> StringBuffer -> RealSrcLoc -> PStateSource
mkPState :: DynFlags -> StringBuffer -> RealSrcLoc -> PStateSource
PState | |
|
withThisPackage :: (PackageId -> a) -> P aSource
failLocMsgP :: RealSrcLoc -> RealSrcLoc -> String -> P aSource
failSpanMsgP :: SrcSpan -> SDoc -> P aSource
srcParseFail :: P aSource
getMessages :: PState -> MessagesSource
popContext :: P ()Source
pushCurrentContext :: P ()Source
setLastToken :: RealSrcSpan -> Int -> P ()Source
setSrcLoc :: RealSrcLoc -> P ()Source
pushLexState :: Int -> P ()Source
bangPatEnabled :: Int -> BoolSource
addWarning :: WarningFlag -> SrcSpan -> SDoc -> P ()Source
lexTokenStream :: StringBuffer -> RealSrcLoc -> DynFlags -> ParseResult [Located Token]Source