original_string: protected function getIndexKey($element)
      {
          $key = $element->getFullyQualifiedStructuralElementName();
  
          // properties should have an additional $ before the property name
          if ($element instanceof PropertyInterface) {
              list($fqcn, $propertyName) = explode('::', $key);
              $key = $fqcn . '::$' . $propertyName;
          }
  
          return $key;
      }
code: protected function getIndexKey($element)
      {
          $key = $element->getFullyQualifiedStructuralElementName();
  
          // properties should have an additional $ before the property name
          if ($element instanceof PropertyInterface) {
              list($fqcn, $propertyName) = explode('::', $key);
              $key = $fqcn . '::$' . $propertyName;
          }
  
          return $key;
      }
code_tokens: protected function getIndexKey ( $ element ) { $ key = $ element -> getFullyQualifiedStructuralElementName ( ) ; // properties should have an additional $ before the property name if ( $ element instanceof PropertyInterface ) { list ( $ fqcn , $ propertyName ) = explode ( '::' , $ key ) ; $ key = $ fqcn . '::$' . $ propertyName ; } return $ key ; }
docstring: Retrieves a key for the index for the provided element.
  
  @param DescriptorAbstract $element
  
  @return string
docstring_tokens: Retrieves a key for the index for the provided element .