lse:
        ret = res.span
    if ret is None:
        if silent_fail:
            return None
        else:
            raise Exception(&#34;No span found&#34;)
    return ret


class Actions:
    &#34;&#34;&#34;
    A container to run several actions for a rule.
    &#34;&#34;&#34;

    def __init__(self,
                 *actions,
                 ):
        &#34;&#34;&#34;
        Wrap several actions for use in a rule.

        Args:
            *actions: any number of actions to run.
        &#34;&#3