summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/proto_parser/parse_tree.h
blob: 74936d904665f51c87a47e742741fa4557e47b72 (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