Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libparser.tex @ 10703:e4e800a78d8d legacy-trunk
Make internal module references hyperlinks wherever it makes sense.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 22 Apr 1999 21:23:22 +0000 |
| parents | bdbfe0ec970f |
| children | 5ef4b3ca5564 |
line wrap: on
line diff
--- a/Doc/lib/libparser.tex Thu Apr 22 21:19:53 1999 +0000 +++ b/Doc/lib/libparser.tex Thu Apr 22 21:23:22 1999 +0000 @@ -59,7 +59,7 @@ one. The first element is an integer which identifies a production in the grammar. These integers are given symbolic names in the C header file \file{Include/graminit.h} and the Python module -\module{symbol}. Each additional element of the sequence represents +\refmodule{symbol}. Each additional element of the sequence represents a component of the production as recognized in the input string: these are always sequences which have the same form as the parent. An important aspect of this structure which should be noted is that @@ -78,7 +78,7 @@ identified. The example of the \keyword{if} keyword above is representative. The various types of terminal symbols are defined in the C header file \file{Include/token.h} and the Python module -\module{token}. +\refmodule{token}. The AST objects are not required to support the functionality of this module, but are provided for three purposes: to allow an application @@ -275,7 +275,7 @@ \function{sequence2ast()} have no methods of their own. Ordered and equality comparisons are supported between AST objects. -Pickling of AST objects (using the \module{pickle} module) is also +Pickling of AST objects (using the \refmodule{pickle} module) is also supported. \begin{datadesc}{ASTType} @@ -447,7 +447,7 @@ types; they map directly to terminal and non-terminal symbols in the grammar. Unfortunately, they are represented as integers in the internal representation, and the Python structures generated do not -change that. However, the \module{symbol} and \module{token} modules +change that. However, the \refmodule{symbol} and \refmodule{token} modules provide symbolic names for the node types and dictionaries which map from the integers to the symbolic names for the node types.
