NodePath

com.phasmidsoftware.xmldoc.merge.NodePath
See theNodePath companion object
case class NodePath(indices: Vector[Int])

The location of a node within a GenericElement tree: the sequence of child-element indices from the root (empty means the root itself). Kept alongside a matched/unmatched node (see NodeRef) so a future diff/merge phase can navigate back to it without re-walking the tree.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def child(i: Int): NodePath
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product