CompilationUnit

dotty.tools.dotc.CompilationUnit
See theCompilationUnit companion class

Attributes

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

Members list

Type members

Classlikes

Attributes

Supertypes
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show 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)(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