Module

Bookhound.ParserCombinators

Package
purescript-bookhound
Repository
albertprz/purescript-bookhound

#IsMatch Source

class IsMatch a  where

Members

Instances

#oneOf Source

oneOf :: forall a. IsMatch a => Array a -> Parser a

#noneOf Source

noneOf :: forall a. IsMatch a => Array a -> Parser a

#times Source

times :: forall a. Int -> Parser a -> Parser (Array a)

#some Source

some :: forall a. Parser a -> Parser (Array a)

#many Source

many :: forall a. Parser a -> Parser (Array a)

#multiple Source

multiple :: forall a. Parser a -> Parser (Array a)

#applyCons Source

applyCons :: forall f a. Apply f => f a -> f (Array a) -> f (Array a)

#applyTuple Source

applyTuple :: forall f a b. Apply f => f a -> f b -> f (a /\ b)

#between Source

between :: forall a b c. Parser a -> Parser b -> Parser c -> Parser c

#maybeBetween Source

maybeBetween :: forall a b c. Parser a -> Parser b -> Parser c -> Parser c

#surroundedBy Source

surroundedBy :: forall a b. Parser a -> Parser b -> Parser b

#maybeSurroundedBy Source

maybeSurroundedBy :: forall a b. Parser a -> Parser b -> Parser b

#manySepBy Source

manySepBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#someSepBy Source

someSepBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#multipleSepBy Source

multipleSepBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#sepByOp Source

sepByOp :: forall a b. Parser a -> Parser b -> Parser (a /\ (Array b))

#sepByOps Source

sepByOps :: forall a b. Parser a -> Parser b -> Parser ((Array a) /\ (Array b))

#manyEndBy Source

manyEndBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#someEndBy Source

someEndBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#multipleEndBy Source

multipleEndBy :: forall a b. Parser a -> Parser b -> Parser (Array b)

#parseAppend Source

parseAppend :: forall a b. ToString a => ToString b => Parser a -> Parser b -> Parser String

#withErrorFlipped Source

withErrorFlipped :: forall t31. Parser t31 -> String -> Parser t31

#timesFlipped Source

timesFlipped :: forall a. Parser a -> Int -> Parser (Array a)

#(<?>) Source

Operator alias for Bookhound.ParserCombinators.withErrorFlipped (left-associative / precedence 6)

#(<#>) Source

Operator alias for Bookhound.ParserCombinators.timesFlipped (left-associative / precedence 6)

#(<&>) Source

Operator alias for Bookhound.Parser.both (left-associative / precedence 6)

#(<:>) Source

Operator alias for Bookhound.ParserCombinators.applyCons (left-associative / precedence 6)

#(</\>) Source

Operator alias for Bookhound.ParserCombinators.applyTuple (left-associative / precedence 6)

#(->>-) Source

Operator alias for Bookhound.ParserCombinators.parseAppend (left-associative / precedence 6)

#(|?) Source

Operator alias for Data.Maybe.optional (non-associative / precedence 0)

#(|*) Source

Operator alias for Bookhound.ParserCombinators.many (non-associative / precedence 0)

#(|+) Source

Operator alias for Bookhound.ParserCombinators.some (non-associative / precedence 0)

#(|++) Source

Operator alias for Bookhound.ParserCombinators.multiple (non-associative / precedence 0)

#(||*) Source

Operator alias for Bookhound.ParserCombinators.manyChar (non-associative / precedence 0)

#(||+) Source

Operator alias for Bookhound.ParserCombinators.someChar (non-associative / precedence 0)

#(||++) Source

Operator alias for Bookhound.ParserCombinators.multipleChar (non-associative / precedence 0)