

def registered_aliases(self):
    "Return the registered aliases exposed in BUILD files.\n\n    These returned aliases aren't so useful for actually parsing BUILD files.\n    They are useful for generating things like http://pantsbuild.github.io/build_dictionary.html.\n\n    :returns: A new BuildFileAliases instance containing this BuildConfiguration's registered alias\n              mappings.\n    :rtype: :class:`pants.build_graph.build_file_aliases.BuildFileAliases`\n    "
    target_factories_by_alias = self._target_by_alias.copy()
    target_factories_by_alias.update(self._target_macro_factory_by_alias)
    return BuildFileAliases(targets=target_factories_by_alias, objects=self._exposed_object_by_alias.copy(), context_aware_object_factories=self._exposed_context_aware_object_factory_by_alias.copy())

dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/build_configuration.py BuildConfiguration.registered_aliases/original