OmniSciDB  16c4e035a1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Parser_wnd_pregen.cpp File Reference
#include <stdio.h>
#include <FlexLexer.h>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <boost/regex.hpp>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <list>
#include <mutex>
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
#include "ParserNode.h"
#include "ReservedKeywords.h"
#include "TrackedPtr.h"
+ Include dependency graph for Parser_wnd_pregen.cpp:

Go to the source code of this file.

Classes

union  yy_Parser_stype
 
class  SQLLexer
 

Macros

#define YY_Parser_h_included
 
#define const
 
#define YYBISON   1
 
#define YY_Parser_CLASS   SQLParser
 
#define YY_Parser_LVAL   yylval
 
#define YY_Parser_CONSTRUCTOR_INIT   : lexer(yylval)
 
#define YY_Parser_MEMBERS
 
#define YY_Parser_LEX_BODY   { return lexer.yylex(); }
 
#define YY_Parser_ERROR_BODY
 
#define YY_Parser_PARSE_PARAM   std::list<std::unique_ptr<Stmt>>& parseTrees
 
#define YY_Parser_STYPE   yy_Parser_stype
 
#define YY_Parser_BISON   1
 
#define YY_Parser_COMPATIBILITY   1
 
#define yystype   YY_Parser_STYPE
 
#define YY_Parser_USE_GOTO   1
 
#define YY_Parser_PARSE   yyparse
 
#define YY_Parser_LEX   yylex
 
#define YY_Parser_LLOC   yylloc
 
#define YY_Parser_CHAR   yychar
 
#define YY_Parser_NERRS   yynerrs
 
#define YY_Parser_DEBUG_FLAG   yydebug
 
#define YY_Parser_ERROR   yyerror
 
#define YYSTYPE   YY_Parser_STYPE
 
#define NAME   258
 
#define DASHEDNAME   259
 
#define EMAIL   260
 
#define STRING   261
 
#define FWDSTR   262
 
#define SELECTSTRING   263
 
#define QUOTED_IDENTIFIER   264
 
#define INTNUM   265
 
#define FIXEDNUM   266
 
#define OR   267
 
#define AND   268
 
#define NOT   269
 
#define EQUAL   270
 
#define COMPARISON   271
 
#define UMINUS   272
 
#define ADD   273
 
#define ALL   274
 
#define ALTER   275
 
#define AMMSC   276
 
#define ANY   277
 
#define ARCHIVE   278
 
#define ARRAY   279
 
#define AS   280
 
#define ASC   281
 
#define AUTHORIZATION   282
 
#define BETWEEN   283
 
#define BIGINT   284
 
#define BOOLEAN   285
 
#define BY   286
 
#define CASE   287
 
#define CAST   288
 
#define CHAR_LENGTH   289
 
#define CHARACTER   290
 
#define CHECK   291
 
#define CLOSE   292
 
#define CLUSTER   293
 
#define COLUMN   294
 
#define COMMIT   295
 
#define CONTINUE   296
 
#define COPY   297
 
#define CREATE   298
 
#define CURRENT   299
 
#define CURSOR   300
 
#define DATABASE   301
 
#define DATAFRAME   302
 
#define DATE   303
 
#define DATETIME   304
 
#define DATE_TRUNC   305
 
#define DECIMAL   306
 
#define DECLARE   307
 
#define DEFAULT   308
 
#define DELETE   309
 
#define DESC   310
 
#define DICTIONARY   311
 
#define DISTINCT   312
 
#define DOUBLE   313
 
#define DROP   314
 
#define DUMP   315
 
#define ELSE   316
 
#define END   317
 
#define EXISTS   318
 
#define EXTRACT   319
 
#define FETCH   320
 
#define FIRST   321
 
#define FLOAT   322
 
#define FOR   323
 
#define FOREIGN   324
 
#define FOUND   325
 
#define FROM   326
 
#define GEOGRAPHY   327
 
#define GEOMETRY   328
 
#define GRANT   329
 
#define GROUP   330
 
#define HAVING   331
 
#define IF   332
 
#define ILIKE   333
 
#define IN   334
 
#define INSERT   335
 
#define INTEGER   336
 
#define INTO   337
 
#define IS   338
 
#define LANGUAGE   339
 
#define LAST   340
 
#define LENGTH   341
 
#define LIKE   342
 
#define LIMIT   343
 
#define LINESTRING   344
 
#define MOD   345
 
#define MULTIPOLYGON   346
 
#define NOW   347
 
#define NULLX   348
 
#define NUMERIC   349
 
#define OF   350
 
#define OFFSET   351
 
#define ON   352
 
#define OPEN   353
 
#define OPTIMIZE   354
 
#define OPTIMIZED   355
 
#define OPTION   356
 
#define ORDER   357
 
#define PARAMETER   358
 
#define POINT   359
 
#define POLYGON   360
 
#define PRECISION   361
 
#define PRIMARY   362
 
#define PRIVILEGES   363
 
#define PROCEDURE   364
 
#define SERVER   365
 
#define SMALLINT   366
 
#define SOME   367
 
#define TABLE   368
 
#define TEMPORARY   369
 
#define TEXT   370
 
#define THEN   371
 
#define TIME   372
 
#define TIMESTAMP   373
 
#define TINYINT   374
 
#define TO   375
 
#define TRUNCATE   376
 
#define UNION   377
 
#define USAGE   378
 
#define PUBLIC   379
 
#define REAL   380
 
#define REFERENCES   381
 
#define RENAME   382
 
#define RESTORE   383
 
#define REVOKE   384
 
#define ROLE   385
 
#define ROLLBACK   386
 
#define SCHEMA   387
 
#define SELECT   388
 
#define SET   389
 
#define SHARD   390
 
#define SHARED   391
 
#define SHOW   392
 
#define UNIQUE   393
 
#define UPDATE   394
 
#define USER   395
 
#define VALIDATE   396
 
#define VALUES   397
 
#define VIEW   398
 
#define WHEN   399
 
#define WHENEVER   400
 
#define WHERE   401
 
#define WITH   402
 
#define WORK   403
 
#define EDIT   404
 
#define ACCESS   405
 
#define DASHBOARD   406
 
#define SQL   407
 
#define EDITOR   408
 
#define YYFINAL   512
 
#define YYFLAG   -32768
 
#define YYNTBASE   168
 
#define YYTRANSLATE(x)   ((unsigned)(x) <= 408 ? yytranslate[x] : 258)
 
#define YYLAST   1529
 
#define YYGOTO(lb)
 
#define YYBEGINGOTO
 
#define YYLABEL(lb)
 
#define YYENDGOTO
 
#define YYBEGINDECLARELABEL   enum yy_labels { yygotostart
 
#define YYDECLARELABEL(lb)   , lb
 
#define YYENDDECLARELABEL
 
#define __ALLOCA_return(num)   return (num)
 
#define __ALLOCA_alloca(size)   alloca(size)
 
#define __ALLOCA_free(ptr, ref)
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (YY_Parser_CHAR = YYEMPTY)
 
#define YYEMPTY   -2
 
#define YYEOF   0
 
#define YYACCEPT   __ALLOCA_return(0)
 
#define YYABORT   __ALLOCA_return(1)
 
#define YYERROR   YYGOTO(yyerrlab1)
 
