implicit class SafeStringContext extends AnyRef
type-safe alternative to s"..." that requires explicit toString conversions rather than implicit
- Source
- package.scala
- Alphabetic
- By Inheritance
- SafeStringContext
- AnyRef
- Any
- by AnyExtensions
- by AnyExtensions
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SafeStringContext(stringContext: StringContext)
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 SafeStringContext to any2stringadd[SafeStringContext] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (SafeStringContext, B)
- Implicit
- This member is added by an implicit conversion from SafeStringContext to ArrowAssoc[SafeStringContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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
- @throws( ... )
-
def
ensuring(cond: (SafeStringContext) ⇒ Boolean, msg: ⇒ Any): SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to Ensuring[SafeStringContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (SafeStringContext) ⇒ Boolean): SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to Ensuring[SafeStringContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to Ensuring[SafeStringContext] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to Ensuring[SafeStringContext] 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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SafeStringContext to StringFormat[SafeStringContext] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def safe(args: String*): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
def
→[B](y: B): (SafeStringContext, B)
- Implicit
- This member is added by an implicit conversion from SafeStringContext to ArrowAssoc[SafeStringContext] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Shadowed Implicit Value Members
-
def
in(set: Set[SafeStringContext]): Boolean
Tests whether the given set contains this value as an element
Tests whether the given set contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).in(set)
- Definition Classes
- AnyExtensions
-
def
in(seq: Seq[SafeStringContext]): Boolean
Tests whether the given sequence contains this value as an element
Tests whether the given sequence contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).in(seq)
- Definition Classes
- AnyExtensions
-
def
in(set: Set[SafeStringContext]): Boolean
Tests whether the given set contains this value as an element
Tests whether the given set contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).in(set)
- Definition Classes
- AnyExtensions
-
def
in(seq: Seq[SafeStringContext]): Boolean
Tests whether the given sequence contains this value as an element
Tests whether the given sequence contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).in(seq)
- Definition Classes
- AnyExtensions
-
def
notIn(set: Set[SafeStringContext]): Boolean
Tests whether the given set does NOT contains this value as an element
Tests whether the given set does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).notIn(set)
- Definition Classes
- AnyExtensions
-
def
notIn(seq: Seq[SafeStringContext]): Boolean
Tests whether the given sequence does NOT contains this value as an element
Tests whether the given sequence does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).notIn(seq)
- Definition Classes
- AnyExtensions
-
def
notIn(set: Set[SafeStringContext]): Boolean
Tests whether the given set does NOT contains this value as an element
Tests whether the given set does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).notIn(set)
- Definition Classes
- AnyExtensions
-
def
notIn(seq: Seq[SafeStringContext]): Boolean
Tests whether the given sequence does NOT contains this value as an element
Tests whether the given sequence does NOT contains this value as an element
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).notIn(seq)
- Definition Classes
- AnyExtensions
-
val
value: SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).value
- Definition Classes
- AnyExtensions
-
val
value: SafeStringContext
- Implicit
- This member is added by an implicit conversion from SafeStringContext to AnyExtensions[SafeStringContext] performed by method AnyExtensions in org.cvogt.scala.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(safeStringContext: AnyExtensions[SafeStringContext]).value
- Definition Classes
- AnyExtensions