Safe Haskell | Unsafe |
---|---|
Language | Haskell2010 |
Documentation
module Text.Megaparsec
module Text.Megaparsec.Char
data SourceContext Source #
Instances
type TextParser = Parsec CompilerMessage String Source #
runTextParser :: ErrorContextM m => TextParser a -> String -> String -> m a Source #
Orphan instances
ShowErrorComponent CompilerMessage Source # | |
ErrorContextM TextParser Source # | |
compilerErrorM :: String -> TextParser a Source # withContextM :: TextParser a -> String -> TextParser a Source # summarizeErrorsM :: TextParser a -> String -> TextParser a Source # compilerWarningM :: String -> TextParser () Source # compilerBackgroundM :: String -> TextParser () Source # resetBackgroundM :: TextParser a -> TextParser a Source # |