dotty.tools.dotc.core

Names

Related Doc: package core

object Names

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Names
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Name extends DotClass with PreName with Seq[Char] with IndexedSeqOptimized[Char, Name]

    A name is essentially a string, with three differences

    A name is essentially a string, with three differences

    1. Names belong in one of two name spaces: they are type names or term names. Term names have a sub-category of "local" field names. The same string can correspond a name in each of the three namespaces. 2. Names are hash-consed. Two names representing the same string in the same universe are always reference identical. 3. Names are intended to be encoded strings. @see dotc.util.NameTransformer. The encoding will be applied when converting a string to a name.
  2. trait PreName extends Showable

    A common class for things that can be turned into names.

    A common class for things that can be turned into names. Instances are both names and strings, the latter via a decorator.

  3. class TermName extends Name

  4. class TypeName extends Name

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val CONSTRUCTOR: TermName

  5. val EMPTY_PACKAGE: TermName

  6. val EmptyTermName: TermName

    The term name represented by the empty string

  7. val EmptyTypeName: TypeName

    The type name represented by the empty string

  8. implicit val NameOrdering: Ordering[Name]

  9. val STATIC_CONSTRUCTOR: TermName

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val dontEncode: Set[TermName]

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. implicit def eqName: Eq[Name, Name]

  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. implicit val nameCanBuildFrom: CanBuildFrom[Name, Char, Name]

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def termName(s: String): TermName

    Create a term name from a string, without encoding operators

  26. def termName(bs: Array[Byte], offset: Int, len: Int): TermName

    Create a term name from the UTF8 encoded bytes in bs[offset..offset+len-1].

    Create a term name from the UTF8 encoded bytes in bs[offset..offset+len-1]. Assume they are already encoded.

  27. def termName(cs: Array[Char], offset: Int, len: Int): TermName

    Create a term name from the characters in cs[offset..offset+len-1].

    Create a term name from the characters in cs[offset..offset+len-1]. Assume they are already encoded.

  28. def termNameBuilder: Builder[Char, TermName]

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def typeName(s: String): TypeName

    Create a type name from a string, without encoding operators

  31. def typeName(bs: Array[Byte], offset: Int, len: Int): TypeName

    Create a type name from the UTF8 encoded bytes in bs[offset..offset+len-1].

    Create a type name from the UTF8 encoded bytes in bs[offset..offset+len-1]. Assume they are already encoded.

  32. def typeName(cs: Array[Char], offset: Int, len: Int): TypeName

    Create a type name from the characters in cs[offset..offset+len-1].

    Create a type name from the characters in cs[offset..offset+len-1]. Assume they are already encoded.

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped