uulib-0.9.25: Haskell Utrecht Tools Library

Safe Haskell | None
Language | Haskell2010

UU.Parsing.CharParser

Contents

- Orphan instances

# Documentation

type CharParser = AnaParser Input Pair Char Pos Source #

data Input Source #

Constructors

Input String !Pos |

#### Instances

Instances details

InputState Input Char Pos Source # |
Instance details Defined in UU.Parsing.CharParser Methods splitStateE :: Input -> Either' Input Char Source # splitState :: Input -> (# Char, Input #) Source # getPosition :: Input -> Pos Source # reportError :: Message Char Pos -> Input -> Input Source # insertSymbol :: Char -> Input -> Input Source # deleteSymbol :: Char -> Input -> Input Source #

parseString :: CharParser a -> [Char] -> Steps (Pair a (Pair Input ())) Char Pos Source #

parseStringIO :: (Message Char Pos -> String) -> CharParser a -> [Char] -> IO a Source #

parseFile :: (Message Char Pos -> String) -> CharParser a -> [Char] -> IO a Source #

# Orphan instances

Symbol Char Source # |
Instance details Methods deleteCost :: Char -> Int# Source # symBefore :: Char -> Char Source # symAfter :: Char -> Char Source #