locationFor

fun locationFor(startPosition: Int, length: Int): InputLocation

startPosition - 0 index position in input text nextInputPosition - 0 index position of next 'token', so we can calculate length