#define YYFAIL   YYGOTO(yyerrlab)
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(token, value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYLEX   YY_Parser_LEX()
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYPOPSTACK   (yyvsp--, yyssp--)
 

Functions

YYBEGINDECLARELABEL YYDECLARELABEL (yyerrlab) YYDECLARELABEL(yyerrlab1) YYDECLARELABEL(yyerrdefault) YYDECLARELABEL(yyerrpop) YYENDDECLARELABELint YY_Parser_CHAR
 
static void __yy_bcopy (from, to, count) char *from
 
 if (yyssp >=yyss+yystacksize-1)
 
 YYGOTO (yybackup)
 
 YYGOTO (yydefault)
 
 if (YY_Parser_CHAR==YYEMPTY)
 
 if (YY_Parser_CHAR<=0)
 
 if (yyn< 0)
 
else if (yyn==0) YYGOTO(yyerrlab)
 
 YYGOTO (yynewstate)
 
 YYGOTO (yyerrlab)
 
 switch (yyn)
 
 YYLABEL (yyerrlab)
 
 YYGOTO (yyerrlab1)
 
 YYLABEL (yyerrlab1) if(yyerrstatus
 
 YYGOTO (yyerrhandle)
 
 YYLABEL (yyerrdefault) YYLABEL(yyerrpop) YYABORT
 
 YYGOTO (yyerrdefault)
 

Variables

static const short yytranslate []
 
static const short yyr1 []
 
static const short yyr2 []
 
static const short yydefact []
 
static const short yydefgoto []
 
static const short yypact []
 
static const short yypgoto []
 
static const short yytable []
 
static const short yycheck []
 
YY_Parser_STYPE YY_Parser_LVAL
 
int YY_Parser_NERRS = 0
 
char * to
 
int count
 
char * f = from
 
char * t = to
 
int i = count
 
int YY_Parser_PARSE_PARAM_DEF
 
int yyn = yypact[yystate]
 
short * yyssp = yyss - 1
 
YY_Parser_STYPEyyvsp = yyvs
 
int yyerrstatus = 0
 
int yychar1 = 0
 
short yyssa [YYINITDEPTH]
 
YY_Parser_STYPE yyvsa [YYINITDEPTH]
 
short * yyss = yyssa
 
YY_Parser_STYPEyyvs = yyvsa
 
int yystacksize = YYINITDEPTH
 
YY_Parser_STYPE yyval = yyvsp[1 - yylen]
 
int yylen = yyr2[yyn]
 
YYBEGINGOTO yystate = 0
 
 YY_Parser_CHAR = YYEMPTY
 
 else
 
 YYACCEPT
 

Macro Definition Documentation

#define __ALLOCA_alloca (   size)    alloca(size)

Referenced by if().

#define __ALLOCA_free (   ptr,
  ref 
)

Referenced by if().

#define __ALLOCA_return (   num)    return (num)

Referenced by if().

#define ACCESS   405

Definition at line 504 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ADD   273

Definition at line 372 of file Parser_wnd_pregen.cpp.

#define ALTER   275

Definition at line 374 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define AMMSC   276

Definition at line 375 of file Parser_wnd_pregen.cpp.

#define ANY   277

Definition at line 376 of file Parser_wnd_pregen.cpp.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct::ApproxCountDistinct(), com.mapd.calcite.parser.MapDTable::getRelDataType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsValid::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Overlaps::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Approx_Overlaps::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersection::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Difference::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeogFromText::ST_GeogFromText(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText::ST_GeomFromText(), org.apache.calcite.rel.externalize.MapDRelJson::toDistribution(), and while().

#define ARCHIVE   278

Definition at line 377 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define AS   280
#define ASC   281

Definition at line 380 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define AUTHORIZATION   282

Definition at line 381 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define BETWEEN   283

Definition at line 382 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define BIGINT   284

Definition at line 383 of file Parser_wnd_pregen.cpp.

Referenced by get_sql_types(), com.omnisci.jdbc.OmniSciResultSet::getArray(), com.omnisci.jdbc.OmniSciResultSet::getDoubleInternal(), com.omnisci.jdbc.OmniSciResultSet::getObject(), com.mapd.calcite.parser.MapDTable::getRelDataType(), com.omnisci.jdbc.OmniSciArray::getResultSet(), com.omnisci.jdbc.OmniSciResultSet::getStringInternal(), com.mapd.calcite.parser.MapDSqlOperatorTable.MyUDFFunction::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.PgExtract::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.Datepart::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.Datediff::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.OffsetInFragment::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.MapD_GeoPolyBoundsPtr::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.OmniSci_Geo_PolyBoundsPtr::inferReturnType(), com.omnisci.jdbc.OmniSciArray::OmniSciArray(), org.apache.calcite.sql2rel.SqlToRelConverter::rewriteAggregateWithGroupId(), org.apache.calcite.sql2rel.SqlToRelConverter::substituteSubQuery(), thrift_to_type(), com.omnisci.jdbc.OmniSciType::toJava(), com.mapd.parser.server.ExtensionFunction::toSqlTypeName(), org.apache.calcite.sql2rel.SqlToRelConverter::translateIn(), type_to_thrift(), com.mapd.metadata.MetaConnect::typeToThrift(), com.mapd.utility.SQLImporter::verifyColumnSignaturesMatch(), and while().

#define BOOLEAN   285

Definition at line 384 of file Parser_wnd_pregen.cpp.

Referenced by com.mapd.calcite.parser.MapDTable::getRelDataType(), com.mapd.calcite.parser.MapDSqlOperatorTable.SampleRatio::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.PgILike::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.RegexpLike::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsEmpty::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_IsValid::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Contains::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Equals::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersects::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Overlaps::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Approx_Overlaps::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Disjoint::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Within::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DWithin::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_DFullyWithin::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.is_point_in_view::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.is_point_size_in_view::inferReturnType(), com.omnisci.jdbc.OmniSciType::toJava(), com.mapd.parser.server.ExtensionFunction::toSqlTypeName(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_none_type_mapping(), and while().

#define BY   286

Definition at line 385 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CAST   288
#define CHAR_LENGTH   289

Definition at line 388 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CHARACTER   290

Definition at line 389 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CHECK   291

Definition at line 390 of file Parser_wnd_pregen.cpp.

#define CLOSE   292

Definition at line 391 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CLUSTER   293

Definition at line 392 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define COMMIT   295

Definition at line 394 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define COMPARISON   271

Definition at line 370 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CONTINUE   296

Definition at line 395 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define COPY   297

Definition at line 396 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CREATE   298

Definition at line 397 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define CURRENT   299

Definition at line 398 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DASHBOARD   406

Definition at line 505 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DASHEDNAME   259

Definition at line 358 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DATABASE   301

Definition at line 400 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DATAFRAME   302

Definition at line 401 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DATE_TRUNC   305

Definition at line 404 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DATETIME   304

Definition at line 403 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DECLARE   307

Definition at line 406 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DESC   310

Definition at line 409 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DISTINCT   312

Definition at line 411 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DOUBLE   313

Definition at line 412 of file Parser_wnd_pregen.cpp.

Referenced by import_export::TypedImportBuffer::add_arrow_values(), ThriftSerializers::column_ranges_from_thrift(), DBHandler::copyparams_to_thrift(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::create_parquet_floating_point_encoder(), com.mapd.calcite.parser.MapDParser::expandCovariance(), com.mapd.calcite.parser.MapDParser::expandVariance(), com.omnisci.jdbc.OmniSciPrepareTest::get_metadata(), get_sql_types(), com.omnisci.jdbc.OmniSciResultSet::getArray(), com.omnisci.jdbc.OmniSciResultSet::getDoubleInternal(), com.omnisci.jdbc.OmniSciResultSet::getObject(), getOmnisciType(), com.mapd.calcite.parser.MapDTable::getRelDataType(), com.omnisci.jdbc.OmniSciArray::getResultSet(), com.omnisci.jdbc.OmniSciResultSet::getStringInternal(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Distance::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_MaxDistance::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_X::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Y::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMin::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_XMax::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_YMin::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_YMax::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Length::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Perimeter::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Area::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxMedian::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxPercentile::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxQuantile::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.MapDAvg::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_width::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.convert_meters_to_pixel_height::inferReturnType(), com.omnisci.jdbc.OmniSciArray::OmniSciArray(), DBHandler::thrift_to_copyparams(), thrift_to_type(), com.omnisci.jdbc.OmniSciType::toJava(), com.mapd.parser.server.ExtensionFunction::toSqlTypeName(), anonymous_namespace{ArrowResultSet.cpp}::type_from_arrow_field(), type_to_thrift(), com.mapd.metadata.MetaConnect::typeToThrift(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_floating_point_mapping(), anonymous_namespace{ArrowImporter.h}::value_getter(), com.mapd.utility.SQLImporter::verifyColumnSignaturesMatch(), and while().

#define DROP   314

Definition at line 413 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define DUMP   315

Definition at line 414 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define EDIT   404

Definition at line 503 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define EDITOR   408

Definition at line 507 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ELSE   316

Definition at line 415 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define EMAIL   260

Definition at line 359 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define END   317

Definition at line 416 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define EQUAL   270

Definition at line 369 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define EXTRACT   319

Definition at line 418 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FETCH   320

Definition at line 419 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FIRST   321

Definition at line 420 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FIXEDNUM   266

Definition at line 365 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FOR   323

Definition at line 422 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FOREIGN   324

Definition at line 423 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FOUND   325

Definition at line 424 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define FWDSTR   262

Definition at line 361 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define GEOGRAPHY   327
#define GRANT   329

Definition at line 428 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define GROUP   330

Definition at line 429 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define HAVING   331

Definition at line 430 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define IF   332

Definition at line 431 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ILIKE   333

Definition at line 432 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define INTEGER   336

Definition at line 435 of file Parser_wnd_pregen.cpp.

Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable.ApproxCountDistinct::ApproxCountDistinct(), ThriftSerializers::column_ranges_from_thrift(), com.omnisci.jdbc.OmniSciPrepareTest::get_metadata(), com.mapd.calcite.parser.MapDTable::getRelDataType(), com.mapd.calcite.parser.MapDSqlOperatorTable.Length::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.CharLength::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.KeyForString::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.WidthBucket::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ArrayLength::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeogFromText::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Transform::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_PointN::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_EndPoint::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_StartPoint::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NPoints::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_NRings::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SRID::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_SetSRID::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Point::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Centroid::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Buffer::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Intersection::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Union::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_Difference::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.CastToGeography::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.MapD_GeoPolyRenderGroup::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.OmniSci_Geo_PolyRenderGroup::inferReturnType(), com.mapd.calcite.parser.MapDSqlOperatorTable.WidthBucket::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.Truncate::signature(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeogFromText::ST_GeogFromText(), com.mapd.calcite.parser.MapDSqlOperatorTable.ST_GeomFromText::ST_GeomFromText(), com.omnisci.jdbc.OmniSciType::toJava(), com.mapd.parser.server.ExtensionFunction::toSqlTypeName(), and while().

#define INTNUM   265

Definition at line 364 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define INTO   337

Definition at line 436 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define IS   338

Definition at line 437 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define LANGUAGE   339

Definition at line 438 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define LAST   340

Definition at line 439 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define LENGTH   341

Definition at line 440 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define LIKE   342

Definition at line 441 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define LIMIT   343

Definition at line 442 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define MOD   345

Definition at line 444 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define NAME   258

Definition at line 357 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define NOW   347

Definition at line 446 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define NULLX   348

Definition at line 447 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define OF   350

Definition at line 449 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ON   352
#define OPEN   353

Definition at line 452 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define OPTIMIZE   354

Definition at line 453 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define OPTIMIZED   355

Definition at line 454 of file Parser_wnd_pregen.cpp.

#define OPTION   356

Definition at line 455 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ORDER   357

Definition at line 456 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define PARAMETER   358

Definition at line 457 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define PRECISION   361

Definition at line 460 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define PRIMARY   362
#define PRIVILEGES   363

Definition at line 462 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define PROCEDURE   364

Definition at line 463 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define PUBLIC   379

Definition at line 478 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define QUOTED_IDENTIFIER   264

Definition at line 363 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define REAL   380

Definition at line 479 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define REFERENCES   381

Definition at line 480 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define RENAME   382

Definition at line 481 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define RESTORE   383

Definition at line 482 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define REVOKE   384

Definition at line 483 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ROLE   385

Definition at line 484 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define ROLLBACK   386

Definition at line 485 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SCHEMA   387
#define SELECTSTRING   263

Definition at line 362 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SERVER   365

Definition at line 464 of file Parser_wnd_pregen.cpp.

Referenced by DBHandler::getServerRole(), and while().

#define SET   389

Definition at line 488 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SHARD   390

Definition at line 489 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SHARED   391

Definition at line 490 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SHOW   392

Definition at line 491 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define SQL   407

Definition at line 506 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define TABLE   368
#define TEMPORARY   369

Definition at line 468 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define THEN   371

Definition at line 470 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define TIMESTAMP   373
#define TRUNCATE   376

Definition at line 475 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define UMINUS   272

Definition at line 371 of file Parser_wnd_pregen.cpp.

#define UNIQUE   393

Definition at line 492 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define USAGE   378

Definition at line 477 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define USER   395

Definition at line 494 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define VALIDATE   396

Definition at line 495 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define WHEN   399

Definition at line 498 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define WHENEVER   400

Definition at line 499 of file Parser_wnd_pregen.cpp.

#define WHERE   401

Definition at line 500 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define WORK   403

Definition at line 502 of file Parser_wnd_pregen.cpp.

Referenced by while().

#define YY_Parser_BISON   1

Definition at line 183 of file Parser_wnd_pregen.cpp.

#define YY_Parser_CHAR   yychar

Definition at line 292 of file Parser_wnd_pregen.cpp.

#define YY_Parser_CLASS   SQLParser

Definition at line 83 of file Parser_wnd_pregen.cpp.

#define YY_Parser_COMPATIBILITY   1

Definition at line 186 of file Parser_wnd_pregen.cpp.

#define YY_Parser_CONSTRUCTOR_INIT   : lexer(yylval)

Definition at line 85 of file Parser_wnd_pregen.cpp.

#define YY_Parser_DEBUG_FLAG   yydebug

Definition at line 298 of file Parser_wnd_pregen.cpp.

Referenced by if().

#define YY_Parser_ERROR   yyerror

Definition at line 301 of file Parser_wnd_pregen.cpp.

Referenced by if(), and YYLABEL().

#define YY_Parser_ERROR_BODY
Value:
{} /*{ std::cerr << "Syntax error on line " << lexer.lineno() << ". Last word parsed: \
" << lexer.YYText() << std::endl; } */

Definition at line 125 of file Parser_wnd_pregen.cpp.

#define YY_Parser_h_included

Definition at line 1 of file Parser_wnd_pregen.cpp.

#define YY_Parser_LEX   yylex

Definition at line 283 of file Parser_wnd_pregen.cpp.

#define YY_Parser_LEX_BODY   { return lexer.yylex(); }

Definition at line 123 of file Parser_wnd_pregen.cpp.

#define YY_Parser_LLOC   yylloc

Definition at line 289 of file Parser_wnd_pregen.cpp.

#define YY_Parser_LVAL   yylval

Definition at line 84 of file Parser_wnd_pregen.cpp.

#define YY_Parser_MEMBERS

Definition at line 86 of file Parser_wnd_pregen.cpp.

#define YY_Parser_NERRS   yynerrs

Definition at line 295 of file Parser_wnd_pregen.cpp.

Referenced by YYLABEL().

#define YY_Parser_PARSE   yyparse

Definition at line 280 of file Parser_wnd_pregen.cpp.

#define YY_Parser_PARSE_PARAM   std::list<std::unique_ptr<Stmt>>& parseTrees

Definition at line 155 of file Parser_wnd_pregen.cpp.

#define YY_Parser_STYPE   yy_Parser_stype

Definition at line 169 of file Parser_wnd_pregen.cpp.

Referenced by if().

#define YY_Parser_USE_GOTO   1

Definition at line 216 of file Parser_wnd_pregen.cpp.

#define YYABORT   __ALLOCA_return(1)

Referenced by if().

#define YYACCEPT   __ALLOCA_return(0)
#define YYBACKUP (   token,
  value 
)
Value:
YY_Parser_CHAR = (token), YY_Parser_LVAL = (value); \
YYGOTO(yybackup); \
} else { \
YY_Parser_ERROR("syntax error: cannot back up"); \
} \
while (0)
int yychar1
#define YY_Parser_LVAL
int yylen
#define YY_Parser_CHAR
#define YYEMPTY
#define YY_Parser_ERROR
#define YYGOTO(lb)
#define YYTRANSLATE(x)
#define YYPOPSTACK
#define YYERROR
if(yyssp >=yyss+yystacksize-1)
#define YYBEGINDECLARELABEL   enum yy_labels { yygotostart

Definition at line 1845 of file Parser_wnd_pregen.cpp.

#define YYBEGINGOTO
Value:
enum yy_labels yy_gotostate = yygotostart; \
for (;;) \
switch (yy_gotostate) { \
case yygotostart: {

Definition at line 1834 of file Parser_wnd_pregen.cpp.

#define YYBISON   1

Definition at line 80 of file Parser_wnd_pregen.cpp.

#define yyclearin   (YY_Parser_CHAR = YYEMPTY)
#define YYDECLARELABEL (   lb)    , lb

Definition at line 1846 of file Parser_wnd_pregen.cpp.

#define YYEMPTY   -2
#define YYENDDECLARELABEL
Value:
} \
;

Definition at line 1847 of file Parser_wnd_pregen.cpp.

#define YYENDGOTO
Value:
} \
}

Definition at line 1842 of file Parser_wnd_pregen.cpp.

#define YYEOF   0

Referenced by if().

#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define YYERROR   YYGOTO(yyerrlab1)
#define YYFAIL   YYGOTO(yyerrlab)
#define YYFINAL   512

Definition at line 1069 of file Parser_wnd_pregen.cpp.

#define YYFLAG   -32768

Definition at line 1070 of file Parser_wnd_pregen.cpp.

Referenced by if(), and YYLABEL().

#define YYGOTO (   lb)
Value:
{ \
yy_gotostate = lb; \
continue; \
}

Definition at line 1829 of file Parser_wnd_pregen.cpp.

Referenced by if().

#define YYINITDEPTH   200

Definition at line 1967 of file Parser_wnd_pregen.cpp.

#define YYLABEL (   lb)
Value:
} \
case lb: {

Definition at line 1839 of file Parser_wnd_pregen.cpp.

#define YYLAST   1529

Definition at line 1615 of file Parser_wnd_pregen.cpp.

Referenced by YYLABEL().

#define YYLEX   YY_Parser_LEX()

Referenced by if().

#define YYMAXDEPTH   10000

Definition at line 1978 of file Parser_wnd_pregen.cpp.

Referenced by if().

#define YYNTBASE   168

Definition at line 1071 of file Parser_wnd_pregen.cpp.

#define YYPOPSTACK   (yyvsp--, yyssp--)

Definition at line 2043 of file Parser_wnd_pregen.cpp.

#define YYRECOVERING ( )    (!!yyerrstatus)
#define yystype   YY_Parser_STYPE

Definition at line 211 of file Parser_wnd_pregen.cpp.

#define YYSTYPE   YY_Parser_STYPE

Definition at line 328 of file Parser_wnd_pregen.cpp.

#define YYTERROR   1
#define YYTRANSLATE (   x)    ((unsigned)(x) <= 408 ? yytranslate[x] : 258)

Definition at line 1073 of file Parser_wnd_pregen.cpp.

Function Documentation

static void __yy_bcopy ( from  ,
to  ,
count   
)
static

Referenced by if().

+ Here is the caller graph for this function:

if ( yyssp >=yyss+yystacksize 1)

Definition at line 2092 of file Parser_wnd_pregen.cpp.

References __ALLOCA_alloca, __ALLOCA_free, __ALLOCA_return, __yy_bcopy(), YY_Parser_DEBUG_FLAG, YY_Parser_ERROR, YY_Parser_STYPE, YYABORT, YYMAXDEPTH, yyss, and yyvs.

Referenced by QueryFragmentDescriptor::buildMultifragKernelMap(), org.apache.calcite.sql2rel.SqlToRelConverter::convertNonCorrelatedSubQuery(), com.omnisci.jdbc.OmniSciResultSet::getDouble(), com.omnisci.jdbc.OmniSciResultSet::getString(), com.mapd.tests.DateTimeTest::main(), com.mapd.calcite.parser.MapDParser::parseSql(), and yyFlexLexer::yyunput().

2092  {
2093  /* Give user a chance to reallocate the stack */
2094  /* Use copies of these so that the &'s don't force the real ones into memory. */
2095  YY_Parser_STYPE* yyvs1 = yyvs;
2096  short* yyss1 = yyss;
2097 #ifdef YY_Parser_LSP_NEEDED
2098  YY_Parser_LTYPE* yyls1 = yyls;
2099 #endif
2100 
2101  /* Get the current used size of the three stacks, in elements. */
2102  int size = yyssp - yyss + 1;
2103 
2104 #ifdef yyoverflow
2105  /* Each stack pointer address is followed by the size of
2106  the data in use in that stack, in bytes. */
2107 #ifdef YY_Parser_LSP_NEEDED
2108  /* This used to be a conditional around just the two extra args,
2109  but that might be undefined if yyoverflow is a macro. */
2110  yyoverflow("parser stack overflow",
2111  &yyss1,
2112  size * sizeof(*yyssp),
2113  &yyvs1,
2114  size * sizeof(*yyvsp),
2115  &yyls1,
2116  size * sizeof(*yylsp),
2117  &yystacksize);
2118 #else
2119  yyoverflow("parser stack overflow",
2120  &yyss1,
2121  size * sizeof(*yyssp),
2122  &yyvs1,
2123  size * sizeof(*yyvsp),
2124  &yystacksize);
2125 #endif
2126 
2127  yyss = yyss1;
2128  yyvs = yyvs1;
2129 #ifdef YY_Parser_LSP_NEEDED
2130  yyls = yyls1;
2131 #endif
2132 #else /* no yyoverflow */
2133  /* Extend the stack our own way. */
2134  if (yystacksize >= YYMAXDEPTH) {
2135  YY_Parser_ERROR("parser stack overflow");
2136  __ALLOCA_return(2);
2137  }
2138  yystacksize *= 2;
2139  if (yystacksize > YYMAXDEPTH)
2141  yyss = (short*)__ALLOCA_alloca(yystacksize * sizeof(*yyssp));
2142  __yy_bcopy((char*)yyss1, (char*)yyss, size * sizeof(*yyssp));
2143  __ALLOCA_free(yyss1, yyssa);
2145  __yy_bcopy((char*)yyvs1, (char*)yyvs, size * sizeof(*yyvsp));
2146  __ALLOCA_free(yyvs1, yyvsa);
2147 #ifdef YY_Parser_LSP_NEEDED
2148  yyls = (YY_Parser_LTYPE*)__ALLOCA_alloca(yystacksize * sizeof(*yylsp));
2149  __yy_bcopy((char*)yyls1, (char*)yyls, size * sizeof(*yylsp));
2150  __ALLOCA_free(yyls1, yylsa);
2151 #endif
2152 #endif /* no yyoverflow */
2153 
2154  yyssp = yyss + size - 1;
2155  yyvsp = yyvs + size - 1;
2156 #ifdef YY_Parser_LSP_NEEDED
2157  yylsp = yyls + size - 1;
2158 #endif
2159 
2160 #if YY_Parser_DEBUG != 0
2162  fprintf(stderr, "Stack size increased to %d\n", yystacksize);
2163 #endif
2164 
2165  if (yyssp >= yyss + yystacksize - 1)
2166  YYABORT;
2167  }
#define YY_Parser_STYPE
int yystacksize
YY_Parser_STYPE * yyvsp
YY_Parser_STYPE yyvsa[YYINITDEPTH]
short * yyssp
YY_Parser_STYPE * yyvs
short * yyss
#define YYABORT
static void __yy_bcopy(from, to, count) char *from
#define __ALLOCA_return(num)
short yyssa[YYINITDEPTH]
#define YY_Parser_DEBUG_FLAG
#define YY_Parser_ERROR
#define YYMAXDEPTH
#define __ALLOCA_alloca(size)
#define __ALLOCA_free(ptr, ref)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

if ( YY_Parser_CHAR  = YYEMPTY)

Definition at line 2192 of file Parser_wnd_pregen.cpp.

References YY_Parser_DEBUG_FLAG, and YYLEX.

2192  {
2193 #if YY_Parser_DEBUG != 0
2195  fprintf(stderr, "Reading a token: ");
2196 #endif
2198  }
#define YY_Parser_CHAR
#define YY_Parser_DEBUG_FLAG
#define YYLEX
if ( YY_Parser_CHAR<=  0)

Definition at line 2202 of file Parser_wnd_pregen.cpp.

References YY_Parser_DEBUG_FLAG, and YYEOF.

2203  {
2204  yychar1 = 0;
2205  YY_Parser_CHAR = YYEOF; /* Don't call YYLEX any more */
2206 
2207 #if YY_Parser_DEBUG != 0
2209  fprintf(stderr, "Now at end of input.\n");
2210 #endif
2211  } else {
int yychar1
#define YY_Parser_CHAR
#define YY_Parser_DEBUG_FLAG
#define YYEOF
if ( )

Definition at line 2240 of file Parser_wnd_pregen.cpp.

References YYFLAG, YYGOTO, and yyn.

2240  {
2241  if (yyn == YYFLAG)
2242  YYGOTO(yyerrlab);
2243  yyn = -yyn;
2244  YYGOTO(yyreduce);
2245  } else if (yyn == 0)
#define YYFLAG
#define YYGOTO(lb)
else if ( yyn  = =0)
switch ( yyn  )

Definition at line 2302 of file Parser_wnd_pregen.cpp.

References kAND, kARRAY_AT, kBIGINT, kBOOLEAN, kCHAR, kDATE, kDECIMAL, kDIVIDE, kDOUBLE, kFLOAT, kGEOGRAPHY, kGEOMETRY, kINT, kLINESTRING, kMINUS, kMODULO, kMULTIPLY, kMULTIPOLYGON, kNOT, kNUMERIC, kONE, kOR, kPLUS, kPOINT, kPOLYGON, kSMALLINT, kTEXT, kTIME, kTIMESTAMP, kTINYINT, kUMINUS, Parser::TrackedPtr< T >::make(), Parser::TrackedListPtr< T >::make(), Parser::TrackedPtr< T >::makeEmpty(), Parser::TrackedListPtr< T >::makeEmpty(), reserved_keywords, to_string(), and shared::transform().

Referenced by decompress(), com.omnisci.jdbc.OmniSciResultSet::getDoubleInternal(), com.omnisci.jdbc.OmniSciResultSet::getStringInternal(), and com.mapd.common.SockTransportProperties::SockTransportProperties().

2302  {
2303  case 1: {
2304  parseTrees.emplace_front(dynamic_cast<Stmt*>((yyvsp[-1].nodeval)->release()));
2305  ;
2306  break;
2307  }
2308  case 2: {
2309  parseTrees.emplace_front(dynamic_cast<Stmt*>((yyvsp[-1].nodeval)->release()));
2310  ;
2311  break;
2312  }
2313  case 3: {
2314  yyval.nodeval = yyvsp[0].nodeval;
2315  ;
2316  break;
2317  }
2318  case 4: {
2319  yyval.nodeval = yyvsp[0].nodeval;
2320  ;
2321  break;
2322  }
2323  case 5: {
2324  yyval.nodeval = yyvsp[0].nodeval;
2325  ;
2326  break;
2327  }
2328  case 6: {
2329  yyval.nodeval = yyvsp[0].nodeval;
2330  ;
2331  break;
2332  }
2333  case 7: {
2334  yyval.nodeval = yyvsp[0].nodeval;
2335  ;
2336  break;
2337  }
2338  case 8: {
2339  yyval.nodeval = yyvsp[0].nodeval;
2340  ;
2341  break;
2342  }
2343  case 9: {
2344  yyval.nodeval = yyvsp[0].nodeval;
2345  ;
2346  break;
2347  }
2348  case 10: {
2349  yyval.nodeval = yyvsp[0].nodeval;
2350  ;
2351  break;
2352  }
2353  case 11: {
2354  yyval.listval =
2355  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2356  ;
2357  break;
2358  }
2359  case 12: {
2360  yyval.listval = yyvsp[-2].listval;
2361  yyval.listval->push_back(yyvsp[0].nodeval);
2362  ;
2363  break;
2364  }
2365  case 13: {
2366  yyval.nodeval = TrackedPtr<Node>::make(
2367  lexer.parsed_node_tokens_,
2368  new NameValueAssign((yyvsp[-2].stringval)->release(),
2369  dynamic_cast<Literal*>((yyvsp[0].nodeval)->release())));
2370  ;
2371  break;
2372  }
2373  case 14: {
2374  yyval.boolval = true;
2375  ;
2376  break;
2377  }
2378  case 15: {
2379  yyval.boolval = false;
2380  ;
2381  break;
2382  }
2383  case 16: {
2384  yyval.boolval = true;
2385  ;
2386  break;
2387  }
2388  case 17: {
2389  yyval.boolval = false;
2390  ;
2391  break;
2392  }
2393  case 18: {
2394  yyval.nodeval = TrackedPtr<Node>::make(
2395  lexer.parsed_node_tokens_,
2396  new CreateTableStmt(
2397  (yyvsp[-4].stringval)->release(),
2398  nullptr,
2399  reinterpret_cast<std::list<TableElement*>*>((yyvsp[-2].listval)->release()),
2400  yyvsp[-7].boolval,
2401  yyvsp[-5].boolval,
2402  reinterpret_cast<std::list<NameValueAssign*>*>(
2403  (yyvsp[0].listval)->release())));
2404  ;
2405  break;
2406  }
2407  case 19: {
2408  yyval.nodeval = TrackedPtr<Node>::make(
2409  lexer.parsed_node_tokens_,
2410  new CreateTableStmt(
2411  (yyvsp[-5].stringval)->release(),
2412  (yyvsp[-8].stringval)->release(),
2413  reinterpret_cast<std::list<TableElement*>*>((yyvsp[-3].listval)->release()),
2414  false,
2415  yyvsp[-6].boolval,
2416  reinterpret_cast<std::list<NameValueAssign*>*>(
2417  (yyvsp[-1].listval)->release())));
2418  ;
2419  break;
2420  }
2421  case 20: {
2422  yyval.boolval = true;
2423  ;
2424  break;
2425  }
2426  case 21: {
2427  yyval.boolval = false;
2428  ;
2429  break;
2430  }
2431  case 22: {
2432  yyval.nodeval = TrackedPtr<Node>::make(
2433  lexer.parsed_node_tokens_,
2434  new DropTableStmt((yyvsp[0].stringval)->release(), yyvsp[-1].boolval));
2435  ;
2436  break;
2437  }
2438  case 23: {
2439  yyval.nodeval =
2440  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2441  new RenameTableStmt((yyvsp[-3].stringval)->release(),
2442  (yyvsp[0].stringval)->release()));
2443  ;
2444  break;
2445  }
2446  case 24: {
2447  yyval.nodeval =
2448  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2449  new RenameColumnStmt((yyvsp[-5].stringval)->release(),
2450  (yyvsp[-2].stringval)->release(),
2451  (yyvsp[0].stringval)->release()));
2452  ;
2453  break;
2454  }
2455  case 27: {
2456  yyval.listval =
2457  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2458  ;
2459  break;
2460  }
2461  case 28: {
2462  yyval.listval = yyvsp[-2].listval;
2463  yyval.listval->push_back(yyvsp[0].nodeval);
2464  ;
2465  break;
2466  }
2467  case 29: {
2468  yyval.nodeval = TrackedPtr<Node>::make(
2469  lexer.parsed_node_tokens_,
2470  new AddColumnStmt((yyvsp[-3].stringval)->release(),
2471  dynamic_cast<ColumnDef*>((yyvsp[0].nodeval)->release())));
2472  ;
2473  break;
2474  }
2475  case 30: {
2476  yyval.nodeval = TrackedPtr<Node>::make(
2477  lexer.parsed_node_tokens_,
2478  new AddColumnStmt(
2479  (yyvsp[-4].stringval)->release(),
2480  reinterpret_cast<std::list<ColumnDef*>*>((yyvsp[-1].listval)->release())));
2481  ;
2482  break;
2483  }
2484  case 31: {
2485  yyval.nodeval =
2486  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2487  new DropColumnStmt((yyvsp[-1].stringval)->release(),
2488  (yyvsp[0].slistval)->release()));
2489  ;
2490  break;
2491  }
2492  case 32: {
2493  yyval.listval =
2494  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2495  ;
2496  break;
2497  }
2498  case 33: {
2499  (yyvsp[-2].listval)->push_back(yyvsp[0].nodeval);
2500  ;
2501  break;
2502  }
2503  case 34: {
2504  yyval.stringval = yyvsp[0].stringval;
2505  ;
2506  break;
2507  }
2508  case 35: {
2509  yyval.nodeval = TrackedPtr<Node>::make(
2510  lexer.parsed_node_tokens_,
2511  new AlterTableParamStmt(
2512  (yyvsp[-2].stringval)->release(),
2513  reinterpret_cast<NameValueAssign*>((yyvsp[0].nodeval)->release())));
2514  ;
2515  break;
2516  }
2517  case 36: {
2518  yyval.listval =
2519  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2520  ;
2521  break;
2522  }
2523  case 37: {
2524  yyval.listval = yyvsp[-2].listval;
2525  yyval.listval->push_back(yyvsp[0].nodeval);
2526  ;
2527  break;
2528  }
2529  case 38: {
2530  yyval.nodeval = yyvsp[0].nodeval;
2531  ;
2532  break;
2533  }
2534  case 39: {
2535  yyval.nodeval = yyvsp[0].nodeval;
2536  ;
2537  break;
2538  }
2539  case 40: {
2540  yyval.nodeval = TrackedPtr<Node>::make(
2541  lexer.parsed_node_tokens_,
2542  new ColumnDef((yyvsp[-2].stringval)->release(),
2543  dynamic_cast<SQLType*>((yyvsp[-1].nodeval)->release()),
2544  dynamic_cast<CompressDef*>((yyvsp[0].nodeval)->release()),
2545  nullptr));
2546  ;
2547  break;
2548  }
2549  case 41: {
2550  yyval.nodeval = TrackedPtr<Node>::make(
2551  lexer.parsed_node_tokens_,
2552  new ColumnDef(
2553  (yyvsp[-3].stringval)->release(),
2554  dynamic_cast<SQLType*>((yyvsp[-2].nodeval)->release()),
2555  dynamic_cast<CompressDef*>((yyvsp[0].nodeval)->release()),
2556  dynamic_cast<ColumnConstraintDef*>((yyvsp[-1].nodeval)->release())));
2557  ;
2558  break;
2559  }
2560  case 42: {
2561  if (!boost::iequals(*(yyvsp[-1].stringval)->get(), "encoding"))
2562  throw std::runtime_error("Invalid identifier " + *(yyvsp[-1].stringval)->get() +
2563  " in column definition.");
2564  delete (yyvsp[-1].stringval)->release();
2565  yyval.nodeval = TrackedPtr<Node>::make(
2566  lexer.parsed_node_tokens_, new CompressDef((yyvsp[0].stringval)->release(), 0));
2567  ;
2568  break;
2569  }
2570  case 43: {
2571  if (!boost::iequals(*(yyvsp[-4].stringval)->get(), "encoding"))
2572  throw std::runtime_error("Invalid identifier " + *(yyvsp[-4].stringval)->get() +
2573  " in column definition.");
2574  delete (yyvsp[-4].stringval)->release();
2575  yyval.nodeval = TrackedPtr<Node>::make(
2576  lexer.parsed_node_tokens_,
2577  new CompressDef((yyvsp[-3].stringval)->release(), (int)yyvsp[-1].intval));
2578  ;
2579  break;
2580  }
2581  case 44: {
2582  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
2583  ;
2584  break;
2585  }
2586  case 45: {
2587  yyval.nodeval =
2588  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2589  new ColumnConstraintDef(true, false, false, nullptr));
2590  ;
2591  break;
2592  }
2593  case 46: {
2594  yyval.nodeval = TrackedPtr<Node>::make(
2595  lexer.parsed_node_tokens_, new ColumnConstraintDef(true, true, false, nullptr));
2596  ;
2597  break;
2598  }
2599  case 47: {
2600  if (!boost::iequals(*(yyvsp[0].stringval)->get(), "key"))
2601  throw std::runtime_error("Syntax error at " + *(yyvsp[0].stringval)->get());
2602  yyval.nodeval = TrackedPtr<Node>::make(
2603  lexer.parsed_node_tokens_, new ColumnConstraintDef(true, true, true, nullptr));
2604  ;
2605  break;
2606  }
2607  case 48: {
2608  yyval.nodeval = TrackedPtr<Node>::make(
2609  lexer.parsed_node_tokens_,
2610  new ColumnConstraintDef(false,
2611  false,
2612  false,
2613  dynamic_cast<Literal*>((yyvsp[0].nodeval)->release())));
2614  ;
2615  break;
2616  }
2617  case 49: {
2618  yyval.nodeval = TrackedPtr<Node>::make(
2619  lexer.parsed_node_tokens_,
2620  new ColumnConstraintDef(false, false, false, new NullLiteral()));
2621  ;
2622  break;
2623  }
2624  case 50: {
2625  yyval.nodeval = TrackedPtr<Node>::make(
2626  lexer.parsed_node_tokens_,
2627  new ColumnConstraintDef(false, false, false, new UserLiteral()));
2628  ;
2629  break;
2630  }
2631  case 51: {
2632  yyval.nodeval = TrackedPtr<Node>::make(
2633  lexer.parsed_node_tokens_,
2634  new ColumnConstraintDef(dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
2635  ;
2636  break;
2637  }
2638  case 52: {
2639  yyval.nodeval = TrackedPtr<Node>::make(
2640  lexer.parsed_node_tokens_,
2641  new ColumnConstraintDef((yyvsp[0].stringval)->release(), nullptr));
2642  ;
2643  break;
2644  }
2645  case 53: {
2646  yyval.nodeval = TrackedPtr<Node>::make(
2647  lexer.parsed_node_tokens_,
2648  new ColumnConstraintDef((yyvsp[-3].stringval)->release(),
2649  (yyvsp[-1].stringval)->release()));
2650  ;
2651  break;
2652  }
2653  case 54: {
2654  yyval.nodeval =
2655  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2656  new UniqueDef(false, (yyvsp[-1].slistval)->release()));
2657  ;
2658  break;
2659  }
2660  case 55: {
2661  if (!boost::iequals(*(yyvsp[-3].stringval)->get(), "key"))
2662  throw std::runtime_error("Syntax error at " + *(yyvsp[-3].stringval)->get());
2663  yyval.nodeval =
2664  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2665  new UniqueDef(true, (yyvsp[-1].slistval)->release()));
2666  ;
2667  break;
2668  }
2669  case 56: {
2670  if (!boost::iequals(*(yyvsp[-5].stringval)->get(), "key"))
2671  throw std::runtime_error("Syntax error at " + *(yyvsp[-5].stringval)->get());
2672  yyval.nodeval = TrackedPtr<Node>::make(
2673  lexer.parsed_node_tokens_,
2674  new ForeignKeyDef(
2675  (yyvsp[-3].slistval)->release(), (yyvsp[0].stringval)->release(), nullptr));
2676  ;
2677  break;
2678  }
2679  case 57: {
2680  if (!boost::iequals(*(yyvsp[-8].stringval)->get(), "key"))
2681  throw std::runtime_error("Syntax error at " + *(yyvsp[-8].stringval)->get());
2682  yyval.nodeval =
2683  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2684  new ForeignKeyDef((yyvsp[-6].slistval)->release(),
2685  (yyvsp[-3].stringval)->release(),
2686  (yyvsp[-1].slistval)->release()));
2687  ;
2688  break;
2689  }
2690  case 58: {
2691  if (!boost::iequals(*(yyvsp[-3].stringval)->get(), "key"))
2692  throw std::runtime_error("Syntax error at " + *(yyvsp[-3].stringval)->get());
2693  yyval.nodeval = TrackedPtr<Node>::make(
2694  lexer.parsed_node_tokens_, new ShardKeyDef(*(yyvsp[-1].stringval)->get()));
2695  delete (yyvsp[-3].stringval)->release();
2696  delete (yyvsp[-1].stringval)->release();
2697  ;
2698  break;
2699  }
2700  case 59: {
2701  yyval.nodeval =
2702  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
2703  new SharedDictionaryDef(*(yyvsp[-6].stringval)->get(),
2704  *(yyvsp[-3].stringval)->get(),
2705  *(yyvsp[-1].stringval)->get()));
2706  delete (yyvsp[-6].stringval)->release();
2707  delete (yyvsp[-3].stringval)->release();
2708  delete (yyvsp[-1].stringval)->release();
2709  ;
2710  break;
2711  }
2712  case 60: {
2713  yyval.nodeval = TrackedPtr<Node>::make(
2714  lexer.parsed_node_tokens_,
2715  new CheckDef(dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
2716  ;
2717  break;
2718  }
2719  case 61: {
2721  lexer.parsed_str_list_tokens_, 1, yyvsp[0].stringval);
2722  ;
2723  break;
2724  }
2725  case 62: {
2726  yyval.slistval = yyvsp[-2].slistval;
2727  yyval.slistval->push_back(yyvsp[0].stringval);
2728  ;
2729  break;
2730  }
2731  case 63: {
2732  yyval.listval = yyvsp[-1].listval;
2733  ;
2734  break;
2735  }
2736  case 64: {
2738  ;
2739  break;
2740  }
2741  case 65: {
2742  yyval.nodeval = TrackedPtr<Node>::make(
2743  lexer.parsed_node_tokens_,
2744  new DropViewStmt((yyvsp[0].stringval)->release(), yyvsp[-1].boolval));
2745  ;
2746  break;
2747  }
2748  case 66: {
2750  ;
2751  break;
2752  }
2753  case 67: {
2754  yyval.slistval = yyvsp[-1].slistval;
2755  ;
2756  break;
2757  }
2758  case 68: {
2760  ;
2761  break;
2762  }
2763  case 69: {
2764  yyval.listval = yyvsp[0].listval;
2765  ;
2766  break;
2767  }
2768  case 70: {
2769  yyval.listval =
2770  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2771  ;
2772  break;
2773  }
2774  case 71: {
2775  yyval.listval = yyvsp[-2].listval;
2776  yyval.listval->push_back(yyvsp[0].nodeval);
2777  ;
2778  break;
2779  }
2780  case 72: {
2781  yyval.nodeval = TrackedPtr<Node>::make(
2782  lexer.parsed_node_tokens_,
2783  new OrderSpec(yyvsp[-2].intval, nullptr, yyvsp[-1].boolval, yyvsp[0].boolval));
2784  ;
2785  break;
2786  }
2787  case 73: {
2788  yyval.nodeval = TrackedPtr<Node>::make(
2789  lexer.parsed_node_tokens_,
2790  new OrderSpec(0,
2791  dynamic_cast<ColumnRef*>((yyvsp[-2].nodeval)->release()),
2792  yyvsp[-1].boolval,
2793  yyvsp[0].boolval));
2794  ;
2795  break;
2796  }
2797  case 74: {
2798  yyval.boolval = false; /* default is ASC */
2799  ;
2800  break;
2801  }
2802  case 75: {
2803  yyval.boolval = false;
2804  ;
2805  break;
2806  }
2807  case 76: {
2808  yyval.boolval = true;
2809  ;
2810  break;
2811  }
2812  case 77: {
2813  yyval.boolval = false; /* default is NULL LAST */
2814  ;
2815  break;
2816  }
2817  case 78: {
2818  yyval.boolval = true;
2819  ;
2820  break;
2821  }
2822  case 79: {
2823  yyval.boolval = false;
2824  ;
2825  break;
2826  }
2827  case 85: {
2828  yyval.nodeval = TrackedPtr<Node>::make(
2829  lexer.parsed_node_tokens_,
2830  new DeleteStmt((yyvsp[-1].stringval)->release(),
2831  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
2832  ;
2833  break;
2834  }
2835  case 86: {
2836  yyval.nodeval = TrackedPtr<Node>::make(
2837  lexer.parsed_node_tokens_,
2838  new InsertValuesStmt(
2839  (yyvsp[-5].stringval)->release(),
2840  (yyvsp[-4].slistval)->release(),
2841  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release())));
2842  ;
2843  break;
2844  }
2845  case 87: {
2846  yyval.boolval = false;
2847  ;
2848  break;
2849  }
2850  case 88: {
2851  yyval.boolval = false;
2852  ;
2853  break;
2854  }
2855  case 89: {
2856  yyval.boolval = true;
2857  ;
2858  break;
2859  }
2860  case 90: {
2861  yyval.listval =
2862  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
2863  ;
2864  break;
2865  }
2866  case 91: {
2867  yyval.listval = yyvsp[-2].listval;
2868  yyval.listval->push_back(yyvsp[0].nodeval);
2869  ;
2870  break;
2871  }
2872  case 92: {
2873  yyval.nodeval = TrackedPtr<Node>::make(
2874  lexer.parsed_node_tokens_,
2875  new Assignment((yyvsp[-2].stringval)->release(),
2876  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
2877  ;
2878  break;
2879  }
2880  case 93: {
2881  yyval.nodeval = TrackedPtr<Node>::make(
2882  lexer.parsed_node_tokens_,
2883  new UpdateStmt(
2884  (yyvsp[-3].stringval)->release(),
2885  reinterpret_cast<std::list<Assignment*>*>((yyvsp[-1].listval)->release()),
2886  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
2887  ;
2888  break;
2889  }
2890  case 94: {
2891  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
2892  ;
2893  break;
2894  }
2895  case 95: {
2896  yyval.nodeval = yyvsp[0].nodeval;
2897  ;
2898  break;
2899  }
2900  case 96: {
2901  yyval.intval = yyvsp[0].intval;
2902  if (yyval.intval <= 0)
2903  throw std::runtime_error("LIMIT must be positive.");
2904  ;
2905  break;
2906  }
2907  case 97: {
2908  yyval.intval = 0; /* 0 means ALL */
2909  ;
2910  break;
2911  }
2912  case 98: {
2913  yyval.intval = 0; /* 0 means ALL */
2914  ;
2915  break;
2916  }
2917  case 99: {
2918  yyval.intval = yyvsp[0].intval;
2919  ;
2920  break;
2921  }
2922  case 100: {
2923  if (!boost::iequals(*(yyvsp[0].stringval)->get(), "row") &&
2924  !boost::iequals(*(yyvsp[0].stringval)->get(), "rows"))
2925  throw std::runtime_error("Invalid word in OFFSET clause " +
2926  *(yyvsp[0].stringval)->get());
2927  delete (yyvsp[0].stringval)->release();
2928  yyval.intval = yyvsp[-1].intval;
2929  ;
2930  break;
2931  }
2932  case 101: {
2933  yyval.intval = 0;
2934  ;
2935  break;
2936  }
2937  case 102: {
2938  yyval.nodeval = TrackedPtr<Node>::make(
2939  lexer.parsed_node_tokens_,
2940  new SelectStmt(
2941  dynamic_cast<QueryExpr*>((yyvsp[-3].nodeval)->release()),
2942  reinterpret_cast<std::list<OrderSpec*>*>((yyvsp[-2].listval)->release()),
2943  yyvsp[-1].intval,
2944  yyvsp[0].intval));
2945  ;
2946  break;
2947  }
2948  case 103: {
2949  yyval.nodeval = yyvsp[0].nodeval;
2950  ;
2951  break;
2952  }
2953  case 104: {
2954  yyval.nodeval = TrackedPtr<Node>::make(
2955  lexer.parsed_node_tokens_,
2956  new UnionQuery(false,
2957  dynamic_cast<QueryExpr*>((yyvsp[-2].nodeval)->release()),
2958  dynamic_cast<QueryExpr*>((yyvsp[0].nodeval)->release())));
2959  ;
2960  break;
2961  }
2962  case 105: {
2963  yyval.nodeval = TrackedPtr<Node>::make(
2964  lexer.parsed_node_tokens_,
2965  new UnionQuery(true,
2966  dynamic_cast<QueryExpr*>((yyvsp[-3].nodeval)->release()),
2967  dynamic_cast<QueryExpr*>((yyvsp[0].nodeval)->release())));
2968  ;
2969  break;
2970  }
2971  case 106: {
2972  yyval.nodeval = yyvsp[0].nodeval;
2973  ;
2974  break;
2975  }
2976  case 107: {
2977  yyval.nodeval = yyvsp[-1].nodeval;
2978  ;
2979  break;
2980  }
2981  case 108: {
2982  yyval.nodeval = TrackedPtr<Node>::make(
2983  lexer.parsed_node_tokens_,
2984  new QuerySpec(
2985  yyvsp[-5].boolval,
2986  reinterpret_cast<std::list<SelectEntry*>*>((yyvsp[-4].listval)->release()),
2987  reinterpret_cast<std::list<TableRef*>*>((yyvsp[-3].listval)->release()),
2988  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
2989  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release()),
2990  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
2991  ;
2992  break;
2993  }
2994  case 109: {
2995  yyval.listval = yyvsp[0].listval;
2996  ;
2997  break;
2998  }
2999  case 110: {
3000  yyval.listval = TrackedListPtr<Node>::makeEmpty(); /* nullptr means SELECT * */
3001  ;
3002  break;
3003  }
3004  case 111: {
3005  yyval.listval = yyvsp[0].listval;
3006  ;
3007  break;
3008  }
3009  case 112: {
3010  yyval.listval =
3011  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
3012  ;
3013  break;
3014  }
3015  case 113: {
3016  yyval.listval = yyvsp[-2].listval;
3017  yyval.listval->push_back(yyvsp[0].nodeval);
3018  ;
3019  break;
3020  }
3021  case 114: {
3022  yyval.nodeval = TrackedPtr<Node>::make(
3023  lexer.parsed_node_tokens_, new TableRef((yyvsp[0].stringval)->release()));
3024  ;
3025  break;
3026  }
3027  case 115: {
3028  yyval.nodeval =
3029  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3030  new TableRef((yyvsp[-1].stringval)->release(),
3031  (yyvsp[0].stringval)->release()));
3032  ;
3033  break;
3034  }
3035  case 116: {
3036  yyval.nodeval = yyvsp[0].nodeval;
3037  ;
3038  break;
3039  }
3040  case 117: {
3042  ;
3043  break;
3044  }
3045  case 118: {
3046  yyval.listval = yyvsp[0].listval;
3047  ;
3048  break;
3049  }
3050  case 119: {
3051  yyval.listval =
3052  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
3053  ;
3054  break;
3055  }
3056  case 120: {
3057  yyval.listval = yyvsp[-2].listval;
3058  yyval.listval->push_back(yyvsp[0].nodeval);
3059  ;
3060  break;
3061  }
3062  case 121: {
3063  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
3064  ;
3065  break;
3066  }
3067  case 122: {
3068  yyval.nodeval = yyvsp[0].nodeval;
3069  ;
3070  break;
3071  }
3072  case 123: {
3073  yyval.nodeval = TrackedPtr<Node>::make(
3074  lexer.parsed_node_tokens_,
3075  new OperExpr(kOR,
3076  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3077  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3078  ;
3079  break;
3080  }
3081  case 124: {
3082  yyval.nodeval = TrackedPtr<Node>::make(
3083  lexer.parsed_node_tokens_,
3084  new OperExpr(kAND,
3085  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3086  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3087  ;
3088  break;
3089  }
3090  case 125: {
3091  yyval.nodeval = TrackedPtr<Node>::make(
3092  lexer.parsed_node_tokens_,
3093  new OperExpr(
3094  kNOT, dynamic_cast<Expr*>((yyvsp[0].nodeval)->release()), nullptr));
3095  ;
3096  break;
3097  }
3098  case 126: {
3099  yyval.nodeval = yyvsp[-1].nodeval;
3100  ;
3101  break;
3102  }
3103  case 127: {
3104  yyval.nodeval = yyvsp[0].nodeval;
3105  ;
3106  break;
3107  }
3108  case 128: {
3109  yyval.nodeval = yyvsp[0].nodeval;
3110  ;
3111  break;
3112  }
3113  case 129: {
3114  yyval.nodeval = yyvsp[0].nodeval;
3115  ;
3116  break;
3117  }
3118  case 130: {
3119  yyval.nodeval = yyvsp[0].nodeval;
3120  ;
3121  break;
3122  }
3123  case 131: {
3124  yyval.nodeval = yyvsp[0].nodeval;
3125  ;
3126  break;
3127  }
3128  case 132: {
3129  yyval.nodeval = yyvsp[0].nodeval;
3130  ;
3131  break;
3132  }
3133  case 133: {
3134  yyval.nodeval = yyvsp[0].nodeval;
3135  ;
3136  break;
3137  }
3138  case 134: {
3139  yyval.nodeval = yyvsp[0].nodeval;
3140  ;
3141  break;
3142  }
3143  case 135: {
3144  yyval.nodeval = yyvsp[0].nodeval;
3145  ;
3146  break;
3147  }
3148  case 136: {
3149  yyval.nodeval = TrackedPtr<Node>::make(
3150  lexer.parsed_node_tokens_,
3151  new OperExpr(yyvsp[-1].opval,
3152  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3153  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3154  ;
3155  break;
3156  }
3157  case 137: {
3158  yyval.nodeval = TrackedPtr<Node>::make(
3159  lexer.parsed_node_tokens_,
3160  new OperExpr(yyvsp[-1].opval,
3161  kONE,
3162  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3163  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3164  /* subquery can only return a single result */
3165  ;
3166  break;
3167  }
3168  case 138: {
3169  yyval.nodeval = TrackedPtr<Node>::make(
3170  lexer.parsed_node_tokens_,
3171  new BetweenExpr(true,
3172  dynamic_cast<Expr*>((yyvsp[-5].nodeval)->release()),
3173  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3174  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3175  ;
3176  break;
3177  }
3178  case 139: {
3179  yyval.nodeval = TrackedPtr<Node>::make(
3180  lexer.parsed_node_tokens_,
3181  new BetweenExpr(false,
3182  dynamic_cast<Expr*>((yyvsp[-4].nodeval)->release()),
3183  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3184  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3185  ;
3186  break;
3187  }
3188  case 140: {
3189  yyval.nodeval = TrackedPtr<Node>::make(
3190  lexer.parsed_node_tokens_,
3191  new LikeExpr(true,
3192  false,
3193  dynamic_cast<Expr*>((yyvsp[-4].nodeval)->release()),
3194  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()),
3195  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3196  ;
3197  break;
3198  }
3199  case 141: {
3200  yyval.nodeval = TrackedPtr<Node>::make(
3201  lexer.parsed_node_tokens_,
3202  new LikeExpr(false,
3203  false,
3204  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3205  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()),
3206  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3207  ;
3208  break;
3209  }
3210  case 142: {
3211  yyval.nodeval = TrackedPtr<Node>::make(
3212  lexer.parsed_node_tokens_,
3213  new LikeExpr(true,
3214  true,
3215  dynamic_cast<Expr*>((yyvsp[-4].nodeval)->release()),
3216  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()),
3217  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3218  ;
3219  break;
3220  }
3221  case 143: {
3222  yyval.nodeval = TrackedPtr<Node>::make(
3223  lexer.parsed_node_tokens_,
3224  new LikeExpr(false,
3225  true,
3226  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3227  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()),
3228  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3229  ;
3230  break;
3231  }
3232  case 144: {
3233  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
3234  ;
3235  break;
3236  }
3237  case 145: {
3238  std::string escape_tok = *(yyvsp[-1].stringval)->get();
3239  std::transform(escape_tok.begin(), escape_tok.end(), escape_tok.begin(), ::tolower);
3240  if (escape_tok != "escape") {
3241  throw std::runtime_error("Syntax error: wrong escape specifier");
3242  }
3243  delete (yyvsp[-1].stringval)->release();
3244  yyval.nodeval = yyvsp[0].nodeval;
3245  ;
3246  break;
3247  }
3248  case 146: {
3249  yyval.nodeval = TrackedPtr<Node>::make(
3250  lexer.parsed_node_tokens_,
3251  new IsNullExpr(true, dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release())));
3252  ;
3253  break;
3254  }
3255  case 147: {
3256  yyval.nodeval = TrackedPtr<Node>::make(
3257  lexer.parsed_node_tokens_,
3258  new IsNullExpr(false, dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release())));
3259  ;
3260  break;
3261  }
3262  case 148: {
3263  yyval.nodeval = TrackedPtr<Node>::make(
3264  lexer.parsed_node_tokens_,
3265  new InSubquery(true,
3266  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3267  dynamic_cast<SubqueryExpr*>((yyvsp[0].nodeval)->release())));
3268  ;
3269  break;
3270  }
3271  case 149: {
3272  yyval.nodeval = TrackedPtr<Node>::make(
3273  lexer.parsed_node_tokens_,
3274  new InSubquery(false,
3275  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3276  dynamic_cast<SubqueryExpr*>((yyvsp[0].nodeval)->release())));
3277  ;
3278  break;
3279  }
3280  case 150: {
3281  yyval.nodeval = TrackedPtr<Node>::make(
3282  lexer.parsed_node_tokens_,
3283  new InValues(
3284  true,
3285  dynamic_cast<Expr*>((yyvsp[-5].nodeval)->release()),
3286  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release())));
3287  ;
3288  break;
3289  }
3290  case 151: {
3291  yyval.nodeval = TrackedPtr<Node>::make(
3292  lexer.parsed_node_tokens_,
3293  new InValues(
3294  false,
3295  dynamic_cast<Expr*>((yyvsp[-4].nodeval)->release()),
3296  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release())));
3297  ;
3298  break;
3299  }
3300  case 152: {
3301  yyval.listval =
3302  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
3303  ;
3304  break;
3305  }
3306  case 153: {
3307  yyval.listval = yyvsp[-2].listval;
3308  yyval.listval->push_back(yyvsp[0].nodeval);
3309  ;
3310  break;
3311  }
3312  case 154: {
3313  yyval.nodeval = TrackedPtr<Node>::make(
3314  lexer.parsed_node_tokens_,
3315  new OperExpr(yyvsp[-2].opval,
3316  yyvsp[-1].qualval,
3317  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3318  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3319  ;
3320  break;
3321  }
3322  case 155: {
3323  yyval.nodeval = TrackedPtr<Node>::make(
3324  lexer.parsed_node_tokens_,
3325  new OperExpr(yyvsp[-2].opval,
3326  yyvsp[-1].qualval,
3327  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3328  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3329  ;
3330  break;
3331  }
3332  case 156: {
3333  yyval.opval = yyvsp[0].opval;
3334  ;
3335  break;
3336  }
3337  case 157: {
3338  yyval.opval = yyvsp[0].opval;
3339  ;
3340  break;
3341  }
3342  case 161: {
3343  yyval.nodeval = TrackedPtr<Node>::make(
3344  lexer.parsed_node_tokens_,
3345  new ExistsExpr(dynamic_cast<QuerySpec*>((yyvsp[0].nodeval)->release())));
3346  ;
3347  break;
3348  }
3349  case 162: {
3350  yyval.nodeval = TrackedPtr<Node>::make(
3351  lexer.parsed_node_tokens_,
3352  new SubqueryExpr(dynamic_cast<QuerySpec*>((yyvsp[-1].nodeval)->release())));
3353  ;
3354  break;
3355  }
3356  case 163: {
3358  lexer.parsed_node_list_tokens_,
3359  1,
3360  new ExprPair(dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3361  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3362  ;
3363  break;
3364  }
3365  case 164: {
3366  yyval.listval = yyvsp[-4].listval;
3367  yyval.listval->push_back(
3368  new ExprPair(dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3369  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3370  ;
3371  break;
3372  }
3373  case 165: {
3374  yyval.nodeval = yyvsp[0].nodeval;
3375  ;
3376  break;
3377  }
3378  case 166: {
3379  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
3380  ;
3381  break;
3382  }
3383  case 167: {
3384  yyval.nodeval = TrackedPtr<Node>::make(
3385  lexer.parsed_node_tokens_,
3386  new CaseExpr(
3387  reinterpret_cast<std::list<ExprPair*>*>((yyvsp[-2].listval)->release()),
3388  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3389  ;
3390  break;
3391  }
3392  case 168: {
3393  std::list<ExprPair*>* when_then_list = new std::list<ExprPair*>(
3394  1,
3395  new ExprPair(dynamic_cast<Expr*>((yyvsp[-5].nodeval)->release()),
3396  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release())));
3397  yyval.nodeval = TrackedPtr<Node>::make(
3398  lexer.parsed_node_tokens_,
3399  new CaseExpr(when_then_list,
3400  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3401  ;
3402  break;
3403  }
3404  case 169: {
3405  std::list<ExprPair*>* when_then_list = new std::list<ExprPair*>(
3406  1,
3407  new ExprPair(dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3408  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3409  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3410  new CaseExpr(when_then_list, nullptr));
3411  ;
3412  break;
3413  }
3414  case 170: {
3415  yyval.nodeval = TrackedPtr<Node>::make(
3416  lexer.parsed_node_tokens_,
3417  new CharLengthExpr(dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()), true));
3418  ;
3419  break;
3420  }
3421  case 171: {
3422  yyval.nodeval = TrackedPtr<Node>::make(
3423  lexer.parsed_node_tokens_,
3424  new CharLengthExpr(dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()), false));
3425  ;
3426  break;
3427  }
3428  case 172: {
3429  yyval.nodeval = TrackedPtr<Node>::make(
3430  lexer.parsed_node_tokens_,
3431  new OperExpr(kARRAY_AT,
3432  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3433  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3434  ;
3435  break;
3436  }
3437  case 173: {
3438  yyval.nodeval = TrackedPtr<Node>::make(
3439  lexer.parsed_node_tokens_,
3440  new OperExpr(kPLUS,
3441  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3442  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3443  ;
3444  break;
3445  }
3446  case 174: {
3447  yyval.nodeval = TrackedPtr<Node>::make(
3448  lexer.parsed_node_tokens_,
3449  new OperExpr(kMINUS,
3450  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3451  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3452  ;
3453  break;
3454  }
3455  case 175: {
3456  yyval.nodeval = TrackedPtr<Node>::make(
3457  lexer.parsed_node_tokens_,
3458  new OperExpr(kMULTIPLY,
3459  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3460  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3461  ;
3462  break;
3463  }
3464  case 176: {
3465  yyval.nodeval = TrackedPtr<Node>::make(
3466  lexer.parsed_node_tokens_,
3467  new OperExpr(kDIVIDE,
3468  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3469  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3470  ;
3471  break;
3472  }
3473  case 177: {
3474  yyval.nodeval = TrackedPtr<Node>::make(
3475  lexer.parsed_node_tokens_,
3476  new OperExpr(kMODULO,
3477  dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3478  dynamic_cast<Expr*>((yyvsp[0].nodeval)->release())));
3479  ;
3480  break;
3481  }
3482  case 178: {
3483  yyval.nodeval = TrackedPtr<Node>::make(
3484  lexer.parsed_node_tokens_,
3485  new OperExpr(kMODULO,
3486  dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3487  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3488  ;
3489  break;
3490  }
3491  case 179: {
3492  yyval.nodeval = yyvsp[0].nodeval;
3493  ;
3494  break;
3495  }
3496  case 180: {
3497  yyval.nodeval = TrackedPtr<Node>::make(
3498  lexer.parsed_node_tokens_,
3499  new OperExpr(
3500  kUMINUS, dynamic_cast<Expr*>((yyvsp[0].nodeval)->release()), nullptr));
3501  ;
3502  break;
3503  }
3504  case 181: {
3505  yyval.nodeval = yyvsp[0].nodeval;
3506  ;
3507  break;
3508  }
3509  case 182: {
3510  yyval.nodeval = yyvsp[0].nodeval;
3511  ;
3512  break;
3513  }
3514  case 183: {
3515  yyval.nodeval = yyvsp[0].nodeval;
3516  ;
3517  break;
3518  }
3519  case 184: {
3520  yyval.nodeval = yyvsp[-1].nodeval;
3521  ;
3522  break;
3523  }
3524  case 185: {
3525  yyval.nodeval = TrackedPtr<Node>::make(
3526  lexer.parsed_node_tokens_,
3527  new CastExpr(dynamic_cast<Expr*>((yyvsp[-3].nodeval)->release()),
3528  dynamic_cast<SQLType*>((yyvsp[-1].nodeval)->release())));
3529  ;
3530  break;
3531  }
3532  case 186: {
3533  yyval.nodeval = yyvsp[0].nodeval;
3534  ;
3535  break;
3536  }
3537  case 187: {
3538  yyval.nodeval = yyvsp[0].nodeval;
3539  ;
3540  break;
3541  }
3542  case 188: {
3543  yyval.nodeval = yyvsp[0].nodeval;
3544  ;
3545  break;
3546  }
3547  case 189: {
3548  throw std::runtime_error("Empty select entry");
3549  ;
3550  break;
3551  }
3552  case 190: {
3553  yyval.nodeval = TrackedPtr<Node>::make(
3554  lexer.parsed_node_tokens_,
3555  new SelectEntry(dynamic_cast<Expr*>((yyvsp[0].nodeval)->release()), nullptr));
3556  ;
3557  break;
3558  }
3559  case 191: {
3560  yyval.nodeval = TrackedPtr<Node>::make(
3561  lexer.parsed_node_tokens_,
3562  new SelectEntry(dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release()),
3563  (yyvsp[0].stringval)->release()));
3564  ;
3565  break;
3566  }
3567  case 192: {
3568  yyval.nodeval = TrackedPtr<Node>::make(
3569  lexer.parsed_node_tokens_,
3570  new SelectEntry(dynamic_cast<Expr*>((yyvsp[-2].nodeval)->release()),
3571  (yyvsp[0].stringval)->release()));
3572  ;
3573  break;
3574  }
3575  case 193: {
3576  throw std::runtime_error("Empty select entry list");
3577  ;
3578  break;
3579  }
3580  case 194: {
3581  yyval.listval =
3582  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
3583  ;
3584  break;
3585  }
3586  case 195: {
3587  yyval.listval = yyvsp[-2].listval;
3588  yyval.listval->push_back(yyvsp[0].nodeval);
3589  ;
3590  break;
3591  }
3592  case 196: {
3593  yyval.nodeval = yyvsp[0].nodeval;
3594  ;
3595  break;
3596  }
3597  case 197: {
3598  yyval.nodeval =
3599  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new UserLiteral());
3600  ;
3601  break;
3602  }
3603  case 198: {
3604  yyval.nodeval = TrackedPtr<Node>::make(
3605  lexer.parsed_node_tokens_, new FunctionRef((yyvsp[-3].stringval)->release()));
3606  ;
3607  break;
3608  }
3609  case 199: {
3610  yyval.nodeval = TrackedPtr<Node>::make(
3611  lexer.parsed_node_tokens_,
3612  new FunctionRef((yyvsp[-4].stringval)->release(),
3613  true,
3614  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3615  ;
3616  break;
3617  }
3618  case 200: {
3619  yyval.nodeval = TrackedPtr<Node>::make(
3620  lexer.parsed_node_tokens_,
3621  new FunctionRef((yyvsp[-4].stringval)->release(),
3622  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3623  ;
3624  break;
3625  }
3626  case 201: {
3627  yyval.nodeval = TrackedPtr<Node>::make(
3628  lexer.parsed_node_tokens_,
3629  new FunctionRef((yyvsp[-3].stringval)->release(),
3630  dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release())));
3631  ;
3632  break;
3633  }
3634  case 202: {
3635  yyval.nodeval = TrackedPtr<Node>::make(
3636  lexer.parsed_node_tokens_, new StringLiteral((yyvsp[0].stringval)->release()));
3637  ;
3638  break;
3639  }
3640  case 203: {
3641  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3642  new IntLiteral(yyvsp[0].intval));
3643  ;
3644  break;
3645  }
3646  case 204: {
3647  yyval.nodeval =
3648  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new TimestampLiteral());
3649  ;
3650  break;
3651  }
3652  case 205: {
3653  delete dynamic_cast<Expr*>((yyvsp[-1].nodeval)->release());
3654  yyval.nodeval =
3655  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new TimestampLiteral());
3656  ;
3657  break;
3658  }
3659  case 206: {
3660  yyval.nodeval = TrackedPtr<Node>::make(
3661  lexer.parsed_node_tokens_, new FixedPtLiteral((yyvsp[0].stringval)->release()));
3662  ;
3663  break;
3664  }
3665  case 207: {
3666  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3667  new FloatLiteral(yyvsp[0].floatval));
3668  ;
3669  break;
3670  }
3671  case 208: {
3672  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3673  new DoubleLiteral(yyvsp[0].doubleval));
3674  ;
3675  break;
3676  }
3677  case 209: {
3678  yyval.nodeval = TrackedPtr<Node>::make(
3679  lexer.parsed_node_tokens_,
3680  new CastExpr(new StringLiteral((yyvsp[0].stringval)->release()),
3681  dynamic_cast<SQLType*>((yyvsp[-1].nodeval)->release())));
3682  ;
3683  break;
3684  }
3685  case 210: {
3686  yyval.nodeval = TrackedPtr<Node>::make(
3687  lexer.parsed_node_tokens_,
3688  new ArrayLiteral(
3689  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release())));
3690  ;
3691  break;
3692  }
3693  case 211: {
3694  yyval.nodeval = TrackedPtr<Node>::make(
3695  lexer.parsed_node_tokens_,
3696  new ArrayLiteral(
3697  reinterpret_cast<std::list<Expr*>*>((yyvsp[-1].listval)->release())));
3698  ;
3699  break;
3700  }
3701  case 212: {
3702  yyval.nodeval =
3703  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new NullLiteral());
3704  ;
3705  break;
3706  }
3707  case 213: {
3708  yyval.listval =
3709  TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 1, yyvsp[0].nodeval);
3710  ;
3711  break;
3712  }
3713  case 214: {
3714  yyval.listval = yyvsp[-2].listval;
3715  yyval.listval->push_back(yyvsp[0].nodeval);
3716  ;
3717  break;
3718  }
3719  case 215: {
3720  yyval.listval = TrackedListPtr<Node>::make(lexer.parsed_node_list_tokens_, 0);
3721  ;
3722  break;
3723  }
3724  case 217: {
3725  const auto uc_col_name =
3726  boost::to_upper_copy<std::string>(*(yyvsp[0].stringval)->get());
3727  if (reserved_keywords.find(uc_col_name) != reserved_keywords.end()) {
3728  errors_.push_back("Cannot use a reserved keyword as table name: " +
3729  *(yyvsp[0].stringval)->get());
3730  }
3731  yyval.stringval = yyvsp[0].stringval;
3732  ;
3733  break;
3734  }
3735  case 218: {
3736  yyval.stringval = yyvsp[0].stringval;
3737  ;
3738  break;
3739  }
3740  case 219: {
3741  yyval.nodeval = TrackedPtr<Node>::makeEmpty();
3742  ;
3743  break;
3744  }
3745  case 225: {
3747  lexer.parsed_str_list_tokens_, 1, yyvsp[0].stringval);
3748  ;
3749  break;
3750  }
3751  case 226: {
3752  yyval.slistval = yyvsp[-2].slistval;
3753  yyval.slistval->push_back(yyvsp[0].stringval);
3754  ;
3755  break;
3756  }
3757  case 229: {
3759  lexer.parsed_str_list_tokens_, 1, yyvsp[0].stringval);
3760  ;
3761  break;
3762  }
3763  case 230: {
3764  yyval.slistval = yyvsp[-2].slistval;
3765  yyval.slistval->push_back(yyvsp[0].stringval);
3766  ;
3767  break;
3768  }
3769  case 233: {
3771  lexer.parsed_str_list_tokens_, 1, yyvsp[0].stringval);
3772  ;
3773  break;
3774  }
3775  case 234: {
3776  yyval.slistval = yyvsp[-2].slistval;
3777  yyval.slistval->push_back(yyvsp[0].stringval);
3778  ;
3779  break;
3780  }
3781  case 235: {
3782  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "ALL");
3783  ;
3784  break;
3785  }
3786  case 236: {
3787  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "ALL");
3788  ;
3789  break;
3790  }
3791  case 237: {
3792  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "CREATE");
3793  ;
3794  break;
3795  }
3796  case 238: {
3797  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "SELECT");
3798  ;
3799  break;
3800  }
3801  case 239: {
3802  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "INSERT");
3803  ;
3804  break;
3805  }
3806  case 240: {
3807  yyval.stringval =
3808  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "TRUNCATE");
3809  ;
3810  break;
3811  }
3812  case 241: {
3813  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "UPDATE");
3814  ;
3815  break;
3816  }
3817  case 242: {
3818  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DELETE");
3819  ;
3820  break;
3821  }
3822  case 243: {
3823  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "ALTER");
3824  ;
3825  break;
3826  }
3827  case 244: {
3828  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DROP");
3829  ;
3830  break;
3831  }
3832  case 245: {
3833  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "VIEW");
3834  ;
3835  break;
3836  }
3837  case 246: {
3838  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "EDIT");
3839  ;
3840  break;
3841  }
3842  case 247: {
3843  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "ACCESS");
3844  ;
3845  break;
3846  }
3847  case 248: {
3848  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "USAGE");
3849  ;
3850  break;
3851  }
3852  case 249: {
3853  yyval.stringval =
3854  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "SERVER USAGE");
3855  ;
3856  break;
3857  }
3858  case 250: {
3859  yyval.stringval =
3860  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "ALTER SERVER");
3861  ;
3862  break;
3863  }
3864  case 251: {
3865  yyval.stringval =
3866  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "CREATE SERVER");
3867  ;
3868  break;
3869  }
3870  case 252: {
3871  yyval.stringval =
3872  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "CREATE TABLE");
3873  ;
3874  break;
3875  }
3876  case 253: {
3877  yyval.stringval =
3878  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "CREATE VIEW");
3879  ;
3880  break;
3881  }
3882  case 254: {
3883  yyval.stringval =
3884  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "SELECT VIEW");
3885  ;
3886  break;
3887  }
3888  case 255: {
3889  yyval.stringval =
3890  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DROP VIEW");
3891  ;
3892  break;
3893  }
3894  case 256: {
3895  yyval.stringval =
3896  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DROP SERVER");
3897  ;
3898  break;
3899  }
3900  case 257: {
3901  yyval.stringval =
3902  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "CREATE DASHBOARD");
3903  ;
3904  break;
3905  }
3906  case 258: {
3907  yyval.stringval =
3908  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "EDIT DASHBOARD");
3909  ;
3910  break;
3911  }
3912  case 259: {
3913  yyval.stringval =
3914  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "VIEW DASHBOARD");
3915  ;
3916  break;
3917  }
3918  case 260: {
3919  yyval.stringval =
3920  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DELETE DASHBOARD");
3921  ;
3922  break;
3923  }
3924  case 261: {
3925  yyval.stringval =
3926  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "VIEW SQL EDITOR");
3927  ;
3928  break;
3929  }
3930  case 262: {
3931  yyval.stringval =
3932  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DATABASE");
3933  ;
3934  break;
3935  }
3936  case 263: {
3937  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "TABLE");
3938  ;
3939  break;
3940  }
3941  case 264: {
3942  yyval.stringval =
3943  TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "DASHBOARD");
3944  ;
3945  break;
3946  }
3947  case 265: {
3948  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "VIEW");
3949  ;
3950  break;
3951  }
3952  case 266: {
3953  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_, "SERVER");
3954  ;
3955  break;
3956  }
3957  case 268: {
3958  yyval.stringval = TrackedPtr<std::string>::make(lexer.parsed_str_tokens_,
3959  std::to_string(yyvsp[0].intval));
3960  ;
3961  break;
3962  }
3963  case 269: {
3964  yyval.nodeval = TrackedPtr<Node>::make(
3965  lexer.parsed_node_tokens_, new ColumnRef((yyvsp[0].stringval)->release()));
3966  ;
3967  break;
3968  }
3969  case 270: {
3970  yyval.nodeval =
3971  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
3972  new ColumnRef((yyvsp[-2].stringval)->release(),
3973  (yyvsp[0].stringval)->release()));
3974  ;
3975  break;
3976  }
3977  case 271: {
3978  yyval.nodeval = TrackedPtr<Node>::make(
3979  lexer.parsed_node_tokens_,
3980  new ColumnRef((yyvsp[-2].stringval)->release(), nullptr));
3981  ;
3982  break;
3983  }
3984  case 272: {
3985  if (yyvsp[0].intval < 0)
3986  throw std::runtime_error("No negative number in type definition.");
3987  yyval.intval = yyvsp[0].intval;
3988  ;
3989  break;
3990  }
3991  case 273: {
3992  yyval.nodeval =
3993  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kBIGINT));
3994  ;
3995  break;
3996  }
3997  case 274: {
3998  yyval.nodeval =
3999  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kTEXT));
4000  ;
4001  break;
4002  }
4003  case 275: {
4004  yyval.nodeval =
4005  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kBOOLEAN));
4006  ;
4007  break;
4008  }
4009  case 276: {
4010  yyval.nodeval =
4011  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kCHAR));
4012  ;
4013  break;
4014  }
4015  case 277: {
4016  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4017  new SQLType(kCHAR, yyvsp[-1].intval));
4018  ;
4019  break;
4020  }
4021  case 278: {
4022  yyval.nodeval =
4023  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kNUMERIC));
4024  ;
4025  break;
4026  }
4027  case 279: {
4028  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4029  new SQLType(kNUMERIC, yyvsp[-1].intval));
4030  ;
4031  break;
4032  }
4033  case 280: {
4034  yyval.nodeval = TrackedPtr<Node>::make(
4035  lexer.parsed_node_tokens_,
4036  new SQLType(kNUMERIC, yyvsp[-3].intval, yyvsp[-1].intval, false));
4037  ;
4038  break;
4039  }
4040  case 281: {
4041  yyval.nodeval =
4042  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kDECIMAL));
4043  ;
4044  break;
4045  }
4046  case 282: {
4047  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4048  new SQLType(kDECIMAL, yyvsp[-1].intval));
4049  ;
4050  break;
4051  }
4052  case 283: {
4053  yyval.nodeval = TrackedPtr<Node>::make(
4054  lexer.parsed_node_tokens_,
4055  new SQLType(kDECIMAL, yyvsp[-3].intval, yyvsp[-1].intval, false));
4056  ;
4057  break;
4058  }
4059  case 284: {
4060  yyval.nodeval =
4061  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kINT));
4062  ;
4063  break;
4064  }
4065  case 285: {
4066  yyval.nodeval =
4067  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kTINYINT));
4068  ;
4069  break;
4070  }
4071  case 286: {
4072  yyval.nodeval =
4073  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kSMALLINT));
4074  ;
4075  break;
4076  }
4077  case 287: {
4078  yyval.nodeval =
4079  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kFLOAT));
4080  ;
4081  break;
4082  }
4083  case 288: {
4084  yyval.nodeval =
4085  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kFLOAT));
4086  ;
4087  break;
4088  }
4089  case 289: {
4090  yyval.nodeval =
4091  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kDOUBLE));
4092  ;
4093  break;
4094  }
4095  case 290: {
4096  yyval.nodeval =
4097  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kDOUBLE));
4098  ;
4099  break;
4100  }
4101  case 291: {
4102  yyval.nodeval =
4103  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kDATE));
4104  ;
4105  break;
4106  }
4107  case 292: {
4108  yyval.nodeval =
4109  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kTIME));
4110  ;
4111  break;
4112  }
4113  case 293: {
4114  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4115  new SQLType(kTIME, yyvsp[-1].intval));
4116  ;
4117  break;
4118  }
4119  case 294: {
4120  yyval.nodeval =
4121  TrackedPtr<Node>::make(lexer.parsed_node_tokens_, new SQLType(kTIMESTAMP));
4122  ;
4123  break;
4124  }
4125  case 295: {
4126  yyval.nodeval = TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4127  new SQLType(kTIMESTAMP, yyvsp[-1].intval));
4128  ;
4129  break;
4130  }
4131  case 296: {
4132  yyval.nodeval =
4133  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4134  new SQLType(static_cast<SQLTypes>(yyvsp[0].intval),
4135  static_cast<int>(kGEOMETRY),
4136  0,
4137  false));
4138  ;
4139  break;
4140  }
4141  case 297: {
4142  yyval.nodeval = yyvsp[0].nodeval;
4143  ;
4144  break;
4145  }
4146  case 298: {
4147  yyval.nodeval = yyvsp[-2].nodeval;
4148  if (dynamic_cast<SQLType*>((yyval.nodeval)->get())->get_is_array())
4149  throw std::runtime_error("array of array not supported.");
4150  dynamic_cast<SQLType*>((yyval.nodeval)->get())->set_is_array(true);
4151  ;
4152  break;
4153  }
4154  case 299: {
4155  yyval.nodeval = yyvsp[-3].nodeval;
4156  if (dynamic_cast<SQLType*>((yyval.nodeval)->get())->get_is_array())
4157  throw std::runtime_error("array of array not supported.");
4158  dynamic_cast<SQLType*>((yyval.nodeval)->get())->set_is_array(true);
4159  dynamic_cast<SQLType*>((yyval.nodeval)->get())->set_array_size(yyvsp[-1].intval);
4160  ;
4161  break;
4162  }
4163  case 300: {
4164  yyval.intval = kPOINT;
4165  ;
4166  break;
4167  }
4168  case 301: {
4169  yyval.intval = kLINESTRING;
4170  ;
4171  break;
4172  }
4173  case 302: {
4174  yyval.intval = kPOLYGON;
4175  ;
4176  break;
4177  }
4178  case 303: {
4179  yyval.intval = kMULTIPOLYGON;
4180  ;
4181  break;
4182  }
4183  case 304: {
4184  yyval.nodeval =
4185  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4186  new SQLType(static_cast<SQLTypes>(yyvsp[-1].intval),
4187  static_cast<int>(kGEOGRAPHY),
4188  4326,
4189  false));
4190  ;
4191  break;
4192  }
4193  case 305: {
4194  yyval.nodeval =
4195  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4196  new SQLType(static_cast<SQLTypes>(yyvsp[-3].intval),
4197  static_cast<int>(kGEOGRAPHY),
4198  yyvsp[-1].intval,
4199  false));
4200  ;
4201  break;
4202  }
4203  case 306: {
4204  yyval.nodeval =
4205  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4206  new SQLType(static_cast<SQLTypes>(yyvsp[-1].intval),
4207  static_cast<int>(kGEOMETRY),
4208  0,
4209  false));
4210  ;
4211  break;
4212  }
4213  case 307: {
4214  yyval.nodeval =
4215  TrackedPtr<Node>::make(lexer.parsed_node_tokens_,
4216  new SQLType(static_cast<SQLTypes>(yyvsp[-3].intval),
4217  static_cast<int>(kGEOMETRY),
4218  yyvsp[-1].intval,
4219  false));
4220  ;
4221  break;
4222  }
4223  case 308: {
4224  const auto uc_col_name =
4225  boost::to_upper_copy<std::string>(*(yyvsp[0].stringval)->get());
4226  if (reserved_keywords.find(uc_col_name) != reserved_keywords.end()) {
4227  errors_.push_back("Cannot use a reserved keyword as column name: " +
4228  *(yyvsp[0].stringval)->get());
4229  }
4230  yyval.stringval = yyvsp[0].stringval;
4231  ;
4232  break;
4233  }
4234  case 309: {
4235  yyval.stringval = yyvsp[0].stringval;
4236  ;
4237  break;
4238  }
4239  case 310: {
4240  yyval.stringval = yyvsp[0].stringval;
4241  ;
4242  break;
4243  }
4244  }
static std::set< std::string > reserved_keywords
YY_Parser_STYPE * yyvsp
Definition: sqltypes.h:49
Definition: sqldefs.h:38
Definition: sqldefs.h:41
std::string to_string(char const *&&v)
Definition: ParserNode.h:1707
YY_Parser_STYPE yyval
Definition: sqldefs.h:37
OUTPUT transform(INPUT const &input, FUNC const &func)
Definition: misc.h:290
Definition: sqltypes.h:52
Definition: sqltypes.h:53
Definition: sqldefs.h:40
Definition: sqldefs.h:69
Definition: sqltypes.h:41
Definition: sqltypes.h:45
Definition: sqldefs.h:39

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

