File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/lib/semmle/javascript Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ class JSDocNamedTypeExpr extends JSDocTypeExpr {
415415 * - `foo.bar.Baz` has prefix `foo` and suffix `.bar.Baz`.
416416 * - `Baz` has prefix `Baz` and an empty suffix.
417417 */
418- predicate hasNameParts ( string prefix , string suffix ) {
418+ deprecated predicate hasNameParts ( string prefix , string suffix ) {
419419 not this = any ( JSDocQualifiedTypeAccess a ) .getBase ( ) and // restrict size of predicate
420420 exists ( string regex , string name | regex = "([^.]+)(.*)" |
421421 name = this .getRawName ( ) and
@@ -635,7 +635,7 @@ module JSDoc {
635635 /**
636636 * A statement container which may declare JSDoc name aliases.
637637 */
638- class Environment extends StmtContainer {
638+ deprecated class Environment extends StmtContainer {
639639 /**
640640 * Gets the fully qualified name aliased by the given unqualified name
641641 * within this container.
@@ -685,7 +685,7 @@ module JSDoc {
685685 }
686686
687687 pragma [ noinline]
688- private predicate isTypenamePrefix ( string name ) {
688+ deprecated private predicate isTypenamePrefix ( string name ) {
689689 any ( JSDocNamedTypeExpr expr ) .hasNameParts ( name , _)
690690 }
691691}
You can’t perform that action at this time.
0 commit comments