object MatchPatternHelper
MatchPatternHelper
is called by MatchPatternMacro
to support matchPattern
syntax.
- Source
- MatchPatternHelper.scala
- Alphabetic
- By Inheritance
- MatchPatternHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def checkMatchPattern(resultOfNoWordForAny: ResultOfNotWordForAny[_], right: PartialFunction[Any, _]): Unit
MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:result should not matchPattern { case Person("Bob", _) => } ^
- def matchPatternMatcher(right: PartialFunction[Any, _]): Matcher[Any]
MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:result should matchPattern { case Person("Bob", _) => } ^
- def notMatchPatternMatcher(right: PartialFunction[Any, _]): Matcher[Any]
MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:MatchPatternHelper
that is called byMatchPatternMacro
to support the following syntax:result should (not matchPattern { case Person("Alice", _) => } and (equal (result))) ^