[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalizing find-definition
From: |
Stefan Monnier |
Subject: |
Re: Generalizing find-definition |
Date: |
Wed, 10 Dec 2014 14:06:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> On the other hand, the required code is three lines:
> (defclass xref-ada-backend (xref-backend-class) ())
> (defvar xref--ada-backend (make-instance 'xref-ada-backend))
> (defun xref-ada-backend-function () xref--ada-backend)
You also need to define the corresponding methods. IOW, all the visible
part of the API relies on EIEIO.
Stefan
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Stephen Leake, 2014/12/11
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition,
Stefan Monnier <=
- Re: Generalizing find-definition, Stephen Leake, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/10
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/08