Scala Compiler2.13.15 < 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 nsc
  Definition Classes
    tools
-  package tasty
  Definition Classes
    nsc
-  object TastyModes

  A static type representing a bitset of modes that affect the interpretation of a TASTy file, such as distinguishing between reading the parents of a class, or an annotation tree.

  A static type representing a bitset of modes that affect the interpretation of a TASTy file, such as distinguishing between reading the parents of a class, or an annotation tree.

  Definition Classes
    tasty
- TastyMode

c

scala.tools.nsc.tasty.TastyModes

# TastyMode

###

#### final case class TastyMode(toInt: Int) extends AnyVal with Product with Serializable

Self Type
  TastyMode
Source
  TastyModes.scala

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

1. Alphabetic
2. By Inheritance

Inherited

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

Implicitly

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

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new TastyMode(toInt: Int)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     Any
2.  final def !==(u: TastyMode): Boolean
   Implicit
     This member is added by an implicit conversion from TastyMode toSafeEq[TastyMode] performed by method SafeEq in scala.tools.nsc.tasty.
   Definition Classes
     SafeEq
   Annotations
     @inline()
3.  final def ##: Int
   Definition Classes
     Any
4.  def &(mask: TastyMode): TastyMode
5.  def &~(mask: TastyMode): TastyMode
6.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from TastyMode toany2stringadd[TastyMode] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
7.  def ->[B](y: B): (TastyMode, B)
   Implicit
     This member is added by an implicit conversion from TastyMode toArrowAssoc[TastyMode] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
8.  final def ==(arg0: Any): Boolean
   Definition Classes
     Any
9.  final def ===(u: TastyMode): Boolean
   Implicit
     This member is added by an implicit conversion from TastyMode toSafeEq[TastyMode] performed by method SafeEq in scala.tools.nsc.tasty.
   Definition Classes
     SafeEq
   Annotations
     @inline()
10.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
11.  def debug: String
12.  def ensuring(cond: (TastyMode) => Boolean, msg: => Any): TastyMode
    Implicit
      This member is added by an implicit conversion from TastyMode toEnsuring[TastyMode] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: (TastyMode) => Boolean): TastyMode
    Implicit
      This member is added by an implicit conversion from TastyMode toEnsuring[TastyMode] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: Boolean, msg: => Any): TastyMode
    Implicit
      This member is added by an implicit conversion from TastyMode toEnsuring[TastyMode] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: Boolean): TastyMode
    Implicit
      This member is added by an implicit conversion from TastyMode toEnsuring[TastyMode] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def getClass(): Class[_ <: AnyVal]
    Definition Classes
      AnyVal → Any
17.  def is(mask: TastyMode): Boolean
18.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
19.  def isOneOf(mask: TastyMode): Boolean
20.  def nonEmpty: Boolean
21.  def productElementNames: Iterator[String]
    Definition Classes
      Product
22.  val toInt: Int
23.  def |(other: TastyMode): TastyMode

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from TastyMode toStringFormat[TastyMode] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

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

### Inherited by implicit conversion any2stringadd fromTastyMode to any2stringadd[TastyMode]

### Inherited by implicit conversion StringFormat fromTastyMode to StringFormat[TastyMode]

### Inherited by implicit conversion Ensuring fromTastyMode to Ensuring[TastyMode]

### Inherited by implicit conversion ArrowAssoc fromTastyMode to ArrowAssoc[TastyMode]

### Ungrouped