MCPcopy Create free account
hub / github.com/GJDuck/e9patch / parseMatch

Function parseMatch

src/e9tool/e9action.cpp:858–864  ·  view source on GitHub ↗

* Parse a match expr. */

Source from the content-addressed store, hash-verified

856 * Parse a match expr.
857 */
858MatchExpr *parseMatch(const ELF &elf, const char *str)
859{
860 Parser parser(str, "matching", elf);
861 MatchExpr *expr = parseMatchExpr(parser);
862 parser.expectToken(TOKEN_EOF);
863 return expr;
864}
865
866/*
867 * Parse a function name.

Callers 1

main_2Function · 0.85

Calls 2

parseMatchExprFunction · 0.85
expectTokenMethod · 0.80

Tested by

no test coverage detected