Parse imports from code content
(self, code_content: str)
| 45 | |
| 46 | @abstractmethod |
| 47 | def parse(self, code_content: str) -> List[ImportInfo]: |
| 48 | """Parse imports from code content""" |
| 49 | pass |
| 50 | |
| 51 | def _resolve_path(self, module_path: str) -> Optional[str]: |
| 52 | """Resolve module path to file path (to be overridden by subclasses)""" |