micropython

docs/annotations.txt

442:13aae946513b
2011-07-05 Paul Boddie Introduced Instance() in place of None as a result and for the value of the active expression where no definitive object can be deduced. Made all Instance values compare equal to each other in order to avoid duplication in sets. Improved Constant comparisons. Fixed assignment counting where many values are provided in a single assignment. Added inspection support for conditional expressions (since they are used in the standard library).
     1 AST Node Annotations
     2 ====================
     3 
     4 Attribute Users
     5 ---------------
     6 
     7 _attrnames      defines a dictionary mapping local names to sets of attribute
     8                 names found to be used with those names in a branch
     9 _attrcombined   defines a dictionary mapping local names to sets of attribute
    10                 names found to be used with those names for the entire lifetime
    11                 of a particular attribute user
    12 _attrtypes      defines types deduced from the combined attribute usage details
    13 _attrdefs       defines definition-related users which consume usage details
    14                 from the node
    15 
    16 Attribute Accessors
    17 -------------------
    18 
    19 _attrusers      defines a dictionary mapping local names to sets of nodes
    20                 defining those names
    21 
    22 Name Accessors
    23 --------------
    24 
    25 _scope          set as "constant", "local", "global" or "builtins"
    26 
    27 Program Units
    28 -------------
    29 
    30 unit            refers to a micropython Class, Function or Module instance