MCPcopy
hub / github.com/mishoo/UglifyJS-old / croak

Function croak

lib/parse-js.js:731–737  ·  view source on GitHub ↗
(msg, line, col, pos)

Source from the content-addressed store, hash-verified

729 };
730
731 function croak(msg, line, col, pos) {
732 var ctx = S.input.context();
733 js_error(msg,
734 line != null ? line : ctx.tokline,
735 col != null ? col : ctx.tokcol,
736 pos != null ? pos : ctx.tokpos);
737 };
738
739 function token_error(token, msg) {
740 croak(msg, token.line, token.col);

Callers 7

token_errorFunction · 0.85
parseFunction · 0.85
break_contFunction · 0.85
for_Function · 0.85
try_Function · 0.85
make_unaryFunction · 0.85
maybe_assignFunction · 0.85

Calls 1

js_errorFunction · 0.85

Tested by

no test coverage detected