dotty.tools.dotc.interactive

Members list

Type members

Classlikes

object Completion

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Completion.type
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 parameters

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
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.

Attributes

See also

InteractiveDriver to get typed trees from code.

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Compiler
class Object
trait Matchable
class Any
class InteractiveDriver(val settings: List[String], val logicalRootPackage: Option[LogicalPackage] = ...) extends Driver

A Driver subclass designed to be used from IDEs

A Driver subclass designed to be used from IDEs

Attributes

Companion
object
Supertypes
class Driver
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

A logical package representation. This is disconnected from the file system, and faithfully represents the nesting of packages and sources that contribute classes to those packages.

A logical package representation. This is disconnected from the file system, and faithfully represents the nesting of packages and sources that contribute classes to those packages.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LogicalPackagesProvider(sourcePath: String)

A compiler component that adds support for parsing Scala and Java source files and finding out the logical package structure of the whole source path.

A compiler component that adds support for parsing Scala and Java source files and finding out the logical package structure of the whole source path.

Attributes

Supertypes
class Object
trait Matchable
class Any
class LogicalSourcePath(val sourcepath: String, rootPackage: LogicalPackage) extends ClassPath

A ClassPath implementation that can find sources regardless of the directory where they're declared.

A ClassPath implementation that can find sources regardless of the directory where they're declared.

Attributes

Supertypes
trait ClassPath
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ParsedLogicalPackage(val name: String, val parent: Option[ParsedLogicalPackage]) extends LogicalPackage

Represent a package and its contents in a way that's close to the file system.

Represent a package and its contents in a way that's close to the file system.

A package contains any number of nested packages and source files. It is mutable in order to allow adding members at any level, as they are discovered by parsing source files.

Value parameters

name

simple name of the package

Attributes

Note

This class is not thread safe

Companion
object
Supertypes
class Object
trait Matchable
class Any
object SourceTree

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SourceTree.type
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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all