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

Function find

lib/parse-js.js:315–319  ·  view source on GitHub ↗
(what, signal_eof)

Source from the content-addressed store, hash-verified

313 };
314
315 function find(what, signal_eof) {
316 var pos = S.text.indexOf(what, S.pos);
317 if (signal_eof && pos == -1) throw EX_EOF;
318 return pos;
319 };
320
321 function start_token() {
322 S.tokline = S.line;

Callers 2

read_line_commentFunction · 0.85
read_multiline_commentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected