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

Method EndStream

lib/yamlcpp/src/scanner.cpp:254–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void Scanner::EndStream() {
255 // force newline
256 if (INPUT.column() > 0) {
257 INPUT.ResetColumn();
258 }
259
260 PopAllIndents();
261 PopAllSimpleKeys();
262
263 m_simpleKeyAllowed = false;
264 m_endedStream = true;
265}
266
267Token* Scanner::PushToken(Token::TYPE type) {
268 m_tokens.push(Token(type, INPUT.mark()));

Callers

nothing calls this directly

Calls 2

ResetColumnMethod · 0.80
columnMethod · 0.45

Tested by

no test coverage detected