xsbt.Compat

CollectTypeTraverser

class CollectTypeTraverser[T] extends scala.tools.nsc.Global.TypeTraverser

Traverses given type and collects result of applying a partial function pf.

NOTE: This class exists in Scala 2.10 as CollectTypeCollector but does not in earlier versions (like 2.9) of Scala compiler that incremental cmpiler supports so we had to reimplement that class here.

Linear Supertypes
scala.tools.nsc.Global.TypeTraverser, scala.tools.nsc.Global.TypeMap, (scala.tools.nsc.Global.Type) ⇒ scala.tools.nsc.Global.Type, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CollectTypeTraverser
  2. TypeTraverser
  3. TypeMap
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CollectTypeTraverser(pf: PartialFunction[scala.tools.nsc.Global.Type, T])

Type Members

  1. class TypeMapTransformer extends scala.reflect.internal.SymbolTable.Transformer

    Definition Classes
    TypeMap

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. def andThen[A](g: (scala.tools.nsc.Global.Type) ⇒ A): (scala.tools.nsc.Global.Type) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(tp: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Definition Classes
    TypeTraverser → TypeMap → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var collected: List[T]

  11. def compose[A](g: (A) ⇒ scala.tools.nsc.Global.Type): (A) ⇒ scala.tools.nsc.Global.Type

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

    Definition Classes
    Any
  18. def mapOver(tree: scala.tools.nsc.Global.Tree, giveup: () ⇒ Nothing): scala.tools.nsc.Global.Tree

    Definition Classes
    TypeMap
  19. def mapOver(tree: scala.tools.nsc.Global.Tree): scala.tools.nsc.Global.Tree

    Definition Classes
    TypeMap
  20. def mapOver(annot: scala.tools.nsc.Global.AnnotationInfo): scala.tools.nsc.Global.AnnotationInfo

    Definition Classes
    TypeMap
  21. def mapOver(origSyms: List[scala.tools.nsc.Global.Symbol]): List[scala.tools.nsc.Global.Symbol]

    Definition Classes
    TypeMap
  22. def mapOver(scope: scala.tools.nsc.Global.Scope): scala.tools.nsc.Global.Scope

    Definition Classes
    TypeMap
  23. def mapOver(tp: scala.tools.nsc.Global.Type): scala.tools.nsc.Global.Type

    Definition Classes
    TypeMap
  24. def mapOverAnnotArgs(args: List[scala.tools.nsc.Global.Tree]): List[scala.tools.nsc.Global.Tree]

    Definition Classes
    TypeMap
  25. def mapOverAnnotations(annots: List[scala.tools.nsc.Global.AnnotationInfo]): List[scala.tools.nsc.Global.AnnotationInfo]

    Definition Classes
    TypeMap
  26. def mapOverArgs(args: List[scala.tools.nsc.Global.Type], tparams: List[scala.tools.nsc.Global.Symbol]): List[scala.tools.nsc.Global.Type]

    Attributes
    protected
    Definition Classes
    TypeMap
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def noChangeToSymbols(origSyms: List[scala.tools.nsc.Global.Symbol]): Boolean

    Attributes
    protected
    Definition Classes
    TypeMap
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  33. def traverse(tpe: scala.tools.nsc.Global.Type): Unit

    Definition Classes
    CollectTypeTraverser → TypeTraverser
  34. def variance: Int

    Definition Classes
    TypeMap
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from scala.tools.nsc.Global.TypeTraverser

Inherited from scala.tools.nsc.Global.TypeMap

Inherited from (scala.tools.nsc.Global.Type) ⇒ scala.tools.nsc.Global.Type

Inherited from AnyRef

Inherited from Any

Ungrouped