This class provides parsers with easy access to:
1) the current line contents. 2) the current position as a Delta. 3) the ability to use sliced on any parser.
Methods
line :: m ByteStringRetrieve the contents of the current line (from the beginning of the line)
position :: m DeltaRetrieve the current position as a Delta.
slicedWith :: (a -> ByteString -> r) -> m a -> m rRun a parser, grabbing all of the text between its start and end points
rend :: m RenderingrestOfLine :: m ByteStringGrab the remainder of the current line
Instances9DeltaParsing, …
DeltaParsing ParserDefined in trifecta-2.1.4 · Text.Trifecta.Parser(MonadPlus m, DeltaParsing m) => DeltaParsing (IdentityT m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m) => DeltaParsing (ReaderT e m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m) => DeltaParsing (StateT s m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m) => DeltaParsing (StateT s m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m, Monoid w) => DeltaParsing (WriterT w m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m, Monoid w) => DeltaParsing (WriterT w m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m, Monoid w) => DeltaParsing (RWST r w s m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators(MonadPlus m, DeltaParsing m, Monoid w) => DeltaParsing (RWST r w s m)Defined in trifecta-2.1.4 · Text.Trifecta.Combinators