Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ParserContext = ParserContext {
- ps_hscEnv :: HscEnv
- ps_occEnv :: OccEnv [GlobalRdrElt]
- ps_module :: Module
- ps_context :: Context
- type Parser = ParsecT Void Text (ReaderT ParserContext IO)
- lineComment :: Parser ()
- blockComment :: Parser ()
- sc :: Parser ()
- ichar :: Parser Char
- lexeme :: Parser a -> Parser a
- symbol :: Text -> Parser Text
- symbol_ :: Text -> Parser ()
- brackets :: Parser a -> Parser a
- braces :: Parser a -> Parser a
- parens :: Parser a -> Parser a
- identifier :: Text -> Parser ()
- variable :: Parser OccName
- name :: Parser Text
- keyword :: Text -> Parser ()
Documentation
data ParserContext Source #
Everything we need in order to call getOccNameType
.
ParserContext | |
|
lineComment :: Parser () Source #
blockComment :: Parser () Source #
identifier :: Text -> Parser () Source #