TokenStream

This class can be used as a wrapper for any object that provides the file readline() method - it delegates that and also provides a "name" variable, required by the tokenizer.

Methods

__init__(self, src, name)

   def __init__(self, src, name):

readline(self)

   def readline(self):