Scala Compiler2.12.21 < 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 reflect
  Definition Classes
    tools
-  abstract class FormatInterpolator extends AnyRef
  Definition Classes
    reflect
- CharacterXn
- Conversion
- DateTimeXn
- ErrorXn
- FloatingPointXn
- GeneralXn
- IntegralXn
- LiteralXn
- SpecifierGroups

c

scala.tools.reflect.FormatInterpolator

# ErrorXn 

###

#### class ErrorXn extends Conversion

Source
  FormatInterpolator.scala

Linear Supertypes
Conversion, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ErrorXn
2. Conversion
3. AnyRef
4. 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 ErrorXn(m: Match, pos: nsc.Global.Position)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from ErrorXn to any2stringadd[ErrorXn] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ErrorXn, B)
   Implicit
     This member is added by an implicit conversion from ErrorXn to ArrowAssoc[ErrorXn] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def accepts(arg: nsc.Global.Tree): None.type
   Definition Classes
     ErrorXn → Conversion
7.  val allFlags: String
   Definition Classes
     Conversion
8.  val argc: Int
   Definition Classes
     ErrorXn → Conversion
9.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
10.  def badFlag(f: Char, msg: String): Unit
    Definition Classes
      Conversion
11.  def cc: Char
    Definition Classes
      Conversion
12.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
13.  def ensuring(cond: (ErrorXn) ⇒ Boolean, msg: ⇒ Any): ErrorXn
    Implicit
      This member is added by an implicit conversion from ErrorXn to Ensuring[ErrorXn] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: (ErrorXn) ⇒ Boolean): ErrorXn
    Implicit
      This member is added by an implicit conversion from ErrorXn to Ensuring[ErrorXn] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: Boolean, msg: ⇒ Any): ErrorXn
    Implicit
      This member is added by an implicit conversion from ErrorXn to Ensuring[ErrorXn] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean): ErrorXn
    Implicit
      This member is added by an implicit conversion from ErrorXn to Ensuring[ErrorXn] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
19.  def errorAt(g: SpecifierGroups.Value, msg: String): Unit
    Definition Classes
      Conversion
20.  def errorAtOffset(g: SpecifierGroups.Value, i: Int, msg: String): Unit
    Definition Classes
      Conversion
21.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
22.  val flags: Option[String]
    Definition Classes
      Conversion
23.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
24.  def goodFlags: Boolean
    Definition Classes
      Conversion
25.  def goodIndex: Boolean
    Definition Classes
      Conversion
26.  def groupPos(g: SpecifierGroups.Value): Position
    Definition Classes
      Conversion
27.  def groupPosAt(g: SpecifierGroups.Value, i: Int): Position
    Definition Classes
      Conversion
28.  def hasAnyFlag(fs: String): Boolean
    Definition Classes
      Conversion
29.  def hasFlag(f: Char): Boolean
    Definition Classes
      Conversion
30.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
31.  val index: Option[Int]
    Definition Classes
      Conversion
32.  def indexed: Boolean
    Definition Classes
      Conversion
33.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
34.  def isLeading: Boolean
    Definition Classes
      Conversion
35.  def isLiteral: Boolean
    Definition Classes
      Conversion
36.  val m: Match
    Definition Classes
      ErrorXn → Conversion
37.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
38.  def noFlags: Boolean
    Definition Classes
      Conversion
39.  def noPrecision: Boolean
    Definition Classes
      Conversion
40.  def noWidth: Boolean
    Definition Classes
      Conversion
41.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
42.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
43.  def okFlags: String
    Attributes
      protected
    Definition Classes
      Conversion
44.  def only_-(msg: String): Boolean
    Definition Classes
      Conversion
45.  val op: String
    Definition Classes
      Conversion
46.  def pickAcceptable(arg: nsc.Global.Tree, variants: nsc.Global.Type*): Option[nsc.Global.Type]

    Pick the type of an arg to format from among the variants supported by a conversion.

    Pick the type of an arg to format from among the variants supported by a conversion. This is the type of the temporary, so failure results in an erroneous assignment to the first variant. A more complete message would be nice.

    Definition Classes
      Conversion
47.  val pos: nsc.Global.Position
    Definition Classes
      ErrorXn → Conversion
48.  val precision: Option[Int]
    Definition Classes
      Conversion
49.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
50.  def toString(): String
    Definition Classes
      AnyRef → Any
51.  def verify: Boolean
    Definition Classes
      ErrorXn → Conversion
52.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
53.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
54.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
55.  val width: Option[Int]
    Definition Classes
      Conversion
56.  def →[B](y: B): (ErrorXn, B)
    Implicit
      This member is added by an implicit conversion from ErrorXn to ArrowAssoc[ErrorXn] 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 ErrorXn to StringFormat[ErrorXn] 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 Conversion

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped