Parse a file and return a Fory IR schema.
(self, path: Path)
| 45 | """Parse source and return a Fory IR schema.""" |
| 46 | |
| 47 | def parse_file(self, path: Path) -> Schema: |
| 48 | """Parse a file and return a Fory IR schema.""" |
| 49 | return self.parse(path.read_text(), str(path)) |
| 50 | |
| 51 | def supports_file(self, path: Path) -> bool: |
| 52 | """Return True if this frontend handles the file extension.""" |