MCPcopy Create free account
hub / github.com/node-inspector/node-inspector / read_string

Function read_string

front-end/UglifyJS/parse-js.js:401–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

399 };
400
401 function read_string() {
402 return with_eof_error("Unterminated string constant", function(){
403 var quote = next(), ret = "";
404 for (;;) {
405 var ch = next(true);
406 if (ch == "\\") ch = read_escaped_char();
407 else if (ch == quote) break;
408 ret += ch;
409 }
410 return token("string", ret);
411 });
412 };
413
414 function read_line_comment() {
415 next();

Callers 1

next_tokenFunction · 0.85

Calls 4

with_eof_errorFunction · 0.85
nextFunction · 0.85
read_escaped_charFunction · 0.85
tokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…