aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node_visitor.h
diff options
context:
space:
mode:
authormonster <monster@yandex-team.ru>2022-02-10 16:47:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:19 +0300
commitb23c1d7a8015c2006a148fd93b84cdeb0aee17a3 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yson/node/node_visitor.h
parentdd76ae1f6213d065375ab296699f764faafbe5bd (diff)
downloadydb-b23c1d7a8015c2006a148fd93b84cdeb0aee17a3.tar.gz
Restoring authorship annotation for <monster@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/node/node_visitor.h')
-rw-r--r--library/cpp/yson/node/node_visitor.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/library/cpp/yson/node/node_visitor.h b/library/cpp/yson/node/node_visitor.h
index d4eb8e5667..db25832309 100644
--- a/library/cpp/yson/node/node_visitor.h
+++ b/library/cpp/yson/node/node_visitor.h
@@ -1,37 +1,37 @@
-#pragma once
-
+#pragma once
+
#include "node.h"
#include <library/cpp/yson/consumer.h>
-
-namespace NYT {
-
-////////////////////////////////////////////////////////////////////////////////
-
-class TNodeVisitor
-{
-public:
+
+namespace NYT {
+
+////////////////////////////////////////////////////////////////////////////////
+
+class TNodeVisitor
+{
+public:
TNodeVisitor(NYson::IYsonConsumer* consumer, bool sortMapKeys = false);
-
- void Visit(const TNode& node);
+
+ void Visit(const TNode& node);
void VisitMap(const TNode::TMapType& nodeMap);
void VisitList(const TNode::TListType& nodeMap);
-
-private:
+
+private:
NYson::IYsonConsumer* Consumer_;
bool SortMapKeys_;
-
-private:
- void VisitAny(const TNode& node);
-
- void VisitString(const TNode& node);
- void VisitInt64(const TNode& node);
- void VisitUint64(const TNode& node);
- void VisitDouble(const TNode& node);
- void VisitBool(const TNode& node);
- void VisitEntity();
-};
-
-////////////////////////////////////////////////////////////////////////////////
-
-} // namespace NYT
+
+private:
+ void VisitAny(const TNode& node);
+
+ void VisitString(const TNode& node);
+ void VisitInt64(const TNode& node);
+ void VisitUint64(const TNode& node);
+ void VisitDouble(const TNode& node);
+ void VisitBool(const TNode& node);
+ void VisitEntity();
+};
+
+////////////////////////////////////////////////////////////////////////////////
+
+} // namespace NYT