2010-08-07 | Paul Boddie | raw annotate files changeset graph | Added some support for HTML reports of program modules, separating the program finalisation out into a separate method of the Program class, in order to avoid obtaining an actual program image, yet removing unneeded parts of a program. Moved code to test for the usage of program sections into the common module, since this is also useful when generating reports. Added AST node annotation documentation. |
1 AST Node Annotations 2 ==================== 3 4 _attrnames defines a dictionary mapping local names to sets of attribute 5 names found to be used with those names 6 _attrusers defines a dictionary mapping local names to sets of nodes 7 defining those names 8 _def refers to a micropython Class or Function instance 9 _scope set as "constant", "local", "global" or "builtins"