original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: 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
docstring_tokens: create linked list of PHP_ParserGenerator_Actions