def METHOD_NAME(self):
    expr = self.top()
    garbage = self.lex.get_token()
    if garbage != "":
        raise Exception(
            "Unexpected token %s after EqualExpr in %s" % (garbage, self.text)
        )
    return expr