def p_route_deprecation(self, p):
if len(p) == <NUM_LIT:5>:<EOL><INDENT>p[<NUM_LIT:0>] = (True, p[<NUM_LIT:3>], p[<NUM_LIT:4>])<EOL><DEDENT>elif p[<NUM_LIT:1>]:<EOL><INDENT>p[<NUM_LIT:0>] = (True, None, None)<EOL><DEDENT>
route_deprecation : DEPRECATED
                             | DEPRECATED BY route_name route_version
                             | empty