PcInlineValueProvider

dotty.tools.pc.PcInlineValueProvider
final class PcInlineValueProvider(driver: InteractiveDriver, val params: OffsetParams) extends WithSymbolSearchCollector[Option[Occurence]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def collect(parent: Option[Tree])(tree: Tree | EndMarker, pos: SourcePosition, sym: Option[Symbol]): Option[Occurence]

Attributes

Definition Classes
def getInlineTextEdits(): Either[String, List[TextEdit]]

Inherited methods

Attributes

Inherited from:
PcCollector

Attributes

Inherited from:
WithSymbolSearchCollector

Attributes

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

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[Option[Occurence]]

Attributes

Inherited from:
PcCollector

Concrete fields

val position: Position

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

Extensions

extension (pos: SourcePosition)

Inherited extensions

extension (span: Span)

Attributes

Inherited from:
PcCollector
extension (tree: Tree)

Attributes

Inherited from:
PcCollector