OmniSciDB  a667adc9c8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
parser_wnd_pregen.h File Reference
#include <stdio.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 "Parser/FlexLexer.h"
#include "ParserNode.h"
#include "ReservedKeywords.h"
#include "TrackedPtr.h"
+ Include dependency graph for parser_wnd_pregen.h:

Go to the source code of this file.

Classes

union  yy_Parser_stype
 
class  SQLLexer
 

Macros

#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_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 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 PUBLIC   378
 
#define REAL   379
 
#define REFERENCES   380
 
#define RENAME   381
 
#define RESTORE   382
 
#define REVOKE   383
 
#define ROLE   384
 
#define ROLLBACK   385
 
#define SCHEMA   386
 
#define SELECT   387
 
#define SET   388
 
#define SHARD   389
 
#define SHARED   390
 
#define SHOW   391
 
#define UNIQUE   392
 
#define UPDATE   393
 
#define USER   394
 
#define VALIDATE   395
 
#define VALUES   396
 
#define VIEW   397
 
#define WHEN   398
 
#define WHENEVER   399
 
#define WHERE   400
 
#define WITH   401
 
#define WORK   402
 
#define EDIT   403
 
#define ACCESS   404
 
#define DASHBOARD   405
 
#define SQL   406
 
#define EDITOR   407
 
#define YYSTYPE   YY_Parser_STYPE
 
#define YYLTYPE   YY_Parser_LTYPE
 

Variables

YY_Parser_STYPE YY_Parser_LVAL
 

Macro Definition Documentation

#define ACCESS   404

Definition at line 392 of file parser_wnd_pregen.h.

#define ADD   273

Definition at line 261 of file parser_wnd_pregen.h.

#define ALL   274

Definition at line 262 of file parser_wnd_pregen.h.

#define ALTER   275

Definition at line 263 of file parser_wnd_pregen.h.

#define AMMSC   276

Definition at line 264 of file parser_wnd_pregen.h.

#define AND   268

Definition at line 256 of file parser_wnd_pregen.h.

#define ANY   277

Definition at line 265 of file parser_wnd_pregen.h.

#define ARCHIVE   278

Definition at line 266 of file parser_wnd_pregen.h.

#define ARRAY   279

Definition at line 267 of file parser_wnd_pregen.h.

#define AS   280

Definition at line 268 of file parser_wnd_pregen.h.

#define ASC   281

Definition at line 269 of file parser_wnd_pregen.h.

#define AUTHORIZATION   282

Definition at line 270 of file parser_wnd_pregen.h.

#define BETWEEN   283

Definition at line 271 of file parser_wnd_pregen.h.

#define BIGINT   284

Definition at line 272 of file parser_wnd_pregen.h.

#define BOOLEAN   285

Definition at line 273 of file parser_wnd_pregen.h.

#define BY   286

Definition at line 274 of file parser_wnd_pregen.h.

#define CASE   287

Definition at line 275 of file parser_wnd_pregen.h.

#define CAST   288

Definition at line 276 of file parser_wnd_pregen.h.

#define CHAR_LENGTH   289

Definition at line 277 of file parser_wnd_pregen.h.

#define CHARACTER   290

Definition at line 278 of file parser_wnd_pregen.h.

#define CHECK   291

Definition at line 279 of file parser_wnd_pregen.h.

#define CLOSE   292

Definition at line 280 of file parser_wnd_pregen.h.

#define CLUSTER   293

Definition at line 281 of file parser_wnd_pregen.h.

#define COLUMN   294

Definition at line 282 of file parser_wnd_pregen.h.

#define COMMIT   295

Definition at line 283 of file parser_wnd_pregen.h.

#define COMPARISON   271

Definition at line 259 of file parser_wnd_pregen.h.

#define CONTINUE   296

Definition at line 284 of file parser_wnd_pregen.h.

#define COPY   297

Definition at line 285 of file parser_wnd_pregen.h.

#define CREATE   298

Definition at line 286 of file parser_wnd_pregen.h.

#define CURRENT   299

Definition at line 287 of file parser_wnd_pregen.h.

#define CURSOR   300

Definition at line 288 of file parser_wnd_pregen.h.

