package parse
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- sealed abstract class Parser[+A] extends AnyRef
Following the haskell library trifecta, these parsers either parse successfully, parse 0 and fail, or parse more than 1 and fail.
Following the haskell library trifecta, these parsers either parse successfully, parse 0 and fail, or parse more than 1 and fail. The "or" operation only works for parsing 0 and failing.
We call a failure without parsing anything an epsilon failure.
We can convert a failure after parsing more than one to a zero parse with .backtrack. Related to backtracking is softProduct, which if the second failure is an espilon failure, yields an epsilon failure for the product.
Parses 0 or more characters to return A
- sealed abstract class Parser1[+A] extends Parser[A]
Parses 1 or more characters if it succeeds to return A
- abstract class ParserInstances extends AnyRef
Value Members
- object BitSetUtil
- object Numbers
- object Parser extends ParserInstances