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

#include "global.h"
#include "input.h"
#include "named_node_resolution.h"

#include <util/generic/maybe.h>
#include <util/generic/string.h>

namespace NSQLComplete {

TMaybe<TFunctionContext> EnclosingFunction(TParsedInput input, const INamedNodes& nodes);

TMaybe<TFunctionContext> GetFunction(SQLv1::Table_refContext* ctx, const INamedNodes& nodes);

} // namespace NSQLComplete