Safe Haskell | None |
---|
- someExcept :: [Char] -> PreProductions TL env String
- manyExcept :: [Char] -> PreProductions TL env String
- someOf :: [Char] -> PreProductions TL env String
- manyOf :: [Char] -> PreProductions TL env String
- alternate :: PreProductions l env a -> PreProductions l env a -> PreProductions l env [a]
- result :: ParseResult a -> a
- errors :: ParseResult t -> [Error LineCol]
- parsePretty :: Show a => Parser a -> String -> IO a
- shorten :: Show a => Int -> a -> [Char]
- newtype PreProductionsTrafo l env a b = PPT {
- unppt :: PreProductions l env a -> PreProductions l env b
- class Shortcuts l env a a' a'' b x | x -> l env a a' a'' b where
- (?) :: x -> PreProductionsTrafo l env a b
- (+) :: x -> PreProductionsTrafo l env a' b
- (*) :: x -> PreProductionsTrafo l env a'' b
- data Ign a = Ign a
- ign :: a -> Ign a
- class Error e
Documentation
someExcept :: [Char] -> PreProductions TL env StringSource
Recognizes one or more characters except from the given list
manyExcept :: [Char] -> PreProductions TL env StringSource
Recognizes zero or more characters except from the given list
someOf :: [Char] -> PreProductions TL env StringSource
Recognizes one or more characters from the given list
manyOf :: [Char] -> PreProductions TL env StringSource
Recognizes zero or more characters from the given list
alternate :: PreProductions l env a -> PreProductions l env a -> PreProductions l env [a]Source
Recognizes alternating occurences of p1 and p2, starting with p1
result :: ParseResult a -> aSource
errors :: ParseResult t -> [Error LineCol]Source
newtype PreProductionsTrafo l env a b Source
PPT | |
|
Idiomatic l env b g => Idiomatic l env a (PreProductionsTrafo l env a b -> g) |
class Shortcuts l env a a' a'' b x | x -> l env a a' a'' b whereSource
(?) :: x -> PreProductionsTrafo l env a bSource
(+) :: x -> PreProductionsTrafo l env a' bSource
(*) :: x -> PreProductionsTrafo l env a'' bSource
Ign a |