NoCompilationUnit

dotty.tools.dotc.NoCompilationUnit

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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

Is this the compilation unit of a Java file, or TASTy derived from a Java file

Is this the compilation unit of a Java file, or TASTy derived from a Java file

Attributes

Inherited from:
CompilationUnit

Inherited fields

List of all comments present in this compilation unit

List of all comments present in this compilation unit

Attributes

Inherited from:
CompilationUnit

This is used to record dependencies to invalidate during incremental compilation, but only if ctx.runZincPhases is true.

This is used to record dependencies to invalidate during incremental compilation, but only if ctx.runZincPhases is true.

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

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