blob: 38a95a7271771b42af924a42214357b7c96fbbb3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <yql/essentials/sql/v1/ide/pure_ast/cursor_text.h>
#include <util/generic/string.h>
namespace NSQLComplete {
using TCompletionInput = NSQLPureAST::TCursorText;
struct TMaterializedInput {
TString Text;
size_t CursorPosition = Text.length();
};
TCompletionInput SharpedInput(TString& text Y_LIFETIME_BOUND);
} // namespace NSQLComplete
|