patterns
This module contains combinators that help facilitate the error message generational patterns Verified Errors and Preventative Errors.
In particular, exposes an extension class VerifiedErrors
that facilitates creating verified errors in many different formats.
Attributes
- Since
-
4.2.0
- Source
- patterns.scala
- Graph
-
- Supertypes
- Self type
-
patterns.type
Members list
Type members
Classlikes
Attributes
- Source
- patterns.scala
- Supertypes
This class exposes combinators related to the Verified Errors parser design pattern.
This class exposes combinators related to the Verified Errors parser design pattern.
This extension class operates on values that are convertible to parsers. The combinators it enables allow for the parsing of known illegal values, providing richer error messages in case they succeed.
Type parameters
- P
-
the type of base value that this class is used on (the conversion to
Parsley
) is summoned automatically.
Value parameters
- con
-
a conversion that allows values convertible to parsers to be used.
- p
-
the value that this class is enabling methods on.
Attributes
- Constructor
-
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- Since
-
4.2.0
- Source
- patterns.scala
- Supertypes
Implicits
Implicits
Attributes
- Source
- patterns.scala
This class exposes combinators related to the Verified Errors parser design pattern.
This class exposes combinators related to the Verified Errors parser design pattern.
This extension class operates on values that are convertible to parsers. The combinators it enables allow for the parsing of known illegal values, providing richer error messages in case they succeed.
Type parameters
- P
-
the type of base value that this class is used on (the conversion to
Parsley
) is summoned automatically.
Value parameters
- con
-
a conversion that allows values convertible to parsers to be used.
- p
-
the value that this class is enabling methods on.
Attributes
- Constructor
-
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- Since
-
4.2.0
- Source
- patterns.scala