1 \section{\module{symbol
} ---
2 Constants used with Python parse trees
}
4 \declaremodule{standard
}{symbol
}
5 \modulesynopsis{Constants representing internal nodes of the parse tree.
}
6 \sectionauthor{Fred L. Drake, Jr.
}{fdrake@acm.org
}
9 This module provides constants which represent the numeric values of
10 internal nodes of the parse tree. Unlike most Python constants, these
11 use lower-case names. Refer to the file
\file{Grammar/Grammar
} in the
12 Python distribution for the defintions of the names in the context of
13 the language grammar. The specific numeric values which the names map
14 to may change between Python versions.
16 This module also provides one additional data object:
20 \begin{datadesc
}{sym_name
}
21 Dictionary mapping the numeric values of the constants defined in this
22 module back to name strings, allowing more human-readable
23 representation of parse trees to be generated.
27 \seemodule{parser
}{second example uses this module
}