MCPcopy Create free account
hub / github.com/apache/fory / parse

Method parse

compiler/fory_compiler/frontend/base.py:44–45  ·  view source on GitHub ↗

Parse source and return a Fory IR schema.

(self, source: str, filename: str = "<input>")

Source from the content-addressed store, hash-verified

42
43 @abstractmethod
44 def parse(self, source: str, filename: str = "<input>") -> Schema:
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."""

Callers 15

parse_fileMethod · 0.95
buildExampleMessageMethod · 0.45
buildOptionalHolderMethod · 0.45
parse_fdlFunction · 0.45
generate_kotlinFunction · 0.45
parse_schemaFunction · 0.45
parse_schemaFunction · 0.45

Calls

no outgoing calls

Tested by 15

buildExampleMessageMethod · 0.36
buildOptionalHolderMethod · 0.36
parse_fdlFunction · 0.36
generate_kotlinFunction · 0.36
parse_schemaFunction · 0.36
parse_schemaFunction · 0.36
parse_fdlFunction · 0.36
parse_protoFunction · 0.36