def METHOD_NAME(self, rule, ast, tokens, first, last):
    invalid = super(Python25Parser, self).METHOD_NAME(
        rule, ast, tokens, first, last
    )
    if invalid or tokens is None:
        return invalid
    if rule == ("aug_assign1", ("expr", "expr", "inplace_op", "store")):
        return ast[0][0] == "and"
    lhs = rule[0]
    n = len(tokens)
    if lhs == "ifelsestmt":
        return ifelsestmt(self, lhs, n, rule, ast, tokens, first, last)
    return False