action to the list of existing actions.

    Args:
        action: the action to add
        tofront: if True, add as first instead of last action
    &#34;&#34;&#34;
    if tofront:
        self.actions.insert(0, action)
    else:
        self.actions.append(action)</code></pre>
</details>
</dd>
</dl>
</dd>
<dt id="gatenlp.pam.pampac.actions.AddAnn"><code class="flex name class">
<span>class <span class="ident">AddAnn</span></span>
<span>(</span><span>name=None, ann=None, type=None, annset=None, features=N