The index allows the caller to map things like parse errors back to the code chunk where they appeared.