#NEWLINE# def restore( self , token ) : #NEWLINE# #INDENT# 'Return token to the front of the stream' #NEWLINE# if token : #NEWLINE# #INDENT# self . lineNumber -= token . text . count ( '\n' ) #NEWLINE# self . tokens . appendleft ( token )