#define DASHBOARD   405

Definition at line 393 of file parser_wnd_pregen.h.

#define DASHEDNAME   259

Definition at line 247 of file parser_wnd_pregen.h.

#define DATABASE   301

Definition at line 289 of file parser_wnd_pregen.h.

#define DATAFRAME   302

Definition at line 290 of file parser_wnd_pregen.h.

#define DATE   303

Definition at line 291 of file parser_wnd_pregen.h.

#define DATE_TRUNC   305

Definition at line 293 of file parser_wnd_pregen.h.

#define DATETIME   304

Definition at line 292 of file parser_wnd_pregen.h.

#define DECIMAL   306

Definition at line 294 of file parser_wnd_pregen.h.

#define DECLARE   307

Definition at line 295 of file parser_wnd_pregen.h.

#define DEFAULT   308

Definition at line 296 of file parser_wnd_pregen.h.

#define DELETE   309

Definition at line 297 of file parser_wnd_pregen.h.

#define DESC   310

Definition at line 298 of file parser_wnd_pregen.h.

#define DICTIONARY   311

Definition at line 299 of file parser_wnd_pregen.h.

#define DISTINCT   312

Definition at line 300 of file parser_wnd_pregen.h.

#define DOUBLE   313

Definition at line 301 of file parser_wnd_pregen.h.

#define DROP   314

Definition at line 302 of file parser_wnd_pregen.h.

#define DUMP   315

Definition at line 303 of file parser_wnd_pregen.h.

#define EDIT   403

Definition at line 391 of file parser_wnd_pregen.h.

#define EDITOR   407

Definition at line 395 of file parser_wnd_pregen.h.

#define ELSE   316

Definition at line 304 of file parser_wnd_pregen.h.

#define EMAIL   260

Definition at line 248 of file parser_wnd_pregen.h.

#define END   317

Definition at line 305 of file parser_wnd_pregen.h.

#define EQUAL   270

Definition at line 258 of file parser_wnd_pregen.h.

#define EXISTS   318

Definition at line 306 of file parser_wnd_pregen.h.

#define EXTRACT   319

Definition at line 307 of file parser_wnd_pregen.h.

#define FETCH   320

Definition at line 308 of file parser_wnd_pregen.h.

#define FIRST   321

Definition at line 309 of file parser_wnd_pregen.h.

#define FIXEDNUM   266

Definition at line 254 of file parser_wnd_pregen.h.

#define FLOAT   322

Definition at line 310 of file parser_wnd_pregen.h.

#define FOR   323

Definition at line 311 of file parser_wnd_pregen.h.

#define FOREIGN   324

Definition at line 312 of file parser_wnd_pregen.h.

#define FOUND   325

Definition at line 313 of file parser_wnd_pregen.h.

#define FROM   326

Definition at line 314 of file parser_wnd_pregen.h.

#define FWDSTR   262

Definition at line 250 of file parser_wnd_pregen.h.

#define GEOGRAPHY   327

Definition at line 315 of file parser_wnd_pregen.h.

#define GEOMETRY   328

Definition at line 316 of file parser_wnd_pregen.h.

#define GRANT   329

Definition at line 317 of file parser_wnd_pregen.h.

#define GROUP   330

Definition at line 318 of file parser_wnd_pregen.h.

#define HAVING   331

Definition at line 319 of file parser_wnd_pregen.h.

#define IF   332

Definition at line 320 of file parser_wnd_pregen.h.

#define ILIKE   333

Definition at line 321 of file parser_wnd_pregen.h.

#define IN   334

Definition at line 322 of file parser_wnd_pregen.h.

#define INSERT   335

Definition at line 323 of file parser_wnd_pregen.h.

#define INTEGER   336

Definition at line 324 of file parser_wnd_pregen.h.

#define INTNUM   265

Definition at line 253 of file parser_wnd_pregen.h.

#define INTO   337

Definition at line 325 of file parser_wnd_pregen.h.

#define IS   338

Definition at line 326 of file parser_wnd_pregen.h.

#define LANGUAGE   339

Definition at line 327 of file parser_wnd_pregen.h.

#define LAST   340

