Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
codepointForName(_:)
Entities.swift:112func codepointForName(_ name: String) -> UnicodeScalar?
func codepointForName(_ name: String) -> UnicodeScalar?
s9SwiftSoup8EntitiesC10EscapeModeC16codepointForNameys7UnicodeO6ScalarVSgSSF
What are these?4VZDW
import SwiftSoup
class EscapeMode
class Entities
HTML entities, and escape routines. Source: W3C HTML named character references.
@frozen struct String
A Unicode string value that is a collection of characters.
typealias UnicodeScalar = Unicode.Scalar
static let base: EscapeMode
Default HTML output entities.
static let extended: EscapeMode
Complete HTML entities.
static let xhtml: EscapeMode
Restricted entities suitable for XHTML output: lt, gt, amp, and quot only.
static func == (left: EscapeMode, right: EscapeMode) -> Bool
func codepointForName(_ name: [UInt8]) -> UnicodeScalar?
func codepointForName(_ name: ArraySlice<UInt8>) -> UnicodeScalar?
func nameForCodepoint(_ codepoint: UnicodeScalar) -> String?
func nameForCodepoint(_ codepoint: [UInt8]) -> [UInt8]?