1.1 --- a/simplified.py Sat Jul 15 20:40:32 2006 +0200
1.2 +++ b/simplified.py Sat Jul 15 20:43:50 2006 +0200
1.3 @@ -27,10 +27,28 @@
1.4 A result node with common attributes:
1.5
1.6 original The original node from which this node was created.
1.7 + name Any name involved (variable or attribute).
1.8 expr Any contributing expression.
1.9 - name Any name involved (variable or attribute).
1.10 - code Any code grouped by this node.
1.11 + lvalue Any target expression.
1.12 + test Any test expression in a conditional instruction.
1.13 ref Any reference to (for example) subprograms.
1.14 +
1.15 + Invocation and subprogram attributes:
1.16 +
1.17 + args Any collection of argument nodes.
1.18 + params Any collection of parameter nodes and defaults.
1.19 +
1.20 + Statement-grouping attributes:
1.21 +
1.22 + body Any conditional code depending on the success of a test.
1.23 + else_ Any conditional code depending on the failure of a test.
1.24 + finally_ Any code which will be executed regardless.
1.25 + code Any unconditional code.
1.26 +
1.27 + Table-style attributes:
1.28 +
1.29 + tests Any collection of tests and accompanying code.
1.30 + handlers Any collection of tests applicable in exception handling.
1.31 """
1.32
1.33 def __init__(self, original=None, **kw):