Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
nodeName
Comment.swift:33override func nodeName() -> String
override func nodeName() -> String
import SwiftSoup
class Comment
A comment node.
@frozen struct String
A Unicode string value that is a collection of characters.
func nodeName() -> String
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof).
init(_ data: [UInt8], _ baseUri: [UInt8])
Create a new comment node.
override func copy(clone: Node, parent: Node?) -> Node
override func copy(parent: Node?) -> Node
override func copy(with zone: NSZone? = nil) -> Any
func getData() -> String
Get the contents of the comment.
func getDataUTF8() -> [UInt8]
override func nodeNameUTF8() -> [UInt8]