summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/analysis/global/function.h
blob: 25c0b07cc98c55aea39173c6b2f189e66c2da0a5 (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.h"

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

namespace NSQLComplete {

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

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

} // namespace NSQLComplete