MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / consume_garbage

Method consume_garbage

src/io/json11.cpp:422–432  ·  view source on GitHub ↗

consume_garbage() * * Advance until the current character is non-whitespace and non-comment. */

Source from the content-addressed store, hash-verified

420 * Advance until the current character is non-whitespace and non-comment.
421 */
422 void consume_garbage() {
423 consume_whitespace();
424 if (strategy == JsonParse::COMMENTS) {
425 bool comment_found = false;
426 do {
427 comment_found = consume_comment();
428 if (failed) return;
429 consume_whitespace();
430 } while (comment_found);
431 }
432 }
433
434 /* get_next_token()
435 *

Callers 2

parseMethod · 0.45
parse_multiMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected