def p_enumerated_subtypes(self, p):
if len(p) > <NUM_LIT:2>:<EOL><INDENT>p[<NUM_LIT:0>] = (p[<NUM_LIT:4>], p[<NUM_LIT:1>][<NUM_LIT:0>] == '<STR_LIT>')<EOL><DEDENT>
enumerated_subtypes : uniont NL INDENT subtypes_list DEDENT
                               | empty