toNamespacedPath

open fun toNamespacedPath(path: String): String

toNamespacedPath()

Converts a path to a namespace-prefixed path.

This method variant accepts a string path and returns a string path.

Return

The converted path.

Parameters

path

The path to convert.


open fun toNamespacedPath(path: Path): String

toNamespacedPath()

Converts a path to a namespace-prefixed path.

This method variant accepts a Path object and returns a String.

Return

The converted path as a string.

Parameters

path

The path to convert.


abstract fun toNamespacedPath(path: Path): String

toNamespacedPath()

Converts a path to a namespace-prefixed path.

This method variant accepts a NodePath object and returns a String.

Return

The converted path as a Node path.

Parameters

path

The path to convert.