X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/blobdiff_plain/b70cb6d8704405cbb9281f823390f561c03de70c..32bb097f2613b22e14feb1a9820eb21289856eb3:/doc/meta.tex diff --git a/doc/meta.tex b/doc/meta.tex index 280a21c..92fac6d 100644 --- a/doc/meta.tex +++ b/doc/meta.tex @@ -29,10 +29,11 @@ \section{Base metaobject classes} \label{sec:meta.classes} \begin{describe}{cls} - {sod-class () \\ \ind - \&key \=:name :nick :location :pset \+ \\ - :superclasses :link :metaclass \\ + {sod-class () \\ \ind + \&key \=:name :nick :location :pset \+\\ + :superclasses :link :metaclass \\ :slots :instance-initializers :class-initializers \\ + :initargs :initfrags :tearfrags \\ :messages :methods} \end{describe} @@ -48,6 +49,12 @@ \dhead{gf}{setf (sod-class-instance-initializers @) @} \dhead{gf}{sod-class-class-initializers @ @> @} \dhead{gf}{setf (sod-class-class-initializers @) @} + \dhead{gf}{sod-class-initargs @ @> @} + \dhead{gf}{setf (sod-class-initargs @) @} + \dhead{gf}{sod-class-initfrags @ @> @} + \dhead{gf}{setf (sod-class-initfrags @) @} + \dhead{gf}{sod-class-tearfrags @ @> @} + \dhead{gf}{setf (sod-class-tearfrags @) @} \dhead{gf}{sod-class-messages @ @> @} \dhead{gf}{setf (sod-class-messages @) @} \dhead{gf}{sod-class-methods @ @> @} @@ -76,6 +83,15 @@ {find-superclass-by-nick @ @ @> @} \end{describe} +\begin{describe}{ty}{inheritance-path-reporter-state} +\end{describe} + +\begin{describe}{fun}{make-inheritance-path-reporter-state @> @} +\end{describe} + +\begin{describe}{fun}{report-inheritance-path @ @} +\end{describe} + \begin{describe}{fun} {sod-subclass-p @ @ @> @} \end{describe} @@ -118,7 +134,7 @@ \end{describe} \begin{describe}{cls} - {sod-class-slot (sod-slot) \\ \ind + {sod-class-slot (sod-slot) \\ \ind \&key :name :location :pset :class :type :initializer-function :prepare-function} \end{describe} @@ -130,39 +146,87 @@ \begin{describe*} {\dhead{cls}{sod-initializer () - \&key :slot :location :class :value-kind :value-form} + \&key :slot :location :class :value} \dhead{cls}{sod-instance-initializer (sod-initializer) - \&key :slot :location :class :value-kind :value-form} + \&key :slot :location :class :value} \dhead{cls}{sod-class-initializer (sod-initializer) - \&key :slot :location :class :value-kind :value-form}} + \&key :slot :location :class :value}} \end{describe*} \begin{describe*} {\dhead{gf}{sod-initializer-slot @ @> @} - \dhead{gf}{sod-initializer-value-kind @ @> @} - \dhead{gf}{sod-initializer-value-form @ @> @}} + \dhead{gf}{sod-initializer-value @ @> @}} \end{describe*} \begin{describe*} {\dhead{gf} - {make-slot-instance-initializer \=@ @ @ - @ @ \+ \\ - @ \&optional @ \- + {make-slot-instance-initializer + \=@ @ @ @ @ \&optional @ \nlret @} \dhead{gf} - {make-slot-class-initializer \=@ @ @ - @ @ \+ \\ - @ \&optional @ \- + {make-slot-class-initializer + \=@ @ @ @ @ \&optional @ \nlret @}} \end{describe*} \begin{describe}{gf} - {make-sod-initializer-using-slot \=@ @ @ - @ @ \+ \\ - @ \&optional @ \- + {make-sod-initializer-using-slot + \=@ @ @ @ @ \&optional @ \nlret @} \end{describe} +\begin{describe}{cls}{sod-initarg () \&key :class :location :name :type} +\end{describe} + +\begin{describe*} + {\dhead{gf}{sod-initarg-class @ @> @} + \dhead{gf}{sod-initarg-name @ @> @} + \dhead{gf}{sod-initarg-type @ @> @}} +\end{describe*} + +\begin{describe}{cls} + {sod-user-initarg (sod-initarg) + \&key :class :location :name :type :default} +\end{describe} + +\begin{describe}{gf} + {make-sod-user-initarg @ @ @ @ + \&optional @ @} +\end{describe} + +\begin{describe}{gf}{sod-initarg-default @ @> @} +\end{describe} + +\begin{describe}{cls} + {sod-slot-initarg (sod-initarg) + \&key :class :location :name :type :slot} +\end{describe} + +\begin{describe}{gf}{sod-initarg-slot @ @> @} +\end{describe} + +\begin{describe}{gf} + {make-sod-slot-initarg @ @ @ @ @ + \&optional @} +\end{describe} + +\begin{describe}{gf} + {make-sod-slot-initarg @ @ @ @ @ + \&optional @} +\end{describe} + +\begin{describe}{gf} + {make-sod-slot-initarg-using-slot @ @ @ @ + \&optional @} +\end{describe} + +\begin{describe*} + {\dhead{gf}{make-sod-class-initfrag @ @ @ + \&optional @} + \dhead{gf}{make-sod-class-tearfrag @ @ @ + \&optional @}} +\end{describe*} + \begin{describe}{cls}{sod-message () \&key :name :location :class :type} \end{describe} @@ -197,15 +261,17 @@ \end{describe*} \begin{describe}{gf} - {make-sod-method \=@ @ @ @ @ \+ \\ - @ \&optional @ \- + {make-sod-method + \=@ @ @ @ @ \+\\ + @ \&optional @ \- \nlret @} \end{describe} \begin{describe}{gf} - {make-sod-method-using-message \=@ @ - @ @ \+ \\ - @ \&optional @ \- + {make-sod-method-using-message + \=@ @ + @ @ \+\\ + @ \&optional @ \- \nlret @} \end{describe} @@ -236,7 +302,7 @@ \section{Class finalization protocol} \label{sec:meta.finalization} \begin{describe*} - {\dhead{gf}{sod-class-precedence-list @> @} + {\dhead{gf}{sod-class-precedence-list @ @> @} \dhead{gf}{sod-class-type @ @> @} \dhead{gf}{sod-class-chain-head @ @> @} \dhead{gf}{sod-class-chain @ @> @} @@ -247,6 +313,9 @@ \begin{describe}{gf}{compute-cpl @ @> @} \end{describe} +\begin{describe}{fun}{merge-class-lists @ @ @> @} +\end{describe} + \begin{describe}{gf}{compute-chains @ @> @} \end{describe} @@ -257,6 +326,10 @@ \end{describe} \begin{describe}{gf}{finalize-sod-class @} + \begin{describe}{meth}{finalize-sod-class (@ sod-class)} + \end{describe} + \begin{describe}{ar-meth}{finalize-sod-class (@ sod-class)} + \end{describe} \end{describe} \begin{describe}{fun}{clos-cpl @ @> @}