Scala Compiler2.12.16 < 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 transform
  Definition Classes
    nsc
-  package patmat
  Definition Classes
    transform
- Debugging
- Interface
- Lit
- Logic
- MatchAnalysis
- MatchApproximation
- MatchCodeGen
- MatchCps
- MatchOptimization
- MatchTranslation
- MatchTreeMaking
- MatchWarnings
- PatternExpansion
- PatternMatching
- PatternMatchingStats
- ScalaLogic
- Solving
- TreeAndTypeAnalysis

c

scala.tools.nsc.transform.patmat

# Lit 

###
Companion object Lit

#### final class Lit extends AnyVal

Source
  Solving.scala

Linear Supertypes
AnyVal, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Lit
2. AnyVal
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 Lit(v: 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 Lit to any2stringadd[Lit] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (Lit, B)
   Implicit
     This member is added by an implicit conversion from Lit to ArrowAssoc[Lit] 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: (Lit) ⇒ Boolean, msg: ⇒ Any): Lit
   Implicit
     This member is added by an implicit conversion from Lit to Ensuring[Lit] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
8.  def ensuring(cond: (Lit) ⇒ Boolean): Lit
   Implicit
     This member is added by an implicit conversion from Lit to Ensuring[Lit] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
9.  def ensuring(cond: Boolean, msg: ⇒ Any): Lit
   Implicit
     This member is added by an implicit conversion from Lit to Ensuring[Lit] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: Boolean): Lit
    Implicit
      This member is added by an implicit conversion from Lit to Ensuring[Lit] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def getClass(): Class[_ <: AnyVal]
    Definition Classes
      AnyVal → Any
12.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
13.  def positive: Boolean
14.  def toString(): String
    Definition Classes
      Lit → Any
15.  def unary_-: Lit
16.  val v: Int
17.  def variable: Int
18.  def →[B](y: B): (Lit, B)
    Implicit
      This member is added by an implicit conversion from Lit to ArrowAssoc[Lit] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from Lit to StringFormat[Lit] 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.

### Inherited from AnyVal

### Inherited from Any

### Inherited by implicit conversion any2stringadd from Lit to any2stringadd[Lit]

### Inherited by implicit conversion StringFormat from Lit to StringFormat[Lit]

### Inherited by implicit conversion Ensuring from Lit to Ensuring[Lit]

### Inherited by implicit conversion ArrowAssoc from Lit to ArrowAssoc[Lit]

### Ungrouped