blob: 95a88037cb6bb685d2be4f023e5f2721e2abef5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "reflection.h"
#include <yql/essentials/parser/proto_ast/gen/v1_proto_split_antlr4/SQLv1Antlr4Parser.pb.main.h>
#include <google/protobuf/message.h>
#include <util/generic/string.h>
namespace NSQLTranslationV1 {
using namespace NSQLv1Generated;
struct TStatementName {
TString Internal;
TString Human;
static TStatementName FromAltDescription(const TString& alt);
template <typename T>
static TStatementName From(const T& node) {
return FromAltDescription(AltDescription(node));
}
};
} // namespace NSQLTranslationV1
|