aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/syntax/format.h
blob: 8527788f2093c6f40430b4cb0b67bd54cc389336 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

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

namespace NSQLComplete {

    TString FormatKeywords(const TVector<TString>& seq);

    bool IsPlain(TStringBuf content);

    bool IsQuoted(TStringBuf content);

    TString Quoted(TString content);

    TStringBuf Unquoted(TStringBuf content);

    bool IsBinding(TStringBuf content);

    TStringBuf Unbinded(TStringBuf content);

} // namespace NSQLComplete