10:2675f922e209
|
2007-10-23 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added an Attr class which represents an attribute entry in a class, module or
instance, providing position information about the attribute within its parent
and encapsulating other knowledge about the attribute.
Changed attribute name list generation for class and module attributes, defining
such lists in the attribute gathering methods.
Changed image generation to include attributes (as Attr objects) literally. |
|
|
micropython/__init__.py micropython/inspect.py
|
|
9:24aa66f88d9b
|
2007-10-22 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made separate methods for instance-only attributes and combined class plus
instance attributes in Class.
Simplified class attributes, mapping names to attribute objects themselves,
rather than the origin (since the origin should be referenced in each object).
Simplified module attributes, returning the plain module namespace.
Added class name/attribute caching/stability.
Added location details for classes, modules and functions along with support
for generating program images (minus code generation). |
|
|
micropython/__init__.py micropython/inspect.py
|
|
8:42ca98d76e08
|
2007-10-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added copyright and licensing information. |
|
|
micropython/table.py
|
|
7:ad5ec3c30d61
|
2007-10-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed names of classes and functions to reflect their locations within
classes.
Added a module_attributes method to Module, a parameters method to Function,
and an instance_attribute_names method to Class, with the latter providing
repeatable ordering of instance attributes for classes.
Added object and parameter table retrieval to the Importer class.
Moved displacement list construction within the List class from the Table class,
permitting incremental additions to tables and lists. |
|
|
micropython/__init__.py micropython/inspect.py micropython/table.py test.py
|
|
6:b188f715ce34
|
2007-10-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added displaced list construction. |
|
|
micropython/table.py
|
|
5:96337e2a2058
|
2007-10-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added positions for instance attributes.
Added a module with support for making class/attribute tables. |
|
|
micropython/inspect.py micropython/table.py
|
|
4:12f98130428c
|
2007-10-21 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added module_name to various objects, along with a full_name method in a Naming
mix-in class, and a __repr__ method for more informative output.
Added attribute listing methods to Class.
Introduced more flexible handling of missing modules in visitFrom, visitGetattr
and visitImport.
Added missing AST node visitor methods and built-in types.
Added testing of programs to the test script. |
|
|
micropython/__init__.py micropython/inspect.py test.py
|
|
3:3699ff87d748
|
2007-10-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added "vacuum" methods for removing speculatively created modules.
Separated the __builtins__ module namespace from each module's own namespace.
Added function parameter details to Function objects.
Added convenience methods for dictionary access to objects.
Added more missing node visitor methods. |
|
|
micropython/__init__.py micropython/inspect.py test.py
|
|
2:63fdd9909412
|
2007-10-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed naming of imported modules.
Added improved support for "lazy" importing.
Added commented-out test for direct file parsing. |
|
|
micropython/__init__.py micropython/inspect.py test.py
|
|
1:c6101e50e385
|
2007-10-17 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added "pre-registration" of submodules in order to handle "from package import
module" situations where __all__ does not declare the module concerned.
Added __all__ list processing.
Added a name to the Module object initialisation.
Fixed initialisation of Class objects.
Fixed import names and aliases.
Added "object" to the built-in names.
Added some missing AST node handlers. |
|
|
micropython/__init__.py micropython/inspect.py
|
|