chiark / gitweb /
src/method-{proto,impl}.lisp: New `method-keyword-argument-lists' protocol.
[sod] / src / method-proto.lisp
index b82191206753d78dc737d59a6039a529a600eb79..048c9249d3471f0f67eb402e419fd1a0b30d85fe 100644 (file)
@@ -63,6 +63,15 @@ (defgeneric primary-method-class (message)
 
    This protocol is used by `simple-message' subclasses."))
 
+(export 'method-keyword-argument-lists)
+(defgeneric method-keyword-argument-lists (method direct-methods)
+  (:documentation
+   "Returns a list of keyword argument lists to be merged.
+
+   This should return a list suitable for passing to `merge-keyword-lists',
+   i.e., each element should be a pair consisting of a list of `argument'
+   objects and a string describing the source of the argument list."))
+
 (export 'compute-sod-effective-method)
 (defgeneric compute-sod-effective-method (message class)
   (:documentation