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

Method parseSubtemplates

erpcgen/src/CGenerator.cpp:205–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void CGenerator::parseSubtemplates()
206{
207 string templateName = "cpp_coders";
208 try
209 {
210 parse(kCppCoders, m_templateData);
211 templateName = "cpp_common_functions";
212 parse(kCppCommonFunctions, m_templateData);
213 }
214 catch (TemplateException &e)
215 {
216 throw TemplateException(format_string("Template %s: %s", templateName.c_str(), e.what()));
217 }
218}
219
220DataType *CGenerator::findChildDataType(set<DataType *> &dataTypes, DataType *dataType)
221{

Callers

nothing calls this directly

Calls 3

parseFunction · 0.85
TemplateExceptionClass · 0.85
format_stringFunction · 0.85

Tested by

no test coverage detected