def p_power3(p):
    root = p[1]
    for node in p[2]:
        if isinstance(node, ast.Call):
            node.func = root
        elif isinstance(node, ast.Attribute):
            node.value = root
        elif isinstance(node, ast.Subscript):
            node.value = root
        else:
            raise TypeError('Unexpected trailer node: %s' % node)
        root = node
    p[0] = root
Creates a paste in Phabricator.
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_power3--crossover with--dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlcon_paste.py/create_paste