NoCompilationUnit

dotty.tools.dotc.NoCompilationUnit$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

override def assignmentSpans(using Context): Map[Int, List[Span]]

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

Definition Classes
override def isJava: Boolean

Is this the compilation unit of a Java file

Is this the compilation unit of a Java file

Attributes

Definition Classes
override 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

Definition Classes

Inherited methods

Can this compilation unit be suspended

Can this compilation unit be suspended

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

Inherited 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

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

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

Attributes

Inherited from:
CompilationUnit

Attributes

Inherited from:
CompilationUnit