sealed trait Conversion extends AnyRef
A conversion specifier matched by m
in the string part at pos
,
with argc
arguments to interpolate.
- Source
- FormatInterpolator.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Conversion
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def accepts(arg: nsc.Global.Tree): Option[nsc.Global.Type]
- abstract def argc: Int
- abstract def m: Match
- abstract def pos: nsc.Global.Position
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Conversion to any2stringadd[Conversion] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Conversion, B)
- Implicit
- This member is added by an implicit conversion from Conversion to ArrowAssoc[Conversion] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allFlags: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def badFlag(f: Char, msg: String): Unit
- def cc: Char
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (Conversion) ⇒ Boolean, msg: ⇒ Any): Conversion
- Implicit
- This member is added by an implicit conversion from Conversion to Ensuring[Conversion] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Conversion) ⇒ Boolean): Conversion
- Implicit
- This member is added by an implicit conversion from Conversion to Ensuring[Conversion] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Conversion
- Implicit
- This member is added by an implicit conversion from Conversion to Ensuring[Conversion] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Conversion
- Implicit
- This member is added by an implicit conversion from Conversion to Ensuring[Conversion] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def errorAt(g: SpecifierGroups.Value, msg: String): Unit
- def errorAtOffset(g: SpecifierGroups.Value, i: Int, msg: String): Unit
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val flags: Option[String]
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Conversion to StringFormat[Conversion] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def goodFlags: Boolean
- def goodIndex: Boolean
- def groupPos(g: SpecifierGroups.Value): Position
- def groupPosAt(g: SpecifierGroups.Value, i: Int): Position
- def hasAnyFlag(fs: String): Boolean
- def hasFlag(f: Char): Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- val index: Option[Int]
- def indexed: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLeading: Boolean
- def isLiteral: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noFlags: Boolean
- def noPrecision: Boolean
- def noWidth: Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
okFlags: String
- Attributes
- protected
- def only_-(msg: String): Boolean
- val op: String
-
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.
- val precision: Option[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def verify: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val width: Option[Int]
-
def
→[B](y: B): (Conversion, B)
- Implicit
- This member is added by an implicit conversion from Conversion to ArrowAssoc[Conversion] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: