Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype ParsecDSL s u m a Source #
ParsecDSL | |
|
Instances
forall a. Plifted (ParsecT s u m a) (a -> r) | |
Preturn r | |
Pbind r | |
forall a. Peffect (m a) (a -> r) | |
forall a. Pquiet (ParsecDSL s u m a) (a -> r) | |
PgetState (u -> r) | |
PputState u r | |
PmodifyState (u -> u) r | |
PgetPosition (SourcePos -> r) | |
PsetPosition SourcePos r | |
PgetInput (s -> r) | |
PsetInput s r | |
PgetParserState (State s u -> r) | |
PsetParserState (State s u) (State s u -> r) | |
PupdateParserState (State s u -> State s u) (State s u -> r) | |
forall t.(Stream s m t, Eq t) => Ptokens ([t] -> String) (SourcePos -> [t] -> SourcePos) [t] ([t] -> r) | |
forall t a.Stream s m t => PtokenPrimEx (t -> String) (SourcePos -> t -> s -> SourcePos) (Maybe (SourcePos -> t -> s -> u -> u)) (t -> Maybe a) (a -> r) | |
Stream s m Char => PalphaNum (Char -> r) | |
Stream s m Char => PanyChar (Char -> r) | |
forall t.(Show t, Stream s m t) => PanyToken (t -> r) | |
Stream s m Char => Pchar Char r | |
Stream s m Char => Pcrlf (Char -> r) | |
Stream s m Char => Pdigit (Char -> r) | |
Stream s m Char => PendOfLine (Char -> r) | |
forall t.(Show t, Stream s m t) => Peof r | |
Stream s m Char => PhexDigit (Char -> r) | |
Stream s m Char => Pletter (Char -> r) | |
Stream s m Char => Plower (Char -> r) | |
Stream s m Char => Pnewline (Char -> r) | |
Stream s m Char => PnoneOf [Char] (Char -> r) | |
Stream s m Char => PoctDigit (Char -> r) | |
Stream s m Char => PoneOf [Char] (Char -> r) | |
PparserFail String | |
PparserZero | |
Stream s m Char => Psatisfy (Char -> Bool) (Char -> r) | |
Stream s m Char => Pspace (Char -> r) | |
Stream s m Char => Pspaces r | |
Stream s m Char => Pstring String r | |
Stream s m Char => Ptab (Char -> r) | |
Stream s m Char => Pupper (Char -> r) | |
Punexpected String | |
forall a. PparserPlus (ParsecDSL s u m a) (ParsecDSL s u m a) (a -> r) | |
forall a. Plabel (ParsecDSL s u m a) String (a -> r) | |
forall a. Plabels (ParsecDSL s u m a) [String] (a -> r) | |
forall a. Ptry (ParsecDSL s u m a) (a -> r) | |
forall a. Pchainl (ParsecDSL s u m a) (ParsecDSL s u m (a -> a -> a)) a (a -> r) | |
forall a. Pchainl1 (ParsecDSL s u m a) (ParsecDSL s u m (a -> a -> a)) (a -> r) | |
forall a. Pchainr (ParsecDSL s u m a) (ParsecDSL s u m (a -> a -> a)) a (a -> r) | |
forall a. Pchainr1 (ParsecDSL s u m a) (ParsecDSL s u m (a -> a -> a)) (a -> r) | |
forall a. Pchoice [ParsecDSL s u m a] (a -> r) | |
forall a. Pcount Int (ParsecDSL s u m a) ([a] -> r) | |
forall a. PlookAhead (ParsecDSL s u m a) (a -> r) | |
forall a. Pmany (ParsecDSL s u m a) ([a] -> r) | |
forall a. Pmany1 (ParsecDSL s u m a) ([a] -> r) | |
forall a. PmanyAccum (a -> [a] -> [a]) (ParsecDSL s u m a) ([a] -> r) | |
forall a.Show a => PnotFollowedBy (ParsecDSL s u m a) r | |
forall a. Poption a (ParsecDSL s u m a) (a -> r) | |
forall a. PoptionMaybe (ParsecDSL s u m a) (Maybe a -> r) | |
forall a. Poptional (ParsecDSL s u m a) r | |
forall a. PskipMany (ParsecDSL s u m a) r | |
forall a. PskipMany1 (ParsecDSL s u m a) r | |
forall end a. PmanyTill (ParsecDSL s u m a) (ParsecDSL s u m end) ([a] -> r) | |
forall open close a. Pbetween (ParsecDSL s u m open) (ParsecDSL s u m close) (ParsecDSL s u m a) (a -> r) | |
forall sep a. PendBy (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
forall sep a. PendBy1 (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
forall sep a. PsepBy (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
forall sep a. PsepBy1 (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
forall sep a. PsepEndBy (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
forall sep a. PsepEndBy1 (ParsecDSL s u m a) (ParsecDSL s u m sep) ([a] -> r) | |
Pidentifier (ParsecDSL s u m String) (String -> r) | |
Preserved (ParsecDSL s u m ()) String r | |
Poperator (ParsecDSL s u m String) (String -> r) | |
PreservedOp (ParsecDSL s u m ()) String r | |
PcharLiteral (ParsecDSL s u m Char) (Char -> r) | |
PstringLiteral (ParsecDSL s u m String) (String -> r) | |
Pnatural (ParsecDSL s u m Integer) (Integer -> r) | |
Pinteger (ParsecDSL s u m Integer) (Integer -> r) | |
Pfloat (ParsecDSL s u m Double) (Double -> r) | |
PnaturalOrFloat (ParsecDSL s u m (Either Integer Double)) (Either Integer Double -> r) | |
Pdecimal (ParsecDSL s u m Integer) (Integer -> r) | |
Phexadecimal (ParsecDSL s u m Integer) (Integer -> r) | |
Poctal (ParsecDSL s u m Integer) (Integer -> r) | |
Psymbol (ParsecDSL s u m String) String (String -> r) | |
forall a. Plexeme (ParsecDSL s u m a) (a -> r) | |
PwhiteSpace (ParsecDSL s u m ()) r | |
forall a. Pparens (ParsecDSL s u m a) (a -> r) | |
forall a. Pbraces (ParsecDSL s u m a) (a -> r) | |
forall a. Pangles (ParsecDSL s u m a) (a -> r) | |
forall a. Pbrackets (ParsecDSL s u m a) (a -> r) | |
forall a. Psquares (ParsecDSL s u m a) (a -> r) | |
Psemi (ParsecDSL s u m String) (String -> r) | |
Pcomma (ParsecDSL s u m String) (String -> r) | |
Pcolon (ParsecDSL s u m String) (String -> r) | |
Pdot (ParsecDSL s u m String) (String -> r) | |
forall a. PsemiSep (ParsecDSL s u m [a]) ([a] -> r) | |
forall a. PsemiSep1 (ParsecDSL s u m [a]) ([a] -> r) | |
forall a. PcommaSep (ParsecDSL s u m [a]) ([a] -> r) | |
forall a. PcommaSep1 (ParsecDSL s u m [a]) ([a] -> r) |
modifyState :: (u -> u) -> ParsecDSL s u m () Source #
getPosition :: ParsecDSL s u m SourcePos Source #
setPosition :: SourcePos -> ParsecDSL s u m () Source #
getParserState :: ParsecDSL s u m (State s u) Source #
tokens :: (Stream s m t, Eq t) => ([t] -> String) -> (SourcePos -> [t] -> SourcePos) -> [t] -> ParsecDSL s u m [t] Source #
tokenPrimEx :: Stream s m t => (t -> String) -> (SourcePos -> t -> s -> SourcePos) -> Maybe (SourcePos -> t -> s -> u -> u) -> (t -> Maybe a) -> ParsecDSL s u m a Source #
parserFail :: String -> ParsecDSL s u m a Source #
parserZero :: ParsecDSL s u m a Source #
unexpected :: String -> ParsecDSL s u m a Source #