YYBEGINDECLARELABEL YYDECLARELABEL ( yyerrlab  )
YYGOTO ( yybackup  )
YYGOTO ( yydefault  )
YYGOTO ( yynewstate  )
YYGOTO ( yyerrlab  )
YYGOTO ( yyerrlab1  )
YYGOTO ( yyerrhandle  )
YYGOTO ( yyerrdefault  )
YYLABEL ( yyerrlab  )

Definition at line 4295 of file Parser_wnd_pregen.cpp.

References count, YY_Parser_ERROR, YY_Parser_NERRS, yycheck, YYFLAG, YYLAST, yypact, and yystate.

4299  {
4300  ++YY_Parser_NERRS;
4301 
4302 #ifdef YY_Parser_ERROR_VERBOSE
4303  yyn = yypact[yystate];
4304 
4305  if (yyn > YYFLAG && yyn < YYLAST) {
4306  int size = 0;
4307  char* msg;
4308  int x, count;
4309 
4310  count = 0;
4311  /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
4312  for (x = (yyn < 0 ? -yyn : 0); x < (sizeof(yytname) / sizeof(char*)); x++)
4313  if (yycheck[x + yyn] == x)
4314  size += strlen(yytname[x]) + 15, count++;
4315  msg = (char*)malloc(size + 15);
4316  if (msg != 0) {
4317  strcpy(msg, "parse error");
4318 
4319  if (count < 5) {
4320  count = 0;
4321  for (x = (yyn < 0 ? -yyn : 0); x < (sizeof(yytname) / sizeof(char*)); x++)
4322  if (yycheck[x + yyn] == x) {
4323  strcat(msg, count == 0 ? ", expecting `" : " or `");
4324  strcat(msg, yytname[x]);
4325  strcat(msg, "'");
4326  count++;
4327  }
4328  }
4329  YY_Parser_ERROR(msg);
4330  free(msg);
4331  } else
4332  YY_Parser_ERROR("parse error; also virtual memory exceeded");
4333  } else
4334 #endif /* YY_Parser_ERROR_VERBOSE */
4335  YY_Parser_ERROR("parse error");
4336  }
static const short yypact[]
int count
#define YYFLAG
#define YY_Parser_ERROR
#define YYLAST
static const short yycheck[]
YYBEGINGOTO yystate
#define YY_Parser_NERRS
YYLABEL ( yyerrlab1  )
YYLABEL ( yyerrdefault  )

