Packages

abstract class FormatInterpolator extends AnyRef

Source
FormatInterpolator.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormatInterpolator
  2. AnyRef
  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. Protected

Instance Constructors

  1. new FormatInterpolator()

Type Members

  1. final class Conversion extends AnyRef

    A conversion specifier matched in the argi'th string part, with argc arguments to interpolate.

Abstract Value Members

  1. abstract val c: Context
  2. abstract def concatenate(parts: List[nsc.Global.Tree], args: List[nsc.Global.Tree]): nsc.Global.Tree

Concrete Value Members

  1. val BigDecimalTpe: nsc.Global.Type
  2. val BigIntTpe: nsc.Global.Type
  3. val CalendarTpe: nsc.Global.Type
  4. val DateTpe: nsc.Global.Type
  5. val FormattableTpe: nsc.Global.Type
  6. val global: universe.type
  7. def interpolateF: nsc.Global.Tree
  8. def interpolated(parts: List[nsc.Global.Tree], args: List[nsc.Global.Tree]): nsc.Global.Tree

    Every part except the first must begin with a conversion for the arg that preceded it.

    Every part except the first must begin with a conversion for the arg that preceded it. If the conversion is missing, "%s" is inserted.

    In any other position, the only permissible conversions are the literals (%% and %n) or an index reference (%1$ or %<).

    A conversion specifier has the form:

    [index$][flags][width][.precision]conversion

    1) "...${smth}" => okay, equivalent to "...${smth}%s" 2) "...${smth}blahblah" => okay, equivalent to "...${smth}%sblahblah" 3) "...${smth}%" => error 4) "...${smth}%n" => okay, equivalent to "...${smth}%s%n" 5) "...${smth}%%" => okay, equivalent to "...${smth}%s%%" 6) "...${smth}[%legalJavaConversion]" => okay* 7) "...${smth}[%illegalJavaConversion]" => error *Legal according to java.util.Formatter

  9. var reported: Boolean
  10. object Conversion
  11. object Kind extends Enumeration