summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/core/input.h
blob: d852736cb44edab4acb466d3408a10368f479bfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <util/generic/string.h>

namespace NSQLComplete {

    struct TCompletionInput {
        TStringBuf Text;
        size_t CursorPosition = Text.length();
    };

    TCompletionInput SharpedInput(TString& text Y_LIFETIME_BOUND);

} // namespace NSQLComplete