MCPcopy Create free account
hub / github.com/apache/trafficserver / Validate

Method Validate

lib/yamlcpp/src/simplekey.cpp:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 pKey(nullptr) {}
13
14void Scanner::SimpleKey::Validate() {
15 // Note: pIndent will *not* be garbage here;
16 // we "garbage collect" them so we can
17 // always refer to them
18 if (pIndent)
19 pIndent->status = IndentMarker::VALID;
20 if (pMapStart)
21 pMapStart->status = Token::VALID;
22 if (pKey)
23 pKey->status = Token::VALID;
24}
25
26void Scanner::SimpleKey::Invalidate() {
27 if (pIndent)

Callers 1

VerifySimpleKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected