MetalsInteractive
dotty.tools.pc.MetalsInteractive
object MetalsInteractive
Attributes
- Graph
-
- Supertypes
- Self type
-
MetalsInteractive.type
Members list
Type members
Classlikes
object ApplySelect
Attributes
- Supertypes
- Self type
-
ApplySelect.type
Value members
Concrete methods
def enclosingSymbols(path: List[Tree], pos: SourcePosition, indexed: IndexedContext, skipCheckOnName: Boolean): List[Symbol]
def enclosingSymbolsWithExpressionType(path: List[Tree], pos: SourcePosition, indexed: IndexedContext, skipCheckOnName: Boolean): List[(Symbol, Type)]
Returns the list of tuple enclosing symbol and the symbol's expression type if possible.
Returns the list of tuple enclosing symbol and the symbol's expression type if possible.
Attributes
Check if the given sourcePos
is on the name of enclosing tree.
Check if the given sourcePos
is on the name of enclosing tree.
// For example, if the postion is on `foo`, returns true
def foo(x: Int) = { ... }
^
// On the other hand, it points to non-name position, return false.
def foo(x: Int) = { ... }
^
Value parameters
- path
-
- path to the position given by
Interactive.pathTo
- path to the position given by
Attributes
In this article