Locate the ``.lean`` source file for ``module_name``.
(self, module_name: str)
| 372 | # -- frontend -------------------------------------------------------- |
| 373 | |
| 374 | def find_source_path(self, module_name: str) -> str: |
| 375 | """Locate the ``.lean`` source file for ``module_name``.""" |
| 376 | s = self._lib.leanpy_kernel_frontend_find_source_path(module_name) |
| 377 | if s.startswith("<error:"): |
| 378 | raise RuntimeError(s) |
| 379 | return s |
| 380 | |
| 381 | def process(self, source: str) -> str: |
| 382 | """Process Lean source code against the current environment. |
no outgoing calls