Logo Search packages:      
Sourcecode: yapps2 version File versions  Download package

def runtime::Scanner::__repr__ (   self  ) 

Print the last 10 tokens that have been scanned in

Definition at line 135 of file runtime.py.

00135                       :
        """Print the last 10 tokens that have been scanned in"""
        output = ''
        for t in self.tokens[-10:]:
            output = '%s\n  (@%s)  %s  =  %s' % (output,t[0],t[2],repr(t[3]))
        return output
    
    def scan(self, restrict):


Generated by  Doxygen 1.6.0   Back to index