dotty.tools.dotc.util.Property.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-compiler_3 Show documentation
Show all versions of scala3-compiler_3 Show documentation
scala3-compiler-bootstrapped
package dotty.tools.dotc.util
/** Defines a key type with which to tag properties, such as attachments
* or context properties
*/
object Property {
/** The class of keys for properties of type V */
class Key[+V]
/**
* The class of keys for sticky properties of type V
*
* Sticky properties are properties that should be copied over when their container
* is copied.
*/
class StickyKey[+V] extends Key[V]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy