micropython

Annotated docs/annotations.txt

353:34ebed37aecc
2010-08-07 Paul Boddie 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.
paul@353 1
AST Node Annotations
paul@353 2
====================
paul@353 3
paul@353 4
_attrnames      defines a dictionary mapping local names to sets of attribute
paul@353 5
                names found to be used with those names
paul@353 6
_attrusers      defines a dictionary mapping local names to sets of nodes
paul@353 7
                defining those names
paul@353 8
_def            refers to a micropython Class or Function instance
paul@353 9
_scope          set as "constant", "local", "global" or "builtins"