object MatcherFactory2
Companion object containing an implicit method that converts a MatcherFactory2
to a Matcher
.
- Source
- MatcherFactory2.scala
- Alphabetic
- By Inheritance
- MatcherFactory2
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
andNotATypeMatcherFactory2[SC, TC1[_], TC2[_]](context: Context)(aType: scala.reflect.macros.whitebox.Context.Expr[ResultOfATypeInvocation[_]]): scala.reflect.macros.whitebox.Context.Expr[MatcherFactory2[SC, TC1, TC2]]
This method is called by macro that supports 'and not a [Type]' syntax.
-
def
andNotAnTypeMatcherFactory2[SC, TC1[_], TC2[_]](context: Context)(anType: scala.reflect.macros.whitebox.Context.Expr[ResultOfAnTypeInvocation[_]]): scala.reflect.macros.whitebox.Context.Expr[MatcherFactory2[SC, TC1, TC2]]
This method is called by macro that supports 'and not a [Type]' syntax.
-
def
orNotATypeMatcherFactory2[SC, TC1[_], TC2[_]](context: Context)(aType: scala.reflect.macros.whitebox.Context.Expr[ResultOfATypeInvocation[_]]): scala.reflect.macros.whitebox.Context.Expr[MatcherFactory2[SC, TC1, TC2]]
This method is called by macro that supports 'or not a [Type]' syntax.
-
def
orNotAnTypeMatcherFactory2[SC, TC1[_], TC2[_]](context: Context)(anType: scala.reflect.macros.whitebox.Context.Expr[ResultOfAnTypeInvocation[_]]): scala.reflect.macros.whitebox.Context.Expr[MatcherFactory2[SC, TC1, TC2]]
This method is called by macro that supports 'or not a [Type]' syntax.
-
implicit
def
produceMatcher[SC, TC1[_], TC2[_], T <: SC](matcherFactory: MatcherFactory2[SC, TC1, TC2])(implicit arg0: TC1[T], arg1: TC2[T]): Matcher[T]
Converts a
MatcherFactory2
to aMatcher
.Converts a
MatcherFactory2
to aMatcher
.- matcherFactory
a MatcherFactory2 to convert
- returns
a Matcher produced by the passed MatcherFactory2