Lines Matching refs:croak
738 function croak(msg, line, col, pos) {
748 croak(msg, token.line, token.col);
953 croak("'return' outside of function");
974 croak("Illegal newline after 'throw'");
991 croak("Strict mode may not include a with statement");
1012 croak("Label " + label.name + " defined twice");
1048 } else if (S.in_loop == 0) croak(type.TYPE + " not inside a loop or switch");
1672 if (default_branch) croak("More than one default clause in switch statement");
1718 croak("Missing catch/finally blocks");
1736 croak("Missing initializer in declaration");
2172 if (!no_error) croak("Name expected");
2321 if (optional) croak("Invalid template on optional chain");
2345 if (S.in_funarg === S.in_function) croak("Invalid use of await in function argument");
2355 if (S.in_funarg === S.in_function) croak("Invalid use of yield in function argument");
2524 croak("Invalid assignment");