| License | BSD-3-Clause | 
|---|---|
| Maintainer | Jamie Willis | 
| Stability | experimental | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Parsley.Internal.Frontend.Analysis.Cut
Description
Exposes a transformation that annotates the parts of the grammar where cuts occur: these are places where backtracking is not allowed to occur. This information is used to help with correct allocation of coins used for Parsley.Internal.Backend.Analysis.Coins: the combinator tree has access to scoping information lost in the machine.
Since: 1.5.0.0
Synopsis
- cutAnalysis :: Fix Combinator a -> Fix Combinator a
 
Documentation
cutAnalysis :: Fix Combinator a -> Fix Combinator a Source #
Annotate a tree with its cut-points. We assume a cut for let-bound parsers.
Since: 1.5.0.0