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

Function parse

erpcgen/src/cpptemplate/cpptempl.cpp:2143–2146  ·  view source on GitHub ↗

* parse * * 1. tokenizes template * 2. parses tokens into tree * 3. resolves template * 4. returns converted text ************************************************************************/

Source from the content-addressed store, hash-verified

2141 * 4. returns converted text
2142 ************************************************************************/
2143std::string parse(const std::string &templ_text, data_map &data)
2144{
2145 return DataTemplate(templ_text).eval(data);
2146}
2147void parse(std::ostream &stream, const std::string &templ_text, data_map &data)
2148{
2149 DataTemplate(templ_text).eval(stream, data);

Callers 6

generateOutputFileMethod · 0.85
parseSubtemplatesMethod · 0.85
getUnionMembersDataMethod · 0.85
parseSubtemplatesMethod · 0.85
parseSubtemplatesMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 2

DataTemplateClass · 0.85
evalMethod · 0.80

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68