TreeWalker

abstract external class TreeWalker (source)

Platform and version requirements: JS

Exposes the JavaScript TreeWalker to Kotlin

Constructors

<init>

TreeWalker()

Exposes the JavaScript TreeWalker to Kotlin

Properties

currentNode

open var currentNode: Node

filter

open val filter: NodeFilter?

root

open val root: Node

whatToShow

open val whatToShow: Int

Functions

firstChild

fun firstChild(): Node?

lastChild

fun lastChild(): Node?

nextNode

fun nextNode(): Node?

nextSibling

fun nextSibling(): Node?

parentNode

fun parentNode(): Node?

previousNode

fun previousNode(): Node?

previousSibling

fun previousSibling(): Node?

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.