summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp
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_ansi/proto_parser.cpp
parent8fe7cfe254fde2772477a8933a163b5f303716b4 (diff)
YQL-20086 sql/v1
commit_hash:55bc611cdaa0d8a0fc3c4c7708ed9f17cc4976cf
Diffstat (limited to 'yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp')
-rw-r--r--yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp b/yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp
index bf0160ade02..89eb7c5aa1a 100644
--- a/yql/essentials/sql/v1/proto_parser/antlr4_ansi/proto_parser.cpp
+++ b/yql/essentials/sql/v1/proto_parser/antlr4_ansi/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<
NALPAnsiAntlr4::SQLv1Antlr4Parser,
NALPAnsiAntlr4::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 MakeAntlr4AnsiParserFactory(
bool isAmbiguityError,
@@ -58,4 +58,4 @@ NSQLTranslation::TParserFactoryPtr MakeAntlr4AnsiParserFactory(
return MakeIntrusive<TFactory>(isAmbiguityError, isAmbiguityDebugging);
}
-}
+} // namespace NSQLTranslationV1