@abc.abstractmethod<EOL><INDENT>def resolve_name(self, writer, name):<DEDENT>
pass<EOL>
Returns a GeneratedExpr object for accessing the named var in this block.

        This is overridden in the different concrete block types since name
        resolution in Python behaves differently depending on where in what kind of
        block its happening within, e.g. local vars are different than globals.

        Args:
          writer: Writer object where intermediate calculations will be printed.
          name: The name of the Python variable.