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

#include <yql/essentials/parser/proto_ast/gen/v1_proto_split/SQLv1Parser.pb.main.h>

namespace NSQLTranslationV1 {

using namespace NSQLv1Generated;

const TRule_tuple_or_expr* GetTupleOrExpr(const TRule_smart_parenthesis& msg);

bool IsSelect(const TRule_smart_parenthesis& msg);

bool IsSelect(const TRule_expr& msg);

bool IsOnlySubExpr(const TRule_select_subexpr& msg);

} // namespace NSQLTranslationV1