summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-15 16:47:10 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-15 16:47:10 (GMT)
commit27413a5eda86a1aee8eb7cddbf1b34f1853daba8 (patch)
tree0810cf8fb4c4f3c13f58011a081ea1106d69c302 /Tools
parent3d05161c836fcf6c3eb5f26a418e9ef54263c7a7 (diff)
downloadcpython-27413a5eda86a1aee8eb7cddbf1b34f1853daba8.zip
cpython-27413a5eda86a1aee8eb7cddbf1b34f1853daba8.tar.gz
cpython-27413a5eda86a1aee8eb7cddbf1b34f1853daba8.tar.bz2
Properly mark attribute names in the table.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/compiler/doc/asttable.tex234
1 files changed, 117 insertions, 117 deletions
diff --git a/Tools/compiler/doc/asttable.tex b/Tools/compiler/doc/asttable.tex
index 84b3346..7f6ba9f 100644
--- a/Tools/compiler/doc/asttable.tex
+++ b/Tools/compiler/doc/asttable.tex
@@ -1,253 +1,253 @@
\begin{longtableiii}{lll}{class}{Node type}{Attribute}{Value}
-\lineiii{Add}{left}{left operand}
-\lineiii{}{right}{right operand}
+\lineiii{Add}{\member{left}}{left operand}
+\lineiii{}{\member{right}}{right operand}
\hline
-\lineiii{And}{nodes}{list of operands}
+\lineiii{And}{\member{nodes}}{list of operands}
\hline
\lineiii{AssAttr}{}{\emph{attribute as target of assignment}}
-\lineiii{}{expr}{expression on the left-hand side of the dot}
-\lineiii{}{attrname}{the attribute name, a string}
-\lineiii{}{flags}{XXX}
+\lineiii{}{\member{expr}}{expression on the left-hand side of the dot}
+\lineiii{}{\member{attrname}}{the attribute name, a string}
+\lineiii{}{\member{flags}}{XXX}
\hline
-\lineiii{AssList}{nodes}{list of list elements being assigned to}
+\lineiii{AssList}{\member{nodes}}{list of list elements being assigned to}
\hline
-\lineiii{AssName}{name}{name being assigned to}
-\lineiii{}{flags}{XXX}
+\lineiii{AssName}{\member{name}}{name being assigned to}
+\lineiii{}{\member{flags}}{XXX}
\hline
-\lineiii{AssTuple}{nodes}{list of tuple elements being assigned to}
+\lineiii{AssTuple}{\member{nodes}}{list of tuple elements being assigned to}
\hline
-\lineiii{Assert}{test}{the expression to be tested}
-\lineiii{}{fail}{the value of the \exception{AssertionError}}
+\lineiii{Assert}{\member{test}}{the expression to be tested}
+\lineiii{}{\member{fail}}{the value of the \exception{AssertionError}}
\hline
-\lineiii{Assign}{nodes}{a list of assignment targets, one per equal sign}
-\lineiii{}{expr}{the value being assigned}
+\lineiii{Assign}{\member{nodes}}{a list of assignment targets, one per equal sign}
+\lineiii{}{\member{expr}}{the value being assigned}
\hline
-\lineiii{AugAssign}{node}{}
-\lineiii{}{op}{}
-\lineiii{}{expr}{}
+\lineiii{AugAssign}{\member{node}}{}
+\lineiii{}{\member{op}}{}
+\lineiii{}{\member{expr}}{}
\hline
-\lineiii{Backquote}{expr}{}
+\lineiii{Backquote}{\member{expr}}{}
\hline
-\lineiii{Bitand}{nodes}{}
+\lineiii{Bitand}{\member{nodes}}{}
\hline
-\lineiii{Bitor}{nodes}{}
+\lineiii{Bitor}{\member{nodes}}{}
\hline
-\lineiii{Bitxor}{nodes}{}
+\lineiii{Bitxor}{\member{nodes}}{}
\hline
\lineiii{Break}{}{}
\hline
-\lineiii{CallFunc}{node}{expression for the callee}
-\lineiii{}{args}{a list of arguments}
-\lineiii{}{star_args}{the extended *-arg value}
-\lineiii{}{dstar_args}{the extended **-arg value}
+\lineiii{CallFunc}{\member{node}}{expression for the callee}
+\lineiii{}{\member{args}}{a list of arguments}
+\lineiii{}{\member{star_args}}{the extended *-arg value}
+\lineiii{}{\member{dstar_args}}{the extended **-arg value}
\hline
-\lineiii{Class}{name}{the name of the class, a string}
-\lineiii{}{bases}{a list of base classes}
-\lineiii{}{doc}{doc string, a string or \code{None}}
-\lineiii{}{code}{the body of the class statement}
+\lineiii{Class}{\member{name}}{the name of the class, a string}
+\lineiii{}{\member{bases}}{a list of base classes}
+\lineiii{}{\member{doc}}{doc string, a string or \code{None}}
+\lineiii{}{\member{code}}{the body of the class statement}
\hline
-\lineiii{Compare}{expr}{}
-\lineiii{}{ops}{}
+\lineiii{Compare}{\member{expr}}{}
+\lineiii{}{\member{ops}}{}
\hline
-\lineiii{Const}{value}{}
+\lineiii{Const}{\member{value}}{}
\hline
\lineiii{Continue}{}{}
\hline
-\lineiii{Dict}{items}{}
+\lineiii{Dict}{\member{items}}{}
\hline
-\lineiii{Discard}{expr}{}
+\lineiii{Discard}{\member{expr}}{}
\hline
-\lineiii{Div}{left}{}
-\lineiii{}{right}{}
+\lineiii{Div}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
\lineiii{Ellipsis}{}{}
\hline
-\lineiii{Exec}{expr}{}
-\lineiii{}{locals}{}
-\lineiii{}{globals}{}
+\lineiii{Exec}{\member{expr}}{}
+\lineiii{}{\member{locals}}{}
+\lineiii{}{\member{globals}}{}
\hline
-\lineiii{For}{assign}{}
-\lineiii{}{list}{}
-\lineiii{}{body}{}
-\lineiii{}{else_}{}
+\lineiii{For}{\member{assign}}{}
+\lineiii{}{\member{list}}{}
+\lineiii{}{\member{body}}{}
+\lineiii{}{\member{else_}}{}
\hline
-\lineiii{From}{modname}{}
-\lineiii{}{names}{}
+\lineiii{From}{\member{modname}}{}
+\lineiii{}{\member{names}}{}
\hline
-\lineiii{Function}{name}{name used in def, a string}
-\lineiii{}{argnames}{list of argument names, as strings}
-\lineiii{}{defaults}{list of default values}
-\lineiii{}{flags}{xxx}
-\lineiii{}{doc}{doc string, a string or \code{None}}
-\lineiii{}{code}{the body of the function}
+\lineiii{Function}{\member{name}}{name used in def, a string}
+\lineiii{}{\member{argnames}}{list of argument names, as strings}
+\lineiii{}{\member{defaults}}{list of default values}
+\lineiii{}{\member{flags}}{xxx}
+\lineiii{}{\member{doc}}{doc string, a string or \code{None}}
+\lineiii{}{\member{code}}{the body of the function}
\hline
-\lineiii{Getattr}{expr}{}
-\lineiii{}{attrname}{}
+\lineiii{Getattr}{\member{expr}}{}
+\lineiii{}{\member{attrname}}{}
\hline
-\lineiii{Global}{names}{}
+\lineiii{Global}{\member{names}}{}
\hline
-\lineiii{If}{tests}{}
-\lineiii{}{else_}{}
+\lineiii{If}{\member{tests}}{}
+\lineiii{}{\member{else_}}{}
\hline
-\lineiii{Import}{names}{}
+\lineiii{Import}{\member{names}}{}
\hline
-\lineiii{Invert}{expr}{}
+\lineiii{Invert}{\member{expr}}{}
\hline
-\lineiii{Keyword}{name}{}
-\lineiii{}{expr}{}
+\lineiii{Keyword}{\member{name}}{}
+\lineiii{}{\member{expr}}{}
\hline
-\lineiii{Lambda}{argnames}{}
-\lineiii{}{defaults}{}
-\lineiii{}{flags}{}
-\lineiii{}{code}{}
+\lineiii{Lambda}{\member{argnames}}{}
+\lineiii{}{\member{defaults}}{}
+\lineiii{}{\member{flags}}{}
+\lineiii{}{\member{code}}{}
\hline
-\lineiii{LeftShift}{left}{}
-\lineiii{}{right}{}
+\lineiii{LeftShift}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{List}{nodes}{}
+\lineiii{List}{\member{nodes}}{}
\hline
-\lineiii{ListComp}{expr}{}
-\lineiii{}{quals}{}
+\lineiii{ListComp}{\member{expr}}{}
+\lineiii{}{\member{quals}}{}
\hline
-\lineiii{ListCompFor}{assign}{}
-\lineiii{}{list}{}
-\lineiii{}{ifs}{}
+\lineiii{ListCompFor}{\member{assign}}{}
+\lineiii{}{\member{list}}{}
+\lineiii{}{\member{ifs}}{}
\hline
-\lineiii{ListCompIf}{test}{}
+\lineiii{ListCompIf}{\member{test}}{}
\hline
-\lineiii{Mod}{left}{}
-\lineiii{}{right}{}
+\lineiii{Mod}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{Module}{doc}{doc string, a string or \code{None}}
-\lineiii{}{node}{body of the module, a \class{Stmt}}
+\lineiii{Module}{\member{doc}}{doc string, a string or \code{None}}
+\lineiii{}{\member{node}}{body of the module, a \class{Stmt}}
\hline
-\lineiii{Mul}{left}{}
-\lineiii{}{right}{}
+\lineiii{Mul}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{Name}{name}{}
+\lineiii{Name}{\member{name}}{}
\hline
-\lineiii{Not}{expr}{}
+\lineiii{Not}{\member{expr}}{}
\hline
-\lineiii{Or}{nodes}{}
+\lineiii{Or}{\member{nodes}}{}
\hline
\lineiii{Pass}{}{}
\hline
-\lineiii{Power}{left}{}
-\lineiii{}{right}{}
+\lineiii{Power}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{Print}{nodes}{}
-\lineiii{}{dest}{}
+\lineiii{Print}{\member{nodes}}{}
+\lineiii{}{\member{dest}}{}
\hline
-\lineiii{Printnl}{nodes}{}
-\lineiii{}{dest}{}
+\lineiii{Printnl}{\member{nodes}}{}
+\lineiii{}{\member{dest}}{}
\hline
-\lineiii{Raise}{expr1}{}
-\lineiii{}{expr2}{}
-\lineiii{}{expr3}{}
+\lineiii{Raise}{\member{expr1}}{}
+\lineiii{}{\member{expr2}}{}
+\lineiii{}{\member{expr3}}{}
\hline
-\lineiii{Return}{value}{}
+\lineiii{Return}{\member{value}}{}
\hline
-\lineiii{RightShift}{left}{}
-\lineiii{}{right}{}
+\lineiii{RightShift}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{Slice}{expr}{}
-\lineiii{}{flags}{}
-\lineiii{}{lower}{}
-\lineiii{}{upper}{}
+\lineiii{Slice}{\member{expr}}{}
+\lineiii{}{\member{flags}}{}
+\lineiii{}{\member{lower}}{}
+\lineiii{}{\member{upper}}{}
\hline
-\lineiii{Sliceobj}{nodes}{list of statements}
+\lineiii{Sliceobj}{\member{nodes}}{list of statements}
\hline
-\lineiii{Stmt}{nodes}{}
+\lineiii{Stmt}{\member{nodes}}{}
\hline
-\lineiii{Sub}{left}{}
-\lineiii{}{right}{}
+\lineiii{Sub}{\member{left}}{}
+\lineiii{}{\member{right}}{}
\hline
-\lineiii{Subscript}{expr}{}
-\lineiii{}{flags}{}
-\lineiii{}{subs}{}
+\lineiii{Subscript}{\member{expr}}{}
+\lineiii{}{\member{flags}}{}
+\lineiii{}{\member{subs}}{}
\hline
-\lineiii{TryExcept}{body}{}
-\lineiii{}{handlers}{}
-\lineiii{}{else_}{}
+\lineiii{TryExcept}{\member{body}}{}
+\lineiii{}{\member{handlers}}{}
+\lineiii{}{\member{else_}}{}
\hline
-\lineiii{TryFinally}{body}{}
-\lineiii{}{final}{}
+\lineiii{TryFinally}{\member{body}}{}
+\lineiii{}{\member{final}}{}
\hline
-\lineiii{Tuple}{nodes}{}
+\lineiii{Tuple}{\member{nodes}}{}
\hline
-\lineiii{UnaryAdd}{expr}{}
+\lineiii{UnaryAdd}{\member{expr}}{}
\hline
-\lineiii{UnarySub}{expr}{}
+\lineiii{UnarySub}{\member{expr}}{}
\hline
-\lineiii{While}{test}{}
-\lineiii{}{body}{}
-\lineiii{}{else_}{}
+\lineiii{While}{\member{test}}{}
+\lineiii{}{\member{body}}{}
+\lineiii{}{\member{else_}}{}
\hline
-\lineiii{Yield}{value}{}
+\lineiii{Yield}{\member{value}}{}
\hline
\end{longtableiii}