Variable Documentation

int count

Definition at line 1996 of file Parser_wnd_pregen.cpp.

Referenced by StringNoneEncoder::appendEncodedData(), FixedLengthArrayNoneEncoder::appendEncodedData(), ArrayNoneEncoder::appendEncodedData(), ct_sleep_worker(), DateDiff(), com.mapd.testthrift.ThriftTester::doWork(), query_state::Event::duration(), query_state::StdLog::duration(), com.mapd.calcite.parser.MapDParser::expandCovariance(), com.mapd.calcite.parser.MapDParser::expandVariance(), GeoRaster< T, Z >::fill_bin_from_avg_neighbors(), quantile::detail::TDigest< RealType, IndexType >::firstCentroid(), anonymous_namespace{UdfCompiler.cpp}::get_clang_version(), foreign_storage::RefreshTimeCalculator::getCurrentTime(), com.omnisci.jdbc.KeyLoader::getDetails_pkcs12(), RelAlgExecutor::getFilteredCountAll(), PerfectJoinHashTable::getInstance(), OverlapsJoinHashTable::getInstance(), StringNoneEncoder::getNumElemsForBytesEncodedData(), ArrayNoneEncoder::getNumElemsForBytesEncodedData(), PerfectJoinHashTable::initHashTableForDevice(), BaselineJoinHashTable::initHashTableForDevice(), RangeJoinHashTable::initHashTableOnCpu(), OverlapsJoinHashTable::initHashTableOnCpu(), anonymous_namespace{ResultSetIteration.cpp}::make_avg_target_value(), foreign_storage::CachingForeignStorageMgr::refreshChunksInCacheByFragment(), logger::Duration::relative_start_time(), com.omnisci.jdbc.OmniSciDatabaseMetaDataTest::test_permissons(), com.mapd.logrunner.LogRunner::theRest(), anonymous_namespace{HashTable.cpp}::perfect_hash::to_set_one_to_many(), anonymous_namespace{HashTable.cpp}::keyed_hash::to_set_one_to_many(), logger::Duration::value(), and YYLABEL().

