(require 'semantic/db)
(require 'semantic/db-ref)
(eval-when-compile
- (require 'eieio)
(require 'semantic/find))
;;; Code:
"Load an unloaded file in FILENAME using the default semanticdb loader."
(semanticdb-file-table-object filename))
+;; The creation of the overload occurs above.
(defun semanticdb-find-table-for-include-default (includetag &optional table)
"Default implementation of `semanticdb-find-table-for-include'.
Uses `semanticdb-current-database-list' as the search path.
\f
;;; Perform interactive tests on the path/search mechanisms.
;;
+;;;###autoload
(defun semanticdb-find-test-translate-path (&optional arg)
"Call and output results of `semanticdb-find-translate-path'.
With ARG non-nil, specify a BRUTISH translation.
(semantic-fetch-tags)
(require 'data-debug)
(let* ((semanticdb-find-default-throttle
- (if (featurep 'semanticdb-find)
+ (if (featurep 'semantic/db-find)
(remq 'unloaded semanticdb-find-default-throttle)
nil))
(start (current-time))
(data-debug-insert-stuff-list p "*")))
+;;;###autoload
(defun semanticdb-find-adebug-lost-includes ()
"Translate the current path, then display the lost includes.
Examines the variable `semanticdb-find-lost-includes'."
(data-debug-new-buffer "*SEMANTICDB scanned-includes ADEBUG*")
(data-debug-insert-stuff-list scanned "*")
)))
-\f
-;;; FIND results and edebug
-;;
-(eval-after-load "cedet-edebug"
- '(progn
- (cedet-edebug-add-print-override
- '(semanticdb-find-results-p object)
- '(semanticdb-find-result-prin1-to-string object) )
- ))
-
-
\f
;;; API Functions
;;
"In TABLE, find all occurances of tags whose parent is the PARENT type.
Optional argument TAGS is a list of tags to search.
Returns a table of all matching tags."
+ (require 'semantic/find)
(semantic-find-tags-external-children-of-type parent (or tags (semanticdb-get-tags table))))
(defmethod semanticdb-find-tags-subclasses-of-type-method ((table semanticdb-abstract-table) parent &optional tags)
"In TABLE, find all occurances of tags whose parent is the PARENT type.
Optional argument TAGS is a list of tags to search.
Returns a table of all matching tags."
+ (require 'semantic/find)
(semantic-find-tags-subclasses-of-type parent (or tags (semanticdb-get-tags table))))
;;; Deep Searches
;; Local variables:
;; generated-autoload-file: "loaddefs.el"
;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/db-find"
;; End:
;;; semantic/db-find.el ends here