scala.reflect.macros.Names.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
package scala.reflect
package macros
trait Names {
self: Context =>
/** Creates a fresh string */
def fresh(): String
/** Creates a fresh string from the provided string */
def fresh(name: String): String
/** Creates a fresh name from the provided name */
def fresh[NameType <: Name](name: NameType): NameType
}