internal

scala.caps.internal
object internal

Attributes

Experimental
true
Source
package.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
internal.type

Members list

Type members

Classlikes

trait Var[T] extends Mutable

A trait for capabilities representing usage of mutable vars in capture sets.

A trait for capabilities representing usage of mutable vars in capture sets.

Attributes

Source
package.scala
Supertypes
trait Mutable
trait Unscoped
trait Classifier
trait Separate
trait Stateful
trait Capability
class Object
trait Matchable
class Any
Show all
final class consume extends StaticAnnotation

An annotation to reflect that a parameter or method carries the consume soft modifier.

An annotation to reflect that a parameter or method carries the consume soft modifier.

Attributes

Source
package.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any
final class inferred extends StaticAnnotation

An annotation on a type indicating that the type was inferred. Added during inlining when we want to mark portions of aotherwise explicit type as inferred.

An annotation on a type indicating that the type was inferred. Added during inlining when we want to mark portions of aotherwise explicit type as inferred.

Attributes

Source
package.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any

Deprecated classlikes

final class refineOverride extends StaticAnnotation

An internal annotation placed on a refinement created by capture checking. Refinements with this annotation unconditionally override any info from the parent type, so no intersection needs to be formed. This could be useful for tracked parameters as well.

An internal annotation placed on a refinement created by capture checking. Refinements with this annotation unconditionally override any info from the parent type, so no intersection needs to be formed. This could be useful for tracked parameters as well.

Attributes

Deprecated
true
Source
package.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any

Value members

Concrete methods

def erasedValue[T]: T

An erasedValue issued internally by the compiler. Unlike the user-accessible compiletime.erasedValue, this version is assumed to be a pure expression, hence capability safe. The compiler generates this version only where it is known that a value can be generated.

An erasedValue issued internally by the compiler. Unlike the user-accessible compiletime.erasedValue, this version is assumed to be a pure expression, hence capability safe. The compiler generates this version only where it is known that a value can be generated.

Attributes

Source
package.scala