Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

HTML_StringInterpolation

mattt edited this page Sep 24, 2020 · 2 revisions

HTML.StringInterpolation

The type each segment of a string literal containing interpolations should be appended to.

public struct StringInterpolation:​ StringInterpolationProtocol

Inheritance

StringInterpolationProtocol

Initializers

init(literalCapacity:​interpolationCount:​)

public init(literalCapacity:​ Int, interpolationCount:​ Int)

Methods

appendLiteral(_:​)

public mutating func appendLiteral(_ literal:​ String)

appendInterpolation(_:​)

public mutating func appendInterpolation<T>(_ value:​ T) where T:​ CustomStringConvertible

appendInterpolation(unsafeUnescaped:​)

public mutating func appendInterpolation(unsafeUnescaped string:​ String)

appendInterpolation(comment:​)

public mutating func appendInterpolation(comment string:​ String)