summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/proto_parser/antlr4
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2025-10-07 09:34:39 +0300
committervitya-smirnov <[email protected]>2025-10-07 09:52:14 +0300
commitbabe7533f18c11be1f8a195ed2324d2d9a89436a (patch)
tree45b7627141bf5a52b45a3d61fd1fbdd564bb8dd9 /yql/essentials/sql/v1/proto_parser/antlr4
parent8fe7cfe254fde2772477a8933a163b5f303716b4 (diff)
YQL-20086 sql/v1
commit_hash:55bc611cdaa0d8a0fc3c4c7708ed9f17cc4976cf
Diffstat (limited to 'yql/essentials/sql/v1/proto_parser/antlr4')
-rw-r--r--yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.cpp10
-rw-r--r--yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.cpp b/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.cpp
index 6cdf0c6d2fb..2d29d0a6ffd 100644
--- a/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.cpp
+++ b/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.cpp
@@ -8,7 +8,7 @@ namespace NSQLTranslationV1 {
namespace {
-class TParser : public NSQLTranslation::IParser {
+class TParser: public NSQLTranslation::IParser {
public:
explicit TParser(bool isAmbuguityError, bool isAmbiguityDebugging)
: IsAmbiguityError_(isAmbuguityError)
@@ -17,13 +17,13 @@ public:
}
google::protobuf::Message* Parse(
- const TString& query, const TString& queryName, NProtoAST::IErrorCollector& err,
+ const TString& query, const TString& queryName, NProtoAST::IErrorCollector& err,
google::protobuf::Arena* arena) final {
YQL_ENSURE(arena);
NProtoAST::TProtoASTBuilder4<
NALPDefaultAntlr4::SQLv1Antlr4Parser,
NALPDefaultAntlr4::SQLv1Antlr4Lexer>
- builder(query, queryName, arena, IsAmbiguityError_, IsAmbiguityDebugging_);
+ builder(query, queryName, arena, IsAmbiguityError_, IsAmbiguityDebugging_);
return builder.BuildAST(err);
}
@@ -49,7 +49,7 @@ private:
bool IsAmbiguityDebugging_;
};
-}
+} // namespace
NSQLTranslation::TParserFactoryPtr MakeAntlr4ParserFactory(
bool isAmbiguityError,
@@ -58,4 +58,4 @@ NSQLTranslation::TParserFactoryPtr MakeAntlr4ParserFactory(
return MakeIntrusive<TFactory>(isAmbiguityError, isAmbiguityDebugging);
}
-}
+} // namespace NSQLTranslationV1
diff --git a/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.h b/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.h
index 5b33b43c0d3..146dcfff7aa 100644
--- a/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.h
+++ b/yql/essentials/sql/v1/proto_parser/antlr4/proto_parser.h
@@ -7,4 +7,4 @@ NSQLTranslation::TParserFactoryPtr MakeAntlr4ParserFactory(
bool isAmbiguityError = false,
bool isAmbiguityDebugging = false);
-}
+} // namespace NSQLTranslationV1