All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.reflect.api.StandardNames.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
/* 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 {
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy