original_string: private function processCategory(array $element, $parent = null)
      {
          if ($this->isMasterCategory($element)) {
              $this->createCategory($element, MasterCategoryElement::class, $this->parseResult);
          }
  
          if ($this->isResourceGroup($element)) {
              $this->createCategory($element, ResourceGroupElement::class, $parent);
          }
  
          if ($this->isDataStructureCategory($element)) {
              $this->createCategory($element, DataStructureCategoryElement::class, $parent);
          }
      }
code: private function processCategory(array $element, $parent = null)
      {
          if ($this->isMasterCategory($element)) {
              $this->createCategory($element, MasterCategoryElement::class, $this->parseResult);
          }
  
          if ($this->isResourceGroup($element)) {
              $this->createCategory($element, ResourceGroupElement::class, $parent);
          }
  
          if ($this->isDataStructureCategory($element)) {
              $this->createCategory($element, DataStructureCategoryElement::class, $parent);
          }
      }
code_tokens: private function processCategory ( array $ element , $ parent = null ) { if ( $ this -> isMasterCategory ( $ element ) ) { $ this -> createCategory ( $ element , MasterCategoryElement :: class , $ this -> parseResult ) ; } if ( $ this -> isResourceGroup ( $ element ) ) { $ this -> createCategory ( $ element , ResourceGroupElement :: class , $ parent ) ; } if ( $ this -> isDataStructureCategory ( $ element ) ) { $ this -> createCategory ( $ element , DataStructureCategoryElement :: class , $ parent ) ; } }
docstring: Helper to create different php classes from element `category` which carries its actual meaning in its classes
  
  @param array $element
  @param null|BaseElement $parent
docstring_tokens: Helper to create different php classes from element category which carries its actual meaning in its classes