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

Function Parse

tests/cppunit/sql_parser_test.cc:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.70

Calls 1

ParseToIRFunction · 0.50

Tested by

no test coverage detected