asPath

fun PathToken.asPath(): Path

Represent this path token as full path

fun Name.asPath(target: String? = null): Path

Represent a name with optional target as a Path