summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/ide/completion/analysis/global/parse_tree.h
blob: ef3fca9b6dbdc96ab8d2b8f31550fdf95c68e3ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <yql/essentials/sql/v1/ide/completion/core/position.h>
#include <yql/essentials/sql/v1/ide/pure_ast/parse_tree.h>

#include <util/generic/maybe.h>

namespace NSQLComplete {

using namespace NSQLPureAST;

TMaybe<std::string> GetName(SQLv1::Bind_parameterContext* ctx);

TPosition GetPosition(SQLv1::Bind_parameterContext* ctx);

} // namespace NSQLComplete