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

Method ScanDocStart

lib/yamlcpp/src/scantoken.cpp:61–71  ·  view source on GitHub ↗

DocStart

Source from the content-addressed store, hash-verified

59
60// DocStart
61void Scanner::ScanDocStart() {
62 PopAllIndents();
63 PopAllSimpleKeys();
64 m_simpleKeyAllowed = false;
65 m_canBeJSONFlow = false;
66
67 // eat
68 Mark mark = INPUT.mark();
69 INPUT.eat(3);
70 m_tokens.push(Token(Token::DOC_START, mark));
71}
72
73// DocEnd
74void Scanner::ScanDocEnd() {

Callers

nothing calls this directly

Calls 4

eatMethod · 0.80
TokenClass · 0.70
markMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected