Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 1 | \begin{longtableiii}{lll}{class}{Node type}{Attribute}{Value} |
| 2 | |
| 3 | \lineiii{Add}{\member{left}}{left operand} |
| 4 | \lineiii{}{\member{right}}{right operand} |
| 5 | \hline |
| 6 | |
| 7 | \lineiii{And}{\member{nodes}}{list of operands} |
| 8 | \hline |
| 9 | |
| 10 | \lineiii{AssAttr}{}{\emph{attribute as target of assignment}} |
| 11 | \lineiii{}{\member{expr}}{expression on the left-hand side of the dot} |
| 12 | \lineiii{}{\member{attrname}}{the attribute name, a string} |
| 13 | \lineiii{}{\member{flags}}{XXX} |
| 14 | \hline |
| 15 | |
| 16 | \lineiii{AssList}{\member{nodes}}{list of list elements being assigned to} |
| 17 | \hline |
| 18 | |
| 19 | \lineiii{AssName}{\member{name}}{name being assigned to} |
| 20 | \lineiii{}{\member{flags}}{XXX} |
| 21 | \hline |
| 22 | |
| 23 | \lineiii{AssTuple}{\member{nodes}}{list of tuple elements being assigned to} |
| 24 | \hline |
| 25 | |
| 26 | \lineiii{Assert}{\member{test}}{the expression to be tested} |
| 27 | \lineiii{}{\member{fail}}{the value of the \exception{AssertionError}} |
| 28 | \hline |
| 29 | |
| 30 | \lineiii{Assign}{\member{nodes}}{a list of assignment targets, one per equal sign} |
| 31 | \lineiii{}{\member{expr}}{the value being assigned} |
| 32 | \hline |
| 33 | |
| 34 | \lineiii{AugAssign}{\member{node}}{} |
| 35 | \lineiii{}{\member{op}}{} |
| 36 | \lineiii{}{\member{expr}}{} |
| 37 | \hline |
| 38 | |
| 39 | \lineiii{Backquote}{\member{expr}}{} |
| 40 | \hline |
| 41 | |
| 42 | \lineiii{Bitand}{\member{nodes}}{} |
| 43 | \hline |
| 44 | |
| 45 | \lineiii{Bitor}{\member{nodes}}{} |
| 46 | \hline |
| 47 | |
| 48 | \lineiii{Bitxor}{\member{nodes}}{} |
| 49 | \hline |
| 50 | |
| 51 | \lineiii{Break}{}{} |
| 52 | \hline |
| 53 | |
| 54 | \lineiii{CallFunc}{\member{node}}{expression for the callee} |
| 55 | \lineiii{}{\member{args}}{a list of arguments} |
| 56 | \lineiii{}{\member{star_args}}{the extended *-arg value} |
| 57 | \lineiii{}{\member{dstar_args}}{the extended **-arg value} |
| 58 | \hline |
| 59 | |
| 60 | \lineiii{Class}{\member{name}}{the name of the class, a string} |
| 61 | \lineiii{}{\member{bases}}{a list of base classes} |
| 62 | \lineiii{}{\member{doc}}{doc string, a string or \code{None}} |
| 63 | \lineiii{}{\member{code}}{the body of the class statement} |
| 64 | \hline |
| 65 | |
| 66 | \lineiii{Compare}{\member{expr}}{} |
| 67 | \lineiii{}{\member{ops}}{} |
| 68 | \hline |
| 69 | |
| 70 | \lineiii{Const}{\member{value}}{} |
| 71 | \hline |
| 72 | |
| 73 | \lineiii{Continue}{}{} |
| 74 | \hline |
| 75 | |
Anthony Baxter | c2a5a63 | 2004-08-02 06:10:11 +0000 | [diff] [blame] | 76 | \lineiii{Decorators}{\member{nodes}}{List of function decorator expressions} |
| 77 | \hline |
| 78 | |
Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 79 | \lineiii{Dict}{\member{items}}{} |
| 80 | \hline |
| 81 | |
| 82 | \lineiii{Discard}{\member{expr}}{} |
| 83 | \hline |
| 84 | |
| 85 | \lineiii{Div}{\member{left}}{} |
| 86 | \lineiii{}{\member{right}}{} |
| 87 | \hline |
| 88 | |
| 89 | \lineiii{Ellipsis}{}{} |
| 90 | \hline |
| 91 | |
Neal Norwitz | 58d118b | 2005-10-03 00:36:16 +0000 | [diff] [blame] | 92 | \lineiii{Expression}{\member{node}}{} |
| 93 | |
Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 94 | \lineiii{Exec}{\member{expr}}{} |
| 95 | \lineiii{}{\member{locals}}{} |
| 96 | \lineiii{}{\member{globals}}{} |
| 97 | \hline |
| 98 | |
Andrew M. Kuchling | cc9ab14 | 2005-11-22 14:52:31 +0000 | [diff] [blame] | 99 | \lineiii{FloorDiv}{\member{left}}{} |
| 100 | \lineiii{}{\member{right}}{} |
| 101 | \hline |
| 102 | |
Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 103 | \lineiii{For}{\member{assign}}{} |
| 104 | \lineiii{}{\member{list}}{} |
| 105 | \lineiii{}{\member{body}}{} |
| 106 | \lineiii{}{\member{else_}}{} |
| 107 | \hline |
| 108 | |
| 109 | \lineiii{From}{\member{modname}}{} |
| 110 | \lineiii{}{\member{names}}{} |
| 111 | \hline |
| 112 | |
Anthony Baxter | c2a5a63 | 2004-08-02 06:10:11 +0000 | [diff] [blame] | 113 | \lineiii{Function}{\member{decorators}}{\class{Decorators} or \code{None}} |
| 114 | \lineiii{}{\member{name}}{name used in def, a string} |
Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 115 | \lineiii{}{\member{argnames}}{list of argument names, as strings} |
| 116 | \lineiii{}{\member{defaults}}{list of default values} |
| 117 | \lineiii{}{\member{flags}}{xxx} |
| 118 | \lineiii{}{\member{doc}}{doc string, a string or \code{None}} |
| 119 | \lineiii{}{\member{code}}{the body of the function} |
| 120 | \hline |
| 121 | |
Andrew M. Kuchling | db57135 | 2005-11-22 15:09:07 +0000 | [diff] [blame] | 122 | \lineiii{GenExpr}{\member{code}}{} |
| 123 | \hline |
| 124 | |
| 125 | \lineiii{GenExprFor}{\member{assign}}{} |
| 126 | \lineiii{}{\member{iter}}{} |
| 127 | \lineiii{}{\member{ifs}}{} |
| 128 | \hline |
| 129 | |
| 130 | \lineiii{GenExprIf}{\member{test}}{} |
| 131 | \hline |
| 132 | |
| 133 | \lineiii{GenExprInner}{\member{expr}}{} |
| 134 | \lineiii{}{\member{quals}}{} |
| 135 | \hline |
| 136 | |
Fred Drake | e2f9917 | 2001-09-27 20:06:07 +0000 | [diff] [blame] | 137 | \lineiii{Getattr}{\member{expr}}{} |
| 138 | \lineiii{}{\member{attrname}}{} |
| 139 | \hline |
| 140 | |
| 141 | \lineiii{Global}{\member{names}}{} |
| 142 | \hline |
| 143 | |
| 144 | \lineiii{If}{\member{tests}}{} |
| 145 | \lineiii{}{\member{else_}}{} |
| 146 | \hline |
| 147 | |
| 148 | \lineiii{Import}{\member{names}}{} |
| 149 | \hline |
| 150 | |
| 151 | \lineiii{Invert}{\member{expr}}{} |
| 152 | \hline |
| 153 | |
| 154 | \lineiii{Keyword}{\member{name}}{} |
| 155 | \lineiii{}{\member{expr}}{} |
| 156 | \hline |
| 157 | |
| 158 | \lineiii{Lambda}{\member{argnames}}{} |
| 159 | \lineiii{}{\member{defaults}}{} |
| 160 | \lineiii{}{\member{flags}}{} |
| 161 | \lineiii{}{\member{code}}{} |
| 162 | \hline |
| 163 | |
| 164 | \lineiii{LeftShift}{\member{left}}{} |
| 165 | \lineiii{}{\member{right}}{} |
| 166 | \hline |
| 167 | |
| 168 | \lineiii{List}{\member{nodes}}{} |
| 169 | \hline |
| 170 | |
| 171 | \lineiii{ListComp}{\member{expr}}{} |
| 172 | \lineiii{}{\member{quals}}{} |
| 173 | \hline |
| 174 | |
| 175 | \lineiii{ListCompFor}{\member{assign}}{} |
| 176 | \lineiii{}{\member{list}}{} |
| 177 | \lineiii{}{\member{ifs}}{} |
| 178 | \hline |
| 179 | |
| 180 | \lineiii{ListCompIf}{\member{test}}{} |
| 181 | \hline |
| 182 | |
| 183 | \lineiii{Mod}{\member{left}}{} |
| 184 | \lineiii{}{\member{right}}{} |
| 185 | \hline |
| 186 | |
| 187 | \lineiii{Module}{\member{doc}}{doc string, a string or \code{None}} |
| 188 | \lineiii{}{\member{node}}{body of the module, a \class{Stmt}} |
| 189 | \hline |
| 190 | |
| 191 | \lineiii{Mul}{\member{left}}{} |
| 192 | \lineiii{}{\member{right}}{} |
| 193 | \hline |
| 194 | |
| 195 | \lineiii{Name}{\member{name}}{} |
| 196 | \hline |
| 197 | |
| 198 | \lineiii{Not}{\member{expr}}{} |
| 199 | \hline |
| 200 | |
| 201 | \lineiii{Or}{\member{nodes}}{} |
| 202 | \hline |
| 203 | |
| 204 | \lineiii{Pass}{}{} |
| 205 | \hline |
| 206 | |
| 207 | \lineiii{Power}{\member{left}}{} |
| 208 | \lineiii{}{\member{right}}{} |
| 209 | \hline |
| 210 | |
| 211 | \lineiii{Print}{\member{nodes}}{} |
| 212 | \lineiii{}{\member{dest}}{} |
| 213 | \hline |
| 214 | |
| 215 | \lineiii{Printnl}{\member{nodes}}{} |
| 216 | \lineiii{}{\member{dest}}{} |
| 217 | \hline |
| 218 | |
| 219 | \lineiii{Raise}{\member{expr1}}{} |
| 220 | \lineiii{}{\member{expr2}}{} |
| 221 | \lineiii{}{\member{expr3}}{} |
| 222 | \hline |
| 223 | |
| 224 | \lineiii{Return}{\member{value}}{} |
| 225 | \hline |
| 226 | |
| 227 | \lineiii{RightShift}{\member{left}}{} |
| 228 | \lineiii{}{\member{right}}{} |
| 229 | \hline |
| 230 | |
| 231 | \lineiii{Slice}{\member{expr}}{} |
| 232 | \lineiii{}{\member{flags}}{} |
| 233 | \lineiii{}{\member{lower}}{} |
| 234 | \lineiii{}{\member{upper}}{} |
| 235 | \hline |
| 236 | |
| 237 | \lineiii{Sliceobj}{\member{nodes}}{list of statements} |
| 238 | \hline |
| 239 | |
| 240 | \lineiii{Stmt}{\member{nodes}}{} |
| 241 | \hline |
| 242 | |
| 243 | \lineiii{Sub}{\member{left}}{} |
| 244 | \lineiii{}{\member{right}}{} |
| 245 | \hline |
| 246 | |
| 247 | \lineiii{Subscript}{\member{expr}}{} |
| 248 | \lineiii{}{\member{flags}}{} |
| 249 | \lineiii{}{\member{subs}}{} |
| 250 | \hline |
| 251 | |
| 252 | \lineiii{TryExcept}{\member{body}}{} |
| 253 | \lineiii{}{\member{handlers}}{} |
| 254 | \lineiii{}{\member{else_}}{} |
| 255 | \hline |
| 256 | |
| 257 | \lineiii{TryFinally}{\member{body}}{} |
| 258 | \lineiii{}{\member{final}}{} |
| 259 | \hline |
| 260 | |
| 261 | \lineiii{Tuple}{\member{nodes}}{} |
| 262 | \hline |
| 263 | |
| 264 | \lineiii{UnaryAdd}{\member{expr}}{} |
| 265 | \hline |
| 266 | |
| 267 | \lineiii{UnarySub}{\member{expr}}{} |
| 268 | \hline |
| 269 | |
| 270 | \lineiii{While}{\member{test}}{} |
| 271 | \lineiii{}{\member{body}}{} |
| 272 | \lineiii{}{\member{else_}}{} |
| 273 | \hline |
| 274 | |
| 275 | \lineiii{Yield}{\member{value}}{} |
| 276 | \hline |
| 277 | |
| 278 | \end{longtableiii} |