def __init__(self, iterator, join=TokenWithPosition.join):
assert hasattr(iterator, '<STR_LIT>'), '<STR_LIT>'<EOL>self.__iterator = iter(iterator)<EOL>self.__queue = []<EOL>self.__i = <NUM_LIT:0><EOL>self.__join = join<EOL>
Initialization for Buffer

        :param iterator: iterator or iterable
        :param func join: function to join multiple buffer elements