Structureswift-package-manager 6.0.3Basics
StringInterpolation
SerializedJSON.swift:30struct StringInterpolation
struct StringInterpolation
import Basics
struct SerializedJSON
Wrapper type representing serialized escaped JSON strings providing helpers for escaped string interpolations for common types such as AbsolutePath
.
init(stringInterpolation: StringInterpolation)
init(stringLiteral: String)
protocol StringInterpolationProtocol
Represents the contents of a string literal with interpolations while it’s being built up.
init(literalCapacity: Int, interpolationCount: Int)
mutating func appendInterpolation(_ value: AbsolutePath)
mutating func appendInterpolation(_ value: some CustomStringConvertible)
mutating func appendLiteral(_ literal: String)