abreslav-from-google-code / abreslav

Automatically exported from code.google.com/p/abreslav
0 stars 0 forks source link

Create tracer notion to record ast-to-target transformation activities #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A tracer is a class that is notified about all the objects created during 
the transformation. The object (and the source it was created from) is 
given to tracer after assignment of all the primitive attributes and 
transforming of child objects. Trace is never used during creation phase 
(only on resolve phase).
Tracer class is a builder (having a method for any created object type-
context pair) that by default creates a map objectAS->object but can be 
overridden.
Tracer is given to resolver to provide it's data useful on resolving phase.

Original issue reported on code.google.com by eja...@gmail.com on 5 Apr 2007 at 5:29