private function iterateTokens(int $start, int $end, array $tokens)
{
$this->currentPtr = $start + 1;
// Find the maximum nesting level of any token in the function.
for ($this->currentPtr = $start + 1; $this->currentPtr < $end; ++$this->currentPtr) {
$nestedToken = $tokens[$this->currentPtr];
$this->handleToken($nestedToken);
}
}