ForeachAccumulator

class ForeachAccumulator(p: Type => Unit, val stopAtStatic: Boolean)(using `x$3`: Context) extends TypeAccumulator[Unit]
trait (Unit, Type) => Unit
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(x: Unit, tp: Type): Unit

Inherited methods

protected def applyToAnnot(x: Unit, annot: Annotation): Unit
Inherited from
TypeAccumulator
final protected def applyToPrefix(x: Unit, tp: NamedType): Unit
Inherited from
TypeAccumulator
inline protected def atVariance[T](v: Int)(op: => T): T
Inherited from
VariantTraversal
def curried: Unit => Type => Unit
Inherited from
Function2
final def foldOver(x: Unit, ts: List[Type]): Unit
Inherited from
TypeAccumulator
def foldOver(x: Unit, tp: Type): Unit
Inherited from
TypeAccumulator
protected def isStaticPrefix(pre: Type)(using Context): Boolean

Can the prefix of this static reference be omitted if the reference itself can be omitted? Overridden in TypeOps#avoid.

Can the prefix of this static reference be omitted if the reference itself can be omitted? Overridden in TypeOps#avoid.

Inherited from
VariantTraversal
Inherited from
VariantTraversal
override def toString(): String
Definition Classes
Function2 -> Any
Inherited from
Function2
def tupled: (Unit, Type) => Unit
Inherited from
Function2

Concrete fields

override val stopAtStatic: Boolean

Implicits

Inherited implicits

implicit protected val accCtx: Context
Inherited from
TypeAccumulator