| 2074 | |
| 2075 | |
| 2076 | void 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 | |
| 2087 | void XMLPrinter::PushDeclaration( const char* value ) { |
nothing calls this directly
no outgoing calls
no test coverage detected