tokenFromInstance

private fun tokenFromInstance(value: Any?): String

Generate a distinctive token string to represent a Kotlin/JVM object.

Should be human-informing when read. But should not be parsed, and should not encourage being parsed, to extract information. Only creates string. Does not automatically register resulting token string for detokenization.

Return

Token string.

Parameters

value

: Instance to tokenize.

Sources

jvm source
Link copied to clipboard