original_string: public static function get($selector){
  		$specificity = $selector->hasNext() ? self::get($selector->getNext()) : new self();
  		
  		if($selector->getIdentification()) $specificity->a++;
  		if($selector->getClasses()) $specificity->b+= count($selector->getClasses());
  		if($selector->getAttributes()) $specificity->b+= count($selector->getAttributes());
  		if($selector->getPseudos()) $specificity->b+= count($selector->getPseudos());
  		if($selector->getTagName()) $specificity->c++;
  		
  		return $specificity;
  	}
code: public static function get($selector){
  		$specificity = $selector->hasNext() ? self::get($selector->getNext()) : new self();
  		
  		if($selector->getIdentification()) $specificity->a++;
  		if($selector->getClasses()) $specificity->b+= count($selector->getClasses());
  		if($selector->getAttributes()) $specificity->b+= count($selector->getAttributes());
  		if($selector->getPseudos()) $specificity->b+= count($selector->getPseudos());
  		if($selector->getTagName()) $specificity->c++;
  		
  		return $specificity;
  	}
code_tokens: public static function get ( $ selector ) { $ specificity = $ selector -> hasNext ( ) ? self :: get ( $ selector -> getNext ( ) ) : new self ( ) ; if ( $ selector -> getIdentification ( ) ) $ specificity -> a ++ ; if ( $ selector -> getClasses ( ) ) $ specificity -> b += count ( $ selector -> getClasses ( ) ) ; if ( $ selector -> getAttributes ( ) ) $ specificity -> b += count ( $ selector -> getAttributes ( ) ) ; if ( $ selector -> getPseudos ( ) ) $ specificity -> b += count ( $ selector -> getPseudos ( ) ) ; if ( $ selector -> getTagName ( ) ) $ specificity -> c ++ ; return $ specificity ; }
docstring: Calculated the specificity of a selector
  @param \csslib\Selector $selector
  @return \csslib\query\Specificity
docstring_tokens: Calculated the specificity of a selector