# HG changeset patch # User Paul Boddie # Date 1476223508 -7200 # Node ID 8673663175656e8ef3a0810960d5be1087e06781 # Parent 4dfeb117f7f90c192ff56b23b1fb244e3bb7fb7c Renamed some values in the attribute access plans. diff -r 4dfeb117f7f9 -r 867366317565 deducer.py --- a/deducer.py Tue Oct 11 16:29:50 2016 +0200 +++ b/deducer.py Wed Oct 12 00:05:08 2016 +0200 @@ -1888,14 +1888,14 @@ # Identified attribute that must be accessed via its parent. if attr and attr.get_name() and location in self.reference_assignments: - method = "direct"; origin = attr.get_name() + method = "assign"; origin = attr.get_name() # Static, identified attribute. elif attr and attr.static(): method = "static"; origin = attr.final() - # Attribute accessed at a known position via its parent. + # First attribute accessed at a known position via the accessor. elif base or dynamic_base: method = "relative" + (object_relative and "-object" or "") + \ @@ -1911,7 +1911,7 @@ # Determine the nature of the context. - context = base and "base" or len(traversed or remaining) > 1 and "traversal" or "accessor" + context = len(traversed or remaining) == 1 and (base and "base" or "original-accessor") or "final-accessor" return name, test, test_type, base, traversed, remaining, context, method, origin