From ef5a91b4d8bf0a6ca15d76ae37b04661a2ca98b0 Mon Sep 17 00:00:00 2001 From: Aiee <18348405+Aiee@users.noreply.github.com> Date: Tue, 8 Feb 2022 17:05:25 +0800 Subject: [PATCH 1/4] Add comments to util/ExpressionUtils --- src/graph/util/AstUtils.h | 1 + src/graph/util/ContainerConv.h | 33 --------- src/graph/util/ExpressionUtils.cpp | 113 ++++++++--------------------- src/graph/util/ExpressionUtils.h | 82 +++++++++++++++------ 4 files changed, 90 insertions(+), 139 deletions(-) delete mode 100644 src/graph/util/ContainerConv.h diff --git a/src/graph/util/AstUtils.h b/src/graph/util/AstUtils.h index 8262b0c7df8..ae7dee87ea3 100644 --- a/src/graph/util/AstUtils.h +++ b/src/graph/util/AstUtils.h @@ -11,6 +11,7 @@ namespace nebula { namespace graph { +// Used to test GQL parser class AstUtils final { public: explicit AstUtils(...) = delete; diff --git a/src/graph/util/ContainerConv.h b/src/graph/util/ContainerConv.h deleted file mode 100644 index 817f081d7c9..00000000000 --- a/src/graph/util/ContainerConv.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (c) 2020 vesoft inc. All rights reserved. - * - * This source code is licensed under Apache 2.0 License. - */ - -#ifndef GRAPH_UTIL_CONTAINERCONV_H_ -#define GRAPH_UTIL_CONTAINERCONV_H_ - -#include "common/base/Base.h" - -namespace nebula { -namespace graph { - -class ContainerConv { - public: - explicit ContainerConv(...) = delete; - - template