def parse(self, text):
    self.last_text = text
    return self.yacc.parse(input=text, lexer=self.slex)
def parse(self, text):
    self.last_text = text
    return self.yacc.parse(input=text, lexer=self.slex)