implicit final class SaferTreeWalker extends AnyVal
- See also
https://dom.spec.whatwg.org/#treewalker
- Alphabetic
- By Inheritance
- SaferTreeWalker
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferTreeWalker(value: TreeWalker)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
filterOpt: Option[NodeFilter]
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
The TreeWalker.filter read-only property returns a NodeFilter that is the filtering object associated with the TreeWalker.
MDN
-
def
firstChildOpt(): Option[Node]
The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child.
The TreeWalker.firstChild() method moves the current Node to the first visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
MDN
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastChildOpt(): Option[Node]
The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child.
The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. It also moves the current node to this child. If no such child exists, returns null and the current node is not changed.
MDN
-
def
nextNodeOpt(): Option[Node]
The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node.
The TreeWalker.nextNode() method moves the current Node to the next visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, returns null and the current node is not changed.
MDN
-
def
nextSiblingOpt(): Option[Node]
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling.
The TreeWalker.nextSibling() method moves the current Node to its next sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
MDN
-
def
parentNodeOpt(): Option[Node]
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node.
The TreeWalker.parentNode() method moves the current Node to the first visible ancestor node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists, or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
MDN
-
def
previousNodeOpt(): Option[Node]
The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node.
The TreeWalker.previousNode() method moves the current Node to the previous visible node in the document order, and returns the found node. It also moves the current node to this one. If no such node exists,or if it is before that the root node defined at the object construction, returns null and the current node is not changed.
MDN
-
def
previousSiblingOpt(): Option[Node]
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling.
The TreeWalker.previousSibling() method moves the current Node to its previous sibling, if any, and returns the found sibling. If there is no such node, return null and the current node is not changed.
MDN
-
def
toString(): String
- Definition Classes
- Any
- val value: TreeWalker