object Interpolator
Companion object for the Interpolator, containing related definitions.
- Alphabetic
- By Inheritance
- Interpolator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
Embedded[Input, InterpolatorType <: Interpolator] extends AnyRef
A value which has been embedded as a substitution into an interpolated string, using the implicit embed method.
A value which has been embedded as a substitution into an interpolated string, using the implicit embed method.
- Input
the common input type for all substitutions for this Interpolator
- InterpolatorType
the type of Interpolator for which this value is embedded
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
implicit
def
embed[ContextPair <: (Context, Context), Value, Input, InterpolatorType <: Interpolator](value: Value)(implicit embedder: Embedder[ContextPair, Value, Input, InterpolatorType]): Embedded[Input, InterpolatorType]
The embed implicit method which automatically converts acceptable types to the Embedded type, binding them with their corresponding Embedder, which defines how that type should be converted to a common input type in different contexts.
The embed implicit method which automatically converts acceptable types to the Embedded type, binding them with their corresponding Embedder, which defines how that type should be converted to a common input type in different contexts.
- ContextPair
the inferred intersection of "before" and "after" contexts for the embedding, inferred by the implicit Embedder instance
- Value
the type of the value being embedded, inferred from the type being substituted into the interpolated string
- Input
the common type to which all substitutions are converted for this Interpolator
- InterpolatorType
the singleton type of the Interpolator, inferred from the expected type of the Embedded parameter
- value
the value of type
Value
being embedded- embedder
the implicit Embedder for values of type
Value
, whose existence (or not) determines whether embedding of theValue
type is possible- returns
an Embedded instance, matching the required type of the holes in the interpolated string
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )