Documentation
PState | |
|
withThisPackage :: (PackageId -> a) -> P aSource
failSpanMsgP :: SrcSpan -> SDoc -> P aSource
srcParseFail :: P aSource
getMessages :: PState -> MessagesSource
popContext :: P ()Source
pushCurrentContext :: P ()Source
setLastToken :: SrcSpan -> Int -> P ()Source
pushLexState :: Int -> P ()Source
bangPatEnabled :: Int -> BoolSource
lexTokenStream :: StringBuffer -> SrcLoc -> DynFlags -> ParseResult [Located Token]Source