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

Function parse_proto

compiler/fory_compiler/tests/test_service_codegen.py:111–114  ·  view source on GitHub ↗
(source: str)

Source from the content-addressed store, hash-verified

109
110
111def parse_proto(source: str) -> Schema:
112 return ProtoTranslator(
113 ProtoParser(ProtoLexer(source).tokenize()).parse()
114 ).translate()
115
116
117def parse_fbs(source: str) -> Schema:

Calls 4

ProtoTranslatorClass · 0.90
translateMethod · 0.45
parseMethod · 0.45
tokenizeMethod · 0.45

Tested by

no test coverage detected