MCPcopy Create free account
hub / github.com/davisking/dlib / convert_tok_function_record

Function convert_tok_function_record

tools/htmlify/to_xml.cpp:1323–1337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321// ----------------------------------------------------------------------------------------
1322
1323function_record convert_tok_function_record (
1324 const tok_function_record& rec,
1325 const unsigned long expand_tabs
1326)
1327{
1328 function_record temp;
1329
1330 temp.scope = rec.scope;
1331 temp.file = rec.file;
1332 temp.comment = format_comment(rec.comment, expand_tabs);
1333 temp.name = get_function_name(rec.declaration);
1334 temp.declaration = pretty_print_declaration(rec.declaration);
1335
1336 return temp;
1337}
1338
1339// ----------------------------------------------------------------------------------------
1340

Callers 1

Calls 3

format_commentFunction · 0.85
get_function_nameFunction · 0.85
pretty_print_declarationFunction · 0.85

Tested by

no test coverage detected