dotty.tools.dotc.sbt

Members list

Type members

Classlikes

object APIUtils

Utilities to deal with xsbti.api.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
APIUtils.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Record dependencies using addUsedName/addClassDependency and inform Zinc using sendToZinc().

Record dependencies using addUsedName/addClassDependency and inform Zinc using sendToZinc().

Note: As an alternative design choice, we could directly call the appropriate callback as we record each dependency, this way we wouldn't need to record them locally and we could get rid of sendToZinc(), but this may be less efficient since it would mean calling classNameAsString on each call to addUsedName rather than once per class.

Attributes

Supertypes
class Object
trait Matchable
class Any
class ExtractAPI extends Phase

This phase sends a representation of the API of classes to sbt via callbacks.

This phase sends a representation of the API of classes to sbt via callbacks.

This is used by sbt for incremental recompilation.

See the documentation of ExtractAPICollector, ExtractDependencies, ExtractDependenciesCollector and http://www.scala-sbt.org/1.x/docs/Understanding-Recompilation.html for more information on incremental recompilation.

The following flags affect this phase: -Yforce-sbt-phases -Ydump-sbt-inc

Attributes

See also

ExtractDependencies

Companion
object
Supertypes
class Phase
class Object
trait Matchable
class Any
object ExtractAPI

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ExtractAPI.type
class ExtractDependencies extends Phase

This phase sends information on classes' dependencies to sbt via callbacks.

This phase sends information on classes' dependencies to sbt via callbacks.

This is used by sbt for incremental recompilation. Briefly, when a file changes sbt will recompile it, if its API has changed (determined by what ExtractAPI sent) then sbt will determine which reverse-dependencies (determined by what ExtractDependencies sent) of the API have to be recompiled depending on what changed.

See the documentation of ExtractDependenciesCollector, ExtractAPI, ExtractAPICollector and http://www.scala-sbt.org/0.13/docs/Understanding-Recompilation.html for more information on how sbt incremental compilation works.

The following flags affect this phase: -Yforce-sbt-phases -Ydump-sbt-inc

Attributes

See also

ExtractAPI

Companion
object
Supertypes
class Phase
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object ShowAPI

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ShowAPI.type

Value members

Concrete fields

inline val InlineParamHash: 1997
inline val TermNameHash: 1987
inline val TypeNameHash: 1993