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

Function parse_const_export

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

Source from the content-addressed store, hash-verified

218
219 #[test]
220 fn parse_const_export() -> Result<()> {
221 let exports = parse("export const x = 1;")?;
222 let expected_exports: Vec<&str> = vec![];
223 assert_eq!(expected_exports, exports);
224 Ok(())
225 }
226
227 #[test]
228 fn parse_const_export_and_func_export() -> Result<()> {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected