dotty.tools.dotc.CompilationUnit
See theCompilationUnit companion class
object CompilationUnit
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
CompilationUnit.type
Members list
Type members
Classlikes
class SuspendException extends Exception, NoStackTrace
Attributes
- Supertypes
-
trait NoStackTraceclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
def apply(clsd: ClassDenotation, unpickled: Tree, forceTrees: Boolean)(using Context): CompilationUnit
Make a compilation unit for top class clsd
with the contents of the unpickled
tree
Make a compilation unit for top class clsd
with the contents of the unpickled
tree
Attributes
def apply(source: SourceFile, unpickled: Tree, forceTrees: Boolean, info: CompilationUnitInfo)(using Context): CompilationUnit
Make a compilation unit, given picked bytes and unpickled tree
Make a compilation unit, given picked bytes and unpickled tree
Attributes
Create a compilation unit corresponding to an in-memory String. Used for compiletime.testing.typeChecks
.
Create a compilation unit corresponding to an in-memory String. Used for compiletime.testing.typeChecks
.
Attributes
Create a compilation unit corresponding to source
. If mustExist
is true, this will fail if source
does not exist.
Create a compilation unit corresponding to source
. If mustExist
is true, this will fail if source
does not exist.
Attributes
In this article