Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ parse_schema
Function
parse_schema
compiler/fory_compiler/tests/test_weak_ref.py:25–26 ·
view source on GitHub ↗
(source: str)
Source
from the content-addressed store, hash-verified
23
24
25
def
parse_schema(source: str):
26
return
Parser(Lexer(source).tokenize()).parse()
27
28
29
def
test_parse_weak_ref_option():
Callers
7
test_parse_weak_ref_option
Function · 0.70
test_weak_ref_requires_ref
Function · 0.70
test_weak_ref_rejects_primitive
Function · 0.70
test_weak_ref_rejects_enum
Function · 0.70
test_repeated_ref_weak_ref_ok
Function · 0.70
test_weak_ref_requires_repeated_ref
Function · 0.70
test_list_and_map_ref_options_preserve_explicit_opt_out
Function · 0.70
Calls
4
Parser
Class · 0.90
Lexer
Class · 0.90
parse
Method · 0.45
tokenize
Method · 0.45
Tested by
no test coverage detected