Пример #1
0
 def __init__(self, codeString):
     self.tokenList = [token for token in tokenize(codeString)]
     # Insert explicit EOF token
     self.tokenList.append(Tokens.EOF())
     self.index = 0
     self.fastForward()