CompilationUnit

dotty.tools.dotc.CompilationUnit
See theCompilationUnit companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

A map from (name-) offsets of all local variables in this compilation unit that can be tracked for being not null to the list of spans of assignments to these variables.

A map from (name-) offsets of all local variables in this compilation unit that can be tracked for being not null to the list of spans of assignments to these variables.

Attributes

Is this the compilation unit of a Java file

Is this the compilation unit of a Java file

Attributes

Can this compilation unit be suspended

Can this compilation unit be suspended

Attributes

def suspend()(using Context): Nothing

Suspends the compilation unit by thowing a SuspendException and recording the suspended compilation unit

Suspends the compilation unit by thowing a SuspendException and recording the suspended compilation unit

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

The fresh name creator for the current unit. FIXME(#7661): This is not fine-grained enough to enable reproducible builds, see https://github.com/scala/scala/commit/f50ec3c866263448d803139e119b33afb04ec2bc

The fresh name creator for the current unit. FIXME(#7661): This is not fine-grained enough to enable reproducible builds, see https://github.com/scala/scala/commit/f50ec3c866263448d803139e119b33afb04ec2bc

Attributes

Will be set to true if the unit contains a pureFunctions language import

Will be set to true if the unit contains a pureFunctions language import

Attributes

Will be set to true if the unit contains a captureChecking language import

Will be set to true if the unit contains a captureChecking language import

Attributes

Will be set to true if there are inline call that must be inlined after typer. The information is used in phase Inlining in order to avoid traversing trees that need no transformations.

Will be set to true if there are inline call that must be inlined after typer. The information is used in phase Inlining in order to avoid traversing trees that need no transformations.

Attributes

Set to true if inliner added anonymous mirrors that need to be completed

Set to true if inliner added anonymous mirrors that need to be completed

Attributes

Will be set to true if contains Quote. The information is used in phase Staging/Splicing/PickleQuotes in order to avoid traversing trees that need no transformations.

Will be set to true if contains Quote. The information is used in phase Staging/Splicing/PickleQuotes in order to avoid traversing trees that need no transformations.

Attributes

var pickled: Map[ClassSymbol, () => Array[Byte]]

Pickled TASTY binaries, indexed by class.

Pickled TASTY binaries, indexed by class.

Attributes

The source version for this unit, as determined by a language import

The source version for this unit, as determined by a language import

Attributes

var tpdTree: Tree