static function Action_add(&$app, $type, PHP_ParserGenerator_Symbol $sp, $arg)
    {
        $new = new PHP_ParserGenerator_Action;
        $new->next = $app;
        $app = $new;
        $new->type = $type;
        $new->sp = $sp;
        $new->x = $arg;
        echo ' Adding ';
        $new->display();
    }
static function Action_add(&$app, $type, PHP_ParserGenerator_Symbol $sp, $arg)
    {
        $new = new PHP_ParserGenerator_Action;
        $new->next = $app;
        $app = $new;
        $new->type = $type;
        $new->sp = $sp;
        $new->x = $arg;
        echo ' Adding ';
        $new->display();
    }
static function Action_add ( & $ app , $ type , PHP_ParserGenerator_Symbol $ sp , $ arg ) { $ new = new PHP_ParserGenerator_Action ; $ new -> next = $ app ; $ app = $ new ; $ new -> type = $ type ; $ new -> sp = $ sp ; $ new -> x = $ arg ; echo ' Adding ' ; $ new -> display ( ) ; }
create linked list of PHP_ParserGenerator_Actions

@param PHP_ParserGenerator_Action|null                    $app
@param int                                                $type one of the class constants from PHP_ParserGenerator_Action
@param PHP_ParserGenerator_Symbol                         $sp
@param PHP_ParserGenerator_State|PHP_ParserGenerator_Rule $arg
create linked list of PHP_ParserGenerator_Actions