original_string: public static function checkIsVisible($doc)
      {
          $visible = false;
          if (false !== preg_match('/@visible\s+([^\s]+)/', $doc, $matches)) {
              $visible =  count($matches) < 2 || 'false' !== strtolower($matches[1]);
          }
          return $visible;
      }
code: public static function checkIsVisible($doc)
      {
          $visible = false;
          if (false !== preg_match('/@visible\s+([^\s]+)/', $doc, $matches)) {
              $visible =  count($matches) < 2 || 'false' !== strtolower($matches[1]);
          }
          return $visible;
      }
code_tokens: public static function checkIsVisible ( $ doc ) { $ visible = false ; if ( false !== preg_match ( '/@visible\s+([^\s]+)/' , $ doc , $ matches ) ) { $ visible = count ( $ matches ) < 2 || 'false' !== strtolower ( $ matches [ 1 ] ) ; } return $ visible ; }
docstring: Method extract if a class or variable is visible
  @param $doc
  @return null|string
docstring_tokens: Method extract if a class or variable is visible