JS: Make use of JSDocParamTag

This commit is contained in:
Asger F
2019-04-16 10:33:04 +01:00
parent 967752c6c1
commit be5d90d4e7

View File

@@ -619,11 +619,10 @@ class SimpleParameter extends Parameter, VarDecl {
)
}
override JSDocTag getJSDocTag() {
override JSDocParamTag getJSDocTag() {
exists(Function fun |
this = fun.getAParameter() and
result = fun.getDocumentation().getATag() and
result.getTitle() = "param" and
result.getName() = getName()
)
}