#pragma once #include namespace NSQLTranslationV1 { NSQLTranslation::ILexer::TPtr MakeLexer(bool ansi, bool antlr4); // "Probably" because YQL keyword can be an identifier // depending on a query context. For example // in SELECT * FROM group - group is an identifier, but // in SELECT * FROM ... GROUP BY ... - group is a keyword. bool IsProbablyKeyword(const NSQLTranslation::TParsedToken& token); bool SplitQueryToStatements(const TString& query, NSQLTranslation::ILexer::TPtr& lexer, TVector& statements, NYql::TIssues& issues); }