Cleanup query/context.hpp

Summary:
Rename Context to ExecutionContext and make it struct
Move ParsingContext to cypher_main_visitor.hpp

Reviewers: mtomic, llugovic

Reviewed By: llugovic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1810
This commit is contained in:
Teon Banek
2019-01-16 11:30:17 +01:00
parent aba360968c
commit d7422a16d2
22 changed files with 407 additions and 408 deletions

View File

@@ -436,7 +436,7 @@ void ExaminePlans(
}
query::Query *MakeAst(const std::string &query, query::AstStorage *storage) {
query::ParsingContext parsing_context;
query::frontend::ParsingContext parsing_context;
parsing_context.is_query_cached = false;
// query -> AST
auto parser = std::make_unique<query::frontend::opencypher::Parser>(query);