MCPcopy Create free account
hub / github.com/apache/kvrocks / Parse

Function Parse

tests/cppunit/redis_query_parser_test.cc:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace kqir::redis_query;
28
29static auto Parse(const std::string& in, const kqir::ParamMap& pm = {}) {
30 return ParseToIR(string_input(in, "test"), pm);
31}
32
33#define AssertSyntaxError(node) ASSERT_EQ(node.Msg(), "invalid syntax"); // NOLINT
34

Callers 1

TESTFunction · 0.70

Calls 1

ParseToIRFunction · 0.50

Tested by

no test coverage detected