PcCollector

dotty.tools.pc.PcCollector
See thePcCollector companion object
abstract class PcCollector[T](driver: InteractiveDriver, params: VirtualFileParams)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def collect(parent: Option[Tree])(tree: Tree | EndMarker, pos: SourcePosition, symbol: Option[Symbol]): T

Concrete methods

def result(): List[T]
def soughtSymbols(path: List[Tree]): Option[(Set[Symbol], SourcePosition)]
def symbolAlternatives(sym: Symbol): Set[Symbol]
def traverseSought(filter: Tree => Boolean, soughtFilter: (Symbol => Boolean) => Boolean): Set[T]

Concrete fields

val compilatonUnitContext: FreshContext
lazy val extensionMethods: Option[ExtMethods]
val filePath: Path
val offset: Int
val path: List[Tree]
val pos: SourcePosition
val rawPath: List[Tree]
val source: SourceFile
val text: Array[Char]
val unit: CompilationUnit
val uri: URI

Givens

Givens

given ctx: Context

Extensions

Extensions

extension (span: Span)