scala.reflect.api.StandardNames.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-reflect Show documentation
Show all versions of scala-reflect Show documentation
Compiler for the Scala Programming Language
/* NSC -- new Scala compiler
* Copyright 2005-2012 LAMP/EPFL
* @author Martin Odersky
*/
package scala.reflect
package api
// Q: I have a pretty name. Where do I put it - into base.StandardNames or into api.StandardNames?
// A:
trait StandardNames extends base.StandardNames {
self: Universe =>
val nme: TermNamesApi
val tpnme: TypeNamesApi
trait NamesApi extends NamesBase {
val ROOT: NameType
val EMPTY: NameType
val ERROR: NameType
val PACKAGE: NameType
}
trait TermNamesApi extends NamesApi with TermNamesBase {
val LOCAL_SUFFIX_STRING: String
}
trait TypeNamesApi extends NamesApi with TypeNamesBase {
}
}