blob: 98738728231159d5aed6fd035fdadaa8d1ac8482 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <yql/essentials/sql/v1/complete/antlr4/defs.h>
#include <yql/essentials/sql/v1/complete/core/statement.h>
namespace NSQLComplete {
bool IsLikelyPragmaStack(const TParserCallStack& stack);
bool IsLikelyTypeStack(const TParserCallStack& stack);
bool IsLikelyFunctionStack(const TParserCallStack& stack);
bool IsLikelyHintStack(const TParserCallStack& stack);
std::optional<EStatementKind> StatementKindOf(const TParserCallStack& stack);
std::unordered_set<TRuleId> GetC3PreferredRules();
} // namespace NSQLComplete
|