We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea23b96 commit daa8208Copy full SHA for daa8208
DiffBackend/src/nodes.lisp
@@ -11,7 +11,9 @@
11
(&rest slot-specs)
12
&optional class-option)
13
`(progn
14
- (defclass* ,name (,@(nconc superclasses '(diff-status-mixin no-whitespace-length-mixin)))
+ (defclass* ,name (,@(nconc superclasses '(diff-status-mixin
15
+ id-mixin
16
+ no-whitespace-length-mixin)))
17
,slot-specs
18
,(when class-option
19
class-option))))
@@ -29,6 +31,11 @@
29
31
((keyword-lexem :accessor keyword-lexem
30
32
:initarg :keyword-lexem)))
33
34
+(defclass* id-mixin ()
35
+ ((id :accessor id
36
+ :initarg :id
37
+ :initform -1)))
38
+
39
(defclass* no-whitespace-length-mixin ()
40
((no-whitespace-length :accessor no-whitespace-length
41
:initarg :no-whitespace-length)))
0 commit comments