X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/e38e83673b59b89d7af42f4c3f177aa0f6eafeb5..e05aabbb81cddec46b3d9da802f632c3b20c67d1:/doc/clang.tex diff --git a/doc/clang.tex b/doc/clang.tex index 9719811..76539c7 100644 --- a/doc/clang.tex +++ b/doc/clang.tex @@ -91,6 +91,9 @@ similar names. Neither generic function defines a default primary method; subclasses of @|c-type| must define their own methods in order to print correctly. +\begin{describe}{fun}{c-name-case @ @> @} +\end{describe} + \subsection{The C type root class} \label{sec:clang.c-types.root} @@ -347,12 +350,16 @@ methods to \descref{gf}{c-qualifier-keyword}. The class @|qualifiable-c-type| is abstract. \end{describe} +\begin{describe}{fun} + {canonify-qualifiers @ @> @} +\end{describe} + \begin{describe}{gf}{c-type-qualifiers @ @> @} Returns the qualifiers of the @|qualifiable-c-type| instance @ as an immutable list. \end{describe} -\begin{describe}{fun}{qualify-type @ @ @> @} +\begin{describe}{fun}{qualify-c-type @ @ @> @} The argument @ must be an instance of @|qualifiable-c-type|, currently bearing no qualifiers, and @ a list of qualifier keywords. The result is a C type object like @ except that it @@ -620,6 +627,14 @@ In Sod, the leaf types are structs and unions. \end{boxy} +\begin{describe}{gf}{c-type-tag @ @> @} +\end{describe} + +\begin{describe}{fun} + {make-c-tagged-type @ @ \&optional @ + @> @} +\end{describe} + \begin{describe}{gf}{c-tagged-type-kind @ @> @} Returns a keyword classifying the tagged @: one of @|:enum|, @|:struct| or @|:union|. User-defined subclasses of @|tagged-c-type| @@ -1013,7 +1028,12 @@ function type is the type of the function's return value. \begin{describe}{gf} {c-function-arguments @ @> @} - Return the arguments list of the @. + Return the (non-keyword) argument list of the @. +\end{describe} + +\begin{describe}{gf} + {c-function-keywords @ @> @} + Return the keyword-argument list of the @. \end{describe} \begin{describe}{fun} @@ -1179,6 +1199,9 @@ Temporary names are represented by objects which implement a simple protocol. subclasses, but is also usable on its own. \end{describe} +\begin{describe}{gf}{temp-tag @ @> @} +\end{describe} + \begin{describe}{meth}{temporary-name} {commentify-argument-name (@ temporary-name) @> nil} \end{describe} @@ -1400,8 +1423,11 @@ Temporary names are represented by objects which implement a simple protocol. \begin{describe}{cls}{c-fragment () \&key :location :text} \end{describe} -\begin{describe}{gf}{c-fragment-text @ @> @} -\end{describe} +\begin{describe*} + {\dhead{gf}{c-fragment-text @ @> @} + \dhead{meth}{c-fragment} + {file-location (@ c-fragment) @> @}} +\end{describe*} \begin{describe}{fun} {scan-c-fragment @ @