13 lines
342 B
C++
13 lines
342 B
C++
#include "query/context.hpp"
|
|
#include "query/frontend/ast/cypher_main_visitor.hpp"
|
|
|
|
namespace query {
|
|
|
|
std::shared_ptr<Query> HighLevelAstConversion::Apply(Context &ctx,
|
|
antlr4::tree::ParseTree *tree) {
|
|
query::frontend::CypherMainVisitor visitor(ctx);
|
|
visitor.visit(tree);
|
|
return visitor.query();
|
|
}
|
|
}
|