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

Method match

erpcgen/src/cpptemplate/cpptempl.cpp:785–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785const Token *TokenIterator::match(token_type_t tokenType, const char *failure_msg)
786{
787 const Token *result = get();
788 if (result->get_type() != tokenType)
789 {
790 throw TemplateException(failure_msg ? failure_msg : "unexpected token");
791 }
792 next();
793 return result;
794}
795
796TokenIterator &TokenIterator::operator++()
797{

Callers 12

is_test_dirMethod · 0.80
parse_colorFunction · 0.80
parse_factorMethod · 0.80
parse_btermMethod · 0.80
parse_otermMethod · 0.80
parse_exprMethod · 0.80
NodeForMethod · 0.80
is_trueMethod · 0.80
NodeDefMethod · 0.80
gettextMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 3

getFunction · 0.85
TemplateExceptionClass · 0.85
get_typeMethod · 0.80

Tested by 2

is_test_dirMethod · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64