This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
HTML
mattt edited this page Mar 12, 2020
·
4 revisions
An object whose content can be created using string interpolation in a way that interprets values according to the context at which the interpolation occurs.
public struct HTML: LosslessStringConvertible, Equatable, Hashable
For more information, see this project's README.
Equatable
, Hashable
, LosslessStringConvertible
HTML.HTML.HTML.Parser.State.QuotationMark.Disposition.HTML.HTML.HTML.HTML.StringInterpolation
Creates an HTML object with the specified content.
public init(_ description: String)
- Parameter description: The HTML content.
public init(decoder: Decoder) throws
public init(literalCapacity: Int, interpolationCount: Int)
public init(stringInterpolation: StringInterpolation)
public init(stringLiteral value: String)
The HTML content.
var description: String
var html: HTML
public static func <(lhs: HTML, rhs: HTML) -> Bool
public mutating func appendInterpolation<T>(_ value: T) where T: CustomStringConvertible
public mutating func appendInterpolation(comment string: String)
public mutating func appendInterpolation(unsafeUnescaped string: String)
public mutating func appendLiteral(_ literal: String)
public func encode(to encoder: Encoder) throws
Generated at 2020-09-24T18:03:31+0000 using swift-doc 1.0.0-beta.4.