1.1 --- a/translator.py Thu Jul 12 15:25:53 2018 +0200
1.2 +++ b/translator.py Thu Jul 12 16:46:25 2018 +0200
1.3 @@ -1070,9 +1070,21 @@
1.4
1.5 context_required = True
1.6 have_access_context = isinstance(expr, AttrResult)
1.7 +
1.8 + # The context identity is merely the thing providing the context.
1.9 + # A verified context is one that does not need further testing for
1.10 + # suitability.
1.11 +
1.12 context_identity = have_access_context and expr.context()
1.13 context_verified = have_access_context and expr.context_verified()
1.14 +
1.15 + # The presence of any test operations in the accessor expression.
1.16 + # With such operations present, the expression cannot be eliminated.
1.17 +
1.18 tests_accessor = have_access_context and expr.tests_accessor()
1.19 +
1.20 + # Parameter details and parameter list dimensions.
1.21 +
1.22 parameters = None
1.23 num_parameters = None
1.24 num_defaults = None