PathBase

abstract class PathBase : AnyPath

Base class for generated paths.

A PathId includes property-versus-case segments, so structural identity remains distinct for a property KeyPath and a CaseKeyPath even when their spelling happens to be the same.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val __kpaths_id: PathId

Library-reserved structural identity metadata.

Link copied to clipboard

Library-reserved focused-value type metadata.

Functions

Link copied to clipboard

Returns this path's structural suffix after after, or null when after is not its ancestor.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard

Returns whether this path identifies a descendant (or the same location as) ancestor.

Link copied to clipboard

Returns whether this path identifies an ancestor (or the same location as) other.

Link copied to clipboard
open override fun toString(): String