else
Initial value:
{
int yychar1
#define YY_Parser_CHAR
#define YYTRANSLATE(x)

Definition at line 2211 of file Parser_wnd_pregen.cpp.

char* f = from

Definition at line 2000 of file Parser_wnd_pregen.cpp.

Referenced by _geoToHex2d(), QueryFragmentDescriptor::assignFragsToKernelDispatch(), QueryFragmentDescriptor::assignFragsToMultiDispatch(), threading_tbb::async(), atomicSumFltSkipVal(), TransformUTMTo4326::calculateY(), ResultSetReductionJIT::codegen(), GpuReductionHelperJIT::codegen(), FixedWidthInt::codegenDecode(), FixedWidthUnsigned::codegenDecode(), DiffFixedWidthInt::codegenDecode(), FixedWidthReal::codegenDecode(), FixedWidthSmallDate::codegenDecode(), org.apache.calcite.sql2rel.SqlToRelConverter::collectInsertTargets(), com.mapd.calcite.parser.MapDParser::convertSqlToRelNode(), ArrowResultSetConverter::convertToArrow(), org.apache.calcite.sql2rel.SqlToRelConverter::convertWhere(), File_Namespace::create(), File_Namespace::FileMgr::createFile(), com.mapd.tests.DateTimeTest.DateAddUnit::DateAddUnit(), com.mapd.tests.DateTimeTest.DateExtractUnit::DateExtractUnit(), Catalog_Namespace::SysCatalog::execInTransaction(), Analyzer::Expr::find_expr(), Analyzer::UOper::find_expr(), Analyzer::BinOper::find_expr(), Analyzer::InValues::find_expr(), Analyzer::CharLengthExpr::find_expr(), Analyzer::KeyForStringExpr::find_expr(), Analyzer::SampleRatioExpr::find_expr(), Analyzer::LowerExpr::find_expr(), Analyzer::CardinalityExpr::find_expr(), Analyzer::LikeExpr::find_expr(), Analyzer::RegexpExpr::find_expr(), Analyzer::WidthBucketExpr::find_expr(), Analyzer::LikelihoodExpr::find_expr(), Analyzer::AggExpr::find_expr(), Analyzer::CaseExpr::find_expr(), Analyzer::ExtractExpr::find_expr(), Analyzer::DateaddExpr::find_expr(), Analyzer::DatediffExpr::find_expr(), Analyzer::DatetruncExpr::find_expr(), anonymous_namespace{NativeCodegen.cpp}::findAliveRuntimeFuncs(), org.apache.calcite.sql2rel.SqlToRelConverter::getInitializerFactory(), import_export::Importer::importGDALRaster(), FilterSelectivity::isFilterSelectiveEnough(), CodeGenerator::link_udf_module(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard::lookupExp(), com.mapd.tests.DateTimeTest::main(), AutomaticIRMetadataGuard::makeQueryEngineFilename(), File_Namespace::open(), File_Namespace::FileMgr::openExistingFile(), GenericKeyHandler::operator()(), OverlapsKeyHandler::operator()(), RangeKeyHandler::operator()(), omnisci::JSON::operator[](), threading_serial::parallel_for(), threading_std::parallel_for(), ArrowForeignStorageBase::parseArrowTable(), Data_Namespace::ProcMeminfoParser::ProcMeminfoParser(), Parser::QuerySpec::QuerySpec(), File_Namespace::FileBuffer::readMetadata(), reg_hex_horiz_pixel_bin_packed(), reg_hex_horiz_pixel_bin_x(), reg_hex_horiz_pixel_bin_y(), reg_hex_vert_pixel_bin_packed(), reg_hex_vert_pixel_bin_x(), reg_hex_vert_pixel_bin_y(), threading_serial::task_group::run(), threading_std::task_group::run(), anonymous_namespace{NativeCodegen.cpp}::show_defined(), com.mapd.tests.DateTimeTest::testAdd(), com.mapd.tests.DateTimeTest::testDateAdd(), com.mapd.tests.DateTimeTest::testDateExtract(), com.mapd.tests.DateTimeTest::testDateTrunc(), com.mapd.tests.DateTimeTest::testDiff(), com.mapd.tests.DateTimeTest::testSub(), org.apache.calcite.sql2rel.SqlToRelConverter::toRel(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_body(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_for(), translate_function(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitBinOper(), and File_Namespace::FileBuffer::writeMetadata().

int i = count

Definition at line 2002 of file Parser_wnd_pregen.cpp.

Referenced by _adjustOverageClassII(), _faceIjkToH3(), _geoToHex2d(), _hex2dToGeo(), _ijkToHex2d(), _setIJK(), _unitIjkToDigit(), _upAp7(), _upAp7r(), Analyzer::GeoOperator::add_cast(), anonymous_namespace{RelAlgOptimizer.cpp}::add_new_indices_for(), import_export::TypedImportBuffer::add_values(), anonymous_namespace{RelAlgDagBuilder.cpp}::add_window_function_pre_project(), com.omnisci.jdbc.OmniSciPreparedStatement::addBatch(), Fragmenter_Namespace::InsertOrderFragmenter::addColumns(), import_export::TypedImportBuffer::addDictEncodedStringArray(), anonymous_namespace{RelAlgDagBuilder.cpp}::RANodeIterator::advance(), advance_target_ptr_col_wise(), advance_target_ptr_row_wise(), agg_id_varlen(), agg_id_varlen_shared(), TableFunctionManager::allocate_output_buffers(), QueryMemoryInitializer::allocateCountDistinctGpuMem(), Catalog_Namespace::Catalog::alterTableMetadata(), Parser::ColumnRef::analyze(), Parser::SelectStmt::analyze(), Parser::InsertStmt::analyze(), Parser::QuerySpec::analyze_group_by(), anonymous_namespace{RelAlgOptimizer.cpp}::any_dead_col_in(), foreign_storage::ParquetGeospatialImportEncoder::appendBaseAndRenderGroupData(), com.omnisci.jdbc.OmniSciEscapeFunctions::appendCall(), foreign_storage::OdbcGeospatialEncoder::appendData(), foreign_storage::ParquetGeospatialEncoder::appendData(), foreign_storage::ParquetStringImportEncoder::appendData(), foreign_storage::ParquetStringNoneEncoder::appendData(), foreign_storage::ParquetArrayEncoder::appendData(), foreign_storage::ParquetInPlaceEncoder::appendData(), NoneEncoder< T >::appendData(), StringNoneEncoder::appendData(), FixedLengthArrayNoneEncoder::appendData(), foreign_storage::ParquetGeospatialImportEncoder::appendData(), ArrayNoneEncoder::appendData(), foreign_storage::TypedParquetInPlaceEncoder< V, V >::appendData(), DateDaysEncoder< T, V >::appendEncodedOrUnencodedData(), FixedLengthEncoder< T, V >::appendEncodedOrUnencodedData(), foreign_storage::ParquetFixedLengthArrayEncoder::appendNullFixedLengthArray(), anonymous_namespace{ArrowResultSetConverter.cpp}::appendToColumnBuilder< arrow::Decimal128Builder, int64_t >(), anonymous_namespace{ArrowResultSetConverter.cpp}::appendToColumnBuilder< arrow::StringDictionary32Builder, int32_t >(), StringDictionary::appendToStorageBulk(), anonymous_namespace{WindowContext.cpp}::apply_permutation_to_partition(), RangeJoinHashTable::approximateTupleCount(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), area_ring(), anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), ArrowResultSet::ArrowResultSet(), SpeculativeTopNMap::asRows(), anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl(), anonymous_namespace{ResultSetSortImpl.cu}::baseline_sort_fp(), anonymous_namespace{ResultSetSortImpl.cu}::baseline_sort_int(), com.omnisci.jdbc.OmniSciPrepareTest::batchTest(), bind_function(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_inputs(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_project_to_input(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_table_func_to_input(), bitmap_set_size(), bitmap_set_union(), ResultSetLogicalValuesBuilder::build(), anonymous_namespace{ResultSetIteration.cpp}::build_array_target_value(), anonymous_namespace{RelAlgExecutionDescriptor.cpp}::build_dag(), build_du_web(), anonymous_namespace{RelAlgExecutor.cpp}::build_logical_expression(), anonymous_namespace{RelAlgExecutor.cpp}::build_render_targets(), anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value(), QueryFragmentDescriptor::buildFragmentPerKernelForTable(), StringDictionary::buildSortedCache(), calculateFragmentsOffsets(), Catalog_Namespace::Catalog::calculateSHA1(), TransformUTMTo4326::calculateY(), anonymous_namespace{ExtensionsIR.cpp}::call_requires_custom_type_handling(), CartesianProductIterator< T >::CartesianProductIterator(), Analyzer::Constant::cast_number(), centroid_add_linestring(), centroid_add_ring(), anonymous_namespace{QueryMemoryInitializer.cpp}::check_total_bitmap_memory(), RelLogicalUnion::checkForMatchingMetaInfoTypes(), HashTableRecycler::checkOverlapsHashtableBucketCompatability(), anonymous_namespace{RelAlgDagBuilder.cpp}::coalesce_nodes(), TargetExprCodegen::codegen(), GroupByAndAggregate::codegen(), spatial_type::Distance::codegen(), CodeGenerator::codegenArrayExpr(), CodeGenerator::codegenColVar(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenFunctionOperCastArgs(), CodeGenerator::codegenFunctionOperNullArg(), CodeGenerator::codegenGeoBinOper(), CodeGenerator::codegenGeoColumnVar(), CodeGenerator::codegenGeoConstant(), CodeGenerator::codegenGeoOperator(), CodeGenerator::codegenGeoUOper(), RangeJoinHashTable::codegenKey(), BaselineJoinHashTable::codegenKey(), spatial_type::Distance::codegenLoads(), spatial_type::Centroid::codegenLoads(), spatial_type::AreaPerimeter::codegenLoads(), CodeGenerator::codegenOuterJoinNullPlaceholder(), GpuSharedMemCodeBuilder::codegenReduction(), Analyzer::FunctionOper::collect_column_var(), Analyzer::ArrayExpr::collect_column_var(), Analyzer::GeoOperator::collect_column_var(), Analyzer::FunctionOper::collect_rte_idx(), Analyzer::ArrayExpr::collect_rte_idx(), Analyzer::GeoOperator::collect_rte_idx(), org.apache.calcite.rel.rules.OuterJoinOptViaNullRejectionRule::collectFilterCondition(), org.apache.calcite.sql2rel.SqlToRelConverter::collectInsertTargets(), org.apache.calcite.rel.rules.OuterJoinOptViaNullRejectionRule::collectProjectNode(), ColSlotContext::ColSlotContext(), column_list_row_sum__cpu_(), column_list_safe_row_sum__cpu_template(), anonymous_namespace{ColumnFetcher.cpp}::columnarize_result(), ColumnarResults::ColumnarResults(), anonymous_namespace{QueryMemoryInitializer.cpp}::compact_projection_buffer_for_cpu_columnar(), compare_to_key(), ScalarCodeGenerator::compile(), Geospatial::compress_coords(), compress_reference_path(), WindowFunctionContext::compute(), compute_bounds_of_coords(), compute_bucket_sizes_on_cpu(), shared::FileOrderBase< LocalFileComparator >::concatCaptureGroups(), com.omnisci.jdbc.OmniSciConnection.Connection_properties::Connection_properties(), anonymous_namespace{ArrowResultSetConverter.cpp}::convert_column(), ArrowForeignStorageBase::convertArrowDictionary(), org.apache.calcite.sql2rel.SqlToRelConverter::convertColumnList(), org.apache.calcite.sql2rel.SqlToRelConverter::convertIdentifier(), org.apache.calcite.sql2rel.SqlToRelConverter::convertMultisets(), org.apache.calcite.sql2rel.SqlToRelConverter::convertOrder(), DBHandler::convertRows(), org.apache.calcite.sql2rel.SqlToRelConverter::convertSelectImpl(), org.apache.calcite.sql2rel.SqlToRelConverter::convertSelectList(), ArrowResultSetConverter::convertToArrow(), copy_group_by_buffers_from_gpu(), copy_projection_buffer_from_gpu_columnar(), ResultSet::copyColumnIntoBuffer(), anonymous_namespace{OverlapsJoinHashTable.cpp}::correct_uninitialized_bucket_sizes_to_thresholds(), count_zeros(), anonymous_namespace{RelAlgDagBuilder.cpp}::create_compound(), create_dev_group_by_buffers(), anonymous_namespace{ResultSetReductionJIT.cpp}::create_llvm_function(), com.omnisci.jdbc.OmniSciStatementTest::create_times(), com.omnisci.jdbc.OmniSciStatementTest::create_types(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), Catalog_Namespace::Catalog::createDashboardSystemRoles(), ArrowForeignStorageBase::createDecimalColumn(), ArrowForeignStorageBase::createDictionaryEncodedColumn(), org.apache.calcite.sql2rel.SqlToRelConverter::createInsertBlackboard(), CodeGenerator::createInValuesBitmap(), com.mapd.utility.SQLImporter::createMapDTable(), Catalog_Namespace::Catalog::createShardedTable(), org.apache.calcite.sql2rel.SqlToRelConverter::createSource(), RelAlgExecutor::createTableFunctionWorkUnit(), RelAlgExecutor::createUnionWorkUnit(), ct_add_size_and_mul_alpha(), ct_binding_column2__cpu_template(), ct_binding_dict_encoded1__cpu_1(), ct_binding_dict_encoded2__cpu_1(), ct_binding_dict_encoded3__cpu_1(), ct_binding_dict_encoded4__cpu_1(), ct_binding_dict_encoded5__cpu_1(), ct_binding_dict_encoded6__cpu_1(), ct_binding_template__cpu_template(), ct_copy_and_add_size(), ct_get_string_chars__template(), ct_hamming_distance(), ct_named_const_output__cpu_template(), ct_named_output__cpu_template(), ct_named_rowmul_output__cpu_template(), ct_named_user_const_output__cpu_template(), ct_no_arg_constant_sizing(), ct_no_cursor_user_constant_sizer__cpu_(), ct_scalar_2_args_constant_sizing(), ct_sparse_add(), ct_string_to_chars__cpu_(), ct_templated_no_cursor_user_constant_sizer__cpu_template(), ct_test_nullable(), ct_test_preflight_multicursor_qe227__cpu_(), ct_test_preflight_singlecursor_qe227__cpu_(), anonymous_namespace{RelAlgExecutor.cpp}::decide_approx_count_distinct_implementation(), foreign_storage::ParquetInPlaceEncoder::decodeNullsAndEncodeData(), Geospatial::decompress_geo_coords_geoint32(), Analyzer::FunctionOper::deep_copy(), Analyzer::FunctionOperWithCustomTypeHandling::deep_copy(), Analyzer::GeoOperator::deep_copy(), Analyzer::GeoTransformOperator::deep_copy(), com.mapd.calcite.parser.MapDParser::desugar(), import_export::RasterImporter::detect(), DBHandler::detect_column_types(), import_export::Detector::detect_column_types(), anonymous_namespace{RelAlgDagBuilder.cpp}::disambiguate_case(), anonymous_namespace{RelAlgDagBuilder.cpp}::disambiguate_operator(), details::RelAlgDispatcher::dispatchAggregate(), details::RelAlgDispatcher::dispatchTableFunction(), distance_point_linestring(), distance_ring_linestring(), distance_ring_ring(), org.apache.calcite.sql2rel.SqlToRelConverter::distinctify(), import_export::Loader::distributeToShardsExistingColumns(), anonymous_namespace{ResultSetSortImpl.cu}::do_radix_sort(), com.mapd.bench.Benchmark::doWork(), Catalog_Namespace::Catalog::dropTable(), ResultSet::eachCellInColumn(), eliminate_dead_columns(), foreign_storage::ParquetStringEncoder< V >::encodeAndCopyContiguous(), foreign_storage::TypedParquetInPlaceEncoder< V, V >::encodeAndCopyContiguous(), com.omnisci.jdbc.OmniSciStatementTest::escape_function1(), com.omnisci.jdbc.OmniSciStatementTest::escape_function2(), com.omnisci.jdbc.OmniSciStatementTest::escape_function3(), Parser::DropColumnStmt::execute(), Parser::GrantPrivilegesStmt::execute(), Parser::RevokePrivilegesStmt::execute(), com.omnisci.jdbc.OmniSciPreparedStatement::executeBatch(), RelAlgExecutor::executeLogicalValues(), Executor::executePlanWithoutGroupBy(), com.mapd.utility.SQLImporter::executeQuery(), RelAlgExecutor::executeRelAlgQueryNoRetry(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgSubSeq(), Executor::executeWorkUnitPerFragment(), exp_to_scale(), com.mapd.calcite.parser.MapDParser::expand(), import_export::anonymous_namespace{Importer.cpp}::explode_collections_step1(), import_export::QueryExporterCSV::exportResults(), import_export::QueryExporterGDAL::exportResults(), expr_list_match(), anonymous_namespace{ExtensionsIR.cpp}::ext_func_call_requires_nullcheck(), QueryPlanDagExtractor::extractQueryPlanDagImpl(), anonymous_namespace{ResultSetIteration.cpp}::GeoQueryOutputFetchHandler::fetch(), Executor::fetchUnionChunks(), fill_empty_device_key(), anonymous_namespace{ResultSetReduction.cpp}::fill_empty_key_32(), anonymous_namespace{ResultSetReduction.cpp}::fill_empty_key_64(), anonymous_namespace{Execute.cpp}::fill_entries_for_empty_input(), import_export::fill_missing_columns(), fill_one_to_many_baseline_hash_table(), fill_one_to_many_hash_table_impl(), fill_one_to_many_hash_table_sharded_impl(), anonymous_namespace{ResultSetReduction.cpp}::fill_slots(), ResultSetStorage::fillOneEntryColWise(), ResultSetStorage::fillOneEntryRowWise(), WindowFunctionContext::fillPartitionEnd(), WindowFunctionContext::fillPartitionStart(), import_export::delimited_parser::find_beginning(), find_hoistable_conditions(), foreign_storage::anonymous_namespace{RegexFileBufferParser.cpp}::find_last_end_of_line(), find_push_down_filters(), Catalog_Namespace::SysCatalog::fixRolesMigration(), com.omnisci.jdbc.OmniSciPrepareTest::formBatch(), anonymous_namespace{JoinLoopTest.cpp}::generate_descriptors(), generate_random_string(), TableFunctionCompilationContext::generateEntryPoint(), TableFunctionCompilationContext::generateGpuKernel(), StubGenerator::generateStub(), Geospatial::GeoLineString::GeoLineString(), Geospatial::GeoMultiPolygon::GeoMultiPolygon(), Geospatial::GeoPolygon::GeoPolygon(), anonymous_namespace{RelAlgExecutor.cpp}::get_bitwise_equals_conjunction(), anonymous_namespace{QueryMemoryDescriptor.cpp}::get_col_byte_widths(), anonymous_namespace{QueryMemoryInitializer.cpp}::get_consistent_frag_size(), l0::get_drivers(), anonymous_namespace{UdfCompiler.cpp}::get_file_ext(), get_harmonic_mean_denominator(), import_export::Detector::get_headers(), get_heap_key_slot_index(), import_export::Importer::get_import_buffers(), anonymous_namespace{RelAlgTranslator.cpp}::get_in_values_expr(), get_inner_query_info(), anonymous_namespace{RelAlgExecutor.cpp}::get_inputs_meta(), anonymous_namespace{FromTableReordering.cpp}::get_join_qual_cost(), anonymous_namespace{RelAlgExecutor.cpp}::get_left_deep_join_input_sizes(), anonymous_namespace{RelAlgOptimizer.cpp}::get_live_ins(), get_matching_baseline_hash_slot_at(), get_matching_group_value(), get_matching_group_value_columnar(), anonymous_namespace{ResultSetReduction.cpp}::get_matching_group_value_columnar_reduction(), get_matching_group_value_columnar_slot(), get_matching_group_value_perfect_hash(), anonymous_namespace{ResultSetReduction.cpp}::get_matching_group_value_reduction(), get_max_with_row_offset__cpu_(), Fragmenter_Namespace::get_null_padding(), import_export::anonymous_namespace{RasterImporter.cpp}::get_ome_tiff_band_names(), anonymous_namespace{RelAlgExecutor.cpp}::get_order_entries(), import_export::delimited_parser::get_row(), anonymous_namespace{RelAlgExecutor.cpp}::get_shard_for_key(), get_table_id_to_frag_offsets(), anonymous_namespace{RelAlgExecutor.cpp}::get_targets_meta(), anonymous_namespace{RelAlgExecutor.cpp}::get_used_inputs(), Fragmenter_Namespace::get_var_len_null_array_indexes(), anonymous_namespace{RelAlgOptimizer.cpp}::get_visible_projects(), RelCompound::getAggExpr(), Analyzer::FunctionOper::getArg(), com.omnisci.jdbc.OmniSciResultSet::getArray(), ArrowResultSetConverter::getArrowBatch(), QueryMemoryDescriptor::getBufferColSlotCount(), RelSort::getCollation(), Geospatial::GeoLineString::getColumns(), StringDictionary::getCompare(), org.apache.calcite.sql2rel.SqlToRelConverter::getCorrelationUse(), ColumnDescriptor::getDefaultValueLiteral(), Analyzer::ArrayExpr::getElement(), shared::getExpOfTwo(), RelScan::getFieldName(), RelProject::getFieldName(), RelAggregate::getFieldName(), RelCompound::getFieldName(), TableOptimizer::getFragmentIndexes(), SharedKernelContext::getFragOffsets(), Catalog_Namespace::SysCatalog::getGranteesOfSharedDashboards(), RelAlgTranslator::getInIntegerSetExpr(), Executor::getInnerTabIdToJoinCond(), getLeafColumnRange(), com.omnisci.jdbc.OmniSciPreparedStatement::getMetaData(), StringDictionary::getOrAddBulkArray(), StringDictionary::getOrAddBulkRemote(), CgenState::getOrAddLiteral(), Analyzer::FunctionOper::getOwnArg(), QueryMemoryDescriptor::getPaddedColWidthForRange(), Catalog_Namespace::Catalog::getPhysicalTablesDescriptors(), com.omnisci.jdbc.OmniSciPreparedStatement::getQuery(), import_export::RasterImporter::getRawBandNamesForFormat(), com.omnisci.jdbc.OmniSciArray::getResultSet(), QueryExecutionContext::getRowSet(), StorageIOFacility::getRsBufferNoPadding(), RelCompound::getScalarSource(), Catalog_Namespace::Catalog::getShardColumnMetadataForTable(), ResultSet::getStorageIndex(), getSyntheticInputTableInfo(), Catalog_Namespace::Catalog::getTableEpoch(), com.omnisci.jdbc.OmniSciDatabaseMetaDataTest::getTablesFromResultSet(), RelCompound::getTargetExpr(), Fragmenter_Namespace::InsertOrderFragmenter::getVacuumOffsets(), omnisci::glob(), h3ToParent(), anonymous_namespace{RelAlgOptimizer.cpp}::AvailabilityChecker::hasAllSrcReady(), RelSort::hasEquivCollationOf(), anonymous_namespace{StringDictionary.cpp}::hash_string(), CodeGenerator::hashJoinLhsTuple(), Geospatial::anonymous_namespace{Types.cpp}::hex_string_to_binary_vector(), hoist_filter_cond_to_cross_join(), import_export::RasterImporter::import(), import_export::import_thread_delimited(), import_export::Importer::importDelimited(), import_export::Importer::Importer(), import_export::Importer::importGDALGeo(), import_export::Importer::importGDALRaster(), StringDictionary::increaseHashTableCapacity(), StringDictionary::increaseHashTableCapacityFromStorageAndMemory(), anonymous_namespace{WindowContext.cpp}::index_to_cume_dist(), anonymous_namespace{WindowContext.cpp}::index_to_dense_rank(), anonymous_namespace{WindowContext.cpp}::index_to_ntile(), anonymous_namespace{WindowContext.cpp}::index_to_partition_end(), anonymous_namespace{WindowContext.cpp}::index_to_percent_rank(), anonymous_namespace{WindowContext.cpp}::index_to_rank(), anonymous_namespace{WindowContext.cpp}::index_to_row_number(), logger::init(), init_agg_val_vec(), init_baseline_hash_join_buff(), init_columnar_buffer(), init_columnar_group_by_buffer_gpu_impl(), init_group_by_buffer_gpu(), init_hash_join_buff(), anonymous_namespace{QueryMemoryInitializer.cpp}::initColumnarBuffer(), QueryMemoryInitializer::initColumnarGroups(), result_set::initialize_target_values_for_storage(), ResultSetStorage::initializeColWise(), ResultSetStorage::initializeRowWise(), ResultSet::initPermutationBuffer(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), insert_sorted(), Fragmenter_Namespace::InsertOrderFragmenter::insertChunksIntoFragment(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), anonymous_namespace{RelAlgOptimizer.cpp}::is_identical_copy(), is_trivial_loop_join(), anonymous_namespace{ExtensionFunctionsBinding.cpp}::is_valid_identifier(), CudaMgr_Namespace::CudaMgr::isArchMaxwellOrLaterForAll(), CudaMgr_Namespace::CudaMgr::isArchVoltaOrGreaterForAll(), RelProject::isIdentity(), RelProject::isRenaming(), com.mapd.parser.server.ExtensionFunctionSignatureParser::join(), JoinColumnTupleIterator::JoinColumnTupleIterator(), QueryExecutionContext::launchCpuCode(), TableFunctionExecutionContext::launchGpuCode(), QueryExecutionContext::launchGpuCode(), length_linestring(), ColumnFetcher::linearizeVarLenArrayColFrags(), linestring_intersects_line(), linestring_intersects_linestring(), loadGeo(), foreign_storage::LazyParquetChunkLoader::loadRowGroups(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard::lookupExp(), anonymous_namespace{CompareIR.cpp}::lower_multicol_compare(), main(), anonymous_namespace{ResultSetReduction.cpp}::make_key(), ArrowForeignStorageBase::makeFragment(), ResultSet::makeGeoTargetValue(), anonymous_namespace{RelAlgOptimizer.cpp}::mark_live_columns(), ColumnarResults::materializeAllColumnsThroughIteration(), ColumnarResults::materializeAllLazyColumns(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumn(), max_distance_point_linestring(), quantile::detail::Centroids< RealType, IndexType >::mean(), migrations::MigrationMgr::migrateDateInDaysMetadata(), Catalog_Namespace::SysCatalog::migrateDBAccessPrivileges(), Catalog_Namespace::SysCatalog::migratePrivileges(), msg_consume(), multifrag_query(), multifrag_query_hoisted_literals(), MurmurHash3Impl(), anonymous_namespace{RelAlgDagBuilder.cpp}::n_outputs(), anonymous_namespace{ExecutionKernel.cpp}::need_to_hold_chunk(), HashJoin::normalizeColumnPairs(), QueryPlanDagExtractor::normalizeColumnsPair(), com.mapd.calcite.rel.rules.FilterTableFunctionMultiInputTransposeRule::onMatch(), JoinColumnTupleIterator::operator bool(), double_sort::Iterator< T0, T1 >::operator+(), JoinColumnTupleIterator::operator++(), double_sort::Iterator< T0, T1 >::operator+=(), double_sort::Iterator< T0, T1 >::operator-(), boost::log::operator<<(), operator<<(), quantile::detail::operator<<(), logger::operator<<(), Column< T >::operator=(), QueryMemoryDescriptor::operator==(), TextEncodingNone::operator==(), Analyzer::FunctionOper::operator==(), Analyzer::FunctionOperWithCustomTypeHandling::operator==(), Analyzer::ArrayExpr::operator==(), Analyzer::GeoOperator::operator==(), Analyzer::GeoTransformOperator::operator==(), VectorView< RealType >::operator[](), RegisteredQueryHint::operator||(), threading_serial::parallel_for(), threading_std::parallel_for(), threading_serial::parallel_reduce(), threading_std::parallel_reduce(), ResultSet::parallelRowCount(), ResultSet::parallelTop(), foreign_storage::parse_file_regions(), import_export::delimited_parser::parse_string_array(), Archive::parse_url(), ArrowForeignStorageBase::parseArrowTable(), foreign_storage::CsvFileBufferParser::parseBuffer(), foreign_storage::RegexFileBufferParser::parseBuffer(), ParserWrapper::ParserWrapper(), RebalanceCb::part_list_print(), partial_bitmap_union(), com.omnisci.jdbc.OmniSciPrepareTest::partialBatchTest(), foreign_storage::partition_for_threads(), polygon_contains_linestring(), polygon_contains_point(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::populate_encoder_map_for_import(), StringDictionary::populate_string_array_ids(), foreign_storage::AbstractTextFileDataWrapper::populateChunkMetadata(), foreign_storage::AbstractTextFileDataWrapper::populateChunks(), Parser::InsertIntoTableAsSelectStmt::populateData(), Executor::preloadFragOffsets(), QueryMemoryInitializer::prepareTopNHeapsDevBuffer(), anonymous_namespace{Types.cpp}::process_poly_ring(), DictionaryValueConverter< TARGET_TYPE >::processBuffer(), anonymous_namespace{RelAlgOptimizer.cpp}::propagate_input_renumbering(), anonymous_namespace{RelAlgOptimizer.cpp}::propagate_rex_input_renumber(), query_template_impl(), QueryDispatchQueue::QueryDispatchQueue(), QueryMemoryInitializer::QueryMemoryInitializer(), ra_exec_unit_desc_for_caching(), ArrowForeignStorageBase::read(), File_Namespace::FileBuffer::read(), read_stub_arg_double(), read_stub_arg_float(), read_stub_arg_int(), read_stub_arg_pvoid(), import_export::Importer::readMetadataSampleGDAL(), anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::RebindRexInputsFromLeftDeepJoin(), Executor::redeclareFilterFunction(), anonymous_namespace{RelAlgOptimizer.cpp}::redirect_inputs_of(), ResultSetStorage::reduce(), reduce_estimator_results(), Executor::reduceMultiDeviceResultSets(), Executor::reduceResults(), foreign_storage::anonymous_namespace{RegexFileBufferParser.cpp}::regex_match_columns(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard::register(), RelTableFunction::RelTableFunction(), anonymous_namespace{RelAlgDagBuilder.cpp}::remapTargetPointers(), AutomaticIRMetadataGuard::rememberOurInstructions(), Catalog_Namespace::Catalog::removeTableFromMap(), Catalog_Namespace::Catalog::renameColumn(), Catalog_Namespace::Catalog::renamePhysicalTable(), Catalog_Namespace::Catalog::renameTable(), anonymous_namespace{GpuSharedMemoryUtils.cpp}::replace_called_function_with(), anonymous_namespace{UdfCompiler.cpp}::replace_extension(), com.mapd.calcite.parser.MapDParser::replaceIsTrue(), ArrowForeignStorageBase::replaceNullValuesImpl(), anonymous_namespace{RelAlgDagBuilder.cpp}::anonymous_namespace{RelAlgDagBuilder.cpp}::reproject_targets(), com.mapd.utility.SQLImporter::resetBinaryColumn(), ArrowResultSet::resultSetArrowLoopback(), anonymous_namespace{RelAlgExecutor.cpp}::reverse_logical_distribution(), ResultSetStorage::rewriteAggregateBufferOffsets(), org.apache.calcite.sql2rel.SqlToRelConverter::rewriteAggregateWithGroupId(), QueryRewriter::rewriteConstrainedByInImpl(), com.mapd.calcite.parser.MapDParser::rewriteUpdateAsSelect(), anonymous_namespace{RelAlgExecutor.cpp}::rex_to_conjunctive_form(), row_adder(), row_addsub(), row_copier(), row_copier_text(), anonymous_namespace{QueryTemplateGenerator.cpp}::row_process(), RowSetMemoryOwner::RowSetMemoryOwner(), Worker::run(), com.mapd.logrunner.LogRunner.myThread::run(), com.mapd.tests.EagainConcurrencyTest::run_test(), com.mapd.tests.CatalogConcurrencyTest::run_test(), com.mapd.tests.SelectCopyFromDeleteConcurrencyTest::run_test(), ReductionInterpreterImpl::runFor(), Calcite::runServer(), com.mapd.tests.SystemTableConcurrencyTest::runTest(), com.mapd.tests.DistributedConcurrencyTest::runTest(), com.mapd.tests.ImportAlterValidateSelectConcurrencyTest::runTest(), com.mapd.tests.SelectUpdateDeleteDifferentTables::runTest(), com.mapd.tests.AlterDropTruncateValidateConcurrencyTest::runTest(), com.mapd.tests.CtasItasSelectUpdelConcurrencyTest::runTest(), com.mapd.tests.ForeignTableRefreshConcurrencyTest::runTest(), com.mapd.tests.UpdateDeleteInsertConcurrencyTest::runTest(), com.mapd.tests.CatalogConcurrencyTest::runTest(), com.mapd.tests.RuntimeInterruptConcurrencyTest::runTest(), com.mapd.tests.EagainConcurrencyTest::runTest(), com.mapd.tests.SelectCopyFromDeleteConcurrencyTest::runTest(), sameTypeInfo(), anonymous_namespace{RelAlgDagBuilder.cpp}::separate_window_function_expressions(), foreign_storage::anonymous_namespace{CsvFileBufferParser.cpp}::set_array_flags_and_geo_columns_count(), set_matching_group_value_perfect_hash_columnar(), set_valid_pos(), set_valid_pos_flag(), ColumnsForDevice::setBucketInfo(), com.mapd.utility.SQLImporter::setupBinaryColumn(), Fragmenter_Namespace::shuffleByIndexesImpl(), sift_down(), sift_up(), simplify_sort(), sink_projected_boolean_expr_to_join(), Executor::skipFragmentPair(), File_Namespace::FileMgr::sortAndCopyFilePagesForCompaction(), DataRecycler< std::optional< HashTableProperty >, EMPTY_META_INFO >::sortCacheContainerByQueryMetric(), CacheMetricTracker::sortCacheInfoByQueryMetric(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), SpeculativeTopNMap::SpeculativeTopNMap(), split(), ST_Contains_Point_LineString(), ST_XMax(), ST_XMin(), ST_YMax(), ST_YMin(), start_calcite_server_as_daemon(), RaExecutionSequence::stepsToNextBroadcast(), stream_insert(), string_ilike_simple(), string_like_simple(), import_export::StringToArray(), strip(), anonymous_namespace{RelAlgOptimizer.cpp}::sweep_dead_columns(), synthesize_metadata(), TableFunctionManager::TableFunctionManager(), anonymous_namespace{RelAlgExecutor.cpp}::target_exprs_for_union(), ThriftSerializers::target_meta_infos_to_thrift(), Parser::LikeExpr::test_is_simple_expr(), com.mapd.tests.ForeignTableRefreshConcurrencyTest::testConcurrency(), com.mapd.parser.server.test.TestMapDServer::testThreadedCall(), com.mapd.parser.server.test.TestServer::testThreadedCall(), com.mapd.tests.CalciteViewsConcurrencyTest::testViewsResolutionConcurrency(), thread_idx_(), RexCase::toHash(), org.apache.calcite.rel.externalize.MapDRelJson::toRex(), HashTable::toString(), com.mapd.parser.extension.ddl.SqlKeyConstraint::toString(), ColSlotContext::toString(), toString(), anonymous_namespace{HashJoin.cpp}::toStringFlat(), anonymous_namespace{RelAlgTranslator.cpp}::translate_collation(), anonymous_namespace{RelAlgExecutor.cpp}::translate_scalar_sources(), anonymous_namespace{RelAlgExecutor.cpp}::translate_scalar_sources_for_update(), anonymous_namespace{RelAlgExecutor.cpp}::translate_targets(), RelAlgTranslator::translateBinaryGeoFunction(), RelAlgTranslator::translateCase(), RelAlgTranslator::translateFunction(), RelAlgTranslator::translateFunctionArgs(), RelAlgTranslator::translateGeoColumn(), org.apache.calcite.sql2rel.SqlToRelConverter::translateIn(), RelAlgTranslator::translateOper(), RelAlgTranslator::translateWindowFunction(), tree_string(), import_export::trim_space(), anonymous_namespace{RelAlgOptimizer.cpp}::try_insert_coalesceable_proj(), Geospatial::unpack_geo_vector(), Geospatial::unpack_geo_vector< int32_t >(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), Catalog_Namespace::SysCatalog::updateBlankPasswordsToRandom(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumns(), Catalog_Namespace::Catalog::updateDefaultColumnValues(), Catalog_Namespace::Catalog::updateDeletedColumnIndicator(), Catalog_Namespace::Catalog::updateDictionaryNames(), Catalog_Namespace::Catalog::updateDictionarySchema(), Catalog_Namespace::Catalog::updateFrontendViewSchema(), Catalog_Namespace::Catalog::updateLinkSchema(), Catalog_Namespace::Catalog::updateLogicalToPhysicalTableMap(), foreign_storage::ParquetStringEncoder< V >::updateMetadataStats(), Catalog_Namespace::Catalog::updatePageSize(), Catalog_Namespace::SysCatalog::updatePasswordsToHashes(), DateDaysEncoder< T, V >::updateStats(), FixedLengthEncoder< T, V >::updateStats(), NoneEncoder< T >::updateStats(), FixedLengthEncoder< T, V >::updateStatsEncoded(), NoneEncoder< T >::updateStatsEncoded(), Catalog_Namespace::SysCatalog::updateSupportUserDeactivation(), Catalog_Namespace::Catalog::updateTableDescriptorSchema(), Catalog_Namespace::SysCatalog::updateUserSchema(), Archive::url_part(), Fragmenter_Namespace::InsertOrderFragmenter::vacuum_varlen_rows(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_column_mapping_and_row_group_metadata(), foreign_storage::anonymous_namespace{LazyParquetChunkLoader.cpp}::validate_equal_schema(), foreign_storage::ParquetStringEncoder< V >::validateAndAppendData(), foreign_storage::TypedParquetInPlaceEncoder< V, V >::validateAndAppendData(), QueryMemoryDescriptor::varlenOutputBufferElemSize(), QueryMemoryDescriptor::varlenOutputRowSizeToSlot(), com.mapd.utility.SQLImporter::verifyColumnSignaturesMatch(), RelAlgVisitor< std::vector< unsigned > >::visit(), RelRexDagVisitor::visit(), QueryPlanDagChecker::visit(), QueryPlanDagExtractor::visit(), DeepCopyVisitor::visitArrayOper(), anonymous_namespace{ExpressionRewrite.cpp}::ArrayElementStringLiteralEncodingVisitor::visitArrayOper(), ScalarExprVisitor< std::unordered_set< InputColDescriptor > >::visitArrayOper(), RexVisitor< std::unordered_set< const RexInput * > >::visitCase(), RexDeepCopyVisitor::visitCase(), anonymous_namespace{RelAlgDagBuilder.cpp}::WindowFunctionDetectionVisitor::visitCase(), anonymous_namespace{RelAlgDagBuilder.cpp}::RexWindowFuncReplacementVisitor::visitCase(), ColumnVarsVisitor::visitColumnVarTuple(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitCompound(), ScalarExprToSql::visitFunctionOper(), DeepCopyVisitor::visitFunctionOper(), ScalarExprVisitor< std::unordered_set< InputColDescriptor > >::visitFunctionOper(), anonymous_namespace{IRCodegen.cpp}::ExprTableIdVisitor::visitFunctionOper(), DeepCopyVisitor::visitFunctionOperWithCustomTypeHandling(), anonymous_namespace{RelAlgExecutor.cpp}::RexUsedInputsVisitor::visitInput(), org.apache.calcite.sql2rel.SqlToRelConverter.RexAccessShuttle::visitInputRef(), anonymous_namespace{RelAlgOptimizer.cpp}::RexRebindInputsVisitor::visitNode(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitOperator(), RexVisitor< std::unordered_set< const RexInput * > >::visitOperator(), RexDeepCopyVisitor::visitOperator(), anonymous_namespace{RelAlgDagBuilder.cpp}::WindowFunctionDetectionVisitor::visitOperator(), anonymous_namespace{RelAlgDagBuilder.cpp}::RexWindowFuncReplacementVisitor::visitOperator(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitProject(), RelProject::visitScalarExprs(), ScalarExprToSql::visitWindowFunction(), RexDeepCopyVisitor::visitWindowFunctionOperator(), while(), Worker::Worker(), Buffer_Namespace::Buffer::write(), StorageIOFacility::yieldDeleteCallback(), StorageIOFacility::yieldUpdateCallback(), and yyFlexLexer::yy_get_next_buffer().

* t = to

Definition at line 2001 of file Parser_wnd_pregen.cpp.

Referenced by Parser::QuerySpec::analyze_group_by(), Parser::IntLiteral::analyzeValue(), com.omnisci.jdbc.OmniSciColumnTypeTest.Answer::Answer(), any_bits_set(), anonymous_namespace{OverlapsJoinHashTable.cpp}::BucketSizeTuner::bucketThresholdsBelowMinThreshold(), GeoRaster< T, Z >::computeParallel(), DBHandler::detect_column_types(), RowToColumnLoader::do_load(), com.mapd.bench.BenchmarkCloud::doWork(), import_export::Detector::find_best_sqltypes(), ThreadController_NS::SimpleThreadController< FutureReturnType >::finish(), Calcite::get_db_objects(), table_functions::TableFunction::getArgs(), Geospatial::GeoTypesFactory::getNullGeoColumns(), PerfectJoinHashTableBuilder::initOneToOneHashTableOnCpu(), TableFunctionExecutionContext::launchCpuCode(), main(), com.mapd.common.SockTransportProperties::openServerTransportEncrypted(), operator~(), RowToColumnLoader::RowToColumnLoader(), com.mapd.tests.ForeignStorageConcurrencyTest::runTest(), com.mapd.tests.SystemTableConcurrencyTest::runTest(), com.mapd.tests.DistributedConcurrencyTest::runTest(), com.mapd.tests.ImportAlterValidateSelectConcurrencyTest::runTest(), com.mapd.tests.SelectUpdateDeleteDifferentTables::runTest(), com.mapd.tests.AlterDropTruncateValidateConcurrencyTest::runTest(), com.mapd.tests.CtasItasSelectUpdelConcurrencyTest::runTest(), com.mapd.tests.ForeignTableRefreshConcurrencyTest::runTest(), com.mapd.tests.UpdateDeleteInsertConcurrencyTest::runTest(), com.mapd.tests.CatalogConcurrencyTest::runTest(), com.mapd.tests.RuntimeInterruptConcurrencyTest::runTest(), com.mapd.tests.EagainConcurrencyTest::runTest(), com.mapd.tests.SelectCopyFromDeleteConcurrencyTest::runTest(), Catalog_Namespace::SessionInfo::set_executor_device_type(), Analyzer::Query::set_stmt_type(), SQLTypeInfo::set_type(), com.mapd.utility.SQLImporter::setColValue(), query_state::QueryState::setQuerySubmittedTime(), com.mapd.tests.CalciteViewsConcurrencyTest::testViewsResolutionConcurrency(), time_wrap(), ExtensionFunctionsWhitelist::toString(), ExtensionFunctionsWhitelist::toStringSQL(), Transform4326ToUTM::Transform4326ToUTM(), RelAlgTranslator::translateFunction(), anonymous_namespace{OverlapsJoinHashTable.cpp}::BucketSizeTuner::tuneLargerOneStep(), anonymous_namespace{OverlapsJoinHashTable.cpp}::BucketSizeTuner::tuneSmallerOneStep(), Fragmenter_Namespace::wait_cleanup_threads(), StorageIOFacility::yieldDeleteCallback(), and StorageIOFacility::yieldUpdateCallback().

YY_Parser_CHAR = YYEMPTY

Definition at line 2072 of file Parser_wnd_pregen.cpp.

YY_Parser_STYPE YY_Parser_LVAL

Definition at line 1939 of file Parser_wnd_pregen.cpp.

YY_Parser_NERRS = 0

Definition at line 1941 of file Parser_wnd_pregen.cpp.

int YY_Parser_PARSE_PARAM_DEF
Initial value:
{
int yystate
YYBEGINGOTO yystate

Definition at line 2022 of file Parser_wnd_pregen.cpp.

YYACCEPT

Definition at line 2249 of file Parser_wnd_pregen.cpp.

int yychar1 = 0

Definition at line 2028 of file Parser_wnd_pregen.cpp.

const short yycheck[]
static

Definition at line 1715 of file Parser_wnd_pregen.cpp.

Referenced by YYLABEL().

const short yydefact[]
static

Definition at line 1509 of file Parser_wnd_pregen.cpp.

const short yydefgoto[]
static
Initial value:
= {
9, 10, 494, 222, 136, 30, 11, 52, 12, 13, 14, 217, 305, 15, 16,
132, 133, 17, 388, 389, 390, 424, 425, 391, 228, 468, 18, 144, 46, 207,
208, 301, 370, 19, 20, 21, 37, 202, 203, 22, 138, 127, 214, 23, 24,
25, 26, 97, 177, 262, 263, 139, 350, 445, 407, 98, 99, 100, 101, 102,
358, 103, 104, 359, 105, 194, 287, 106, 162, 154, 242, 107, 108, 109, 110,
111, 112, 113, 114, 115, 174, 175, 264, 116, 246, 117, 118, 119, 307, 348}

Definition at line 1542 of file Parser_wnd_pregen.cpp.

yyerrstatus = 0

Definition at line 2027 of file Parser_wnd_pregen.cpp.

yylen = yyr2[yyn]

Definition at line 2061 of file Parser_wnd_pregen.cpp.

yyn = yypact[yystate]

Definition at line 2024 of file Parser_wnd_pregen.cpp.

Referenced by if().

const short yypact[]
static

Definition at line 1550 of file Parser_wnd_pregen.cpp.

Referenced by YYLABEL().

const short yypgoto[]
static
Initial value:
= {
-32768, 541, -32768, -264, 417, -32768, -32768, 527, -32768, -32768,
-32768, 433, -32768, -32768, -32768, -32768, 338, -32768, 182, 131,
-214, 141, -32768, -32768, -218, 108, -32768, -32768, -32768, -32768,
274, 360, 272, -32768, -32768, -32768, -32768, -32768, 277, -32768,
-94, -32768, -32768, -32768, 562, -23, -154, -32768, -32768, -32768,
233, -32768, -32768, -32768, -32768, -58, -32768, -32768, -32768, -32768,
-202, -32768, -32768, -237, -32768, -32768, -32768, -32768, -156, -32768,
-32768, -32768, -32768, -32768, -18, 385, -32768, -168, -32768, -87,
-32768, 425, -7, -31, -155, -193, 415, -32768, -109, -32768}

Definition at line 1604 of file Parser_wnd_pregen.cpp.

const short yyr1[]
static
Initial value:
= {
0, 168, 168, 169, 169, 169, 169, 169, 169, 169, 169, 170, 170, 171, 172, 172, 173,
173, 174, 174, 175, 175, 176, 177, 178, 179, 179, 180, 180, 181, 181, 182, 183, 183,
184, 185, 186, 186, 187, 187, 188, 188, 189, 189, 189, 190, 190, 190, 190, 190, 190,
190, 190, 190, 191, 191, 191, 191, 191, 191, 191, 192, 192, 193, 193, 194, 195, 195,
196, 196, 197, 197, 198, 198, 199, 199, 199, 200, 200, 200, 169, 201, 201, 201, 201,
202, 203, 204, 204, 204, 205, 205, 206, 207, 208, 208, 209, 209, 209, 210, 210, 210,
211, 212, 212, 212, 213, 213, 214, 215, 215, 216, 217, 217, 218, 218, 219, 220, 220,
221, 221, 222, 222, 223, 223, 223, 223, 223, 224, 224, 224, 224, 224, 224, 224, 224,
225, 225, 226, 226, 227, 227, 227, 227, 228, 228, 229, 229, 230, 230, 230, 230, 231,
231, 232, 232, 233, 233, 234, 234, 234, 235, 236, 237, 237, 238, 238, 239, 239, 239,
240, 240, 241, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242, 242,
242, 242, 243, 243, 243, 243, 244, 244, 244, 245, 245, 246, 246, 246, 246, 247, 247,
247, 247, 247, 247, 247, 247, 247, 247, 247, 248, 248, 249, 249, 250, 250, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 251, 251, 251,
252, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253,
253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, -1, -1,
255, 255, 256, 256, 257}

Definition at line 1474 of file Parser_wnd_pregen.cpp.

const short yyr2[]
static
Initial value:
= {
0, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 0, 1, 0, 9, 10, 2, 0, 4, 6, 8, 0,
1, 1, 3, 6, 7, 4, 1, 3, 3, 5, 1, 3, 1, 1, 3, 4, 2, 5, 0, 2, 3, 4, 2, 2, 2, 4,
2, 5, 4, 5, 7, 10, 5, 10, 4, 1, 3, 4, 0, 4, 0, 3, 0, 3, 1, 3, 3, 3, 0, 1, 1, 0,
2, 2, 1, 1, 1, 1, 1, 4, 8, 0, 1, 1, 1, 3, 3, 5, 0, 1, 2, 2, 0, 2, 3, 0, 4, 1,
3, 4, 1, 3, 7, 1, 1, 2, 1, 3, 1, 2, 2, 0, 3, 1, 3, 0, 2, 3, 3, 2, 3, 1, 1, 1,
1, 1, 1, 1, 1, 1, 3, 3, 6, 5, 5, 4, 5, 4, 0, 2, 4, 3, 4, 3, 6, 5, 1, 3, 4, 4,
1, 1, 1, 1, 1, 2, 3, 4, 5, 2, 0, 4, 8, 6, 4, 4, 4, 3, 3, 3, 3, 3, 6, 2, 2, 1,
1, 1, 3, 6, 1, 1, 1, 0, 1, 2, 3, 0, 1, 3, 1, 1, 4, 5, 5, 4, 1, 1, 3, 4, 1, 1,
1, 2, 3, 4, 1, 1, 3, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1,
3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 4, 1, 4, 6, 1, 4, 6, 1, 1,
1, 1, 1, 2, 1, 1, 1, 4, 1, 4, 1, 1, 3, 4, 1, 1, 1, 1, 4, 6, 4, 6, 1, 1, 1}

Definition at line 1495 of file Parser_wnd_pregen.cpp.

short* yyss = yyssa

Definition at line 2033 of file Parser_wnd_pregen.cpp.

Referenced by if().

short yyssa[YYINITDEPTH]

Definition at line 2030 of file Parser_wnd_pregen.cpp.

* yyssp = yyss - 1

Definition at line 2025 of file Parser_wnd_pregen.cpp.

int yystacksize = YYINITDEPTH

Definition at line 2046 of file Parser_wnd_pregen.cpp.

else yystate = 0

Definition at line 2069 of file Parser_wnd_pregen.cpp.

Referenced by YYLABEL().

const short yytable[]
static

Definition at line 1617 of file Parser_wnd_pregen.cpp.

const short yytranslate[]
static
Initial value:
= {
0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 21, 2, 2, 161, 162, 19, 17, 160, 18, 167, 20, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 159, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 163, 2, 164, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 165, 2, 166, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
158}

Definition at line 1075 of file Parser_wnd_pregen.cpp.

yyval = yyvsp[1 - yylen]

Definition at line 2057 of file Parser_wnd_pregen.cpp.

Definition at line 2034 of file Parser_wnd_pregen.cpp.

Referenced by if().

Definition at line 2031 of file Parser_wnd_pregen.cpp.

* yyvsp = yyvs

Definition at line 2026 of file Parser_wnd_pregen.cpp.