scala.util.parsing.combinator.Parsers.NoSuccess$
See theNoSuccess companion class An extractor so case NoSuccess(msg, next) can be used in matches.
Note: On Scala 2.13, using this extractor leads to an exhaustivity warning:
def m(r: ParseResult[Int]) = r match {
case Success(i) => ...
case NoSuccess(msg, _) => ... // "warning: match may not be exhaustive"
To eliminate this warning, use the irrefutable NoSuccess.I extractor.
Due to binary compatibility, NoSuccess itself cannot be changed.
Attributes
- Companion:
- class
- Graph
- Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
- Self type
Members list
Concise view
Type members
An irrefutable version of the NoSuccess extractor, used as case NoSuccess.I(msg, next).
An irrefutable version of the NoSuccess extractor, used as case NoSuccess.I(msg, next).
Attributes
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Self type
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
Attributes
- Inherited from:
- Mirror