Definition at line 328 of file parser_wnd_pregen.h.

#define LENGTH   341

Definition at line 329 of file parser_wnd_pregen.h.

#define LIKE   342

Definition at line 330 of file parser_wnd_pregen.h.

#define LIMIT   343

Definition at line 331 of file parser_wnd_pregen.h.

#define LINESTRING   344

Definition at line 332 of file parser_wnd_pregen.h.

#define MOD   345

Definition at line 333 of file parser_wnd_pregen.h.

#define MULTIPOLYGON   346

Definition at line 334 of file parser_wnd_pregen.h.

#define NAME   258

Definition at line 246 of file parser_wnd_pregen.h.

#define NOT   269

Definition at line 257 of file parser_wnd_pregen.h.

#define NOW   347

Definition at line 335 of file parser_wnd_pregen.h.

#define NULLX   348

Definition at line 336 of file parser_wnd_pregen.h.

#define NUMERIC   349

Definition at line 337 of file parser_wnd_pregen.h.

#define OF   350

Definition at line 338 of file parser_wnd_pregen.h.

#define OFFSET   351

Definition at line 339 of file parser_wnd_pregen.h.

#define ON   352

Definition at line 340 of file parser_wnd_pregen.h.

#define OPEN   353

Definition at line 341 of file parser_wnd_pregen.h.

#define OPTIMIZE   354

Definition at line 342 of file parser_wnd_pregen.h.

#define OPTIMIZED   355

Definition at line 343 of file parser_wnd_pregen.h.

#define OPTION   356

Definition at line 344 of file parser_wnd_pregen.h.

#define OR   267

Definition at line 255 of file parser_wnd_pregen.h.

#define ORDER   357

Definition at line 345 of file parser_wnd_pregen.h.

#define PARAMETER   358

Definition at line 346 of file parser_wnd_pregen.h.

#define POINT   359

Definition at line 347 of file parser_wnd_pregen.h.

#define POLYGON   360

Definition at line 348 of file parser_wnd_pregen.h.

#define PRECISION   361

Definition at line 349 of file parser_wnd_pregen.h.

#define PRIMARY   362

Definition at line 350 of file parser_wnd_pregen.h.

#define PRIVILEGES   363

Definition at line 351 of file parser_wnd_pregen.h.

#define PROCEDURE   364

Definition at line 352 of file parser_wnd_pregen.h.

#define PUBLIC   378

Definition at line 366 of file parser_wnd_pregen.h.

#define QUOTED_IDENTIFIER   264

Definition at line 252 of file parser_wnd_pregen.h.

#define REAL   379

Definition at line 367 of file parser_wnd_pregen.h.

#define REFERENCES   380

Definition at line 368 of file parser_wnd_pregen.h.

#define RENAME   381

Definition at line 369 of file parser_wnd_pregen.h.

#define RESTORE   382

Definition at line 370 of file parser_wnd_pregen.h.

#define REVOKE   383

Definition at line 371 of file parser_wnd_pregen.h.

#define ROLE   384

Definition at line 372 of file parser_wnd_pregen.h.

#define ROLLBACK   385

Definition at line 373 of file parser_wnd_pregen.h.

#define SCHEMA   386

Definition at line 374 of file parser_wnd_pregen.h.

#define SELECT   387

Definition at line 375 of file parser_wnd_pregen.h.

#define SELECTSTRING   263

Definition at line 251 of file parser_wnd_pregen.h.

#define SERVER   365

Definition at line 353 of file parser_wnd_pregen.h.

#define SET   388

Definition at line 376 of file parser_wnd_pregen.h.

#define SHARD   389

Definition at line 377 of file parser_wnd_pregen.h.

#define SHARED   390

Definition at line 378 of file parser_wnd_pregen.h.

#define SHOW   391

Definition at line 379 of file parser_wnd_pregen.h.

#define SMALLINT   366

Definition at line 354 of file parser_wnd_pregen.h.

#define SOME   367

Definition at line 355 of file parser_wnd_pregen.h.

#define SQL   406

Definition at line 394 of file parser_wnd_pregen.h.

#define STRING   261

Definition at line 249 of file parser_wnd_pregen.h.

