CompilationUnit

dotty.tools.dotc.CompilationUnit$
See theCompilationUnit companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Exception
class Throwable
class Object
trait Matchable
class Any

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)(using Context): CompilationUnit

Make a compilation unit, given picked bytes and unpickled tree

Make a compilation unit, given picked bytes and unpickled tree

Attributes

def apply(source: SourceFile, mustExist: Boolean)(using Context): CompilationUnit

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