MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / PushComment

Method PushComment

src/xml/tinyxml2.cpp:2076–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2074
2075
2076void XMLPrinter::PushComment( const char* comment ) {
2077 SealElementIfJustOpened();
2078 if ( _textDepth < 0 && !_firstElement && !_compactMode) {
2079 Print( "\n" );
2080 PrintSpace( _depth );
2081 }
2082 _firstElement = false;
2083 Print( "<!--%s-->", comment );
2084}
2085
2086
2087void XMLPrinter::PushDeclaration( const char* value ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected