WithSymbolSearchCollector

dotty.tools.pc.WithSymbolSearchCollector
abstract class WithSymbolSearchCollector[T](driver: InteractiveDriver, params: OffsetParams) extends WithCompilationUnit, PcSymbolSearch, PcCollector[T]

Attributes

Graph
Supertypes
trait PcCollector[T]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def result(): List[T]

Inherited methods

Attributes

Inherited from:
PcCollector

Attributes

Inherited from:
PcCollector
def resultWithSought(sought: Set[Symbol]): List[T]

Attributes

Inherited from:
PcCollector
def soughtSymbols(path: List[Tree]): Option[(Set[Symbol], SourcePosition)]

Attributes

Inherited from:
PcSymbolSearch
def symbolAlternatives(sym: Symbol)(using Context): Set[Symbol]

Attributes

Inherited from:
WithCompilationUnit
def traverseSought(filter: Tree => Boolean, soughtFilter: (Symbol => Boolean) => Boolean): Set[T]

Attributes

Inherited from:
PcCollector

Inherited and Abstract methods

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

Attributes

Inherited from:
PcCollector

Inherited fields

val compilatonUnitContext: FreshContext

Attributes

Inherited from:
WithCompilationUnit
lazy val extensionMethods: Option[ExtMethods]

Attributes

Inherited from:
PcSymbolSearch
val offset: Int

Attributes

Inherited from:
WithCompilationUnit

Attributes

Inherited from:
WithCompilationUnit
lazy val path: List[Tree]

Attributes

Inherited from:
PcSymbolSearch
val pos: SourcePosition

Attributes

Inherited from:
WithCompilationUnit
lazy val rawPath: List[Tree]

Attributes

Inherited from:
PcSymbolSearch
lazy val soughtSymbols: Option[(Set[Symbol], SourcePosition)]

Attributes

Inherited from:
PcSymbolSearch
val source: SourceFile

Attributes

Inherited from:
WithCompilationUnit
val unit: CompilationUnit

Attributes

Inherited from:
WithCompilationUnit

Givens

Inherited givens

given ctx: Context

Attributes

Inherited from:
WithCompilationUnit

Extensions

Inherited extensions

extension (span: Span)

Attributes

Inherited from:
PcCollector
extension (tree: Tree)

Attributes

Inherited from:
PcCollector