#NEWLINE# def __init__( self , data ) : #NEWLINE# #INDENT# '\n        @param data This should be a unicode string holding the data you want\n           to parse. If you pass in a byte string, the Lexer will choke on\n           non-ascii data.\n           \n        ' #NEWLINE# CharStream . __init__ ( c ) #NEWLINE# self . strdata = unicode ( data ) #NEWLINE# self . data = [ ord ( c ) for c in self . strdata ] #NEWLINE# self . n = len ( data ) #NEWLINE# self . p = 0 #NEWLINE# self . line = 1 #NEWLINE# self . charPositionInLine = 0 #NEWLINE# self . _markers = [ ] #NEWLINE# self . lastMarker = None #NEWLINE# self . markDepth = 0 #NEWLINE# self . name = None