def _bracket_exact_exec(self, symbol):
        """Checks builtin, local and global executable collections for the
        specified symbol and returns it as soon as it is found."""
        if symbol in self.context.module.executables:
            return self.context.module.executables[symbol]

        if symbol in self.context.module.interfaces:
            return self.context.module.interfaces[symbol]

        if symbol in cache.builtin:
            return cache.builtin[symbol]

        #Loop through all the dependencies of the current module and see
        #if one of them is the method we are looking for.
        return self.context.module.get_dependency_element(symbol)
Checks builtin, local and global executable collections for the
        specified symbol and returns it as soon as it is found.