[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typescript-mode bd046e0fae 120/222: Add tags in usejsdoc.o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typescript-mode bd046e0fae 120/222: Add tags in usejsdoc.org |
Date: |
Sun, 6 Feb 2022 16:59:24 -0500 (EST) |
branch: elpa/typescript-mode
commit bd046e0faeac12b3413412c0953ddffe51215187
Author: Junyoung Clare Jang <jjc9310@gmail.com>
Commit: Junyoung Clare Jang <jjc9310@gmail.com>
Add tags in usejsdoc.org
---
typescript-mode.el | 47 +++++++++++++++++++++++++++++++++++++++--------
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index f4b8a649eb..ff1d1539e0 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -436,6 +436,7 @@ Match group 1 is MUMBLE.")
"Matches jsdoc tags with optional type and optional param name.")
;; This was taken from js2-mode.
+;; and extended with tags in http://usejsdoc.org/
(defconst typescript-jsdoc-typed-tag-regexp
(concat typescript-jsdoc-before-tag-regexp
"\\(@\\(?:"
@@ -459,11 +460,13 @@ Match group 1 is MUMBLE.")
"Matches jsdoc tags with optional type.")
;; This was taken from js2-mode.
+;; and extended with tags in http://usejsdoc.org/
(defconst typescript-jsdoc-arg-tag-regexp
(concat typescript-jsdoc-before-tag-regexp
"\\(@\\(?:"
(regexp-opt
- '("alias"
+ '("access"
+ "alias"
"augments"
"base"
"borrows"
@@ -474,36 +477,51 @@ Match group 1 is MUMBLE.")
"define"
"emits"
"exception"
+ "extends"
+ "external"
"fires"
"func"
"function"
+ "host"
+ "kind"
+ "listens"
"member"
- "memberOf"
+ "memberof"
"method"
+ "mixes"
"module"
"name"
"namespace"
+ "requires"
"since"
"suppress"
"this"
"throws"
+ "var"
+ "variation"
"version"))
"\\)\\)\\s-+\\([^ \t]+\\)")
"Matches jsdoc tags with a single argument.")
-;; This was taken from js2-mode.
+;; This was taken from js2-mode
+;; and extended with tags in http://usejsdoc.org/
(defconst typescript-jsdoc-empty-tag-regexp
(concat typescript-jsdoc-before-tag-regexp
"\\(@\\(?:"
(regexp-opt
- '("addon"
+ '("abstract"
+ "addon"
+ "async"
"author"
"class"
+ "classdesc"
"const"
"constant"
"constructor"
"constructs"
"copyright"
+ "default"
+ "defaultvalue"
"deprecated"
"desc"
"description"
@@ -511,31 +529,44 @@ Match group 1 is MUMBLE.")
"example"
"exec"
"export"
+ "exports"
+ "file"
"fileoverview"
"final"
"func"
"function"
+ "generator"
+ "global"
"hidden"
+ "hideconstructor"
"ignore"
- "implicitCast"
- "inheritDoc"
+ "implicitcast"
+ "inheritdoc"
"inner"
+ "instance"
"interface"
"license"
"method"
+ "mixin"
"noalias"
"noshadow"
"notypecheck"
"override"
+ "overview"
"owner"
+ "package"
"preserve"
- "preserveTry"
+ "preservetry"
"private"
"protected"
"public"
+ "readonly"
"static"
+ "summary"
"supported"
- ))
+ "todo"
+ "tutorial"
+ "virtual"))
"\\)\\)\\s-*")
"Matches empty jsdoc tags.")
- [nongnu] elpa/typescript-mode 52c08d0628 091/222: Add more fontification tests for regular expressions., (continued)
- [nongnu] elpa/typescript-mode 52c08d0628 091/222: Add more fontification tests for regular expressions., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode e25c7ddb8a 062/222: Fix indentation of funcs with return annotations., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 536e4da380 087/222: Fix bug with hanling array shorthand in return value types., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 70acbf9c3d 078/222: Change font-lock-test to also accept a list of locations, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode a2167a133d 056/222: Fix errors with indentation when line has wide unicode chars., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 09bdb97c32 065/222: Fix an indentation bug., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 8b2815514d 088/222: Simplify typescript--backward-to-parameter-list, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode f9cd0dd539 112/222: Try parse new error-format introduced in tsc 2.7+, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode a1cdb7a1ec 121/222: Remove redundant regexp groups for jsdoc tags, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode fd1c9daa4d 094/222: Add failing cases., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode bd046e0fae 120/222: Add tags in usejsdoc.org,
ELPA Syncer <=
- [nongnu] elpa/typescript-mode 3c79132066 136/222: fix warnings from package-lint, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 000131df29 150/222: Update CI-settings, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode b1d1948c15 123/222: Merge pull request #88 from Ptival/fix-indentation-method-calls-keywords, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 039d122384 156/222: add a test for simple tsx, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode c766ec8009 159/222: Include symbol constituents in typescript--function-call-re, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 5e0b9ee095 168/222: Add a test that fails without the following indentation fix., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 42a60e5c88 190/222: Merge pull request #137 from sirikid/feature/comma-first-lists, ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 1c2a8b2391 211/222: Move build to use proper tasks, support OSX and Windows., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 7f1cde0a90 221/222: Make c-comment-line-break-function work as expected., ELPA Syncer, 2022/02/06
- [nongnu] elpa/typescript-mode 438fc968bf 016/222: Highlight set and get keyword, ELPA Syncer, 2022/02/06