object
MatcherMacros extends MatcherMacros
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
fieldMatcherImplementation[F, T](c: Context)(fieldValue: scala.reflect.macros.Context.Expr[F])(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[T]
-
def
fieldMatcherImplementation2[F, T, R](c: Context)(fieldValue: scala.reflect.macros.Context.Expr[F])(asResult: scala.reflect.macros.Context.Expr[R])(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[F], arg1: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[F]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
matchA[T]: Any
-
def
matchAn[T]: Any
-
def
matcherClassName[T](c: Context)(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): String
-
def
matcherMacroImpl[T](c: Context)(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[Any]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Macros implementations
The bulk of the implementation is credited to:
- @travisbrown for his ["vampire methods"](http://meta.plasm.us/posts/2013/08/31/feeding-our-vampires/) - @retronym for his help on [range positions](https://groups.google.com/forum/#!topic/scala-internals/fmWKw5TDz98) - @xeno_by for his help on macros in general!