def p_decorated(p):
    decs = p[1]
    target = p[2]
    target.decorator_list = decs
    p[0] = target
decorated : decorators funcdef
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_decorated