aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson_pull/detail/symbols.h
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/yson_pull/detail/symbols.h
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson_pull/detail/symbols.h')
-rw-r--r--library/cpp/yson_pull/detail/symbols.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/library/cpp/yson_pull/detail/symbols.h b/library/cpp/yson_pull/detail/symbols.h
index dedf437535..fe94bb9c41 100644
--- a/library/cpp/yson_pull/detail/symbols.h
+++ b/library/cpp/yson_pull/detail/symbols.h
@@ -3,53 +3,53 @@
#include <util/generic/strbuf.h>
#include <util/system/types.h>
-namespace NYsonPull {
- namespace NDetail {
- namespace NSymbol {
+namespace NYsonPull {
+ namespace NDetail {
+ namespace NSymbol {
#define SYM(name, value) constexpr ui8 name = value
- //! Indicates the beginning of a list.
- SYM(begin_list, '[');
- //! Indicates the end of a list.
- SYM(end_list, ']');
-
- //! Indicates the beginning of a map.
- SYM(begin_map, '{');
- //! Indicates the end of a map.
- SYM(end_map, '}');
-
- //! Indicates the beginning of an attribute map.
- SYM(begin_attributes, '<');
- //! Indicates the end of an attribute map.
- SYM(end_attributes, '>');
-
- //! Separates items in lists and pairs in maps or attribute maps.
- SYM(item_separator, ';');
- //! Separates keys from values in maps and attribute maps.
- SYM(key_value_separator, '=');
-
- //! Indicates an entity.
- SYM(entity, '#');
- //! Indicates end of stream.
- SYM(eof, '\0');
-
- //! Marks the beginning of a binary string literal.
- SYM(string_marker, '\x01');
- //! Marks the beginning of a binary int64 literal.
- SYM(int64_marker, '\x02');
- //! Marks the beginning of a binary uint64 literal.
- SYM(uint64_marker, '\x06');
- //! Marks the beginning of a binary double literal.
- SYM(double_marker, '\x03');
- //! Marks a binary `false' boolean value.
- SYM(false_marker, '\x04');
- //! Marks a binary `true' boolean value.
- SYM(true_marker, '\x05');
-
- //! Text string quote symbol
- SYM(quote, '"');
+ //! Indicates the beginning of a list.
+ SYM(begin_list, '[');
+ //! Indicates the end of a list.
+ SYM(end_list, ']');
+
+ //! Indicates the beginning of a map.
+ SYM(begin_map, '{');
+ //! Indicates the end of a map.
+ SYM(end_map, '}');
+
+ //! Indicates the beginning of an attribute map.
+ SYM(begin_attributes, '<');
+ //! Indicates the end of an attribute map.
+ SYM(end_attributes, '>');
+
+ //! Separates items in lists and pairs in maps or attribute maps.
+ SYM(item_separator, ';');
+ //! Separates keys from values in maps and attribute maps.
+ SYM(key_value_separator, '=');
+
+ //! Indicates an entity.
+ SYM(entity, '#');
+ //! Indicates end of stream.
+ SYM(eof, '\0');
+
+ //! Marks the beginning of a binary string literal.
+ SYM(string_marker, '\x01');
+ //! Marks the beginning of a binary int64 literal.
+ SYM(int64_marker, '\x02');
+ //! Marks the beginning of a binary uint64 literal.
+ SYM(uint64_marker, '\x06');
+ //! Marks the beginning of a binary double literal.
+ SYM(double_marker, '\x03');
+ //! Marks a binary `false' boolean value.
+ SYM(false_marker, '\x04');
+ //! Marks a binary `true' boolean value.
+ SYM(true_marker, '\x05');
+
+ //! Text string quote symbol
+ SYM(quote, '"');
#undef SYM
- }
- }
-}
+ }
+ }
+}