package dotty.tools.dotc

Constructors

Members

package dotty.tools.dotc.ast
package dotty.tools.dotc.core
package dotty.tools.dotc.repl
package dotty.tools.dotc.sbt
package dotty.tools.dotc.util
[+] final object Bench

A main class for running compiler benchmarks. Can instantiate a given number of compilers and run each (sequentially) a given number of times on the sam...

A main class for running compiler benchmarks. Can instantiate a given number of compilers and run each (sequentially) a given number of times on the same sources.

class CompilationUnit
class Compiler

The central class of the dotc compiler. The job of a compiler is to create runs, which process given phases in a given rootContext.

The central class of the dotc compiler. The job of a compiler is to create runs, which process given phases in a given rootContext.

[+] abstract class Driver

Run the Dotty compiler.

Extending this class lets you customize many aspect of the compilation process, but in most cases you only need to call [[process] [Main]

Run the Dotty compiler.

Extending this class lets you customize many aspect of the compilation process, but in most cases you only need to call [[process]] on the existing object [[Main]].

[+] final object FromTasty

Compiler for TASTY files. Usage:

scala dotty.tools.dotc.FromTasty (option | classname)*

Options are as for dotc. Classnames are fully qualified names of t...

Compiler for TASTY files. Usage:

scala dotty.tools.dotc.FromTasty (option | classname)*

Options are as for dotc. Classnames are fully qualified names of top-level classes that need to have a TASTY attribute. Example:

scala dotty.tools.dotc.FromTasty -Xprint:front extMethods.T

final object Main

Main class of the dotc batch compiler.

Main class of the dotc batch compiler.

[+] class Resident

A compiler which stays resident between runs. This is more of a PoC than something that's expected to be used often

Usage:

scala dotty.tools.dotc.Residen...

A compiler which stays resident between runs. This is more of a PoC than something that's expected to be used often

Usage:

scala dotty.tools.dotc.Resident

dotc> "more options and files to compile"

...

dotc> :reset // reset all options to the ones passed on the command line

...

dotc> :q // quit

class Run

A compiler run. Exports various methods to compile source files

A compiler run. Exports various methods to compile source files