branch: master
commit 645d129327f7e2bb1a2e52b5de2a745ca1348948
Author: Zhiming Wang <[email protected]>
Commit: Zhiming Wang <[email protected]>
Add support for JSDoc @callback, @func and @method tags
See http://usejsdoc.org/tags-callback.html for documentation of the
@callback tag; see http://usejsdoc.org/tags-function.html for
documentation of the @func and @method tags (both are synonyms of the
@function tag).
Closes #307.
---
js2-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/js2-mode.el b/js2-mode.el
index aa1d60d..8420c4e 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -6906,15 +6906,18 @@ of a simple name. Called before EXPR has a parent
node."
'("alias"
"augments"
"borrows"
+ "callback"
"bug"
"base"
"config"
"default"
"define"
"exception"
+ "func"
"function"
"member"
"memberOf"
+ "method"
"name"
"namespace"
"since"
@@ -6945,6 +6948,7 @@ of a simple name. Called before EXPR has a parent node."
"export"
"fileoverview"
"final"
+ "func"
"function"
"hidden"
"ignore"
@@ -6953,6 +6957,7 @@ of a simple name. Called before EXPR has a parent node."
"inner"
"interface"
"license"
+ "method"
"noalias"
"noshadow"
"notypecheck"