Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RelativePath.type
Members list
Type members
Classlikes
Represent the current document.
Represent the current document.
Attributes
- Companion
- object
- Supertypes
-
trait RelativePathtrait VirtualPathtrait Serializabletrait Producttrait Equalstrait GenericPathclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CurrentDocument.type
Represent the current tree node.
Represent the current tree node.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait RelativePathtrait VirtualPathtrait Serializabletrait Producttrait Equalstrait GenericPathclass Objecttrait Matchableclass AnyShow all
- Self type
-
CurrentTree.type
Represent a parent path that is the specified number of levels above the current path.
Represent a parent path that is the specified number of levels above the current path.
Attributes
- Supertypes
-
trait RelativePathtrait VirtualPathtrait Serializabletrait Producttrait Equalstrait GenericPathclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a relative path from interpreting the specified string representation.
Creates a relative path from interpreting the specified string representation.
A slash prefix, if present, will be discarded. Paths starting with one or more ../
path prefixes will be interpreted as expected, pointing to parent trees.
If you need to parse a string that can potentially represent both, an absolute or a relative path, use the PathBase.parse
method instead.
Empty path segments are allowed, but should usually be avoided for usability reasons.