Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
111
def
parse_proto(source: str) -> Schema:
112
return
ProtoTranslator(
113
ProtoParser(ProtoLexer(source).tokenize()).parse()
114
).translate()
115
116
117
def
parse_fbs(source: str) -> Schema:
Callers
3
test_proto_grpc_absolute_type
Function · 0.70
test_proto_and_fbs_grpc_service_codegen
Function · 0.70
test_dart_grpc_proto_fbs
Function · 0.70
Calls
4
ProtoTranslator
Class · 0.90
translate
Method · 0.45
parse
Method · 0.45
tokenize
Method · 0.45
Tested by
no test coverage detected