diff options
author | Fred Drake <fdrake@acm.org> | 1999-04-22 21:23:22 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-04-22 21:23:22 (GMT) |
commit | ffbe68723a5cb124a1e018d05af9e279ae1ad6fe (patch) | |
tree | bda5a40b89973ee45d27f9685c527f6f59533b56 /Doc/lib/libparser.tex | |
parent | 7b8b125fa6a24b7c400b4750ee204c2a56f7f596 (diff) | |
download | cpython-ffbe68723a5cb124a1e018d05af9e279ae1ad6fe.zip cpython-ffbe68723a5cb124a1e018d05af9e279ae1ad6fe.tar.gz cpython-ffbe68723a5cb124a1e018d05af9e279ae1ad6fe.tar.bz2 |
Make internal module references hyperlinks wherever it makes sense.
Diffstat (limited to 'Doc/lib/libparser.tex')
-rw-r--r-- | Doc/lib/libparser.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex index 49a92e5..369308c 100644 --- a/Doc/lib/libparser.tex +++ b/Doc/lib/libparser.tex @@ -59,7 +59,7 @@ non-terminal elements in the grammar always have a length greater than 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 @@ any child elements and the addition of the source text which was 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 @@ AST objects returned by \function{expr()}, \function{suite()} and \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 @@ The numbers at the first element of each node in the tree are the node 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. |