diff options
author | monster <monster@yandex-team.ru> | 2022-02-10 16:47:19 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:19 +0300 |
commit | b23c1d7a8015c2006a148fd93b84cdeb0aee17a3 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yson/lexer.cpp | |
parent | dd76ae1f6213d065375ab296699f764faafbe5bd (diff) | |
download | ydb-b23c1d7a8015c2006a148fd93b84cdeb0aee17a3.tar.gz |
Restoring authorship annotation for <monster@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson/lexer.cpp')
-rw-r--r-- | library/cpp/yson/lexer.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/yson/lexer.cpp b/library/cpp/yson/lexer.cpp index 6864991c24..5eae94273b 100644 --- a/library/cpp/yson/lexer.cpp +++ b/library/cpp/yson/lexer.cpp @@ -1,16 +1,16 @@ -#include "lexer.h" -#include "lexer_detail.h" -#include "token.h" - -#include <util/generic/ptr.h> - +#include "lexer.h" +#include "lexer_detail.h" +#include "token.h" + +#include <util/generic/ptr.h> + namespace NYson { //////////////////////////////////////////////////////////////////////////////// - + class TStatelessLexer::TImpl { private: THolder<TStatelessYsonLexerImplBase> Impl; - + public: TImpl(bool enableLinePositionInfo = false) : Impl(enableLinePositionInfo @@ -18,26 +18,26 @@ namespace NYson { : static_cast<TStatelessYsonLexerImplBase*>(new TStatelesYsonLexerImpl<false>())) { } - + size_t GetToken(const TStringBuf& data, TToken* token) { return Impl->GetToken(data, token); } }; - + //////////////////////////////////////////////////////////////////////////////// TStatelessLexer::TStatelessLexer() : Impl(new TImpl()) - { - } - + { + } + TStatelessLexer::~TStatelessLexer() { } - + size_t TStatelessLexer::GetToken(const TStringBuf& data, TToken* token) { return Impl->GetToken(data, token); } - + //////////////////////////////////////////////////////////////////////////////// - + } // namespace NYson |