Class

scala.reflect.api.Names

NameApi

Related Doc: package Names

Permalink

abstract class NameApi extends AnyRef

The API of Name instances.

Source
Names.scala
Linear Supertypes
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()

    Permalink

Abstract Value Members

  1. abstract def decodedName: Name

    Permalink

    The decoded name, still represented as a name.

  2. abstract def encodedName: Name

    Permalink

    The encoded name, still represented as a name.

  3. abstract def isTermName: Boolean

    Permalink

    Checks whether the name is a term name

  4. abstract def isTypeName: Boolean

    Permalink

    Checks whether the name is a type name

  5. abstract def toTermName: TermName

    Permalink

    Returns a term name that wraps the same string as this

  6. abstract def toTypeName: TypeName

    Permalink

    Returns a type name that wraps the same string as this

  7. abstract def decoded: String

    Permalink

    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

    Permalink

    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