Lines Matching refs:check_syntax_error
17 function check_syntax_error (code) function
27 check_syntax_error("(async function await() {})")
28 check_syntax_error("(async function *await() {})")
29 check_syntax_error("async function f(await) {}")
30 check_syntax_error("(async function f(await) {})")
31 check_syntax_error("async function f(a = await new Promise) {}")
32 check_syntax_error("async function f() { function await() {} }")
33 check_syntax_error("async await => 0");
34 check_syntax_error("async (await) => 0");
35 check_syntax_error("async function f() { await () => 0 }");
36 check_syntax_error("async (a) => a\\u0077ait a");
37 check_syntax_error("async (a) => { () => 0\na\\u0077ait a }");