original_string: public function addParser(SymbolParserInterface $parser)
      {
          if ($parser instanceof self) {
              // Reducing recursivity
              $this->addParsers($parser->parsers);
          } else {
              $this->parsers[] = $parser;
          }
      
          return $this;
      }
code: public function addParser(SymbolParserInterface $parser)
      {
          if ($parser instanceof self) {
              // Reducing recursivity
              $this->addParsers($parser->parsers);
          } else {
              $this->parsers[] = $parser;
          }
      
          return $this;
      }
code_tokens: public function addParser ( SymbolParserInterface $ parser ) { if ( $ parser instanceof self ) { // Reducing recursivity $ this -> addParsers ( $ parser -> parsers ) ; } else { $ this -> parsers [ ] = $ parser ; } return $ this ; }
docstring: Adds a Parser to the chain.
  
  @param SymbolParserInterface $parser
docstring_tokens: Adds a Parser to the chain .