Packages

abstract class NameApi extends AnyRef

The API of Name instances.

Source
Names.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NameApi
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NameApi()

Abstract Value Members

  1. abstract def decodedName: Name

    The decoded name, still represented as a name.

  2. abstract def encodedName: Name

    The encoded name, still represented as a name.

  3. abstract def isTermName: Boolean

    Checks whether the name is a term name

  4. abstract def isTypeName: Boolean

    Checks whether the name is a type name

  5. abstract def toTermName: TermName

    Returns a term name that wraps the same string as this

  6. abstract def toTypeName: TypeName

    Returns a type name that wraps the same string as this

  7. abstract def decoded: String

    Replaces all occurrences of $op_names in this name by corresponding operator symbols.

    Replaces all occurrences of $op_names in this name by corresponding operator symbols. Example: foo_$plus$eq becomes foo_+=

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use decodedName.toString instead

  8. abstract def encoded: String

    Replaces all occurrences of operator symbols in this name by corresponding $op_names.

    Replaces all occurrences of operator symbols in this name by corresponding $op_names. Example: foo_+= becomes foo_$plus$eq.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) use encodedName.toString instead