blob: c2451458631e3944d6cb164f370540aeca80bf70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <yql/essentials/sql/v1/ide/completion/core/input.h>
#include <yql/essentials/sql/v1/ide/pure_ast/parse_tree.h>
namespace NSQLComplete {
using namespace NSQLPureAST;
struct TParsedInput {
TCompletionInput Original; // with CursorPosition in UTF8 runes, not bytes
antlr4::CommonTokenStream* Tokens;
SQLv1* Parser;
SQLv1::Sql_queryContext* SqlQuery;
};
} // namespace NSQLComplete
|