Rename folders and API in query/logical directory
Summary: Rename typecheck folder to semantic Rename TypecheckVisitor to SymbolGenerator Rename Apply to MakeLogicalPlan Reviewers: florijan, mislav.bradac Reviewed By: mislav.bradac Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D119
This commit is contained in:
parent
f626e308c4
commit
de9e4991ac
@ -5,7 +5,7 @@
|
||||
#include "utils/assert.hpp"
|
||||
#include "query/backend/cpp/typed_value.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/typecheck/symbol_table.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
|
||||
namespace query {
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "database/graph_db_accessor.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/interpret/interpret.hpp"
|
||||
#include "query/frontend/typecheck/symbol_table.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
|
||||
namespace query {
|
||||
|
||||
|
@ -34,7 +34,7 @@ std::shared_ptr<LogicalOperator> GenReturn(
|
||||
return std::make_shared<Produce>(current_op, ret.named_expressions_);
|
||||
}
|
||||
|
||||
std::shared_ptr<LogicalOperator> Apply(Query& query)
|
||||
std::shared_ptr<LogicalOperator> MakeLogicalPlan(Query& query)
|
||||
{
|
||||
std::shared_ptr<LogicalOperator> current_op;
|
||||
for (auto& clause : query.clauses_) {
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
#include "utils/exceptions/basic_exception.hpp"
|
||||
#include "query/frontend/ast/ast.hpp"
|
||||
#include "query/frontend/typecheck/symbol_table.hpp"
|
||||
#include "query/frontend/semantic/symbol_table.hpp"
|
||||
|
||||
namespace query {
|
||||
|
||||
class TypeCheckVisitor : public TreeVisitorBase {
|
||||
class SymbolGenerator : public TreeVisitorBase {
|
||||
public:
|
||||
TypeCheckVisitor(SymbolTable& symbol_table) : symbol_table_(symbol_table) {}
|
||||
SymbolGenerator(SymbolTable& symbol_table) : symbol_table_(symbol_table) {}
|
||||
|
||||
// Expressions
|
||||
void PreVisit(NamedExpression& named_expr) override {
|
Loading…
Reference in New Issue
Block a user