Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/javy
/ parse
Function
parse
crates/codegen/src/js.rs:314–316 ·
view source on GitHub ↗
(js: &str)
Source
from the content-addressed store, hash-verified
312
}
313
314
fn parse(js: &str) -> Result<Vec<String>> {
315
JS::from_string(js.to_string()).exports()
316
}
317
}
Callers
15
parse_no_exports
Function · 0.70
parse_invalid_js
Function · 0.70
parse_one_func_export
Function · 0.70
parse_func_export_with_parameter
Function · 0.70
parse_generator_export
Function · 0.70
parse_two_func_exports
Function · 0.70
parse_const_export
Function · 0.70
parse_const_export_and_func_export
Function · 0.70
parse_named_func_export
Function · 0.70
parse_named_func_export_with_arg
Function · 0.70
parse_funcs_with_args
Function · 0.70
parse_named_func_export_and_const_export
Function · 0.70
Calls
1
exports
Method · 0.80
Tested by
15
parse_no_exports
Function · 0.56
parse_invalid_js
Function · 0.56
parse_one_func_export
Function · 0.56
parse_func_export_with_parameter
Function · 0.56
parse_generator_export
Function · 0.56
parse_two_func_exports
Function · 0.56
parse_const_export
Function · 0.56
parse_const_export_and_func_export
Function · 0.56
parse_named_func_export
Function · 0.56
parse_named_func_export_with_arg
Function · 0.56
parse_funcs_with_args
Function · 0.56
parse_named_func_export_and_const_export
Function · 0.56