Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a93c6a

Browse files
author
Max Schaefer
committed
JavaScript: Remove a few deprecated classes.
1 parent 5d1d94e commit 8a93c6a

2 files changed

Lines changed: 0 additions & 27 deletions

File tree

javascript/ql/src/semmle/javascript/Comments.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ class HtmlCommentStart extends @htmlcommentstart, HtmlLineComment { }
4444
/** An HTML comment end token interpreted as a line comment. */
4545
class HtmlCommentEnd extends @htmlcommentend, HtmlLineComment { }
4646

47-
/** DERECATED: Use `HtmlLineComment` instead. */
48-
deprecated class HTMLComment = HtmlLineComment;
49-
50-
/** DERECATED: Use `HtmlCommentStart` instead. */
51-
deprecated class HTMLCommentStart = HtmlCommentStart;
52-
53-
/** DERECATED: Use `HtmlCommentEnd` instead. */
54-
deprecated class HTMLCommentEnd = HtmlCommentEnd;
55-
5647
/** A `//` comment. */
5748
class SlashSlashComment extends @slashslashcomment, LineComment { }
5849

javascript/ql/src/semmle/javascript/HTML.qll

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -233,21 +233,3 @@ module HTML {
233233
override Location getLocation() { xmllocations(this, result) }
234234
}
235235
}
236-
237-
/** DEPRECATED: Use `HTML::HtmlFile` instead. */
238-
deprecated class HTMLFile = HTML::HtmlFile;
239-
240-
/** DEPRECATED: Use `HTML::Element` instead. */
241-
deprecated class HTMLElement = HTML::Element;
242-
243-
/** DEPRECATED: Use `HTML::Attribute` instead. */
244-
deprecated class HTMLAttribute = HTML::Attribute;
245-
246-
/** DEPRECATED: Use `HTML::DocumentElement` instead. */
247-
deprecated class HtmlDocumentElement = HTML::DocumentElement;
248-
249-
/** DEPRECATED: Use `HTML::ScriptElement` instead. */
250-
deprecated class HtmlScriptElement = HTML::ScriptElement;
251-
252-
/** DEPRECATED: Use `HTML::TextNode` instead. */
253-
deprecated class HtmlText = HTML::TextNode;

0 commit comments

Comments
 (0)