aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/util/Property.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/util/Property.scala')
-rw-r--r--src/dotty/tools/dotc/util/Property.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/util/Property.scala b/src/dotty/tools/dotc/util/Property.scala
new file mode 100644
index 000000000..608fc88e6
--- /dev/null
+++ b/src/dotty/tools/dotc/util/Property.scala
@@ -0,0 +1,10 @@
+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]
+} \ No newline at end of file