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

#satisfies Source

satisfies :: forall a. (a -> Boolean) -> Parser a -> Parser a

#times Source

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

#maybeTimes Source

maybeTimes :: forall a. Parser a -> Parser (Maybe a)

#anyTimes Source

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

#someTimes Source

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

#multipleTimes Source

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

#within Source

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

#maybeWithin Source

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

#withinBoth Source

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

#maybeWithinBoth Source

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

#anySepBy Source

anySepBy :: 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))

#alt Source

alt :: forall a. Parser a -> Parser a -> Parser a

#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.alt (left-associative / precedence 3)

#(<?>) 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.ParserCombinators.parseAppend (left-associative / precedence 6)

#(|?) Source

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

#(|*) Source

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

#(|+) Source

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

#(|++) Source

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

#(||*) Source

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

#(||+) Source

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

#(||++) Source

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