(self, objtype: str, name: str, target_id: str,
node_id: str, location: Any = None)
| 732 | contnode, target) |
| 733 | |
| 734 | def note_object(self, objtype: str, name: str, target_id: str, |
| 735 | node_id: str, location: Any = None): |
| 736 | if target_id in self.data['objects']: |
| 737 | other = self.data['objects'][target_id].docname |
| 738 | logger.warning( |
| 739 | f'CMake object {target_id!r} also described in {other!r}', |
| 740 | location=location) |
| 741 | |
| 742 | self.data['objects'][target_id] = ObjectEntry( |
| 743 | self.env.docname, objtype, node_id, name) |
| 744 | |
| 745 | def get_objects(self): |
| 746 | for refname, obj in self.data['objects'].items(): |
no test coverage detected