#define TABLE   368

Definition at line 356 of file parser_wnd_pregen.h.

#define TEMPORARY   369

Definition at line 357 of file parser_wnd_pregen.h.

#define TEXT   370

Definition at line 358 of file parser_wnd_pregen.h.

#define THEN   371

Definition at line 359 of file parser_wnd_pregen.h.

#define TIME   372

Definition at line 360 of file parser_wnd_pregen.h.

#define TIMESTAMP   373

Definition at line 361 of file parser_wnd_pregen.h.

#define TINYINT   374

Definition at line 362 of file parser_wnd_pregen.h.

#define TO   375

Definition at line 363 of file parser_wnd_pregen.h.

#define TRUNCATE   376

Definition at line 364 of file parser_wnd_pregen.h.

#define UMINUS   272

Definition at line 260 of file parser_wnd_pregen.h.

#define UNION   377

Definition at line 365 of file parser_wnd_pregen.h.

#define UNIQUE   392

Definition at line 380 of file parser_wnd_pregen.h.

#define UPDATE   393

Definition at line 381 of file parser_wnd_pregen.h.

#define USER   394

Definition at line 382 of file parser_wnd_pregen.h.

#define VALIDATE   395

Definition at line 383 of file parser_wnd_pregen.h.

#define VALUES   396

Definition at line 384 of file parser_wnd_pregen.h.

#define VIEW   397

Definition at line 385 of file parser_wnd_pregen.h.

#define WHEN   398

Definition at line 386 of file parser_wnd_pregen.h.

#define WHENEVER   399

Definition at line 387 of file parser_wnd_pregen.h.

#define WHERE   400

Definition at line 388 of file parser_wnd_pregen.h.

#define WITH   401

Definition at line 389 of file parser_wnd_pregen.h.

#define WORK   402

Definition at line 390 of file parser_wnd_pregen.h.

#define YY_Parser_CHAR   yychar

Definition at line 211 of file parser_wnd_pregen.h.

#define YY_Parser_CLASS   SQLParser

Definition at line 18 of file parser_wnd_pregen.h.

#define YY_Parser_COMPATIBILITY   1

Definition at line 119 of file parser_wnd_pregen.h.

#define YY_Parser_CONSTRUCTOR_INIT   : lexer(yylval)

Definition at line 20 of file parser_wnd_pregen.h.

#define YY_Parser_DEBUG_FLAG   yydebug

Definition at line 217 of file parser_wnd_pregen.h.

#define YY_Parser_ERROR   yyerror

Definition at line 220 of file parser_wnd_pregen.h.

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

Definition at line 60 of file parser_wnd_pregen.h.

#define YY_Parser_LEX   yylex

Definition at line 202 of file parser_wnd_pregen.h.

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

Definition at line 58 of file parser_wnd_pregen.h.

#define YY_Parser_LLOC   yylloc

Definition at line 208 of file parser_wnd_pregen.h.

#define YY_Parser_LVAL   yylval

Definition at line 19 of file parser_wnd_pregen.h.

#define YY_Parser_MEMBERS

Definition at line 21 of file parser_wnd_pregen.h.

#define YY_Parser_NERRS   yynerrs

Definition at line 214 of file parser_wnd_pregen.h.

#define YY_Parser_PARSE   yyparse

Definition at line 199 of file parser_wnd_pregen.h.

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

Definition at line 90 of file parser_wnd_pregen.h.

#define YY_Parser_STYPE   yy_Parser_stype

Definition at line 104 of file parser_wnd_pregen.h.

#define YY_Parser_USE_GOTO   1

Definition at line 155 of file parser_wnd_pregen.h.

#define YYLTYPE   YY_Parser_LTYPE

Definition at line 786 of file parser_wnd_pregen.h.

#define yystype   YY_Parser_STYPE

Definition at line 150 of file parser_wnd_pregen.h.

#define YYSTYPE   YY_Parser_STYPE

Definition at line 782 of file parser_wnd_pregen.h.

Variable Documentation

YY_Parser_STYPE YY_Parser_LVAL

Definition at line 2019 of file Parser_wnd_pregen.cpp.