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

Method ScanDocEnd

lib/yamlcpp/src/scantoken.cpp:74–84  ·  view source on GitHub ↗

DocEnd

Source from the content-addressed store, hash-verified

72
73// DocEnd
74void Scanner::ScanDocEnd() {
75 PopAllIndents();
76 PopAllSimpleKeys();
77 m_simpleKeyAllowed = false;
78 m_canBeJSONFlow = false;
79
80 // eat
81 Mark mark = INPUT.mark();
82 INPUT.eat(3);
83 m_tokens.push(Token(Token::DOC_END, mark));
84}
85
86// FlowStart
87void Scanner::ScanFlowStart() {

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