diff options
| author | Chong Yidong | 2009-08-31 14:51:12 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-08-31 14:51:12 +0000 |
| commit | 5fcb5c7e2aa0e7f2ade1228fe17ae06d554894dc (patch) | |
| tree | 945f7ec80fd38f38c41e88e62a652ca136e76702 | |
| parent | 978c25c6a0b0d88568abb91c871363758c678da0 (diff) | |
| download | emacs-5fcb5c7e2aa0e7f2ade1228fe17ae06d554894dc.tar.gz emacs-5fcb5c7e2aa0e7f2ade1228fe17ae06d554894dc.zip | |
cedet/semantic/db.el: Synch to upstream.
| -rw-r--r-- | lisp/cedet/semantic/db.el | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index ea8bcc91957..ea544f7364c 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el | |||
| @@ -158,17 +158,6 @@ Adds the number of tags in this file to the object print name." | |||
| 158 | ) | 158 | ) |
| 159 | strings))) | 159 | strings))) |
| 160 | 160 | ||
| 161 | (defclass semanticdb-search-results-table (semanticdb-abstract-table) | ||
| 162 | ( ) | ||
| 163 | "Table used for search results when there is no file or table association. | ||
| 164 | Examples include search results from external sources such as from | ||
| 165 | Emacs' own symbol table, or from external libraries.") | ||
| 166 | |||
| 167 | (defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) | ||
| 168 | "If the tag list associated with OBJ is loaded, refresh it. | ||
| 169 | This will call `semantic-fetch-tags' if that file is in memory." | ||
| 170 | nil) | ||
| 171 | |||
| 172 | ;;; Index Cache | 161 | ;;; Index Cache |
| 173 | ;; | 162 | ;; |
| 174 | (defclass semanticdb-abstract-search-index () | 163 | (defclass semanticdb-abstract-search-index () |
| @@ -208,6 +197,23 @@ If one doesn't exist, create it." | |||
| 208 | ) | 197 | ) |
| 209 | 198 | ||
| 210 | 199 | ||
| 200 | ;;; SEARCH RESULTS TABLE | ||
| 201 | ;; | ||
| 202 | ;; Needed for system databases that may not provide | ||
| 203 | ;; a semanticdb-table associated with a file. | ||
| 204 | ;; | ||
| 205 | (defclass semanticdb-search-results-table (semanticdb-abstract-table) | ||
| 206 | ( | ||
| 207 | ) | ||
| 208 | "Table used for search results when there is no file or table association. | ||
| 209 | Examples include search results from external sources such as from | ||
| 210 | Emacs' own symbol table, or from external libraries.") | ||
| 211 | |||
| 212 | (defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) | ||
| 213 | "If the tag list associated with OBJ is loaded, refresh it. | ||
| 214 | This will call `semantic-fetch-tags' if that file is in memory." | ||
| 215 | nil) | ||
| 216 | |||
| 211 | ;;; CONCRETE TABLE CLASSES | 217 | ;;; CONCRETE TABLE CLASSES |
| 212 | ;; | 218 | ;; |
| 213 | (defclass semanticdb-table (semanticdb-abstract-table) | 219 | (defclass semanticdb-table (semanticdb-abstract-table) |