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

Method HandleNextDocument

lib/yamlcpp/src/parser.cpp:27–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool Parser::HandleNextDocument(EventHandler& eventHandler) {
28 if (!m_pScanner)
29 return false;
30
31 ParseDirectives();
32 if (m_pScanner->empty()) {
33 return false;
34 }
35
36 SingleDocParser sdp(*m_pScanner, *m_pDirectives);
37 sdp.HandleDocument(eventHandler);
38 return true;
39}
40
41void Parser::ParseDirectives() {
42 bool readDirective = false;

Callers 8

TESTFunction · 0.80
ParseMethod · 0.80
IgnoreParseMethod · 0.80
ExpectEmitMethod · 0.80
LoadFunction · 0.80
LoadAllFunction · 0.80
BuildGraphOfNextDocumentFunction · 0.80
runFunction · 0.80

Calls 2

HandleDocumentMethod · 0.80
emptyMethod · 0.45

Tested by 4

TESTFunction · 0.64
ParseMethod · 0.64
IgnoreParseMethod · 0.64
ExpectEmitMethod · 0.64