Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
mattt edited this page Oct 17, 2021 · 4 revisions

Node

open class Node: RawRepresentable, Equatable, Hashable, CustomStringConvertible 

Inheritance

Constructable, CustomStringConvertible, Equatable, Hashable, RawRepresentable

Initializers

init?(rawValue:)

public required init?(rawValue: UnsafeMutableRawPointer) 

init?(_:)

public convenience init?(_ node: Node?) 

Properties

line

public var line: Int 

isBlank

public var isBlank: Bool 

spacePreservingBehavior

public var spacePreservingBehavior: SpacePreservingBehavior? 

content

public var content: String? 

xpath

public var xpath: String? 

rawValue

public var rawValue: UnsafeMutableRawPointer

description

open var description: String 

parent

public var parent: Node? 

previous

public var previous: Node? 

next

public var next: Node? 

Methods

construct(with:)

public static func construct(with rawValue: xmlNodePtr?) -> Node? 

construct(with:)

public static func construct(with rawValue: xmlNodePtr?) -> Node? 
Types
Protocols
Global Functions
Extensions
Clone this wiki locally