Skip to content

Commit daec7d8

Browse files
lauraharkercopybara-github
authored andcommitted
Delete unused support for @hidden JSDoc tag & JSMessage.isHidden()
PiperOrigin-RevId: 698056995
1 parent 68b2e3a commit daec7d8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/com/google/javascript/jscomp/serialization/JSDocSerializer.java

+5
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ private static JSTypeExpression createPlaceholderType() {
322322
builder.recordAbstract();
323323
continue;
324324

325+
case JSDOC_HIDDEN:
326+
// TODO(b/238215455): delete this case once the change to stop
327+
// serializing hidden JSDoc tags lands in a release.
328+
continue;
329+
325330
// TODO(lharker): stage 2 passes ideally shouldn't report diagnostics, so this could be
326331
// moved to stage 1.
327332
case JSDOC_SUPPRESS_MESSAGE_CONVENTION:

src/com/google/javascript/rhino/typed_ast/optimization_jsdoc.proto

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ enum JsdocTag {
4848
JSDOC_ABSTRACT = 19;
4949

5050
// Used by ReplaceMessage i18n
51+
JSDOC_HIDDEN = 21;
5152
JSDOC_SUPPRESS_MESSAGE_CONVENTION = 22;
5253

5354
// Used by CollapseProperties

0 commit comments

Comments
 (0)