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

Function parse_generator_export

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

Source from the content-addressed store, hash-verified

201
202 #[test]
203 fn parse_generator_export() -> Result<()> {
204 let res = parse("export function *foo() {}");
205 assert_eq!(
206 "Exported generators are not supported",
207 res.err().unwrap().to_string()
208 );
209 Ok(())
210 }
211
212 #[test]
213 fn parse_two_func_exports() -> Result<()> {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected