scala.reflect.macros.util

# Helpers

#### trait Helpers extends AnyRef

Self Type
  Analyzer

Linear Supertypes
AnyRef, Any
Known Subclasses
Analyzer, Duplicator, Duplicators, Erasure, Macros, SpecializationDuplicator, TreeCheckers, erasure, treeChecker
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. Helpers
2. AnyRef
3. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show all

Learn more about member selection
Visibility

1. Public
2. All

### Value Members

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

   Definition Classes
     AnyRef → Any

2. #### final def ##(): Int

   Definition Classes
     AnyRef → Any

3. #### def +(other: String): String

   Implicit information
     This member is added by an implicit conversion from Helpers to any2stringadd[Helpers] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (Helpers, B)

   Implicit information
     This member is added by an implicit conversion from Helpers to ArrowAssoc[Helpers] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()

5. #### final def ==(arg0: Any): Boolean

   Definition Classes
     AnyRef → Any

6. #### final def asInstanceOf[T0]: T0

   Definition Classes
     Any

7. #### def clone(): AnyRef

   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )

8. #### def decreaseMetalevel(tp: tools.nsc.Global.Type): tools.nsc.Global.Type

   Decreases metalevel of the type, i.

   Decreases metalevel of the type, i.e. transforms: * c.Expr[T] to T * Nothing to Nothing * Anything else to NoType

   See also

     Metalevels.scala for more information and examples about metalevels

9. #### def ensuring(cond: (Helpers) ⇒ Boolean, msg: ⇒ Any): Helpers

   Implicit information
     This member is added by an implicit conversion from Helpers to Ensuring[Helpers] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring

10. #### def ensuring(cond: (Helpers) ⇒ Boolean): Helpers

    Implicit information
      This member is added by an implicit conversion from Helpers to Ensuring[Helpers] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

11. #### def ensuring(cond: Boolean, msg: ⇒ Any): Helpers

    Implicit information
      This member is added by an implicit conversion from Helpers to Ensuring[Helpers] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

12. #### def ensuring(cond: Boolean): Helpers

    Implicit information
      This member is added by an implicit conversion from Helpers to Ensuring[Helpers] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring

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 formatted(fmtstr: String): String

    Implicit information
      This member is added by an implicit conversion from Helpers to StringFormat[Helpers] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()

17. #### final def getClass(): Class[_]

    Definition Classes
      AnyRef → Any

18. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

19. #### def increaseMetalevel(pre: tools.nsc.Global.Type, tp: tools.nsc.Global.Type): tools.nsc.Global.Type

    Increases metalevel of the type, i.

    Increases metalevel of the type, i.e. transforms: * T to c.Expr[T]

    See also

      Metalevels.scala for more information and examples about metalevels

20. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

21. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

22. #### final def notify(): Unit

    Definition Classes
      AnyRef

23. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

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

    Definition Classes
      AnyRef

25. #### def toString(): String

    Definition Classes
      AnyRef → Any

26. #### def transformTypeTagEvidenceParams(macroImplRef: tools.nsc.Global.Tree, transform: (tools.nsc.Global.Symbol, tools.nsc.Global.Symbol) ⇒ tools.nsc.Global.Symbol): List[List[tools.nsc.Global.Symbol]]

    Transforms parameters lists of a macro impl.

    Transforms parameters lists of a macro impl. The `transform` function is invoked only for WeakTypeTag evidence parameters.

    The transformer takes two arguments: a value parameter from the parameter list and a type parameter that is witnesses by the value parameter.

    If the transformer returns a NoSymbol, the value parameter is not included from the result. If the transformer returns something else, this something else is included in the result instead of the value parameter.

    Despite of being highly esoteric, this function significantly simplifies signature analysis. For example, it can be used to strip macroImpl.paramss from the evidences (necessary when checking def <-> impl correspondence) or to streamline creation of the list of macro arguments.

27. #### def untypeMetalevel(tp: tools.nsc.Global.Type): tools.nsc.Global.Type

    Transforms c.

    Transforms c.Expr[T] types into c.Tree and leaves the rest unchanged.

28. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

29. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

30. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

31. #### def →[B](y: B): (Helpers, B)

    Implicit information
      This member is added by an implicit conversion from Helpers to ArrowAssoc[Helpers] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from Helpers to any2stringadd[Helpers]

### Inherited by implicit conversion StringFormat from Helpers to StringFormat[Helpers]

### Inherited by implicit conversion Ensuring from Helpers to Ensuring[Helpers]

### Inherited by implicit conversion ArrowAssoc from Helpers to ArrowAssoc[Helpers]

### Ungrouped