withIndex

fun Name.withIndex(index: String): Name

Set or replace last token index

fun NameToken.withIndex(newIndex: String): NameToken

Add or replace index part of this token