MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / parse_block_comment

Function parse_block_comment

examples/js/repl.js:1347–1357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1345 }
1346
1347 function parse_block_comment() {
1348 style = 'comment';
1349 push_state('/');
1350 for (i++; i < n - 1; i++) {
1351 if (str[i] == '*' && str[i + 1] == '/') {
1352 i += 2;
1353 pop_state('/');
1354 break;
1355 }
1356 }
1357 }
1358
1359 function parse_line_comment() {
1360 style = 'comment';

Callers 1

colorize_jsFunction · 0.85

Calls 2

push_stateFunction · 0.85
pop_stateFunction · 0.85

Tested by

no test coverage detected