Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Constructable

mattt edited this page Oct 17, 2021 · 4 revisions

Constructable

public protocol Constructable 

Default Implementations

text

public var text: String 

children

public var children: [Node] 

firstChildElement

public var firstChildElement: Element? 

firstChildElement(named:)

public func firstChildElement(named name: String) -> Element? 

lastChildElement

public var lastChildElement: Element? 

lastChildElement(named:)

public func lastChildElement(named name: String) -> Element? 

parent

public var parent: Element? 

previous

public var previous: Node? 

next

public var next: Node? 

firstChild

public var firstChild: Node? 

lastChild

public var lastChild: Node? 

unwrap()

@discardableResult
    public func unwrap() -> Node? 

Requirements

construct(with:​)

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