protected function getPreviousIfTag(NodeAbstract $node)
 {
     if (null === ($tag = $node->getPreviousSibling())) {
         return;
     }
     if (!$tag instanceof Tag) {
         return;
     }
     return $tag;
 }