Trait

machinist

Ops

Related Doc: package machinist

Permalink

trait Ops extends AnyRef

This trait has some nice methods for working with implicit Ops classes. It is used to rewrite implicit conversions which "enrich" a type with operators into code that does not allocate an implicit instance.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Ops
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def operatorNames: Map[String, String]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def binop[A, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  6. def binopWithEv[A, Ev, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A])(ev: scala.reflect.macros.whitebox.Context.Expr[Ev]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  7. def binopWithLift[A, Ev, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A])(ev1: scala.reflect.macros.whitebox.Context.Expr[Ev])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  8. def binopWithScalar[A, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  9. def binopWithSelfLift[A, Ev, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def findMethodName(c: Context): scala.reflect.macros.Universe.TermName

    Permalink

    Provide a canonical mapping between "operator names" used in Ops classes and the actual method names used for type classes.

    Provide a canonical mapping between "operator names" used in Ops classes and the actual method names used for type classes.

    It's worth noting that a particular instance of Ops must always map a given symbol a single method name. If you want to be able to map the same symbol to different names in different contexts, you'll need to create multiple Ops instances and configure them appropriately.

    In general "textual" method names should just pass through to the typeclass--it is probably not wise to provide mappings for them here.

  15. def flip[A, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def handleBinopWithChild[A, R](c: Context)(rhs: scala.reflect.macros.whitebox.Context.Expr[A])(childName: String): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  18. def handleUnopWithChild[R](c: Context)(childName: String): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def rbinop[A, R](c: Context)(lhs: scala.reflect.macros.whitebox.Context.Expr[A]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  25. def rbinopWithEv[A, Ev, R](c: Context)(lhs: scala.reflect.macros.whitebox.Context.Expr[A])(ev: scala.reflect.macros.whitebox.Context.Expr[Ev]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def unop[R](c: Context)(): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  29. def unopWithEv[Ev, R](c: Context)(ev: scala.reflect.macros.whitebox.Context.Expr[Ev]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  30. def unopWithEv2[Ev1, R](c: Context)(ev1: scala.reflect.macros.whitebox.Context.Expr[Ev1]): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  31. def unopWithScalar[R](c: Context)(): scala.reflect.macros.whitebox.Context.Expr[R]

    Permalink
  32. def unpack[T[_], A](c: Context): (scala.reflect.macros.Universe.Tree, scala.reflect.macros.Universe.Tree)

    Permalink
  33. def unpackWithoutEv(c: Context): scala.reflect.macros.Universe.Tree

    Permalink
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped