dotty.tools.dotc
Members list
Packages
Type members
Classlikes
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.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- class
- Supertypes
- Self type
-
CompilationUnit.type
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
.
Attributes
- Supertypes
- Known subtypes
-
class TASTYCompilerclass TASTYDecompilerclass PartialTASTYDecompilerclass InteractiveCompilerobject residentCompilerclass ReplCompilerShow all
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.
Attributes
- Supertypes
- Known subtypes
-
class IDEDecompilerDriverobject Mainclass InteractiveDriverobject Benchobject Mainclass Residentclass ReplDriverclass ScriptingDriverclass StringDriverShow all
Attributes
- Supertypes
-
class FatalErrortrait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
NoCompilationUnit.type
A compiler which stays resident between runs. This is more of a PoC than something that's expected to be used often
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
Attributes
- Supertypes
A compiler run. Exports various methods to compile source files
A compiler run. Exports various methods to compile source files
Attributes
Attributes
- Supertypes
- Self type
-
ScalacCommand.type