PcDocumentHighlightProvider

dotty.tools.pc.PcDocumentHighlightProvider
final class PcDocumentHighlightProvider(driver: InteractiveDriver, params: OffsetParams) extends PcCollector[DocumentHighlight]

Attributes

Graph
Supertypes
class PcCollector[DocumentHighlight]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def collect(parent: Option[Tree])(tree: Tree | EndMarker, toAdjust: SourcePosition, sym: Option[Symbol]): DocumentHighlight
def highlights: List[DocumentHighlight]

Inherited methods

def result(): List[DocumentHighlight]

Attributes

Inherited from:
PcCollector
def resultAllOccurences(): Set[DocumentHighlight]

Attributes

Inherited from:
PcCollector
def resultWithSought(): List[DocumentHighlight]

Attributes

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

Attributes

Inherited from:
PcCollector
def symbolAlternatives(sym: Symbol): Set[Symbol]

Attributes

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

Attributes

Inherited from:
PcCollector

Inherited fields

val compilatonUnitContext: FreshContext

Attributes

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

Attributes

Inherited from:
PcCollector
val filePath: Path

Attributes

Inherited from:
PcCollector
val offset: Int

Attributes

Inherited from:
PcCollector

Attributes

Inherited from:
PcCollector
val path: List[Tree]

Attributes

Inherited from:
PcCollector
val pos: SourcePosition

Attributes

Inherited from:
PcCollector
val rawPath: List[Tree]

Attributes

Inherited from:
PcCollector
val source: SourceFile

Attributes

Inherited from:
PcCollector

Attributes

Inherited from:
PcCollector
val text: Array[Char]

Attributes

Inherited from:
PcCollector
val unit: CompilationUnit

Attributes

Inherited from:
PcCollector
val uri: URI

Attributes

Inherited from:
PcCollector

Givens

Inherited givens

given ctx: Context

Attributes

Inherited from:
PcCollector

Extensions

Inherited extensions

extension (span: Span)

Attributes

Inherited from:
PcCollector