machinist

Ops

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

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

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

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

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

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

  12. def clone(): AnyRef

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

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

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

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

    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.

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

  18. final def getClass(): Class[_]

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

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

  21. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

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

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

  33. def unopWithScalar[R](c: Context)(): scala.reflect.macros.Context.Expr[R]

  34. def unpack[T[_], A](c: Context): (Tree, Tree)

  35. def unpackWithoutEv(c: Context): Tree

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped