Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libparser.tex @ 7423:6e73f4168b06 legacy-trunk
Added \label{}s for logical addressing.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 20 Feb 1998 05:49:37 +0000 |
| parents | f4a4723b9553 |
| children | 1a9b09b3caf8 |
line wrap: on
line diff
--- a/Doc/lib/libparser.tex Fri Feb 20 00:45:52 1998 +0000 +++ b/Doc/lib/libparser.tex Fri Feb 20 05:49:37 1998 +0000 @@ -93,6 +93,7 @@ \subsection{Creating AST Objects} +\label{Creating ASTs} AST objects may be created from source code or from a parse tree. When creating an AST object from source, different functions are used @@ -145,6 +146,7 @@ \subsection{Converting AST Objects} +\label{Converting ASTs} AST objects, regardless of the input used to create them, may be converted to parse trees represented as list- or tuple- trees, or may @@ -205,6 +207,7 @@ \subsection{Queries on AST Objects} +\label{Querying ASTs} Two functions are provided which allow an application to determine if an AST was create as an expression or a suite. Neither of these @@ -233,6 +236,7 @@ \subsection{Exceptions and Error Handling} +\label{AST Errors} The parser module defines a single exception, but may also pass other built-in exceptions from other portions of the Python runtime @@ -261,6 +265,7 @@ \subsection{AST Objects} +\label{AST Objects} AST objects returned by \function{expr()}, \function{suite()}, and \function{sequence2ast()} have no methods of their own.
