Hide view classes (using the same code path as @hidden)

This commit is contained in:
Andrea Aime 2005-12-28 14:52:26 +00:00
parent 567430483d
commit eb6a80e6a5
2 changed files with 6 additions and 0 deletions

View File

@ -335,6 +335,9 @@ class ClassGraph {
/** Return true if c has a @hidden tag associated with it */
private boolean hidden(Doc c) {
Tag tags[] = c.tags("hidden");
if (tags.length > 0)
return true;
tags = c.tags("view");
if (tags.length > 0)
return true;
return opt.matchesHideExpression(c.toString());

View File

@ -335,6 +335,9 @@ class ClassGraph {
/** Return true if c has a @hidden tag associated with it */
private boolean hidden(Doc c) {
Tag tags[] = c.tags("hidden");
if (tags.length > 0)
return true;
tags = c.tags("view");
if (tags.length > 0)
return true;
return opt.matchesHideExpression(c.toString());