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

Method parse_bterm

erpcgen/src/cpptemplate/cpptempl.cpp:1462–1475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1460}
1461
1462data_ptr ExprParser::parse_bterm()
1463{
1464 data_ptr ldata = parse_bfactor();
1465
1466 while (m_tok->get_type() == token_type_t::AND_TOKEN)
1467 {
1468 m_tok.match(token_type_t::AND_TOKEN);
1469
1470 data_ptr rdata = parse_bfactor();
1471
1472 ldata = (!ldata->empty() && !rdata->empty());
1473 }
1474 return ldata;
1475}
1476
1477data_ptr ExprParser::parse_oterm()
1478{

Callers

nothing calls this directly

Calls 3

get_typeMethod · 0.80
matchMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected