nextName

abstract fun nextName(): String

Returns the next token Token.NAME, and consumes it.

Throws

if the next token in the stream is not a property name.