Inline the methods of TokenIterator