Inheritance: extends AbstractObjectContainer
 /**
  * @return GeneratorParsers
  */
 protected function initParsers()
 {
     if (!isset($this->parsers)) {
         $this->parsers = new ParserContainer($this->generator);
         $this->parsers->add(new FunctionsParser($this->generator))->add(new StructsParser($this->generator))->add(new TagIncludeParser($this->generator))->add(new TagImportParser($this->generator))->add(new TagAttributeParser($this->generator))->add(new TagComplexTypeParser($this->generator))->add(new TagDocumentationParser($this->generator))->add(new TagElementParser($this->generator))->add(new TagEnumerationParser($this->generator))->add(new TagExtensionParser($this->generator))->add(new TagHeaderParser($this->generator))->add(new TagInputParser($this->generator))->add(new TagOutputParser($this->generator))->add(new TagRestrictionParser($this->generator))->add(new TagUnionParser($this->generator))->add(new TagListParser($this->generator));
     }
     return $this;
 }
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testAddWithException()
 {
     $container = new Parser(self::getBingGeneratorInstance());
     $container->add($container);
 }