final class StringInterpolators
extends AnyVal

Constructors

StringInterpolators ( sc: StringContext )

Members

val sc : StringContext
def em ( args: [ Any ] ) ( implicit ctx: Context ) : String

Formatting for error messages: Like i but suppress follow-on error messages after the first one if some of their arguments are "non-sensical".

Formatting for error messages: Like i but suppress follow-on error messages after the first one if some of their arguments are "non-sensical".

def ex ( args: [ Any ] ) ( implicit ctx: Context ) : String

Formatting with added explanations: Like em, but add explanations to give more info about type variables and to disambiguate where needed.

Formatting with added explanations: Like em, but add explanations to give more info about type variables and to disambiguate where needed.

def hl ( args: [ Any ] ) ( implicit ctx: Context ) : String

Formatter that adds syntax highlighting to all interpolated values

Formatter that adds syntax highlighting to all interpolated values

def i ( args: [ Any ] ) ( implicit ctx: Context ) : String

General purpose string formatting

General purpose string formatting