parsley.errors.tokenextractors.TillNextWhitespace
See theTillNextWhitespace companion object
trait TillNextWhitespace
This extractor mixin provides an implementation for ErrorBuilder.unexpectedToken
when mixed into an error builder: it will construct a token that extends to the next available whitespace in the remaining input. It can be configured to constrict this token to the minimum of the next whitespace or whatever the parser demanded (see MatchParserDemand
).
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
- TillNextWhitespace.scala
- Graph
-
- Supertypes
- Self type
-
ErrorBuilder[_]
Members list
In this article