This adds a localLazy method in DecoratedNode, and getSourceLocation on Lazy objects to get the source of locations. For collection attributes, it just returns the location of the base equation for now.
Documentation
Added doc comments.
Testing
Inspected the generated code to see that locations are correct. Otherwise, let me know if this doesn't work!
Changes
Some utilities for use by the debugger folks.
This adds a
localLazy
method inDecoratedNode
, andgetSourceLocation
on Lazy objects to get the source of locations. For collection attributes, it just returns the location of the base equation for now.Documentation
Added doc comments.
Testing
Inspected the generated code to see that locations are correct. Otherwise, let me know if this doesn't work!