Id

data class Id(val id: String) : AbsolutePathFragment(source)

Path fragment representing an identifier id. In string notation, the id fragment with id "x" would be represented as x; if the string version of the fragment conflicts with a different fragment, then the fragment is escaped, e.g. the id fragment with id "*" would be represented as ~* in string notation.

Constructors

Link copied to clipboard
constructor(id: Any)

Creates a new Id path fragment with id transformed into a string via id.toString().

constructor(id: String)

Properties

Link copied to clipboard
val id: String