Scala Compiler2.13.4 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package tasty
  Definition Classes
    tools
-  object TastyRefs
  Definition Classes
    tasty
- Addr
- NameRef

c

scala.tools.tasty.TastyRefs

# NameRef

###

#### final case class NameRef(index: Int) extends AnyVal with Product with Serializable

An address referring to a serialized name

Source
  TastyRefs.scala

Linear Supertypes
java.io.Serializable, Product, Equals, AnyVal, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. NameRef
2. Serializable
3. Product
4. Equals
5. AnyVal
6. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new NameRef(index: Int)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     Any
2.  final def ##: Int
   Definition Classes
     Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from NameRef toany2stringadd[NameRef] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (NameRef, B)
   Implicit
     This member is added by an implicit conversion from NameRef toArrowAssoc[NameRef] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def ensuring(cond: (NameRef) => Boolean, msg: => Any): NameRef
   Implicit
     This member is added by an implicit conversion from NameRef toEnsuring[NameRef] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
8.  def ensuring(cond: (NameRef) => Boolean): NameRef
   Implicit
     This member is added by an implicit conversion from NameRef toEnsuring[NameRef] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
9.  def ensuring(cond: Boolean, msg: => Any): NameRef
   Implicit
     This member is added by an implicit conversion from NameRef toEnsuring[NameRef] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: Boolean): NameRef
    Implicit
      This member is added by an implicit conversion from NameRef toEnsuring[NameRef] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from NameRef toStringFormat[NameRef] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
12.  def getClass(): Class[_ <: AnyVal]
    Definition Classes
      AnyVal → Any
13.  val index: Int
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  def productElementNames: Iterator[String]
    Definition Classes
      Product

### Deprecated Value Members

1.  def →[B](y: B): (NameRef, B)
   Implicit
     This member is added by an implicit conversion from NameRef toArrowAssoc[NameRef] 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.

### Inherited from java.io.Serializable

### Inherited from Product

### Inherited from Equals

### Inherited from AnyVal

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromNameRef to any2stringadd[NameRef]

### Inherited by implicit conversion StringFormat fromNameRef to StringFormat[NameRef]

### Inherited by implicit conversion Ensuring fromNameRef to Ensuring[NameRef]

### Inherited by implicit conversion ArrowAssoc fromNameRef to ArrowAssoc[NameRef]

### Ungrouped