AttributeKey

sealed trait AttributeKey[A]

A key in an AttributeMap that constrains its associated value to be of type T. The key is uniquely defined by its label and type T, represented at runtime by manifest.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def description: Option[String]

An optional, brief description of the key.

An optional, brief description of the key.

def extend: Seq[AttributeKey[_]]

In environments that support delegation, looking up this key when it has no associated value will delegate to the values associated with these keys. The delegation proceeds in order the keys are returned here.

In environments that support delegation, looking up this key when it has no associated value will delegate to the values associated with these keys. The delegation proceeds in order the keys are returned here.

def isLocal: Boolean

Specifies whether this key is a local, anonymous key (true) or not (false). This is typically only used for programmatic, intermediate keys that should not be referenced outside of a specific scope.

Specifies whether this key is a local, anonymous key (true) or not (false). This is typically only used for programmatic, intermediate keys that should not be referenced outside of a specific scope.

def label: String

The label is the identifier for the key and is camelCase by convention.

The label is the identifier for the key and is camelCase by convention.

def manifest: ClassTag[A]

The runtime evidence for A.

The runtime evidence for A.

def rank: Int

Identifies the relative importance of a key among other keys.

Identifies the relative importance of a key among other keys.