diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-09-07 17:25:56 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-09-07 17:25:56 +0000 |
commit | 4b38b37a413714b4d32ab39763a390a796363452 (patch) | |
tree | 2f9dc283cd476f7c6537015f9c6fae5d8502a305 /lisp/cedet/semantic/symref.el | |
parent | ca8a4d5e321c271ad629beeab4e317ed54edd9e2 (diff) | |
download | emacs-4b38b37a413714b4d32ab39763a390a796363452.tar.gz emacs-4b38b37a413714b4d32ab39763a390a796363452.tar.bz2 emacs-4b38b37a413714b4d32ab39763a390a796363452.zip |
lisp/cedet/semantic/symref.el: Autoload subclasses for
semantic-symref-tool-baseclass.
Diffstat (limited to 'lisp/cedet/semantic/symref.el')
-rw-r--r-- | lisp/cedet/semantic/symref.el | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/symref.el b/lisp/cedet/semantic/symref.el index e7918f746dd..a3c08bbd0f8 100644 --- a/lisp/cedet/semantic/symref.el +++ b/lisp/cedet/semantic/symref.el @@ -65,6 +65,7 @@ ;; Your tool should then create an instance of `semantic-symref-result'. (require 'semantic) +(require 'eieio) ;; (require 'ede) (defvar ede-minor-mode) @@ -491,6 +492,47 @@ over until it returns nil." "Base tool output parser is not implemented." (error "Symref tool objects must implement `semantic-symref-parse-tool-output-one-line'")) + +;;; Autoload subclasses for semantic-symref-tool-baseclass: + +(eieio-defclass-autoload + 'semantic-symref-tool-cscope '(semantic-symref-tool-baseclass) + "semantic/symref/cscope" + "A symref tool implementation using CScope. +The CScope command can be used to generate lists of tags in a way +similar to that of `grep'. This tool will parse the output to generate +the hit list. + +See the function `cedet-cscope-search' for more details.") + +(eieio-defclass-autoload + 'semantic-symref-tool-global '(semantic-symref-tool-baseclass) + "semantic/symref/global" + "A symref tool implementation using GNU Global. +The GNU Global command can be used to generate lists of tags in a way +similar to that of `grep'. This tool will parse the output to generate +the hit list. + +See the function `cedet-gnu-global-search' for more details.") + +(eieio-defclass-autoload + 'semantic-symref-tool-grep '(semantic-symref-tool-baseclass) + "semantic/symref/grep" + "A symref tool implementation using grep. +This tool uses EDE to find he root of the project, then executes +find-grep in the project. The output is parsed for hits +and those hits returned.") + +(eieio-defclass-autoload + 'semantic-symref-tool-idutils '(semantic-symref-tool-baseclass) + "semantic/symref/idutils" + "A symref tool implementation using ID Utils. +The udutils command set can be used to generate lists of tags in a way +similar to that of `grep'. This tool will parse the output to generate +the hit list. + +See the function `cedet-idutils-search' for more details.") + (provide 'semantic/symref) ;; Local variables: |