Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Comment typo fixes | Andrew M. Kuchling | 2003-08-11 | 1 | -1/+1 |
| | |||||
* | Remove more out-of-date comments and clarify explanation of visit(). | Jeremy Hylton | 2002-04-18 | 1 | -7/+1 |
| | |||||
* | Remove out-of-date explanation in doc strings, | Jeremy Hylton | 2002-04-18 | 1 | -3/+1 |
| | | | | as reported by Eric C. Newton. | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -1/+1 |
| | |||||
* | Change default() to use getChildNodes() instead of getChildren() | Jeremy Hylton | 2001-08-29 | 1 | -3/+2 |
| | |||||
* | Two changes to visitor API: | Jeremy Hylton | 2001-08-27 | 1 | -20/+23 |
| | | | | | | | Remove _preorder as alias for dispatch and call dispatch directly. Add an extra optional argument to walk() XXX Also comment out some code that does debugging prints. | ||||
* | Add support for extra (*) arguments to preorder. | Jeremy Hylton | 2001-04-11 | 1 | -3/+3 |
| | | | | Change default dispatch to use extended call syntax in place of apply. | ||||
* | Small optimizations in dispatch method: 1) lookup node's __class__ once | Jeremy Hylton | 2000-10-25 | 1 | -12/+14 |
| | | | | | and store in local; 2) define _preorder to be dispatch (rather than method that called dispatch). | ||||
* | Bring Tools/compiler almost up to date. Specifically: | Thomas Wouters | 2000-08-12 | 1 | -22/+22 |
| | | | | | | | | | | - fix tab space issues (SF patch #101167 by Neil Schemenauer) - fix co_flags for classes to include CO_NEWLOCALS (SF patch #101145 by Neil) - fix for merger of UNPACK_LIST and UNPACK_TUPLE into UNPACK_SEQUENCE, (SF patch #101168 by, well, Neil :) - Adjust bytecode MAGIC to current bytecode. TODO: teach compile.py about list comprehensions. | ||||
* | simplify visitor walker class | Jeremy Hylton | 2000-03-16 | 1 | -32/+22 |
| | | | | | | - remove postorder - remove protocol for automatically walking children based on visitor method return value; now only walks if there is no method | ||||
* | fix import to refer to compiler package | Jeremy Hylton | 2000-03-06 | 1 | -1/+1 |
| | |||||
* | factor out the tree walking/visitor code that was in compile.py | Jeremy Hylton | 2000-03-06 | 1 | -0/+127 |