blob: d9d701874d41252517ba585873b27b923ebd97e7 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | #pragma once
#include "public.h"
#include "token.h"
#include <util/generic/ptr.h>
namespace NYson {
    ////////////////////////////////////////////////////////////////////////////////
    class TStatelessLexer {
    public:
        TStatelessLexer();
        ~TStatelessLexer();
        size_t GetToken(const TStringBuf& data, TToken* token);
    private:
        class TImpl;
        THolder<TImpl> Impl;
    };
    ////////////////////////////////////////////////////////////////////////////////
} // namespace NYson
 |