CompilationUnit

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

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

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

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.