MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / makeIncludesTemplateData

Method makeIncludesTemplateData

erpcgen/src/Generator.cpp:517–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517void Generator::makeIncludesTemplateData()
518{
519 data_list includeData;
520 if (m_def->hasProgramSymbol())
521 {
522 for (auto include : getAnnotations(m_def->getProgramSymbol(), INCLUDE_ANNOTATION))
523 {
524 includeData.push_back(make_data(include->getValueObject()->toString()));
525 Log::info("include %s\n", include->getValueObject()->toString().c_str());
526 }
527 }
528 m_templateData["includes"] = includeData;
529}
530
531data_list Generator::makeGroupIncludesTemplateData(Group *group)
532{

Callers

nothing calls this directly

Calls 6

make_dataFunction · 0.85
hasProgramSymbolMethod · 0.80
getProgramSymbolMethod · 0.80
push_backMethod · 0.80
getValueObjectMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected