aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/StdNames.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-08 21:23:15 +1100
committerMartin Odersky <odersky@gmail.com>2017-04-04 13:28:44 +0200
commitcea243a4fc38dcc8831000d1066e10362df37576 (patch)
tree38bf1795d9c0d4ce973e405b842d80cec40ae215 /compiler/src/dotty/tools/dotc/core/StdNames.scala
parent41d83d42650d0c0b54c47c1a9043d0b92315aa4e (diff)
downloaddotty-cea243a4fc38dcc8831000d1066e10362df37576.tar.gz
dotty-cea243a4fc38dcc8831000d1066e10362df37576.tar.bz2
dotty-cea243a4fc38dcc8831000d1066e10362df37576.zip
Implement enum desugaring
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/StdNames.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/StdNames.scala b/compiler/src/dotty/tools/dotc/core/StdNames.scala
index 5b7dc3d1d..ff3ddbad7 100644
--- a/compiler/src/dotty/tools/dotc/core/StdNames.scala
+++ b/compiler/src/dotty/tools/dotc/core/StdNames.scala
@@ -132,6 +132,8 @@ object StdNames {
val TRAIT_SETTER_SEPARATOR: N = "$_setter_$"
val DIRECT_SUFFIX: N = "$direct"
val LAZY_IMPLICIT_PREFIX: N = "$lazy_implicit$"
+ val DOLLAR_VALUES: N = "$values"
+ val DOLLAR_NEW: N = "$new"
// value types (and AnyRef) are all used as terms as well
// as (at least) arguments to the @specialize annotation.
@@ -395,6 +397,7 @@ object StdNames {
val elem: N = "elem"
val emptyValDef: N = "emptyValDef"
val ensureAccessible : N = "ensureAccessible"
+ val enumTag: N = "enumTag"
val eq: N = "eq"
val equalsNumChar : N = "equalsNumChar"
val equalsNumNum : N = "equalsNumNum"
@@ -474,6 +477,7 @@ object StdNames {
val productPrefix: N = "productPrefix"
val readResolve: N = "readResolve"
val reflect : N = "reflect"
+ val register: N = "register"
val reify : N = "reify"
val rootMirror : N = "rootMirror"
val runOrElse: N = "runOrElse"
@@ -499,6 +503,7 @@ object StdNames {
val staticModule : N = "staticModule"
val staticPackage : N = "staticPackage"
val synchronized_ : N = "synchronized"
+ val tag: N = "tag"
val tail: N = "tail"
val `then` : N = "then"
val this_ : N = "this"
@@ -523,7 +528,7 @@ object StdNames {
val updateDynamic: N = "updateDynamic"
val value: N = "value"
val valueOf : N = "valueOf"
- val values : N = "values"
+ val values: N = "values"
val view_ : N = "view"
val wait_ : N = "wait"
val withFilter: N = "withFilter"