NameFilter

abstract class NameFilter

A name filter selects or discards a member name of a type pre. To enable efficient caching, name filters have to satisfy the following invariant: If keep is a name filter, and pre has class C as a base class, then

keep(pre, name) implies keep(C.this, name)

class Object
trait Matchable
class Any
object fieldFilter.type
object implicitFilter.type
object takeAllFilter.type
object typeNameFilter.type

Value members

Abstract methods

def apply(pre: Type, name: Name)(using Context): Boolean

Filter does not need to be rechecked with full prefix, if it has been already checked for the class denotation of the prefix

Filter does not need to be rechecked with full prefix, if it has been already checked for the class denotation of the prefix