AlreadyLoadedCompilationUnit

dotty.tools.dotc.fromtasty.AlreadyLoadedCompilationUnit
class AlreadyLoadedCompilationUnit(val className: String) extends CompilationUnit

A marker CompilationUnit to return up the call stack from ReadTasty. This will tell us that we've encountered, and attempted to inspect, something that has already been loaded, for example a Scala primitive or a library class like Option.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited 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

Inherited from:
CompilationUnit

Is this the compilation unit of a Java file

Is this the compilation unit of a Java file

Attributes

Inherited from:
CompilationUnit

Can this compilation unit be suspended

Can this compilation unit be suspended

Attributes

Inherited from:
CompilationUnit
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

Inherited from:
CompilationUnit
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
Inherited from:
CompilationUnit

Concrete fields

Inherited fields

List of all comments present in this compilation unit

List of all comments present in this compilation unit

Attributes

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

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

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

Pickled TASTY binaries, indexed by class.

Pickled TASTY binaries, indexed by class.

Attributes

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit

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

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit
var tpdTree: Tree

Attributes

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit