X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/4c35de3a0467a4cab5ec7a0d76f99de764ddc316..2c6153373f927d948a74b283ebb16330af8ee49a:/doc/parsing.tex diff --git a/doc/parsing.tex b/doc/parsing.tex index c694ef8..22960ee 100644 --- a/doc/parsing.tex +++ b/doc/parsing.tex @@ -63,6 +63,11 @@ consumed any input items. \dhead{gf}{setf (position-aware-stream-column @) @}} \end{describe*} +\begin{describe*} + {\dhead{cls}{position-aware-input-stream \&key :file :line :column} + \dhead{cls}{position-aware-output-stream \&key :file :line :column}} +\end{describe*} + \begin{describe}{gf}{stream-pathname @ @> @} \begin{describe}{meth}{stream} {stream-pathname (@ stream) @> nil} @@ -136,6 +141,9 @@ consumed any input items. {information-with-location (condition-with-location information) \\ \> \&key :location} \dhead{cls} + {enclosing-condition-with-location (condition) \\ \> + \&key :location} + \dhead{cls} {enclosing-error-with-location (enclosing-error-with-location error) \\ \> \&key :condition :location} @@ -180,7 +188,8 @@ consumed any input items. \dhead{fun}{cerror-with-location @ @ @ \&rest @} \dhead{fun}{cerror*-with-location @ @ \&rest @} - \dhead{fun}{warn-with-location @ @ \&rest @}} + \dhead{fun}{warn-with-location @ @ \&rest @} + \dhead{fun}{info-with-location @ @ \&rest @}} \end{describe*} \begin{describe*} @@ -458,6 +467,10 @@ file-location protocols. the scanner will update the location as it reads its input. \end{describe} +\begin{describe}{cls} + {charbuf-scanner-stream (character-scanner-stream) \&key :scanner} +\end{describe} + \begin{describe}{cls}{charbuf-scanner-place} The class of place objects captured by a charbuf scanner. \end{describe} @@ -513,6 +526,11 @@ file-location protocols. {token-scanner () \&key :filename (:line 1) (:column 0)} \end{describe} +\begin{describe*} + {\dhead{gf}{setf (scanner-line @) @} + \dhead{gf}{setf (scanner-column @) @}} +\end{describe*} + \begin{describe}{gf}{token-type @ @> @} \end{describe} @@ -614,6 +632,9 @@ file-location protocols. \-\nlret @^*} \end{describe} +\begin{describe}{cls}{list-parser () \&key :var} +\end{describe} + \subsection{Basic parser syntax} \label{sec:parsing.syntax.basic} @@ -729,6 +750,10 @@ file-location protocols. \begin{describe}{gf}{parser-current-char @ @> @
} \end{describe} +\begin{describe}{cls} + {string-parser (character-parser-context) \&key :string :index :length} +\end{describe} + \begin{describe}{parseform} {if-char (@[@@]) @ @ @} \end{describe} @@ -778,7 +803,7 @@ file-location protocols. \begin{describe}{cls}{scanner-context () \&key :scanner} \end{describe} -\begin{describe}{gf}{parse-scanner @ @> @} +\begin{describe}{gf}{parser-scanner @ @> @} \end{describe} \begin{describe}{cls} @@ -794,15 +819,6 @@ file-location protocols. \subsection{Expression parsing} \label{sec:parsing.syntax.expression} -\begin{describe}{gf}{push-operator @ @} -\end{describe} - -\begin{describe}{gf}{push-value @ @} -\end{describe} - -\begin{describe}{gf}{apply-operator @ @} -\end{describe} - \begin{describe}{gf}{operator-push-action @ @} \end{describe} @@ -857,8 +873,7 @@ file-location protocols. \end{describe*} \begin{describe*} - {\dhead{cls}{parenthesis () \&key :tag} - \dhead{cls}{open-parenthesis (parenthesis prefix-operator) \&key :tag} + {\dhead{cls}{open-parenthesis (parenthesis prefix-operator) \&key :tag} \dhead{cls}{close-parenthesis (parenthesis) \&key :tag}} \end{describe*}