parsley.errors.tokenextractors.MatchParserDemand
See theMatchParserDemand companion object
trait MatchParserDemand
This extractor mixin provides an implementation for
ErrorBuilder.unexpectedToken
when mixed into
an error builder: it will make a token as wide as the amount of input the parser tried to
consume when it failed.
Attributes
- Since:
4.0.0
- Note:
In the case of unprintable characters or whitespace, this extractor will favour reporting a more meaningful name.
- Companion:
- object
- Source:
- MatchParserDemand.scala
- Graph
- Supertypes
- Self type
- ErrorBuilder[_]