dotty.tools

dotc

package dotc

Visibility
  1. Public
  2. All

Type Members

  1. class CompilationUnit extends AnyRef

  2. class Compiler extends AnyRef

    The central class of the dotc 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.

  3. abstract class Driver extends DotClass

    Run the Dotty compiler.

    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.

  4. class Resident extends Driver

    A compiler which stays resident between runs.

    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 <options> <initial files>

    dotc> "more options and files to compile"

    ...

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

    ...

    dotc> :q // quit

  5. class Run extends AnyRef

    A compiler run.

    A compiler run. Exports various methods to compile source files

Value Members

  1. object Bench extends Driver

    A main class for running compiler benchmarks.

    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.

  2. object FromTasty extends Driver

    Compiler for TASTY files.

    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

  3. object Main extends Driver

    Main class of the dotc batch compiler.

  4. package ast

  5. package backend

  6. package config

  7. package core

  8. package parsing

  9. package printing

  10. package repl

  11. package reporting

  12. package rewrite

  13. package sbt

  14. package transform

  15. package typer

  16. package util

Ungrouped