aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/semantic/db-javascript.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/db-javascript.el')
-rw-r--r--lisp/cedet/semantic/db-javascript.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/cedet/semantic/db-javascript.el b/lisp/cedet/semantic/db-javascript.el
index 2e357e677e2..a972c33f32a 100644
--- a/lisp/cedet/semantic/db-javascript.el
+++ b/lisp/cedet/semantic/db-javascript.el
@@ -77,7 +77,7 @@
77 (("uriComponent" variable nil nil nil))) 77 (("uriComponent" variable nil nil nil)))
78 nil nil)) 78 nil nil))
79 "Hard-coded list of javascript tags for semanticdb. 79 "Hard-coded list of javascript tags for semanticdb.
80See bottom of this file for instruction on managing this list.") 80See bottom of this file for instructions on managing this list.")
81 81
82;;; Classes: 82;;; Classes:
83(defclass semanticdb-table-javascript (semanticdb-search-results-table) 83(defclass semanticdb-table-javascript (semanticdb-search-results-table)
@@ -87,7 +87,7 @@ See bottom of this file for instruction on managing this list.")
87 87
88(defclass semanticdb-project-database-javascript 88(defclass semanticdb-project-database-javascript
89 (semanticdb-project-database 89 (semanticdb-project-database
90 eieio-singleton ;this db is for js globals, so singleton is apropriate 90 eieio-singleton ;this db is for js globals, so singleton is appropriate
91 ) 91 )
92 ((new-table-class :initform semanticdb-table-javascript 92 ((new-table-class :initform semanticdb-table-javascript
93 :type class 93 :type class
@@ -107,7 +107,7 @@ See bottom of this file for instruction on managing this list.")
107(defvar-mode-local javascript-mode semanticdb-find-default-throttle 107(defvar-mode-local javascript-mode semanticdb-find-default-throttle
108 '(project omniscience) 108 '(project omniscience)
109 "Search project files, then search this omniscience database. 109 "Search project files, then search this omniscience database.
110It is not necessary to to system or recursive searching because of 110It is not necessary to do system or recursive searching because of
111the omniscience database.") 111the omniscience database.")
112 112
113;;; Filename based methods 113;;; Filename based methods
@@ -157,7 +157,7 @@ local variable."
157;; to a search list. 157;; to a search list.
158(define-mode-local-override semanticdb-find-translate-path javascript-mode 158(define-mode-local-override semanticdb-find-translate-path javascript-mode
159 (path brutish) 159 (path brutish)
160 "Return a list of semanticdb tables asociated with PATH. 160 "Return a list of semanticdb tables associated with PATH.
161If brutish, do the default action. 161If brutish, do the default action.
162If not brutish, do the default action, and append the system 162If not brutish, do the default action, and append the system
163database (if available.)" 163database (if available.)"
@@ -216,7 +216,7 @@ Return a list of tags."
216 216
217(defmethod semanticdb-find-tags-for-completion-method 217(defmethod semanticdb-find-tags-for-completion-method
218 ((table semanticdb-table-javascript) prefix &optional tags) 218 ((table semanticdb-table-javascript) prefix &optional tags)
219 "In TABLE, find all occurances of tags matching PREFIX. 219 "In TABLE, find all occurrences of tags matching PREFIX.
220Optional argument TAGS is a list of tags to search. 220Optional argument TAGS is a list of tags to search.
221Returns a table of all matching tags." 221Returns a table of all matching tags."
222 (if tags (call-next-method) 222 (if tags (call-next-method)
@@ -226,7 +226,7 @@ Returns a table of all matching tags."
226 226
227(defmethod semanticdb-find-tags-by-class-method 227(defmethod semanticdb-find-tags-by-class-method
228 ((table semanticdb-table-javascript) class &optional tags) 228 ((table semanticdb-table-javascript) class &optional tags)
229 "In TABLE, find all occurances of tags of CLASS. 229 "In TABLE, find all occurrences of tags of CLASS.
230Optional argument TAGS is a list of tags to search. 230Optional argument TAGS is a list of tags to search.
231Returns a table of all matching tags." 231Returns a table of all matching tags."
232 (if tags (call-next-method) 232 (if tags (call-next-method)
@@ -248,7 +248,7 @@ Returns a table of all matching tags."
248(defmethod semanticdb-deep-find-tags-by-name-method 248(defmethod semanticdb-deep-find-tags-by-name-method
249 ((table semanticdb-table-javascript) name &optional tags) 249 ((table semanticdb-table-javascript) name &optional tags)
250 "Find all tags name NAME in TABLE. 250 "Find all tags name NAME in TABLE.
251Optional argument TAGS is a list of tags t 251Optional argument TAGS is a list of tags to search.
252Like `semanticdb-find-tags-by-name-method' for javascript." 252Like `semanticdb-find-tags-by-name-method' for javascript."
253 (semanticdb-find-tags-by-name-method table name tags)) 253 (semanticdb-find-tags-by-name-method table name tags))
254 254
@@ -261,7 +261,7 @@ Like `semanticdb-find-tags-by-name-method' for javascript."
261 261
262(defmethod semanticdb-deep-find-tags-for-completion-method 262(defmethod semanticdb-deep-find-tags-for-completion-method
263 ((table semanticdb-table-javascript) prefix &optional tags) 263 ((table semanticdb-table-javascript) prefix &optional tags)
264 "In TABLE, find all occurances of tags matching PREFIX. 264 "In TABLE, find all occurrences of tags matching PREFIX.
265Optional argument TAGS is a list of tags to search. 265Optional argument TAGS is a list of tags to search.
266Like `semanticdb-find-tags-for-completion-method' for javascript." 266Like `semanticdb-find-tags-for-completion-method' for javascript."
267 (semanticdb-find-tags-for-completion-method table prefix tags)) 267 (semanticdb-find-tags-for-completion-method table prefix tags))
@@ -270,7 +270,7 @@ Like `semanticdb-find-tags-for-completion-method' for javascript."
270;; 270;;
271(defmethod semanticdb-find-tags-external-children-of-type-method 271(defmethod semanticdb-find-tags-external-children-of-type-method
272 ((table semanticdb-table-javascript) type &optional tags) 272 ((table semanticdb-table-javascript) type &optional tags)
273 "Find all nonterminals which are child elements of TYPE 273 "Find all nonterminals which are child elements of TYPE.
274Optional argument TAGS is a list of tags to search. 274Optional argument TAGS is a list of tags to search.
275Return a list of tags." 275Return a list of tags."
276 (if tags (call-next-method) 276 (if tags (call-next-method)