Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
An input type that represents an infinite stream of input characters.
Since: 0.1.0.0
Instances
PositionOps Stream Source # | |
Defined in Parsley.Internal.Backend.Machine.InputOps | |
InputPrep Stream Source # | |
MarshalOps Stream Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops dynHandler :: StaHandler s Stream a -> DynHandler s Stream a Source # dynCont :: StaCont s Stream a x -> DynCont s Stream a x Source # | |
RecBuilder Stream Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops buildIter :: Ctx s Stream a -> MVar Void -> Machine s Stream '[] One Void a -> (Code (Rep Stream) -> StaHandler s Stream a) -> Code (Rep Stream) -> Code (ST s (Maybe a)) Source # buildRec :: forall r (rs :: [Type]) s a. MVar r -> Regs rs -> Ctx s Stream a -> Machine s Stream '[] One r a -> DynFunc rs s Stream a r Source # | |
JoinBuilder Stream Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops | |
HandlerOps Stream Source # | |
Input Stream Source # | |
Defined in Parsley.Internal.Backend.Machine |
By wrapping a regular String
with this newtype, Parsley will not preprocess it into
an array of characters, instead using regular pattern matching for the implementation.
Since: 0.1.0.0
Instances
PositionOps CharList Source # | |
Defined in Parsley.Internal.Backend.Machine.InputOps | |
InputPrep CharList Source # | |
MarshalOps CharList Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops dynHandler :: StaHandler s CharList a -> DynHandler s CharList a Source # dynCont :: StaCont s CharList a x -> DynCont s CharList a x Source # | |
RecBuilder CharList Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops buildIter :: Ctx s CharList a -> MVar Void -> Machine s CharList '[] One Void a -> (Code (Rep CharList) -> StaHandler s CharList a) -> Code (Rep CharList) -> Code (ST s (Maybe a)) Source # buildRec :: forall r (rs :: [Type]) s a. MVar r -> Regs rs -> Ctx s CharList a -> Machine s CharList '[] One r a -> DynFunc rs s CharList a r Source # | |
JoinBuilder CharList Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops | |
HandlerOps CharList Source # | |
Input CharList Source # | |
Defined in Parsley.Internal.Backend.Machine |
By wrapping a regular Text
input with this newtype, Parsley will assume that all
of the characters fit into exactly one 16-bit chunk. This allows the consumption of
characters in the datatype to be consumed much faster, but does not support multi-word
characters.
Since: 0.1.0.0
Instances
PositionOps Text16 Source # | |
Defined in Parsley.Internal.Backend.Machine.InputOps | |
InputPrep Text16 Source # | |
MarshalOps Text16 Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops dynHandler :: StaHandler s Text16 a -> DynHandler s Text16 a Source # dynCont :: StaCont s Text16 a x -> DynCont s Text16 a x Source # | |
RecBuilder Text16 Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops buildIter :: Ctx s Text16 a -> MVar Void -> Machine s Text16 '[] One Void a -> (Code (Rep Text16) -> StaHandler s Text16 a) -> Code (Rep Text16) -> Code (ST s (Maybe a)) Source # buildRec :: forall r (rs :: [Type]) s a. MVar r -> Regs rs -> Ctx s Text16 a -> Machine s Text16 '[] One r a -> DynFunc rs s Text16 a r Source # | |
JoinBuilder Text16 Source # | |
Defined in Parsley.Internal.Backend.Machine.Ops | |
HandlerOps Text16 Source # | |
Input Text16 Source # | |
Defined in Parsley.Internal.Backend.Machine |