trait Names extends api.Names

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Names
  2. Names
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class NameApi extends AnyRef

    The API of Name instances.

    The API of Name instances.

    Definition Classes
    Names
  2. trait TermNameApi extends AnyRef

    Has no special methods.

    Has no special methods. Is here to provides erased identity for TermName.

    Definition Classes
    Names
  3. abstract class TermNameExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TermName(s).

    An extractor class to create and pattern match with syntax TermName(s).

    Definition Classes
    Names
  4. trait TypeNameApi extends AnyRef

    Has no special methods.

    Has no special methods. Is here to provides erased identity for TypeName.

    Definition Classes
    Names
  5. abstract class TypeNameExtractor extends AnyRef

    An extractor class to create and pattern match with syntax TypeName(s).

    An extractor class to create and pattern match with syntax TypeName(s).

    Definition Classes
    Names
  6. sealed abstract class Name extends NameApi with CharSequence

    The name class.

    The name class. TODO - resolve schizophrenia regarding whether to treat Names as Strings or Strings as Names. Give names the key functions the absence of which make people want Strings all the time.

  7. final class NameOps[T <: Name] extends AnyRef

    FIXME: This is a good example of something which is pure "value class" but cannot reap the benefits because an (unused) $outer pointer so it is not single-field.

  8. sealed abstract class TermName extends Name with TermNameApi
  9. sealed abstract class TypeName extends Name with TypeNameApi

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. implicit def AnyNameOps(name: Name): NameOps[Name]
  5. implicit val NameTag: ClassTag[Name]
  6. implicit def TermNameOps(name: TermName): NameOps[TermName]
  7. implicit val TermNameTag: ClassTag[TermName]
  8. implicit def TypeNameOps(name: TypeName): NameOps[TypeName]
  9. implicit val TypeNameTag: ClassTag[TypeName]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val chrs: Array[Char]

    Memory to store all names sequentially.

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def lookupTypeName(cs: Array[Char]): TypeName

    Used by the GenBCode backend to lookup type names that are known to already exist.

    Used by the GenBCode backend to lookup type names that are known to already exist. This method might be invoked in a multi-threaded setting. Invoking newTypeName instead might be unsafe.

    can-multi-thread: names are added to the hash tables only after they are fully constructed.

  20. final val nameDebug: Boolean(false)
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def newTermName(bs: Array[Byte], offset: Int, len: Int): TermName

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

  23. def newTermName(s: String): TermName

    Create a term name from string.

    Create a term name from string.

    Definition Classes
    NamesNames
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  24. final def newTermName(cs: Array[Char], offset: Int, len0: Int, cachedString: String): 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]. TODO - have a mode where name validation is performed at creation time (e.g. if a name has the string "$class" in it, then fail if that string is not at the very end.)

    len0

    the length of the name. Negative lengths result in empty names.

  25. final def newTermName(cs: Array[Char]): TermName
  26. final def newTermName(cs: Array[Char], offset: Int, len: Int): TermName

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

  27. final def newTermNameCached(s: String): TermName
  28. final def newTypeName(bs: Array[Byte], offset: Int, len: Int): TypeName

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

  29. final def newTypeName(cs: Array[Char], offset: Int, len: Int): TypeName

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

  30. def newTypeName(s: String): TypeName

    Create a type name from string.

    Create a type name from string.

    Definition Classes
    NamesNames
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  31. final def newTypeName(cs: Array[Char], offset: Int, len: Int, cachedString: String): TypeName
  32. final def newTypeName(cs: Array[Char]): TypeName
  33. final def newTypeNameCached(s: String): TypeName
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def synchronizeNames: Boolean
    Attributes
    protected
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. object TermName extends TermNameExtractor

    The constructor/extractor for TermName instances.

    The constructor/extractor for TermName instances.

    Definition Classes
    NamesNames
  43. object TypeName extends TypeNameExtractor

    The constructor/extractor for TypeName instances.

    The constructor/extractor for TypeName instances.

    Definition Classes
    NamesNames

Deprecated Value Members

  1. implicit def stringToTermName(s: String): TermName

    An implicit conversion from String to TermName.

    An implicit conversion from String to TermName. Enables an alternative notation "map": TermName as opposed to TermName("map").

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use explicit TermName(s) instead

  2. implicit def stringToTypeName(s: String): TypeName

    An implicit conversion from String to TypeName.

    An implicit conversion from String to TypeName. Enables an alternative notation "List": TypeName as opposed to TypeName("List").

    Definition Classes
    Names
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use explicit TypeName(s) instead

Inherited from api.Names

Inherited from AnyRef

Inherited from Any

API

Extractors

Names

Ungrouped