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