MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SkipUntilCharNotIn

Method SkipUntilCharNotIn

src/core/string_consumer.hpp:683–687  ·  view source on GitHub ↗

* Skip 8-bit chars, while they are in 'chars', until they are not. */

Source from the content-addressed store, hash-verified

681 * Skip 8-bit chars, while they are in 'chars', until they are not.
682 */
683 void SkipUntilCharNotIn(std::string_view chars)
684 {
685 size_type len = this->FindCharNotIn(chars);
686 this->Skip(len);
687 }
688
689 /**
690 * Treatment of separator characters.

Callers 9

SkipIntegerBaseMethod · 0.95
LookupManyOfManyFunction · 0.80
ParseIntListFunction · 0.80
LoadFromDiskMethod · 0.80
ParseCommandLineFunction · 0.80
ParseIntegerFunction · 0.80
ParseRelNumFunction · 0.80
ParseWordFunction · 0.80

Calls 2

FindCharNotInMethod · 0.95
SkipMethod · 0.95

Tested by

no test coverage detected