Skip to content

Commit 7b94cf7

Browse files
committed
renamed "doccomment" to "doc_comment"
1 parent 9a66f3a commit 7b94cf7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,4 @@ class SlashStarComment extends @slashstar_comment, BlockComment { }
134134
* /** a JSDoc comment */
135135
* </pre>
136136
*/
137-
class DocComment extends @doccomment, BlockComment { }
137+
class DocComment extends @doc_comment, BlockComment { }

javascript/ql/src/semmlecode.javascript.dbscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,13 +800,13 @@ comments (unique int id: @comment,
800800
case @comment.kind of
801801
0 = @slashslash_comment
802802
| 1 = @slashstar_comment
803-
| 2 = @doccomment
803+
| 2 = @doc_comment
804804
| 3 = @html_comment_start
805805
| 4 = @htmlcommentend;
806806

807807
@html_comment = @html_comment_start | @htmlcommentend;
808808
@line_comment = @slashslash_comment | @html_comment;
809-
@block_comment = @slashstar_comment | @doccomment;
809+
@block_comment = @slashstar_comment | @doc_comment;
810810

811811
// source lines
812812
lines (unique int id: @line,

javascript/ql/src/semmlecode.javascript.dbscheme.stats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@
10381038
<v>8834</v>
10391039
</e>
10401040
<e>
1041-
<k>@doccomment</k>
1041+
<k>@doc_comment</k>
10421042
<v>19270</v>
10431043
</e>
10441044
<e>

0 commit comments

Comments
 (0)