sealed abstract class TastyName extends Product with Serializable
This is a data structure representing semantic names. TastyName
is the interface that TASTy uses to select
members from a type, providing more information than simple strings, such as selecting types over terms,
companion module instead of a class, or signals if a term is a default getter.
Names can also be a SignedName
, which is used to select an overloaded method, and pairs a name with a
MethodSignature
with types are represented by ErasedTypeRef
.
- Self Type
- TastyName
- Source
- TastyName.scala
- Alphabetic
- By Inheritance
- TastyName
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (TastyName, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def asSimpleName: SimpleName
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def debug: String
Debug information about the structure of the name.
- final def encoded: String
The name as as expected by the Scala Reflect SymbolTable
- def ensuring(cond: (TastyName) => Boolean, msg: => Any): TastyName
- def ensuring(cond: (TastyName) => Boolean): TastyName
- def ensuring(cond: Boolean, msg: => Any): TastyName
- def ensuring(cond: Boolean): TastyName
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isConstructorName: Boolean
- final def isDefaultName: Boolean
- final def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isObjectName: Boolean
- final def isSignedConstructor: Boolean
- final def isTermName: Boolean
- final def isTypeName: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- final def source: String
The name as represented in source code
- final def stripSignedPart: TastyName
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- TastyName → AnyRef → Any
- final def toTermName: TastyName
- final def toTypeName: TypeName
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (TastyName, B)
- Implicit
- This member is added by an implicit conversion from TastyName toArrowAssoc[TastyName] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.