def nextToken(self):
    try:
        return self.tokens.pop(0)
    except IndexError:
        return None
def nextToken(self):
    try:
        return self.tokens.pop(0)
    except IndexError:
        return None