dotty.tools.dotc.interactive

Type members

Classlikes

case class Completion(label: String, description: String, symbols: List[Symbol])

One of the results of a completion query.

One of the results of a completion query.

Value Params
description

The description of this completion result: the fully qualified name for types, or the type for terms.

label

The label of this completion result, or the text that this completion result should insert in the scope where the completion request happened.

symbols

The symbols that are matched by this completion result.

Companion
object
object Completion
Companion
class
object Interactive

High-level API to get information out of typed trees, designed to be used by IDEs.

High-level API to get information out of typed trees, designed to be used by IDEs.

See also

InteractiveDriver to get typed trees from code.

class InteractiveDriver(val settings: List[String]) extends Driver

A Driver subclass designed to be used from IDEs

A Driver subclass designed to be used from IDEs

Companion
object
Companion
class
case class SourceTree(tree: Import | NameTree, source: SourceFile)

A tree coming from source

A tree coming from source

tree can be either an Import or a NameTree.

Companion
object
object SourceTree
Companion
class