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

Method SkipUntilCharIn

src/core/string_consumer.hpp:656–660  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

654 * Skip 8-bit chars, while they are not in 'chars', until they are.
655 */
656 void SkipUntilCharIn(std::string_view chars)
657 {
658 size_type len = this->FindCharIn(chars);
659 this->Skip(len);
660 }
661
662 /**
663 * Peek 8-bit chars, while they are in 'chars', until they are not.

Callers 2

SetDebugStringFunction · 0.80

Calls 2

FindCharInMethod · 0.95
SkipMethod · 0.95

Tested by

no test coverage detected