MCPcopy Create free account
hub / github.com/bytecodealliance/javy / parse_funcs_with_args

Function parse_funcs_with_args

crates/codegen/src/js.rs:252–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250
251 #[test]
252 fn parse_funcs_with_args() -> Result<()> {
253 let exports = parse("function foo(bar) {}")?;
254 assert_eq!(Vec::<&str>::default(), exports);
255 Ok(())
256 }
257
258 #[test]
259 fn parse_named_func_export_and_const_export() -> Result<()> {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected