def resolve(self, name):
for scope in reversed(self.scopes):<EOL><INDENT>try:<EOL><INDENT>return structured.resolve(scope, name)<EOL><DEDENT>except (KeyError, AttributeError):<EOL><INDENT>continue<EOL><DEDENT><DEDENT>raise AttributeError(name)<EOL>
Call IStructured.resolve across all scopes and return first hit.