aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/syntax/parser_call_stack.h
blob: 94533bddaaeb4745f1cd651ed20e68a3f424f526 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <yql/essentials/sql/v1/complete/antlr4/defs.h>

namespace NSQLComplete {

    bool IsLikelyPragmaStack(const TParserCallStack& stack);

    bool IsLikelyTypeStack(const TParserCallStack& stack);

    bool IsLikelyFunctionStack(const TParserCallStack& stack);

    std::unordered_set<TRuleId> GetC3PreferredRules();

} // namespace NSQLComplete