MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / dumpFragment

Function dumpFragment

Engine/source/console/engineDoc.cpp:91–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void dumpFragment( Stream& stream, ConsoleDocFragment* fragment )
92{
93 if( !fragment->mText || !fragment->mText[ 0 ] )
94 return;
95
96 // Emit doc text in comment.
97
98 stream.writeText( "/*!\r\n" );
99 stream.writeText( fragment->mText );
100 stream.writeText( "*/\r\n\r\n" );
101
102 // Emit definition, if any.
103
104 if( fragment->mDefinition )
105 {
106 stream.writeText( fragment->mDefinition );
107 stream.writeText( "\r\n" );
108 }
109}
110
111static void dumpVariable( Stream& stream,
112 Dictionary::Entry* entry,

Callers 2

dumpClassesFunction · 0.85
dumpEngineDocsFunction · 0.85

Calls 1

writeTextMethod · 0.45

Tested by

no test coverage detected