diff --git a/jest.config.js b/jest.config.js index f8b3b51..802a0a6 100644 --- a/jest.config.js +++ b/jest.config.js @@ -164,7 +164,9 @@ module.exports = { // timers: "real", // A map from regular expressions to paths to transformers - // transform: null, + transform: { + '^.+\\.tsx?$': 'ts-jest' + }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation transformIgnorePatterns: [ diff --git a/lib/antlr4/flinksql/sqlLexer.js b/lib/antlr4/flinksql/sqlLexer.js new file mode 100644 index 0000000..10ecb8a --- /dev/null +++ b/lib/antlr4/flinksql/sqlLexer.js @@ -0,0 +1,2025 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); +var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", + "\u0002\u0101\u091e\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004", + "\u0004\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t", + "\u0007\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004", + "\f\t\f\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010", + "\t\u0010\u0004\u0011\t\u0011\u0004\u0012\t\u0012\u0004\u0013\t\u0013", + "\u0004\u0014\t\u0014\u0004\u0015\t\u0015\u0004\u0016\t\u0016\u0004\u0017", + "\t\u0017\u0004\u0018\t\u0018\u0004\u0019\t\u0019\u0004\u001a\t\u001a", + "\u0004\u001b\t\u001b\u0004\u001c\t\u001c\u0004\u001d\t\u001d\u0004\u001e", + "\t\u001e\u0004\u001f\t\u001f\u0004 \t \u0004!\t!\u0004\"\t\"\u0004#", + "\t#\u0004$\t$\u0004%\t%\u0004&\t&\u0004\'\t\'\u0004(\t(\u0004)\t)\u0004", + "*\t*\u0004+\t+\u0004,\t,\u0004-\t-\u0004.\t.\u0004/\t/\u00040\t0\u0004", + "1\t1\u00042\t2\u00043\t3\u00044\t4\u00045\t5\u00046\t6\u00047\t7\u0004", + "8\t8\u00049\t9\u0004:\t:\u0004;\t;\u0004<\t<\u0004=\t=\u0004>\t>\u0004", + "?\t?\u0004@\t@\u0004A\tA\u0004B\tB\u0004C\tC\u0004D\tD\u0004E\tE\u0004", + "F\tF\u0004G\tG\u0004H\tH\u0004I\tI\u0004J\tJ\u0004K\tK\u0004L\tL\u0004", + "M\tM\u0004N\tN\u0004O\tO\u0004P\tP\u0004Q\tQ\u0004R\tR\u0004S\tS\u0004", + "T\tT\u0004U\tU\u0004V\tV\u0004W\tW\u0004X\tX\u0004Y\tY\u0004Z\tZ\u0004", + "[\t[\u0004\\\t\\\u0004]\t]\u0004^\t^\u0004_\t_\u0004`\t`\u0004a\ta\u0004", + "b\tb\u0004c\tc\u0004d\td\u0004e\te\u0004f\tf\u0004g\tg\u0004h\th\u0004", + "i\ti\u0004j\tj\u0004k\tk\u0004l\tl\u0004m\tm\u0004n\tn\u0004o\to\u0004", + "p\tp\u0004q\tq\u0004r\tr\u0004s\ts\u0004t\tt\u0004u\tu\u0004v\tv\u0004", + "w\tw\u0004x\tx\u0004y\ty\u0004z\tz\u0004{\t{\u0004|\t|\u0004}\t}\u0004", + "~\t~\u0004\u007f\t\u007f\u0004\u0080\t\u0080\u0004\u0081\t\u0081\u0004", + "\u0082\t\u0082\u0004\u0083\t\u0083\u0004\u0084\t\u0084\u0004\u0085\t", + "\u0085\u0004\u0086\t\u0086\u0004\u0087\t\u0087\u0004\u0088\t\u0088\u0004", + "\u0089\t\u0089\u0004\u008a\t\u008a\u0004\u008b\t\u008b\u0004\u008c\t", + "\u008c\u0004\u008d\t\u008d\u0004\u008e\t\u008e\u0004\u008f\t\u008f\u0004", + "\u0090\t\u0090\u0004\u0091\t\u0091\u0004\u0092\t\u0092\u0004\u0093\t", + "\u0093\u0004\u0094\t\u0094\u0004\u0095\t\u0095\u0004\u0096\t\u0096\u0004", + "\u0097\t\u0097\u0004\u0098\t\u0098\u0004\u0099\t\u0099\u0004\u009a\t", + "\u009a\u0004\u009b\t\u009b\u0004\u009c\t\u009c\u0004\u009d\t\u009d\u0004", + "\u009e\t\u009e\u0004\u009f\t\u009f\u0004\u00a0\t\u00a0\u0004\u00a1\t", + "\u00a1\u0004\u00a2\t\u00a2\u0004\u00a3\t\u00a3\u0004\u00a4\t\u00a4\u0004", + "\u00a5\t\u00a5\u0004\u00a6\t\u00a6\u0004\u00a7\t\u00a7\u0004\u00a8\t", + "\u00a8\u0004\u00a9\t\u00a9\u0004\u00aa\t\u00aa\u0004\u00ab\t\u00ab\u0004", + "\u00ac\t\u00ac\u0004\u00ad\t\u00ad\u0004\u00ae\t\u00ae\u0004\u00af\t", + "\u00af\u0004\u00b0\t\u00b0\u0004\u00b1\t\u00b1\u0004\u00b2\t\u00b2\u0004", + "\u00b3\t\u00b3\u0004\u00b4\t\u00b4\u0004\u00b5\t\u00b5\u0004\u00b6\t", + "\u00b6\u0004\u00b7\t\u00b7\u0004\u00b8\t\u00b8\u0004\u00b9\t\u00b9\u0004", + "\u00ba\t\u00ba\u0004\u00bb\t\u00bb\u0004\u00bc\t\u00bc\u0004\u00bd\t", + "\u00bd\u0004\u00be\t\u00be\u0004\u00bf\t\u00bf\u0004\u00c0\t\u00c0\u0004", + "\u00c1\t\u00c1\u0004\u00c2\t\u00c2\u0004\u00c3\t\u00c3\u0004\u00c4\t", + "\u00c4\u0004\u00c5\t\u00c5\u0004\u00c6\t\u00c6\u0004\u00c7\t\u00c7\u0004", + "\u00c8\t\u00c8\u0004\u00c9\t\u00c9\u0004\u00ca\t\u00ca\u0004\u00cb\t", + "\u00cb\u0004\u00cc\t\u00cc\u0004\u00cd\t\u00cd\u0004\u00ce\t\u00ce\u0004", + "\u00cf\t\u00cf\u0004\u00d0\t\u00d0\u0004\u00d1\t\u00d1\u0004\u00d2\t", + "\u00d2\u0004\u00d3\t\u00d3\u0004\u00d4\t\u00d4\u0004\u00d5\t\u00d5\u0004", + "\u00d6\t\u00d6\u0004\u00d7\t\u00d7\u0004\u00d8\t\u00d8\u0004\u00d9\t", + "\u00d9\u0004\u00da\t\u00da\u0004\u00db\t\u00db\u0004\u00dc\t\u00dc\u0004", + "\u00dd\t\u00dd\u0004\u00de\t\u00de\u0004\u00df\t\u00df\u0004\u00e0\t", + "\u00e0\u0004\u00e1\t\u00e1\u0004\u00e2\t\u00e2\u0004\u00e3\t\u00e3\u0004", + "\u00e4\t\u00e4\u0004\u00e5\t\u00e5\u0004\u00e6\t\u00e6\u0004\u00e7\t", + "\u00e7\u0004\u00e8\t\u00e8\u0004\u00e9\t\u00e9\u0004\u00ea\t\u00ea\u0004", + "\u00eb\t\u00eb\u0004\u00ec\t\u00ec\u0004\u00ed\t\u00ed\u0004\u00ee\t", + "\u00ee\u0004\u00ef\t\u00ef\u0004\u00f0\t\u00f0\u0004\u00f1\t\u00f1\u0004", + "\u00f2\t\u00f2\u0004\u00f3\t\u00f3\u0004\u00f4\t\u00f4\u0004\u00f5\t", + "\u00f5\u0004\u00f6\t\u00f6\u0004\u00f7\t\u00f7\u0004\u00f8\t\u00f8\u0004", + "\u00f9\t\u00f9\u0004\u00fa\t\u00fa\u0004\u00fb\t\u00fb\u0004\u00fc\t", + "\u00fc\u0004\u00fd\t\u00fd\u0004\u00fe\t\u00fe\u0004\u00ff\t\u00ff\u0004", + "\u0100\t\u0100\u0004\u0101\t\u0101\u0004\u0102\t\u0102\u0004\u0103\t", + "\u0103\u0004\u0104\t\u0104\u0003\u0002\u0003\u0002\u0003\u0003\u0003", + "\u0003\u0003\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003\u0006\u0003", + "\u0006\u0003\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\u0007\u0003", + "\b\u0003\b\u0003\b\u0003\t\u0003\t\u0003\n\u0003\n\u0003\u000b\u0003", + "\u000b\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003", + "\r\u0003\r\u0003\r\u0003\r\u0003\r\u0003\u000e\u0003\u000e\u0003\u000e", + "\u0003\u000e\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u0010\u0003\u0010", + "\u0003\u0010\u0003\u0010\u0003\u0011\u0003\u0011\u0003\u0011\u0003\u0011", + "\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012", + "\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0013\u0003\u0013\u0003\u0013", + "\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0014\u0003\u0014\u0003\u0014", + "\u0003\u0014\u0003\u0014\u0003\u0014\u0003\u0015\u0003\u0015\u0003\u0015", + "\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016", + "\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0017\u0003\u0017\u0003\u0017", + "\u0003\u0017\u0003\u0017\u0003\u0018\u0003\u0018\u0003\u0018\u0003\u0018", + "\u0003\u0018\u0003\u0019\u0003\u0019\u0003\u0019\u0003\u0019\u0003\u0019", + "\u0003\u0019\u0003\u0019\u0003\u001a\u0003\u001a\u0003\u001a\u0003\u001a", + "\u0003\u001a\u0003\u001a\u0003\u001b\u0003\u001b\u0003\u001b\u0003\u001b", + "\u0003\u001b\u0003\u001b\u0003\u001b\u0003\u001c\u0003\u001c\u0003\u001c", + "\u0003\u001c\u0003\u001c\u0003\u001c\u0003\u001d\u0003\u001d\u0003\u001d", + "\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001f\u0003\u001f\u0003\u001f", + "\u0003\u001f\u0003 \u0003 \u0003 \u0003!\u0003!\u0003!\u0003!\u0005", + "!\u0293\n!\u0003\"\u0003\"\u0003\"\u0003#\u0003#\u0003#\u0003#\u0003", + "#\u0003#\u0003#\u0003$\u0003$\u0003$\u0003$\u0003$\u0003$\u0003$\u0003", + "$\u0003%\u0003%\u0003%\u0003%\u0003%\u0003&\u0003&\u0003&\u0003&\u0003", + "&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0005&\u02b7\n&\u0003\'", + "\u0003\'\u0003\'\u0003(\u0003(\u0003(\u0003(\u0003(\u0003)\u0003)\u0003", + ")\u0003)\u0003)\u0003*\u0003*\u0003*\u0003*\u0003*\u0003*\u0003+\u0003", + "+\u0003+\u0003+\u0003+\u0003+\u0003,\u0003,\u0003,\u0003,\u0003-\u0003", + "-\u0003-\u0003-\u0003-\u0003.\u0003.\u0003.\u0003.\u0003/\u0003/\u0003", + "/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u00030\u00030\u00030\u0003", + "0\u00030\u00031\u00031\u00031\u00031\u00031\u00032\u00032\u00032\u0003", + "2\u00032\u00033\u00033\u00033\u00033\u00033\u00034\u00034\u00034\u0003", + "4\u00035\u00035\u00035\u00035\u00035\u00036\u00036\u00036\u00036\u0003", + "6\u00036\u00037\u00037\u00037\u00037\u00037\u00037\u00038\u00038\u0003", + "8\u00038\u00038\u00038\u00039\u00039\u00039\u00039\u00039\u0003:\u0003", + ":\u0003:\u0003:\u0003:\u0003;\u0003;\u0003;\u0003;\u0003;\u0003;\u0003", + "<\u0003<\u0003<\u0003<\u0003<\u0003=\u0003=\u0003=\u0003=\u0003=\u0003", + "=\u0003=\u0003=\u0003>\u0003>\u0003>\u0003?\u0003?\u0003?\u0003?\u0003", + "?\u0003?\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003", + "A\u0003A\u0003A\u0003A\u0003A\u0003A\u0003A\u0003B\u0003B\u0003B\u0003", + "B\u0003B\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0003D\u0003D\u0003D\u0003D\u0003D\u0003D\u0003E\u0003E\u0003", + "E\u0003E\u0003E\u0003F\u0003F\u0003F\u0003F\u0003F\u0003F\u0003F\u0003", + "F\u0003F\u0003F\u0003G\u0003G\u0003G\u0003G\u0003G\u0003G\u0003G\u0003", + "G\u0003G\u0003G\u0003H\u0003H\u0003H\u0003H\u0003H\u0003H\u0003H\u0003", + "H\u0003H\u0003H\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003", + "I\u0003J\u0003J\u0003J\u0003J\u0003J\u0003J\u0003K\u0003K\u0003K\u0003", + "K\u0003K\u0003K\u0003L\u0003L\u0003L\u0003L\u0003L\u0003M\u0003M\u0003", + "M\u0003M\u0003N\u0003N\u0003N\u0003N\u0003N\u0003O\u0003O\u0003O\u0003", + "O\u0003O\u0003O\u0003O\u0003P\u0003P\u0003P\u0003P\u0003P\u0003P\u0003", + "P\u0003Q\u0003Q\u0003Q\u0003Q\u0003Q\u0003Q\u0003R\u0003R\u0003R\u0003", + "R\u0003R\u0003R\u0003R\u0003R\u0003R\u0003R\u0003S\u0003S\u0003S\u0003", + "S\u0003S\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003", + "U\u0003U\u0003U\u0003U\u0003U\u0003U\u0003U\u0003V\u0003V\u0003V\u0003", + "V\u0003V\u0003V\u0003V\u0003W\u0003W\u0003W\u0003W\u0003W\u0003X\u0003", + "X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003Y\u0003Y\u0003", + "Y\u0003Y\u0003Y\u0003Y\u0003Y\u0003Y\u0003Z\u0003Z\u0003Z\u0003Z\u0003", + "Z\u0003Z\u0003Z\u0003[\u0003[\u0003[\u0003[\u0003[\u0003[\u0003[\u0003", + "[\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003", + "]\u0003]\u0003]\u0003]\u0003]\u0003^\u0003^\u0003^\u0003^\u0003^\u0003", + "_\u0003_\u0003_\u0003_\u0003_\u0003`\u0003`\u0003`\u0003`\u0003`\u0003", + "`\u0003`\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003", + "b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003c\u0003c\u0003c\u0003", + "c\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003", + "d\u0003d\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003", + "e\u0003e\u0003f\u0003f\u0003f\u0003f\u0003f\u0003g\u0003g\u0003g\u0003", + "g\u0003g\u0003g\u0003h\u0003h\u0003h\u0003h\u0003h\u0003h\u0003h\u0003", + "i\u0003i\u0003i\u0003i\u0003i\u0003i\u0003j\u0003j\u0003j\u0003j\u0003", + "j\u0003j\u0003j\u0003j\u0003j\u0003j\u0003k\u0003k\u0003k\u0003l\u0003", + "l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003", + "l\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003", + "n\u0003n\u0003n\u0003n\u0003n\u0003n\u0003o\u0003o\u0003o\u0003o\u0003", + "o\u0003o\u0003o\u0003p\u0003p\u0003p\u0003p\u0003p\u0003p\u0003q\u0003", + "q\u0003q\u0003q\u0003r\u0003r\u0003r\u0003r\u0003r\u0003r\u0003r\u0003", + "s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003t\u0003t\u0003", + "t\u0003t\u0003u\u0003u\u0003u\u0003u\u0003u\u0003u\u0003v\u0003v\u0003", + "v\u0003v\u0003v\u0003w\u0003w\u0003w\u0003w\u0003w\u0003w\u0003x\u0003", + "x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003", + "x\u0003y\u0003y\u0003y\u0003y\u0003y\u0003y\u0003y\u0003z\u0003z\u0003", + "z\u0003z\u0003z\u0003z\u0003z\u0003z\u0003z\u0003{\u0003{\u0003{\u0003", + "{\u0003{\u0003{\u0003|\u0003|\u0003|\u0003|\u0003|\u0003|\u0003|\u0003", + "}\u0003}\u0003}\u0003}\u0003}\u0003~\u0003~\u0003~\u0003~\u0003~\u0003", + "~\u0003~\u0003~\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003", + "\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u0080\u0003", + "\u0080\u0003\u0080\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003", + "\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0082\u0003", + "\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003", + "\u0082\u0003\u0083\u0003\u0083\u0003\u0083\u0005\u0083\u0515\n\u0083", + "\u0003\u0084\u0003\u0084\u0003\u0084\u0003\u0084\u0003\u0085\u0003\u0085", + "\u0003\u0085\u0003\u0086\u0003\u0086\u0003\u0086\u0003\u0087\u0003\u0087", + "\u0003\u0088\u0003\u0088\u0003\u0088\u0003\u0088\u0005\u0088\u0527\n", + "\u0088\u0003\u0089\u0003\u0089\u0003\u008a\u0003\u008a\u0003\u008a\u0003", + "\u008a\u0005\u008a\u052f\n\u008a\u0003\u008b\u0003\u008b\u0003\u008c", + "\u0003\u008c\u0003\u008d\u0003\u008d\u0003\u008e\u0003\u008e\u0003\u008f", + "\u0003\u008f\u0003\u0090\u0003\u0090\u0003\u0090\u0003\u0090\u0003\u0091", + "\u0003\u0091\u0003\u0092\u0003\u0092\u0003\u0093\u0003\u0093\u0003\u0094", + "\u0003\u0094\u0003\u0094\u0003\u0095\u0003\u0095\u0003\u0096\u0003\u0096", + "\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096", + "\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097", + "\u0003\u0097\u0003\u0098\u0003\u0098\u0003\u0098\u0003\u0098\u0003\u0099", + "\u0003\u0099\u0003\u0099\u0003\u009a\u0003\u009a\u0003\u009a\u0003\u009a", + "\u0003\u009a\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009b", + "\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009c\u0003\u009c\u0003\u009c", + "\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c", + "\u0003\u009c\u0003\u009c\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d", + "\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d", + "\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e", + "\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009f\u0003\u009f", + "\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u00a0", + "\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a1", + "\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a3\u0003\u00a3\u0003\u00a3", + "\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3", + "\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a4\u0003\u00a4", + "\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4", + "\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a5", + "\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5", + "\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a6\u0003\u00a6\u0003\u00a6", + "\u0003\u00a6\u0003\u00a6\u0003\u00a6\u0003\u00a6\u0003\u00a7\u0003\u00a7", + "\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7", + "\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a8\u0003\u00a8\u0003\u00a8", + "\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8", + "\u0003\u00a8\u0003\u00a8\u0003\u00a9\u0003\u00a9\u0003\u00a9\u0003\u00a9", + "\u0003\u00a9\u0003\u00a9\u0003\u00aa\u0003\u00aa\u0003\u00aa\u0003\u00aa", + "\u0003\u00aa\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ab", + "\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ac\u0003\u00ac\u0003\u00ac", + "\u0003\u00ac\u0003\u00ac\u0003\u00ac\u0003\u00ad\u0003\u00ad\u0003\u00ad", + "\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad", + "\u0003\u00ad\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae", + "\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00af\u0003\u00af", + "\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af", + "\u0003\u00af\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b0", + "\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b1\u0003\u00b1\u0003\u00b1", + "\u0003\u00b1\u0003\u00b1\u0003\u00b1\u0003\u00b2\u0003\u00b2\u0003\u00b2", + "\u0003\u00b2\u0003\u00b2\u0003\u00b2\u0003\u00b3\u0003\u00b3\u0003\u00b3", + "\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b4", + "\u0003\u00b4\u0003\u00b4\u0003\u00b4\u0003\u00b4\u0003\u00b5\u0003\u00b5", + "\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5", + "\u0003\u00b5\u0003\u00b5\u0003\u00b6\u0003\u00b6\u0003\u00b6\u0003\u00b6", + "\u0003\u00b6\u0003\u00b6\u0003\u00b6\u0003\u00b7\u0003\u00b7\u0003\u00b7", + "\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7", + "\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0005\u00b7\u0664\n", + "\u00b7\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003", + "\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b9\u0003\u00b9\u0003\u00b9\u0003", + "\u00b9\u0003\u00b9\u0003\u00b9\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003", + "\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003", + "\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00bb\u0003", + "\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003", + "\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003", + "\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003", + "\u00bc\u0003\u00bc\u0003\u00bd\u0003\u00bd\u0003\u00bd\u0003\u00bd\u0003", + "\u00bd\u0003\u00bd\u0003\u00bd\u0003\u00be\u0003\u00be\u0003\u00be\u0003", + "\u00be\u0003\u00be\u0003\u00be\u0003\u00be\u0003\u00bf\u0003\u00bf\u0003", + "\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003", + "\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00c0\u0003\u00c0\u0003", + "\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003", + "\u00c0\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003", + "\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c2\u0003\u00c2\u0003", + "\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003", + "\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003", + "\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c4\u0003\u00c4\u0003", + "\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003", + "\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c5\u0003\u00c5\u0003\u00c5\u0003", + "\u00c5\u0003\u00c5\u0003\u00c5\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003", + "\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c7\u0003", + "\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003", + "\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c8\u0003", + "\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003", + "\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003", + "\u00c9\u0003\u00c9\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003", + "\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00cb\u0003", + "\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003", + "\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cc\u0003\u00cc\u0003\u00cc\u0003", + "\u00cc\u0003\u00cc\u0003\u00cc\u0003\u00cc\u0003\u00cd\u0003\u00cd\u0003", + "\u00cd\u0003\u00cd\u0003\u00cd\u0003\u00cd\u0003\u00ce\u0003\u00ce\u0003", + "\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003", + "\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00cf\u0003\u00cf\u0003", + "\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003", + "\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00d0\u0003", + "\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003", + "\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003", + "\u00d0\u0005\u00d0\u0750\n\u00d0\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0005\u00d1\u0762\n\u00d1\u0003\u00d2\u0003\u00d2\u0003", + "\u00d2\u0003\u00d2\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003", + "\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d4\u0003", + "\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003", + "\u00d4\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003", + "\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d6\u0003\u00d6\u0003\u00d6\u0003", + "\u00d6\u0003\u00d6\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003", + "\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003", + "\u00d7\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003", + "\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003", + "\u00d8\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003", + "\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00da\u0003\u00da\u0003", + "\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003", + "\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003", + "\u00db\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003", + "\u00dc\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003", + "\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003", + "\u00de\u0003\u00df\u0003\u00df\u0003\u00df\u0003\u00df\u0003\u00df\u0003", + "\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003", + "\u00e0\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003", + "\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e2\u0003\u00e2\u0003\u00e2\u0003", + "\u00e2\u0003\u00e2\u0003\u00e2\u0003\u00e2\u0003\u00e3\u0003\u00e3\u0003", + "\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e4\u0003", + "\u00e4\u0003\u00e4\u0003\u00e4\u0003\u00e4\u0003\u00e5\u0003\u00e5\u0003", + "\u00e5\u0003\u00e5\u0003\u00e5\u0003\u00e6\u0003\u00e6\u0003\u00e6\u0003", + "\u00e6\u0003\u00e6\u0003\u00e6\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003", + "\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003", + "\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003", + "\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003", + "\u00e8\u0003\u00e8\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003", + "\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003", + "\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00ea\u0003\u00ea\u0003\u00ea\u0003", + "\u00ea\u0003\u00ea\u0003\u00ea\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003", + "\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00ec\u0003", + "\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ed\u0003", + "\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003", + "\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ef\u0003", + "\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00f0\u0003", + "\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003", + "\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003", + "\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f2\u0003\u00f2\u0003", + "\u00f2\u0003\u00f2\u0007\u00f2\u0858\n\u00f2\f\u00f2\u000e\u00f2\u085b", + "\u000b\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2", + "\u0007\u00f2\u0862\n\u00f2\f\u00f2\u000e\u00f2\u0865\u000b\u00f2\u0003", + "\u00f2\u0005\u00f2\u0868\n\u00f2\u0003\u00f3\u0006\u00f3\u086b\n\u00f3", + "\r\u00f3\u000e\u00f3\u086c\u0003\u00f3\u0003\u00f3\u0003\u00f4\u0006", + "\u00f4\u0872\n\u00f4\r\u00f4\u000e\u00f4\u0873\u0003\u00f4\u0003\u00f4", + "\u0003\u00f5\u0006\u00f5\u0879\n\u00f5\r\u00f5\u000e\u00f5\u087a\u0003", + "\u00f5\u0003\u00f5\u0003\u00f6\u0006\u00f6\u0880\n\u00f6\r\u00f6\u000e", + "\u00f6\u0881\u0003\u00f7\u0006\u00f7\u0885\n\u00f7\r\u00f7\u000e\u00f7", + "\u0886\u0003\u00f7\u0003\u00f7\u0003\u00f7\u0003\u00f7\u0005\u00f7\u088d", + "\n\u00f7\u0003\u00f7\u0003\u00f7\u0005\u00f7\u0891\n\u00f7\u0003\u00f8", + "\u0006\u00f8\u0894\n\u00f8\r\u00f8\u000e\u00f8\u0895\u0003\u00f8\u0005", + "\u00f8\u0899\n\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8", + "\u0005\u00f8\u089f\n\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8\u0005", + "\u00f8\u08a4\n\u00f8\u0003\u00f9\u0006\u00f9\u08a7\n\u00f9\r\u00f9\u000e", + "\u00f9\u08a8\u0003\u00f9\u0005\u00f9\u08ac\n\u00f9\u0003\u00f9\u0003", + "\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0005\u00f9\u08b3\n\u00f9", + "\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0005\u00f9", + "\u08ba\n\u00f9\u0003\u00fa\u0003\u00fa\u0003\u00fa\u0006\u00fa\u08bf", + "\n\u00fa\r\u00fa\u000e\u00fa\u08c0\u0003\u00fb\u0003\u00fb\u0003\u00fb", + "\u0003\u00fb\u0007\u00fb\u08c7\n\u00fb\f\u00fb\u000e\u00fb\u08ca\u000b", + "\u00fb\u0003\u00fb\u0003\u00fb\u0003\u00fc\u0006\u00fc\u08cf\n\u00fc", + "\r\u00fc\u000e\u00fc\u08d0\u0003\u00fc\u0003\u00fc\u0007\u00fc\u08d5", + "\n\u00fc\f\u00fc\u000e\u00fc\u08d8\u000b\u00fc\u0003\u00fc\u0003\u00fc", + "\u0006\u00fc\u08dc\n\u00fc\r\u00fc\u000e\u00fc\u08dd\u0005\u00fc\u08e0", + "\n\u00fc\u0003\u00fd\u0003\u00fd\u0005\u00fd\u08e4\n\u00fd\u0003\u00fd", + "\u0006\u00fd\u08e7\n\u00fd\r\u00fd\u000e\u00fd\u08e8\u0003\u00fe\u0003", + "\u00fe\u0003\u00ff\u0003\u00ff\u0003\u0100\u0003\u0100\u0003\u0100\u0003", + "\u0100\u0007\u0100\u08f3\n\u0100\f\u0100\u000e\u0100\u08f6\u000b\u0100", + "\u0003\u0100\u0005\u0100\u08f9\n\u0100\u0003\u0100\u0005\u0100\u08fc", + "\n\u0100\u0003\u0100\u0003\u0100\u0003\u0101\u0003\u0101\u0003\u0101", + "\u0003\u0101\u0003\u0101\u0003\u0101\u0003\u0101\u0003\u0102\u0003\u0102", + "\u0003\u0102\u0003\u0102\u0003\u0102\u0007\u0102\u090c\n\u0102\f\u0102", + "\u000e\u0102\u090f\u000b\u0102\u0003\u0102\u0003\u0102\u0003\u0102\u0003", + "\u0102\u0003\u0102\u0003\u0103\u0006\u0103\u0917\n\u0103\r\u0103\u000e", + "\u0103\u0918\u0003\u0103\u0003\u0103\u0003\u0104\u0003\u0104\u0003\u090d", + "\u0002\u0105\u0003\u0003\u0005\u0004\u0007\u0005\t\u0006\u000b\u0007", + "\r\b\u000f\t\u0011\n\u0013\u000b\u0015\f\u0017\r\u0019\u000e\u001b\u000f", + "\u001d\u0010\u001f\u0011!\u0012#\u0013%\u0014\'\u0015)\u0016+\u0017", + "-\u0018/\u00191\u001a3\u001b5\u001c7\u001d9\u001e;\u001f= ?!A\"C#E$", + "G%I&K\'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s;u{?}@\u007fA\u0081", + "B\u0083C\u0085D\u0087E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095", + "L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9", + "V\u00abW\u00adX\u00afY\u00b1Z\u00b3[\u00b5\\\u00b7]\u00b9^\u00bb_\u00bd", + "`\u00bfa\u00c1b\u00c3c\u00c5d\u00c7e\u00c9f\u00cbg\u00cdh\u00cfi\u00d1", + "j\u00d3k\u00d5l\u00d7m\u00d9n\u00dbo\u00ddp\u00dfq\u00e1r\u00e3s\u00e5", + "t\u00e7u\u00e9v\u00ebw\u00edx\u00efy\u00f1z\u00f3{\u00f5|\u00f7}\u00f9", + "~\u00fb\u007f\u00fd\u0080\u00ff\u0081\u0101\u0082\u0103\u0083\u0105", + "\u0084\u0107\u0085\u0109\u0086\u010b\u0087\u010d\u0088\u010f\u0089\u0111", + "\u008a\u0113\u008b\u0115\u008c\u0117\u008d\u0119\u008e\u011b\u008f\u011d", + "\u0090\u011f\u0091\u0121\u0092\u0123\u0093\u0125\u0094\u0127\u0095\u0129", + "\u0096\u012b\u0097\u012d\u0098\u012f\u0099\u0131\u009a\u0133\u009b\u0135", + "\u009c\u0137\u009d\u0139\u009e\u013b\u009f\u013d\u00a0\u013f\u00a1\u0141", + "\u00a2\u0143\u00a3\u0145\u00a4\u0147\u00a5\u0149\u00a6\u014b\u00a7\u014d", + "\u00a8\u014f\u00a9\u0151\u00aa\u0153\u00ab\u0155\u00ac\u0157\u00ad\u0159", + "\u00ae\u015b\u00af\u015d\u00b0\u015f\u00b1\u0161\u00b2\u0163\u00b3\u0165", + "\u00b4\u0167\u00b5\u0169\u00b6\u016b\u00b7\u016d\u00b8\u016f\u00b9\u0171", + "\u00ba\u0173\u00bb\u0175\u00bc\u0177\u00bd\u0179\u00be\u017b\u00bf\u017d", + "\u00c0\u017f\u00c1\u0181\u00c2\u0183\u00c3\u0185\u00c4\u0187\u00c5\u0189", + "\u00c6\u018b\u00c7\u018d\u00c8\u018f\u00c9\u0191\u00ca\u0193\u00cb\u0195", + "\u00cc\u0197\u00cd\u0199\u00ce\u019b\u00cf\u019d\u00d0\u019f\u00d1\u01a1", + "\u00d2\u01a3\u00d3\u01a5\u00d4\u01a7\u00d5\u01a9\u00d6\u01ab\u00d7\u01ad", + "\u00d8\u01af\u00d9\u01b1\u00da\u01b3\u00db\u01b5\u00dc\u01b7\u00dd\u01b9", + "\u00de\u01bb\u00df\u01bd\u00e0\u01bf\u00e1\u01c1\u00e2\u01c3\u00e3\u01c5", + "\u00e4\u01c7\u00e5\u01c9\u00e6\u01cb\u00e7\u01cd\u00e8\u01cf\u00e9\u01d1", + "\u00ea\u01d3\u00eb\u01d5\u00ec\u01d7\u00ed\u01d9\u00ee\u01db\u00ef\u01dd", + "\u00f0\u01df\u00f1\u01e1\u00f2\u01e3\u00f3\u01e5\u00f4\u01e7\u00f5\u01e9", + "\u00f6\u01eb\u00f7\u01ed\u00f8\u01ef\u00f9\u01f1\u00fa\u01f3\u00fb\u01f5", + "\u00fc\u01f7\u0002\u01f9\u0002\u01fb\u0002\u01fd\u0002\u01ff\u00fd\u0201", + "\u00fe\u0203\u00ff\u0205\u0100\u0207\u0101\u0003\u0002\u000b\u0004\u0002", + "))^^\u0004\u0002$$^^\u0003\u0002bb\u0004\u0002--//\u0003\u00022;\u0003", + "\u0002C\\\u0004\u0002\f\f\u000f\u000f\u0003\u0002--\u0005\u0002\u000b", + "\f\u000f\u000f\"\"\u0002\u0945\u0002\u0003\u0003\u0002\u0002\u0002\u0002", + "\u0005\u0003\u0002\u0002\u0002\u0002\u0007\u0003\u0002\u0002\u0002\u0002", + "\t\u0003\u0002\u0002\u0002\u0002\u000b\u0003\u0002\u0002\u0002\u0002", + "\r\u0003\u0002\u0002\u0002\u0002\u000f\u0003\u0002\u0002\u0002\u0002", + "\u0011\u0003\u0002\u0002\u0002\u0002\u0013\u0003\u0002\u0002\u0002\u0002", + "\u0015\u0003\u0002\u0002\u0002\u0002\u0017\u0003\u0002\u0002\u0002\u0002", + "\u0019\u0003\u0002\u0002\u0002\u0002\u001b\u0003\u0002\u0002\u0002\u0002", + "\u001d\u0003\u0002\u0002\u0002\u0002\u001f\u0003\u0002\u0002\u0002\u0002", + "!\u0003\u0002\u0002\u0002\u0002#\u0003\u0002\u0002\u0002\u0002%\u0003", + "\u0002\u0002\u0002\u0002\'\u0003\u0002\u0002\u0002\u0002)\u0003\u0002", + "\u0002\u0002\u0002+\u0003\u0002\u0002\u0002\u0002-\u0003\u0002\u0002", + "\u0002\u0002/\u0003\u0002\u0002\u0002\u00021\u0003\u0002\u0002\u0002", + "\u00023\u0003\u0002\u0002\u0002\u00025\u0003\u0002\u0002\u0002\u0002", + "7\u0003\u0002\u0002\u0002\u00029\u0003\u0002\u0002\u0002\u0002;\u0003", + "\u0002\u0002\u0002\u0002=\u0003\u0002\u0002\u0002\u0002?\u0003\u0002", + "\u0002\u0002\u0002A\u0003\u0002\u0002\u0002\u0002C\u0003\u0002\u0002", + "\u0002\u0002E\u0003\u0002\u0002\u0002\u0002G\u0003\u0002\u0002\u0002", + "\u0002I\u0003\u0002\u0002\u0002\u0002K\u0003\u0002\u0002\u0002\u0002", + "M\u0003\u0002\u0002\u0002\u0002O\u0003\u0002\u0002\u0002\u0002Q\u0003", + "\u0002\u0002\u0002\u0002S\u0003\u0002\u0002\u0002\u0002U\u0003\u0002", + "\u0002\u0002\u0002W\u0003\u0002\u0002\u0002\u0002Y\u0003\u0002\u0002", + "\u0002\u0002[\u0003\u0002\u0002\u0002\u0002]\u0003\u0002\u0002\u0002", + "\u0002_\u0003\u0002\u0002\u0002\u0002a\u0003\u0002\u0002\u0002\u0002", + "c\u0003\u0002\u0002\u0002\u0002e\u0003\u0002\u0002\u0002\u0002g\u0003", + "\u0002\u0002\u0002\u0002i\u0003\u0002\u0002\u0002\u0002k\u0003\u0002", + "\u0002\u0002\u0002m\u0003\u0002\u0002\u0002\u0002o\u0003\u0002\u0002", + "\u0002\u0002q\u0003\u0002\u0002\u0002\u0002s\u0003\u0002\u0002\u0002", + "\u0002u\u0003\u0002\u0002\u0002\u0002w\u0003\u0002\u0002\u0002\u0002", + "y\u0003\u0002\u0002\u0002\u0002{\u0003\u0002\u0002\u0002\u0002}\u0003", + "\u0002\u0002\u0002\u0002\u007f\u0003\u0002\u0002\u0002\u0002\u0081\u0003", + "\u0002\u0002\u0002\u0002\u0083\u0003\u0002\u0002\u0002\u0002\u0085\u0003", + "\u0002\u0002\u0002\u0002\u0087\u0003\u0002\u0002\u0002\u0002\u0089\u0003", + "\u0002\u0002\u0002\u0002\u008b\u0003\u0002\u0002\u0002\u0002\u008d\u0003", + "\u0002\u0002\u0002\u0002\u008f\u0003\u0002\u0002\u0002\u0002\u0091\u0003", + "\u0002\u0002\u0002\u0002\u0093\u0003\u0002\u0002\u0002\u0002\u0095\u0003", + "\u0002\u0002\u0002\u0002\u0097\u0003\u0002\u0002\u0002\u0002\u0099\u0003", + "\u0002\u0002\u0002\u0002\u009b\u0003\u0002\u0002\u0002\u0002\u009d\u0003", + "\u0002\u0002\u0002\u0002\u009f\u0003\u0002\u0002\u0002\u0002\u00a1\u0003", + "\u0002\u0002\u0002\u0002\u00a3\u0003\u0002\u0002\u0002\u0002\u00a5\u0003", + "\u0002\u0002\u0002\u0002\u00a7\u0003\u0002\u0002\u0002\u0002\u00a9\u0003", + "\u0002\u0002\u0002\u0002\u00ab\u0003\u0002\u0002\u0002\u0002\u00ad\u0003", + "\u0002\u0002\u0002\u0002\u00af\u0003\u0002\u0002\u0002\u0002\u00b1\u0003", + "\u0002\u0002\u0002\u0002\u00b3\u0003\u0002\u0002\u0002\u0002\u00b5\u0003", + "\u0002\u0002\u0002\u0002\u00b7\u0003\u0002\u0002\u0002\u0002\u00b9\u0003", + "\u0002\u0002\u0002\u0002\u00bb\u0003\u0002\u0002\u0002\u0002\u00bd\u0003", + "\u0002\u0002\u0002\u0002\u00bf\u0003\u0002\u0002\u0002\u0002\u00c1\u0003", + "\u0002\u0002\u0002\u0002\u00c3\u0003\u0002\u0002\u0002\u0002\u00c5\u0003", + "\u0002\u0002\u0002\u0002\u00c7\u0003\u0002\u0002\u0002\u0002\u00c9\u0003", + "\u0002\u0002\u0002\u0002\u00cb\u0003\u0002\u0002\u0002\u0002\u00cd\u0003", + "\u0002\u0002\u0002\u0002\u00cf\u0003\u0002\u0002\u0002\u0002\u00d1\u0003", + "\u0002\u0002\u0002\u0002\u00d3\u0003\u0002\u0002\u0002\u0002\u00d5\u0003", + "\u0002\u0002\u0002\u0002\u00d7\u0003\u0002\u0002\u0002\u0002\u00d9\u0003", + "\u0002\u0002\u0002\u0002\u00db\u0003\u0002\u0002\u0002\u0002\u00dd\u0003", + "\u0002\u0002\u0002\u0002\u00df\u0003\u0002\u0002\u0002\u0002\u00e1\u0003", + "\u0002\u0002\u0002\u0002\u00e3\u0003\u0002\u0002\u0002\u0002\u00e5\u0003", + "\u0002\u0002\u0002\u0002\u00e7\u0003\u0002\u0002\u0002\u0002\u00e9\u0003", + "\u0002\u0002\u0002\u0002\u00eb\u0003\u0002\u0002\u0002\u0002\u00ed\u0003", + "\u0002\u0002\u0002\u0002\u00ef\u0003\u0002\u0002\u0002\u0002\u00f1\u0003", + "\u0002\u0002\u0002\u0002\u00f3\u0003\u0002\u0002\u0002\u0002\u00f5\u0003", + "\u0002\u0002\u0002\u0002\u00f7\u0003\u0002\u0002\u0002\u0002\u00f9\u0003", + "\u0002\u0002\u0002\u0002\u00fb\u0003\u0002\u0002\u0002\u0002\u00fd\u0003", + "\u0002\u0002\u0002\u0002\u00ff\u0003\u0002\u0002\u0002\u0002\u0101\u0003", + "\u0002\u0002\u0002\u0002\u0103\u0003\u0002\u0002\u0002\u0002\u0105\u0003", + "\u0002\u0002\u0002\u0002\u0107\u0003\u0002\u0002\u0002\u0002\u0109\u0003", + "\u0002\u0002\u0002\u0002\u010b\u0003\u0002\u0002\u0002\u0002\u010d\u0003", + "\u0002\u0002\u0002\u0002\u010f\u0003\u0002\u0002\u0002\u0002\u0111\u0003", + "\u0002\u0002\u0002\u0002\u0113\u0003\u0002\u0002\u0002\u0002\u0115\u0003", + "\u0002\u0002\u0002\u0002\u0117\u0003\u0002\u0002\u0002\u0002\u0119\u0003", + "\u0002\u0002\u0002\u0002\u011b\u0003\u0002\u0002\u0002\u0002\u011d\u0003", + "\u0002\u0002\u0002\u0002\u011f\u0003\u0002\u0002\u0002\u0002\u0121\u0003", + "\u0002\u0002\u0002\u0002\u0123\u0003\u0002\u0002\u0002\u0002\u0125\u0003", + "\u0002\u0002\u0002\u0002\u0127\u0003\u0002\u0002\u0002\u0002\u0129\u0003", + "\u0002\u0002\u0002\u0002\u012b\u0003\u0002\u0002\u0002\u0002\u012d\u0003", + "\u0002\u0002\u0002\u0002\u012f\u0003\u0002\u0002\u0002\u0002\u0131\u0003", + "\u0002\u0002\u0002\u0002\u0133\u0003\u0002\u0002\u0002\u0002\u0135\u0003", + "\u0002\u0002\u0002\u0002\u0137\u0003\u0002\u0002\u0002\u0002\u0139\u0003", + "\u0002\u0002\u0002\u0002\u013b\u0003\u0002\u0002\u0002\u0002\u013d\u0003", + "\u0002\u0002\u0002\u0002\u013f\u0003\u0002\u0002\u0002\u0002\u0141\u0003", + "\u0002\u0002\u0002\u0002\u0143\u0003\u0002\u0002\u0002\u0002\u0145\u0003", + "\u0002\u0002\u0002\u0002\u0147\u0003\u0002\u0002\u0002\u0002\u0149\u0003", + "\u0002\u0002\u0002\u0002\u014b\u0003\u0002\u0002\u0002\u0002\u014d\u0003", + "\u0002\u0002\u0002\u0002\u014f\u0003\u0002\u0002\u0002\u0002\u0151\u0003", + "\u0002\u0002\u0002\u0002\u0153\u0003\u0002\u0002\u0002\u0002\u0155\u0003", + "\u0002\u0002\u0002\u0002\u0157\u0003\u0002\u0002\u0002\u0002\u0159\u0003", + "\u0002\u0002\u0002\u0002\u015b\u0003\u0002\u0002\u0002\u0002\u015d\u0003", + "\u0002\u0002\u0002\u0002\u015f\u0003\u0002\u0002\u0002\u0002\u0161\u0003", + "\u0002\u0002\u0002\u0002\u0163\u0003\u0002\u0002\u0002\u0002\u0165\u0003", + "\u0002\u0002\u0002\u0002\u0167\u0003\u0002\u0002\u0002\u0002\u0169\u0003", + "\u0002\u0002\u0002\u0002\u016b\u0003\u0002\u0002\u0002\u0002\u016d\u0003", + "\u0002\u0002\u0002\u0002\u016f\u0003\u0002\u0002\u0002\u0002\u0171\u0003", + "\u0002\u0002\u0002\u0002\u0173\u0003\u0002\u0002\u0002\u0002\u0175\u0003", + "\u0002\u0002\u0002\u0002\u0177\u0003\u0002\u0002\u0002\u0002\u0179\u0003", + "\u0002\u0002\u0002\u0002\u017b\u0003\u0002\u0002\u0002\u0002\u017d\u0003", + "\u0002\u0002\u0002\u0002\u017f\u0003\u0002\u0002\u0002\u0002\u0181\u0003", + "\u0002\u0002\u0002\u0002\u0183\u0003\u0002\u0002\u0002\u0002\u0185\u0003", + "\u0002\u0002\u0002\u0002\u0187\u0003\u0002\u0002\u0002\u0002\u0189\u0003", + "\u0002\u0002\u0002\u0002\u018b\u0003\u0002\u0002\u0002\u0002\u018d\u0003", + "\u0002\u0002\u0002\u0002\u018f\u0003\u0002\u0002\u0002\u0002\u0191\u0003", + "\u0002\u0002\u0002\u0002\u0193\u0003\u0002\u0002\u0002\u0002\u0195\u0003", + "\u0002\u0002\u0002\u0002\u0197\u0003\u0002\u0002\u0002\u0002\u0199\u0003", + "\u0002\u0002\u0002\u0002\u019b\u0003\u0002\u0002\u0002\u0002\u019d\u0003", + "\u0002\u0002\u0002\u0002\u019f\u0003\u0002\u0002\u0002\u0002\u01a1\u0003", + "\u0002\u0002\u0002\u0002\u01a3\u0003\u0002\u0002\u0002\u0002\u01a5\u0003", + "\u0002\u0002\u0002\u0002\u01a7\u0003\u0002\u0002\u0002\u0002\u01a9\u0003", + "\u0002\u0002\u0002\u0002\u01ab\u0003\u0002\u0002\u0002\u0002\u01ad\u0003", + "\u0002\u0002\u0002\u0002\u01af\u0003\u0002\u0002\u0002\u0002\u01b1\u0003", + "\u0002\u0002\u0002\u0002\u01b3\u0003\u0002\u0002\u0002\u0002\u01b5\u0003", + "\u0002\u0002\u0002\u0002\u01b7\u0003\u0002\u0002\u0002\u0002\u01b9\u0003", + "\u0002\u0002\u0002\u0002\u01bb\u0003\u0002\u0002\u0002\u0002\u01bd\u0003", + "\u0002\u0002\u0002\u0002\u01bf\u0003\u0002\u0002\u0002\u0002\u01c1\u0003", + "\u0002\u0002\u0002\u0002\u01c3\u0003\u0002\u0002\u0002\u0002\u01c5\u0003", + "\u0002\u0002\u0002\u0002\u01c7\u0003\u0002\u0002\u0002\u0002\u01c9\u0003", + "\u0002\u0002\u0002\u0002\u01cb\u0003\u0002\u0002\u0002\u0002\u01cd\u0003", + "\u0002\u0002\u0002\u0002\u01cf\u0003\u0002\u0002\u0002\u0002\u01d1\u0003", + "\u0002\u0002\u0002\u0002\u01d3\u0003\u0002\u0002\u0002\u0002\u01d5\u0003", + "\u0002\u0002\u0002\u0002\u01d7\u0003\u0002\u0002\u0002\u0002\u01d9\u0003", + "\u0002\u0002\u0002\u0002\u01db\u0003\u0002\u0002\u0002\u0002\u01dd\u0003", + "\u0002\u0002\u0002\u0002\u01df\u0003\u0002\u0002\u0002\u0002\u01e1\u0003", + "\u0002\u0002\u0002\u0002\u01e3\u0003\u0002\u0002\u0002\u0002\u01e5\u0003", + "\u0002\u0002\u0002\u0002\u01e7\u0003\u0002\u0002\u0002\u0002\u01e9\u0003", + "\u0002\u0002\u0002\u0002\u01eb\u0003\u0002\u0002\u0002\u0002\u01ed\u0003", + "\u0002\u0002\u0002\u0002\u01ef\u0003\u0002\u0002\u0002\u0002\u01f1\u0003", + "\u0002\u0002\u0002\u0002\u01f3\u0003\u0002\u0002\u0002\u0002\u01f5\u0003", + "\u0002\u0002\u0002\u0002\u01ff\u0003\u0002\u0002\u0002\u0002\u0201\u0003", + "\u0002\u0002\u0002\u0002\u0203\u0003\u0002\u0002\u0002\u0002\u0205\u0003", + "\u0002\u0002\u0002\u0002\u0207\u0003\u0002\u0002\u0002\u0003\u0209\u0003", + "\u0002\u0002\u0002\u0005\u020b\u0003\u0002\u0002\u0002\u0007\u020d\u0003", + "\u0002\u0002\u0002\t\u020f\u0003\u0002\u0002\u0002\u000b\u0211\u0003", + "\u0002\u0002\u0002\r\u0215\u0003\u0002\u0002\u0002\u000f\u0218\u0003", + "\u0002\u0002\u0002\u0011\u021b\u0003\u0002\u0002\u0002\u0013\u021d\u0003", + "\u0002\u0002\u0002\u0015\u021f\u0003\u0002\u0002\u0002\u0017\u0221\u0003", + "\u0002\u0002\u0002\u0019\u0228\u0003\u0002\u0002\u0002\u001b\u022d\u0003", + "\u0002\u0002\u0002\u001d\u0231\u0003\u0002\u0002\u0002\u001f\u0234\u0003", + "\u0002\u0002\u0002!\u0238\u0003\u0002\u0002\u0002#\u023c\u0003\u0002", + "\u0002\u0002%\u0245\u0003\u0002\u0002\u0002\'\u024b\u0003\u0002\u0002", + "\u0002)\u0251\u0003\u0002\u0002\u0002+\u0254\u0003\u0002\u0002\u0002", + "-\u025d\u0003\u0002\u0002\u0002/\u0262\u0003\u0002\u0002\u00021\u0267", + "\u0003\u0002\u0002\u00023\u026e\u0003\u0002\u0002\u00025\u0274\u0003", + "\u0002\u0002\u00027\u027b\u0003\u0002\u0002\u00029\u0281\u0003\u0002", + "\u0002\u0002;\u0284\u0003\u0002\u0002\u0002=\u0287\u0003\u0002\u0002", + "\u0002?\u028b\u0003\u0002\u0002\u0002A\u0292\u0003\u0002\u0002\u0002", + "C\u0294\u0003\u0002\u0002\u0002E\u0297\u0003\u0002\u0002\u0002G\u029e", + "\u0003\u0002\u0002\u0002I\u02a6\u0003\u0002\u0002\u0002K\u02b6\u0003", + "\u0002\u0002\u0002M\u02b8\u0003\u0002\u0002\u0002O\u02bb\u0003\u0002", + "\u0002\u0002Q\u02c0\u0003\u0002\u0002\u0002S\u02c5\u0003\u0002\u0002", + "\u0002U\u02cb\u0003\u0002\u0002\u0002W\u02d1\u0003\u0002\u0002\u0002", + "Y\u02d5\u0003\u0002\u0002\u0002[\u02da\u0003\u0002\u0002\u0002]\u02de", + "\u0003\u0002\u0002\u0002_\u02e7\u0003\u0002\u0002\u0002a\u02ec\u0003", + "\u0002\u0002\u0002c\u02f1\u0003\u0002\u0002\u0002e\u02f6\u0003\u0002", + "\u0002\u0002g\u02fb\u0003\u0002\u0002\u0002i\u02ff\u0003\u0002\u0002", + "\u0002k\u0304\u0003\u0002\u0002\u0002m\u030a\u0003\u0002\u0002\u0002", + "o\u0310\u0003\u0002\u0002\u0002q\u0316\u0003\u0002\u0002\u0002s\u031b", + "\u0003\u0002\u0002\u0002u\u0320\u0003\u0002\u0002\u0002w\u0326\u0003", + "\u0002\u0002\u0002y\u032b\u0003\u0002\u0002\u0002{\u0333\u0003\u0002", + "\u0002\u0002}\u0336\u0003\u0002\u0002\u0002\u007f\u033c\u0003\u0002", + "\u0002\u0002\u0081\u0344\u0003\u0002\u0002\u0002\u0083\u034b\u0003\u0002", + "\u0002\u0002\u0085\u0350\u0003\u0002\u0002\u0002\u0087\u035a\u0003\u0002", + "\u0002\u0002\u0089\u0360\u0003\u0002\u0002\u0002\u008b\u0365\u0003\u0002", + "\u0002\u0002\u008d\u036f\u0003\u0002\u0002\u0002\u008f\u0379\u0003\u0002", + "\u0002\u0002\u0091\u0383\u0003\u0002\u0002\u0002\u0093\u038b\u0003\u0002", + "\u0002\u0002\u0095\u0391\u0003\u0002\u0002\u0002\u0097\u0397\u0003\u0002", + "\u0002\u0002\u0099\u039c\u0003\u0002\u0002\u0002\u009b\u03a0\u0003\u0002", + "\u0002\u0002\u009d\u03a5\u0003\u0002\u0002\u0002\u009f\u03ac\u0003\u0002", + "\u0002\u0002\u00a1\u03b3\u0003\u0002\u0002\u0002\u00a3\u03b9\u0003\u0002", + "\u0002\u0002\u00a5\u03c3\u0003\u0002\u0002\u0002\u00a7\u03c8\u0003\u0002", + "\u0002\u0002\u00a9\u03d0\u0003\u0002\u0002\u0002\u00ab\u03d7\u0003\u0002", + "\u0002\u0002\u00ad\u03de\u0003\u0002\u0002\u0002\u00af\u03e3\u0003\u0002", + "\u0002\u0002\u00b1\u03ec\u0003\u0002\u0002\u0002\u00b3\u03f4\u0003\u0002", + "\u0002\u0002\u00b5\u03fb\u0003\u0002\u0002\u0002\u00b7\u0403\u0003\u0002", + "\u0002\u0002\u00b9\u040b\u0003\u0002\u0002\u0002\u00bb\u0410\u0003\u0002", + "\u0002\u0002\u00bd\u0415\u0003\u0002\u0002\u0002\u00bf\u041a\u0003\u0002", + "\u0002\u0002\u00c1\u0421\u0003\u0002\u0002\u0002\u00c3\u0429\u0003\u0002", + "\u0002\u0002\u00c5\u0430\u0003\u0002\u0002\u0002\u00c7\u0434\u0003\u0002", + "\u0002\u0002\u00c9\u043f\u0003\u0002\u0002\u0002\u00cb\u0449\u0003\u0002", + "\u0002\u0002\u00cd\u044e\u0003\u0002\u0002\u0002\u00cf\u0454\u0003\u0002", + "\u0002\u0002\u00d1\u045b\u0003\u0002\u0002\u0002\u00d3\u0461\u0003\u0002", + "\u0002\u0002\u00d5\u046b\u0003\u0002\u0002\u0002\u00d7\u046e\u0003\u0002", + "\u0002\u0002\u00d9\u047a\u0003\u0002\u0002\u0002\u00db\u0483\u0003\u0002", + "\u0002\u0002\u00dd\u0489\u0003\u0002\u0002\u0002\u00df\u0490\u0003\u0002", + "\u0002\u0002\u00e1\u0496\u0003\u0002\u0002\u0002\u00e3\u049a\u0003\u0002", + "\u0002\u0002\u00e5\u04a1\u0003\u0002\u0002\u0002\u00e7\u04a9\u0003\u0002", + "\u0002\u0002\u00e9\u04ad\u0003\u0002\u0002\u0002\u00eb\u04b3\u0003\u0002", + "\u0002\u0002\u00ed\u04b8\u0003\u0002\u0002\u0002\u00ef\u04be\u0003\u0002", + "\u0002\u0002\u00f1\u04ca\u0003\u0002\u0002\u0002\u00f3\u04d1\u0003\u0002", + "\u0002\u0002\u00f5\u04da\u0003\u0002\u0002\u0002\u00f7\u04e0\u0003\u0002", + "\u0002\u0002\u00f9\u04e7\u0003\u0002\u0002\u0002\u00fb\u04ec\u0003\u0002", + "\u0002\u0002\u00fd\u04f4\u0003\u0002\u0002\u0002\u00ff\u04fd\u0003\u0002", + "\u0002\u0002\u0101\u0500\u0003\u0002\u0002\u0002\u0103\u0509\u0003\u0002", + "\u0002\u0002\u0105\u0514\u0003\u0002\u0002\u0002\u0107\u0516\u0003\u0002", + "\u0002\u0002\u0109\u051a\u0003\u0002\u0002\u0002\u010b\u051d\u0003\u0002", + "\u0002\u0002\u010d\u0520\u0003\u0002\u0002\u0002\u010f\u0526\u0003\u0002", + "\u0002\u0002\u0111\u0528\u0003\u0002\u0002\u0002\u0113\u052e\u0003\u0002", + "\u0002\u0002\u0115\u0530\u0003\u0002\u0002\u0002\u0117\u0532\u0003\u0002", + "\u0002\u0002\u0119\u0534\u0003\u0002\u0002\u0002\u011b\u0536\u0003\u0002", + "\u0002\u0002\u011d\u0538\u0003\u0002\u0002\u0002\u011f\u053a\u0003\u0002", + "\u0002\u0002\u0121\u053e\u0003\u0002\u0002\u0002\u0123\u0540\u0003\u0002", + "\u0002\u0002\u0125\u0542\u0003\u0002\u0002\u0002\u0127\u0544\u0003\u0002", + "\u0002\u0002\u0129\u0547\u0003\u0002\u0002\u0002\u012b\u0549\u0003\u0002", + "\u0002\u0002\u012d\u0551\u0003\u0002\u0002\u0002\u012f\u0558\u0003\u0002", + "\u0002\u0002\u0131\u055c\u0003\u0002\u0002\u0002\u0133\u055f\u0003\u0002", + "\u0002\u0002\u0135\u0564\u0003\u0002\u0002\u0002\u0137\u056c\u0003\u0002", + "\u0002\u0002\u0139\u0577\u0003\u0002\u0002\u0002\u013b\u0581\u0003\u0002", + "\u0002\u0002\u013d\u058b\u0003\u0002\u0002\u0002\u013f\u0592\u0003\u0002", + "\u0002\u0002\u0141\u0598\u0003\u0002\u0002\u0002\u0143\u059e\u0003\u0002", + "\u0002\u0002\u0145\u05ae\u0003\u0002\u0002\u0002\u0147\u05bb\u0003\u0002", + "\u0002\u0002\u0149\u05c8\u0003\u0002\u0002\u0002\u014b\u05d2\u0003\u0002", + "\u0002\u0002\u014d\u05d9\u0003\u0002\u0002\u0002\u014f\u05e4\u0003\u0002", + "\u0002\u0002\u0151\u05ef\u0003\u0002\u0002\u0002\u0153\u05f5\u0003\u0002", + "\u0002\u0002\u0155\u05fa\u0003\u0002\u0002\u0002\u0157\u0602\u0003\u0002", + "\u0002\u0002\u0159\u0608\u0003\u0002\u0002\u0002\u015b\u0612\u0003\u0002", + "\u0002\u0002\u015d\u061b\u0003\u0002\u0002\u0002\u015f\u0624\u0003\u0002", + "\u0002\u0002\u0161\u062c\u0003\u0002\u0002\u0002\u0163\u0632\u0003\u0002", + "\u0002\u0002\u0165\u0638\u0003\u0002\u0002\u0002\u0167\u0640\u0003\u0002", + "\u0002\u0002\u0169\u0645\u0003\u0002\u0002\u0002\u016b\u064f\u0003\u0002", + "\u0002\u0002\u016d\u0663\u0003\u0002\u0002\u0002\u016f\u0665\u0003\u0002", + "\u0002\u0002\u0171\u066d\u0003\u0002\u0002\u0002\u0173\u0673\u0003\u0002", + "\u0002\u0002\u0175\u0681\u0003\u0002\u0002\u0002\u0177\u068e\u0003\u0002", + "\u0002\u0002\u0179\u0696\u0003\u0002\u0002\u0002\u017b\u069d\u0003\u0002", + "\u0002\u0002\u017d\u06a4\u0003\u0002\u0002\u0002\u017f\u06b0\u0003\u0002", + "\u0002\u0002\u0181\u06b9\u0003\u0002\u0002\u0002\u0183\u06c2\u0003\u0002", + "\u0002\u0002\u0185\u06ca\u0003\u0002\u0002\u0002\u0187\u06d4\u0003\u0002", + "\u0002\u0002\u0189\u06df\u0003\u0002\u0002\u0002\u018b\u06e5\u0003\u0002", + "\u0002\u0002\u018d\u06ed\u0003\u0002\u0002\u0002\u018f\u06f9\u0003\u0002", + "\u0002\u0002\u0191\u0700\u0003\u0002\u0002\u0002\u0193\u0708\u0003\u0002", + "\u0002\u0002\u0195\u0711\u0003\u0002\u0002\u0002\u0197\u071b\u0003\u0002", + "\u0002\u0002\u0199\u0722\u0003\u0002\u0002\u0002\u019b\u0728\u0003\u0002", + "\u0002\u0002\u019d\u0734\u0003\u0002\u0002\u0002\u019f\u074f\u0003\u0002", + "\u0002\u0002\u01a1\u0761\u0003\u0002\u0002\u0002\u01a3\u0763\u0003\u0002", + "\u0002\u0002\u01a5\u0767\u0003\u0002\u0002\u0002\u01a7\u0770\u0003\u0002", + "\u0002\u0002\u01a9\u0778\u0003\u0002\u0002\u0002\u01ab\u0780\u0003\u0002", + "\u0002\u0002\u01ad\u0785\u0003\u0002\u0002\u0002\u01af\u0790\u0003\u0002", + "\u0002\u0002\u01b1\u079c\u0003\u0002\u0002\u0002\u01b3\u07a5\u0003\u0002", + "\u0002\u0002\u01b5\u07ad\u0003\u0002\u0002\u0002\u01b7\u07b4\u0003\u0002", + "\u0002\u0002\u01b9\u07ba\u0003\u0002\u0002\u0002\u01bb\u07bf\u0003\u0002", + "\u0002\u0002\u01bd\u07c6\u0003\u0002\u0002\u0002\u01bf\u07cb\u0003\u0002", + "\u0002\u0002\u01c1\u07d2\u0003\u0002\u0002\u0002\u01c3\u07da\u0003\u0002", + "\u0002\u0002\u01c5\u07e1\u0003\u0002\u0002\u0002\u01c7\u07e8\u0003\u0002", + "\u0002\u0002\u01c9\u07ed\u0003\u0002\u0002\u0002\u01cb\u07f2\u0003\u0002", + "\u0002\u0002\u01cd\u07f8\u0003\u0002\u0002\u0002\u01cf\u0804\u0003\u0002", + "\u0002\u0002\u01d1\u080f\u0003\u0002\u0002\u0002\u01d3\u081c\u0003\u0002", + "\u0002\u0002\u01d5\u0822\u0003\u0002\u0002\u0002\u01d7\u082a\u0003\u0002", + "\u0002\u0002\u01d9\u0830\u0003\u0002\u0002\u0002\u01db\u0837\u0003\u0002", + "\u0002\u0002\u01dd\u083c\u0003\u0002\u0002\u0002\u01df\u0842\u0003\u0002", + "\u0002\u0002\u01e1\u0849\u0003\u0002\u0002\u0002\u01e3\u0867\u0003\u0002", + "\u0002\u0002\u01e5\u086a\u0003\u0002\u0002\u0002\u01e7\u0871\u0003\u0002", + "\u0002\u0002\u01e9\u0878\u0003\u0002\u0002\u0002\u01eb\u087f\u0003\u0002", + "\u0002\u0002\u01ed\u0890\u0003\u0002\u0002\u0002\u01ef\u08a3\u0003\u0002", + "\u0002\u0002\u01f1\u08b9\u0003\u0002\u0002\u0002\u01f3\u08be\u0003\u0002", + "\u0002\u0002\u01f5\u08c2\u0003\u0002\u0002\u0002\u01f7\u08df\u0003\u0002", + "\u0002\u0002\u01f9\u08e1\u0003\u0002\u0002\u0002\u01fb\u08ea\u0003\u0002", + "\u0002\u0002\u01fd\u08ec\u0003\u0002\u0002\u0002\u01ff\u08ee\u0003\u0002", + "\u0002\u0002\u0201\u08ff\u0003\u0002\u0002\u0002\u0203\u0906\u0003\u0002", + "\u0002\u0002\u0205\u0916\u0003\u0002\u0002\u0002\u0207\u091c\u0003\u0002", + "\u0002\u0002\u0209\u020a\u0007*\u0002\u0002\u020a\u0004\u0003\u0002", + "\u0002\u0002\u020b\u020c\u0007+\u0002\u0002\u020c\u0006\u0003\u0002", + "\u0002\u0002\u020d\u020e\u00070\u0002\u0002\u020e\b\u0003\u0002\u0002", + "\u0002\u020f\u0210\u0007.\u0002\u0002\u0210\n\u0003\u0002\u0002\u0002", + "\u0211\u0212\u00071\u0002\u0002\u0212\u0213\u0007,\u0002\u0002\u0213", + "\u0214\u0007-\u0002\u0002\u0214\f\u0003\u0002\u0002\u0002\u0215\u0216", + "\u0007,\u0002\u0002\u0216\u0217\u00071\u0002\u0002\u0217\u000e\u0003", + "\u0002\u0002\u0002\u0218\u0219\u0007/\u0002\u0002\u0219\u021a\u0007", + "@\u0002\u0002\u021a\u0010\u0003\u0002\u0002\u0002\u021b\u021c\u0007", + "]\u0002\u0002\u021c\u0012\u0003\u0002\u0002\u0002\u021d\u021e\u0007", + "_\u0002\u0002\u021e\u0014\u0003\u0002\u0002\u0002\u021f\u0220\u0007", + "<\u0002\u0002\u0220\u0016\u0003\u0002\u0002\u0002\u0221\u0222\u0007", + "U\u0002\u0002\u0222\u0223\u0007G\u0002\u0002\u0223\u0224\u0007N\u0002", + "\u0002\u0224\u0225\u0007G\u0002\u0002\u0225\u0226\u0007E\u0002\u0002", + "\u0226\u0227\u0007V\u0002\u0002\u0227\u0018\u0003\u0002\u0002\u0002", + "\u0228\u0229\u0007H\u0002\u0002\u0229\u022a\u0007T\u0002\u0002\u022a", + "\u022b\u0007Q\u0002\u0002\u022b\u022c\u0007O\u0002\u0002\u022c\u001a", + "\u0003\u0002\u0002\u0002\u022d\u022e\u0007C\u0002\u0002\u022e\u022f", + "\u0007F\u0002\u0002\u022f\u0230\u0007F\u0002\u0002\u0230\u001c\u0003", + "\u0002\u0002\u0002\u0231\u0232\u0007C\u0002\u0002\u0232\u0233\u0007", + "U\u0002\u0002\u0233\u001e\u0003\u0002\u0002\u0002\u0234\u0235\u0007", + "C\u0002\u0002\u0235\u0236\u0007N\u0002\u0002\u0236\u0237\u0007N\u0002", + "\u0002\u0237 \u0003\u0002\u0002\u0002\u0238\u0239\u0007C\u0002\u0002", + "\u0239\u023a\u0007P\u0002\u0002\u023a\u023b\u0007[\u0002\u0002\u023b", + "\"\u0003\u0002\u0002\u0002\u023c\u023d\u0007F\u0002\u0002\u023d\u023e", + "\u0007K\u0002\u0002\u023e\u023f\u0007U\u0002\u0002\u023f\u0240\u0007", + "V\u0002\u0002\u0240\u0241\u0007K\u0002\u0002\u0241\u0242\u0007P\u0002", + "\u0002\u0242\u0243\u0007E\u0002\u0002\u0243\u0244\u0007V\u0002\u0002", + "\u0244$\u0003\u0002\u0002\u0002\u0245\u0246\u0007Y\u0002\u0002\u0246", + "\u0247\u0007J\u0002\u0002\u0247\u0248\u0007G\u0002\u0002\u0248\u0249", + "\u0007T\u0002\u0002\u0249\u024a\u0007G\u0002\u0002\u024a&\u0003\u0002", + "\u0002\u0002\u024b\u024c\u0007I\u0002\u0002\u024c\u024d\u0007T\u0002", + "\u0002\u024d\u024e\u0007Q\u0002\u0002\u024e\u024f\u0007W\u0002\u0002", + "\u024f\u0250\u0007R\u0002\u0002\u0250(\u0003\u0002\u0002\u0002\u0251", + "\u0252\u0007D\u0002\u0002\u0252\u0253\u0007[\u0002\u0002\u0253*\u0003", + "\u0002\u0002\u0002\u0254\u0255\u0007I\u0002\u0002\u0255\u0256\u0007", + "T\u0002\u0002\u0256\u0257\u0007Q\u0002\u0002\u0257\u0258\u0007W\u0002", + "\u0002\u0258\u0259\u0007R\u0002\u0002\u0259\u025a\u0007K\u0002\u0002", + "\u025a\u025b\u0007P\u0002\u0002\u025b\u025c\u0007I\u0002\u0002\u025c", + ",\u0003\u0002\u0002\u0002\u025d\u025e\u0007U\u0002\u0002\u025e\u025f", + "\u0007G\u0002\u0002\u025f\u0260\u0007V\u0002\u0002\u0260\u0261\u0007", + "U\u0002\u0002\u0261.\u0003\u0002\u0002\u0002\u0262\u0263\u0007E\u0002", + "\u0002\u0263\u0264\u0007W\u0002\u0002\u0264\u0265\u0007D\u0002\u0002", + "\u0265\u0266\u0007G\u0002\u0002\u02660\u0003\u0002\u0002\u0002\u0267", + "\u0268\u0007T\u0002\u0002\u0268\u0269\u0007Q\u0002\u0002\u0269\u026a", + "\u0007N\u0002\u0002\u026a\u026b\u0007N\u0002\u0002\u026b\u026c\u0007", + "W\u0002\u0002\u026c\u026d\u0007R\u0002\u0002\u026d2\u0003\u0002\u0002", + "\u0002\u026e\u026f\u0007Q\u0002\u0002\u026f\u0270\u0007T\u0002\u0002", + "\u0270\u0271\u0007F\u0002\u0002\u0271\u0272\u0007G\u0002\u0002\u0272", + "\u0273\u0007T\u0002\u0002\u02734\u0003\u0002\u0002\u0002\u0274\u0275", + "\u0007J\u0002\u0002\u0275\u0276\u0007C\u0002\u0002\u0276\u0277\u0007", + "X\u0002\u0002\u0277\u0278\u0007K\u0002\u0002\u0278\u0279\u0007P\u0002", + "\u0002\u0279\u027a\u0007I\u0002\u0002\u027a6\u0003\u0002\u0002\u0002", + "\u027b\u027c\u0007N\u0002\u0002\u027c\u027d\u0007K\u0002\u0002\u027d", + "\u027e\u0007O\u0002\u0002\u027e\u027f\u0007K\u0002\u0002\u027f\u0280", + "\u0007V\u0002\u0002\u02808\u0003\u0002\u0002\u0002\u0281\u0282\u0007", + "C\u0002\u0002\u0282\u0283\u0007V\u0002\u0002\u0283:\u0003\u0002\u0002", + "\u0002\u0284\u0285\u0007Q\u0002\u0002\u0285\u0286\u0007T\u0002\u0002", + "\u0286<\u0003\u0002\u0002\u0002\u0287\u0288\u0007C\u0002\u0002\u0288", + "\u0289\u0007P\u0002\u0002\u0289\u028a\u0007F\u0002\u0002\u028a>\u0003", + "\u0002\u0002\u0002\u028b\u028c\u0007K\u0002\u0002\u028c\u028d\u0007", + "P\u0002\u0002\u028d@\u0003\u0002\u0002\u0002\u028e\u028f\u0007P\u0002", + "\u0002\u028f\u0290\u0007Q\u0002\u0002\u0290\u0293\u0007V\u0002\u0002", + "\u0291\u0293\u0007#\u0002\u0002\u0292\u028e\u0003\u0002\u0002\u0002", + "\u0292\u0291\u0003\u0002\u0002\u0002\u0293B\u0003\u0002\u0002\u0002", + "\u0294\u0295\u0007P\u0002\u0002\u0295\u0296\u0007Q\u0002\u0002\u0296", + "D\u0003\u0002\u0002\u0002\u0297\u0298\u0007G\u0002\u0002\u0298\u0299", + "\u0007Z\u0002\u0002\u0299\u029a\u0007K\u0002\u0002\u029a\u029b\u0007", + "U\u0002\u0002\u029b\u029c\u0007V\u0002\u0002\u029c\u029d\u0007U\u0002", + "\u0002\u029dF\u0003\u0002\u0002\u0002\u029e\u029f\u0007D\u0002\u0002", + "\u029f\u02a0\u0007G\u0002\u0002\u02a0\u02a1\u0007V\u0002\u0002\u02a1", + "\u02a2\u0007Y\u0002\u0002\u02a2\u02a3\u0007G\u0002\u0002\u02a3\u02a4", + "\u0007G\u0002\u0002\u02a4\u02a5\u0007P\u0002\u0002\u02a5H\u0003\u0002", + "\u0002\u0002\u02a6\u02a7\u0007N\u0002\u0002\u02a7\u02a8\u0007K\u0002", + "\u0002\u02a8\u02a9\u0007M\u0002\u0002\u02a9\u02aa\u0007G\u0002\u0002", + "\u02aaJ\u0003\u0002\u0002\u0002\u02ab\u02ac\u0007T\u0002\u0002\u02ac", + "\u02ad\u0007N\u0002\u0002\u02ad\u02ae\u0007K\u0002\u0002\u02ae\u02af", + "\u0007M\u0002\u0002\u02af\u02b7\u0007G\u0002\u0002\u02b0\u02b1\u0007", + "T\u0002\u0002\u02b1\u02b2\u0007G\u0002\u0002\u02b2\u02b3\u0007I\u0002", + "\u0002\u02b3\u02b4\u0007G\u0002\u0002\u02b4\u02b5\u0007Z\u0002\u0002", + "\u02b5\u02b7\u0007R\u0002\u0002\u02b6\u02ab\u0003\u0002\u0002\u0002", + "\u02b6\u02b0\u0003\u0002\u0002\u0002\u02b7L\u0003\u0002\u0002\u0002", + "\u02b8\u02b9\u0007K\u0002\u0002\u02b9\u02ba\u0007U\u0002\u0002\u02ba", + "N\u0003\u0002\u0002\u0002\u02bb\u02bc\u0007P\u0002\u0002\u02bc\u02bd", + "\u0007W\u0002\u0002\u02bd\u02be\u0007N\u0002\u0002\u02be\u02bf\u0007", + "N\u0002\u0002\u02bfP\u0003\u0002\u0002\u0002\u02c0\u02c1\u0007V\u0002", + "\u0002\u02c1\u02c2\u0007T\u0002\u0002\u02c2\u02c3\u0007W\u0002\u0002", + "\u02c3\u02c4\u0007G\u0002\u0002\u02c4R\u0003\u0002\u0002\u0002\u02c5", + "\u02c6\u0007H\u0002\u0002\u02c6\u02c7\u0007C\u0002\u0002\u02c7\u02c8", + "\u0007N\u0002\u0002\u02c8\u02c9\u0007U\u0002\u0002\u02c9\u02ca\u0007", + "G\u0002\u0002\u02caT\u0003\u0002\u0002\u0002\u02cb\u02cc\u0007P\u0002", + "\u0002\u02cc\u02cd\u0007W\u0002\u0002\u02cd\u02ce\u0007N\u0002\u0002", + "\u02ce\u02cf\u0007N\u0002\u0002\u02cf\u02d0\u0007U\u0002\u0002\u02d0", + "V\u0003\u0002\u0002\u0002\u02d1\u02d2\u0007C\u0002\u0002\u02d2\u02d3", + "\u0007U\u0002\u0002\u02d3\u02d4\u0007E\u0002\u0002\u02d4X\u0003\u0002", + "\u0002\u0002\u02d5\u02d6\u0007F\u0002\u0002\u02d6\u02d7\u0007G\u0002", + "\u0002\u02d7\u02d8\u0007U\u0002\u0002\u02d8\u02d9\u0007E\u0002\u0002", + "\u02d9Z\u0003\u0002\u0002\u0002\u02da\u02db\u0007H\u0002\u0002\u02db", + "\u02dc\u0007Q\u0002\u0002\u02dc\u02dd\u0007T\u0002\u0002\u02dd\\\u0003", + "\u0002\u0002\u0002\u02de\u02df\u0007K\u0002\u0002\u02df\u02e0\u0007", + "P\u0002\u0002\u02e0\u02e1\u0007V\u0002\u0002\u02e1\u02e2\u0007G\u0002", + "\u0002\u02e2\u02e3\u0007T\u0002\u0002\u02e3\u02e4\u0007X\u0002\u0002", + "\u02e4\u02e5\u0007C\u0002\u0002\u02e5\u02e6\u0007N\u0002\u0002\u02e6", + "^\u0003\u0002\u0002\u0002\u02e7\u02e8\u0007E\u0002\u0002\u02e8\u02e9", + "\u0007C\u0002\u0002\u02e9\u02ea\u0007U\u0002\u0002\u02ea\u02eb\u0007", + "G\u0002\u0002\u02eb`\u0003\u0002\u0002\u0002\u02ec\u02ed\u0007Y\u0002", + "\u0002\u02ed\u02ee\u0007J\u0002\u0002\u02ee\u02ef\u0007G\u0002\u0002", + "\u02ef\u02f0\u0007P\u0002\u0002\u02f0b\u0003\u0002\u0002\u0002\u02f1", + "\u02f2\u0007V\u0002\u0002\u02f2\u02f3\u0007J\u0002\u0002\u02f3\u02f4", + "\u0007G\u0002\u0002\u02f4\u02f5\u0007P\u0002\u0002\u02f5d\u0003\u0002", + "\u0002\u0002\u02f6\u02f7\u0007G\u0002\u0002\u02f7\u02f8\u0007N\u0002", + "\u0002\u02f8\u02f9\u0007U\u0002\u0002\u02f9\u02fa\u0007G\u0002\u0002", + "\u02faf\u0003\u0002\u0002\u0002\u02fb\u02fc\u0007G\u0002\u0002\u02fc", + "\u02fd\u0007P\u0002\u0002\u02fd\u02fe\u0007F\u0002\u0002\u02feh\u0003", + "\u0002\u0002\u0002\u02ff\u0300\u0007L\u0002\u0002\u0300\u0301\u0007", + "Q\u0002\u0002\u0301\u0302\u0007K\u0002\u0002\u0302\u0303\u0007P\u0002", + "\u0002\u0303j\u0003\u0002\u0002\u0002\u0304\u0305\u0007E\u0002\u0002", + "\u0305\u0306\u0007T\u0002\u0002\u0306\u0307\u0007Q\u0002\u0002\u0307", + "\u0308\u0007U\u0002\u0002\u0308\u0309\u0007U\u0002\u0002\u0309l\u0003", + "\u0002\u0002\u0002\u030a\u030b\u0007Q\u0002\u0002\u030b\u030c\u0007", + "W\u0002\u0002\u030c\u030d\u0007V\u0002\u0002\u030d\u030e\u0007G\u0002", + "\u0002\u030e\u030f\u0007T\u0002\u0002\u030fn\u0003\u0002\u0002\u0002", + "\u0310\u0311\u0007K\u0002\u0002\u0311\u0312\u0007P\u0002\u0002\u0312", + "\u0313\u0007P\u0002\u0002\u0313\u0314\u0007G\u0002\u0002\u0314\u0315", + "\u0007T\u0002\u0002\u0315p\u0003\u0002\u0002\u0002\u0316\u0317\u0007", + "N\u0002\u0002\u0317\u0318\u0007G\u0002\u0002\u0318\u0319\u0007H\u0002", + "\u0002\u0319\u031a\u0007V\u0002\u0002\u031ar\u0003\u0002\u0002\u0002", + "\u031b\u031c\u0007U\u0002\u0002\u031c\u031d\u0007G\u0002\u0002\u031d", + "\u031e\u0007O\u0002\u0002\u031e\u031f\u0007K\u0002\u0002\u031ft\u0003", + "\u0002\u0002\u0002\u0320\u0321\u0007T\u0002\u0002\u0321\u0322\u0007", + "K\u0002\u0002\u0322\u0323\u0007I\u0002\u0002\u0323\u0324\u0007J\u0002", + "\u0002\u0324\u0325\u0007V\u0002\u0002\u0325v\u0003\u0002\u0002\u0002", + "\u0326\u0327\u0007H\u0002\u0002\u0327\u0328\u0007W\u0002\u0002\u0328", + "\u0329\u0007N\u0002\u0002\u0329\u032a\u0007N\u0002\u0002\u032ax\u0003", + "\u0002\u0002\u0002\u032b\u032c\u0007P\u0002\u0002\u032c\u032d\u0007", + "C\u0002\u0002\u032d\u032e\u0007V\u0002\u0002\u032e\u032f\u0007W\u0002", + "\u0002\u032f\u0330\u0007T\u0002\u0002\u0330\u0331\u0007C\u0002\u0002", + "\u0331\u0332\u0007N\u0002\u0002\u0332z\u0003\u0002\u0002\u0002\u0333", + "\u0334\u0007Q\u0002\u0002\u0334\u0335\u0007P\u0002\u0002\u0335|\u0003", + "\u0002\u0002\u0002\u0336\u0337\u0007R\u0002\u0002\u0337\u0338\u0007", + "K\u0002\u0002\u0338\u0339\u0007X\u0002\u0002\u0339\u033a\u0007Q\u0002", + "\u0002\u033a\u033b\u0007V\u0002\u0002\u033b~\u0003\u0002\u0002\u0002", + "\u033c\u033d\u0007N\u0002\u0002\u033d\u033e\u0007C\u0002\u0002\u033e", + "\u033f\u0007V\u0002\u0002\u033f\u0340\u0007G\u0002\u0002\u0340\u0341", + "\u0007T\u0002\u0002\u0341\u0342\u0007C\u0002\u0002\u0342\u0343\u0007", + "N\u0002\u0002\u0343\u0080\u0003\u0002\u0002\u0002\u0344\u0345\u0007", + "Y\u0002\u0002\u0345\u0346\u0007K\u0002\u0002\u0346\u0347\u0007P\u0002", + "\u0002\u0347\u0348\u0007F\u0002\u0002\u0348\u0349\u0007Q\u0002\u0002", + "\u0349\u034a\u0007Y\u0002\u0002\u034a\u0082\u0003\u0002\u0002\u0002", + "\u034b\u034c\u0007Q\u0002\u0002\u034c\u034d\u0007X\u0002\u0002\u034d", + "\u034e\u0007G\u0002\u0002\u034e\u034f\u0007T\u0002\u0002\u034f\u0084", + "\u0003\u0002\u0002\u0002\u0350\u0351\u0007R\u0002\u0002\u0351\u0352", + "\u0007C\u0002\u0002\u0352\u0353\u0007T\u0002\u0002\u0353\u0354\u0007", + "V\u0002\u0002\u0354\u0355\u0007K\u0002\u0002\u0355\u0356\u0007V\u0002", + "\u0002\u0356\u0357\u0007K\u0002\u0002\u0357\u0358\u0007Q\u0002\u0002", + "\u0358\u0359\u0007P\u0002\u0002\u0359\u0086\u0003\u0002\u0002\u0002", + "\u035a\u035b\u0007T\u0002\u0002\u035b\u035c\u0007C\u0002\u0002\u035c", + "\u035d\u0007P\u0002\u0002\u035d\u035e\u0007I\u0002\u0002\u035e\u035f", + "\u0007G\u0002\u0002\u035f\u0088\u0003\u0002\u0002\u0002\u0360\u0361", + "\u0007T\u0002\u0002\u0361\u0362\u0007Q\u0002\u0002\u0362\u0363\u0007", + "Y\u0002\u0002\u0363\u0364\u0007U\u0002\u0002\u0364\u008a\u0003\u0002", + "\u0002\u0002\u0365\u0366\u0007W\u0002\u0002\u0366\u0367\u0007P\u0002", + "\u0002\u0367\u0368\u0007D\u0002\u0002\u0368\u0369\u0007Q\u0002\u0002", + "\u0369\u036a\u0007W\u0002\u0002\u036a\u036b\u0007P\u0002\u0002\u036b", + "\u036c\u0007F\u0002\u0002\u036c\u036d\u0007G\u0002\u0002\u036d\u036e", + "\u0007F\u0002\u0002\u036e\u008c\u0003\u0002\u0002\u0002\u036f\u0370", + "\u0007R\u0002\u0002\u0370\u0371\u0007T\u0002\u0002\u0371\u0372\u0007", + "G\u0002\u0002\u0372\u0373\u0007E\u0002\u0002\u0373\u0374\u0007G\u0002", + "\u0002\u0374\u0375\u0007F\u0002\u0002\u0375\u0376\u0007K\u0002\u0002", + "\u0376\u0377\u0007P\u0002\u0002\u0377\u0378\u0007I\u0002\u0002\u0378", + "\u008e\u0003\u0002\u0002\u0002\u0379\u037a\u0007H\u0002\u0002\u037a", + "\u037b\u0007Q\u0002\u0002\u037b\u037c\u0007N\u0002\u0002\u037c\u037d", + "\u0007N\u0002\u0002\u037d\u037e\u0007Q\u0002\u0002\u037e\u037f\u0007", + "Y\u0002\u0002\u037f\u0380\u0007K\u0002\u0002\u0380\u0381\u0007P\u0002", + "\u0002\u0381\u0382\u0007I\u0002\u0002\u0382\u0090\u0003\u0002\u0002", + "\u0002\u0383\u0384\u0007E\u0002\u0002\u0384\u0385\u0007W\u0002\u0002", + "\u0385\u0386\u0007T\u0002\u0002\u0386\u0387\u0007T\u0002\u0002\u0387", + "\u0388\u0007G\u0002\u0002\u0388\u0389\u0007P\u0002\u0002\u0389\u038a", + "\u0007V\u0002\u0002\u038a\u0092\u0003\u0002\u0002\u0002\u038b\u038c", + "\u0007H\u0002\u0002\u038c\u038d\u0007K\u0002\u0002\u038d\u038e\u0007", + "T\u0002\u0002\u038e\u038f\u0007U\u0002\u0002\u038f\u0390\u0007V\u0002", + "\u0002\u0390\u0094\u0003\u0002\u0002\u0002\u0391\u0392\u0007C\u0002", + "\u0002\u0392\u0393\u0007H\u0002\u0002\u0393\u0394\u0007V\u0002\u0002", + "\u0394\u0395\u0007G\u0002\u0002\u0395\u0396\u0007T\u0002\u0002\u0396", + "\u0096\u0003\u0002\u0002\u0002\u0397\u0398\u0007N\u0002\u0002\u0398", + "\u0399\u0007C\u0002\u0002\u0399\u039a\u0007U\u0002\u0002\u039a\u039b", + "\u0007V\u0002\u0002\u039b\u0098\u0003\u0002\u0002\u0002\u039c\u039d", + "\u0007T\u0002\u0002\u039d\u039e\u0007Q\u0002\u0002\u039e\u039f\u0007", + "Y\u0002\u0002\u039f\u009a\u0003\u0002\u0002\u0002\u03a0\u03a1\u0007", + "Y\u0002\u0002\u03a1\u03a2\u0007K\u0002\u0002\u03a2\u03a3\u0007V\u0002", + "\u0002\u03a3\u03a4\u0007J\u0002\u0002\u03a4\u009c\u0003\u0002\u0002", + "\u0002\u03a5\u03a6\u0007X\u0002\u0002\u03a6\u03a7\u0007C\u0002\u0002", + "\u03a7\u03a8\u0007N\u0002\u0002\u03a8\u03a9\u0007W\u0002\u0002\u03a9", + "\u03aa\u0007G\u0002\u0002\u03aa\u03ab\u0007U\u0002\u0002\u03ab\u009e", + "\u0003\u0002\u0002\u0002\u03ac\u03ad\u0007E\u0002\u0002\u03ad\u03ae", + "\u0007T\u0002\u0002\u03ae\u03af\u0007G\u0002\u0002\u03af\u03b0\u0007", + "C\u0002\u0002\u03b0\u03b1\u0007V\u0002\u0002\u03b1\u03b2\u0007G\u0002", + "\u0002\u03b2\u00a0\u0003\u0002\u0002\u0002\u03b3\u03b4\u0007V\u0002", + "\u0002\u03b4\u03b5\u0007C\u0002\u0002\u03b5\u03b6\u0007D\u0002\u0002", + "\u03b6\u03b7\u0007N\u0002\u0002\u03b7\u03b8\u0007G\u0002\u0002\u03b8", + "\u00a2\u0003\u0002\u0002\u0002\u03b9\u03ba\u0007F\u0002\u0002\u03ba", + "\u03bb\u0007K\u0002\u0002\u03bb\u03bc\u0007T\u0002\u0002\u03bc\u03bd", + "\u0007G\u0002\u0002\u03bd\u03be\u0007E\u0002\u0002\u03be\u03bf\u0007", + "V\u0002\u0002\u03bf\u03c0\u0007Q\u0002\u0002\u03c0\u03c1\u0007T\u0002", + "\u0002\u03c1\u03c2\u0007[\u0002\u0002\u03c2\u00a4\u0003\u0002\u0002", + "\u0002\u03c3\u03c4\u0007X\u0002\u0002\u03c4\u03c5\u0007K\u0002\u0002", + "\u03c5\u03c6\u0007G\u0002\u0002\u03c6\u03c7\u0007Y\u0002\u0002\u03c7", + "\u00a6\u0003\u0002\u0002\u0002\u03c8\u03c9\u0007T\u0002\u0002\u03c9", + "\u03ca\u0007G\u0002\u0002\u03ca\u03cb\u0007R\u0002\u0002\u03cb\u03cc", + "\u0007N\u0002\u0002\u03cc\u03cd\u0007C\u0002\u0002\u03cd\u03ce\u0007", + "E\u0002\u0002\u03ce\u03cf\u0007G\u0002\u0002\u03cf\u00a8\u0003\u0002", + "\u0002\u0002\u03d0\u03d1\u0007K\u0002\u0002\u03d1\u03d2\u0007P\u0002", + "\u0002\u03d2\u03d3\u0007U\u0002\u0002\u03d3\u03d4\u0007G\u0002\u0002", + "\u03d4\u03d5\u0007T\u0002\u0002\u03d5\u03d6\u0007V\u0002\u0002\u03d6", + "\u00aa\u0003\u0002\u0002\u0002\u03d7\u03d8\u0007F\u0002\u0002\u03d8", + "\u03d9\u0007G\u0002\u0002\u03d9\u03da\u0007N\u0002\u0002\u03da\u03db", + "\u0007G\u0002\u0002\u03db\u03dc\u0007V\u0002\u0002\u03dc\u03dd\u0007", + "G\u0002\u0002\u03dd\u00ac\u0003\u0002\u0002\u0002\u03de\u03df\u0007", + "K\u0002\u0002\u03df\u03e0\u0007P\u0002\u0002\u03e0\u03e1\u0007V\u0002", + "\u0002\u03e1\u03e2\u0007Q\u0002\u0002\u03e2\u00ae\u0003\u0002\u0002", + "\u0002\u03e3\u03e4\u0007F\u0002\u0002\u03e4\u03e5\u0007G\u0002\u0002", + "\u03e5\u03e6\u0007U\u0002\u0002\u03e6\u03e7\u0007E\u0002\u0002\u03e7", + "\u03e8\u0007T\u0002\u0002\u03e8\u03e9\u0007K\u0002\u0002\u03e9\u03ea", + "\u0007D\u0002\u0002\u03ea\u03eb\u0007G\u0002\u0002\u03eb\u00b0\u0003", + "\u0002\u0002\u0002\u03ec\u03ed\u0007G\u0002\u0002\u03ed\u03ee\u0007", + "Z\u0002\u0002\u03ee\u03ef\u0007R\u0002\u0002\u03ef\u03f0\u0007N\u0002", + "\u0002\u03f0\u03f1\u0007C\u0002\u0002\u03f1\u03f2\u0007K\u0002\u0002", + "\u03f2\u03f3\u0007P\u0002\u0002\u03f3\u00b2\u0003\u0002\u0002\u0002", + "\u03f4\u03f5\u0007H\u0002\u0002\u03f5\u03f6\u0007Q\u0002\u0002\u03f6", + "\u03f7\u0007T\u0002\u0002\u03f7\u03f8\u0007O\u0002\u0002\u03f8\u03f9", + "\u0007C\u0002\u0002\u03f9\u03fa\u0007V\u0002\u0002\u03fa\u00b4\u0003", + "\u0002\u0002\u0002\u03fb\u03fc\u0007N\u0002\u0002\u03fc\u03fd\u0007", + "Q\u0002\u0002\u03fd\u03fe\u0007I\u0002\u0002\u03fe\u03ff\u0007K\u0002", + "\u0002\u03ff\u0400\u0007E\u0002\u0002\u0400\u0401\u0007C\u0002\u0002", + "\u0401\u0402\u0007N\u0002\u0002\u0402\u00b6\u0003\u0002\u0002\u0002", + "\u0403\u0404\u0007E\u0002\u0002\u0404\u0405\u0007Q\u0002\u0002\u0405", + "\u0406\u0007F\u0002\u0002\u0406\u0407\u0007G\u0002\u0002\u0407\u0408", + "\u0007I\u0002\u0002\u0408\u0409\u0007G\u0002\u0002\u0409\u040a\u0007", + "P\u0002\u0002\u040a\u00b8\u0003\u0002\u0002\u0002\u040b\u040c\u0007", + "E\u0002\u0002\u040c\u040d\u0007Q\u0002\u0002\u040d\u040e\u0007U\u0002", + "\u0002\u040e\u040f\u0007V\u0002\u0002\u040f\u00ba\u0003\u0002\u0002", + "\u0002\u0410\u0411\u0007E\u0002\u0002\u0411\u0412\u0007C\u0002\u0002", + "\u0412\u0413\u0007U\u0002\u0002\u0413\u0414\u0007V\u0002\u0002\u0414", + "\u00bc\u0003\u0002\u0002\u0002\u0415\u0416\u0007U\u0002\u0002\u0416", + "\u0417\u0007J\u0002\u0002\u0417\u0418\u0007Q\u0002\u0002\u0418\u0419", + "\u0007Y\u0002\u0002\u0419\u00be\u0003\u0002\u0002\u0002\u041a\u041b", + "\u0007V\u0002\u0002\u041b\u041c\u0007C\u0002\u0002\u041c\u041d\u0007", + "D\u0002\u0002\u041d\u041e\u0007N\u0002\u0002\u041e\u041f\u0007G\u0002", + "\u0002\u041f\u0420\u0007U\u0002\u0002\u0420\u00c0\u0003\u0002\u0002", + "\u0002\u0421\u0422\u0007E\u0002\u0002\u0422\u0423\u0007Q\u0002\u0002", + "\u0423\u0424\u0007N\u0002\u0002\u0424\u0425\u0007W\u0002\u0002\u0425", + "\u0426\u0007O\u0002\u0002\u0426\u0427\u0007P\u0002\u0002\u0427\u0428", + "\u0007U\u0002\u0002\u0428\u00c2\u0003\u0002\u0002\u0002\u0429\u042a", + "\u0007E\u0002\u0002\u042a\u042b\u0007Q\u0002\u0002\u042b\u042c\u0007", + "N\u0002\u0002\u042c\u042d\u0007W\u0002\u0002\u042d\u042e\u0007O\u0002", + "\u0002\u042e\u042f\u0007P\u0002\u0002\u042f\u00c4\u0003\u0002\u0002", + "\u0002\u0430\u0431\u0007W\u0002\u0002\u0431\u0432\u0007U\u0002\u0002", + "\u0432\u0433\u0007G\u0002\u0002\u0433\u00c6\u0003\u0002\u0002\u0002", + "\u0434\u0435\u0007R\u0002\u0002\u0435\u0436\u0007C\u0002\u0002\u0436", + "\u0437\u0007T\u0002\u0002\u0437\u0438\u0007V\u0002\u0002\u0438\u0439", + "\u0007K\u0002\u0002\u0439\u043a\u0007V\u0002\u0002\u043a\u043b\u0007", + "K\u0002\u0002\u043b\u043c\u0007Q\u0002\u0002\u043c\u043d\u0007P\u0002", + "\u0002\u043d\u043e\u0007U\u0002\u0002\u043e\u00c8\u0003\u0002\u0002", + "\u0002\u043f\u0440\u0007H\u0002\u0002\u0440\u0441\u0007W\u0002\u0002", + "\u0441\u0442\u0007P\u0002\u0002\u0442\u0443\u0007E\u0002\u0002\u0443", + "\u0444\u0007V\u0002\u0002\u0444\u0445\u0007K\u0002\u0002\u0445\u0446", + "\u0007Q\u0002\u0002\u0446\u0447\u0007P\u0002\u0002\u0447\u0448\u0007", + "U\u0002\u0002\u0448\u00ca\u0003\u0002\u0002\u0002\u0449\u044a\u0007", + "F\u0002\u0002\u044a\u044b\u0007T\u0002\u0002\u044b\u044c\u0007Q\u0002", + "\u0002\u044c\u044d\u0007R\u0002\u0002\u044d\u00cc\u0003\u0002\u0002", + "\u0002\u044e\u044f\u0007W\u0002\u0002\u044f\u0450\u0007P\u0002\u0002", + "\u0450\u0451\u0007K\u0002\u0002\u0451\u0452\u0007Q\u0002\u0002\u0452", + "\u0453\u0007P\u0002\u0002\u0453\u00ce\u0003\u0002\u0002\u0002\u0454", + "\u0455\u0007G\u0002\u0002\u0455\u0456\u0007Z\u0002\u0002\u0456\u0457", + "\u0007E\u0002\u0002\u0457\u0458\u0007G\u0002\u0002\u0458\u0459\u0007", + "R\u0002\u0002\u0459\u045a\u0007V\u0002\u0002\u045a\u00d0\u0003\u0002", + "\u0002\u0002\u045b\u045c\u0007O\u0002\u0002\u045c\u045d\u0007K\u0002", + "\u0002\u045d\u045e\u0007P\u0002\u0002\u045e\u045f\u0007W\u0002\u0002", + "\u045f\u0460\u0007U\u0002\u0002\u0460\u00d2\u0003\u0002\u0002\u0002", + "\u0461\u0462\u0007K\u0002\u0002\u0462\u0463\u0007P\u0002\u0002\u0463", + "\u0464\u0007V\u0002\u0002\u0464\u0465\u0007G\u0002\u0002\u0465\u0466", + "\u0007T\u0002\u0002\u0466\u0467\u0007U\u0002\u0002\u0467\u0468\u0007", + "G\u0002\u0002\u0468\u0469\u0007E\u0002\u0002\u0469\u046a\u0007V\u0002", + "\u0002\u046a\u00d4\u0003\u0002\u0002\u0002\u046b\u046c\u0007V\u0002", + "\u0002\u046c\u046d\u0007Q\u0002\u0002\u046d\u00d6\u0003\u0002\u0002", + "\u0002\u046e\u046f\u0007V\u0002\u0002\u046f\u0470\u0007C\u0002\u0002", + "\u0470\u0471\u0007D\u0002\u0002\u0471\u0472\u0007N\u0002\u0002\u0472", + "\u0473\u0007G\u0002\u0002\u0473\u0474\u0007U\u0002\u0002\u0474\u0475", + "\u0007C\u0002\u0002\u0475\u0476\u0007O\u0002\u0002\u0476\u0477\u0007", + "R\u0002\u0002\u0477\u0478\u0007N\u0002\u0002\u0478\u0479\u0007G\u0002", + "\u0002\u0479\u00d8\u0003\u0002\u0002\u0002\u047a\u047b\u0007U\u0002", + "\u0002\u047b\u047c\u0007V\u0002\u0002\u047c\u047d\u0007T\u0002\u0002", + "\u047d\u047e\u0007C\u0002\u0002\u047e\u047f\u0007V\u0002\u0002\u047f", + "\u0480\u0007K\u0002\u0002\u0480\u0481\u0007H\u0002\u0002\u0481\u0482", + "\u0007[\u0002\u0002\u0482\u00da\u0003\u0002\u0002\u0002\u0483\u0484", + "\u0007C\u0002\u0002\u0484\u0485\u0007N\u0002\u0002\u0485\u0486\u0007", + "V\u0002\u0002\u0486\u0487\u0007G\u0002\u0002\u0487\u0488\u0007T\u0002", + "\u0002\u0488\u00dc\u0003\u0002\u0002\u0002\u0489\u048a\u0007T\u0002", + "\u0002\u048a\u048b\u0007G\u0002\u0002\u048b\u048c\u0007P\u0002\u0002", + "\u048c\u048d\u0007C\u0002\u0002\u048d\u048e\u0007O\u0002\u0002\u048e", + "\u048f\u0007G\u0002\u0002\u048f\u00de\u0003\u0002\u0002\u0002\u0490", + "\u0491\u0007C\u0002\u0002\u0491\u0492\u0007T\u0002\u0002\u0492\u0493", + "\u0007T\u0002\u0002\u0493\u0494\u0007C\u0002\u0002\u0494\u0495\u0007", + "[\u0002\u0002\u0495\u00e0\u0003\u0002\u0002\u0002\u0496\u0497\u0007", + "O\u0002\u0002\u0497\u0498\u0007C\u0002\u0002\u0498\u0499\u0007R\u0002", + "\u0002\u0499\u00e2\u0003\u0002\u0002\u0002\u049a\u049b\u0007U\u0002", + "\u0002\u049b\u049c\u0007V\u0002\u0002\u049c\u049d\u0007T\u0002\u0002", + "\u049d\u049e\u0007W\u0002\u0002\u049e\u049f\u0007E\u0002\u0002\u049f", + "\u04a0\u0007V\u0002\u0002\u04a0\u00e4\u0003\u0002\u0002\u0002\u04a1", + "\u04a2\u0007E\u0002\u0002\u04a2\u04a3\u0007Q\u0002\u0002\u04a3\u04a4", + "\u0007O\u0002\u0002\u04a4\u04a5\u0007O\u0002\u0002\u04a5\u04a6\u0007", + "G\u0002\u0002\u04a6\u04a7\u0007P\u0002\u0002\u04a7\u04a8\u0007V\u0002", + "\u0002\u04a8\u00e6\u0003\u0002\u0002\u0002\u04a9\u04aa\u0007U\u0002", + "\u0002\u04aa\u04ab\u0007G\u0002\u0002\u04ab\u04ac\u0007V\u0002\u0002", + "\u04ac\u00e8\u0003\u0002\u0002\u0002\u04ad\u04ae\u0007T\u0002\u0002", + "\u04ae\u04af\u0007G\u0002\u0002\u04af\u04b0\u0007U\u0002\u0002\u04b0", + "\u04b1\u0007G\u0002\u0002\u04b1\u04b2\u0007V\u0002\u0002\u04b2\u00ea", + "\u0003\u0002\u0002\u0002\u04b3\u04b4\u0007F\u0002\u0002\u04b4\u04b5", + "\u0007C\u0002\u0002\u04b5\u04b6\u0007V\u0002\u0002\u04b6\u04b7\u0007", + "C\u0002\u0002\u04b7\u00ec\u0003\u0002\u0002\u0002\u04b8\u04b9\u0007", + "U\u0002\u0002\u04b9\u04ba\u0007V\u0002\u0002\u04ba\u04bb\u0007C\u0002", + "\u0002\u04bb\u04bc\u0007T\u0002\u0002\u04bc\u04bd\u0007V\u0002\u0002", + "\u04bd\u00ee\u0003\u0002\u0002\u0002\u04be\u04bf\u0007V\u0002\u0002", + "\u04bf\u04c0\u0007T\u0002\u0002\u04c0\u04c1\u0007C\u0002\u0002\u04c1", + "\u04c2\u0007P\u0002\u0002\u04c2\u04c3\u0007U\u0002\u0002\u04c3\u04c4", + "\u0007C\u0002\u0002\u04c4\u04c5\u0007E\u0002\u0002\u04c5\u04c6\u0007", + "V\u0002\u0002\u04c6\u04c7\u0007K\u0002\u0002\u04c7\u04c8\u0007Q\u0002", + "\u0002\u04c8\u04c9\u0007P\u0002\u0002\u04c9\u00f0\u0003\u0002\u0002", + "\u0002\u04ca\u04cb\u0007E\u0002\u0002\u04cb\u04cc\u0007Q\u0002\u0002", + "\u04cc\u04cd\u0007O\u0002\u0002\u04cd\u04ce\u0007O\u0002\u0002\u04ce", + "\u04cf\u0007K\u0002\u0002\u04cf\u04d0\u0007V\u0002\u0002\u04d0\u00f2", + "\u0003\u0002\u0002\u0002\u04d1\u04d2\u0007T\u0002\u0002\u04d2\u04d3", + "\u0007Q\u0002\u0002\u04d3\u04d4\u0007N\u0002\u0002\u04d4\u04d5\u0007", + "N\u0002\u0002\u04d5\u04d6\u0007D\u0002\u0002\u04d6\u04d7\u0007C\u0002", + "\u0002\u04d7\u04d8\u0007E\u0002\u0002\u04d8\u04d9\u0007M\u0002\u0002", + "\u04d9\u00f4\u0003\u0002\u0002\u0002\u04da\u04db\u0007O\u0002\u0002", + "\u04db\u04dc\u0007C\u0002\u0002\u04dc\u04dd\u0007E\u0002\u0002\u04dd", + "\u04de\u0007T\u0002\u0002\u04de\u04df\u0007Q\u0002\u0002\u04df\u00f6", + "\u0003\u0002\u0002\u0002\u04e0\u04e1\u0007K\u0002\u0002\u04e1\u04e2", + "\u0007I\u0002\u0002\u04e2\u04e3\u0007P\u0002\u0002\u04e3\u04e4\u0007", + "Q\u0002\u0002\u04e4\u04e5\u0007T\u0002\u0002\u04e5\u04e6\u0007G\u0002", + "\u0002\u04e6\u00f8\u0003\u0002\u0002\u0002\u04e7\u04e8\u0007D\u0002", + "\u0002\u04e8\u04e9\u0007Q\u0002\u0002\u04e9\u04ea\u0007V\u0002\u0002", + "\u04ea\u04eb\u0007J\u0002\u0002\u04eb\u00fa\u0003\u0002\u0002\u0002", + "\u04ec\u04ed\u0007N\u0002\u0002\u04ed\u04ee\u0007G\u0002\u0002\u04ee", + "\u04ef\u0007C\u0002\u0002\u04ef\u04f0\u0007F\u0002\u0002\u04f0\u04f1", + "\u0007K\u0002\u0002\u04f1\u04f2\u0007P\u0002\u0002\u04f2\u04f3\u0007", + "I\u0002\u0002\u04f3\u00fc\u0003\u0002\u0002\u0002\u04f4\u04f5\u0007", + "V\u0002\u0002\u04f5\u04f6\u0007T\u0002\u0002\u04f6\u04f7\u0007C\u0002", + "\u0002\u04f7\u04f8\u0007K\u0002\u0002\u04f8\u04f9\u0007N\u0002\u0002", + "\u04f9\u04fa\u0007K\u0002\u0002\u04fa\u04fb\u0007P\u0002\u0002\u04fb", + "\u04fc\u0007I\u0002\u0002\u04fc\u00fe\u0003\u0002\u0002\u0002\u04fd", + "\u04fe\u0007K\u0002\u0002\u04fe\u04ff\u0007H\u0002\u0002\u04ff\u0100", + "\u0003\u0002\u0002\u0002\u0500\u0501\u0007R\u0002\u0002\u0501\u0502", + "\u0007Q\u0002\u0002\u0502\u0503\u0007U\u0002\u0002\u0503\u0504\u0007", + "K\u0002\u0002\u0504\u0505\u0007V\u0002\u0002\u0505\u0506\u0007K\u0002", + "\u0002\u0506\u0507\u0007Q\u0002\u0002\u0507\u0508\u0007P\u0002\u0002", + "\u0508\u0102\u0003\u0002\u0002\u0002\u0509\u050a\u0007G\u0002\u0002", + "\u050a\u050b\u0007Z\u0002\u0002\u050b\u050c\u0007V\u0002\u0002\u050c", + "\u050d\u0007T\u0002\u0002\u050d\u050e\u0007C\u0002\u0002\u050e\u050f", + "\u0007E\u0002\u0002\u050f\u0510\u0007V\u0002\u0002\u0510\u0104\u0003", + "\u0002\u0002\u0002\u0511\u0515\u0007?\u0002\u0002\u0512\u0513\u0007", + "?\u0002\u0002\u0513\u0515\u0007?\u0002\u0002\u0514\u0511\u0003\u0002", + "\u0002\u0002\u0514\u0512\u0003\u0002\u0002\u0002\u0515\u0106\u0003\u0002", + "\u0002\u0002\u0516\u0517\u0007>\u0002\u0002\u0517\u0518\u0007?\u0002", + "\u0002\u0518\u0519\u0007@\u0002\u0002\u0519\u0108\u0003\u0002\u0002", + "\u0002\u051a\u051b\u0007>\u0002\u0002\u051b\u051c\u0007@\u0002\u0002", + "\u051c\u010a\u0003\u0002\u0002\u0002\u051d\u051e\u0007#\u0002\u0002", + "\u051e\u051f\u0007?\u0002\u0002\u051f\u010c\u0003\u0002\u0002\u0002", + "\u0520\u0521\u0007>\u0002\u0002\u0521\u010e\u0003\u0002\u0002\u0002", + "\u0522\u0523\u0007>\u0002\u0002\u0523\u0527\u0007?\u0002\u0002\u0524", + "\u0525\u0007#\u0002\u0002\u0525\u0527\u0007@\u0002\u0002\u0526\u0522", + "\u0003\u0002\u0002\u0002\u0526\u0524\u0003\u0002\u0002\u0002\u0527\u0110", + "\u0003\u0002\u0002\u0002\u0528\u0529\u0007@\u0002\u0002\u0529\u0112", + "\u0003\u0002\u0002\u0002\u052a\u052b\u0007@\u0002\u0002\u052b\u052f", + "\u0007?\u0002\u0002\u052c\u052d\u0007#\u0002\u0002\u052d\u052f\u0007", + ">\u0002\u0002\u052e\u052a\u0003\u0002\u0002\u0002\u052e\u052c\u0003", + "\u0002\u0002\u0002\u052f\u0114\u0003\u0002\u0002\u0002\u0530\u0531\u0007", + "-\u0002\u0002\u0531\u0116\u0003\u0002\u0002\u0002\u0532\u0533\u0007", + "/\u0002\u0002\u0533\u0118\u0003\u0002\u0002\u0002\u0534\u0535\u0007", + ",\u0002\u0002\u0535\u011a\u0003\u0002\u0002\u0002\u0536\u0537\u0007", + "1\u0002\u0002\u0537\u011c\u0003\u0002\u0002\u0002\u0538\u0539\u0007", + "\'\u0002\u0002\u0539\u011e\u0003\u0002\u0002\u0002\u053a\u053b\u0007", + "F\u0002\u0002\u053b\u053c\u0007K\u0002\u0002\u053c\u053d\u0007X\u0002", + "\u0002\u053d\u0120\u0003\u0002\u0002\u0002\u053e\u053f\u0007\u0080\u0002", + "\u0002\u053f\u0122\u0003\u0002\u0002\u0002\u0540\u0541\u0007(\u0002", + "\u0002\u0541\u0124\u0003\u0002\u0002\u0002\u0542\u0543\u0007~\u0002", + "\u0002\u0543\u0126\u0003\u0002\u0002\u0002\u0544\u0545\u0007~\u0002", + "\u0002\u0545\u0546\u0007~\u0002\u0002\u0546\u0128\u0003\u0002\u0002", + "\u0002\u0547\u0548\u0007`\u0002\u0002\u0548\u012a\u0003\u0002\u0002", + "\u0002\u0549\u054a\u0007R\u0002\u0002\u054a\u054b\u0007G\u0002\u0002", + "\u054b\u054c\u0007T\u0002\u0002\u054c\u054d\u0007E\u0002\u0002\u054d", + "\u054e\u0007G\u0002\u0002\u054e\u054f\u0007P\u0002\u0002\u054f\u0550", + "\u0007V\u0002\u0002\u0550\u012c\u0003\u0002\u0002\u0002\u0551\u0552", + "\u0007D\u0002\u0002\u0552\u0553\u0007W\u0002\u0002\u0553\u0554\u0007", + "E\u0002\u0002\u0554\u0555\u0007M\u0002\u0002\u0555\u0556\u0007G\u0002", + "\u0002\u0556\u0557\u0007V\u0002\u0002\u0557\u012e\u0003\u0002\u0002", + "\u0002\u0558\u0559\u0007Q\u0002\u0002\u0559\u055a\u0007W\u0002\u0002", + "\u055a\u055b\u0007V\u0002\u0002\u055b\u0130\u0003\u0002\u0002\u0002", + "\u055c\u055d\u0007Q\u0002\u0002\u055d\u055e\u0007H\u0002\u0002\u055e", + "\u0132\u0003\u0002\u0002\u0002\u055f\u0560\u0007U\u0002\u0002\u0560", + "\u0561\u0007Q\u0002\u0002\u0561\u0562\u0007T\u0002\u0002\u0562\u0563", + "\u0007V\u0002\u0002\u0563\u0134\u0003\u0002\u0002\u0002\u0564\u0565", + "\u0007E\u0002\u0002\u0565\u0566\u0007N\u0002\u0002\u0566\u0567\u0007", + "W\u0002\u0002\u0567\u0568\u0007U\u0002\u0002\u0568\u0569\u0007V\u0002", + "\u0002\u0569\u056a\u0007G\u0002\u0002\u056a\u056b\u0007T\u0002\u0002", + "\u056b\u0136\u0003\u0002\u0002\u0002\u056c\u056d\u0007F\u0002\u0002", + "\u056d\u056e\u0007K\u0002\u0002\u056e\u056f\u0007U\u0002\u0002\u056f", + "\u0570\u0007V\u0002\u0002\u0570\u0571\u0007T\u0002\u0002\u0571\u0572", + "\u0007K\u0002\u0002\u0572\u0573\u0007D\u0002\u0002\u0573\u0574\u0007", + "W\u0002\u0002\u0574\u0575\u0007V\u0002\u0002\u0575\u0576\u0007G\u0002", + "\u0002\u0576\u0138\u0003\u0002\u0002\u0002\u0577\u0578\u0007Q\u0002", + "\u0002\u0578\u0579\u0007X\u0002\u0002\u0579\u057a\u0007G\u0002\u0002", + "\u057a\u057b\u0007T\u0002\u0002\u057b\u057c\u0007Y\u0002\u0002\u057c", + "\u057d\u0007T\u0002\u0002\u057d\u057e\u0007K\u0002\u0002\u057e\u057f", + "\u0007V\u0002\u0002\u057f\u0580\u0007G\u0002\u0002\u0580\u013a\u0003", + "\u0002\u0002\u0002\u0581\u0582\u0007V\u0002\u0002\u0582\u0583\u0007", + "T\u0002\u0002\u0583\u0584\u0007C\u0002\u0002\u0584\u0585\u0007P\u0002", + "\u0002\u0585\u0586\u0007U\u0002\u0002\u0586\u0587\u0007H\u0002\u0002", + "\u0587\u0588\u0007Q\u0002\u0002\u0588\u0589\u0007T\u0002\u0002\u0589", + "\u058a\u0007O\u0002\u0002\u058a\u013c\u0003\u0002\u0002\u0002\u058b", + "\u058c\u0007T\u0002\u0002\u058c\u058d\u0007G\u0002\u0002\u058d\u058e", + "\u0007F\u0002\u0002\u058e\u058f\u0007W\u0002\u0002\u058f\u0590\u0007", + "E\u0002\u0002\u0590\u0591\u0007G\u0002\u0002\u0591\u013e\u0003\u0002", + "\u0002\u0002\u0592\u0593\u0007W\u0002\u0002\u0593\u0594\u0007U\u0002", + "\u0002\u0594\u0595\u0007K\u0002\u0002\u0595\u0596\u0007P\u0002\u0002", + "\u0596\u0597\u0007I\u0002\u0002\u0597\u0140\u0003\u0002\u0002\u0002", + "\u0598\u0599\u0007U\u0002\u0002\u0599\u059a\u0007G\u0002\u0002\u059a", + "\u059b\u0007T\u0002\u0002\u059b\u059c\u0007F\u0002\u0002\u059c\u059d", + "\u0007G\u0002\u0002\u059d\u0142\u0003\u0002\u0002\u0002\u059e\u059f", + "\u0007U\u0002\u0002\u059f\u05a0\u0007G\u0002\u0002\u05a0\u05a1\u0007", + "T\u0002\u0002\u05a1\u05a2\u0007F\u0002\u0002\u05a2\u05a3\u0007G\u0002", + "\u0002\u05a3\u05a4\u0007R\u0002\u0002\u05a4\u05a5\u0007T\u0002\u0002", + "\u05a5\u05a6\u0007Q\u0002\u0002\u05a6\u05a7\u0007R\u0002\u0002\u05a7", + "\u05a8\u0007G\u0002\u0002\u05a8\u05a9\u0007T\u0002\u0002\u05a9\u05aa", + "\u0007V\u0002\u0002\u05aa\u05ab\u0007K\u0002\u0002\u05ab\u05ac\u0007", + "G\u0002\u0002\u05ac\u05ad\u0007U\u0002\u0002\u05ad\u0144\u0003\u0002", + "\u0002\u0002\u05ae\u05af\u0007T\u0002\u0002\u05af\u05b0\u0007G\u0002", + "\u0002\u05b0\u05b1\u0007E\u0002\u0002\u05b1\u05b2\u0007Q\u0002\u0002", + "\u05b2\u05b3\u0007T\u0002\u0002\u05b3\u05b4\u0007F\u0002\u0002\u05b4", + "\u05b5\u0007T\u0002\u0002\u05b5\u05b6\u0007G\u0002\u0002\u05b6\u05b7", + "\u0007C\u0002\u0002\u05b7\u05b8\u0007F\u0002\u0002\u05b8\u05b9\u0007", + "G\u0002\u0002\u05b9\u05ba\u0007T\u0002\u0002\u05ba\u0146\u0003\u0002", + "\u0002\u0002\u05bb\u05bc\u0007T\u0002\u0002\u05bc\u05bd\u0007G\u0002", + "\u0002\u05bd\u05be\u0007E\u0002\u0002\u05be\u05bf\u0007Q\u0002\u0002", + "\u05bf\u05c0\u0007T\u0002\u0002\u05c0\u05c1\u0007F\u0002\u0002\u05c1", + "\u05c2\u0007Y\u0002\u0002\u05c2\u05c3\u0007T\u0002\u0002\u05c3\u05c4", + "\u0007K\u0002\u0002\u05c4\u05c5\u0007V\u0002\u0002\u05c5\u05c6\u0007", + "G\u0002\u0002\u05c6\u05c7\u0007T\u0002\u0002\u05c7\u0148\u0003\u0002", + "\u0002\u0002\u05c8\u05c9\u0007F\u0002\u0002\u05c9\u05ca\u0007G\u0002", + "\u0002\u05ca\u05cb\u0007N\u0002\u0002\u05cb\u05cc\u0007K\u0002\u0002", + "\u05cc\u05cd\u0007O\u0002\u0002\u05cd\u05ce\u0007K\u0002\u0002\u05ce", + "\u05cf\u0007V\u0002\u0002\u05cf\u05d0\u0007G\u0002\u0002\u05d0\u05d1", + "\u0007F\u0002\u0002\u05d1\u014a\u0003\u0002\u0002\u0002\u05d2\u05d3", + "\u0007H\u0002\u0002\u05d3\u05d4\u0007K\u0002\u0002\u05d4\u05d5\u0007", + "G\u0002\u0002\u05d5\u05d6\u0007N\u0002\u0002\u05d6\u05d7\u0007F\u0002", + "\u0002\u05d7\u05d8\u0007U\u0002\u0002\u05d8\u014c\u0003\u0002\u0002", + "\u0002\u05d9\u05da\u0007V\u0002\u0002\u05da\u05db\u0007G\u0002\u0002", + "\u05db\u05dc\u0007T\u0002\u0002\u05dc\u05dd\u0007O\u0002\u0002\u05dd", + "\u05de\u0007K\u0002\u0002\u05de\u05df\u0007P\u0002\u0002\u05df\u05e0", + "\u0007C\u0002\u0002\u05e0\u05e1\u0007V\u0002\u0002\u05e1\u05e2\u0007", + "G\u0002\u0002\u05e2\u05e3\u0007F\u0002\u0002\u05e3\u014e\u0003\u0002", + "\u0002\u0002\u05e4\u05e5\u0007E\u0002\u0002\u05e5\u05e6\u0007Q\u0002", + "\u0002\u05e6\u05e7\u0007N\u0002\u0002\u05e7\u05e8\u0007N\u0002\u0002", + "\u05e8\u05e9\u0007G\u0002\u0002\u05e9\u05ea\u0007E\u0002\u0002\u05ea", + "\u05eb\u0007V\u0002\u0002\u05eb\u05ec\u0007K\u0002\u0002\u05ec\u05ed", + "\u0007Q\u0002\u0002\u05ed\u05ee\u0007P\u0002\u0002\u05ee\u0150\u0003", + "\u0002\u0002\u0002\u05ef\u05f0\u0007K\u0002\u0002\u05f0\u05f1\u0007", + "V\u0002\u0002\u05f1\u05f2\u0007G\u0002\u0002\u05f2\u05f3\u0007O\u0002", + "\u0002\u05f3\u05f4\u0007U\u0002\u0002\u05f4\u0152\u0003\u0002\u0002", + "\u0002\u05f5\u05f6\u0007M\u0002\u0002\u05f6\u05f7\u0007G\u0002\u0002", + "\u05f7\u05f8\u0007[\u0002\u0002\u05f8\u05f9\u0007U\u0002\u0002\u05f9", + "\u0154\u0003\u0002\u0002\u0002\u05fa\u05fb\u0007G\u0002\u0002\u05fb", + "\u05fc\u0007U\u0002\u0002\u05fc\u05fd\u0007E\u0002\u0002\u05fd\u05fe", + "\u0007C\u0002\u0002\u05fe\u05ff\u0007R\u0002\u0002\u05ff\u0600\u0007", + "G\u0002\u0002\u0600\u0601\u0007F\u0002\u0002\u0601\u0156\u0003\u0002", + "\u0002\u0002\u0602\u0603\u0007N\u0002\u0002\u0603\u0604\u0007K\u0002", + "\u0002\u0604\u0605\u0007P\u0002\u0002\u0605\u0606\u0007G\u0002\u0002", + "\u0606\u0607\u0007U\u0002\u0002\u0607\u0158\u0003\u0002\u0002\u0002", + "\u0608\u0609\u0007U\u0002\u0002\u0609\u060a\u0007G\u0002\u0002\u060a", + "\u060b\u0007R\u0002\u0002\u060b\u060c\u0007C\u0002\u0002\u060c\u060d", + "\u0007T\u0002\u0002\u060d\u060e\u0007C\u0002\u0002\u060e\u060f\u0007", + "V\u0002\u0002\u060f\u0610\u0007G\u0002\u0002\u0610\u0611\u0007F\u0002", + "\u0002\u0611\u015a\u0003\u0002\u0002\u0002\u0612\u0613\u0007H\u0002", + "\u0002\u0613\u0614\u0007W\u0002\u0002\u0614\u0615\u0007P\u0002\u0002", + "\u0615\u0616\u0007E\u0002\u0002\u0616\u0617\u0007V\u0002\u0002\u0617", + "\u0618\u0007K\u0002\u0002\u0618\u0619\u0007Q\u0002\u0002\u0619\u061a", + "\u0007P\u0002\u0002\u061a\u015c\u0003\u0002\u0002\u0002\u061b\u061c", + "\u0007G\u0002\u0002\u061c\u061d\u0007Z\u0002\u0002\u061d\u061e\u0007", + "V\u0002\u0002\u061e\u061f\u0007G\u0002\u0002\u061f\u0620\u0007P\u0002", + "\u0002\u0620\u0621\u0007F\u0002\u0002\u0621\u0622\u0007G\u0002\u0002", + "\u0622\u0623\u0007F\u0002\u0002\u0623\u015e\u0003\u0002\u0002\u0002", + "\u0624\u0625\u0007T\u0002\u0002\u0625\u0626\u0007G\u0002\u0002\u0626", + "\u0627\u0007H\u0002\u0002\u0627\u0628\u0007T\u0002\u0002\u0628\u0629", + "\u0007G\u0002\u0002\u0629\u062a\u0007U\u0002\u0002\u062a\u062b\u0007", + "J\u0002\u0002\u062b\u0160\u0003\u0002\u0002\u0002\u062c\u062d\u0007", + "E\u0002\u0002\u062d\u062e\u0007N\u0002\u0002\u062e\u062f\u0007G\u0002", + "\u0002\u062f\u0630\u0007C\u0002\u0002\u0630\u0631\u0007T\u0002\u0002", + "\u0631\u0162\u0003\u0002\u0002\u0002\u0632\u0633\u0007E\u0002\u0002", + "\u0633\u0634\u0007C\u0002\u0002\u0634\u0635\u0007E\u0002\u0002\u0635", + "\u0636\u0007J\u0002\u0002\u0636\u0637\u0007G\u0002\u0002\u0637\u0164", + "\u0003\u0002\u0002\u0002\u0638\u0639\u0007W\u0002\u0002\u0639\u063a", + "\u0007P\u0002\u0002\u063a\u063b\u0007E\u0002\u0002\u063b\u063c\u0007", + "C\u0002\u0002\u063c\u063d\u0007E\u0002\u0002\u063d\u063e\u0007J\u0002", + "\u0002\u063e\u063f\u0007G\u0002\u0002\u063f\u0166\u0003\u0002\u0002", + "\u0002\u0640\u0641\u0007N\u0002\u0002\u0641\u0642\u0007C\u0002\u0002", + "\u0642\u0643\u0007\\\u0002\u0002\u0643\u0644\u0007[\u0002\u0002\u0644", + "\u0168\u0003\u0002\u0002\u0002\u0645\u0646\u0007H\u0002\u0002\u0646", + "\u0647\u0007Q\u0002\u0002\u0647\u0648\u0007T\u0002\u0002\u0648\u0649", + "\u0007O\u0002\u0002\u0649\u064a\u0007C\u0002\u0002\u064a\u064b\u0007", + "V\u0002\u0002\u064b\u064c\u0007V\u0002\u0002\u064c\u064d\u0007G\u0002", + "\u0002\u064d\u064e\u0007F\u0002\u0002\u064e\u016a\u0003\u0002\u0002", + "\u0002\u064f\u0650\u0007I\u0002\u0002\u0650\u0651\u0007N\u0002\u0002", + "\u0651\u0652\u0007Q\u0002\u0002\u0652\u0653\u0007D\u0002\u0002\u0653", + "\u0654\u0007C\u0002\u0002\u0654\u0655\u0007N\u0002\u0002\u0655\u016c", + "\u0003\u0002\u0002\u0002\u0656\u0657\u0007V\u0002\u0002\u0657\u0658", + "\u0007G\u0002\u0002\u0658\u0659\u0007O\u0002\u0002\u0659\u065a\u0007", + "R\u0002\u0002\u065a\u065b\u0007Q\u0002\u0002\u065b\u065c\u0007T\u0002", + "\u0002\u065c\u065d\u0007C\u0002\u0002\u065d\u065e\u0007T\u0002\u0002", + "\u065e\u0664\u0007[\u0002\u0002\u065f\u0660\u0007V\u0002\u0002\u0660", + "\u0661\u0007G\u0002\u0002\u0661\u0662\u0007O\u0002\u0002\u0662\u0664", + "\u0007R\u0002\u0002\u0663\u0656\u0003\u0002\u0002\u0002\u0663\u065f", + "\u0003\u0002\u0002\u0002\u0664\u016e\u0003\u0002\u0002\u0002\u0665\u0666", + "\u0007Q\u0002\u0002\u0666\u0667\u0007R\u0002\u0002\u0667\u0668\u0007", + "V\u0002\u0002\u0668\u0669\u0007K\u0002\u0002\u0669\u066a\u0007Q\u0002", + "\u0002\u066a\u066b\u0007P\u0002\u0002\u066b\u066c\u0007U\u0002\u0002", + "\u066c\u0170\u0003\u0002\u0002\u0002\u066d\u066e\u0007W\u0002\u0002", + "\u066e\u066f\u0007P\u0002\u0002\u066f\u0670\u0007U\u0002\u0002\u0670", + "\u0671\u0007G\u0002\u0002\u0671\u0672\u0007V\u0002\u0002\u0672\u0172", + "\u0003\u0002\u0002\u0002\u0673\u0674\u0007V\u0002\u0002\u0674\u0675", + "\u0007D\u0002\u0002\u0675\u0676\u0007N\u0002\u0002\u0676\u0677\u0007", + "R\u0002\u0002\u0677\u0678\u0007T\u0002\u0002\u0678\u0679\u0007Q\u0002", + "\u0002\u0679\u067a\u0007R\u0002\u0002\u067a\u067b\u0007G\u0002\u0002", + "\u067b\u067c\u0007T\u0002\u0002\u067c\u067d\u0007V\u0002\u0002\u067d", + "\u067e\u0007K\u0002\u0002\u067e\u067f\u0007G\u0002\u0002\u067f\u0680", + "\u0007U\u0002\u0002\u0680\u0174\u0003\u0002\u0002\u0002\u0681\u0682", + "\u0007F\u0002\u0002\u0682\u0683\u0007D\u0002\u0002\u0683\u0684\u0007", + "R\u0002\u0002\u0684\u0685\u0007T\u0002\u0002\u0685\u0686\u0007Q\u0002", + "\u0002\u0686\u0687\u0007R\u0002\u0002\u0687\u0688\u0007G\u0002\u0002", + "\u0688\u0689\u0007T\u0002\u0002\u0689\u068a\u0007V\u0002\u0002\u068a", + "\u068b\u0007K\u0002\u0002\u068b\u068c\u0007G\u0002\u0002\u068c\u068d", + "\u0007U\u0002\u0002\u068d\u0176\u0003\u0002\u0002\u0002\u068e\u068f", + "\u0007D\u0002\u0002\u068f\u0690\u0007W\u0002\u0002\u0690\u0691\u0007", + "E\u0002\u0002\u0691\u0692\u0007M\u0002\u0002\u0692\u0693\u0007G\u0002", + "\u0002\u0693\u0694\u0007V\u0002\u0002\u0694\u0695\u0007U\u0002\u0002", + "\u0695\u0178\u0003\u0002\u0002\u0002\u0696\u0697\u0007U\u0002\u0002", + "\u0697\u0698\u0007M\u0002\u0002\u0698\u0699\u0007G\u0002\u0002\u0699", + "\u069a\u0007Y\u0002\u0002\u069a\u069b\u0007G\u0002\u0002\u069b\u069c", + "\u0007F\u0002\u0002\u069c\u017a\u0003\u0002\u0002\u0002\u069d\u069e", + "\u0007U\u0002\u0002\u069e\u069f\u0007V\u0002\u0002\u069f\u06a0\u0007", + "Q\u0002\u0002\u06a0\u06a1\u0007T\u0002\u0002\u06a1\u06a2\u0007G\u0002", + "\u0002\u06a2\u06a3\u0007F\u0002\u0002\u06a3\u017c\u0003\u0002\u0002", + "\u0002\u06a4\u06a5\u0007F\u0002\u0002\u06a5\u06a6\u0007K\u0002\u0002", + "\u06a6\u06a7\u0007T\u0002\u0002\u06a7\u06a8\u0007G\u0002\u0002\u06a8", + "\u06a9\u0007E\u0002\u0002\u06a9\u06aa\u0007V\u0002\u0002\u06aa\u06ab", + "\u0007Q\u0002\u0002\u06ab\u06ac\u0007T\u0002\u0002\u06ac\u06ad\u0007", + "K\u0002\u0002\u06ad\u06ae\u0007G\u0002\u0002\u06ae\u06af\u0007U\u0002", + "\u0002\u06af\u017e\u0003\u0002\u0002\u0002\u06b0\u06b1\u0007N\u0002", + "\u0002\u06b1\u06b2\u0007Q\u0002\u0002\u06b2\u06b3\u0007E\u0002\u0002", + "\u06b3\u06b4\u0007C\u0002\u0002\u06b4\u06b5\u0007V\u0002\u0002\u06b5", + "\u06b6\u0007K\u0002\u0002\u06b6\u06b7\u0007Q\u0002\u0002\u06b7\u06b8", + "\u0007P\u0002\u0002\u06b8\u0180\u0003\u0002\u0002\u0002\u06b9\u06ba", + "\u0007G\u0002\u0002\u06ba\u06bb\u0007Z\u0002\u0002\u06bb\u06bc\u0007", + "E\u0002\u0002\u06bc\u06bd\u0007J\u0002\u0002\u06bd\u06be\u0007C\u0002", + "\u0002\u06be\u06bf\u0007P\u0002\u0002\u06bf\u06c0\u0007I\u0002\u0002", + "\u06c0\u06c1\u0007G\u0002\u0002\u06c1\u0182\u0003\u0002\u0002\u0002", + "\u06c2\u06c3\u0007C\u0002\u0002\u06c3\u06c4\u0007T\u0002\u0002\u06c4", + "\u06c5\u0007E\u0002\u0002\u06c5\u06c6\u0007J\u0002\u0002\u06c6\u06c7", + "\u0007K\u0002\u0002\u06c7\u06c8\u0007X\u0002\u0002\u06c8\u06c9\u0007", + "G\u0002\u0002\u06c9\u0184\u0003\u0002\u0002\u0002\u06ca\u06cb\u0007", + "W\u0002\u0002\u06cb\u06cc\u0007P\u0002\u0002\u06cc\u06cd\u0007C\u0002", + "\u0002\u06cd\u06ce\u0007T\u0002\u0002\u06ce\u06cf\u0007E\u0002\u0002", + "\u06cf\u06d0\u0007J\u0002\u0002\u06d0\u06d1\u0007K\u0002\u0002\u06d1", + "\u06d2\u0007X\u0002\u0002\u06d2\u06d3\u0007G\u0002\u0002\u06d3\u0186", + "\u0003\u0002\u0002\u0002\u06d4\u06d5\u0007H\u0002\u0002\u06d5\u06d6", + "\u0007K\u0002\u0002\u06d6\u06d7\u0007N\u0002\u0002\u06d7\u06d8\u0007", + "G\u0002\u0002\u06d8\u06d9\u0007H\u0002\u0002\u06d9\u06da\u0007Q\u0002", + "\u0002\u06da\u06db\u0007T\u0002\u0002\u06db\u06dc\u0007O\u0002\u0002", + "\u06dc\u06dd\u0007C\u0002\u0002\u06dd\u06de\u0007V\u0002\u0002\u06de", + "\u0188\u0003\u0002\u0002\u0002\u06df\u06e0\u0007V\u0002\u0002\u06e0", + "\u06e1\u0007Q\u0002\u0002\u06e1\u06e2\u0007W\u0002\u0002\u06e2\u06e3", + "\u0007E\u0002\u0002\u06e3\u06e4\u0007J\u0002\u0002\u06e4\u018a\u0003", + "\u0002\u0002\u0002\u06e5\u06e6\u0007E\u0002\u0002\u06e6\u06e7\u0007", + "Q\u0002\u0002\u06e7\u06e8\u0007O\u0002\u0002\u06e8\u06e9\u0007R\u0002", + "\u0002\u06e9\u06ea\u0007C\u0002\u0002\u06ea\u06eb\u0007E\u0002\u0002", + "\u06eb\u06ec\u0007V\u0002\u0002\u06ec\u018c\u0003\u0002\u0002\u0002", + "\u06ed\u06ee\u0007E\u0002\u0002\u06ee\u06ef\u0007Q\u0002\u0002\u06ef", + "\u06f0\u0007P\u0002\u0002\u06f0\u06f1\u0007E\u0002\u0002\u06f1\u06f2", + "\u0007C\u0002\u0002\u06f2\u06f3\u0007V\u0002\u0002\u06f3\u06f4\u0007", + "G\u0002\u0002\u06f4\u06f5\u0007P\u0002\u0002\u06f5\u06f6\u0007C\u0002", + "\u0002\u06f6\u06f7\u0007V\u0002\u0002\u06f7\u06f8\u0007G\u0002\u0002", + "\u06f8\u018e\u0003\u0002\u0002\u0002\u06f9\u06fa\u0007E\u0002\u0002", + "\u06fa\u06fb\u0007J\u0002\u0002\u06fb\u06fc\u0007C\u0002\u0002\u06fc", + "\u06fd\u0007P\u0002\u0002\u06fd\u06fe\u0007I\u0002\u0002\u06fe\u06ff", + "\u0007G\u0002\u0002\u06ff\u0190\u0003\u0002\u0002\u0002\u0700\u0701", + "\u0007E\u0002\u0002\u0701\u0702\u0007C\u0002\u0002\u0702\u0703\u0007", + "U\u0002\u0002\u0703\u0704\u0007E\u0002\u0002\u0704\u0705\u0007C\u0002", + "\u0002\u0705\u0706\u0007F\u0002\u0002\u0706\u0707\u0007G\u0002\u0002", + "\u0707\u0192\u0003\u0002\u0002\u0002\u0708\u0709\u0007T\u0002\u0002", + "\u0709\u070a\u0007G\u0002\u0002\u070a\u070b\u0007U\u0002\u0002\u070b", + "\u070c\u0007V\u0002\u0002\u070c\u070d\u0007T\u0002\u0002\u070d\u070e", + "\u0007K\u0002\u0002\u070e\u070f\u0007E\u0002\u0002\u070f\u0710\u0007", + "V\u0002\u0002\u0710\u0194\u0003\u0002\u0002\u0002\u0711\u0712\u0007", + "E\u0002\u0002\u0712\u0713\u0007N\u0002\u0002\u0713\u0714\u0007W\u0002", + "\u0002\u0714\u0715\u0007U\u0002\u0002\u0715\u0716\u0007V\u0002\u0002", + "\u0716\u0717\u0007G\u0002\u0002\u0717\u0718\u0007T\u0002\u0002\u0718", + "\u0719\u0007G\u0002\u0002\u0719\u071a\u0007F\u0002\u0002\u071a\u0196", + "\u0003\u0002\u0002\u0002\u071b\u071c\u0007U\u0002\u0002\u071c\u071d", + "\u0007Q\u0002\u0002\u071d\u071e\u0007T\u0002\u0002\u071e\u071f\u0007", + "V\u0002\u0002\u071f\u0720\u0007G\u0002\u0002\u0720\u0721\u0007F\u0002", + "\u0002\u0721\u0198\u0003\u0002\u0002\u0002\u0722\u0723\u0007R\u0002", + "\u0002\u0723\u0724\u0007W\u0002\u0002\u0724\u0725\u0007T\u0002\u0002", + "\u0725\u0726\u0007I\u0002\u0002\u0726\u0727\u0007G\u0002\u0002\u0727", + "\u019a\u0003\u0002\u0002\u0002\u0728\u0729\u0007K\u0002\u0002\u0729", + "\u072a\u0007P\u0002\u0002\u072a\u072b\u0007R\u0002\u0002\u072b\u072c", + "\u0007W\u0002\u0002\u072c\u072d\u0007V\u0002\u0002\u072d\u072e\u0007", + "H\u0002\u0002\u072e\u072f\u0007Q\u0002\u0002\u072f\u0730\u0007T\u0002", + "\u0002\u0730\u0731\u0007O\u0002\u0002\u0731\u0732\u0007C\u0002\u0002", + "\u0732\u0733\u0007V\u0002\u0002\u0733\u019c\u0003\u0002\u0002\u0002", + "\u0734\u0735\u0007Q\u0002\u0002\u0735\u0736\u0007W\u0002\u0002\u0736", + "\u0737\u0007V\u0002\u0002\u0737\u0738\u0007R\u0002\u0002\u0738\u0739", + "\u0007W\u0002\u0002\u0739\u073a\u0007V\u0002\u0002\u073a\u073b\u0007", + "H\u0002\u0002\u073b\u073c\u0007Q\u0002\u0002\u073c\u073d\u0007T\u0002", + "\u0002\u073d\u073e\u0007O\u0002\u0002\u073e\u073f\u0007C\u0002\u0002", + "\u073f\u0740\u0007V\u0002\u0002\u0740\u019e\u0003\u0002\u0002\u0002", + "\u0741\u0742\u0007F\u0002\u0002\u0742\u0743\u0007C\u0002\u0002\u0743", + "\u0744\u0007V\u0002\u0002\u0744\u0745\u0007C\u0002\u0002\u0745\u0746", + "\u0007D\u0002\u0002\u0746\u0747\u0007C\u0002\u0002\u0747\u0748\u0007", + "U\u0002\u0002\u0748\u0750\u0007G\u0002\u0002\u0749\u074a\u0007U\u0002", + "\u0002\u074a\u074b\u0007E\u0002\u0002\u074b\u074c\u0007J\u0002\u0002", + "\u074c\u074d\u0007G\u0002\u0002\u074d\u074e\u0007O\u0002\u0002\u074e", + "\u0750\u0007C\u0002\u0002\u074f\u0741\u0003\u0002\u0002\u0002\u074f", + "\u0749\u0003\u0002\u0002\u0002\u0750\u01a0\u0003\u0002\u0002\u0002\u0751", + "\u0752\u0007F\u0002\u0002\u0752\u0753\u0007C\u0002\u0002\u0753\u0754", + "\u0007V\u0002\u0002\u0754\u0755\u0007C\u0002\u0002\u0755\u0756\u0007", + "D\u0002\u0002\u0756\u0757\u0007C\u0002\u0002\u0757\u0758\u0007U\u0002", + "\u0002\u0758\u0759\u0007G\u0002\u0002\u0759\u0762\u0007U\u0002\u0002", + "\u075a\u075b\u0007U\u0002\u0002\u075b\u075c\u0007E\u0002\u0002\u075c", + "\u075d\u0007J\u0002\u0002\u075d\u075e\u0007G\u0002\u0002\u075e\u075f", + "\u0007O\u0002\u0002\u075f\u0760\u0007C\u0002\u0002\u0760\u0762\u0007", + "U\u0002\u0002\u0761\u0751\u0003\u0002\u0002\u0002\u0761\u075a\u0003", + "\u0002\u0002\u0002\u0762\u01a2\u0003\u0002\u0002\u0002\u0763\u0764\u0007", + "F\u0002\u0002\u0764\u0765\u0007H\u0002\u0002\u0765\u0766\u0007U\u0002", + "\u0002\u0766\u01a4\u0003\u0002\u0002\u0002\u0767\u0768\u0007V\u0002", + "\u0002\u0768\u0769\u0007T\u0002\u0002\u0769\u076a\u0007W\u0002\u0002", + "\u076a\u076b\u0007P\u0002\u0002\u076b\u076c\u0007E\u0002\u0002\u076c", + "\u076d\u0007C\u0002\u0002\u076d\u076e\u0007V\u0002\u0002\u076e\u076f", + "\u0007G\u0002\u0002\u076f\u01a6\u0003\u0002\u0002\u0002\u0770\u0771", + "\u0007C\u0002\u0002\u0771\u0772\u0007P\u0002\u0002\u0772\u0773\u0007", + "C\u0002\u0002\u0773\u0774\u0007N\u0002\u0002\u0774\u0775\u0007[\u0002", + "\u0002\u0775\u0776\u0007\\\u0002\u0002\u0776\u0777\u0007G\u0002\u0002", + "\u0777\u01a8\u0003\u0002\u0002\u0002\u0778\u0779\u0007E\u0002\u0002", + "\u0779\u077a\u0007Q\u0002\u0002\u077a\u077b\u0007O\u0002\u0002\u077b", + "\u077c\u0007R\u0002\u0002\u077c\u077d\u0007W\u0002\u0002\u077d\u077e", + "\u0007V\u0002\u0002\u077e\u077f\u0007G\u0002\u0002\u077f\u01aa\u0003", + "\u0002\u0002\u0002\u0780\u0781\u0007N\u0002\u0002\u0781\u0782\u0007", + "K\u0002\u0002\u0782\u0783\u0007U\u0002\u0002\u0783\u0784\u0007V\u0002", + "\u0002\u0784\u01ac\u0003\u0002\u0002\u0002\u0785\u0786\u0007U\u0002", + "\u0002\u0786\u0787\u0007V\u0002\u0002\u0787\u0788\u0007C\u0002\u0002", + "\u0788\u0789\u0007V\u0002\u0002\u0789\u078a\u0007K\u0002\u0002\u078a", + "\u078b\u0007U\u0002\u0002\u078b\u078c\u0007V\u0002\u0002\u078c\u078d", + "\u0007K\u0002\u0002\u078d\u078e\u0007E\u0002\u0002\u078e\u078f\u0007", + "U\u0002\u0002\u078f\u01ae\u0003\u0002\u0002\u0002\u0790\u0791\u0007", + "R\u0002\u0002\u0791\u0792\u0007C\u0002\u0002\u0792\u0793\u0007T\u0002", + "\u0002\u0793\u0794\u0007V\u0002\u0002\u0794\u0795\u0007K\u0002\u0002", + "\u0795\u0796\u0007V\u0002\u0002\u0796\u0797\u0007K\u0002\u0002\u0797", + "\u0798\u0007Q\u0002\u0002\u0798\u0799\u0007P\u0002\u0002\u0799\u079a", + "\u0007G\u0002\u0002\u079a\u079b\u0007F\u0002\u0002\u079b\u01b0\u0003", + "\u0002\u0002\u0002\u079c\u079d\u0007G\u0002\u0002\u079d\u079e\u0007", + "Z\u0002\u0002\u079e\u079f\u0007V\u0002\u0002\u079f\u07a0\u0007G\u0002", + "\u0002\u07a0\u07a1\u0007T\u0002\u0002\u07a1\u07a2\u0007P\u0002\u0002", + "\u07a2\u07a3\u0007C\u0002\u0002\u07a3\u07a4\u0007N\u0002\u0002\u07a4", + "\u01b2\u0003\u0002\u0002\u0002\u07a5\u07a6\u0007F\u0002\u0002\u07a6", + "\u07a7\u0007G\u0002\u0002\u07a7\u07a8\u0007H\u0002\u0002\u07a8\u07a9", + "\u0007K\u0002\u0002\u07a9\u07aa\u0007P\u0002\u0002\u07aa\u07ab\u0007", + "G\u0002\u0002\u07ab\u07ac\u0007F\u0002\u0002\u07ac\u01b4\u0003\u0002", + "\u0002\u0002\u07ad\u07ae\u0007T\u0002\u0002\u07ae\u07af\u0007G\u0002", + "\u0002\u07af\u07b0\u0007X\u0002\u0002\u07b0\u07b1\u0007Q\u0002\u0002", + "\u07b1\u07b2\u0007M\u0002\u0002\u07b2\u07b3\u0007G\u0002\u0002\u07b3", + "\u01b6\u0003\u0002\u0002\u0002\u07b4\u07b5\u0007I\u0002\u0002\u07b5", + "\u07b6\u0007T\u0002\u0002\u07b6\u07b7\u0007C\u0002\u0002\u07b7\u07b8", + "\u0007P\u0002\u0002\u07b8\u07b9\u0007V\u0002\u0002\u07b9\u01b8\u0003", + "\u0002\u0002\u0002\u07ba\u07bb\u0007N\u0002\u0002\u07bb\u07bc\u0007", + "Q\u0002\u0002\u07bc\u07bd\u0007E\u0002\u0002\u07bd\u07be\u0007M\u0002", + "\u0002\u07be\u01ba\u0003\u0002\u0002\u0002\u07bf\u07c0\u0007W\u0002", + "\u0002\u07c0\u07c1\u0007P\u0002\u0002\u07c1\u07c2\u0007N\u0002\u0002", + "\u07c2\u07c3\u0007Q\u0002\u0002\u07c3\u07c4\u0007E\u0002\u0002\u07c4", + "\u07c5\u0007M\u0002\u0002\u07c5\u01bc\u0003\u0002\u0002\u0002\u07c6", + "\u07c7\u0007O\u0002\u0002\u07c7\u07c8\u0007U\u0002\u0002\u07c8\u07c9", + "\u0007E\u0002\u0002\u07c9\u07ca\u0007M\u0002\u0002\u07ca\u01be\u0003", + "\u0002\u0002\u0002\u07cb\u07cc\u0007T\u0002\u0002\u07cc\u07cd\u0007", + "G\u0002\u0002\u07cd\u07ce\u0007R\u0002\u0002\u07ce\u07cf\u0007C\u0002", + "\u0002\u07cf\u07d0\u0007K\u0002\u0002\u07d0\u07d1\u0007T\u0002\u0002", + "\u07d1\u01c0\u0003\u0002\u0002\u0002\u07d2\u07d3\u0007T\u0002\u0002", + "\u07d3\u07d4\u0007G\u0002\u0002\u07d4\u07d5\u0007E\u0002\u0002\u07d5", + "\u07d6\u0007Q\u0002\u0002\u07d6\u07d7\u0007X\u0002\u0002\u07d7\u07d8", + "\u0007G\u0002\u0002\u07d8\u07d9\u0007T\u0002\u0002\u07d9\u01c2\u0003", + "\u0002\u0002\u0002\u07da\u07db\u0007G\u0002\u0002\u07db\u07dc\u0007", + "Z\u0002\u0002\u07dc\u07dd\u0007R\u0002\u0002\u07dd\u07de\u0007Q\u0002", + "\u0002\u07de\u07df\u0007T\u0002\u0002\u07df\u07e0\u0007V\u0002\u0002", + "\u07e0\u01c4\u0003\u0002\u0002\u0002\u07e1\u07e2\u0007K\u0002\u0002", + "\u07e2\u07e3\u0007O\u0002\u0002\u07e3\u07e4\u0007R\u0002\u0002\u07e4", + "\u07e5\u0007Q\u0002\u0002\u07e5\u07e6\u0007T\u0002\u0002\u07e6\u07e7", + "\u0007V\u0002\u0002\u07e7\u01c6\u0003\u0002\u0002\u0002\u07e8\u07e9", + "\u0007N\u0002\u0002\u07e9\u07ea\u0007Q\u0002\u0002\u07ea\u07eb\u0007", + "C\u0002\u0002\u07eb\u07ec\u0007F\u0002\u0002\u07ec\u01c8\u0003\u0002", + "\u0002\u0002\u07ed\u07ee\u0007T\u0002\u0002\u07ee\u07ef\u0007Q\u0002", + "\u0002\u07ef\u07f0\u0007N\u0002\u0002\u07f0\u07f1\u0007G\u0002\u0002", + "\u07f1\u01ca\u0003\u0002\u0002\u0002\u07f2\u07f3\u0007T\u0002\u0002", + "\u07f3\u07f4\u0007Q\u0002\u0002\u07f4\u07f5\u0007N\u0002\u0002\u07f5", + "\u07f6\u0007G\u0002\u0002\u07f6\u07f7\u0007U\u0002\u0002\u07f7\u01cc", + "\u0003\u0002\u0002\u0002\u07f8\u07f9\u0007E\u0002\u0002\u07f9\u07fa", + "\u0007Q\u0002\u0002\u07fa\u07fb\u0007O\u0002\u0002\u07fb\u07fc\u0007", + "R\u0002\u0002\u07fc\u07fd\u0007C\u0002\u0002\u07fd\u07fe\u0007E\u0002", + "\u0002\u07fe\u07ff\u0007V\u0002\u0002\u07ff\u0800\u0007K\u0002\u0002", + "\u0800\u0801\u0007Q\u0002\u0002\u0801\u0802\u0007P\u0002\u0002\u0802", + "\u0803\u0007U\u0002\u0002\u0803\u01ce\u0003\u0002\u0002\u0002\u0804", + "\u0805\u0007R\u0002\u0002\u0805\u0806\u0007T\u0002\u0002\u0806\u0807", + "\u0007K\u0002\u0002\u0807\u0808\u0007P\u0002\u0002\u0808\u0809\u0007", + "E\u0002\u0002\u0809\u080a\u0007K\u0002\u0002\u080a\u080b\u0007R\u0002", + "\u0002\u080b\u080c\u0007C\u0002\u0002\u080c\u080d\u0007N\u0002\u0002", + "\u080d\u080e\u0007U\u0002\u0002\u080e\u01d0\u0003\u0002\u0002\u0002", + "\u080f\u0810\u0007V\u0002\u0002\u0810\u0811\u0007T\u0002\u0002\u0811", + "\u0812\u0007C\u0002\u0002\u0812\u0813\u0007P\u0002\u0002\u0813\u0814", + "\u0007U\u0002\u0002\u0814\u0815\u0007C\u0002\u0002\u0815\u0816\u0007", + "E\u0002\u0002\u0816\u0817\u0007V\u0002\u0002\u0817\u0818\u0007K\u0002", + "\u0002\u0818\u0819\u0007Q\u0002\u0002\u0819\u081a\u0007P\u0002\u0002", + "\u081a\u081b\u0007U\u0002\u0002\u081b\u01d2\u0003\u0002\u0002\u0002", + "\u081c\u081d\u0007K\u0002\u0002\u081d\u081e\u0007P\u0002\u0002\u081e", + "\u081f\u0007F\u0002\u0002\u081f\u0820\u0007G\u0002\u0002\u0820\u0821", + "\u0007Z\u0002\u0002\u0821\u01d4\u0003\u0002\u0002\u0002\u0822\u0823", + "\u0007K\u0002\u0002\u0823\u0824\u0007P\u0002\u0002\u0824\u0825\u0007", + "F\u0002\u0002\u0825\u0826\u0007G\u0002\u0002\u0826\u0827\u0007Z\u0002", + "\u0002\u0827\u0828\u0007G\u0002\u0002\u0828\u0829\u0007U\u0002\u0002", + "\u0829\u01d6\u0003\u0002\u0002\u0002\u082a\u082b\u0007N\u0002\u0002", + "\u082b\u082c\u0007Q\u0002\u0002\u082c\u082d\u0007E\u0002\u0002\u082d", + "\u082e\u0007M\u0002\u0002\u082e\u082f\u0007U\u0002\u0002\u082f\u01d8", + "\u0003\u0002\u0002\u0002\u0830\u0831\u0007Q\u0002\u0002\u0831\u0832", + "\u0007R\u0002\u0002\u0832\u0833\u0007V\u0002\u0002\u0833\u0834\u0007", + "K\u0002\u0002\u0834\u0835\u0007Q\u0002\u0002\u0835\u0836\u0007P\u0002", + "\u0002\u0836\u01da\u0003\u0002\u0002\u0002\u0837\u0838\u0007C\u0002", + "\u0002\u0838\u0839\u0007P\u0002\u0002\u0839\u083a\u0007V\u0002\u0002", + "\u083a\u083b\u0007K\u0002\u0002\u083b\u01dc\u0003\u0002\u0002\u0002", + "\u083c\u083d\u0007N\u0002\u0002\u083d\u083e\u0007Q\u0002\u0002\u083e", + "\u083f\u0007E\u0002\u0002\u083f\u0840\u0007C\u0002\u0002\u0840\u0841", + "\u0007N\u0002\u0002\u0841\u01de\u0003\u0002\u0002\u0002\u0842\u0843", + "\u0007K\u0002\u0002\u0843\u0844\u0007P\u0002\u0002\u0844\u0845\u0007", + "R\u0002\u0002\u0845\u0846\u0007C\u0002\u0002\u0846\u0847\u0007V\u0002", + "\u0002\u0847\u0848\u0007J\u0002\u0002\u0848\u01e0\u0003\u0002\u0002", + "\u0002\u0849\u084a\u0007Y\u0002\u0002\u084a\u084b\u0007C\u0002\u0002", + "\u084b\u084c\u0007V\u0002\u0002\u084c\u084d\u0007G\u0002\u0002\u084d", + "\u084e\u0007T\u0002\u0002\u084e\u084f\u0007O\u0002\u0002\u084f\u0850", + "\u0007C\u0002\u0002\u0850\u0851\u0007T\u0002\u0002\u0851\u0852\u0007", + "M\u0002\u0002\u0852\u01e2\u0003\u0002\u0002\u0002\u0853\u0859\u0007", + ")\u0002\u0002\u0854\u0858\n\u0002\u0002\u0002\u0855\u0856\u0007^\u0002", + "\u0002\u0856\u0858\u000b\u0002\u0002\u0002\u0857\u0854\u0003\u0002\u0002", + "\u0002\u0857\u0855\u0003\u0002\u0002\u0002\u0858\u085b\u0003\u0002\u0002", + "\u0002\u0859\u0857\u0003\u0002\u0002\u0002\u0859\u085a\u0003\u0002\u0002", + "\u0002\u085a\u085c\u0003\u0002\u0002\u0002\u085b\u0859\u0003\u0002\u0002", + "\u0002\u085c\u0868\u0007)\u0002\u0002\u085d\u0863\u0007$\u0002\u0002", + "\u085e\u0862\n\u0003\u0002\u0002\u085f\u0860\u0007^\u0002\u0002\u0860", + "\u0862\u000b\u0002\u0002\u0002\u0861\u085e\u0003\u0002\u0002\u0002\u0861", + "\u085f\u0003\u0002\u0002\u0002\u0862\u0865\u0003\u0002\u0002\u0002\u0863", + "\u0861\u0003\u0002\u0002\u0002\u0863\u0864\u0003\u0002\u0002\u0002\u0864", + "\u0866\u0003\u0002\u0002\u0002\u0865\u0863\u0003\u0002\u0002\u0002\u0866", + "\u0868\u0007$\u0002\u0002\u0867\u0853\u0003\u0002\u0002\u0002\u0867", + "\u085d\u0003\u0002\u0002\u0002\u0868\u01e4\u0003\u0002\u0002\u0002\u0869", + "\u086b\u0005\u01fb\u00fe\u0002\u086a\u0869\u0003\u0002\u0002\u0002\u086b", + "\u086c\u0003\u0002\u0002\u0002\u086c\u086a\u0003\u0002\u0002\u0002\u086c", + "\u086d\u0003\u0002\u0002\u0002\u086d\u086e\u0003\u0002\u0002\u0002\u086e", + "\u086f\u0007N\u0002\u0002\u086f\u01e6\u0003\u0002\u0002\u0002\u0870", + "\u0872\u0005\u01fb\u00fe\u0002\u0871\u0870\u0003\u0002\u0002\u0002\u0872", + "\u0873\u0003\u0002\u0002\u0002\u0873\u0871\u0003\u0002\u0002\u0002\u0873", + "\u0874\u0003\u0002\u0002\u0002\u0874\u0875\u0003\u0002\u0002\u0002\u0875", + "\u0876\u0007U\u0002\u0002\u0876\u01e8\u0003\u0002\u0002\u0002\u0877", + "\u0879\u0005\u01fb\u00fe\u0002\u0878\u0877\u0003\u0002\u0002\u0002\u0879", + "\u087a\u0003\u0002\u0002\u0002\u087a\u0878\u0003\u0002\u0002\u0002\u087a", + "\u087b\u0003\u0002\u0002\u0002\u087b\u087c\u0003\u0002\u0002\u0002\u087c", + "\u087d\u0007[\u0002\u0002\u087d\u01ea\u0003\u0002\u0002\u0002\u087e", + "\u0880\u0005\u01fb\u00fe\u0002\u087f\u087e\u0003\u0002\u0002\u0002\u0880", + "\u0881\u0003\u0002\u0002\u0002\u0881\u087f\u0003\u0002\u0002\u0002\u0881", + "\u0882\u0003\u0002\u0002\u0002\u0882\u01ec\u0003\u0002\u0002\u0002\u0883", + "\u0885\u0005\u01fb\u00fe\u0002\u0884\u0883\u0003\u0002\u0002\u0002\u0885", + "\u0886\u0003\u0002\u0002\u0002\u0886\u0884\u0003\u0002\u0002\u0002\u0886", + "\u0887\u0003\u0002\u0002\u0002\u0887\u0888\u0003\u0002\u0002\u0002\u0888", + "\u0889\u0005\u01f9\u00fd\u0002\u0889\u0891\u0003\u0002\u0002\u0002\u088a", + "\u088c\u0005\u01f7\u00fc\u0002\u088b\u088d\u0005\u01f9\u00fd\u0002\u088c", + "\u088b\u0003\u0002\u0002\u0002\u088c\u088d\u0003\u0002\u0002\u0002\u088d", + "\u088e\u0003\u0002\u0002\u0002\u088e\u088f\u0006\u00f7\u0002\u0002\u088f", + "\u0891\u0003\u0002\u0002\u0002\u0890\u0884\u0003\u0002\u0002\u0002\u0890", + "\u088a\u0003\u0002\u0002\u0002\u0891\u01ee\u0003\u0002\u0002\u0002\u0892", + "\u0894\u0005\u01fb\u00fe\u0002\u0893\u0892\u0003\u0002\u0002\u0002\u0894", + "\u0895\u0003\u0002\u0002\u0002\u0895\u0893\u0003\u0002\u0002\u0002\u0895", + "\u0896\u0003\u0002\u0002\u0002\u0896\u0898\u0003\u0002\u0002\u0002\u0897", + "\u0899\u0005\u01f9\u00fd\u0002\u0898\u0897\u0003\u0002\u0002\u0002\u0898", + "\u0899\u0003\u0002\u0002\u0002\u0899\u089a\u0003\u0002\u0002\u0002\u089a", + "\u089b\u0007F\u0002\u0002\u089b\u08a4\u0003\u0002\u0002\u0002\u089c", + "\u089e\u0005\u01f7\u00fc\u0002\u089d\u089f\u0005\u01f9\u00fd\u0002\u089e", + "\u089d\u0003\u0002\u0002\u0002\u089e\u089f\u0003\u0002\u0002\u0002\u089f", + "\u08a0\u0003\u0002\u0002\u0002\u08a0\u08a1\u0007F\u0002\u0002\u08a1", + "\u08a2\u0006\u00f8\u0003\u0002\u08a2\u08a4\u0003\u0002\u0002\u0002\u08a3", + "\u0893\u0003\u0002\u0002\u0002\u08a3\u089c\u0003\u0002\u0002\u0002\u08a4", + "\u01f0\u0003\u0002\u0002\u0002\u08a5\u08a7\u0005\u01fb\u00fe\u0002\u08a6", + "\u08a5\u0003\u0002\u0002\u0002\u08a7\u08a8\u0003\u0002\u0002\u0002\u08a8", + "\u08a6\u0003\u0002\u0002\u0002\u08a8\u08a9\u0003\u0002\u0002\u0002\u08a9", + "\u08ab\u0003\u0002\u0002\u0002\u08aa\u08ac\u0005\u01f9\u00fd\u0002\u08ab", + "\u08aa\u0003\u0002\u0002\u0002\u08ab\u08ac\u0003\u0002\u0002\u0002\u08ac", + "\u08ad\u0003\u0002\u0002\u0002\u08ad\u08ae\u0007D\u0002\u0002\u08ae", + "\u08af\u0007F\u0002\u0002\u08af\u08ba\u0003\u0002\u0002\u0002\u08b0", + "\u08b2\u0005\u01f7\u00fc\u0002\u08b1\u08b3\u0005\u01f9\u00fd\u0002\u08b2", + "\u08b1\u0003\u0002\u0002\u0002\u08b2\u08b3\u0003\u0002\u0002\u0002\u08b3", + "\u08b4\u0003\u0002\u0002\u0002\u08b4\u08b5\u0007D\u0002\u0002\u08b5", + "\u08b6\u0007F\u0002\u0002\u08b6\u08b7\u0003\u0002\u0002\u0002\u08b7", + "\u08b8\u0006\u00f9\u0004\u0002\u08b8\u08ba\u0003\u0002\u0002\u0002\u08b9", + "\u08a6\u0003\u0002\u0002\u0002\u08b9\u08b0\u0003\u0002\u0002\u0002\u08ba", + "\u01f2\u0003\u0002\u0002\u0002\u08bb\u08bf\u0005\u01fd\u00ff\u0002\u08bc", + "\u08bf\u0005\u01fb\u00fe\u0002\u08bd\u08bf\u0007a\u0002\u0002\u08be", + "\u08bb\u0003\u0002\u0002\u0002\u08be\u08bc\u0003\u0002\u0002\u0002\u08be", + "\u08bd\u0003\u0002\u0002\u0002\u08bf\u08c0\u0003\u0002\u0002\u0002\u08c0", + "\u08be\u0003\u0002\u0002\u0002\u08c0\u08c1\u0003\u0002\u0002\u0002\u08c1", + "\u01f4\u0003\u0002\u0002\u0002\u08c2\u08c8\u0007b\u0002\u0002\u08c3", + "\u08c7\n\u0004\u0002\u0002\u08c4\u08c5\u0007b\u0002\u0002\u08c5\u08c7", + "\u0007b\u0002\u0002\u08c6\u08c3\u0003\u0002\u0002\u0002\u08c6\u08c4", + "\u0003\u0002\u0002\u0002\u08c7\u08ca\u0003\u0002\u0002\u0002\u08c8\u08c6", + "\u0003\u0002\u0002\u0002\u08c8\u08c9\u0003\u0002\u0002\u0002\u08c9\u08cb", + "\u0003\u0002\u0002\u0002\u08ca\u08c8\u0003\u0002\u0002\u0002\u08cb\u08cc", + "\u0007b\u0002\u0002\u08cc\u01f6\u0003\u0002\u0002\u0002\u08cd\u08cf", + "\u0005\u01fb\u00fe\u0002\u08ce\u08cd\u0003\u0002\u0002\u0002\u08cf\u08d0", + "\u0003\u0002\u0002\u0002\u08d0\u08ce\u0003\u0002\u0002\u0002\u08d0\u08d1", + "\u0003\u0002\u0002\u0002\u08d1\u08d2\u0003\u0002\u0002\u0002\u08d2\u08d6", + "\u00070\u0002\u0002\u08d3\u08d5\u0005\u01fb\u00fe\u0002\u08d4\u08d3", + "\u0003\u0002\u0002\u0002\u08d5\u08d8\u0003\u0002\u0002\u0002\u08d6\u08d4", + "\u0003\u0002\u0002\u0002\u08d6\u08d7\u0003\u0002\u0002\u0002\u08d7\u08e0", + "\u0003\u0002\u0002\u0002\u08d8\u08d6\u0003\u0002\u0002\u0002\u08d9\u08db", + "\u00070\u0002\u0002\u08da\u08dc\u0005\u01fb\u00fe\u0002\u08db\u08da", + "\u0003\u0002\u0002\u0002\u08dc\u08dd\u0003\u0002\u0002\u0002\u08dd\u08db", + "\u0003\u0002\u0002\u0002\u08dd\u08de\u0003\u0002\u0002\u0002\u08de\u08e0", + "\u0003\u0002\u0002\u0002\u08df\u08ce\u0003\u0002\u0002\u0002\u08df\u08d9", + "\u0003\u0002\u0002\u0002\u08e0\u01f8\u0003\u0002\u0002\u0002\u08e1\u08e3", + "\u0007G\u0002\u0002\u08e2\u08e4\t\u0005\u0002\u0002\u08e3\u08e2\u0003", + "\u0002\u0002\u0002\u08e3\u08e4\u0003\u0002\u0002\u0002\u08e4\u08e6\u0003", + "\u0002\u0002\u0002\u08e5\u08e7\u0005\u01fb\u00fe\u0002\u08e6\u08e5\u0003", + "\u0002\u0002\u0002\u08e7\u08e8\u0003\u0002\u0002\u0002\u08e8\u08e6\u0003", + "\u0002\u0002\u0002\u08e8\u08e9\u0003\u0002\u0002\u0002\u08e9\u01fa\u0003", + "\u0002\u0002\u0002\u08ea\u08eb\t\u0006\u0002\u0002\u08eb\u01fc\u0003", + "\u0002\u0002\u0002\u08ec\u08ed\t\u0007\u0002\u0002\u08ed\u01fe\u0003", + "\u0002\u0002\u0002\u08ee\u08ef\u0007/\u0002\u0002\u08ef\u08f0\u0007", + "/\u0002\u0002\u08f0\u08f4\u0003\u0002\u0002\u0002\u08f1\u08f3\n\b\u0002", + "\u0002\u08f2\u08f1\u0003\u0002\u0002\u0002\u08f3\u08f6\u0003\u0002\u0002", + "\u0002\u08f4\u08f2\u0003\u0002\u0002\u0002\u08f4\u08f5\u0003\u0002\u0002", + "\u0002\u08f5\u08f8\u0003\u0002\u0002\u0002\u08f6\u08f4\u0003\u0002\u0002", + "\u0002\u08f7\u08f9\u0007\u000f\u0002\u0002\u08f8\u08f7\u0003\u0002\u0002", + "\u0002\u08f8\u08f9\u0003\u0002\u0002\u0002\u08f9\u08fb\u0003\u0002\u0002", + "\u0002\u08fa\u08fc\u0007\f\u0002\u0002\u08fb\u08fa\u0003\u0002\u0002", + "\u0002\u08fb\u08fc\u0003\u0002\u0002\u0002\u08fc\u08fd\u0003\u0002\u0002", + "\u0002\u08fd\u08fe\b\u0100\u0002\u0002\u08fe\u0200\u0003\u0002\u0002", + "\u0002\u08ff\u0900\u00071\u0002\u0002\u0900\u0901\u0007,\u0002\u0002", + "\u0901\u0902\u0007,\u0002\u0002\u0902\u0903\u00071\u0002\u0002\u0903", + "\u0904\u0003\u0002\u0002\u0002\u0904\u0905\b\u0101\u0002\u0002\u0905", + "\u0202\u0003\u0002\u0002\u0002\u0906\u0907\u00071\u0002\u0002\u0907", + "\u0908\u0007,\u0002\u0002\u0908\u0909\u0003\u0002\u0002\u0002\u0909", + "\u090d\n\t\u0002\u0002\u090a\u090c\u000b\u0002\u0002\u0002\u090b\u090a", + "\u0003\u0002\u0002\u0002\u090c\u090f\u0003\u0002\u0002\u0002\u090d\u090e", + "\u0003\u0002\u0002\u0002\u090d\u090b\u0003\u0002\u0002\u0002\u090e\u0910", + "\u0003\u0002\u0002\u0002\u090f\u090d\u0003\u0002\u0002\u0002\u0910\u0911", + "\u0007,\u0002\u0002\u0911\u0912\u00071\u0002\u0002\u0912\u0913\u0003", + "\u0002\u0002\u0002\u0913\u0914\b\u0102\u0002\u0002\u0914\u0204\u0003", + "\u0002\u0002\u0002\u0915\u0917\t\n\u0002\u0002\u0916\u0915\u0003\u0002", + "\u0002\u0002\u0917\u0918\u0003\u0002\u0002\u0002\u0918\u0916\u0003\u0002", + "\u0002\u0002\u0918\u0919\u0003\u0002\u0002\u0002\u0919\u091a\u0003\u0002", + "\u0002\u0002\u091a\u091b\b\u0103\u0002\u0002\u091b\u0206\u0003\u0002", + "\u0002\u0002\u091c\u091d\u000b\u0002\u0002\u0002\u091d\u0208\u0003\u0002", + "\u0002\u0002.\u0002\u0292\u02b6\u0514\u0526\u052e\u0663\u074f\u0761", + "\u0857\u0859\u0861\u0863\u0867\u086c\u0873\u087a\u0881\u0886\u088c\u0890", + "\u0895\u0898\u089e\u08a3\u08a8\u08ab\u08b2\u08b9\u08be\u08c0\u08c6\u08c8", + "\u08d0\u08d6\u08dd\u08df\u08e3\u08e8\u08f4\u08f8\u08fb\u090d\u0918\u0003", + "\u0002\u0003\u0002"].join(""); +var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); +var decisionsToDFA = atn.decisionToState.map(function (ds, index) { return new antlr4.dfa.DFA(ds, index); }); +function sqlLexer(input) { + antlr4.Lexer.call(this, input); + this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache()); + return this; +} +sqlLexer.prototype = Object.create(antlr4.Lexer.prototype); +sqlLexer.prototype.constructor = sqlLexer; +Object.defineProperty(sqlLexer.prototype, "atn", { + get: function () { + return atn; + } +}); +sqlLexer.EOF = antlr4.Token.EOF; +sqlLexer.T__0 = 1; +sqlLexer.T__1 = 2; +sqlLexer.T__2 = 3; +sqlLexer.T__3 = 4; +sqlLexer.T__4 = 5; +sqlLexer.T__5 = 6; +sqlLexer.T__6 = 7; +sqlLexer.T__7 = 8; +sqlLexer.T__8 = 9; +sqlLexer.T__9 = 10; +sqlLexer.SELECT = 11; +sqlLexer.FROM = 12; +sqlLexer.ADD = 13; +sqlLexer.AS = 14; +sqlLexer.ALL = 15; +sqlLexer.ANY = 16; +sqlLexer.DISTINCT = 17; +sqlLexer.WHERE = 18; +sqlLexer.GROUP = 19; +sqlLexer.BY = 20; +sqlLexer.GROUPING = 21; +sqlLexer.SETS = 22; +sqlLexer.CUBE = 23; +sqlLexer.ROLLUP = 24; +sqlLexer.ORDER = 25; +sqlLexer.HAVING = 26; +sqlLexer.LIMIT = 27; +sqlLexer.AT = 28; +sqlLexer.OR = 29; +sqlLexer.AND = 30; +sqlLexer.IN = 31; +sqlLexer.NOT = 32; +sqlLexer.NO = 33; +sqlLexer.EXISTS = 34; +sqlLexer.BETWEEN = 35; +sqlLexer.LIKE = 36; +sqlLexer.RLIKE = 37; +sqlLexer.IS = 38; +sqlLexer.NULL = 39; +sqlLexer.TRUE = 40; +sqlLexer.FALSE = 41; +sqlLexer.NULLS = 42; +sqlLexer.ASC = 43; +sqlLexer.DESC = 44; +sqlLexer.FOR = 45; +sqlLexer.INTERVAL = 46; +sqlLexer.CASE = 47; +sqlLexer.WHEN = 48; +sqlLexer.THEN = 49; +sqlLexer.ELSE = 50; +sqlLexer.END = 51; +sqlLexer.JOIN = 52; +sqlLexer.CROSS = 53; +sqlLexer.OUTER = 54; +sqlLexer.INNER = 55; +sqlLexer.LEFT = 56; +sqlLexer.SEMI = 57; +sqlLexer.RIGHT = 58; +sqlLexer.FULL = 59; +sqlLexer.NATURAL = 60; +sqlLexer.ON = 61; +sqlLexer.PIVOT = 62; +sqlLexer.LATERAL = 63; +sqlLexer.WINDOW = 64; +sqlLexer.OVER = 65; +sqlLexer.PARTITION = 66; +sqlLexer.RANGE = 67; +sqlLexer.ROWS = 68; +sqlLexer.UNBOUNDED = 69; +sqlLexer.PRECEDING = 70; +sqlLexer.FOLLOWING = 71; +sqlLexer.CURRENT = 72; +sqlLexer.FIRST = 73; +sqlLexer.AFTER = 74; +sqlLexer.LAST = 75; +sqlLexer.ROW = 76; +sqlLexer.WITH = 77; +sqlLexer.VALUES = 78; +sqlLexer.CREATE = 79; +sqlLexer.TABLE = 80; +sqlLexer.DIRECTORY = 81; +sqlLexer.VIEW = 82; +sqlLexer.REPLACE = 83; +sqlLexer.INSERT = 84; +sqlLexer.DELETE = 85; +sqlLexer.INTO = 86; +sqlLexer.DESCRIBE = 87; +sqlLexer.EXPLAIN = 88; +sqlLexer.FORMAT = 89; +sqlLexer.LOGICAL = 90; +sqlLexer.CODEGEN = 91; +sqlLexer.COST = 92; +sqlLexer.CAST = 93; +sqlLexer.SHOW = 94; +sqlLexer.TABLES = 95; +sqlLexer.COLUMNS = 96; +sqlLexer.COLUMN = 97; +sqlLexer.USE = 98; +sqlLexer.PARTITIONS = 99; +sqlLexer.FUNCTIONS = 100; +sqlLexer.DROP = 101; +sqlLexer.UNION = 102; +sqlLexer.EXCEPT = 103; +sqlLexer.SETMINUS = 104; +sqlLexer.INTERSECT = 105; +sqlLexer.TO = 106; +sqlLexer.TABLESAMPLE = 107; +sqlLexer.STRATIFY = 108; +sqlLexer.ALTER = 109; +sqlLexer.RENAME = 110; +sqlLexer.ARRAY = 111; +sqlLexer.MAP = 112; +sqlLexer.STRUCT = 113; +sqlLexer.COMMENT = 114; +sqlLexer.SET = 115; +sqlLexer.RESET = 116; +sqlLexer.DATA = 117; +sqlLexer.START = 118; +sqlLexer.TRANSACTION = 119; +sqlLexer.COMMIT = 120; +sqlLexer.ROLLBACK = 121; +sqlLexer.MACRO = 122; +sqlLexer.IGNORE = 123; +sqlLexer.BOTH = 124; +sqlLexer.LEADING = 125; +sqlLexer.TRAILING = 126; +sqlLexer.IF = 127; +sqlLexer.POSITION = 128; +sqlLexer.EXTRACT = 129; +sqlLexer.EQ = 130; +sqlLexer.NSEQ = 131; +sqlLexer.NEQ = 132; +sqlLexer.NEQJ = 133; +sqlLexer.LT = 134; +sqlLexer.LTE = 135; +sqlLexer.GT = 136; +sqlLexer.GTE = 137; +sqlLexer.PLUS = 138; +sqlLexer.MINUS = 139; +sqlLexer.ASTERISK = 140; +sqlLexer.SLASH = 141; +sqlLexer.PERCENT = 142; +sqlLexer.DIV = 143; +sqlLexer.TILDE = 144; +sqlLexer.AMPERSAND = 145; +sqlLexer.PIPE = 146; +sqlLexer.CONCAT_PIPE = 147; +sqlLexer.HAT = 148; +sqlLexer.PERCENTLIT = 149; +sqlLexer.BUCKET = 150; +sqlLexer.OUT = 151; +sqlLexer.OF = 152; +sqlLexer.SORT = 153; +sqlLexer.CLUSTER = 154; +sqlLexer.DISTRIBUTE = 155; +sqlLexer.OVERWRITE = 156; +sqlLexer.TRANSFORM = 157; +sqlLexer.REDUCE = 158; +sqlLexer.USING = 159; +sqlLexer.SERDE = 160; +sqlLexer.SERDEPROPERTIES = 161; +sqlLexer.RECORDREADER = 162; +sqlLexer.RECORDWRITER = 163; +sqlLexer.DELIMITED = 164; +sqlLexer.FIELDS = 165; +sqlLexer.TERMINATED = 166; +sqlLexer.COLLECTION = 167; +sqlLexer.ITEMS = 168; +sqlLexer.KEYS = 169; +sqlLexer.ESCAPED = 170; +sqlLexer.LINES = 171; +sqlLexer.SEPARATED = 172; +sqlLexer.FUNCTION = 173; +sqlLexer.EXTENDED = 174; +sqlLexer.REFRESH = 175; +sqlLexer.CLEAR = 176; +sqlLexer.CACHE = 177; +sqlLexer.UNCACHE = 178; +sqlLexer.LAZY = 179; +sqlLexer.FORMATTED = 180; +sqlLexer.GLOBAL = 181; +sqlLexer.TEMPORARY = 182; +sqlLexer.OPTIONS = 183; +sqlLexer.UNSET = 184; +sqlLexer.TBLPROPERTIES = 185; +sqlLexer.DBPROPERTIES = 186; +sqlLexer.BUCKETS = 187; +sqlLexer.SKEWED = 188; +sqlLexer.STORED = 189; +sqlLexer.DIRECTORIES = 190; +sqlLexer.LOCATION = 191; +sqlLexer.EXCHANGE = 192; +sqlLexer.ARCHIVE = 193; +sqlLexer.UNARCHIVE = 194; +sqlLexer.FILEFORMAT = 195; +sqlLexer.TOUCH = 196; +sqlLexer.COMPACT = 197; +sqlLexer.CONCATENATE = 198; +sqlLexer.CHANGE = 199; +sqlLexer.CASCADE = 200; +sqlLexer.RESTRICT = 201; +sqlLexer.CLUSTERED = 202; +sqlLexer.SORTED = 203; +sqlLexer.PURGE = 204; +sqlLexer.INPUTFORMAT = 205; +sqlLexer.OUTPUTFORMAT = 206; +sqlLexer.DATABASE = 207; +sqlLexer.DATABASES = 208; +sqlLexer.DFS = 209; +sqlLexer.TRUNCATE = 210; +sqlLexer.ANALYZE = 211; +sqlLexer.COMPUTE = 212; +sqlLexer.LIST = 213; +sqlLexer.STATISTICS = 214; +sqlLexer.PARTITIONED = 215; +sqlLexer.EXTERNAL = 216; +sqlLexer.DEFINED = 217; +sqlLexer.REVOKE = 218; +sqlLexer.GRANT = 219; +sqlLexer.LOCK = 220; +sqlLexer.UNLOCK = 221; +sqlLexer.MSCK = 222; +sqlLexer.REPAIR = 223; +sqlLexer.RECOVER = 224; +sqlLexer.EXPORT = 225; +sqlLexer.IMPORT = 226; +sqlLexer.LOAD = 227; +sqlLexer.ROLE = 228; +sqlLexer.ROLES = 229; +sqlLexer.COMPACTIONS = 230; +sqlLexer.PRINCIPALS = 231; +sqlLexer.TRANSACTIONS = 232; +sqlLexer.INDEX = 233; +sqlLexer.INDEXES = 234; +sqlLexer.LOCKS = 235; +sqlLexer.OPTION = 236; +sqlLexer.ANTI = 237; +sqlLexer.LOCAL = 238; +sqlLexer.INPATH = 239; +sqlLexer.WATERMARK = 240; +sqlLexer.STRING = 241; +sqlLexer.BIGINT_LITERAL = 242; +sqlLexer.SMALLINT_LITERAL = 243; +sqlLexer.TINYINT_LITERAL = 244; +sqlLexer.INTEGER_VALUE = 245; +sqlLexer.DECIMAL_VALUE = 246; +sqlLexer.DOUBLE_LITERAL = 247; +sqlLexer.BIGDECIMAL_LITERAL = 248; +sqlLexer.IDENTIFIER = 249; +sqlLexer.BACKQUOTED_IDENTIFIER = 250; +sqlLexer.SIMPLE_COMMENT = 251; +sqlLexer.BRACKETED_EMPTY_COMMENT = 252; +sqlLexer.BRACKETED_COMMENT = 253; +sqlLexer.WS = 254; +sqlLexer.UNRECOGNIZED = 255; +sqlLexer.prototype.channelNames = ["DEFAULT_TOKEN_CHANNEL", "HIDDEN"]; +sqlLexer.prototype.modeNames = ["DEFAULT_MODE"]; +sqlLexer.prototype.literalNames = [null, "'('", "')'", "'.'", "','", "'/*+'", + "'*/'", "'->'", "'['", "']'", "':'", + "'SELECT'", "'FROM'", "'ADD'", "'AS'", + "'ALL'", "'ANY'", "'DISTINCT'", "'WHERE'", + "'GROUP'", "'BY'", "'GROUPING'", "'SETS'", + "'CUBE'", "'ROLLUP'", "'ORDER'", "'HAVING'", + "'LIMIT'", "'AT'", "'OR'", "'AND'", + "'IN'", null, "'NO'", "'EXISTS'", "'BETWEEN'", + "'LIKE'", null, "'IS'", "'NULL'", "'TRUE'", + "'FALSE'", "'NULLS'", "'ASC'", "'DESC'", + "'FOR'", "'INTERVAL'", "'CASE'", "'WHEN'", + "'THEN'", "'ELSE'", "'END'", "'JOIN'", + "'CROSS'", "'OUTER'", "'INNER'", "'LEFT'", + "'SEMI'", "'RIGHT'", "'FULL'", "'NATURAL'", + "'ON'", "'PIVOT'", "'LATERAL'", "'WINDOW'", + "'OVER'", "'PARTITION'", "'RANGE'", + "'ROWS'", "'UNBOUNDED'", "'PRECEDING'", + "'FOLLOWING'", "'CURRENT'", "'FIRST'", + "'AFTER'", "'LAST'", "'ROW'", "'WITH'", + "'VALUES'", "'CREATE'", "'TABLE'", "'DIRECTORY'", + "'VIEW'", "'REPLACE'", "'INSERT'", "'DELETE'", + "'INTO'", "'DESCRIBE'", "'EXPLAIN'", + "'FORMAT'", "'LOGICAL'", "'CODEGEN'", + "'COST'", "'CAST'", "'SHOW'", "'TABLES'", + "'COLUMNS'", "'COLUMN'", "'USE'", "'PARTITIONS'", + "'FUNCTIONS'", "'DROP'", "'UNION'", + "'EXCEPT'", "'MINUS'", "'INTERSECT'", + "'TO'", "'TABLESAMPLE'", "'STRATIFY'", + "'ALTER'", "'RENAME'", "'ARRAY'", "'MAP'", + "'STRUCT'", "'COMMENT'", "'SET'", "'RESET'", + "'DATA'", "'START'", "'TRANSACTION'", + "'COMMIT'", "'ROLLBACK'", "'MACRO'", + "'IGNORE'", "'BOTH'", "'LEADING'", "'TRAILING'", + "'IF'", "'POSITION'", "'EXTRACT'", null, + "'<=>'", "'<>'", "'!='", "'<'", null, + "'>'", null, "'+'", "'-'", "'*'", "'/'", + "'%'", "'DIV'", "'~'", "'&'", "'|'", + "'||'", "'^'", "'PERCENT'", "'BUCKET'", + "'OUT'", "'OF'", "'SORT'", "'CLUSTER'", + "'DISTRIBUTE'", "'OVERWRITE'", "'TRANSFORM'", + "'REDUCE'", "'USING'", "'SERDE'", "'SERDEPROPERTIES'", + "'RECORDREADER'", "'RECORDWRITER'", + "'DELIMITED'", "'FIELDS'", "'TERMINATED'", + "'COLLECTION'", "'ITEMS'", "'KEYS'", + "'ESCAPED'", "'LINES'", "'SEPARATED'", + "'FUNCTION'", "'EXTENDED'", "'REFRESH'", + "'CLEAR'", "'CACHE'", "'UNCACHE'", "'LAZY'", + "'FORMATTED'", "'GLOBAL'", null, "'OPTIONS'", + "'UNSET'", "'TBLPROPERTIES'", "'DBPROPERTIES'", + "'BUCKETS'", "'SKEWED'", "'STORED'", + "'DIRECTORIES'", "'LOCATION'", "'EXCHANGE'", + "'ARCHIVE'", "'UNARCHIVE'", "'FILEFORMAT'", + "'TOUCH'", "'COMPACT'", "'CONCATENATE'", + "'CHANGE'", "'CASCADE'", "'RESTRICT'", + "'CLUSTERED'", "'SORTED'", "'PURGE'", + "'INPUTFORMAT'", "'OUTPUTFORMAT'", null, + null, "'DFS'", "'TRUNCATE'", "'ANALYZE'", + "'COMPUTE'", "'LIST'", "'STATISTICS'", + "'PARTITIONED'", "'EXTERNAL'", "'DEFINED'", + "'REVOKE'", "'GRANT'", "'LOCK'", "'UNLOCK'", + "'MSCK'", "'REPAIR'", "'RECOVER'", "'EXPORT'", + "'IMPORT'", "'LOAD'", "'ROLE'", "'ROLES'", + "'COMPACTIONS'", "'PRINCIPALS'", "'TRANSACTIONS'", + "'INDEX'", "'INDEXES'", "'LOCKS'", "'OPTION'", + "'ANTI'", "'LOCAL'", "'INPATH'", "'WATERMARK'", + null, null, null, null, null, null, + null, null, null, null, null, "'/**/'"]; +sqlLexer.prototype.symbolicNames = [null, null, null, null, null, null, + null, null, null, null, null, "SELECT", + "FROM", "ADD", "AS", "ALL", "ANY", + "DISTINCT", "WHERE", "GROUP", "BY", + "GROUPING", "SETS", "CUBE", "ROLLUP", + "ORDER", "HAVING", "LIMIT", "AT", "OR", + "AND", "IN", "NOT", "NO", "EXISTS", + "BETWEEN", "LIKE", "RLIKE", "IS", "NULL", + "TRUE", "FALSE", "NULLS", "ASC", "DESC", + "FOR", "INTERVAL", "CASE", "WHEN", + "THEN", "ELSE", "END", "JOIN", "CROSS", + "OUTER", "INNER", "LEFT", "SEMI", "RIGHT", + "FULL", "NATURAL", "ON", "PIVOT", "LATERAL", + "WINDOW", "OVER", "PARTITION", "RANGE", + "ROWS", "UNBOUNDED", "PRECEDING", "FOLLOWING", + "CURRENT", "FIRST", "AFTER", "LAST", + "ROW", "WITH", "VALUES", "CREATE", + "TABLE", "DIRECTORY", "VIEW", "REPLACE", + "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", + "COST", "CAST", "SHOW", "TABLES", "COLUMNS", + "COLUMN", "USE", "PARTITIONS", "FUNCTIONS", + "DROP", "UNION", "EXCEPT", "SETMINUS", + "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", + "STRUCT", "COMMENT", "SET", "RESET", + "DATA", "START", "TRANSACTION", "COMMIT", + "ROLLBACK", "MACRO", "IGNORE", "BOTH", + "LEADING", "TRAILING", "IF", "POSITION", + "EXTRACT", "EQ", "NSEQ", "NEQ", "NEQJ", + "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", + "ASTERISK", "SLASH", "PERCENT", "DIV", + "TILDE", "AMPERSAND", "PIPE", "CONCAT_PIPE", + "HAT", "PERCENTLIT", "BUCKET", "OUT", + "OF", "SORT", "CLUSTER", "DISTRIBUTE", + "OVERWRITE", "TRANSFORM", "REDUCE", + "USING", "SERDE", "SERDEPROPERTIES", + "RECORDREADER", "RECORDWRITER", "DELIMITED", + "FIELDS", "TERMINATED", "COLLECTION", + "ITEMS", "KEYS", "ESCAPED", "LINES", + "SEPARATED", "FUNCTION", "EXTENDED", + "REFRESH", "CLEAR", "CACHE", "UNCACHE", + "LAZY", "FORMATTED", "GLOBAL", "TEMPORARY", + "OPTIONS", "UNSET", "TBLPROPERTIES", + "DBPROPERTIES", "BUCKETS", "SKEWED", + "STORED", "DIRECTORIES", "LOCATION", + "EXCHANGE", "ARCHIVE", "UNARCHIVE", + "FILEFORMAT", "TOUCH", "COMPACT", "CONCATENATE", + "CHANGE", "CASCADE", "RESTRICT", "CLUSTERED", + "SORTED", "PURGE", "INPUTFORMAT", "OUTPUTFORMAT", + "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", + "PARTITIONED", "EXTERNAL", "DEFINED", + "REVOKE", "GRANT", "LOCK", "UNLOCK", + "MSCK", "REPAIR", "RECOVER", "EXPORT", + "IMPORT", "LOAD", "ROLE", "ROLES", + "COMPACTIONS", "PRINCIPALS", "TRANSACTIONS", + "INDEX", "INDEXES", "LOCKS", "OPTION", + "ANTI", "LOCAL", "INPATH", "WATERMARK", + "STRING", "BIGINT_LITERAL", "SMALLINT_LITERAL", + "TINYINT_LITERAL", "INTEGER_VALUE", + "DECIMAL_VALUE", "DOUBLE_LITERAL", + "BIGDECIMAL_LITERAL", "IDENTIFIER", + "BACKQUOTED_IDENTIFIER", "SIMPLE_COMMENT", + "BRACKETED_EMPTY_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED"]; +sqlLexer.prototype.ruleNames = ["T__0", "T__1", "T__2", "T__3", "T__4", + "T__5", "T__6", "T__7", "T__8", "T__9", + "SELECT", "FROM", "ADD", "AS", "ALL", "ANY", + "DISTINCT", "WHERE", "GROUP", "BY", "GROUPING", + "SETS", "CUBE", "ROLLUP", "ORDER", "HAVING", + "LIMIT", "AT", "OR", "AND", "IN", "NOT", + "NO", "EXISTS", "BETWEEN", "LIKE", "RLIKE", + "IS", "NULL", "TRUE", "FALSE", "NULLS", + "ASC", "DESC", "FOR", "INTERVAL", "CASE", + "WHEN", "THEN", "ELSE", "END", "JOIN", + "CROSS", "OUTER", "INNER", "LEFT", "SEMI", + "RIGHT", "FULL", "NATURAL", "ON", "PIVOT", + "LATERAL", "WINDOW", "OVER", "PARTITION", + "RANGE", "ROWS", "UNBOUNDED", "PRECEDING", + "FOLLOWING", "CURRENT", "FIRST", "AFTER", + "LAST", "ROW", "WITH", "VALUES", "CREATE", + "TABLE", "DIRECTORY", "VIEW", "REPLACE", + "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", + "COST", "CAST", "SHOW", "TABLES", "COLUMNS", + "COLUMN", "USE", "PARTITIONS", "FUNCTIONS", + "DROP", "UNION", "EXCEPT", "SETMINUS", + "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", "STRUCT", + "COMMENT", "SET", "RESET", "DATA", "START", + "TRANSACTION", "COMMIT", "ROLLBACK", "MACRO", + "IGNORE", "BOTH", "LEADING", "TRAILING", + "IF", "POSITION", "EXTRACT", "EQ", "NSEQ", + "NEQ", "NEQJ", "LT", "LTE", "GT", "GTE", + "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT", + "DIV", "TILDE", "AMPERSAND", "PIPE", "CONCAT_PIPE", + "HAT", "PERCENTLIT", "BUCKET", "OUT", "OF", + "SORT", "CLUSTER", "DISTRIBUTE", "OVERWRITE", + "TRANSFORM", "REDUCE", "USING", "SERDE", + "SERDEPROPERTIES", "RECORDREADER", "RECORDWRITER", + "DELIMITED", "FIELDS", "TERMINATED", "COLLECTION", + "ITEMS", "KEYS", "ESCAPED", "LINES", "SEPARATED", + "FUNCTION", "EXTENDED", "REFRESH", "CLEAR", + "CACHE", "UNCACHE", "LAZY", "FORMATTED", + "GLOBAL", "TEMPORARY", "OPTIONS", "UNSET", + "TBLPROPERTIES", "DBPROPERTIES", "BUCKETS", + "SKEWED", "STORED", "DIRECTORIES", "LOCATION", + "EXCHANGE", "ARCHIVE", "UNARCHIVE", "FILEFORMAT", + "TOUCH", "COMPACT", "CONCATENATE", "CHANGE", + "CASCADE", "RESTRICT", "CLUSTERED", "SORTED", + "PURGE", "INPUTFORMAT", "OUTPUTFORMAT", + "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", + "PARTITIONED", "EXTERNAL", "DEFINED", "REVOKE", + "GRANT", "LOCK", "UNLOCK", "MSCK", "REPAIR", + "RECOVER", "EXPORT", "IMPORT", "LOAD", + "ROLE", "ROLES", "COMPACTIONS", "PRINCIPALS", + "TRANSACTIONS", "INDEX", "INDEXES", "LOCKS", + "OPTION", "ANTI", "LOCAL", "INPATH", "WATERMARK", + "STRING", "BIGINT_LITERAL", "SMALLINT_LITERAL", + "TINYINT_LITERAL", "INTEGER_VALUE", "DECIMAL_VALUE", + "DOUBLE_LITERAL", "BIGDECIMAL_LITERAL", + "IDENTIFIER", "BACKQUOTED_IDENTIFIER", + "DECIMAL_DIGITS", "EXPONENT", "DIGIT", + "LETTER", "SIMPLE_COMMENT", "BRACKETED_EMPTY_COMMENT", + "BRACKETED_COMMENT", "WS", "UNRECOGNIZED"]; +sqlLexer.prototype.grammarFileName = "sql.g4"; +/** + * When false, INTERSECT is given the greater precedence over the other set + * operations (UNION, EXCEPT and MINUS) as per the SQL standard. + */ +sqlLexer.prototype.legacy_setops_precedence_enbled = false; +/** + * Verify whether current token is a valid decimal token (which contains dot). + * Returns true if the character that follows the token is not a digit or letter or underscore. + * + * For example: + * For char stream "2.3", "2." is not a valid decimal token, because it is followed by digit '3'. + * For char stream "2.3_", "2.3" is not a valid decimal token, because it is followed by '_'. + * For char stream "2.3W", "2.3" is not a valid decimal token, because it is followed by 'W'. + * For char stream "12.0D 34.E2+0.12 " 12.0D is a valid decimal token because it is followed + * by a space. 34.E2 is a valid decimal token because it is followed by symbol '+' + * which is not a digit or letter or underscore. + */ +sqlLexer.prototype.isValidDecimal = function () { + var nextChar = this._input.LA(1); + if (nextChar >= 'A' && nextChar <= 'Z' || nextChar >= '0' && nextChar <= '9' || + nextChar == '_') { + return false; + } + else { + return true; + } +}; +sqlLexer.prototype.sempred = function (localctx, ruleIndex, predIndex) { + switch (ruleIndex) { + case 245: + return this.DECIMAL_VALUE_sempred(localctx, predIndex); + case 246: + return this.DOUBLE_LITERAL_sempred(localctx, predIndex); + case 247: + return this.BIGDECIMAL_LITERAL_sempred(localctx, predIndex); + default: + throw "No registered predicate for:" + ruleIndex; + } +}; +sqlLexer.prototype.DECIMAL_VALUE_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 0: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; +sqlLexer.prototype.DOUBLE_LITERAL_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 1: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; +sqlLexer.prototype.BIGDECIMAL_LITERAL_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 2: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; +exports.sqlLexer = sqlLexer; diff --git a/lib/antlr4/flinksql/sqlListener.js b/lib/antlr4/flinksql/sqlListener.js new file mode 100644 index 0000000..6177854 --- /dev/null +++ b/lib/antlr4/flinksql/sqlListener.js @@ -0,0 +1,1253 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); +// This class defines a complete listener for a parse tree produced by sqlParser. +function sqlListener() { + antlr4.tree.ParseTreeListener.call(this); + return this; +} +sqlListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype); +sqlListener.prototype.constructor = sqlListener; +// Enter a parse tree produced by sqlParser#singleStatement. +sqlListener.prototype.enterSingleStatement = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleStatement. +sqlListener.prototype.exitSingleStatement = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleExpression. +sqlListener.prototype.enterSingleExpression = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleExpression. +sqlListener.prototype.exitSingleExpression = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleTableIdentifier. +sqlListener.prototype.enterSingleTableIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleTableIdentifier. +sqlListener.prototype.exitSingleTableIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlListener.prototype.enterSingleFunctionIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlListener.prototype.exitSingleFunctionIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleDataType. +sqlListener.prototype.enterSingleDataType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleDataType. +sqlListener.prototype.exitSingleDataType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleTableSchema. +sqlListener.prototype.enterSingleTableSchema = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleTableSchema. +sqlListener.prototype.exitSingleTableSchema = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#statementDefault. +sqlListener.prototype.enterStatementDefault = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#statementDefault. +sqlListener.prototype.exitStatementDefault = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#use. +sqlListener.prototype.enterUse = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#use. +sqlListener.prototype.exitUse = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createDatabase. +sqlListener.prototype.enterCreateDatabase = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createDatabase. +sqlListener.prototype.exitCreateDatabase = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setDatabaseProperties. +sqlListener.prototype.enterSetDatabaseProperties = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setDatabaseProperties. +sqlListener.prototype.exitSetDatabaseProperties = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dropDatabase. +sqlListener.prototype.enterDropDatabase = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dropDatabase. +sqlListener.prototype.exitDropDatabase = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createTable. +sqlListener.prototype.enterCreateTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createTable. +sqlListener.prototype.exitCreateTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createHiveTable. +sqlListener.prototype.enterCreateHiveTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createHiveTable. +sqlListener.prototype.exitCreateHiveTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createFlinkTable. +sqlListener.prototype.enterCreateFlinkTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createFlinkTable. +sqlListener.prototype.exitCreateFlinkTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createTableLike. +sqlListener.prototype.enterCreateTableLike = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createTableLike. +sqlListener.prototype.exitCreateTableLike = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#analyze. +sqlListener.prototype.enterAnalyze = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#analyze. +sqlListener.prototype.exitAnalyze = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#addTableColumns. +sqlListener.prototype.enterAddTableColumns = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#addTableColumns. +sqlListener.prototype.exitAddTableColumns = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#renameTable. +sqlListener.prototype.enterRenameTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#renameTable. +sqlListener.prototype.exitRenameTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setTableProperties. +sqlListener.prototype.enterSetTableProperties = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setTableProperties. +sqlListener.prototype.exitSetTableProperties = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#unsetTableProperties. +sqlListener.prototype.enterUnsetTableProperties = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#unsetTableProperties. +sqlListener.prototype.exitUnsetTableProperties = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#changeColumn. +sqlListener.prototype.enterChangeColumn = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#changeColumn. +sqlListener.prototype.exitChangeColumn = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setTableSerDe. +sqlListener.prototype.enterSetTableSerDe = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setTableSerDe. +sqlListener.prototype.exitSetTableSerDe = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#addTablePartition. +sqlListener.prototype.enterAddTablePartition = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#addTablePartition. +sqlListener.prototype.exitAddTablePartition = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#renameTablePartition. +sqlListener.prototype.enterRenameTablePartition = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#renameTablePartition. +sqlListener.prototype.exitRenameTablePartition = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dropTablePartitions. +sqlListener.prototype.enterDropTablePartitions = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dropTablePartitions. +sqlListener.prototype.exitDropTablePartitions = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setTableLocation. +sqlListener.prototype.enterSetTableLocation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setTableLocation. +sqlListener.prototype.exitSetTableLocation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#recoverPartitions. +sqlListener.prototype.enterRecoverPartitions = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#recoverPartitions. +sqlListener.prototype.exitRecoverPartitions = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dropTable. +sqlListener.prototype.enterDropTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dropTable. +sqlListener.prototype.exitDropTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createView. +sqlListener.prototype.enterCreateView = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createView. +sqlListener.prototype.exitCreateView = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createTempViewUsing. +sqlListener.prototype.enterCreateTempViewUsing = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createTempViewUsing. +sqlListener.prototype.exitCreateTempViewUsing = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#alterViewQuery. +sqlListener.prototype.enterAlterViewQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#alterViewQuery. +sqlListener.prototype.exitAlterViewQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createFunction. +sqlListener.prototype.enterCreateFunction = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createFunction. +sqlListener.prototype.exitCreateFunction = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dropFunction. +sqlListener.prototype.enterDropFunction = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dropFunction. +sqlListener.prototype.exitDropFunction = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#explain. +sqlListener.prototype.enterExplain = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#explain. +sqlListener.prototype.exitExplain = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showTables. +sqlListener.prototype.enterShowTables = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showTables. +sqlListener.prototype.exitShowTables = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showTable. +sqlListener.prototype.enterShowTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showTable. +sqlListener.prototype.exitShowTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showDatabases. +sqlListener.prototype.enterShowDatabases = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showDatabases. +sqlListener.prototype.exitShowDatabases = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showTblProperties. +sqlListener.prototype.enterShowTblProperties = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showTblProperties. +sqlListener.prototype.exitShowTblProperties = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showColumns. +sqlListener.prototype.enterShowColumns = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showColumns. +sqlListener.prototype.exitShowColumns = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showPartitions. +sqlListener.prototype.enterShowPartitions = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showPartitions. +sqlListener.prototype.exitShowPartitions = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showFunctions. +sqlListener.prototype.enterShowFunctions = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showFunctions. +sqlListener.prototype.exitShowFunctions = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#showCreateTable. +sqlListener.prototype.enterShowCreateTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#showCreateTable. +sqlListener.prototype.exitShowCreateTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#describeFunction. +sqlListener.prototype.enterDescribeFunction = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#describeFunction. +sqlListener.prototype.exitDescribeFunction = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#describeDatabase. +sqlListener.prototype.enterDescribeDatabase = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#describeDatabase. +sqlListener.prototype.exitDescribeDatabase = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#describeTable. +sqlListener.prototype.enterDescribeTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#describeTable. +sqlListener.prototype.exitDescribeTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#refreshTable. +sqlListener.prototype.enterRefreshTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#refreshTable. +sqlListener.prototype.exitRefreshTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#refreshResource. +sqlListener.prototype.enterRefreshResource = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#refreshResource. +sqlListener.prototype.exitRefreshResource = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#cacheTable. +sqlListener.prototype.enterCacheTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#cacheTable. +sqlListener.prototype.exitCacheTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#uncacheTable. +sqlListener.prototype.enterUncacheTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#uncacheTable. +sqlListener.prototype.exitUncacheTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#clearCache. +sqlListener.prototype.enterClearCache = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#clearCache. +sqlListener.prototype.exitClearCache = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#loadData. +sqlListener.prototype.enterLoadData = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#loadData. +sqlListener.prototype.exitLoadData = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#truncateTable. +sqlListener.prototype.enterTruncateTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#truncateTable. +sqlListener.prototype.exitTruncateTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#repairTable. +sqlListener.prototype.enterRepairTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#repairTable. +sqlListener.prototype.exitRepairTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#manageResource. +sqlListener.prototype.enterManageResource = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#manageResource. +sqlListener.prototype.exitManageResource = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#failNativeCommand. +sqlListener.prototype.enterFailNativeCommand = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#failNativeCommand. +sqlListener.prototype.exitFailNativeCommand = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setConfiguration. +sqlListener.prototype.enterSetConfiguration = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setConfiguration. +sqlListener.prototype.exitSetConfiguration = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#resetConfiguration. +sqlListener.prototype.enterResetConfiguration = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#resetConfiguration. +sqlListener.prototype.exitResetConfiguration = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlListener.prototype.enterUnsupportedHiveNativeCommands = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlListener.prototype.exitUnsupportedHiveNativeCommands = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createTableHeader. +sqlListener.prototype.enterCreateTableHeader = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createTableHeader. +sqlListener.prototype.exitCreateTableHeader = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#bucketSpec. +sqlListener.prototype.enterBucketSpec = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#bucketSpec. +sqlListener.prototype.exitBucketSpec = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#skewSpec. +sqlListener.prototype.enterSkewSpec = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#skewSpec. +sqlListener.prototype.exitSkewSpec = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#locationSpec. +sqlListener.prototype.enterLocationSpec = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#locationSpec. +sqlListener.prototype.exitLocationSpec = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#query. +sqlListener.prototype.enterQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#query. +sqlListener.prototype.exitQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#insertOverwriteTable. +sqlListener.prototype.enterInsertOverwriteTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#insertOverwriteTable. +sqlListener.prototype.exitInsertOverwriteTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#insertIntoTable. +sqlListener.prototype.enterInsertIntoTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#insertIntoTable. +sqlListener.prototype.exitInsertIntoTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlListener.prototype.enterInsertOverwriteHiveDir = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlListener.prototype.exitInsertOverwriteHiveDir = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#insertOverwriteDir. +sqlListener.prototype.enterInsertOverwriteDir = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#insertOverwriteDir. +sqlListener.prototype.exitInsertOverwriteDir = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#partitionSpecLocation. +sqlListener.prototype.enterPartitionSpecLocation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#partitionSpecLocation. +sqlListener.prototype.exitPartitionSpecLocation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#partitionSpec. +sqlListener.prototype.enterPartitionSpec = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#partitionSpec. +sqlListener.prototype.exitPartitionSpec = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#partitionVal. +sqlListener.prototype.enterPartitionVal = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#partitionVal. +sqlListener.prototype.exitPartitionVal = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#describeFuncName. +sqlListener.prototype.enterDescribeFuncName = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#describeFuncName. +sqlListener.prototype.exitDescribeFuncName = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#describeColName. +sqlListener.prototype.enterDescribeColName = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#describeColName. +sqlListener.prototype.exitDescribeColName = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#ctes. +sqlListener.prototype.enterCtes = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#ctes. +sqlListener.prototype.exitCtes = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#namedQuery. +sqlListener.prototype.enterNamedQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#namedQuery. +sqlListener.prototype.exitNamedQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableProvider. +sqlListener.prototype.enterTableProvider = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableProvider. +sqlListener.prototype.exitTableProvider = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tablePropertyList. +sqlListener.prototype.enterTablePropertyList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tablePropertyList. +sqlListener.prototype.exitTablePropertyList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableProperty. +sqlListener.prototype.enterTableProperty = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableProperty. +sqlListener.prototype.exitTableProperty = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tablePropertyKey. +sqlListener.prototype.enterTablePropertyKey = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tablePropertyKey. +sqlListener.prototype.exitTablePropertyKey = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tablePropertyValue. +sqlListener.prototype.enterTablePropertyValue = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tablePropertyValue. +sqlListener.prototype.exitTablePropertyValue = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#constantList. +sqlListener.prototype.enterConstantList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#constantList. +sqlListener.prototype.exitConstantList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#nestedConstantList. +sqlListener.prototype.enterNestedConstantList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#nestedConstantList. +sqlListener.prototype.exitNestedConstantList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#createFileFormat. +sqlListener.prototype.enterCreateFileFormat = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#createFileFormat. +sqlListener.prototype.exitCreateFileFormat = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableFileFormat. +sqlListener.prototype.enterTableFileFormat = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableFileFormat. +sqlListener.prototype.exitTableFileFormat = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#genericFileFormat. +sqlListener.prototype.enterGenericFileFormat = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#genericFileFormat. +sqlListener.prototype.exitGenericFileFormat = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#storageHandler. +sqlListener.prototype.enterStorageHandler = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#storageHandler. +sqlListener.prototype.exitStorageHandler = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#resource. +sqlListener.prototype.enterResource = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#resource. +sqlListener.prototype.exitResource = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#singleInsertQuery. +sqlListener.prototype.enterSingleInsertQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#singleInsertQuery. +sqlListener.prototype.exitSingleInsertQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#multiInsertQuery. +sqlListener.prototype.enterMultiInsertQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#multiInsertQuery. +sqlListener.prototype.exitMultiInsertQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#queryOrganization. +sqlListener.prototype.enterQueryOrganization = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#queryOrganization. +sqlListener.prototype.exitQueryOrganization = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#multiInsertQueryBody. +sqlListener.prototype.enterMultiInsertQueryBody = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#multiInsertQueryBody. +sqlListener.prototype.exitMultiInsertQueryBody = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#queryTermDefault. +sqlListener.prototype.enterQueryTermDefault = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#queryTermDefault. +sqlListener.prototype.exitQueryTermDefault = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setOperation. +sqlListener.prototype.enterSetOperation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setOperation. +sqlListener.prototype.exitSetOperation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#queryPrimaryDefault. +sqlListener.prototype.enterQueryPrimaryDefault = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#queryPrimaryDefault. +sqlListener.prototype.exitQueryPrimaryDefault = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#table. +sqlListener.prototype.enterTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#table. +sqlListener.prototype.exitTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#inlineTableDefault1. +sqlListener.prototype.enterInlineTableDefault1 = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#inlineTableDefault1. +sqlListener.prototype.exitInlineTableDefault1 = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#subquery. +sqlListener.prototype.enterSubquery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#subquery. +sqlListener.prototype.exitSubquery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sortItem. +sqlListener.prototype.enterSortItem = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sortItem. +sqlListener.prototype.exitSortItem = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#querySpecification. +sqlListener.prototype.enterQuerySpecification = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#querySpecification. +sqlListener.prototype.exitQuerySpecification = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#hint. +sqlListener.prototype.enterHint = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#hint. +sqlListener.prototype.exitHint = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#hintStatement. +sqlListener.prototype.enterHintStatement = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#hintStatement. +sqlListener.prototype.exitHintStatement = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#fromClause. +sqlListener.prototype.enterFromClause = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#fromClause. +sqlListener.prototype.exitFromClause = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#aggregation. +sqlListener.prototype.enterAggregation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#aggregation. +sqlListener.prototype.exitAggregation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#groupingSet. +sqlListener.prototype.enterGroupingSet = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#groupingSet. +sqlListener.prototype.exitGroupingSet = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#pivotClause. +sqlListener.prototype.enterPivotClause = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#pivotClause. +sqlListener.prototype.exitPivotClause = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#pivotColumn. +sqlListener.prototype.enterPivotColumn = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#pivotColumn. +sqlListener.prototype.exitPivotColumn = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#pivotValue. +sqlListener.prototype.enterPivotValue = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#pivotValue. +sqlListener.prototype.exitPivotValue = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#lateralView. +sqlListener.prototype.enterLateralView = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#lateralView. +sqlListener.prototype.exitLateralView = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#setQuantifier. +sqlListener.prototype.enterSetQuantifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#setQuantifier. +sqlListener.prototype.exitSetQuantifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#relation. +sqlListener.prototype.enterRelation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#relation. +sqlListener.prototype.exitRelation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#joinRelation. +sqlListener.prototype.enterJoinRelation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#joinRelation. +sqlListener.prototype.exitJoinRelation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#joinType. +sqlListener.prototype.enterJoinType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#joinType. +sqlListener.prototype.exitJoinType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#joinCriteria. +sqlListener.prototype.enterJoinCriteria = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#joinCriteria. +sqlListener.prototype.exitJoinCriteria = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sample. +sqlListener.prototype.enterSample = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sample. +sqlListener.prototype.exitSample = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sampleByPercentile. +sqlListener.prototype.enterSampleByPercentile = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sampleByPercentile. +sqlListener.prototype.exitSampleByPercentile = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sampleByRows. +sqlListener.prototype.enterSampleByRows = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sampleByRows. +sqlListener.prototype.exitSampleByRows = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sampleByBucket. +sqlListener.prototype.enterSampleByBucket = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sampleByBucket. +sqlListener.prototype.exitSampleByBucket = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#sampleByBytes. +sqlListener.prototype.enterSampleByBytes = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#sampleByBytes. +sqlListener.prototype.exitSampleByBytes = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#identifierList. +sqlListener.prototype.enterIdentifierList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#identifierList. +sqlListener.prototype.exitIdentifierList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#identifierSeq. +sqlListener.prototype.enterIdentifierSeq = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#identifierSeq. +sqlListener.prototype.exitIdentifierSeq = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#orderedIdentifierList. +sqlListener.prototype.enterOrderedIdentifierList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#orderedIdentifierList. +sqlListener.prototype.exitOrderedIdentifierList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#orderedIdentifier. +sqlListener.prototype.enterOrderedIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#orderedIdentifier. +sqlListener.prototype.exitOrderedIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#identifierCommentList. +sqlListener.prototype.enterIdentifierCommentList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#identifierCommentList. +sqlListener.prototype.exitIdentifierCommentList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#identifierComment. +sqlListener.prototype.enterIdentifierComment = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#identifierComment. +sqlListener.prototype.exitIdentifierComment = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableName. +sqlListener.prototype.enterTableName = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableName. +sqlListener.prototype.exitTableName = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#aliasedQuery. +sqlListener.prototype.enterAliasedQuery = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#aliasedQuery. +sqlListener.prototype.exitAliasedQuery = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#aliasedRelation. +sqlListener.prototype.enterAliasedRelation = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#aliasedRelation. +sqlListener.prototype.exitAliasedRelation = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#inlineTableDefault2. +sqlListener.prototype.enterInlineTableDefault2 = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#inlineTableDefault2. +sqlListener.prototype.exitInlineTableDefault2 = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableValuedFunction. +sqlListener.prototype.enterTableValuedFunction = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableValuedFunction. +sqlListener.prototype.exitTableValuedFunction = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#inlineTable. +sqlListener.prototype.enterInlineTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#inlineTable. +sqlListener.prototype.exitInlineTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#functionTable. +sqlListener.prototype.enterFunctionTable = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#functionTable. +sqlListener.prototype.exitFunctionTable = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableAlias. +sqlListener.prototype.enterTableAlias = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableAlias. +sqlListener.prototype.exitTableAlias = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#rowFormatSerde. +sqlListener.prototype.enterRowFormatSerde = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#rowFormatSerde. +sqlListener.prototype.exitRowFormatSerde = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#rowFormatDelimited. +sqlListener.prototype.enterRowFormatDelimited = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#rowFormatDelimited. +sqlListener.prototype.exitRowFormatDelimited = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tableIdentifier. +sqlListener.prototype.enterTableIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tableIdentifier. +sqlListener.prototype.exitTableIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#functionIdentifier. +sqlListener.prototype.enterFunctionIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#functionIdentifier. +sqlListener.prototype.exitFunctionIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#namedExpression. +sqlListener.prototype.enterNamedExpression = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#namedExpression. +sqlListener.prototype.exitNamedExpression = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#namedExpressionSeq. +sqlListener.prototype.enterNamedExpressionSeq = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#namedExpressionSeq. +sqlListener.prototype.exitNamedExpressionSeq = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#expression. +sqlListener.prototype.enterExpression = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#expression. +sqlListener.prototype.exitExpression = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#logicalNot. +sqlListener.prototype.enterLogicalNot = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#logicalNot. +sqlListener.prototype.exitLogicalNot = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#predicated. +sqlListener.prototype.enterPredicated = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#predicated. +sqlListener.prototype.exitPredicated = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#exists. +sqlListener.prototype.enterExists = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#exists. +sqlListener.prototype.exitExists = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#logicalBinary. +sqlListener.prototype.enterLogicalBinary = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#logicalBinary. +sqlListener.prototype.exitLogicalBinary = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#predicate. +sqlListener.prototype.enterPredicate = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#predicate. +sqlListener.prototype.exitPredicate = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#valueExpressionDefault. +sqlListener.prototype.enterValueExpressionDefault = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#valueExpressionDefault. +sqlListener.prototype.exitValueExpressionDefault = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#comparison. +sqlListener.prototype.enterComparison = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#comparison. +sqlListener.prototype.exitComparison = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#arithmeticBinary. +sqlListener.prototype.enterArithmeticBinary = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#arithmeticBinary. +sqlListener.prototype.exitArithmeticBinary = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#arithmeticUnary. +sqlListener.prototype.enterArithmeticUnary = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#arithmeticUnary. +sqlListener.prototype.exitArithmeticUnary = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#struct. +sqlListener.prototype.enterStruct = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#struct. +sqlListener.prototype.exitStruct = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dereference. +sqlListener.prototype.enterDereference = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dereference. +sqlListener.prototype.exitDereference = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#simpleCase. +sqlListener.prototype.enterSimpleCase = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#simpleCase. +sqlListener.prototype.exitSimpleCase = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#columnReference. +sqlListener.prototype.enterColumnReference = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#columnReference. +sqlListener.prototype.exitColumnReference = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#rowConstructor. +sqlListener.prototype.enterRowConstructor = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#rowConstructor. +sqlListener.prototype.exitRowConstructor = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#last. +sqlListener.prototype.enterLast = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#last. +sqlListener.prototype.exitLast = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#star. +sqlListener.prototype.enterStar = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#star. +sqlListener.prototype.exitStar = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#subscript. +sqlListener.prototype.enterSubscript = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#subscript. +sqlListener.prototype.exitSubscript = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#subqueryExpression. +sqlListener.prototype.enterSubqueryExpression = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#subqueryExpression. +sqlListener.prototype.exitSubqueryExpression = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#cast. +sqlListener.prototype.enterCast = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#cast. +sqlListener.prototype.exitCast = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#constantDefault. +sqlListener.prototype.enterConstantDefault = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#constantDefault. +sqlListener.prototype.exitConstantDefault = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#lambda. +sqlListener.prototype.enterLambda = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#lambda. +sqlListener.prototype.exitLambda = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#parenthesizedExpression. +sqlListener.prototype.enterParenthesizedExpression = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#parenthesizedExpression. +sqlListener.prototype.exitParenthesizedExpression = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#extract. +sqlListener.prototype.enterExtract = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#extract. +sqlListener.prototype.exitExtract = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#functionCall. +sqlListener.prototype.enterFunctionCall = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#functionCall. +sqlListener.prototype.exitFunctionCall = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#searchedCase. +sqlListener.prototype.enterSearchedCase = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#searchedCase. +sqlListener.prototype.exitSearchedCase = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#position. +sqlListener.prototype.enterPosition = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#position. +sqlListener.prototype.exitPosition = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#first. +sqlListener.prototype.enterFirst = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#first. +sqlListener.prototype.exitFirst = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#nullLiteral. +sqlListener.prototype.enterNullLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#nullLiteral. +sqlListener.prototype.exitNullLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#intervalLiteral. +sqlListener.prototype.enterIntervalLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#intervalLiteral. +sqlListener.prototype.exitIntervalLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#typeConstructor. +sqlListener.prototype.enterTypeConstructor = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#typeConstructor. +sqlListener.prototype.exitTypeConstructor = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#numericLiteral. +sqlListener.prototype.enterNumericLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#numericLiteral. +sqlListener.prototype.exitNumericLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#booleanLiteral. +sqlListener.prototype.enterBooleanLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#booleanLiteral. +sqlListener.prototype.exitBooleanLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#stringLiteral. +sqlListener.prototype.enterStringLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#stringLiteral. +sqlListener.prototype.exitStringLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#comparisonOperator. +sqlListener.prototype.enterComparisonOperator = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#comparisonOperator. +sqlListener.prototype.exitComparisonOperator = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#arithmeticOperator. +sqlListener.prototype.enterArithmeticOperator = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#arithmeticOperator. +sqlListener.prototype.exitArithmeticOperator = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#predicateOperator. +sqlListener.prototype.enterPredicateOperator = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#predicateOperator. +sqlListener.prototype.exitPredicateOperator = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#booleanValue. +sqlListener.prototype.enterBooleanValue = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#booleanValue. +sqlListener.prototype.exitBooleanValue = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#interval. +sqlListener.prototype.enterInterval = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#interval. +sqlListener.prototype.exitInterval = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#intervalField. +sqlListener.prototype.enterIntervalField = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#intervalField. +sqlListener.prototype.exitIntervalField = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#intervalValue. +sqlListener.prototype.enterIntervalValue = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#intervalValue. +sqlListener.prototype.exitIntervalValue = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#colPosition. +sqlListener.prototype.enterColPosition = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#colPosition. +sqlListener.prototype.exitColPosition = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#complexDataType. +sqlListener.prototype.enterComplexDataType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#complexDataType. +sqlListener.prototype.exitComplexDataType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#primitiveDataType. +sqlListener.prototype.enterPrimitiveDataType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#primitiveDataType. +sqlListener.prototype.exitPrimitiveDataType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#colTypeList. +sqlListener.prototype.enterColTypeList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#colTypeList. +sqlListener.prototype.exitColTypeList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#colType. +sqlListener.prototype.enterColType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#colType. +sqlListener.prototype.exitColType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dtColTypeList. +sqlListener.prototype.enterDtColTypeList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dtColTypeList. +sqlListener.prototype.exitDtColTypeList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#dtColType. +sqlListener.prototype.enterDtColType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#dtColType. +sqlListener.prototype.exitDtColType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#complexColTypeList. +sqlListener.prototype.enterComplexColTypeList = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#complexColTypeList. +sqlListener.prototype.exitComplexColTypeList = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#complexColType. +sqlListener.prototype.enterComplexColType = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#complexColType. +sqlListener.prototype.exitComplexColType = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#whenClause. +sqlListener.prototype.enterWhenClause = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#whenClause. +sqlListener.prototype.exitWhenClause = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#windows. +sqlListener.prototype.enterWindows = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#windows. +sqlListener.prototype.exitWindows = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#namedWindow. +sqlListener.prototype.enterNamedWindow = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#namedWindow. +sqlListener.prototype.exitNamedWindow = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#windowRef. +sqlListener.prototype.enterWindowRef = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#windowRef. +sqlListener.prototype.exitWindowRef = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#windowDef. +sqlListener.prototype.enterWindowDef = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#windowDef. +sqlListener.prototype.exitWindowDef = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#windowFrame. +sqlListener.prototype.enterWindowFrame = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#windowFrame. +sqlListener.prototype.exitWindowFrame = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#frameBound. +sqlListener.prototype.enterFrameBound = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#frameBound. +sqlListener.prototype.exitFrameBound = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#qualifiedName. +sqlListener.prototype.enterQualifiedName = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#qualifiedName. +sqlListener.prototype.exitQualifiedName = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#identifier. +sqlListener.prototype.enterIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#identifier. +sqlListener.prototype.exitIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#unquotedIdentifier. +sqlListener.prototype.enterUnquotedIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#unquotedIdentifier. +sqlListener.prototype.exitUnquotedIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlListener.prototype.enterQuotedIdentifierAlternative = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlListener.prototype.exitQuotedIdentifierAlternative = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#quotedIdentifier. +sqlListener.prototype.enterQuotedIdentifier = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#quotedIdentifier. +sqlListener.prototype.exitQuotedIdentifier = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#decimalLiteral. +sqlListener.prototype.enterDecimalLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#decimalLiteral. +sqlListener.prototype.exitDecimalLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#integerLiteral. +sqlListener.prototype.enterIntegerLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#integerLiteral. +sqlListener.prototype.exitIntegerLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#bigIntLiteral. +sqlListener.prototype.enterBigIntLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#bigIntLiteral. +sqlListener.prototype.exitBigIntLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#smallIntLiteral. +sqlListener.prototype.enterSmallIntLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#smallIntLiteral. +sqlListener.prototype.exitSmallIntLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#tinyIntLiteral. +sqlListener.prototype.enterTinyIntLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#tinyIntLiteral. +sqlListener.prototype.exitTinyIntLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#doubleLiteral. +sqlListener.prototype.enterDoubleLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#doubleLiteral. +sqlListener.prototype.exitDoubleLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#bigDecimalLiteral. +sqlListener.prototype.enterBigDecimalLiteral = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#bigDecimalLiteral. +sqlListener.prototype.exitBigDecimalLiteral = function (ctx) { +}; +// Enter a parse tree produced by sqlParser#nonReserved. +sqlListener.prototype.enterNonReserved = function (ctx) { +}; +// Exit a parse tree produced by sqlParser#nonReserved. +sqlListener.prototype.exitNonReserved = function (ctx) { +}; +exports.sqlListener = sqlListener; diff --git a/lib/antlr4/flinksql/sqlParser.js b/lib/antlr4/flinksql/sqlParser.js new file mode 100644 index 0000000..84ebc40 --- /dev/null +++ b/lib/antlr4/flinksql/sqlParser.js @@ -0,0 +1,22894 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); +var sqlListener = require('./sqlListener').sqlListener; +var sqlVisitor = require('./sqlVisitor').sqlVisitor; +var grammarFileName = "sql.g4"; +var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", + "\u0003\u0101\u09d1\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004\u0004", + "\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t\u0007", + "\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004\f\t\f", + "\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010\t\u0010", + "\u0004\u0011\t\u0011\u0004\u0012\t\u0012\u0004\u0013\t\u0013\u0004\u0014", + "\t\u0014\u0004\u0015\t\u0015\u0004\u0016\t\u0016\u0004\u0017\t\u0017", + "\u0004\u0018\t\u0018\u0004\u0019\t\u0019\u0004\u001a\t\u001a\u0004\u001b", + "\t\u001b\u0004\u001c\t\u001c\u0004\u001d\t\u001d\u0004\u001e\t\u001e", + "\u0004\u001f\t\u001f\u0004 \t \u0004!\t!\u0004\"\t\"\u0004#\t#\u0004", + "$\t$\u0004%\t%\u0004&\t&\u0004\'\t\'\u0004(\t(\u0004)\t)\u0004*\t*\u0004", + "+\t+\u0004,\t,\u0004-\t-\u0004.\t.\u0004/\t/\u00040\t0\u00041\t1\u0004", + "2\t2\u00043\t3\u00044\t4\u00045\t5\u00046\t6\u00047\t7\u00048\t8\u0004", + "9\t9\u0004:\t:\u0004;\t;\u0004<\t<\u0004=\t=\u0004>\t>\u0004?\t?\u0004", + "@\t@\u0004A\tA\u0004B\tB\u0004C\tC\u0004D\tD\u0004E\tE\u0004F\tF\u0004", + "G\tG\u0004H\tH\u0004I\tI\u0004J\tJ\u0004K\tK\u0004L\tL\u0004M\tM\u0004", + "N\tN\u0004O\tO\u0004P\tP\u0004Q\tQ\u0004R\tR\u0004S\tS\u0004T\tT\u0004", + "U\tU\u0004V\tV\u0004W\tW\u0004X\tX\u0004Y\tY\u0004Z\tZ\u0004[\t[\u0004", + "\\\t\\\u0004]\t]\u0004^\t^\u0004_\t_\u0004`\t`\u0004a\ta\u0004b\tb\u0004", + "c\tc\u0004d\td\u0004e\te\u0004f\tf\u0004g\tg\u0004h\th\u0003\u0002\u0003", + "\u0002\u0003\u0002\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0004\u0003", + "\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003\u0005\u0003\u0006\u0003", + "\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\u0007\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u00eb\n\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u00f0\n\b\u0003\b\u0005\b\u00f3\n\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u00f8\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0105", + "\n\b\u0003\b\u0003\b\u0005\b\u0109\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u0110\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u011e", + "\n\b\f\b\u000e\b\u0121\u000b\b\u0003\b\u0005\b\u0124\n\b\u0003\b\u0005", + "\b\u0127\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u012e\n", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u013f\n\b", + "\f\b\u000e\b\u0142\u000b\b\u0003\b\u0005\b\u0145\n\b\u0003\b\u0005\b", + "\u0148\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u014f\n\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0156\n\b\u0003\b\u0003", + "\b\u0005\b\u015a\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0005\b\u0162\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u016c\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u0172\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0178\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u0183\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01a3\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01ab\n\b\u0003\b\u0003", + "\b\u0005\b\u01af\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u01b4\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0005\b\u01ba\n\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u01c2\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u01c8\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01d5\n\b\u0003\b\u0006", + "\b\u01d8\n\b\r\b\u000e\b\u01d9\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0005\b\u01e3\n\b\u0003\b\u0006\b\u01e6\n\b\r\b\u000e", + "\b\u01e7\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01f8\n\b", + "\u0003\b\u0003\b\u0003\b\u0007\b\u01fd\n\b\f\b\u000e\b\u0200\u000b\b", + "\u0003\b\u0005\b\u0203\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u020b\n\b\u0003\b\u0003\b\u0003\b\u0007\b\u0210\n\b\f\b\u000e", + "\b\u0213\u000b\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0219\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0005\b\u0228\n\b\u0003\b\u0003\b\u0005\b", + "\u022c\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0232\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u0238\n\b\u0003\b\u0005\b\u023b\n\b", + "\u0003\b\u0005\b\u023e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0244", + "\n\b\u0003\b\u0003\b\u0005\b\u0248\n\b\u0003\b\u0003\b\u0005\b\u024c", + "\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u0251\n\b\u0003\b\u0003\b\u0005", + "\b\u0255\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u025d\n\b\u0003\b\u0005\b\u0260\n\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u0269\n\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u026e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0274\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u027b\n\b\u0003\b\u0005\b", + "\u027e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0284\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u028d\n\b\f", + "\b\u000e\b\u0290\u000b\b\u0005\b\u0292\n\b\u0003\b\u0003\b\u0005\b\u0296", + "\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u029b\n\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u02a0\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u02a7\n\b\u0003\b\u0005\b\u02aa\n\b\u0003\b\u0005\b\u02ad\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02b4\n\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u02b9\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u02be\n\b", + "\u0003\b\u0005\b\u02c1\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u02ca\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u02d2\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02d8", + "\n\b\u0003\b\u0003\b\u0005\b\u02dc\n\b\u0003\b\u0003\b\u0005\b\u02e0", + "\n\b\u0003\b\u0003\b\u0005\b\u02e4\n\b\u0005\b\u02e6\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02ef\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u02f5\n\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u02fa\n\b\u0003\b\u0005\b\u02fd\n\b\u0003\b\u0003\b\u0005\b\u0301", + "\n\b\u0003\b\u0005\b\u0304\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0007\b\u030c\n\b\f\b\u000e\b\u030f\u000b\b\u0005\b\u0311", + "\n\b\u0003\b\u0003\b\u0005\b\u0315\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u031b\n\b\u0003\b\u0005\b\u031e\n\b\u0003\b\u0005\b\u0321", + "\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0327\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u032f\n\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u0334\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u033a", + "\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0340\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u0349\n\b\f\b\u000e", + "\b\u034c\u000b\b\u0003\b\u0003\b\u0003\b\u0007\b\u0351\n\b\f\b\u000e", + "\b\u0354\u000b\b\u0003\b\u0003\b\u0007\b\u0358\n\b\f\b\u000e\b\u035b", + "\u000b\b\u0003\b\u0003\b\u0003\b\u0007\b\u0360\n\b\f\b\u000e\b\u0363", + "\u000b\b\u0005\b\u0365\n\b\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0005\t\u036d\n\t\u0003\t\u0003\t\u0005\t\u0371\n\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0005\t\u0378\n\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0005\t\u03ec\n\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0005\t\u03f4\n\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0005\t\u03fc\n\t\u0003\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0005\t\u0405\n\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0005\t\u0411\n\t", + "\u0003\n\u0003\n\u0005\n\u0415\n\n\u0003\n\u0005\n\u0418\n\n\u0003\n", + "\u0003\n\u0003\n\u0003\n\u0005\n\u041e\n\n\u0003\n\u0003\n\u0003\u000b", + "\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0005\u000b", + "\u0428\n\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003", + "\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0005\f\u0434\n\f\u0003\f", + "\u0003\f\u0003\f\u0005\f\u0439\n\f\u0003\r\u0003\r\u0003\r\u0003\u000e", + "\u0005\u000e\u043f\n\u000e\u0003\u000e\u0003\u000e\u0003\u000f\u0003", + "\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u044b\n\u000f\u0005\u000f\u044d\n\u000f\u0003\u000f", + "\u0003\u000f\u0003\u000f\u0005\u000f\u0452\n\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u0456\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f", + "\u0005\u000f\u045b\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0005", + "\u000f\u0460\n\u000f\u0003\u000f\u0005\u000f\u0463\n\u000f\u0003\u000f", + "\u0003\u000f\u0003\u000f\u0005\u000f\u0468\n\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u046c\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f", + "\u0005\u000f\u0471\n\u000f\u0005\u000f\u0473\n\u000f\u0003\u0010\u0003", + "\u0010\u0005\u0010\u0477\n\u0010\u0003\u0011\u0003\u0011\u0003\u0011", + "\u0003\u0011\u0003\u0011\u0007\u0011\u047e\n\u0011\f\u0011\u000e\u0011", + "\u0481\u000b\u0011\u0003\u0011\u0003\u0011\u0003\u0012\u0003\u0012\u0003", + "\u0012\u0005\u0012\u0488\n\u0012\u0003\u0013\u0003\u0013\u0003\u0013", + "\u0003\u0013\u0003\u0013\u0005\u0013\u048f\n\u0013\u0003\u0014\u0003", + "\u0014\u0003\u0014\u0007\u0014\u0494\n\u0014\f\u0014\u000e\u0014\u0497", + "\u000b\u0014\u0003\u0015\u0003\u0015\u0003\u0015\u0003\u0015\u0007\u0015", + "\u049d\n\u0015\f\u0015\u000e\u0015\u04a0\u000b\u0015\u0003\u0016\u0003", + "\u0016\u0005\u0016\u04a4\n\u0016\u0003\u0016\u0003\u0016\u0003\u0016", + "\u0003\u0016\u0003\u0017\u0003\u0017\u0003\u0017\u0003\u0018\u0003\u0018", + "\u0003\u0018\u0003\u0018\u0007\u0018\u04b1\n\u0018\f\u0018\u000e\u0018", + "\u04b4\u000b\u0018\u0003\u0018\u0003\u0018\u0003\u0019\u0003\u0019\u0005", + "\u0019\u04ba\n\u0019\u0003\u0019\u0005\u0019\u04bd\n\u0019\u0003\u001a", + "\u0003\u001a\u0003\u001a\u0007\u001a\u04c2\n\u001a\f\u001a\u000e\u001a", + "\u04c5\u000b\u001a\u0003\u001a\u0005\u001a\u04c8\n\u001a\u0003\u001b", + "\u0003\u001b\u0003\u001b\u0003\u001b\u0005\u001b\u04ce\n\u001b\u0003", + "\u001c\u0003\u001c\u0003\u001c\u0003\u001c\u0007\u001c\u04d4\n\u001c", + "\f\u001c\u000e\u001c\u04d7\u000b\u001c\u0003\u001c\u0003\u001c\u0003", + "\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0007\u001d\u04df\n\u001d", + "\f\u001d\u000e\u001d\u04e2\u000b\u001d\u0003\u001d\u0003\u001d\u0003", + "\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0005", + "\u001e\u04ec\n\u001e\u0003\u001f\u0003\u001f\u0003\u001f\u0003\u001f", + "\u0003\u001f\u0005\u001f\u04f3\n\u001f\u0003 \u0003 \u0003 \u0003 \u0005", + " \u04f9\n \u0003!\u0003!\u0003!\u0003\"\u0005\"\u04ff\n\"\u0003\"\u0003", + "\"\u0003\"\u0003\"\u0003\"\u0006\"\u0506\n\"\r\"\u000e\"\u0507\u0005", + "\"\u050a\n\"\u0003#\u0003#\u0003#\u0003#\u0003#\u0007#\u0511\n#\f#\u000e", + "#\u0514\u000b#\u0005#\u0516\n#\u0003#\u0003#\u0003#\u0003#\u0003#\u0007", + "#\u051d\n#\f#\u000e#\u0520\u000b#\u0005#\u0522\n#\u0003#\u0003#\u0003", + "#\u0003#\u0003#\u0007#\u0529\n#\f#\u000e#\u052c\u000b#\u0005#\u052e", + "\n#\u0003#\u0003#\u0003#\u0003#\u0003#\u0007#\u0535\n#\f#\u000e#\u0538", + "\u000b#\u0005#\u053a\n#\u0003#\u0005#\u053d\n#\u0003#\u0003#\u0003#", + "\u0005#\u0542\n#\u0005#\u0544\n#\u0003$\u0005$\u0547\n$\u0003$\u0003", + "$\u0003$\u0003%\u0003%\u0003%\u0003%\u0003%\u0003%\u0003%\u0005%\u0553", + "\n%\u0003%\u0003%\u0003%\u0003%\u0003%\u0005%\u055a\n%\u0003%\u0003", + "%\u0003%\u0003%\u0003%\u0005%\u0561\n%\u0003%\u0007%\u0564\n%\f%\u000e", + "%\u0567\u000b%\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003", + "&\u0005&\u0571\n&\u0003\'\u0003\'\u0005\'\u0575\n\'\u0003\'\u0003\'", + "\u0005\'\u0579\n\'\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(", + "\u0003(\u0003(\u0003(\u0005(\u0585\n(\u0003(\u0005(\u0588\n(\u0003(", + "\u0003(\u0005(\u058c\n(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003", + "(\u0003(\u0005(\u0596\n(\u0003(\u0003(\u0005(\u059a\n(\u0005(\u059c", + "\n(\u0003(\u0005(\u059f\n(\u0003(\u0003(\u0005(\u05a3\n(\u0003(\u0005", + "(\u05a6\n(\u0003(\u0003(\u0005(\u05aa\n(\u0003(\u0003(\u0007(\u05ae", + "\n(\f(\u000e(\u05b1\u000b(\u0003(\u0005(\u05b4\n(\u0003(\u0003(\u0005", + "(\u05b8\n(\u0003(\u0003(\u0003(\u0005(\u05bd\n(\u0003(\u0005(\u05c0", + "\n(\u0005(\u05c2\n(\u0003(\u0007(\u05c5\n(\f(\u000e(\u05c8\u000b(\u0003", + "(\u0003(\u0005(\u05cc\n(\u0003(\u0005(\u05cf\n(\u0003(\u0003(\u0005", + "(\u05d3\n(\u0003(\u0005(\u05d6\n(\u0005(\u05d8\n(\u0003)\u0003)\u0003", + ")\u0005)\u05dd\n)\u0003)\u0007)\u05e0\n)\f)\u000e)\u05e3\u000b)\u0003", + ")\u0003)\u0003*\u0003*\u0003*\u0003*\u0003*\u0003*\u0007*\u05ed\n*\f", + "*\u000e*\u05f0\u000b*\u0003*\u0003*\u0005*\u05f4\n*\u0003+\u0003+\u0003", + "+\u0003+\u0007+\u05fa\n+\f+\u000e+\u05fd\u000b+\u0003+\u0007+\u0600", + "\n+\f+\u000e+\u0603\u000b+\u0003+\u0005+\u0606\n+\u0003,\u0003,\u0003", + ",\u0003,\u0003,\u0007,\u060d\n,\f,\u000e,\u0610\u000b,\u0003,\u0003", + ",\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0007,\u061c", + "\n,\f,\u000e,\u061f\u000b,\u0003,\u0003,\u0005,\u0623\n,\u0003,\u0003", + ",\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0007,\u062d\n,\f,\u000e", + ",\u0630\u000b,\u0003,\u0003,\u0005,\u0634\n,\u0003-\u0003-\u0003-\u0003", + "-\u0007-\u063a\n-\f-\u000e-\u063d\u000b-\u0005-\u063f\n-\u0003-\u0003", + "-\u0005-\u0643\n-\u0003.\u0003.\u0003.\u0003.\u0003.\u0003.\u0003.\u0003", + ".\u0003.\u0003.\u0007.\u064f\n.\f.\u000e.\u0652\u000b.\u0003.\u0003", + ".\u0003.\u0003/\u0003/\u0003/\u0003/\u0003/\u0007/\u065c\n/\f/\u000e", + "/\u065f\u000b/\u0003/\u0003/\u0005/\u0663\n/\u00030\u00030\u00050\u0667", + "\n0\u00030\u00050\u066a\n0\u00031\u00031\u00031\u00051\u066f\n1\u0003", + "1\u00031\u00031\u00031\u00031\u00071\u0676\n1\f1\u000e1\u0679\u000b", + "1\u00051\u067b\n1\u00031\u00031\u00031\u00051\u0680\n1\u00031\u0003", + "1\u00031\u00071\u0685\n1\f1\u000e1\u0688\u000b1\u00051\u068a\n1\u0003", + "2\u00032\u00033\u00033\u00073\u0690\n3\f3\u000e3\u0693\u000b3\u0003", + "4\u00034\u00034\u00034\u00054\u0699\n4\u00034\u00034\u00034\u00034\u0003", + "4\u00054\u06a0\n4\u00035\u00055\u06a3\n5\u00035\u00035\u00035\u0005", + "5\u06a8\n5\u00035\u00035\u00035\u00035\u00055\u06ae\n5\u00035\u0003", + "5\u00055\u06b2\n5\u00035\u00055\u06b5\n5\u00035\u00055\u06b8\n5\u0003", + "6\u00036\u00036\u00036\u00056\u06be\n6\u00037\u00037\u00037\u00057\u06c3", + "\n7\u00037\u00037\u00038\u00058\u06c8\n8\u00038\u00038\u00038\u0003", + "8\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u0003", + "8\u00038\u00038\u00058\u06da\n8\u00058\u06dc\n8\u00038\u00058\u06df", + "\n8\u00039\u00039\u00039\u00039\u0003:\u0003:\u0003:\u0007:\u06e8\n", + ":\f:\u000e:\u06eb\u000b:\u0003;\u0003;\u0003;\u0003;\u0007;\u06f1\n", + ";\f;\u000e;\u06f4\u000b;\u0003;\u0003;\u0003<\u0003<\u0005<\u06fa\n", + "<\u0003=\u0003=\u0003=\u0003=\u0007=\u0700\n=\f=\u000e=\u0703\u000b", + "=\u0003=\u0003=\u0003>\u0003>\u0003>\u0005>\u070a\n>\u0003?\u0003?\u0005", + "?\u070e\n?\u0003?\u0003?\u0003?\u0003?\u0003?\u0003?\u0005?\u0716\n", + "?\u0003?\u0003?\u0003?\u0003?\u0003?\u0003?\u0005?\u071e\n?\u0003?\u0003", + "?\u0003?\u0003?\u0005?\u0724\n?\u0003@\u0003@\u0003@\u0003@\u0007@\u072a", + "\n@\f@\u000e@\u072d\u000b@\u0003@\u0003@\u0003A\u0003A\u0003A\u0003", + "A\u0003A\u0007A\u0736\nA\fA\u000eA\u0739\u000bA\u0005A\u073b\nA\u0003", + "A\u0003A\u0003A\u0003B\u0005B\u0741\nB\u0003B\u0003B\u0005B\u0745\n", + "B\u0005B\u0747\nB\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0005", + "C\u0750\nC\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u075c\nC\u0005C\u075e\nC\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u0765\nC\u0003C\u0003C\u0003C\u0003C\u0003C\u0005C\u076c", + "\nC\u0003C\u0003C\u0003C\u0003C\u0005C\u0772\nC\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u0778\nC\u0005C\u077a\nC\u0003D\u0003D\u0003D\u0005", + "D\u077f\nD\u0003D\u0003D\u0003E\u0003E\u0003E\u0005E\u0786\nE\u0003", + "E\u0003E\u0003F\u0003F\u0005F\u078c\nF\u0003F\u0003F\u0005F\u0790\n", + "F\u0005F\u0792\nF\u0003G\u0003G\u0003G\u0007G\u0797\nG\fG\u000eG\u079a", + "\u000bG\u0003H\u0003H\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003", + "I\u0003I\u0003I\u0003I\u0005I\u07a8\nI\u0005I\u07aa\nI\u0003I\u0003", + "I\u0003I\u0003I\u0003I\u0003I\u0007I\u07b2\nI\fI\u000eI\u07b5\u000b", + "I\u0003J\u0005J\u07b8\nJ\u0003J\u0003J\u0003J\u0003J\u0003J\u0003J\u0005", + "J\u07c0\nJ\u0003J\u0003J\u0003J\u0003J\u0003J\u0007J\u07c7\nJ\fJ\u000e", + "J\u07ca\u000bJ\u0003J\u0003J\u0003J\u0005J\u07cf\nJ\u0003J\u0003J\u0003", + "J\u0003J\u0003J\u0003J\u0005J\u07d7\nJ\u0003J\u0003J\u0003J\u0003J\u0005", + "J\u07dd\nJ\u0003J\u0003J\u0003J\u0005J\u07e2\nJ\u0003J\u0003J\u0003", + "J\u0005J\u07e7\nJ\u0003K\u0003K\u0003K\u0003K\u0005K\u07ed\nK\u0003", + "K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003", + "K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0007K\u0802", + "\nK\fK\u000eK\u0805\u000bK\u0003L\u0003L\u0003L\u0006L\u080a\nL\rL\u000e", + "L\u080b\u0003L\u0003L\u0005L\u0810\nL\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0006L\u0817\nL\rL\u000eL\u0818\u0003L\u0003L\u0005L\u081d\nL\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0007L\u082d\nL\fL\u000eL\u0830\u000bL\u0005", + "L\u0832\nL\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u083a\n", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u0843\nL\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0006L\u0858", + "\nL\rL\u000eL\u0859\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0005L\u0865\nL\u0003L\u0003L\u0003L\u0007L\u086a\n", + "L\fL\u000eL\u086d\u000bL\u0005L\u086f\nL\u0003L\u0003L\u0003L\u0005", + "L\u0874\nL\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0006L\u0885\nL\rL\u000e", + "L\u0886\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u0898\nL\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0007L\u08a2\nL\fL\u000e", + "L\u08a5\u000bL\u0003M\u0003M\u0003M\u0003M\u0003M\u0003M\u0003M\u0003", + "M\u0006M\u08af\nM\rM\u000eM\u08b0\u0005M\u08b3\nM\u0003N\u0003N\u0003", + "O\u0003O\u0003P\u0003P\u0003Q\u0003Q\u0003R\u0003R\u0007R\u08bf\nR\f", + "R\u000eR\u08c2\u000bR\u0003S\u0003S\u0003S\u0003S\u0005S\u08c8\nS\u0003", + "T\u0005T\u08cb\nT\u0003T\u0003T\u0005T\u08cf\nT\u0003U\u0003U\u0003", + "U\u0005U\u08d4\nU\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003", + "V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0005V\u08e5\nV\u0003", + "V\u0003V\u0005V\u08e9\nV\u0003V\u0003V\u0003V\u0003V\u0003V\u0007V\u08f0", + "\nV\fV\u000eV\u08f3\u000bV\u0003V\u0005V\u08f6\nV\u0005V\u08f8\nV\u0003", + "W\u0003W\u0003W\u0007W\u08fd\nW\fW\u000eW\u0900\u000bW\u0003X\u0003", + "X\u0003X\u0003X\u0005X\u0906\nX\u0003Y\u0003Y\u0003Y\u0007Y\u090b\n", + "Y\fY\u000eY\u090e\u000bY\u0003Z\u0003Z\u0003Z\u0007Z\u0913\nZ\fZ\u000e", + "Z\u0916\u000bZ\u0003Z\u0003Z\u0003Z\u0005Z\u091b\nZ\u0003Z\u0003Z\u0005", + "Z\u091f\nZ\u0003Z\u0003Z\u0003Z\u0003Z\u0003Z\u0003Z\u0005Z\u0927\n", + "Z\u0003[\u0003[\u0003[\u0007[\u092c\n[\f[\u000e[\u092f\u000b[\u0003", + "\\\u0003\\\u0003\\\u0003\\\u0003\\\u0005\\\u0936\n\\\u0003]\u0003]\u0003", + "]\u0003]\u0003]\u0003^\u0003^\u0003^\u0003^\u0007^\u0941\n^\f^\u000e", + "^\u0944\u000b^\u0003_\u0003_\u0003_\u0003_\u0003`\u0003`\u0003`\u0003", + "`\u0003`\u0003`\u0003`\u0007`\u0951\n`\f`\u000e`\u0954\u000b`\u0003", + "`\u0003`\u0003`\u0003`\u0003`\u0007`\u095b\n`\f`\u000e`\u095e\u000b", + "`\u0005`\u0960\n`\u0003`\u0003`\u0003`\u0003`\u0003`\u0007`\u0967\n", + "`\f`\u000e`\u096a\u000b`\u0005`\u096c\n`\u0005`\u096e\n`\u0003`\u0005", + "`\u0971\n`\u0003`\u0005`\u0974\n`\u0003a\u0003a\u0003a\u0003a\u0003", + "a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003", + "a\u0003a\u0005a\u0986\na\u0003b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003", + "b\u0005b\u098f\nb\u0003c\u0003c\u0003c\u0007c\u0994\nc\fc\u000ec\u0997", + "\u000bc\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003", + "d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0005d\u09a8\nd\u0003e\u0003", + "e\u0003e\u0005e\u09ad\ne\u0003f\u0003f\u0003g\u0005g\u09b2\ng\u0003", + "g\u0003g\u0005g\u09b6\ng\u0003g\u0003g\u0005g\u09ba\ng\u0003g\u0003", + "g\u0005g\u09be\ng\u0003g\u0003g\u0005g\u09c2\ng\u0003g\u0003g\u0005", + "g\u09c6\ng\u0003g\u0003g\u0005g\u09ca\ng\u0003g\u0005g\u09cd\ng\u0003", + "h\u0003h\u0003h\u0007\u030d\u034a\u0352\u0359\u0361\u0006H\u0090\u0094", + "\u0096i\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018", + "\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|", + "~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094", + "\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac", + "\u00ae\u00b0\u00b2\u00b4\u00b6\u00b8\u00ba\u00bc\u00be\u00c0\u00c2\u00c4", + "\u00c6\u00c8\u00ca\u00cc\u00ce\u0002\u001d\u0003\u0002\u00ca\u00cb\u0004", + "\u0002RRTT\u0005\u0002\\^\u00b0\u00b0\u00b6\u00b6\u0004\u0002\u000e", + "\u000e!!\u0004\u0002..YY\u0004\u0002\u00b0\u00b0\u00b6\u00b6\u0004\u0002", + "\u000f\u000f\u00d7\u00d7\u0003\u0002hk\u0003\u0002hj\u0003\u0002-.\u0004", + "\u0002KKMM\u0004\u0002\u0011\u0011\u0013\u0013\u0003\u0002\u00f7\u00f8", + "\u0003\u0002&\'\u0004\u0002\u008c\u008d\u0092\u0092\u0003\u0002\u008e", + "\u0091\u0004\u0002\u008c\u008d\u0095\u0095\u0003\u0002~\u0080\u0003", + "\u0002\u0084\u008b\u0003\u0002\u008c\u0096\u0003\u0002\u001f\"\u0003", + "\u0002*+\u0003\u0002\u008c\u008d\u0004\u0002DD\u009d\u009d\u0004\u0002", + "\u001b\u001b\u009b\u009b\u0003\u0002HI\n\u0002\r588@gl\u0083\u0091\u0091", + "\u0097\u00a0\u00a2\u00ee\u00f0\u00f1\u0002\u0b73\u0002\u00d0\u0003\u0002", + "\u0002\u0002\u0004\u00d3\u0003\u0002\u0002\u0002\u0006\u00d6\u0003\u0002", + "\u0002\u0002\b\u00d9\u0003\u0002\u0002\u0002\n\u00dc\u0003\u0002\u0002", + "\u0002\f\u00df\u0003\u0002\u0002\u0002\u000e\u0364\u0003\u0002\u0002", + "\u0002\u0010\u0410\u0003\u0002\u0002\u0002\u0012\u0412\u0003\u0002\u0002", + "\u0002\u0014\u0421\u0003\u0002\u0002\u0002\u0016\u042d\u0003\u0002\u0002", + "\u0002\u0018\u043a\u0003\u0002\u0002\u0002\u001a\u043e\u0003\u0002\u0002", + "\u0002\u001c\u0472\u0003\u0002\u0002\u0002\u001e\u0474\u0003\u0002\u0002", + "\u0002 \u0478\u0003\u0002\u0002\u0002\"\u0484\u0003\u0002\u0002\u0002", + "$\u048e\u0003\u0002\u0002\u0002&\u0490\u0003\u0002\u0002\u0002(\u0498", + "\u0003\u0002\u0002\u0002*\u04a1\u0003\u0002\u0002\u0002,\u04a9\u0003", + "\u0002\u0002\u0002.\u04ac\u0003\u0002\u0002\u00020\u04b7\u0003\u0002", + "\u0002\u00022\u04c7\u0003\u0002\u0002\u00024\u04cd\u0003\u0002\u0002", + "\u00026\u04cf\u0003\u0002\u0002\u00028\u04da\u0003\u0002\u0002\u0002", + ":\u04eb\u0003\u0002\u0002\u0002<\u04f2\u0003\u0002\u0002\u0002>\u04f4", + "\u0003\u0002\u0002\u0002@\u04fa\u0003\u0002\u0002\u0002B\u0509\u0003", + "\u0002\u0002\u0002D\u0515\u0003\u0002\u0002\u0002F\u0546\u0003\u0002", + "\u0002\u0002H\u054b\u0003\u0002\u0002\u0002J\u0570\u0003\u0002\u0002", + "\u0002L\u0572\u0003\u0002\u0002\u0002N\u05d7\u0003\u0002\u0002\u0002", + "P\u05d9\u0003\u0002\u0002\u0002R\u05f3\u0003\u0002\u0002\u0002T\u05f5", + "\u0003\u0002\u0002\u0002V\u0633\u0003\u0002\u0002\u0002X\u0642\u0003", + "\u0002\u0002\u0002Z\u0644\u0003\u0002\u0002\u0002\\\u0662\u0003\u0002", + "\u0002\u0002^\u0664\u0003\u0002\u0002\u0002`\u066b\u0003\u0002\u0002", + "\u0002b\u068b\u0003\u0002\u0002\u0002d\u068d\u0003\u0002\u0002\u0002", + "f\u069f\u0003\u0002\u0002\u0002h\u06b7\u0003\u0002\u0002\u0002j\u06bd", + "\u0003\u0002\u0002\u0002l\u06bf\u0003\u0002\u0002\u0002n\u06de\u0003", + "\u0002\u0002\u0002p\u06e0\u0003\u0002\u0002\u0002r\u06e4\u0003\u0002", + "\u0002\u0002t\u06ec\u0003\u0002\u0002\u0002v\u06f7\u0003\u0002\u0002", + "\u0002x\u06fb\u0003\u0002\u0002\u0002z\u0706\u0003\u0002\u0002\u0002", + "|\u0723\u0003\u0002\u0002\u0002~\u0725\u0003\u0002\u0002\u0002\u0080", + "\u0730\u0003\u0002\u0002\u0002\u0082\u0746\u0003\u0002\u0002\u0002\u0084", + "\u0779\u0003\u0002\u0002\u0002\u0086\u077e\u0003\u0002\u0002\u0002\u0088", + "\u0785\u0003\u0002\u0002\u0002\u008a\u0789\u0003\u0002\u0002\u0002\u008c", + "\u0793\u0003\u0002\u0002\u0002\u008e\u079b\u0003\u0002\u0002\u0002\u0090", + "\u07a9\u0003\u0002\u0002\u0002\u0092\u07e6\u0003\u0002\u0002\u0002\u0094", + "\u07ec\u0003\u0002\u0002\u0002\u0096\u0897\u0003\u0002\u0002\u0002\u0098", + "\u08b2\u0003\u0002\u0002\u0002\u009a\u08b4\u0003\u0002\u0002\u0002\u009c", + "\u08b6\u0003\u0002\u0002\u0002\u009e\u08b8\u0003\u0002\u0002\u0002\u00a0", + "\u08ba\u0003\u0002\u0002\u0002\u00a2\u08bc\u0003\u0002\u0002\u0002\u00a4", + "\u08c3\u0003\u0002\u0002\u0002\u00a6\u08ce\u0003\u0002\u0002\u0002\u00a8", + "\u08d3\u0003\u0002\u0002\u0002\u00aa\u08f7\u0003\u0002\u0002\u0002\u00ac", + "\u08f9\u0003\u0002\u0002\u0002\u00ae\u0901\u0003\u0002\u0002\u0002\u00b0", + "\u0907\u0003\u0002\u0002\u0002\u00b2\u0926\u0003\u0002\u0002\u0002\u00b4", + "\u0928\u0003\u0002\u0002\u0002\u00b6\u0930\u0003\u0002\u0002\u0002\u00b8", + "\u0937\u0003\u0002\u0002\u0002\u00ba\u093c\u0003\u0002\u0002\u0002\u00bc", + "\u0945\u0003\u0002\u0002\u0002\u00be\u0973\u0003\u0002\u0002\u0002\u00c0", + "\u0985\u0003\u0002\u0002\u0002\u00c2\u098e\u0003\u0002\u0002\u0002\u00c4", + "\u0990\u0003\u0002\u0002\u0002\u00c6\u09a7\u0003\u0002\u0002\u0002\u00c8", + "\u09ac\u0003\u0002\u0002\u0002\u00ca\u09ae\u0003\u0002\u0002\u0002\u00cc", + "\u09cc\u0003\u0002\u0002\u0002\u00ce\u09ce\u0003\u0002\u0002\u0002\u00d0", + "\u00d1\u0005\u000e\b\u0002\u00d1\u00d2\u0007\u0002\u0002\u0003\u00d2", + "\u0003\u0003\u0002\u0002\u0002\u00d3\u00d4\u0005\u008aF\u0002\u00d4", + "\u00d5\u0007\u0002\u0002\u0003\u00d5\u0005\u0003\u0002\u0002\u0002\u00d6", + "\u00d7\u0005\u0086D\u0002\u00d7\u00d8\u0007\u0002\u0002\u0003\u00d8", + "\u0007\u0003\u0002\u0002\u0002\u00d9\u00da\u0005\u0088E\u0002\u00da", + "\u00db\u0007\u0002\u0002\u0003\u00db\t\u0003\u0002\u0002\u0002\u00dc", + "\u00dd\u0005\u00aaV\u0002\u00dd\u00de\u0007\u0002\u0002\u0003\u00de", + "\u000b\u0003\u0002\u0002\u0002\u00df\u00e0\u0005\u00acW\u0002\u00e0", + "\u00e1\u0007\u0002\u0002\u0003\u00e1\r\u0003\u0002\u0002\u0002\u00e2", + "\u0365\u0005\u001a\u000e\u0002\u00e3\u00e4\u0007d\u0002\u0002\u00e4", + "\u0365\u0005\u00c6d\u0002\u00e5\u00e6\u0007Q\u0002\u0002\u00e6\u00ea", + "\u0007\u00d1\u0002\u0002\u00e7\u00e8\u0007\u0081\u0002\u0002\u00e8\u00e9", + "\u0007\"\u0002\u0002\u00e9\u00eb\u0007$\u0002\u0002\u00ea\u00e7\u0003", + "\u0002\u0002\u0002\u00ea\u00eb\u0003\u0002\u0002\u0002\u00eb\u00ec\u0003", + "\u0002\u0002\u0002\u00ec\u00ef\u0005\u00c6d\u0002\u00ed\u00ee\u0007", + "t\u0002\u0002\u00ee\u00f0\u0007\u00f3\u0002\u0002\u00ef\u00ed\u0003", + "\u0002\u0002\u0002\u00ef\u00f0\u0003\u0002\u0002\u0002\u00f0\u00f2\u0003", + "\u0002\u0002\u0002\u00f1\u00f3\u0005\u0018\r\u0002\u00f2\u00f1\u0003", + "\u0002\u0002\u0002\u00f2\u00f3\u0003\u0002\u0002\u0002\u00f3\u00f7\u0003", + "\u0002\u0002\u0002\u00f4\u00f5\u0007O\u0002\u0002\u00f5\u00f6\u0007", + "\u00bc\u0002\u0002\u00f6\u00f8\u0005.\u0018\u0002\u00f7\u00f4\u0003", + "\u0002\u0002\u0002\u00f7\u00f8\u0003\u0002\u0002\u0002\u00f8\u0365\u0003", + "\u0002\u0002\u0002\u00f9\u00fa\u0007o\u0002\u0002\u00fa\u00fb\u0007", + "\u00d1\u0002\u0002\u00fb\u00fc\u0005\u00c6d\u0002\u00fc\u00fd\u0007", + "u\u0002\u0002\u00fd\u00fe\u0007\u00bc\u0002\u0002\u00fe\u00ff\u0005", + ".\u0018\u0002\u00ff\u0365\u0003\u0002\u0002\u0002\u0100\u0101\u0007", + "g\u0002\u0002\u0101\u0104\u0007\u00d1\u0002\u0002\u0102\u0103\u0007", + "\u0081\u0002\u0002\u0103\u0105\u0007$\u0002\u0002\u0104\u0102\u0003", + "\u0002\u0002\u0002\u0104\u0105\u0003\u0002\u0002\u0002\u0105\u0106\u0003", + "\u0002\u0002\u0002\u0106\u0108\u0005\u00c6d\u0002\u0107\u0109\t\u0002", + "\u0002\u0002\u0108\u0107\u0003\u0002\u0002\u0002\u0108\u0109\u0003\u0002", + "\u0002\u0002\u0109\u0365\u0003\u0002\u0002\u0002\u010a\u010f\u0005\u0012", + "\n\u0002\u010b\u010c\u0007\u0003\u0002\u0002\u010c\u010d\u0005\u00ac", + "W\u0002\u010d\u010e\u0007\u0004\u0002\u0002\u010e\u0110\u0003\u0002", + "\u0002\u0002\u010f\u010b\u0003\u0002\u0002\u0002\u010f\u0110\u0003\u0002", + "\u0002\u0002\u0110\u0111\u0003\u0002\u0002\u0002\u0111\u011f\u0005,", + "\u0017\u0002\u0112\u0113\u0007\u00b9\u0002\u0002\u0113\u011e\u0005.", + "\u0018\u0002\u0114\u0115\u0007\u00d9\u0002\u0002\u0115\u0116\u0007\u0016", + "\u0002\u0002\u0116\u011e\u0005p9\u0002\u0117\u011e\u0005\u0014\u000b", + "\u0002\u0118\u011e\u0005\u0018\r\u0002\u0119\u011a\u0007t\u0002\u0002", + "\u011a\u011e\u0007\u00f3\u0002\u0002\u011b\u011c\u0007\u00bb\u0002\u0002", + "\u011c\u011e\u0005.\u0018\u0002\u011d\u0112\u0003\u0002\u0002\u0002", + "\u011d\u0114\u0003\u0002\u0002\u0002\u011d\u0117\u0003\u0002\u0002\u0002", + "\u011d\u0118\u0003\u0002\u0002\u0002\u011d\u0119\u0003\u0002\u0002\u0002", + "\u011d\u011b\u0003\u0002\u0002\u0002\u011e\u0121\u0003\u0002\u0002\u0002", + "\u011f\u011d\u0003\u0002\u0002\u0002\u011f\u0120\u0003\u0002\u0002\u0002", + "\u0120\u0126\u0003\u0002\u0002\u0002\u0121\u011f\u0003\u0002\u0002\u0002", + "\u0122\u0124\u0007\u0010\u0002\u0002\u0123\u0122\u0003\u0002\u0002\u0002", + "\u0123\u0124\u0003\u0002\u0002\u0002\u0124\u0125\u0003\u0002\u0002\u0002", + "\u0125\u0127\u0005\u001a\u000e\u0002\u0126\u0123\u0003\u0002\u0002\u0002", + "\u0126\u0127\u0003\u0002\u0002\u0002\u0127\u0365\u0003\u0002\u0002\u0002", + "\u0128\u012d\u0005\u0012\n\u0002\u0129\u012a\u0007\u0003\u0002\u0002", + "\u012a\u012b\u0005\u00acW\u0002\u012b\u012c\u0007\u0004\u0002\u0002", + "\u012c\u012e\u0003\u0002\u0002\u0002\u012d\u0129\u0003\u0002\u0002\u0002", + "\u012d\u012e\u0003\u0002\u0002\u0002\u012e\u0140\u0003\u0002\u0002\u0002", + "\u012f\u0130\u0007t\u0002\u0002\u0130\u013f\u0007\u00f3\u0002\u0002", + "\u0131\u0132\u0007\u00d9\u0002\u0002\u0132\u0133\u0007\u0016\u0002\u0002", + "\u0133\u0134\u0007\u0003\u0002\u0002\u0134\u0135\u0005\u00acW\u0002", + "\u0135\u0136\u0007\u0004\u0002\u0002\u0136\u013f\u0003\u0002\u0002\u0002", + "\u0137\u013f\u0005\u0014\u000b\u0002\u0138\u013f\u0005\u0016\f\u0002", + "\u0139\u013f\u0005\u0084C\u0002\u013a\u013f\u0005:\u001e\u0002\u013b", + "\u013f\u0005\u0018\r\u0002\u013c\u013d\u0007\u00bb\u0002\u0002\u013d", + "\u013f\u0005.\u0018\u0002\u013e\u012f\u0003\u0002\u0002\u0002\u013e", + "\u0131\u0003\u0002\u0002\u0002\u013e\u0137\u0003\u0002\u0002\u0002\u013e", + "\u0138\u0003\u0002\u0002\u0002\u013e\u0139\u0003\u0002\u0002\u0002\u013e", + "\u013a\u0003\u0002\u0002\u0002\u013e\u013b\u0003\u0002\u0002\u0002\u013e", + "\u013c\u0003\u0002\u0002\u0002\u013f\u0142\u0003\u0002\u0002\u0002\u0140", + "\u013e\u0003\u0002\u0002\u0002\u0140\u0141\u0003\u0002\u0002\u0002\u0141", + "\u0147\u0003\u0002\u0002\u0002\u0142\u0140\u0003\u0002\u0002\u0002\u0143", + "\u0145\u0007\u0010\u0002\u0002\u0144\u0143\u0003\u0002\u0002\u0002\u0144", + "\u0145\u0003\u0002\u0002\u0002\u0145\u0146\u0003\u0002\u0002\u0002\u0146", + "\u0148\u0005\u001a\u000e\u0002\u0147\u0144\u0003\u0002\u0002\u0002\u0147", + "\u0148\u0003\u0002\u0002\u0002\u0148\u0365\u0003\u0002\u0002\u0002\u0149", + "\u014a\u0007Q\u0002\u0002\u014a\u014e\u0007R\u0002\u0002\u014b\u014c", + "\u0005\u00c6d\u0002\u014c\u014d\u0007\u0005\u0002\u0002\u014d\u014f", + "\u0003\u0002\u0002\u0002\u014e\u014b\u0003\u0002\u0002\u0002\u014e\u014f", + "\u0003\u0002\u0002\u0002\u014f\u0150\u0003\u0002\u0002\u0002\u0150\u0155", + "\u0005\u0086D\u0002\u0151\u0152\u0007\u0003\u0002\u0002\u0152\u0153", + "\u0005\u00b0Y\u0002\u0153\u0154\u0007\u0004\u0002\u0002\u0154\u0156", + "\u0003\u0002\u0002\u0002\u0155\u0151\u0003\u0002\u0002\u0002\u0155\u0156", + "\u0003\u0002\u0002\u0002\u0156\u0159\u0003\u0002\u0002\u0002\u0157\u0158", + "\u0007t\u0002\u0002\u0158\u015a\u0007\u00f3\u0002\u0002\u0159\u0157", + "\u0003\u0002\u0002\u0002\u0159\u015a\u0003\u0002\u0002\u0002\u015a\u0161", + "\u0003\u0002\u0002\u0002\u015b\u015c\u0007\u00d9\u0002\u0002\u015c\u015d", + "\u0007\u0016\u0002\u0002\u015d\u015e\u0007\u0003\u0002\u0002\u015e\u015f", + "\u0005p9\u0002\u015f\u0160\u0007\u0004\u0002\u0002\u0160\u0162\u0003", + "\u0002\u0002\u0002\u0161\u015b\u0003\u0002\u0002\u0002\u0161\u0162\u0003", + "\u0002\u0002\u0002\u0162\u0163\u0003\u0002\u0002\u0002\u0163\u0164\u0007", + "O\u0002\u0002\u0164\u0165\u0005.\u0018\u0002\u0165\u0365\u0003\u0002", + "\u0002\u0002\u0166\u0167\u0007Q\u0002\u0002\u0167\u016b\u0007R\u0002", + "\u0002\u0168\u0169\u0007\u0081\u0002\u0002\u0169\u016a\u0007\"\u0002", + "\u0002\u016a\u016c\u0007$\u0002\u0002\u016b\u0168\u0003\u0002\u0002", + "\u0002\u016b\u016c\u0003\u0002\u0002\u0002\u016c\u016d\u0003\u0002\u0002", + "\u0002\u016d\u016e\u0005\u0086D\u0002\u016e\u016f\u0007&\u0002\u0002", + "\u016f\u0171\u0005\u0086D\u0002\u0170\u0172\u0005\u0018\r\u0002\u0171", + "\u0170\u0003\u0002\u0002\u0002\u0171\u0172\u0003\u0002\u0002\u0002\u0172", + "\u0365\u0003\u0002\u0002\u0002\u0173\u0174\u0007\u00d5\u0002\u0002\u0174", + "\u0175\u0007R\u0002\u0002\u0175\u0177\u0005\u0086D\u0002\u0176\u0178", + "\u0005 \u0011\u0002\u0177\u0176\u0003\u0002\u0002\u0002\u0177\u0178", + "\u0003\u0002\u0002\u0002\u0178\u0179\u0003\u0002\u0002\u0002\u0179\u017a", + "\u0007\u00d6\u0002\u0002\u017a\u0182\u0007\u00d8\u0002\u0002\u017b\u0183", + "\u0005\u00c6d\u0002\u017c\u017d\u0007/\u0002\u0002\u017d\u017e\u0007", + "b\u0002\u0002\u017e\u0183\u0005r:\u0002\u017f\u0180\u0007/\u0002\u0002", + "\u0180\u0181\u0007\u0011\u0002\u0002\u0181\u0183\u0007b\u0002\u0002", + "\u0182\u017b\u0003\u0002\u0002\u0002\u0182\u017c\u0003\u0002\u0002\u0002", + "\u0182\u017f\u0003\u0002\u0002\u0002\u0182\u0183\u0003\u0002\u0002\u0002", + "\u0183\u0365\u0003\u0002\u0002\u0002\u0184\u0185\u0007o\u0002\u0002", + "\u0185\u0186\u0007R\u0002\u0002\u0186\u0187\u0005\u0086D\u0002\u0187", + "\u0188\u0007\u000f\u0002\u0002\u0188\u0189\u0007b\u0002\u0002\u0189", + "\u018a\u0007\u0003\u0002\u0002\u018a\u018b\u0005\u00acW\u0002\u018b", + "\u018c\u0007\u0004\u0002\u0002\u018c\u0365\u0003\u0002\u0002\u0002\u018d", + "\u018e\u0007o\u0002\u0002\u018e\u018f\t\u0003\u0002\u0002\u018f\u0190", + "\u0005\u0086D\u0002\u0190\u0191\u0007p\u0002\u0002\u0191\u0192\u0007", + "l\u0002\u0002\u0192\u0193\u0005\u0086D\u0002\u0193\u0365\u0003\u0002", + "\u0002\u0002\u0194\u0195\u0007o\u0002\u0002\u0195\u0196\t\u0003\u0002", + "\u0002\u0196\u0197\u0005\u0086D\u0002\u0197\u0198\u0007u\u0002\u0002", + "\u0198\u0199\u0007\u00bb\u0002\u0002\u0199\u019a\u0005.\u0018\u0002", + "\u019a\u0365\u0003\u0002\u0002\u0002\u019b\u019c\u0007o\u0002\u0002", + "\u019c\u019d\t\u0003\u0002\u0002\u019d\u019e\u0005\u0086D\u0002\u019e", + "\u019f\u0007\u00ba\u0002\u0002\u019f\u01a2\u0007\u00bb\u0002\u0002\u01a0", + "\u01a1\u0007\u0081\u0002\u0002\u01a1\u01a3\u0007$\u0002\u0002\u01a2", + "\u01a0\u0003\u0002\u0002\u0002\u01a2\u01a3\u0003\u0002\u0002\u0002\u01a3", + "\u01a4\u0003\u0002\u0002\u0002\u01a4\u01a5\u0005.\u0018\u0002\u01a5", + "\u0365\u0003\u0002\u0002\u0002\u01a6\u01a7\u0007o\u0002\u0002\u01a7", + "\u01a8\u0007R\u0002\u0002\u01a8\u01aa\u0005\u0086D\u0002\u01a9\u01ab", + "\u0005 \u0011\u0002\u01aa\u01a9\u0003\u0002\u0002\u0002\u01aa\u01ab", + "\u0003\u0002\u0002\u0002\u01ab\u01ac\u0003\u0002\u0002\u0002\u01ac\u01ae", + "\u0007\u00c9\u0002\u0002\u01ad\u01af\u0007c\u0002\u0002\u01ae\u01ad", + "\u0003\u0002\u0002\u0002\u01ae\u01af\u0003\u0002\u0002\u0002\u01af\u01b0", + "\u0003\u0002\u0002\u0002\u01b0\u01b1\u0005\u00c6d\u0002\u01b1\u01b3", + "\u0005\u00aeX\u0002\u01b2\u01b4\u0005\u00a8U\u0002\u01b3\u01b2\u0003", + "\u0002\u0002\u0002\u01b3\u01b4\u0003\u0002\u0002\u0002\u01b4\u0365\u0003", + "\u0002\u0002\u0002\u01b5\u01b6\u0007o\u0002\u0002\u01b6\u01b7\u0007", + "R\u0002\u0002\u01b7\u01b9\u0005\u0086D\u0002\u01b8\u01ba\u0005 \u0011", + "\u0002\u01b9\u01b8\u0003\u0002\u0002\u0002\u01b9\u01ba\u0003\u0002\u0002", + "\u0002\u01ba\u01bb\u0003\u0002\u0002\u0002\u01bb\u01bc\u0007u\u0002", + "\u0002\u01bc\u01bd\u0007\u00a2\u0002\u0002\u01bd\u01c1\u0007\u00f3\u0002", + "\u0002\u01be\u01bf\u0007O\u0002\u0002\u01bf\u01c0\u0007\u00a3\u0002", + "\u0002\u01c0\u01c2\u0005.\u0018\u0002\u01c1\u01be\u0003\u0002\u0002", + "\u0002\u01c1\u01c2\u0003\u0002\u0002\u0002\u01c2\u0365\u0003\u0002\u0002", + "\u0002\u01c3\u01c4\u0007o\u0002\u0002\u01c4\u01c5\u0007R\u0002\u0002", + "\u01c5\u01c7\u0005\u0086D\u0002\u01c6\u01c8\u0005 \u0011\u0002\u01c7", + "\u01c6\u0003\u0002\u0002\u0002\u01c7\u01c8\u0003\u0002\u0002\u0002\u01c8", + "\u01c9\u0003\u0002\u0002\u0002\u01c9\u01ca\u0007u\u0002\u0002\u01ca", + "\u01cb\u0007\u00a3\u0002\u0002\u01cb\u01cc\u0005.\u0018\u0002\u01cc", + "\u0365\u0003\u0002\u0002\u0002\u01cd\u01ce\u0007o\u0002\u0002\u01ce", + "\u01cf\u0007R\u0002\u0002\u01cf\u01d0\u0005\u0086D\u0002\u01d0\u01d4", + "\u0007\u000f\u0002\u0002\u01d1\u01d2\u0007\u0081\u0002\u0002\u01d2\u01d3", + "\u0007\"\u0002\u0002\u01d3\u01d5\u0007$\u0002\u0002\u01d4\u01d1\u0003", + "\u0002\u0002\u0002\u01d4\u01d5\u0003\u0002\u0002\u0002\u01d5\u01d7\u0003", + "\u0002\u0002\u0002\u01d6\u01d8\u0005\u001e\u0010\u0002\u01d7\u01d6\u0003", + "\u0002\u0002\u0002\u01d8\u01d9\u0003\u0002\u0002\u0002\u01d9\u01d7\u0003", + "\u0002\u0002\u0002\u01d9\u01da\u0003\u0002\u0002\u0002\u01da\u0365\u0003", + "\u0002\u0002\u0002\u01db\u01dc\u0007o\u0002\u0002\u01dc\u01dd\u0007", + "T\u0002\u0002\u01dd\u01de\u0005\u0086D\u0002\u01de\u01e2\u0007\u000f", + "\u0002\u0002\u01df\u01e0\u0007\u0081\u0002\u0002\u01e0\u01e1\u0007\"", + "\u0002\u0002\u01e1\u01e3\u0007$\u0002\u0002\u01e2\u01df\u0003\u0002", + "\u0002\u0002\u01e2\u01e3\u0003\u0002\u0002\u0002\u01e3\u01e5\u0003\u0002", + "\u0002\u0002\u01e4\u01e6\u0005 \u0011\u0002\u01e5\u01e4\u0003\u0002", + "\u0002\u0002\u01e6\u01e7\u0003\u0002\u0002\u0002\u01e7\u01e5\u0003\u0002", + "\u0002\u0002\u01e7\u01e8\u0003\u0002\u0002\u0002\u01e8\u0365\u0003\u0002", + "\u0002\u0002\u01e9\u01ea\u0007o\u0002\u0002\u01ea\u01eb\u0007R\u0002", + "\u0002\u01eb\u01ec\u0005\u0086D\u0002\u01ec\u01ed\u0005 \u0011\u0002", + "\u01ed\u01ee\u0007p\u0002\u0002\u01ee\u01ef\u0007l\u0002\u0002\u01ef", + "\u01f0\u0005 \u0011\u0002\u01f0\u0365\u0003\u0002\u0002\u0002\u01f1", + "\u01f2\u0007o\u0002\u0002\u01f2\u01f3\u0007R\u0002\u0002\u01f3\u01f4", + "\u0005\u0086D\u0002\u01f4\u01f7\u0007g\u0002\u0002\u01f5\u01f6\u0007", + "\u0081\u0002\u0002\u01f6\u01f8\u0007$\u0002\u0002\u01f7\u01f5\u0003", + "\u0002\u0002\u0002\u01f7\u01f8\u0003\u0002\u0002\u0002\u01f8\u01f9\u0003", + "\u0002\u0002\u0002\u01f9\u01fe\u0005 \u0011\u0002\u01fa\u01fb\u0007", + "\u0006\u0002\u0002\u01fb\u01fd\u0005 \u0011\u0002\u01fc\u01fa\u0003", + "\u0002\u0002\u0002\u01fd\u0200\u0003\u0002\u0002\u0002\u01fe\u01fc\u0003", + "\u0002\u0002\u0002\u01fe\u01ff\u0003\u0002\u0002\u0002\u01ff\u0202\u0003", + "\u0002\u0002\u0002\u0200\u01fe\u0003\u0002\u0002\u0002\u0201\u0203\u0007", + "\u00ce\u0002\u0002\u0202\u0201\u0003\u0002\u0002\u0002\u0202\u0203\u0003", + "\u0002\u0002\u0002\u0203\u0365\u0003\u0002\u0002\u0002\u0204\u0205\u0007", + "o\u0002\u0002\u0205\u0206\u0007T\u0002\u0002\u0206\u0207\u0005\u0086", + "D\u0002\u0207\u020a\u0007g\u0002\u0002\u0208\u0209\u0007\u0081\u0002", + "\u0002\u0209\u020b\u0007$\u0002\u0002\u020a\u0208\u0003\u0002\u0002", + "\u0002\u020a\u020b\u0003\u0002\u0002\u0002\u020b\u020c\u0003\u0002\u0002", + "\u0002\u020c\u0211\u0005 \u0011\u0002\u020d\u020e\u0007\u0006\u0002", + "\u0002\u020e\u0210\u0005 \u0011\u0002\u020f\u020d\u0003\u0002\u0002", + "\u0002\u0210\u0213\u0003\u0002\u0002\u0002\u0211\u020f\u0003\u0002\u0002", + "\u0002\u0211\u0212\u0003\u0002\u0002\u0002\u0212\u0365\u0003\u0002\u0002", + "\u0002\u0213\u0211\u0003\u0002\u0002\u0002\u0214\u0215\u0007o\u0002", + "\u0002\u0215\u0216\u0007R\u0002\u0002\u0216\u0218\u0005\u0086D\u0002", + "\u0217\u0219\u0005 \u0011\u0002\u0218\u0217\u0003\u0002\u0002\u0002", + "\u0218\u0219\u0003\u0002\u0002\u0002\u0219\u021a\u0003\u0002\u0002\u0002", + "\u021a\u021b\u0007u\u0002\u0002\u021b\u021c\u0005\u0018\r\u0002\u021c", + "\u0365\u0003\u0002\u0002\u0002\u021d\u021e\u0007o\u0002\u0002\u021e", + "\u021f\u0007R\u0002\u0002\u021f\u0220\u0005\u0086D\u0002\u0220\u0221", + "\u0007\u00e2\u0002\u0002\u0221\u0222\u0007e\u0002\u0002\u0222\u0365", + "\u0003\u0002\u0002\u0002\u0223\u0224\u0007g\u0002\u0002\u0224\u0227", + "\u0007R\u0002\u0002\u0225\u0226\u0007\u0081\u0002\u0002\u0226\u0228", + "\u0007$\u0002\u0002\u0227\u0225\u0003\u0002\u0002\u0002\u0227\u0228", + "\u0003\u0002\u0002\u0002\u0228\u0229\u0003\u0002\u0002\u0002\u0229\u022b", + "\u0005\u0086D\u0002\u022a\u022c\u0007\u00ce\u0002\u0002\u022b\u022a", + "\u0003\u0002\u0002\u0002\u022b\u022c\u0003\u0002\u0002\u0002\u022c\u0365", + "\u0003\u0002\u0002\u0002\u022d\u022e\u0007g\u0002\u0002\u022e\u0231", + "\u0007T\u0002\u0002\u022f\u0230\u0007\u0081\u0002\u0002\u0230\u0232", + "\u0007$\u0002\u0002\u0231\u022f\u0003\u0002\u0002\u0002\u0231\u0232", + "\u0003\u0002\u0002\u0002\u0232\u0233\u0003\u0002\u0002\u0002\u0233\u0365", + "\u0005\u0086D\u0002\u0234\u0237\u0007Q\u0002\u0002\u0235\u0236\u0007", + "\u001f\u0002\u0002\u0236\u0238\u0007U\u0002\u0002\u0237\u0235\u0003", + "\u0002\u0002\u0002\u0237\u0238\u0003\u0002\u0002\u0002\u0238\u023d\u0003", + "\u0002\u0002\u0002\u0239\u023b\u0007\u00b7\u0002\u0002\u023a\u0239\u0003", + "\u0002\u0002\u0002\u023a\u023b\u0003\u0002\u0002\u0002\u023b\u023c\u0003", + "\u0002\u0002\u0002\u023c\u023e\u0007\u00b8\u0002\u0002\u023d\u023a\u0003", + "\u0002\u0002\u0002\u023d\u023e\u0003\u0002\u0002\u0002\u023e\u023f\u0003", + "\u0002\u0002\u0002\u023f\u0243\u0007T\u0002\u0002\u0240\u0241\u0007", + "\u0081\u0002\u0002\u0241\u0242\u0007\"\u0002\u0002\u0242\u0244\u0007", + "$\u0002\u0002\u0243\u0240\u0003\u0002\u0002\u0002\u0243\u0244\u0003", + "\u0002\u0002\u0002\u0244\u0245\u0003\u0002\u0002\u0002\u0245\u0247\u0005", + "\u0086D\u0002\u0246\u0248\u0005x=\u0002\u0247\u0246\u0003\u0002\u0002", + "\u0002\u0247\u0248\u0003\u0002\u0002\u0002\u0248\u024b\u0003\u0002\u0002", + "\u0002\u0249\u024a\u0007t\u0002\u0002\u024a\u024c\u0007\u00f3\u0002", + "\u0002\u024b\u0249\u0003\u0002\u0002\u0002\u024b\u024c\u0003\u0002\u0002", + "\u0002\u024c\u0250\u0003\u0002\u0002\u0002\u024d\u024e\u0007\u00d9\u0002", + "\u0002\u024e\u024f\u0007?\u0002\u0002\u024f\u0251\u0005p9\u0002\u0250", + "\u024d\u0003\u0002\u0002\u0002\u0250\u0251\u0003\u0002\u0002\u0002\u0251", + "\u0254\u0003\u0002\u0002\u0002\u0252\u0253\u0007\u00bb\u0002\u0002\u0253", + "\u0255\u0005.\u0018\u0002\u0254\u0252\u0003\u0002\u0002\u0002\u0254", + "\u0255\u0003\u0002\u0002\u0002\u0255\u0256\u0003\u0002\u0002\u0002\u0256", + "\u0257\u0007\u0010\u0002\u0002\u0257\u0258\u0005\u001a\u000e\u0002\u0258", + "\u0365\u0003\u0002\u0002\u0002\u0259\u025c\u0007Q\u0002\u0002\u025a", + "\u025b\u0007\u001f\u0002\u0002\u025b\u025d\u0007U\u0002\u0002\u025c", + "\u025a\u0003\u0002\u0002\u0002\u025c\u025d\u0003\u0002\u0002\u0002\u025d", + "\u025f\u0003\u0002\u0002\u0002\u025e\u0260\u0007\u00b7\u0002\u0002\u025f", + "\u025e\u0003\u0002\u0002\u0002\u025f\u0260\u0003\u0002\u0002\u0002\u0260", + "\u0261\u0003\u0002\u0002\u0002\u0261\u0262\u0007\u00b8\u0002\u0002\u0262", + "\u0263\u0007T\u0002\u0002\u0263\u0268\u0005\u0086D\u0002\u0264\u0265", + "\u0007\u0003\u0002\u0002\u0265\u0266\u0005\u00acW\u0002\u0266\u0267", + "\u0007\u0004\u0002\u0002\u0267\u0269\u0003\u0002\u0002\u0002\u0268\u0264", + "\u0003\u0002\u0002\u0002\u0268\u0269\u0003\u0002\u0002\u0002\u0269\u026a", + "\u0003\u0002\u0002\u0002\u026a\u026d\u0005,\u0017\u0002\u026b\u026c", + "\u0007\u00b9\u0002\u0002\u026c\u026e\u0005.\u0018\u0002\u026d\u026b", + "\u0003\u0002\u0002\u0002\u026d\u026e\u0003\u0002\u0002\u0002\u026e\u0365", + "\u0003\u0002\u0002\u0002\u026f\u0270\u0007o\u0002\u0002\u0270\u0271", + "\u0007T\u0002\u0002\u0271\u0273\u0005\u0086D\u0002\u0272\u0274\u0007", + "\u0010\u0002\u0002\u0273\u0272\u0003\u0002\u0002\u0002\u0273\u0274\u0003", + "\u0002\u0002\u0002\u0274\u0275\u0003\u0002\u0002\u0002\u0275\u0276\u0005", + "\u001a\u000e\u0002\u0276\u0365\u0003\u0002\u0002\u0002\u0277\u027a\u0007", + "Q\u0002\u0002\u0278\u0279\u0007\u001f\u0002\u0002\u0279\u027b\u0007", + "U\u0002\u0002\u027a\u0278\u0003\u0002\u0002\u0002\u027a\u027b\u0003", + "\u0002\u0002\u0002\u027b\u027d\u0003\u0002\u0002\u0002\u027c\u027e\u0007", + "\u00b8\u0002\u0002\u027d\u027c\u0003\u0002\u0002\u0002\u027d\u027e\u0003", + "\u0002\u0002\u0002\u027e\u027f\u0003\u0002\u0002\u0002\u027f\u0283\u0007", + "\u00af\u0002\u0002\u0280\u0281\u0007\u0081\u0002\u0002\u0281\u0282\u0007", + "\"\u0002\u0002\u0282\u0284\u0007$\u0002\u0002\u0283\u0280\u0003\u0002", + "\u0002\u0002\u0283\u0284\u0003\u0002\u0002\u0002\u0284\u0285\u0003\u0002", + "\u0002\u0002\u0285\u0286\u0005\u00c4c\u0002\u0286\u0287\u0007\u0010", + "\u0002\u0002\u0287\u0291\u0007\u00f3\u0002\u0002\u0288\u0289\u0007\u00a1", + "\u0002\u0002\u0289\u028e\u0005@!\u0002\u028a\u028b\u0007\u0006\u0002", + "\u0002\u028b\u028d\u0005@!\u0002\u028c\u028a\u0003\u0002\u0002\u0002", + "\u028d\u0290\u0003\u0002\u0002\u0002\u028e\u028c\u0003\u0002\u0002\u0002", + "\u028e\u028f\u0003\u0002\u0002\u0002\u028f\u0292\u0003\u0002\u0002\u0002", + "\u0290\u028e\u0003\u0002\u0002\u0002\u0291\u0288\u0003\u0002\u0002\u0002", + "\u0291\u0292\u0003\u0002\u0002\u0002\u0292\u0365\u0003\u0002\u0002\u0002", + "\u0293\u0295\u0007g\u0002\u0002\u0294\u0296\u0007\u00b8\u0002\u0002", + "\u0295\u0294\u0003\u0002\u0002\u0002\u0295\u0296\u0003\u0002\u0002\u0002", + "\u0296\u0297\u0003\u0002\u0002\u0002\u0297\u029a\u0007\u00af\u0002\u0002", + "\u0298\u0299\u0007\u0081\u0002\u0002\u0299\u029b\u0007$\u0002\u0002", + "\u029a\u0298\u0003\u0002\u0002\u0002\u029a\u029b\u0003\u0002\u0002\u0002", + "\u029b\u029c\u0003\u0002\u0002\u0002\u029c\u0365\u0005\u00c4c\u0002", + "\u029d\u029f\u0007Z\u0002\u0002\u029e\u02a0\t\u0004\u0002\u0002\u029f", + "\u029e\u0003\u0002\u0002\u0002\u029f\u02a0\u0003\u0002\u0002\u0002\u02a0", + "\u02a1\u0003\u0002\u0002\u0002\u02a1\u0365\u0005\u000e\b\u0002\u02a2", + "\u02a3\u0007`\u0002\u0002\u02a3\u02a6\u0007a\u0002\u0002\u02a4\u02a5", + "\t\u0005\u0002\u0002\u02a5\u02a7\u0005\u00c6d\u0002\u02a6\u02a4\u0003", + "\u0002\u0002\u0002\u02a6\u02a7\u0003\u0002\u0002\u0002\u02a7\u02ac\u0003", + "\u0002\u0002\u0002\u02a8\u02aa\u0007&\u0002\u0002\u02a9\u02a8\u0003", + "\u0002\u0002\u0002\u02a9\u02aa\u0003\u0002\u0002\u0002\u02aa\u02ab\u0003", + "\u0002\u0002\u0002\u02ab\u02ad\u0007\u00f3\u0002\u0002\u02ac\u02a9\u0003", + "\u0002\u0002\u0002\u02ac\u02ad\u0003\u0002\u0002\u0002\u02ad\u0365\u0003", + "\u0002\u0002\u0002\u02ae\u02af\u0007`\u0002\u0002\u02af\u02b0\u0007", + "R\u0002\u0002\u02b0\u02b3\u0007\u00b0\u0002\u0002\u02b1\u02b2\t\u0005", + "\u0002\u0002\u02b2\u02b4\u0005\u00c6d\u0002\u02b3\u02b1\u0003\u0002", + "\u0002\u0002\u02b3\u02b4\u0003\u0002\u0002\u0002\u02b4\u02b5\u0003\u0002", + "\u0002\u0002\u02b5\u02b6\u0007&\u0002\u0002\u02b6\u02b8\u0007\u00f3", + "\u0002\u0002\u02b7\u02b9\u0005 \u0011\u0002\u02b8\u02b7\u0003\u0002", + "\u0002\u0002\u02b8\u02b9\u0003\u0002\u0002\u0002\u02b9\u0365\u0003\u0002", + "\u0002\u0002\u02ba\u02bb\u0007`\u0002\u0002\u02bb\u02c0\u0007\u00d2", + "\u0002\u0002\u02bc\u02be\u0007&\u0002\u0002\u02bd\u02bc\u0003\u0002", + "\u0002\u0002\u02bd\u02be\u0003\u0002\u0002\u0002\u02be\u02bf\u0003\u0002", + "\u0002\u0002\u02bf\u02c1\u0007\u00f3\u0002\u0002\u02c0\u02bd\u0003\u0002", + "\u0002\u0002\u02c0\u02c1\u0003\u0002\u0002\u0002\u02c1\u0365\u0003\u0002", + "\u0002\u0002\u02c2\u02c3\u0007`\u0002\u0002\u02c3\u02c4\u0007\u00bb", + "\u0002\u0002\u02c4\u02c9\u0005\u0086D\u0002\u02c5\u02c6\u0007\u0003", + "\u0002\u0002\u02c6\u02c7\u00052\u001a\u0002\u02c7\u02c8\u0007\u0004", + "\u0002\u0002\u02c8\u02ca\u0003\u0002\u0002\u0002\u02c9\u02c5\u0003\u0002", + "\u0002\u0002\u02c9\u02ca\u0003\u0002\u0002\u0002\u02ca\u0365\u0003\u0002", + "\u0002\u0002\u02cb\u02cc\u0007`\u0002\u0002\u02cc\u02cd\u0007b\u0002", + "\u0002\u02cd\u02ce\t\u0005\u0002\u0002\u02ce\u02d1\u0005\u0086D\u0002", + "\u02cf\u02d0\t\u0005\u0002\u0002\u02d0\u02d2\u0005\u00c6d\u0002\u02d1", + "\u02cf\u0003\u0002\u0002\u0002\u02d1\u02d2\u0003\u0002\u0002\u0002\u02d2", + "\u0365\u0003\u0002\u0002\u0002\u02d3\u02d4\u0007`\u0002\u0002\u02d4", + "\u02d5\u0007e\u0002\u0002\u02d5\u02d7\u0005\u0086D\u0002\u02d6\u02d8", + "\u0005 \u0011\u0002\u02d7\u02d6\u0003\u0002\u0002\u0002\u02d7\u02d8", + "\u0003\u0002\u0002\u0002\u02d8\u0365\u0003\u0002\u0002\u0002\u02d9\u02db", + "\u0007`\u0002\u0002\u02da\u02dc\u0005\u00c6d\u0002\u02db\u02da\u0003", + "\u0002\u0002\u0002\u02db\u02dc\u0003\u0002\u0002\u0002\u02dc\u02dd\u0003", + "\u0002\u0002\u0002\u02dd\u02e5\u0007f\u0002\u0002\u02de\u02e0\u0007", + "&\u0002\u0002\u02df\u02de\u0003\u0002\u0002\u0002\u02df\u02e0\u0003", + "\u0002\u0002\u0002\u02e0\u02e3\u0003\u0002\u0002\u0002\u02e1\u02e4\u0005", + "\u00c4c\u0002\u02e2\u02e4\u0007\u00f3\u0002\u0002\u02e3\u02e1\u0003", + "\u0002\u0002\u0002\u02e3\u02e2\u0003\u0002\u0002\u0002\u02e4\u02e6\u0003", + "\u0002\u0002\u0002\u02e5\u02df\u0003\u0002\u0002\u0002\u02e5\u02e6\u0003", + "\u0002\u0002\u0002\u02e6\u0365\u0003\u0002\u0002\u0002\u02e7\u02e8\u0007", + "`\u0002\u0002\u02e8\u02e9\u0007Q\u0002\u0002\u02e9\u02ea\u0007R\u0002", + "\u0002\u02ea\u0365\u0005\u0086D\u0002\u02eb\u02ec\t\u0006\u0002\u0002", + "\u02ec\u02ee\u0007\u00af\u0002\u0002\u02ed\u02ef\u0007\u00b0\u0002\u0002", + "\u02ee\u02ed\u0003\u0002\u0002\u0002\u02ee\u02ef\u0003\u0002\u0002\u0002", + "\u02ef\u02f0\u0003\u0002\u0002\u0002\u02f0\u0365\u0005$\u0013\u0002", + "\u02f1\u02f2\t\u0006\u0002\u0002\u02f2\u02f4\u0007\u00d1\u0002\u0002", + "\u02f3\u02f5\u0007\u00b0\u0002\u0002\u02f4\u02f3\u0003\u0002\u0002\u0002", + "\u02f4\u02f5\u0003\u0002\u0002\u0002\u02f5\u02f6\u0003\u0002\u0002\u0002", + "\u02f6\u0365\u0005\u00c6d\u0002\u02f7\u02f9\t\u0006\u0002\u0002\u02f8", + "\u02fa\u0007R\u0002\u0002\u02f9\u02f8\u0003\u0002\u0002\u0002\u02f9", + "\u02fa\u0003\u0002\u0002\u0002\u02fa\u02fc\u0003\u0002\u0002\u0002\u02fb", + "\u02fd\t\u0007\u0002\u0002\u02fc\u02fb\u0003\u0002\u0002\u0002\u02fc", + "\u02fd\u0003\u0002\u0002\u0002\u02fd\u02fe\u0003\u0002\u0002\u0002\u02fe", + "\u0300\u0005\u0086D\u0002\u02ff\u0301\u0005 \u0011\u0002\u0300\u02ff", + "\u0003\u0002\u0002\u0002\u0300\u0301\u0003\u0002\u0002\u0002\u0301\u0303", + "\u0003\u0002\u0002\u0002\u0302\u0304\u0005&\u0014\u0002\u0303\u0302", + "\u0003\u0002\u0002\u0002\u0303\u0304\u0003\u0002\u0002\u0002\u0304\u0365", + "\u0003\u0002\u0002\u0002\u0305\u0306\u0007\u00b1\u0002\u0002\u0306\u0307", + "\u0007R\u0002\u0002\u0307\u0365\u0005\u0086D\u0002\u0308\u0310\u0007", + "\u00b1\u0002\u0002\u0309\u0311\u0007\u00f3\u0002\u0002\u030a\u030c\u000b", + "\u0002\u0002\u0002\u030b\u030a\u0003\u0002\u0002\u0002\u030c\u030f\u0003", + "\u0002\u0002\u0002\u030d\u030e\u0003\u0002\u0002\u0002\u030d\u030b\u0003", + "\u0002\u0002\u0002\u030e\u0311\u0003\u0002\u0002\u0002\u030f\u030d\u0003", + "\u0002\u0002\u0002\u0310\u0309\u0003\u0002\u0002\u0002\u0310\u030d\u0003", + "\u0002\u0002\u0002\u0311\u0365\u0003\u0002\u0002\u0002\u0312\u0314\u0007", + "\u00b3\u0002\u0002\u0313\u0315\u0007\u00b5\u0002\u0002\u0314\u0313\u0003", + "\u0002\u0002\u0002\u0314\u0315\u0003\u0002\u0002\u0002\u0315\u0316\u0003", + "\u0002\u0002\u0002\u0316\u0317\u0007R\u0002\u0002\u0317\u031a\u0005", + "\u0086D\u0002\u0318\u0319\u0007\u00b9\u0002\u0002\u0319\u031b\u0005", + ".\u0018\u0002\u031a\u0318\u0003\u0002\u0002\u0002\u031a\u031b\u0003", + "\u0002\u0002\u0002\u031b\u0320\u0003\u0002\u0002\u0002\u031c\u031e\u0007", + "\u0010\u0002\u0002\u031d\u031c\u0003\u0002\u0002\u0002\u031d\u031e\u0003", + "\u0002\u0002\u0002\u031e\u031f\u0003\u0002\u0002\u0002\u031f\u0321\u0005", + "\u001a\u000e\u0002\u0320\u031d\u0003\u0002\u0002\u0002\u0320\u0321\u0003", + "\u0002\u0002\u0002\u0321\u0365\u0003\u0002\u0002\u0002\u0322\u0323\u0007", + "\u00b4\u0002\u0002\u0323\u0326\u0007R\u0002\u0002\u0324\u0325\u0007", + "\u0081\u0002\u0002\u0325\u0327\u0007$\u0002\u0002\u0326\u0324\u0003", + "\u0002\u0002\u0002\u0326\u0327\u0003\u0002\u0002\u0002\u0327\u0328\u0003", + "\u0002\u0002\u0002\u0328\u0365\u0005\u0086D\u0002\u0329\u032a\u0007", + "\u00b2\u0002\u0002\u032a\u0365\u0007\u00b3\u0002\u0002\u032b\u032c\u0007", + "\u00e5\u0002\u0002\u032c\u032e\u0007w\u0002\u0002\u032d\u032f\u0007", + "\u00f0\u0002\u0002\u032e\u032d\u0003\u0002\u0002\u0002\u032e\u032f\u0003", + "\u0002\u0002\u0002\u032f\u0330\u0003\u0002\u0002\u0002\u0330\u0331\u0007", + "\u00f1\u0002\u0002\u0331\u0333\u0007\u00f3\u0002\u0002\u0332\u0334\u0007", + "\u009e\u0002\u0002\u0333\u0332\u0003\u0002\u0002\u0002\u0333\u0334\u0003", + "\u0002\u0002\u0002\u0334\u0335\u0003\u0002\u0002\u0002\u0335\u0336\u0007", + "X\u0002\u0002\u0336\u0337\u0007R\u0002\u0002\u0337\u0339\u0005\u0086", + "D\u0002\u0338\u033a\u0005 \u0011\u0002\u0339\u0338\u0003\u0002\u0002", + "\u0002\u0339\u033a\u0003\u0002\u0002\u0002\u033a\u0365\u0003\u0002\u0002", + "\u0002\u033b\u033c\u0007\u00d4\u0002\u0002\u033c\u033d\u0007R\u0002", + "\u0002\u033d\u033f\u0005\u0086D\u0002\u033e\u0340\u0005 \u0011\u0002", + "\u033f\u033e\u0003\u0002\u0002\u0002\u033f\u0340\u0003\u0002\u0002\u0002", + "\u0340\u0365\u0003\u0002\u0002\u0002\u0341\u0342\u0007\u00e0\u0002\u0002", + "\u0342\u0343\u0007\u00e1\u0002\u0002\u0343\u0344\u0007R\u0002\u0002", + "\u0344\u0365\u0005\u0086D\u0002\u0345\u0346\t\b\u0002\u0002\u0346\u034a", + "\u0005\u00c6d\u0002\u0347\u0349\u000b\u0002\u0002\u0002\u0348\u0347", + "\u0003\u0002\u0002\u0002\u0349\u034c\u0003\u0002\u0002\u0002\u034a\u034b", + "\u0003\u0002\u0002\u0002\u034a\u0348\u0003\u0002\u0002\u0002\u034b\u0365", + "\u0003\u0002\u0002\u0002\u034c\u034a\u0003\u0002\u0002\u0002\u034d\u034e", + "\u0007u\u0002\u0002\u034e\u0352\u0007\u00e6\u0002\u0002\u034f\u0351", + "\u000b\u0002\u0002\u0002\u0350\u034f\u0003\u0002\u0002\u0002\u0351\u0354", + "\u0003\u0002\u0002\u0002\u0352\u0353\u0003\u0002\u0002\u0002\u0352\u0350", + "\u0003\u0002\u0002\u0002\u0353\u0365\u0003\u0002\u0002\u0002\u0354\u0352", + "\u0003\u0002\u0002\u0002\u0355\u0359\u0007u\u0002\u0002\u0356\u0358", + "\u000b\u0002\u0002\u0002\u0357\u0356\u0003\u0002\u0002\u0002\u0358\u035b", + "\u0003\u0002\u0002\u0002\u0359\u035a\u0003\u0002\u0002\u0002\u0359\u0357", + "\u0003\u0002\u0002\u0002\u035a\u0365\u0003\u0002\u0002\u0002\u035b\u0359", + "\u0003\u0002\u0002\u0002\u035c\u0365\u0007v\u0002\u0002\u035d\u0361", + "\u0005\u0010\t\u0002\u035e\u0360\u000b\u0002\u0002\u0002\u035f\u035e", + "\u0003\u0002\u0002\u0002\u0360\u0363\u0003\u0002\u0002\u0002\u0361\u0362", + "\u0003\u0002\u0002\u0002\u0361\u035f\u0003\u0002\u0002\u0002\u0362\u0365", + "\u0003\u0002\u0002\u0002\u0363\u0361\u0003\u0002\u0002\u0002\u0364\u00e2", + "\u0003\u0002\u0002\u0002\u0364\u00e3\u0003\u0002\u0002\u0002\u0364\u00e5", + "\u0003\u0002\u0002\u0002\u0364\u00f9\u0003\u0002\u0002\u0002\u0364\u0100", + "\u0003\u0002\u0002\u0002\u0364\u010a\u0003\u0002\u0002\u0002\u0364\u0128", + "\u0003\u0002\u0002\u0002\u0364\u0149\u0003\u0002\u0002\u0002\u0364\u0166", + "\u0003\u0002\u0002\u0002\u0364\u0173\u0003\u0002\u0002\u0002\u0364\u0184", + "\u0003\u0002\u0002\u0002\u0364\u018d\u0003\u0002\u0002\u0002\u0364\u0194", + "\u0003\u0002\u0002\u0002\u0364\u019b\u0003\u0002\u0002\u0002\u0364\u01a6", + "\u0003\u0002\u0002\u0002\u0364\u01b5\u0003\u0002\u0002\u0002\u0364\u01c3", + "\u0003\u0002\u0002\u0002\u0364\u01cd\u0003\u0002\u0002\u0002\u0364\u01db", + "\u0003\u0002\u0002\u0002\u0364\u01e9\u0003\u0002\u0002\u0002\u0364\u01f1", + "\u0003\u0002\u0002\u0002\u0364\u0204\u0003\u0002\u0002\u0002\u0364\u0214", + "\u0003\u0002\u0002\u0002\u0364\u021d\u0003\u0002\u0002\u0002\u0364\u0223", + "\u0003\u0002\u0002\u0002\u0364\u022d\u0003\u0002\u0002\u0002\u0364\u0234", + "\u0003\u0002\u0002\u0002\u0364\u0259\u0003\u0002\u0002\u0002\u0364\u026f", + "\u0003\u0002\u0002\u0002\u0364\u0277\u0003\u0002\u0002\u0002\u0364\u0293", + "\u0003\u0002\u0002\u0002\u0364\u029d\u0003\u0002\u0002\u0002\u0364\u02a2", + "\u0003\u0002\u0002\u0002\u0364\u02ae\u0003\u0002\u0002\u0002\u0364\u02ba", + "\u0003\u0002\u0002\u0002\u0364\u02c2\u0003\u0002\u0002\u0002\u0364\u02cb", + "\u0003\u0002\u0002\u0002\u0364\u02d3\u0003\u0002\u0002\u0002\u0364\u02d9", + "\u0003\u0002\u0002\u0002\u0364\u02e7\u0003\u0002\u0002\u0002\u0364\u02eb", + "\u0003\u0002\u0002\u0002\u0364\u02f1\u0003\u0002\u0002\u0002\u0364\u02f7", + "\u0003\u0002\u0002\u0002\u0364\u0305\u0003\u0002\u0002\u0002\u0364\u0308", + "\u0003\u0002\u0002\u0002\u0364\u0312\u0003\u0002\u0002\u0002\u0364\u0322", + "\u0003\u0002\u0002\u0002\u0364\u0329\u0003\u0002\u0002\u0002\u0364\u032b", + "\u0003\u0002\u0002\u0002\u0364\u033b\u0003\u0002\u0002\u0002\u0364\u0341", + "\u0003\u0002\u0002\u0002\u0364\u0345\u0003\u0002\u0002\u0002\u0364\u034d", + "\u0003\u0002\u0002\u0002\u0364\u0355\u0003\u0002\u0002\u0002\u0364\u035c", + "\u0003\u0002\u0002\u0002\u0364\u035d\u0003\u0002\u0002\u0002\u0365\u000f", + "\u0003\u0002\u0002\u0002\u0366\u0367\u0007Q\u0002\u0002\u0367\u0411", + "\u0007\u00e6\u0002\u0002\u0368\u0369\u0007g\u0002\u0002\u0369\u0411", + "\u0007\u00e6\u0002\u0002\u036a\u036c\u0007\u00dd\u0002\u0002\u036b\u036d", + "\u0007\u00e6\u0002\u0002\u036c\u036b\u0003\u0002\u0002\u0002\u036c\u036d", + "\u0003\u0002\u0002\u0002\u036d\u0411\u0003\u0002\u0002\u0002\u036e\u0370", + "\u0007\u00dc\u0002\u0002\u036f\u0371\u0007\u00e6\u0002\u0002\u0370\u036f", + "\u0003\u0002\u0002\u0002\u0370\u0371\u0003\u0002\u0002\u0002\u0371\u0411", + "\u0003\u0002\u0002\u0002\u0372\u0373\u0007`\u0002\u0002\u0373\u0411", + "\u0007\u00dd\u0002\u0002\u0374\u0375\u0007`\u0002\u0002\u0375\u0377", + "\u0007\u00e6\u0002\u0002\u0376\u0378\u0007\u00dd\u0002\u0002\u0377\u0376", + "\u0003\u0002\u0002\u0002\u0377\u0378\u0003\u0002\u0002\u0002\u0378\u0411", + "\u0003\u0002\u0002\u0002\u0379\u037a\u0007`\u0002\u0002\u037a\u0411", + "\u0007\u00e9\u0002\u0002\u037b\u037c\u0007`\u0002\u0002\u037c\u0411", + "\u0007\u00e7\u0002\u0002\u037d\u037e\u0007`\u0002\u0002\u037e\u037f", + "\u0007J\u0002\u0002\u037f\u0411\u0007\u00e7\u0002\u0002\u0380\u0381", + "\u0007\u00e3\u0002\u0002\u0381\u0411\u0007R\u0002\u0002\u0382\u0383", + "\u0007\u00e4\u0002\u0002\u0383\u0411\u0007R\u0002\u0002\u0384\u0385", + "\u0007`\u0002\u0002\u0385\u0411\u0007\u00e8\u0002\u0002\u0386\u0387", + "\u0007`\u0002\u0002\u0387\u0388\u0007Q\u0002\u0002\u0388\u0411\u0007", + "R\u0002\u0002\u0389\u038a\u0007`\u0002\u0002\u038a\u0411\u0007\u00ea", + "\u0002\u0002\u038b\u038c\u0007`\u0002\u0002\u038c\u0411\u0007\u00ec", + "\u0002\u0002\u038d\u038e\u0007`\u0002\u0002\u038e\u0411\u0007\u00ed", + "\u0002\u0002\u038f\u0390\u0007Q\u0002\u0002\u0390\u0411\u0007\u00eb", + "\u0002\u0002\u0391\u0392\u0007g\u0002\u0002\u0392\u0411\u0007\u00eb", + "\u0002\u0002\u0393\u0394\u0007o\u0002\u0002\u0394\u0411\u0007\u00eb", + "\u0002\u0002\u0395\u0396\u0007\u00de\u0002\u0002\u0396\u0411\u0007R", + "\u0002\u0002\u0397\u0398\u0007\u00de\u0002\u0002\u0398\u0411\u0007\u00d1", + "\u0002\u0002\u0399\u039a\u0007\u00df\u0002\u0002\u039a\u0411\u0007R", + "\u0002\u0002\u039b\u039c\u0007\u00df\u0002\u0002\u039c\u0411\u0007\u00d1", + "\u0002\u0002\u039d\u039e\u0007Q\u0002\u0002\u039e\u039f\u0007\u00b8", + "\u0002\u0002\u039f\u0411\u0007|\u0002\u0002\u03a0\u03a1\u0007g\u0002", + "\u0002\u03a1\u03a2\u0007\u00b8\u0002\u0002\u03a2\u0411\u0007|\u0002", + "\u0002\u03a3\u03a4\u0007o\u0002\u0002\u03a4\u03a5\u0007R\u0002\u0002", + "\u03a5\u03a6\u0005\u0086D\u0002\u03a6\u03a7\u0007\"\u0002\u0002\u03a7", + "\u03a8\u0007\u00cc\u0002\u0002\u03a8\u0411\u0003\u0002\u0002\u0002\u03a9", + "\u03aa\u0007o\u0002\u0002\u03aa\u03ab\u0007R\u0002\u0002\u03ab\u03ac", + "\u0005\u0086D\u0002\u03ac\u03ad\u0007\u00cc\u0002\u0002\u03ad\u03ae", + "\u0007\u0016\u0002\u0002\u03ae\u0411\u0003\u0002\u0002\u0002\u03af\u03b0", + "\u0007o\u0002\u0002\u03b0\u03b1\u0007R\u0002\u0002\u03b1\u03b2\u0005", + "\u0086D\u0002\u03b2\u03b3\u0007\"\u0002\u0002\u03b3\u03b4\u0007\u00cd", + "\u0002\u0002\u03b4\u0411\u0003\u0002\u0002\u0002\u03b5\u03b6\u0007o", + "\u0002\u0002\u03b6\u03b7\u0007R\u0002\u0002\u03b7\u03b8\u0005\u0086", + "D\u0002\u03b8\u03b9\u0007\u00be\u0002\u0002\u03b9\u03ba\u0007\u0016", + "\u0002\u0002\u03ba\u0411\u0003\u0002\u0002\u0002\u03bb\u03bc\u0007o", + "\u0002\u0002\u03bc\u03bd\u0007R\u0002\u0002\u03bd\u03be\u0005\u0086", + "D\u0002\u03be\u03bf\u0007\"\u0002\u0002\u03bf\u03c0\u0007\u00be\u0002", + "\u0002\u03c0\u0411\u0003\u0002\u0002\u0002\u03c1\u03c2\u0007o\u0002", + "\u0002\u03c2\u03c3\u0007R\u0002\u0002\u03c3\u03c4\u0005\u0086D\u0002", + "\u03c4\u03c5\u0007\"\u0002\u0002\u03c5\u03c6\u0007\u00bf\u0002\u0002", + "\u03c6\u03c7\u0007\u0010\u0002\u0002\u03c7\u03c8\u0007\u00c0\u0002\u0002", + "\u03c8\u0411\u0003\u0002\u0002\u0002\u03c9\u03ca\u0007o\u0002\u0002", + "\u03ca\u03cb\u0007R\u0002\u0002\u03cb\u03cc\u0005\u0086D\u0002\u03cc", + "\u03cd\u0007u\u0002\u0002\u03cd\u03ce\u0007\u00be\u0002\u0002\u03ce", + "\u03cf\u0007\u00c1\u0002\u0002\u03cf\u0411\u0003\u0002\u0002\u0002\u03d0", + "\u03d1\u0007o\u0002\u0002\u03d1\u03d2\u0007R\u0002\u0002\u03d2\u03d3", + "\u0005\u0086D\u0002\u03d3\u03d4\u0007\u00c2\u0002\u0002\u03d4\u03d5", + "\u0007D\u0002\u0002\u03d5\u0411\u0003\u0002\u0002\u0002\u03d6\u03d7", + "\u0007o\u0002\u0002\u03d7\u03d8\u0007R\u0002\u0002\u03d8\u03d9\u0005", + "\u0086D\u0002\u03d9\u03da\u0007\u00c3\u0002\u0002\u03da\u03db\u0007", + "D\u0002\u0002\u03db\u0411\u0003\u0002\u0002\u0002\u03dc\u03dd\u0007", + "o\u0002\u0002\u03dd\u03de\u0007R\u0002\u0002\u03de\u03df\u0005\u0086", + "D\u0002\u03df\u03e0\u0007\u00c4\u0002\u0002\u03e0\u03e1\u0007D\u0002", + "\u0002\u03e1\u0411\u0003\u0002\u0002\u0002\u03e2\u03e3\u0007o\u0002", + "\u0002\u03e3\u03e4\u0007R\u0002\u0002\u03e4\u03e5\u0005\u0086D\u0002", + "\u03e5\u03e6\u0007\u00c6\u0002\u0002\u03e6\u0411\u0003\u0002\u0002\u0002", + "\u03e7\u03e8\u0007o\u0002\u0002\u03e8\u03e9\u0007R\u0002\u0002\u03e9", + "\u03eb\u0005\u0086D\u0002\u03ea\u03ec\u0005 \u0011\u0002\u03eb\u03ea", + "\u0003\u0002\u0002\u0002\u03eb\u03ec\u0003\u0002\u0002\u0002\u03ec\u03ed", + "\u0003\u0002\u0002\u0002\u03ed\u03ee\u0007\u00c7\u0002\u0002\u03ee\u0411", + "\u0003\u0002\u0002\u0002\u03ef\u03f0\u0007o\u0002\u0002\u03f0\u03f1", + "\u0007R\u0002\u0002\u03f1\u03f3\u0005\u0086D\u0002\u03f2\u03f4\u0005", + " \u0011\u0002\u03f3\u03f2\u0003\u0002\u0002\u0002\u03f3\u03f4\u0003", + "\u0002\u0002\u0002\u03f4\u03f5\u0003\u0002\u0002\u0002\u03f5\u03f6\u0007", + "\u00c8\u0002\u0002\u03f6\u0411\u0003\u0002\u0002\u0002\u03f7\u03f8\u0007", + "o\u0002\u0002\u03f8\u03f9\u0007R\u0002\u0002\u03f9\u03fb\u0005\u0086", + "D\u0002\u03fa\u03fc\u0005 \u0011\u0002\u03fb\u03fa\u0003\u0002\u0002", + "\u0002\u03fb\u03fc\u0003\u0002\u0002\u0002\u03fc\u03fd\u0003\u0002\u0002", + "\u0002\u03fd\u03fe\u0007u\u0002\u0002\u03fe\u03ff\u0007\u00c5\u0002", + "\u0002\u03ff\u0411\u0003\u0002\u0002\u0002\u0400\u0401\u0007o\u0002", + "\u0002\u0401\u0402\u0007R\u0002\u0002\u0402\u0404\u0005\u0086D\u0002", + "\u0403\u0405\u0005 \u0011\u0002\u0404\u0403\u0003\u0002\u0002\u0002", + "\u0404\u0405\u0003\u0002\u0002\u0002\u0405\u0406\u0003\u0002\u0002\u0002", + "\u0406\u0407\u0007U\u0002\u0002\u0407\u0408\u0007b\u0002\u0002\u0408", + "\u0411\u0003\u0002\u0002\u0002\u0409\u040a\u0007x\u0002\u0002\u040a", + "\u0411\u0007y\u0002\u0002\u040b\u0411\u0007z\u0002\u0002\u040c\u0411", + "\u0007{\u0002\u0002\u040d\u0411\u0007\u00d3\u0002\u0002\u040e\u040f", + "\u0007W\u0002\u0002\u040f\u0411\u0007\u000e\u0002\u0002\u0410\u0366", + "\u0003\u0002\u0002\u0002\u0410\u0368\u0003\u0002\u0002\u0002\u0410\u036a", + "\u0003\u0002\u0002\u0002\u0410\u036e\u0003\u0002\u0002\u0002\u0410\u0372", + "\u0003\u0002\u0002\u0002\u0410\u0374\u0003\u0002\u0002\u0002\u0410\u0379", + "\u0003\u0002\u0002\u0002\u0410\u037b\u0003\u0002\u0002\u0002\u0410\u037d", + "\u0003\u0002\u0002\u0002\u0410\u0380\u0003\u0002\u0002\u0002\u0410\u0382", + "\u0003\u0002\u0002\u0002\u0410\u0384\u0003\u0002\u0002\u0002\u0410\u0386", + "\u0003\u0002\u0002\u0002\u0410\u0389\u0003\u0002\u0002\u0002\u0410\u038b", + "\u0003\u0002\u0002\u0002\u0410\u038d\u0003\u0002\u0002\u0002\u0410\u038f", + "\u0003\u0002\u0002\u0002\u0410\u0391\u0003\u0002\u0002\u0002\u0410\u0393", + "\u0003\u0002\u0002\u0002\u0410\u0395\u0003\u0002\u0002\u0002\u0410\u0397", + "\u0003\u0002\u0002\u0002\u0410\u0399\u0003\u0002\u0002\u0002\u0410\u039b", + "\u0003\u0002\u0002\u0002\u0410\u039d\u0003\u0002\u0002\u0002\u0410\u03a0", + "\u0003\u0002\u0002\u0002\u0410\u03a3\u0003\u0002\u0002\u0002\u0410\u03a9", + "\u0003\u0002\u0002\u0002\u0410\u03af\u0003\u0002\u0002\u0002\u0410\u03b5", + "\u0003\u0002\u0002\u0002\u0410\u03bb\u0003\u0002\u0002\u0002\u0410\u03c1", + "\u0003\u0002\u0002\u0002\u0410\u03c9\u0003\u0002\u0002\u0002\u0410\u03d0", + "\u0003\u0002\u0002\u0002\u0410\u03d6\u0003\u0002\u0002\u0002\u0410\u03dc", + "\u0003\u0002\u0002\u0002\u0410\u03e2\u0003\u0002\u0002\u0002\u0410\u03e7", + "\u0003\u0002\u0002\u0002\u0410\u03ef\u0003\u0002\u0002\u0002\u0410\u03f7", + "\u0003\u0002\u0002\u0002\u0410\u0400\u0003\u0002\u0002\u0002\u0410\u0409", + "\u0003\u0002\u0002\u0002\u0410\u040b\u0003\u0002\u0002\u0002\u0410\u040c", + "\u0003\u0002\u0002\u0002\u0410\u040d\u0003\u0002\u0002\u0002\u0410\u040e", + "\u0003\u0002\u0002\u0002\u0411\u0011\u0003\u0002\u0002\u0002\u0412\u0414", + "\u0007Q\u0002\u0002\u0413\u0415\u0007\u00b8\u0002\u0002\u0414\u0413", + "\u0003\u0002\u0002\u0002\u0414\u0415\u0003\u0002\u0002\u0002\u0415\u0417", + "\u0003\u0002\u0002\u0002\u0416\u0418\u0007\u00da\u0002\u0002\u0417\u0416", + "\u0003\u0002\u0002\u0002\u0417\u0418\u0003\u0002\u0002\u0002\u0418\u0419", + "\u0003\u0002\u0002\u0002\u0419\u041d\u0007R\u0002\u0002\u041a\u041b", + "\u0007\u0081\u0002\u0002\u041b\u041c\u0007\"\u0002\u0002\u041c\u041e", + "\u0007$\u0002\u0002\u041d\u041a\u0003\u0002\u0002\u0002\u041d\u041e", + "\u0003\u0002\u0002\u0002\u041e\u041f\u0003\u0002\u0002\u0002\u041f\u0420", + "\u0005\u0086D\u0002\u0420\u0013\u0003\u0002\u0002\u0002\u0421\u0422", + "\u0007\u00cc\u0002\u0002\u0422\u0423\u0007\u0016\u0002\u0002\u0423\u0427", + "\u0005p9\u0002\u0424\u0425\u0007\u00cd\u0002\u0002\u0425\u0426\u0007", + "\u0016\u0002\u0002\u0426\u0428\u0005t;\u0002\u0427\u0424\u0003\u0002", + "\u0002\u0002\u0427\u0428\u0003\u0002\u0002\u0002\u0428\u0429\u0003\u0002", + "\u0002\u0002\u0429\u042a\u0007X\u0002\u0002\u042a\u042b\u0007\u00f7", + "\u0002\u0002\u042b\u042c\u0007\u00bd\u0002\u0002\u042c\u0015\u0003\u0002", + "\u0002\u0002\u042d\u042e\u0007\u00be\u0002\u0002\u042e\u042f\u0007\u0016", + "\u0002\u0002\u042f\u0430\u0005p9\u0002\u0430\u0433\u0007?\u0002\u0002", + "\u0431\u0434\u00056\u001c\u0002\u0432\u0434\u00058\u001d\u0002\u0433", + "\u0431\u0003\u0002\u0002\u0002\u0433\u0432\u0003\u0002\u0002\u0002\u0434", + "\u0438\u0003\u0002\u0002\u0002\u0435\u0436\u0007\u00bf\u0002\u0002\u0436", + "\u0437\u0007\u0010\u0002\u0002\u0437\u0439\u0007\u00c0\u0002\u0002\u0438", + "\u0435\u0003\u0002\u0002\u0002\u0438\u0439\u0003\u0002\u0002\u0002\u0439", + "\u0017\u0003\u0002\u0002\u0002\u043a\u043b\u0007\u00c1\u0002\u0002\u043b", + "\u043c\u0007\u00f3\u0002\u0002\u043c\u0019\u0003\u0002\u0002\u0002\u043d", + "\u043f\u0005(\u0015\u0002\u043e\u043d\u0003\u0002\u0002\u0002\u043e", + "\u043f\u0003\u0002\u0002\u0002\u043f\u0440\u0003\u0002\u0002\u0002\u0440", + "\u0441\u0005B\"\u0002\u0441\u001b\u0003\u0002\u0002\u0002\u0442\u0443", + "\u0007V\u0002\u0002\u0443\u0444\u0007\u009e\u0002\u0002\u0444\u0445", + "\u0007R\u0002\u0002\u0445\u044c\u0005\u0086D\u0002\u0446\u044a\u0005", + " \u0011\u0002\u0447\u0448\u0007\u0081\u0002\u0002\u0448\u0449\u0007", + "\"\u0002\u0002\u0449\u044b\u0007$\u0002\u0002\u044a\u0447\u0003\u0002", + "\u0002\u0002\u044a\u044b\u0003\u0002\u0002\u0002\u044b\u044d\u0003\u0002", + "\u0002\u0002\u044c\u0446\u0003\u0002\u0002\u0002\u044c\u044d\u0003\u0002", + "\u0002\u0002\u044d\u0473\u0003\u0002\u0002\u0002\u044e\u044f\u0007V", + "\u0002\u0002\u044f\u0451\u0007X\u0002\u0002\u0450\u0452\u0007R\u0002", + "\u0002\u0451\u0450\u0003\u0002\u0002\u0002\u0451\u0452\u0003\u0002\u0002", + "\u0002\u0452\u0453\u0003\u0002\u0002\u0002\u0453\u0455\u0005\u0086D", + "\u0002\u0454\u0456\u0005 \u0011\u0002\u0455\u0454\u0003\u0002\u0002", + "\u0002\u0455\u0456\u0003\u0002\u0002\u0002\u0456\u0473\u0003\u0002\u0002", + "\u0002\u0457\u0458\u0007V\u0002\u0002\u0458\u045a\u0007\u009e\u0002", + "\u0002\u0459\u045b\u0007\u00f0\u0002\u0002\u045a\u0459\u0003\u0002\u0002", + "\u0002\u045a\u045b\u0003\u0002\u0002\u0002\u045b\u045c\u0003\u0002\u0002", + "\u0002\u045c\u045d\u0007S\u0002\u0002\u045d\u045f\u0007\u00f3\u0002", + "\u0002\u045e\u0460\u0005\u0084C\u0002\u045f\u045e\u0003\u0002\u0002", + "\u0002\u045f\u0460\u0003\u0002\u0002\u0002\u0460\u0462\u0003\u0002\u0002", + "\u0002\u0461\u0463\u0005:\u001e\u0002\u0462\u0461\u0003\u0002\u0002", + "\u0002\u0462\u0463\u0003\u0002\u0002\u0002\u0463\u0473\u0003\u0002\u0002", + "\u0002\u0464\u0465\u0007V\u0002\u0002\u0465\u0467\u0007\u009e\u0002", + "\u0002\u0466\u0468\u0007\u00f0\u0002\u0002\u0467\u0466\u0003\u0002\u0002", + "\u0002\u0467\u0468\u0003\u0002\u0002\u0002\u0468\u0469\u0003\u0002\u0002", + "\u0002\u0469\u046b\u0007S\u0002\u0002\u046a\u046c\u0007\u00f3\u0002", + "\u0002\u046b\u046a\u0003\u0002\u0002\u0002\u046b\u046c\u0003\u0002\u0002", + "\u0002\u046c\u046d\u0003\u0002\u0002\u0002\u046d\u0470\u0005,\u0017", + "\u0002\u046e\u046f\u0007\u00b9\u0002\u0002\u046f\u0471\u0005.\u0018", + "\u0002\u0470\u046e\u0003\u0002\u0002\u0002\u0470\u0471\u0003\u0002\u0002", + "\u0002\u0471\u0473\u0003\u0002\u0002\u0002\u0472\u0442\u0003\u0002\u0002", + "\u0002\u0472\u044e\u0003\u0002\u0002\u0002\u0472\u0457\u0003\u0002\u0002", + "\u0002\u0472\u0464\u0003\u0002\u0002\u0002\u0473\u001d\u0003\u0002\u0002", + "\u0002\u0474\u0476\u0005 \u0011\u0002\u0475\u0477\u0005\u0018\r\u0002", + "\u0476\u0475\u0003\u0002\u0002\u0002\u0476\u0477\u0003\u0002\u0002\u0002", + "\u0477\u001f\u0003\u0002\u0002\u0002\u0478\u0479\u0007D\u0002\u0002", + "\u0479\u047a\u0007\u0003\u0002\u0002\u047a\u047f\u0005\"\u0012\u0002", + "\u047b\u047c\u0007\u0006\u0002\u0002\u047c\u047e\u0005\"\u0012\u0002", + "\u047d\u047b\u0003\u0002\u0002\u0002\u047e\u0481\u0003\u0002\u0002\u0002", + "\u047f\u047d\u0003\u0002\u0002\u0002\u047f\u0480\u0003\u0002\u0002\u0002", + "\u0480\u0482\u0003\u0002\u0002\u0002\u0481\u047f\u0003\u0002\u0002\u0002", + "\u0482\u0483\u0007\u0004\u0002\u0002\u0483!\u0003\u0002\u0002\u0002", + "\u0484\u0487\u0005\u00c6d\u0002\u0485\u0486\u0007\u0084\u0002\u0002", + "\u0486\u0488\u0005\u0098M\u0002\u0487\u0485\u0003\u0002\u0002\u0002", + "\u0487\u0488\u0003\u0002\u0002\u0002\u0488#\u0003\u0002\u0002\u0002", + "\u0489\u048f\u0005\u00c4c\u0002\u048a\u048f\u0007\u00f3\u0002\u0002", + "\u048b\u048f\u0005\u009aN\u0002\u048c\u048f\u0005\u009cO\u0002\u048d", + "\u048f\u0005\u009eP\u0002\u048e\u0489\u0003\u0002\u0002\u0002\u048e", + "\u048a\u0003\u0002\u0002\u0002\u048e\u048b\u0003\u0002\u0002\u0002\u048e", + "\u048c\u0003\u0002\u0002\u0002\u048e\u048d\u0003\u0002\u0002\u0002\u048f", + "%\u0003\u0002\u0002\u0002\u0490\u0495\u0005\u00c6d\u0002\u0491\u0492", + "\u0007\u0005\u0002\u0002\u0492\u0494\u0005\u00c6d\u0002\u0493\u0491", + "\u0003\u0002\u0002\u0002\u0494\u0497\u0003\u0002\u0002\u0002\u0495\u0493", + "\u0003\u0002\u0002\u0002\u0495\u0496\u0003\u0002\u0002\u0002\u0496\'", + "\u0003\u0002\u0002\u0002\u0497\u0495\u0003\u0002\u0002\u0002\u0498\u0499", + "\u0007O\u0002\u0002\u0499\u049e\u0005*\u0016\u0002\u049a\u049b\u0007", + "\u0006\u0002\u0002\u049b\u049d\u0005*\u0016\u0002\u049c\u049a\u0003", + "\u0002\u0002\u0002\u049d\u04a0\u0003\u0002\u0002\u0002\u049e\u049c\u0003", + "\u0002\u0002\u0002\u049e\u049f\u0003\u0002\u0002\u0002\u049f)\u0003", + "\u0002\u0002\u0002\u04a0\u049e\u0003\u0002\u0002\u0002\u04a1\u04a3\u0005", + "\u00c6d\u0002\u04a2\u04a4\u0007\u0010\u0002\u0002\u04a3\u04a2\u0003", + "\u0002\u0002\u0002\u04a3\u04a4\u0003\u0002\u0002\u0002\u04a4\u04a5\u0003", + "\u0002\u0002\u0002\u04a5\u04a6\u0007\u0003\u0002\u0002\u04a6\u04a7\u0005", + "\u001a\u000e\u0002\u04a7\u04a8\u0007\u0004\u0002\u0002\u04a8+\u0003", + "\u0002\u0002\u0002\u04a9\u04aa\u0007\u00a1\u0002\u0002\u04aa\u04ab\u0005", + "\u00c4c\u0002\u04ab-\u0003\u0002\u0002\u0002\u04ac\u04ad\u0007\u0003", + "\u0002\u0002\u04ad\u04b2\u00050\u0019\u0002\u04ae\u04af\u0007\u0006", + "\u0002\u0002\u04af\u04b1\u00050\u0019\u0002\u04b0\u04ae\u0003\u0002", + "\u0002\u0002\u04b1\u04b4\u0003\u0002\u0002\u0002\u04b2\u04b0\u0003\u0002", + "\u0002\u0002\u04b2\u04b3\u0003\u0002\u0002\u0002\u04b3\u04b5\u0003\u0002", + "\u0002\u0002\u04b4\u04b2\u0003\u0002\u0002\u0002\u04b5\u04b6\u0007\u0004", + "\u0002\u0002\u04b6/\u0003\u0002\u0002\u0002\u04b7\u04bc\u00052\u001a", + "\u0002\u04b8\u04ba\u0007\u0084\u0002\u0002\u04b9\u04b8\u0003\u0002\u0002", + "\u0002\u04b9\u04ba\u0003\u0002\u0002\u0002\u04ba\u04bb\u0003\u0002\u0002", + "\u0002\u04bb\u04bd\u00054\u001b\u0002\u04bc\u04b9\u0003\u0002\u0002", + "\u0002\u04bc\u04bd\u0003\u0002\u0002\u0002\u04bd1\u0003\u0002\u0002", + "\u0002\u04be\u04c3\u0005\u00c6d\u0002\u04bf\u04c0\u0007\u0005\u0002", + "\u0002\u04c0\u04c2\u0005\u00c6d\u0002\u04c1\u04bf\u0003\u0002\u0002", + "\u0002\u04c2\u04c5\u0003\u0002\u0002\u0002\u04c3\u04c1\u0003\u0002\u0002", + "\u0002\u04c3\u04c4\u0003\u0002\u0002\u0002\u04c4\u04c8\u0003\u0002\u0002", + "\u0002\u04c5\u04c3\u0003\u0002\u0002\u0002\u04c6\u04c8\u0007\u00f3\u0002", + "\u0002\u04c7\u04be\u0003\u0002\u0002\u0002\u04c7\u04c6\u0003\u0002\u0002", + "\u0002\u04c83\u0003\u0002\u0002\u0002\u04c9\u04ce\u0007\u00f7\u0002", + "\u0002\u04ca\u04ce\u0007\u00f8\u0002\u0002\u04cb\u04ce\u0005\u00a0Q", + "\u0002\u04cc\u04ce\u0007\u00f3\u0002\u0002\u04cd\u04c9\u0003\u0002\u0002", + "\u0002\u04cd\u04ca\u0003\u0002\u0002\u0002\u04cd\u04cb\u0003\u0002\u0002", + "\u0002\u04cd\u04cc\u0003\u0002\u0002\u0002\u04ce5\u0003\u0002\u0002", + "\u0002\u04cf\u04d0\u0007\u0003\u0002\u0002\u04d0\u04d5\u0005\u0098M", + "\u0002\u04d1\u04d2\u0007\u0006\u0002\u0002\u04d2\u04d4\u0005\u0098M", + "\u0002\u04d3\u04d1\u0003\u0002\u0002\u0002\u04d4\u04d7\u0003\u0002\u0002", + "\u0002\u04d5\u04d3\u0003\u0002\u0002\u0002\u04d5\u04d6\u0003\u0002\u0002", + "\u0002\u04d6\u04d8\u0003\u0002\u0002\u0002\u04d7\u04d5\u0003\u0002\u0002", + "\u0002\u04d8\u04d9\u0007\u0004\u0002\u0002\u04d97\u0003\u0002\u0002", + "\u0002\u04da\u04db\u0007\u0003\u0002\u0002\u04db\u04e0\u00056\u001c", + "\u0002\u04dc\u04dd\u0007\u0006\u0002\u0002\u04dd\u04df\u00056\u001c", + "\u0002\u04de\u04dc\u0003\u0002\u0002\u0002\u04df\u04e2\u0003\u0002\u0002", + "\u0002\u04e0\u04de\u0003\u0002\u0002\u0002\u04e0\u04e1\u0003\u0002\u0002", + "\u0002\u04e1\u04e3\u0003\u0002\u0002\u0002\u04e2\u04e0\u0003\u0002\u0002", + "\u0002\u04e3\u04e4\u0007\u0004\u0002\u0002\u04e49\u0003\u0002\u0002", + "\u0002\u04e5\u04e6\u0007\u00bf\u0002\u0002\u04e6\u04e7\u0007\u0010\u0002", + "\u0002\u04e7\u04ec\u0005<\u001f\u0002\u04e8\u04e9\u0007\u00bf\u0002", + "\u0002\u04e9\u04ea\u0007\u0016\u0002\u0002\u04ea\u04ec\u0005> \u0002", + "\u04eb\u04e5\u0003\u0002\u0002\u0002\u04eb\u04e8\u0003\u0002\u0002\u0002", + "\u04ec;\u0003\u0002\u0002\u0002\u04ed\u04ee\u0007\u00cf\u0002\u0002", + "\u04ee\u04ef\u0007\u00f3\u0002\u0002\u04ef\u04f0\u0007\u00d0\u0002\u0002", + "\u04f0\u04f3\u0007\u00f3\u0002\u0002\u04f1\u04f3\u0005\u00c6d\u0002", + "\u04f2\u04ed\u0003\u0002\u0002\u0002\u04f2\u04f1\u0003\u0002\u0002\u0002", + "\u04f3=\u0003\u0002\u0002\u0002\u04f4\u04f8\u0007\u00f3\u0002\u0002", + "\u04f5\u04f6\u0007O\u0002\u0002\u04f6\u04f7\u0007\u00a3\u0002\u0002", + "\u04f7\u04f9\u0005.\u0018\u0002\u04f8\u04f5\u0003\u0002\u0002\u0002", + "\u04f8\u04f9\u0003\u0002\u0002\u0002\u04f9?\u0003\u0002\u0002\u0002", + "\u04fa\u04fb\u0005\u00c6d\u0002\u04fb\u04fc\u0007\u00f3\u0002\u0002", + "\u04fcA\u0003\u0002\u0002\u0002\u04fd\u04ff\u0005\u001c\u000f\u0002", + "\u04fe\u04fd\u0003\u0002\u0002\u0002\u04fe\u04ff\u0003\u0002\u0002\u0002", + "\u04ff\u0500\u0003\u0002\u0002\u0002\u0500\u0501\u0005H%\u0002\u0501", + "\u0502\u0005D#\u0002\u0502\u050a\u0003\u0002\u0002\u0002\u0503\u0505", + "\u0005T+\u0002\u0504\u0506\u0005F$\u0002\u0505\u0504\u0003\u0002\u0002", + "\u0002\u0506\u0507\u0003\u0002\u0002\u0002\u0507\u0505\u0003\u0002\u0002", + "\u0002\u0507\u0508\u0003\u0002\u0002\u0002\u0508\u050a\u0003\u0002\u0002", + "\u0002\u0509\u04fe\u0003\u0002\u0002\u0002\u0509\u0503\u0003\u0002\u0002", + "\u0002\u050aC\u0003\u0002\u0002\u0002\u050b\u050c\u0007\u001b\u0002", + "\u0002\u050c\u050d\u0007\u0016\u0002\u0002\u050d\u0512\u0005L\'\u0002", + "\u050e\u050f\u0007\u0006\u0002\u0002\u050f\u0511\u0005L\'\u0002\u0510", + "\u050e\u0003\u0002\u0002\u0002\u0511\u0514\u0003\u0002\u0002\u0002\u0512", + "\u0510\u0003\u0002\u0002\u0002\u0512\u0513\u0003\u0002\u0002\u0002\u0513", + "\u0516\u0003\u0002\u0002\u0002\u0514\u0512\u0003\u0002\u0002\u0002\u0515", + "\u050b\u0003\u0002\u0002\u0002\u0515\u0516\u0003\u0002\u0002\u0002\u0516", + "\u0521\u0003\u0002\u0002\u0002\u0517\u0518\u0007\u009c\u0002\u0002\u0518", + "\u0519\u0007\u0016\u0002\u0002\u0519\u051e\u0005\u008eH\u0002\u051a", + "\u051b\u0007\u0006\u0002\u0002\u051b\u051d\u0005\u008eH\u0002\u051c", + "\u051a\u0003\u0002\u0002\u0002\u051d\u0520\u0003\u0002\u0002\u0002\u051e", + "\u051c\u0003\u0002\u0002\u0002\u051e\u051f\u0003\u0002\u0002\u0002\u051f", + "\u0522\u0003\u0002\u0002\u0002\u0520\u051e\u0003\u0002\u0002\u0002\u0521", + "\u0517\u0003\u0002\u0002\u0002\u0521\u0522\u0003\u0002\u0002\u0002\u0522", + "\u052d\u0003\u0002\u0002\u0002\u0523\u0524\u0007\u009d\u0002\u0002\u0524", + "\u0525\u0007\u0016\u0002\u0002\u0525\u052a\u0005\u008eH\u0002\u0526", + "\u0527\u0007\u0006\u0002\u0002\u0527\u0529\u0005\u008eH\u0002\u0528", + "\u0526\u0003\u0002\u0002\u0002\u0529\u052c\u0003\u0002\u0002\u0002\u052a", + "\u0528\u0003\u0002\u0002\u0002\u052a\u052b\u0003\u0002\u0002\u0002\u052b", + "\u052e\u0003\u0002\u0002\u0002\u052c\u052a\u0003\u0002\u0002\u0002\u052d", + "\u0523\u0003\u0002\u0002\u0002\u052d\u052e\u0003\u0002\u0002\u0002\u052e", + "\u0539\u0003\u0002\u0002\u0002\u052f\u0530\u0007\u009b\u0002\u0002\u0530", + "\u0531\u0007\u0016\u0002\u0002\u0531\u0536\u0005L\'\u0002\u0532\u0533", + "\u0007\u0006\u0002\u0002\u0533\u0535\u0005L\'\u0002\u0534\u0532\u0003", + "\u0002\u0002\u0002\u0535\u0538\u0003\u0002\u0002\u0002\u0536\u0534\u0003", + "\u0002\u0002\u0002\u0536\u0537\u0003\u0002\u0002\u0002\u0537\u053a\u0003", + "\u0002\u0002\u0002\u0538\u0536\u0003\u0002\u0002\u0002\u0539\u052f\u0003", + "\u0002\u0002\u0002\u0539\u053a\u0003\u0002\u0002\u0002\u053a\u053c\u0003", + "\u0002\u0002\u0002\u053b\u053d\u0005\u00ba^\u0002\u053c\u053b\u0003", + "\u0002\u0002\u0002\u053c\u053d\u0003\u0002\u0002\u0002\u053d\u0543\u0003", + "\u0002\u0002\u0002\u053e\u0541\u0007\u001d\u0002\u0002\u053f\u0542\u0007", + "\u0011\u0002\u0002\u0540\u0542\u0005\u008eH\u0002\u0541\u053f\u0003", + "\u0002\u0002\u0002\u0541\u0540\u0003\u0002\u0002\u0002\u0542\u0544\u0003", + "\u0002\u0002\u0002\u0543\u053e\u0003\u0002\u0002\u0002\u0543\u0544\u0003", + "\u0002\u0002\u0002\u0544E\u0003\u0002\u0002\u0002\u0545\u0547\u0005", + "\u001c\u000f\u0002\u0546\u0545\u0003\u0002\u0002\u0002\u0546\u0547\u0003", + "\u0002\u0002\u0002\u0547\u0548\u0003\u0002\u0002\u0002\u0548\u0549\u0005", + "N(\u0002\u0549\u054a\u0005D#\u0002\u054aG\u0003\u0002\u0002\u0002\u054b", + "\u054c\b%\u0001\u0002\u054c\u054d\u0005J&\u0002\u054d\u0565\u0003\u0002", + "\u0002\u0002\u054e\u054f\f\u0005\u0002\u0002\u054f\u0550\u0006%\u0003", + "\u0002\u0550\u0552\t\t\u0002\u0002\u0551\u0553\u0005b2\u0002\u0552\u0551", + "\u0003\u0002\u0002\u0002\u0552\u0553\u0003\u0002\u0002\u0002\u0553\u0554", + "\u0003\u0002\u0002\u0002\u0554\u0564\u0005H%\u0006\u0555\u0556\f\u0004", + "\u0002\u0002\u0556\u0557\u0006%\u0005\u0002\u0557\u0559\u0007k\u0002", + "\u0002\u0558\u055a\u0005b2\u0002\u0559\u0558\u0003\u0002\u0002\u0002", + "\u0559\u055a\u0003\u0002\u0002\u0002\u055a\u055b\u0003\u0002\u0002\u0002", + "\u055b\u0564\u0005H%\u0005\u055c\u055d\f\u0003\u0002\u0002\u055d\u055e", + "\u0006%\u0007\u0002\u055e\u0560\t\n\u0002\u0002\u055f\u0561\u0005b2", + "\u0002\u0560\u055f\u0003\u0002\u0002\u0002\u0560\u0561\u0003\u0002\u0002", + "\u0002\u0561\u0562\u0003\u0002\u0002\u0002\u0562\u0564\u0005H%\u0004", + "\u0563\u054e\u0003\u0002\u0002\u0002\u0563\u0555\u0003\u0002\u0002\u0002", + "\u0563\u055c\u0003\u0002\u0002\u0002\u0564\u0567\u0003\u0002\u0002\u0002", + "\u0565\u0563\u0003\u0002\u0002\u0002\u0565\u0566\u0003\u0002\u0002\u0002", + "\u0566I\u0003\u0002\u0002\u0002\u0567\u0565\u0003\u0002\u0002\u0002", + "\u0568\u0571\u0005N(\u0002\u0569\u056a\u0007R\u0002\u0002\u056a\u0571", + "\u0005\u0086D\u0002\u056b\u0571\u0005~@\u0002\u056c\u056d\u0007\u0003", + "\u0002\u0002\u056d\u056e\u0005B\"\u0002\u056e\u056f\u0007\u0004\u0002", + "\u0002\u056f\u0571\u0003\u0002\u0002\u0002\u0570\u0568\u0003\u0002\u0002", + "\u0002\u0570\u0569\u0003\u0002\u0002\u0002\u0570\u056b\u0003\u0002\u0002", + "\u0002\u0570\u056c\u0003\u0002\u0002\u0002\u0571K\u0003\u0002\u0002", + "\u0002\u0572\u0574\u0005\u008eH\u0002\u0573\u0575\t\u000b\u0002\u0002", + "\u0574\u0573\u0003\u0002\u0002\u0002\u0574\u0575\u0003\u0002\u0002\u0002", + "\u0575\u0578\u0003\u0002\u0002\u0002\u0576\u0577\u0007,\u0002\u0002", + "\u0577\u0579\t\f\u0002\u0002\u0578\u0576\u0003\u0002\u0002\u0002\u0578", + "\u0579\u0003\u0002\u0002\u0002\u0579M\u0003\u0002\u0002\u0002\u057a", + "\u057b\u0007\r\u0002\u0002\u057b\u057c\u0007\u009f\u0002\u0002\u057c", + "\u057d\u0007\u0003\u0002\u0002\u057d\u057e\u0005\u008cG\u0002\u057e", + "\u057f\u0007\u0004\u0002\u0002\u057f\u0585\u0003\u0002\u0002\u0002\u0580", + "\u0581\u0007r\u0002\u0002\u0581\u0585\u0005\u008cG\u0002\u0582\u0583", + "\u0007\u00a0\u0002\u0002\u0583\u0585\u0005\u008cG\u0002\u0584\u057a", + "\u0003\u0002\u0002\u0002\u0584\u0580\u0003\u0002\u0002\u0002\u0584\u0582", + "\u0003\u0002\u0002\u0002\u0585\u0587\u0003\u0002\u0002\u0002\u0586\u0588", + "\u0005\u0084C\u0002\u0587\u0586\u0003\u0002\u0002\u0002\u0587\u0588", + "\u0003\u0002\u0002\u0002\u0588\u058b\u0003\u0002\u0002\u0002\u0589\u058a", + "\u0007\u00a5\u0002\u0002\u058a\u058c\u0007\u00f3\u0002\u0002\u058b\u0589", + "\u0003\u0002\u0002\u0002\u058b\u058c\u0003\u0002\u0002\u0002\u058c\u058d", + "\u0003\u0002\u0002\u0002\u058d\u058e\u0007\u00a1\u0002\u0002\u058e\u059b", + "\u0007\u00f3\u0002\u0002\u058f\u0599\u0007\u0010\u0002\u0002\u0590\u059a", + "\u0005r:\u0002\u0591\u059a\u0005\u00acW\u0002\u0592\u0595\u0007\u0003", + "\u0002\u0002\u0593\u0596\u0005r:\u0002\u0594\u0596\u0005\u00acW\u0002", + "\u0595\u0593\u0003\u0002\u0002\u0002\u0595\u0594\u0003\u0002\u0002\u0002", + "\u0596\u0597\u0003\u0002\u0002\u0002\u0597\u0598\u0007\u0004\u0002\u0002", + "\u0598\u059a\u0003\u0002\u0002\u0002\u0599\u0590\u0003\u0002\u0002\u0002", + "\u0599\u0591\u0003\u0002\u0002\u0002\u0599\u0592\u0003\u0002\u0002\u0002", + "\u059a\u059c\u0003\u0002\u0002\u0002\u059b\u058f\u0003\u0002\u0002\u0002", + "\u059b\u059c\u0003\u0002\u0002\u0002\u059c\u059e\u0003\u0002\u0002\u0002", + "\u059d\u059f\u0005\u0084C\u0002\u059e\u059d\u0003\u0002\u0002\u0002", + "\u059e\u059f\u0003\u0002\u0002\u0002\u059f\u05a2\u0003\u0002\u0002\u0002", + "\u05a0\u05a1\u0007\u00a4\u0002\u0002\u05a1\u05a3\u0007\u00f3\u0002\u0002", + "\u05a2\u05a0\u0003\u0002\u0002\u0002\u05a2\u05a3\u0003\u0002\u0002\u0002", + "\u05a3\u05a5\u0003\u0002\u0002\u0002\u05a4\u05a6\u0005T+\u0002\u05a5", + "\u05a4\u0003\u0002\u0002\u0002\u05a5\u05a6\u0003\u0002\u0002\u0002\u05a6", + "\u05a9\u0003\u0002\u0002\u0002\u05a7\u05a8\u0007\u0014\u0002\u0002\u05a8", + "\u05aa\u0005\u0090I\u0002\u05a9\u05a7\u0003\u0002\u0002\u0002\u05a9", + "\u05aa\u0003\u0002\u0002\u0002\u05aa\u05d8\u0003\u0002\u0002\u0002\u05ab", + "\u05af\u0007\r\u0002\u0002\u05ac\u05ae\u0005P)\u0002\u05ad\u05ac\u0003", + "\u0002\u0002\u0002\u05ae\u05b1\u0003\u0002\u0002\u0002\u05af\u05ad\u0003", + "\u0002\u0002\u0002\u05af\u05b0\u0003\u0002\u0002\u0002\u05b0\u05b3\u0003", + "\u0002\u0002\u0002\u05b1\u05af\u0003\u0002\u0002\u0002\u05b2\u05b4\u0005", + "b2\u0002\u05b3\u05b2\u0003\u0002\u0002\u0002\u05b3\u05b4\u0003\u0002", + "\u0002\u0002\u05b4\u05b5\u0003\u0002\u0002\u0002\u05b5\u05b7\u0005\u008c", + "G\u0002\u05b6\u05b8\u0005T+\u0002\u05b7\u05b6\u0003\u0002\u0002\u0002", + "\u05b7\u05b8\u0003\u0002\u0002\u0002\u05b8\u05c2\u0003\u0002\u0002\u0002", + "\u05b9\u05bf\u0005T+\u0002\u05ba\u05bc\u0007\r\u0002\u0002\u05bb\u05bd", + "\u0005b2\u0002\u05bc\u05bb\u0003\u0002\u0002\u0002\u05bc\u05bd\u0003", + "\u0002\u0002\u0002\u05bd\u05be\u0003\u0002\u0002\u0002\u05be\u05c0\u0005", + "\u008cG\u0002\u05bf\u05ba\u0003\u0002\u0002\u0002\u05bf\u05c0\u0003", + "\u0002\u0002\u0002\u05c0\u05c2\u0003\u0002\u0002\u0002\u05c1\u05ab\u0003", + "\u0002\u0002\u0002\u05c1\u05b9\u0003\u0002\u0002\u0002\u05c2\u05c6\u0003", + "\u0002\u0002\u0002\u05c3\u05c5\u0005`1\u0002\u05c4\u05c3\u0003\u0002", + "\u0002\u0002\u05c5\u05c8\u0003\u0002\u0002\u0002\u05c6\u05c4\u0003\u0002", + "\u0002\u0002\u05c6\u05c7\u0003\u0002\u0002\u0002\u05c7\u05cb\u0003\u0002", + "\u0002\u0002\u05c8\u05c6\u0003\u0002\u0002\u0002\u05c9\u05ca\u0007\u0014", + "\u0002\u0002\u05ca\u05cc\u0005\u0090I\u0002\u05cb\u05c9\u0003\u0002", + "\u0002\u0002\u05cb\u05cc\u0003\u0002\u0002\u0002\u05cc\u05ce\u0003\u0002", + "\u0002\u0002\u05cd\u05cf\u0005V,\u0002\u05ce\u05cd\u0003\u0002\u0002", + "\u0002\u05ce\u05cf\u0003\u0002\u0002\u0002\u05cf\u05d2\u0003\u0002\u0002", + "\u0002\u05d0\u05d1\u0007\u001c\u0002\u0002\u05d1\u05d3\u0005\u0090I", + "\u0002\u05d2\u05d0\u0003\u0002\u0002\u0002\u05d2\u05d3\u0003\u0002\u0002", + "\u0002\u05d3\u05d5\u0003\u0002\u0002\u0002\u05d4\u05d6\u0005\u00ba^", + "\u0002\u05d5\u05d4\u0003\u0002\u0002\u0002\u05d5\u05d6\u0003\u0002\u0002", + "\u0002\u05d6\u05d8\u0003\u0002\u0002\u0002\u05d7\u0584\u0003\u0002\u0002", + "\u0002\u05d7\u05c1\u0003\u0002\u0002\u0002\u05d8O\u0003\u0002\u0002", + "\u0002\u05d9\u05da\u0007\u0007\u0002\u0002\u05da\u05e1\u0005R*\u0002", + "\u05db\u05dd\u0007\u0006\u0002\u0002\u05dc\u05db\u0003\u0002\u0002\u0002", + "\u05dc\u05dd\u0003\u0002\u0002\u0002\u05dd\u05de\u0003\u0002\u0002\u0002", + "\u05de\u05e0\u0005R*\u0002\u05df\u05dc\u0003\u0002\u0002\u0002\u05e0", + "\u05e3\u0003\u0002\u0002\u0002\u05e1\u05df\u0003\u0002\u0002\u0002\u05e1", + "\u05e2\u0003\u0002\u0002\u0002\u05e2\u05e4\u0003\u0002\u0002\u0002\u05e3", + "\u05e1\u0003\u0002\u0002\u0002\u05e4\u05e5\u0007\b\u0002\u0002\u05e5", + "Q\u0003\u0002\u0002\u0002\u05e6\u05f4\u0005\u00c6d\u0002\u05e7\u05e8", + "\u0005\u00c6d\u0002\u05e8\u05e9\u0007\u0003\u0002\u0002\u05e9\u05ee", + "\u0005\u0096L\u0002\u05ea\u05eb\u0007\u0006\u0002\u0002\u05eb\u05ed", + "\u0005\u0096L\u0002\u05ec\u05ea\u0003\u0002\u0002\u0002\u05ed\u05f0", + "\u0003\u0002\u0002\u0002\u05ee\u05ec\u0003\u0002\u0002\u0002\u05ee\u05ef", + "\u0003\u0002\u0002\u0002\u05ef\u05f1\u0003\u0002\u0002\u0002\u05f0\u05ee", + "\u0003\u0002\u0002\u0002\u05f1\u05f2\u0007\u0004\u0002\u0002\u05f2\u05f4", + "\u0003\u0002\u0002\u0002\u05f3\u05e6\u0003\u0002\u0002\u0002\u05f3\u05e7", + "\u0003\u0002\u0002\u0002\u05f4S\u0003\u0002\u0002\u0002\u05f5\u05f6", + "\u0007\u000e\u0002\u0002\u05f6\u05fb\u0005d3\u0002\u05f7\u05f8\u0007", + "\u0006\u0002\u0002\u05f8\u05fa\u0005d3\u0002\u05f9\u05f7\u0003\u0002", + "\u0002\u0002\u05fa\u05fd\u0003\u0002\u0002\u0002\u05fb\u05f9\u0003\u0002", + "\u0002\u0002\u05fb\u05fc\u0003\u0002\u0002\u0002\u05fc\u0601\u0003\u0002", + "\u0002\u0002\u05fd\u05fb\u0003\u0002\u0002\u0002\u05fe\u0600\u0005`", + "1\u0002\u05ff\u05fe\u0003\u0002\u0002\u0002\u0600\u0603\u0003\u0002", + "\u0002\u0002\u0601\u05ff\u0003\u0002\u0002\u0002\u0601\u0602\u0003\u0002", + "\u0002\u0002\u0602\u0605\u0003\u0002\u0002\u0002\u0603\u0601\u0003\u0002", + "\u0002\u0002\u0604\u0606\u0005Z.\u0002\u0605\u0604\u0003\u0002\u0002", + "\u0002\u0605\u0606\u0003\u0002\u0002\u0002\u0606U\u0003\u0002\u0002", + "\u0002\u0607\u0608\u0007\u0015\u0002\u0002\u0608\u0609\u0007\u0016\u0002", + "\u0002\u0609\u060e\u0005\u008eH\u0002\u060a\u060b\u0007\u0006\u0002", + "\u0002\u060b\u060d\u0005\u008eH\u0002\u060c\u060a\u0003\u0002\u0002", + "\u0002\u060d\u0610\u0003\u0002\u0002\u0002\u060e\u060c\u0003\u0002\u0002", + "\u0002\u060e\u060f\u0003\u0002\u0002\u0002\u060f\u0622\u0003\u0002\u0002", + "\u0002\u0610\u060e\u0003\u0002\u0002\u0002\u0611\u0612\u0007O\u0002", + "\u0002\u0612\u0623\u0007\u001a\u0002\u0002\u0613\u0614\u0007O\u0002", + "\u0002\u0614\u0623\u0007\u0019\u0002\u0002\u0615\u0616\u0007\u0017\u0002", + "\u0002\u0616\u0617\u0007\u0018\u0002\u0002\u0617\u0618\u0007\u0003\u0002", + "\u0002\u0618\u061d\u0005X-\u0002\u0619\u061a\u0007\u0006\u0002\u0002", + "\u061a\u061c\u0005X-\u0002\u061b\u0619\u0003\u0002\u0002\u0002\u061c", + "\u061f\u0003\u0002\u0002\u0002\u061d\u061b\u0003\u0002\u0002\u0002\u061d", + "\u061e\u0003\u0002\u0002\u0002\u061e\u0620\u0003\u0002\u0002\u0002\u061f", + "\u061d\u0003\u0002\u0002\u0002\u0620\u0621\u0007\u0004\u0002\u0002\u0621", + "\u0623\u0003\u0002\u0002\u0002\u0622\u0611\u0003\u0002\u0002\u0002\u0622", + "\u0613\u0003\u0002\u0002\u0002\u0622\u0615\u0003\u0002\u0002\u0002\u0622", + "\u0623\u0003\u0002\u0002\u0002\u0623\u0634\u0003\u0002\u0002\u0002\u0624", + "\u0625\u0007\u0015\u0002\u0002\u0625\u0626\u0007\u0016\u0002\u0002\u0626", + "\u0627\u0007\u0017\u0002\u0002\u0627\u0628\u0007\u0018\u0002\u0002\u0628", + "\u0629\u0007\u0003\u0002\u0002\u0629\u062e\u0005X-\u0002\u062a\u062b", + "\u0007\u0006\u0002\u0002\u062b\u062d\u0005X-\u0002\u062c\u062a\u0003", + "\u0002\u0002\u0002\u062d\u0630\u0003\u0002\u0002\u0002\u062e\u062c\u0003", + "\u0002\u0002\u0002\u062e\u062f\u0003\u0002\u0002\u0002\u062f\u0631\u0003", + "\u0002\u0002\u0002\u0630\u062e\u0003\u0002\u0002\u0002\u0631\u0632\u0007", + "\u0004\u0002\u0002\u0632\u0634\u0003\u0002\u0002\u0002\u0633\u0607\u0003", + "\u0002\u0002\u0002\u0633\u0624\u0003\u0002\u0002\u0002\u0634W\u0003", + "\u0002\u0002\u0002\u0635\u063e\u0007\u0003\u0002\u0002\u0636\u063b\u0005", + "\u008eH\u0002\u0637\u0638\u0007\u0006\u0002\u0002\u0638\u063a\u0005", + "\u008eH\u0002\u0639\u0637\u0003\u0002\u0002\u0002\u063a\u063d\u0003", + "\u0002\u0002\u0002\u063b\u0639\u0003\u0002\u0002\u0002\u063b\u063c\u0003", + "\u0002\u0002\u0002\u063c\u063f\u0003\u0002\u0002\u0002\u063d\u063b\u0003", + "\u0002\u0002\u0002\u063e\u0636\u0003\u0002\u0002\u0002\u063e\u063f\u0003", + "\u0002\u0002\u0002\u063f\u0640\u0003\u0002\u0002\u0002\u0640\u0643\u0007", + "\u0004\u0002\u0002\u0641\u0643\u0005\u008eH\u0002\u0642\u0635\u0003", + "\u0002\u0002\u0002\u0642\u0641\u0003\u0002\u0002\u0002\u0643Y\u0003", + "\u0002\u0002\u0002\u0644\u0645\u0007@\u0002\u0002\u0645\u0646\u0007", + "\u0003\u0002\u0002\u0646\u0647\u0005\u008cG\u0002\u0647\u0648\u0007", + "/\u0002\u0002\u0648\u0649\u0005\\/\u0002\u0649\u064a\u0007!\u0002\u0002", + "\u064a\u064b\u0007\u0003\u0002\u0002\u064b\u0650\u0005^0\u0002\u064c", + "\u064d\u0007\u0006\u0002\u0002\u064d\u064f\u0005^0\u0002\u064e\u064c", + "\u0003\u0002\u0002\u0002\u064f\u0652\u0003\u0002\u0002\u0002\u0650\u064e", + "\u0003\u0002\u0002\u0002\u0650\u0651\u0003\u0002\u0002\u0002\u0651\u0653", + "\u0003\u0002\u0002\u0002\u0652\u0650\u0003\u0002\u0002\u0002\u0653\u0654", + "\u0007\u0004\u0002\u0002\u0654\u0655\u0007\u0004\u0002\u0002\u0655[", + "\u0003\u0002\u0002\u0002\u0656\u0663\u0005\u00c6d\u0002\u0657\u0658", + "\u0007\u0003\u0002\u0002\u0658\u065d\u0005\u00c6d\u0002\u0659\u065a", + "\u0007\u0006\u0002\u0002\u065a\u065c\u0005\u00c6d\u0002\u065b\u0659", + "\u0003\u0002\u0002\u0002\u065c\u065f\u0003\u0002\u0002\u0002\u065d\u065b", + "\u0003\u0002\u0002\u0002\u065d\u065e\u0003\u0002\u0002\u0002\u065e\u0660", + "\u0003\u0002\u0002\u0002\u065f\u065d\u0003\u0002\u0002\u0002\u0660\u0661", + "\u0007\u0004\u0002\u0002\u0661\u0663\u0003\u0002\u0002\u0002\u0662\u0656", + "\u0003\u0002\u0002\u0002\u0662\u0657\u0003\u0002\u0002\u0002\u0663]", + "\u0003\u0002\u0002\u0002\u0664\u0669\u0005\u008eH\u0002\u0665\u0667", + "\u0007\u0010\u0002\u0002\u0666\u0665\u0003\u0002\u0002\u0002\u0666\u0667", + "\u0003\u0002\u0002\u0002\u0667\u0668\u0003\u0002\u0002\u0002\u0668\u066a", + "\u0005\u00c6d\u0002\u0669\u0666\u0003\u0002\u0002\u0002\u0669\u066a", + "\u0003\u0002\u0002\u0002\u066a_\u0003\u0002\u0002\u0002\u066b\u066c", + "\u0007A\u0002\u0002\u066c\u066e\u0007T\u0002\u0002\u066d\u066f\u0007", + "8\u0002\u0002\u066e\u066d\u0003\u0002\u0002\u0002\u066e\u066f\u0003", + "\u0002\u0002\u0002\u066f\u0670\u0003\u0002\u0002\u0002\u0670\u0671\u0005", + "\u00c4c\u0002\u0671\u067a\u0007\u0003\u0002\u0002\u0672\u0677\u0005", + "\u008eH\u0002\u0673\u0674\u0007\u0006\u0002\u0002\u0674\u0676\u0005", + "\u008eH\u0002\u0675\u0673\u0003\u0002\u0002\u0002\u0676\u0679\u0003", + "\u0002\u0002\u0002\u0677\u0675\u0003\u0002\u0002\u0002\u0677\u0678\u0003", + "\u0002\u0002\u0002\u0678\u067b\u0003\u0002\u0002\u0002\u0679\u0677\u0003", + "\u0002\u0002\u0002\u067a\u0672\u0003\u0002\u0002\u0002\u067a\u067b\u0003", + "\u0002\u0002\u0002\u067b\u067c\u0003\u0002\u0002\u0002\u067c\u067d\u0007", + "\u0004\u0002\u0002\u067d\u0689\u0005\u00c6d\u0002\u067e\u0680\u0007", + "\u0010\u0002\u0002\u067f\u067e\u0003\u0002\u0002\u0002\u067f\u0680\u0003", + "\u0002\u0002\u0002\u0680\u0681\u0003\u0002\u0002\u0002\u0681\u0686\u0005", + "\u00c6d\u0002\u0682\u0683\u0007\u0006\u0002\u0002\u0683\u0685\u0005", + "\u00c6d\u0002\u0684\u0682\u0003\u0002\u0002\u0002\u0685\u0688\u0003", + "\u0002\u0002\u0002\u0686\u0684\u0003\u0002\u0002\u0002\u0686\u0687\u0003", + "\u0002\u0002\u0002\u0687\u068a\u0003\u0002\u0002\u0002\u0688\u0686\u0003", + "\u0002\u0002\u0002\u0689\u067f\u0003\u0002\u0002\u0002\u0689\u068a\u0003", + "\u0002\u0002\u0002\u068aa\u0003\u0002\u0002\u0002\u068b\u068c\t\r\u0002", + "\u0002\u068cc\u0003\u0002\u0002\u0002\u068d\u0691\u0005|?\u0002\u068e", + "\u0690\u0005f4\u0002\u068f\u068e\u0003\u0002\u0002\u0002\u0690\u0693", + "\u0003\u0002\u0002\u0002\u0691\u068f\u0003\u0002\u0002\u0002\u0691\u0692", + "\u0003\u0002\u0002\u0002\u0692e\u0003\u0002\u0002\u0002\u0693\u0691", + "\u0003\u0002\u0002\u0002\u0694\u0695\u0005h5\u0002\u0695\u0696\u0007", + "6\u0002\u0002\u0696\u0698\u0005|?\u0002\u0697\u0699\u0005j6\u0002\u0698", + "\u0697\u0003\u0002\u0002\u0002\u0698\u0699\u0003\u0002\u0002\u0002\u0699", + "\u06a0\u0003\u0002\u0002\u0002\u069a\u069b\u0007>\u0002\u0002\u069b", + "\u069c\u0005h5\u0002\u069c\u069d\u00076\u0002\u0002\u069d\u069e\u0005", + "|?\u0002\u069e\u06a0\u0003\u0002\u0002\u0002\u069f\u0694\u0003\u0002", + "\u0002\u0002\u069f\u069a\u0003\u0002\u0002\u0002\u06a0g\u0003\u0002", + "\u0002\u0002\u06a1\u06a3\u00079\u0002\u0002\u06a2\u06a1\u0003\u0002", + "\u0002\u0002\u06a2\u06a3\u0003\u0002\u0002\u0002\u06a3\u06b8\u0003\u0002", + "\u0002\u0002\u06a4\u06b8\u00077\u0002\u0002\u06a5\u06a7\u0007:\u0002", + "\u0002\u06a6\u06a8\u00078\u0002\u0002\u06a7\u06a6\u0003\u0002\u0002", + "\u0002\u06a7\u06a8\u0003\u0002\u0002\u0002\u06a8\u06b8\u0003\u0002\u0002", + "\u0002\u06a9\u06aa\u0007:\u0002\u0002\u06aa\u06b8\u0007;\u0002\u0002", + "\u06ab\u06ad\u0007<\u0002\u0002\u06ac\u06ae\u00078\u0002\u0002\u06ad", + "\u06ac\u0003\u0002\u0002\u0002\u06ad\u06ae\u0003\u0002\u0002\u0002\u06ae", + "\u06b8\u0003\u0002\u0002\u0002\u06af\u06b1\u0007=\u0002\u0002\u06b0", + "\u06b2\u00078\u0002\u0002\u06b1\u06b0\u0003\u0002\u0002\u0002\u06b1", + "\u06b2\u0003\u0002\u0002\u0002\u06b2\u06b8\u0003\u0002\u0002\u0002\u06b3", + "\u06b5\u0007:\u0002\u0002\u06b4\u06b3\u0003\u0002\u0002\u0002\u06b4", + "\u06b5\u0003\u0002\u0002\u0002\u06b5\u06b6\u0003\u0002\u0002\u0002\u06b6", + "\u06b8\u0007\u00ef\u0002\u0002\u06b7\u06a2\u0003\u0002\u0002\u0002\u06b7", + "\u06a4\u0003\u0002\u0002\u0002\u06b7\u06a5\u0003\u0002\u0002\u0002\u06b7", + "\u06a9\u0003\u0002\u0002\u0002\u06b7\u06ab\u0003\u0002\u0002\u0002\u06b7", + "\u06af\u0003\u0002\u0002\u0002\u06b7\u06b4\u0003\u0002\u0002\u0002\u06b8", + "i\u0003\u0002\u0002\u0002\u06b9\u06ba\u0007?\u0002\u0002\u06ba\u06be", + "\u0005\u0090I\u0002\u06bb\u06bc\u0007\u00a1\u0002\u0002\u06bc\u06be", + "\u0005p9\u0002\u06bd\u06b9\u0003\u0002\u0002\u0002\u06bd\u06bb\u0003", + "\u0002\u0002\u0002\u06bek\u0003\u0002\u0002\u0002\u06bf\u06c0\u0007", + "m\u0002\u0002\u06c0\u06c2\u0007\u0003\u0002\u0002\u06c1\u06c3\u0005", + "n8\u0002\u06c2\u06c1\u0003\u0002\u0002\u0002\u06c2\u06c3\u0003\u0002", + "\u0002\u0002\u06c3\u06c4\u0003\u0002\u0002\u0002\u06c4\u06c5\u0007\u0004", + "\u0002\u0002\u06c5m\u0003\u0002\u0002\u0002\u06c6\u06c8\u0007\u008d", + "\u0002\u0002\u06c7\u06c6\u0003\u0002\u0002\u0002\u06c7\u06c8\u0003\u0002", + "\u0002\u0002\u06c8\u06c9\u0003\u0002\u0002\u0002\u06c9\u06ca\t\u000e", + "\u0002\u0002\u06ca\u06df\u0007\u0097\u0002\u0002\u06cb\u06cc\u0005\u008e", + "H\u0002\u06cc\u06cd\u0007F\u0002\u0002\u06cd\u06df\u0003\u0002\u0002", + "\u0002\u06ce\u06cf\u0007\u0098\u0002\u0002\u06cf\u06d0\u0007\u00f7\u0002", + "\u0002\u06d0\u06d1\u0007\u0099\u0002\u0002\u06d1\u06d2\u0007\u009a\u0002", + "\u0002\u06d2\u06db\u0007\u00f7\u0002\u0002\u06d3\u06d9\u0007?\u0002", + "\u0002\u06d4\u06da\u0005\u00c6d\u0002\u06d5\u06d6\u0005\u00c4c\u0002", + "\u06d6\u06d7\u0007\u0003\u0002\u0002\u06d7\u06d8\u0007\u0004\u0002\u0002", + "\u06d8\u06da\u0003\u0002\u0002\u0002\u06d9\u06d4\u0003\u0002\u0002\u0002", + "\u06d9\u06d5\u0003\u0002\u0002\u0002\u06da\u06dc\u0003\u0002\u0002\u0002", + "\u06db\u06d3\u0003\u0002\u0002\u0002\u06db\u06dc\u0003\u0002\u0002\u0002", + "\u06dc\u06df\u0003\u0002\u0002\u0002\u06dd\u06df\u0005\u008eH\u0002", + "\u06de\u06c7\u0003\u0002\u0002\u0002\u06de\u06cb\u0003\u0002\u0002\u0002", + "\u06de\u06ce\u0003\u0002\u0002\u0002\u06de\u06dd\u0003\u0002\u0002\u0002", + "\u06dfo\u0003\u0002\u0002\u0002\u06e0\u06e1\u0007\u0003\u0002\u0002", + "\u06e1\u06e2\u0005r:\u0002\u06e2\u06e3\u0007\u0004\u0002\u0002\u06e3", + "q\u0003\u0002\u0002\u0002\u06e4\u06e9\u0005\u00c6d\u0002\u06e5\u06e6", + "\u0007\u0006\u0002\u0002\u06e6\u06e8\u0005\u00c6d\u0002\u06e7\u06e5", + "\u0003\u0002\u0002\u0002\u06e8\u06eb\u0003\u0002\u0002\u0002\u06e9\u06e7", + "\u0003\u0002\u0002\u0002\u06e9\u06ea\u0003\u0002\u0002\u0002\u06eas", + "\u0003\u0002\u0002\u0002\u06eb\u06e9\u0003\u0002\u0002\u0002\u06ec\u06ed", + "\u0007\u0003\u0002\u0002\u06ed\u06f2\u0005v<\u0002\u06ee\u06ef\u0007", + "\u0006\u0002\u0002\u06ef\u06f1\u0005v<\u0002\u06f0\u06ee\u0003\u0002", + "\u0002\u0002\u06f1\u06f4\u0003\u0002\u0002\u0002\u06f2\u06f0\u0003\u0002", + "\u0002\u0002\u06f2\u06f3\u0003\u0002\u0002\u0002\u06f3\u06f5\u0003\u0002", + "\u0002\u0002\u06f4\u06f2\u0003\u0002\u0002\u0002\u06f5\u06f6\u0007\u0004", + "\u0002\u0002\u06f6u\u0003\u0002\u0002\u0002\u06f7\u06f9\u0005\u00c6", + "d\u0002\u06f8\u06fa\t\u000b\u0002\u0002\u06f9\u06f8\u0003\u0002\u0002", + "\u0002\u06f9\u06fa\u0003\u0002\u0002\u0002\u06faw\u0003\u0002\u0002", + "\u0002\u06fb\u06fc\u0007\u0003\u0002\u0002\u06fc\u0701\u0005z>\u0002", + "\u06fd\u06fe\u0007\u0006\u0002\u0002\u06fe\u0700\u0005z>\u0002\u06ff", + "\u06fd\u0003\u0002\u0002\u0002\u0700\u0703\u0003\u0002\u0002\u0002\u0701", + "\u06ff\u0003\u0002\u0002\u0002\u0701\u0702\u0003\u0002\u0002\u0002\u0702", + "\u0704\u0003\u0002\u0002\u0002\u0703\u0701\u0003\u0002\u0002\u0002\u0704", + "\u0705\u0007\u0004\u0002\u0002\u0705y\u0003\u0002\u0002\u0002\u0706", + "\u0709\u0005\u00c6d\u0002\u0707\u0708\u0007t\u0002\u0002\u0708\u070a", + "\u0007\u00f3\u0002\u0002\u0709\u0707\u0003\u0002\u0002\u0002\u0709\u070a", + "\u0003\u0002\u0002\u0002\u070a{\u0003\u0002\u0002\u0002\u070b\u070d", + "\u0005\u0086D\u0002\u070c\u070e\u0005l7\u0002\u070d\u070c\u0003\u0002", + "\u0002\u0002\u070d\u070e\u0003\u0002\u0002\u0002\u070e\u070f\u0003\u0002", + "\u0002\u0002\u070f\u0710\u0005\u0082B\u0002\u0710\u0724\u0003\u0002", + "\u0002\u0002\u0711\u0712\u0007\u0003\u0002\u0002\u0712\u0713\u0005B", + "\"\u0002\u0713\u0715\u0007\u0004\u0002\u0002\u0714\u0716\u0005l7\u0002", + "\u0715\u0714\u0003\u0002\u0002\u0002\u0715\u0716\u0003\u0002\u0002\u0002", + "\u0716\u0717\u0003\u0002\u0002\u0002\u0717\u0718\u0005\u0082B\u0002", + "\u0718\u0724\u0003\u0002\u0002\u0002\u0719\u071a\u0007\u0003\u0002\u0002", + "\u071a\u071b\u0005d3\u0002\u071b\u071d\u0007\u0004\u0002\u0002\u071c", + "\u071e\u0005l7\u0002\u071d\u071c\u0003\u0002\u0002\u0002\u071d\u071e", + "\u0003\u0002\u0002\u0002\u071e\u071f\u0003\u0002\u0002\u0002\u071f\u0720", + "\u0005\u0082B\u0002\u0720\u0724\u0003\u0002\u0002\u0002\u0721\u0724", + "\u0005~@\u0002\u0722\u0724\u0005\u0080A\u0002\u0723\u070b\u0003\u0002", + "\u0002\u0002\u0723\u0711\u0003\u0002\u0002\u0002\u0723\u0719\u0003\u0002", + "\u0002\u0002\u0723\u0721\u0003\u0002\u0002\u0002\u0723\u0722\u0003\u0002", + "\u0002\u0002\u0724}\u0003\u0002\u0002\u0002\u0725\u0726\u0007P\u0002", + "\u0002\u0726\u072b\u0005\u008eH\u0002\u0727\u0728\u0007\u0006\u0002", + "\u0002\u0728\u072a\u0005\u008eH\u0002\u0729\u0727\u0003\u0002\u0002", + "\u0002\u072a\u072d\u0003\u0002\u0002\u0002\u072b\u0729\u0003\u0002\u0002", + "\u0002\u072b\u072c\u0003\u0002\u0002\u0002\u072c\u072e\u0003\u0002\u0002", + "\u0002\u072d\u072b\u0003\u0002\u0002\u0002\u072e\u072f\u0005\u0082B", + "\u0002\u072f\u007f\u0003\u0002\u0002\u0002\u0730\u0731\u0005\u00c6d", + "\u0002\u0731\u073a\u0007\u0003\u0002\u0002\u0732\u0737\u0005\u008eH", + "\u0002\u0733\u0734\u0007\u0006\u0002\u0002\u0734\u0736\u0005\u008eH", + "\u0002\u0735\u0733\u0003\u0002\u0002\u0002\u0736\u0739\u0003\u0002\u0002", + "\u0002\u0737\u0735\u0003\u0002\u0002\u0002\u0737\u0738\u0003\u0002\u0002", + "\u0002\u0738\u073b\u0003\u0002\u0002\u0002\u0739\u0737\u0003\u0002\u0002", + "\u0002\u073a\u0732\u0003\u0002\u0002\u0002\u073a\u073b\u0003\u0002\u0002", + "\u0002\u073b\u073c\u0003\u0002\u0002\u0002\u073c\u073d\u0007\u0004\u0002", + "\u0002\u073d\u073e\u0005\u0082B\u0002\u073e\u0081\u0003\u0002\u0002", + "\u0002\u073f\u0741\u0007\u0010\u0002\u0002\u0740\u073f\u0003\u0002\u0002", + "\u0002\u0740\u0741\u0003\u0002\u0002\u0002\u0741\u0742\u0003\u0002\u0002", + "\u0002\u0742\u0744\u0005\u00c8e\u0002\u0743\u0745\u0005p9\u0002\u0744", + "\u0743\u0003\u0002\u0002\u0002\u0744\u0745\u0003\u0002\u0002\u0002\u0745", + "\u0747\u0003\u0002\u0002\u0002\u0746\u0740\u0003\u0002\u0002\u0002\u0746", + "\u0747\u0003\u0002\u0002\u0002\u0747\u0083\u0003\u0002\u0002\u0002\u0748", + "\u0749\u0007N\u0002\u0002\u0749\u074a\u0007[\u0002\u0002\u074a\u074b", + "\u0007\u00a2\u0002\u0002\u074b\u074f\u0007\u00f3\u0002\u0002\u074c\u074d", + "\u0007O\u0002\u0002\u074d\u074e\u0007\u00a3\u0002\u0002\u074e\u0750", + "\u0005.\u0018\u0002\u074f\u074c\u0003\u0002\u0002\u0002\u074f\u0750", + "\u0003\u0002\u0002\u0002\u0750\u077a\u0003\u0002\u0002\u0002\u0751\u0752", + "\u0007N\u0002\u0002\u0752\u0753\u0007[\u0002\u0002\u0753\u075d\u0007", + "\u00a6\u0002\u0002\u0754\u0755\u0007\u00a7\u0002\u0002\u0755\u0756\u0007", + "\u00a8\u0002\u0002\u0756\u0757\u0007\u0016\u0002\u0002\u0757\u075b\u0007", + "\u00f3\u0002\u0002\u0758\u0759\u0007\u00ac\u0002\u0002\u0759\u075a\u0007", + "\u0016\u0002\u0002\u075a\u075c\u0007\u00f3\u0002\u0002\u075b\u0758\u0003", + "\u0002\u0002\u0002\u075b\u075c\u0003\u0002\u0002\u0002\u075c\u075e\u0003", + "\u0002\u0002\u0002\u075d\u0754\u0003\u0002\u0002\u0002\u075d\u075e\u0003", + "\u0002\u0002\u0002\u075e\u0764\u0003\u0002\u0002\u0002\u075f\u0760\u0007", + "\u00a9\u0002\u0002\u0760\u0761\u0007\u00aa\u0002\u0002\u0761\u0762\u0007", + "\u00a8\u0002\u0002\u0762\u0763\u0007\u0016\u0002\u0002\u0763\u0765\u0007", + "\u00f3\u0002\u0002\u0764\u075f\u0003\u0002\u0002\u0002\u0764\u0765\u0003", + "\u0002\u0002\u0002\u0765\u076b\u0003\u0002\u0002\u0002\u0766\u0767\u0007", + "r\u0002\u0002\u0767\u0768\u0007\u00ab\u0002\u0002\u0768\u0769\u0007", + "\u00a8\u0002\u0002\u0769\u076a\u0007\u0016\u0002\u0002\u076a\u076c\u0007", + "\u00f3\u0002\u0002\u076b\u0766\u0003\u0002\u0002\u0002\u076b\u076c\u0003", + "\u0002\u0002\u0002\u076c\u0771\u0003\u0002\u0002\u0002\u076d\u076e\u0007", + "\u00ad\u0002\u0002\u076e\u076f\u0007\u00a8\u0002\u0002\u076f\u0770\u0007", + "\u0016\u0002\u0002\u0770\u0772\u0007\u00f3\u0002\u0002\u0771\u076d\u0003", + "\u0002\u0002\u0002\u0771\u0772\u0003\u0002\u0002\u0002\u0772\u0777\u0003", + "\u0002\u0002\u0002\u0773\u0774\u0007)\u0002\u0002\u0774\u0775\u0007", + "\u00db\u0002\u0002\u0775\u0776\u0007\u0010\u0002\u0002\u0776\u0778\u0007", + "\u00f3\u0002\u0002\u0777\u0773\u0003\u0002\u0002\u0002\u0777\u0778\u0003", + "\u0002\u0002\u0002\u0778\u077a\u0003\u0002\u0002\u0002\u0779\u0748\u0003", + "\u0002\u0002\u0002\u0779\u0751\u0003\u0002\u0002\u0002\u077a\u0085\u0003", + "\u0002\u0002\u0002\u077b\u077c\u0005\u00c6d\u0002\u077c\u077d\u0007", + "\u0005\u0002\u0002\u077d\u077f\u0003\u0002\u0002\u0002\u077e\u077b\u0003", + "\u0002\u0002\u0002\u077e\u077f\u0003\u0002\u0002\u0002\u077f\u0780\u0003", + "\u0002\u0002\u0002\u0780\u0781\u0005\u00c6d\u0002\u0781\u0087\u0003", + "\u0002\u0002\u0002\u0782\u0783\u0005\u00c6d\u0002\u0783\u0784\u0007", + "\u0005\u0002\u0002\u0784\u0786\u0003\u0002\u0002\u0002\u0785\u0782\u0003", + "\u0002\u0002\u0002\u0785\u0786\u0003\u0002\u0002\u0002\u0786\u0787\u0003", + "\u0002\u0002\u0002\u0787\u0788\u0005\u00c6d\u0002\u0788\u0089\u0003", + "\u0002\u0002\u0002\u0789\u0791\u0005\u008eH\u0002\u078a\u078c\u0007", + "\u0010\u0002\u0002\u078b\u078a\u0003\u0002\u0002\u0002\u078b\u078c\u0003", + "\u0002\u0002\u0002\u078c\u078f\u0003\u0002\u0002\u0002\u078d\u0790\u0005", + "\u00c6d\u0002\u078e\u0790\u0005p9\u0002\u078f\u078d\u0003\u0002\u0002", + "\u0002\u078f\u078e\u0003\u0002\u0002\u0002\u0790\u0792\u0003\u0002\u0002", + "\u0002\u0791\u078b\u0003\u0002\u0002\u0002\u0791\u0792\u0003\u0002\u0002", + "\u0002\u0792\u008b\u0003\u0002\u0002\u0002\u0793\u0798\u0005\u008aF", + "\u0002\u0794\u0795\u0007\u0006\u0002\u0002\u0795\u0797\u0005\u008aF", + "\u0002\u0796\u0794\u0003\u0002\u0002\u0002\u0797\u079a\u0003\u0002\u0002", + "\u0002\u0798\u0796\u0003\u0002\u0002\u0002\u0798\u0799\u0003\u0002\u0002", + "\u0002\u0799\u008d\u0003\u0002\u0002\u0002\u079a\u0798\u0003\u0002\u0002", + "\u0002\u079b\u079c\u0005\u0090I\u0002\u079c\u008f\u0003\u0002\u0002", + "\u0002\u079d\u079e\bI\u0001\u0002\u079e\u079f\u0007\"\u0002\u0002\u079f", + "\u07aa\u0005\u0090I\u0007\u07a0\u07a1\u0007$\u0002\u0002\u07a1\u07a2", + "\u0007\u0003\u0002\u0002\u07a2\u07a3\u0005\u001a\u000e\u0002\u07a3\u07a4", + "\u0007\u0004\u0002\u0002\u07a4\u07aa\u0003\u0002\u0002\u0002\u07a5\u07a7", + "\u0005\u0094K\u0002\u07a6\u07a8\u0005\u0092J\u0002\u07a7\u07a6\u0003", + "\u0002\u0002\u0002\u07a7\u07a8\u0003\u0002\u0002\u0002\u07a8\u07aa\u0003", + "\u0002\u0002\u0002\u07a9\u079d\u0003\u0002\u0002\u0002\u07a9\u07a0\u0003", + "\u0002\u0002\u0002\u07a9\u07a5\u0003\u0002\u0002\u0002\u07aa\u07b3\u0003", + "\u0002\u0002\u0002\u07ab\u07ac\f\u0004\u0002\u0002\u07ac\u07ad\u0007", + " \u0002\u0002\u07ad\u07b2\u0005\u0090I\u0005\u07ae\u07af\f\u0003\u0002", + "\u0002\u07af\u07b0\u0007\u001f\u0002\u0002\u07b0\u07b2\u0005\u0090I", + "\u0004\u07b1\u07ab\u0003\u0002\u0002\u0002\u07b1\u07ae\u0003\u0002\u0002", + "\u0002\u07b2\u07b5\u0003\u0002\u0002\u0002\u07b3\u07b1\u0003\u0002\u0002", + "\u0002\u07b3\u07b4\u0003\u0002\u0002\u0002\u07b4\u0091\u0003\u0002\u0002", + "\u0002\u07b5\u07b3\u0003\u0002\u0002\u0002\u07b6\u07b8\u0007\"\u0002", + "\u0002\u07b7\u07b6\u0003\u0002\u0002\u0002\u07b7\u07b8\u0003\u0002\u0002", + "\u0002\u07b8\u07b9\u0003\u0002\u0002\u0002\u07b9\u07ba\u0007%\u0002", + "\u0002\u07ba\u07bb\u0005\u0094K\u0002\u07bb\u07bc\u0007 \u0002\u0002", + "\u07bc\u07bd\u0005\u0094K\u0002\u07bd\u07e7\u0003\u0002\u0002\u0002", + "\u07be\u07c0\u0007\"\u0002\u0002\u07bf\u07be\u0003\u0002\u0002\u0002", + "\u07bf\u07c0\u0003\u0002\u0002\u0002\u07c0\u07c1\u0003\u0002\u0002\u0002", + "\u07c1\u07c2\u0007!\u0002\u0002\u07c2\u07c3\u0007\u0003\u0002\u0002", + "\u07c3\u07c8\u0005\u008eH\u0002\u07c4\u07c5\u0007\u0006\u0002\u0002", + "\u07c5\u07c7\u0005\u008eH\u0002\u07c6\u07c4\u0003\u0002\u0002\u0002", + "\u07c7\u07ca\u0003\u0002\u0002\u0002\u07c8\u07c6\u0003\u0002\u0002\u0002", + "\u07c8\u07c9\u0003\u0002\u0002\u0002\u07c9\u07cb\u0003\u0002\u0002\u0002", + "\u07ca\u07c8\u0003\u0002\u0002\u0002\u07cb\u07cc\u0007\u0004\u0002\u0002", + "\u07cc\u07e7\u0003\u0002\u0002\u0002\u07cd\u07cf\u0007\"\u0002\u0002", + "\u07ce\u07cd\u0003\u0002\u0002\u0002\u07ce\u07cf\u0003\u0002\u0002\u0002", + "\u07cf\u07d0\u0003\u0002\u0002\u0002\u07d0\u07d1\u0007!\u0002\u0002", + "\u07d1\u07d2\u0007\u0003\u0002\u0002\u07d2\u07d3\u0005\u001a\u000e\u0002", + "\u07d3\u07d4\u0007\u0004\u0002\u0002\u07d4\u07e7\u0003\u0002\u0002\u0002", + "\u07d5\u07d7\u0007\"\u0002\u0002\u07d6\u07d5\u0003\u0002\u0002\u0002", + "\u07d6\u07d7\u0003\u0002\u0002\u0002\u07d7\u07d8\u0003\u0002\u0002\u0002", + "\u07d8\u07d9\t\u000f\u0002\u0002\u07d9\u07e7\u0005\u0094K\u0002\u07da", + "\u07dc\u0007(\u0002\u0002\u07db\u07dd\u0007\"\u0002\u0002\u07dc\u07db", + "\u0003\u0002\u0002\u0002\u07dc\u07dd\u0003\u0002\u0002\u0002\u07dd\u07de", + "\u0003\u0002\u0002\u0002\u07de\u07e7\u0007)\u0002\u0002\u07df\u07e1", + "\u0007(\u0002\u0002\u07e0\u07e2\u0007\"\u0002\u0002\u07e1\u07e0\u0003", + "\u0002\u0002\u0002\u07e1\u07e2\u0003\u0002\u0002\u0002\u07e2\u07e3\u0003", + "\u0002\u0002\u0002\u07e3\u07e4\u0007\u0013\u0002\u0002\u07e4\u07e5\u0007", + "\u000e\u0002\u0002\u07e5\u07e7\u0005\u0094K\u0002\u07e6\u07b7\u0003", + "\u0002\u0002\u0002\u07e6\u07bf\u0003\u0002\u0002\u0002\u07e6\u07ce\u0003", + "\u0002\u0002\u0002\u07e6\u07d6\u0003\u0002\u0002\u0002\u07e6\u07da\u0003", + "\u0002\u0002\u0002\u07e6\u07df\u0003\u0002\u0002\u0002\u07e7\u0093\u0003", + "\u0002\u0002\u0002\u07e8\u07e9\bK\u0001\u0002\u07e9\u07ed\u0005\u0096", + "L\u0002\u07ea\u07eb\t\u0010\u0002\u0002\u07eb\u07ed\u0005\u0094K\t\u07ec", + "\u07e8\u0003\u0002\u0002\u0002\u07ec\u07ea\u0003\u0002\u0002\u0002\u07ed", + "\u0803\u0003\u0002\u0002\u0002\u07ee\u07ef\f\b\u0002\u0002\u07ef\u07f0", + "\t\u0011\u0002\u0002\u07f0\u0802\u0005\u0094K\t\u07f1\u07f2\f\u0007", + "\u0002\u0002\u07f2\u07f3\t\u0012\u0002\u0002\u07f3\u0802\u0005\u0094", + "K\b\u07f4\u07f5\f\u0006\u0002\u0002\u07f5\u07f6\u0007\u0093\u0002\u0002", + "\u07f6\u0802\u0005\u0094K\u0007\u07f7\u07f8\f\u0005\u0002\u0002\u07f8", + "\u07f9\u0007\u0096\u0002\u0002\u07f9\u0802\u0005\u0094K\u0006\u07fa", + "\u07fb\f\u0004\u0002\u0002\u07fb\u07fc\u0007\u0094\u0002\u0002\u07fc", + "\u0802\u0005\u0094K\u0005\u07fd\u07fe\f\u0003\u0002\u0002\u07fe\u07ff", + "\u0005\u009aN\u0002\u07ff\u0800\u0005\u0094K\u0004\u0800\u0802\u0003", + "\u0002\u0002\u0002\u0801\u07ee\u0003\u0002\u0002\u0002\u0801\u07f1\u0003", + "\u0002\u0002\u0002\u0801\u07f4\u0003\u0002\u0002\u0002\u0801\u07f7\u0003", + "\u0002\u0002\u0002\u0801\u07fa\u0003\u0002\u0002\u0002\u0801\u07fd\u0003", + "\u0002\u0002\u0002\u0802\u0805\u0003\u0002\u0002\u0002\u0803\u0801\u0003", + "\u0002\u0002\u0002\u0803\u0804\u0003\u0002\u0002\u0002\u0804\u0095\u0003", + "\u0002\u0002\u0002\u0805\u0803\u0003\u0002\u0002\u0002\u0806\u0807\b", + "L\u0001\u0002\u0807\u0809\u00071\u0002\u0002\u0808\u080a\u0005\u00b8", + "]\u0002\u0809\u0808\u0003\u0002\u0002\u0002\u080a\u080b\u0003\u0002", + "\u0002\u0002\u080b\u0809\u0003\u0002\u0002\u0002\u080b\u080c\u0003\u0002", + "\u0002\u0002\u080c\u080f\u0003\u0002\u0002\u0002\u080d\u080e\u00074", + "\u0002\u0002\u080e\u0810\u0005\u008eH\u0002\u080f\u080d\u0003\u0002", + "\u0002\u0002\u080f\u0810\u0003\u0002\u0002\u0002\u0810\u0811\u0003\u0002", + "\u0002\u0002\u0811\u0812\u00075\u0002\u0002\u0812\u0898\u0003\u0002", + "\u0002\u0002\u0813\u0814\u00071\u0002\u0002\u0814\u0816\u0005\u008e", + "H\u0002\u0815\u0817\u0005\u00b8]\u0002\u0816\u0815\u0003\u0002\u0002", + "\u0002\u0817\u0818\u0003\u0002\u0002\u0002\u0818\u0816\u0003\u0002\u0002", + "\u0002\u0818\u0819\u0003\u0002\u0002\u0002\u0819\u081c\u0003\u0002\u0002", + "\u0002\u081a\u081b\u00074\u0002\u0002\u081b\u081d\u0005\u008eH\u0002", + "\u081c\u081a\u0003\u0002\u0002\u0002\u081c\u081d\u0003\u0002\u0002\u0002", + "\u081d\u081e\u0003\u0002\u0002\u0002\u081e\u081f\u00075\u0002\u0002", + "\u081f\u0898\u0003\u0002\u0002\u0002\u0820\u0821\u0007_\u0002\u0002", + "\u0821\u0822\u0007\u0003\u0002\u0002\u0822\u0823\u0005\u008eH\u0002", + "\u0823\u0824\u0007\u0010\u0002\u0002\u0824\u0825\u0005\u00aaV\u0002", + "\u0825\u0826\u0007\u0004\u0002\u0002\u0826\u0898\u0003\u0002\u0002\u0002", + "\u0827\u0828\u0007s\u0002\u0002\u0828\u0831\u0007\u0003\u0002\u0002", + "\u0829\u082e\u0005\u008aF\u0002\u082a\u082b\u0007\u0006\u0002\u0002", + "\u082b\u082d\u0005\u008aF\u0002\u082c\u082a\u0003\u0002\u0002\u0002", + "\u082d\u0830\u0003\u0002\u0002\u0002\u082e\u082c\u0003\u0002\u0002\u0002", + "\u082e\u082f\u0003\u0002\u0002\u0002\u082f\u0832\u0003\u0002\u0002\u0002", + "\u0830\u082e\u0003\u0002\u0002\u0002\u0831\u0829\u0003\u0002\u0002\u0002", + "\u0831\u0832\u0003\u0002\u0002\u0002\u0832\u0833\u0003\u0002\u0002\u0002", + "\u0833\u0898\u0007\u0004\u0002\u0002\u0834\u0835\u0007K\u0002\u0002", + "\u0835\u0836\u0007\u0003\u0002\u0002\u0836\u0839\u0005\u008eH\u0002", + "\u0837\u0838\u0007}\u0002\u0002\u0838\u083a\u0007,\u0002\u0002\u0839", + "\u0837\u0003\u0002\u0002\u0002\u0839\u083a\u0003\u0002\u0002\u0002\u083a", + "\u083b\u0003\u0002\u0002\u0002\u083b\u083c\u0007\u0004\u0002\u0002\u083c", + "\u0898\u0003\u0002\u0002\u0002\u083d\u083e\u0007M\u0002\u0002\u083e", + "\u083f\u0007\u0003\u0002\u0002\u083f\u0842\u0005\u008eH\u0002\u0840", + "\u0841\u0007}\u0002\u0002\u0841\u0843\u0007,\u0002\u0002\u0842\u0840", + "\u0003\u0002\u0002\u0002\u0842\u0843\u0003\u0002\u0002\u0002\u0843\u0844", + "\u0003\u0002\u0002\u0002\u0844\u0845\u0007\u0004\u0002\u0002\u0845\u0898", + "\u0003\u0002\u0002\u0002\u0846\u0847\u0007\u0082\u0002\u0002\u0847\u0848", + "\u0007\u0003\u0002\u0002\u0848\u0849\u0005\u0094K\u0002\u0849\u084a", + "\u0007!\u0002\u0002\u084a\u084b\u0005\u0094K\u0002\u084b\u084c\u0007", + "\u0004\u0002\u0002\u084c\u0898\u0003\u0002\u0002\u0002\u084d\u0898\u0005", + "\u0098M\u0002\u084e\u0898\u0007\u008e\u0002\u0002\u084f\u0850\u0005", + "\u00c4c\u0002\u0850\u0851\u0007\u0005\u0002\u0002\u0851\u0852\u0007", + "\u008e\u0002\u0002\u0852\u0898\u0003\u0002\u0002\u0002\u0853\u0854\u0007", + "\u0003\u0002\u0002\u0854\u0857\u0005\u008aF\u0002\u0855\u0856\u0007", + "\u0006\u0002\u0002\u0856\u0858\u0005\u008aF\u0002\u0857\u0855\u0003", + "\u0002\u0002\u0002\u0858\u0859\u0003\u0002\u0002\u0002\u0859\u0857\u0003", + "\u0002\u0002\u0002\u0859\u085a\u0003\u0002\u0002\u0002\u085a\u085b\u0003", + "\u0002\u0002\u0002\u085b\u085c\u0007\u0004\u0002\u0002\u085c\u0898\u0003", + "\u0002\u0002\u0002\u085d\u085e\u0007\u0003\u0002\u0002\u085e\u085f\u0005", + "\u001a\u000e\u0002\u085f\u0860\u0007\u0004\u0002\u0002\u0860\u0898\u0003", + "\u0002\u0002\u0002\u0861\u0862\u0005\u00c4c\u0002\u0862\u086e\u0007", + "\u0003\u0002\u0002\u0863\u0865\u0005b2\u0002\u0864\u0863\u0003\u0002", + "\u0002\u0002\u0864\u0865\u0003\u0002\u0002\u0002\u0865\u0866\u0003\u0002", + "\u0002\u0002\u0866\u086b\u0005\u008eH\u0002\u0867\u0868\u0007\u0006", + "\u0002\u0002\u0868\u086a\u0005\u008eH\u0002\u0869\u0867\u0003\u0002", + "\u0002\u0002\u086a\u086d\u0003\u0002\u0002\u0002\u086b\u0869\u0003\u0002", + "\u0002\u0002\u086b\u086c\u0003\u0002\u0002\u0002\u086c\u086f\u0003\u0002", + "\u0002\u0002\u086d\u086b\u0003\u0002\u0002\u0002\u086e\u0864\u0003\u0002", + "\u0002\u0002\u086e\u086f\u0003\u0002\u0002\u0002\u086f\u0870\u0003\u0002", + "\u0002\u0002\u0870\u0873\u0007\u0004\u0002\u0002\u0871\u0872\u0007C", + "\u0002\u0002\u0872\u0874\u0005\u00be`\u0002\u0873\u0871\u0003\u0002", + "\u0002\u0002\u0873\u0874\u0003\u0002\u0002\u0002\u0874\u0898\u0003\u0002", + "\u0002\u0002\u0875\u0876\u0005\u00c4c\u0002\u0876\u0877\u0007\u0003", + "\u0002\u0002\u0877\u0878\t\u0013\u0002\u0002\u0878\u0879\u0005\u008e", + "H\u0002\u0879\u087a\u0007\u000e\u0002\u0002\u087a\u087b\u0005\u008e", + "H\u0002\u087b\u087c\u0007\u0004\u0002\u0002\u087c\u0898\u0003\u0002", + "\u0002\u0002\u087d\u087e\u0007\u00fb\u0002\u0002\u087e\u087f\u0007\t", + "\u0002\u0002\u087f\u0898\u0005\u008eH\u0002\u0880\u0881\u0007\u0003", + "\u0002\u0002\u0881\u0884\u0007\u00fb\u0002\u0002\u0882\u0883\u0007\u0006", + "\u0002\u0002\u0883\u0885\u0007\u00fb\u0002\u0002\u0884\u0882\u0003\u0002", + "\u0002\u0002\u0885\u0886\u0003\u0002\u0002\u0002\u0886\u0884\u0003\u0002", + "\u0002\u0002\u0886\u0887\u0003\u0002\u0002\u0002\u0887\u0888\u0003\u0002", + "\u0002\u0002\u0888\u0889\u0007\u0004\u0002\u0002\u0889\u088a\u0007\t", + "\u0002\u0002\u088a\u0898\u0005\u008eH\u0002\u088b\u0898\u0005\u00c6", + "d\u0002\u088c\u088d\u0007\u0003\u0002\u0002\u088d\u088e\u0005\u008e", + "H\u0002\u088e\u088f\u0007\u0004\u0002\u0002\u088f\u0898\u0003\u0002", + "\u0002\u0002\u0890\u0891\u0007\u0083\u0002\u0002\u0891\u0892\u0007\u0003", + "\u0002\u0002\u0892\u0893\u0005\u00c6d\u0002\u0893\u0894\u0007\u000e", + "\u0002\u0002\u0894\u0895\u0005\u0094K\u0002\u0895\u0896\u0007\u0004", + "\u0002\u0002\u0896\u0898\u0003\u0002\u0002\u0002\u0897\u0806\u0003\u0002", + "\u0002\u0002\u0897\u0813\u0003\u0002\u0002\u0002\u0897\u0820\u0003\u0002", + "\u0002\u0002\u0897\u0827\u0003\u0002\u0002\u0002\u0897\u0834\u0003\u0002", + "\u0002\u0002\u0897\u083d\u0003\u0002\u0002\u0002\u0897\u0846\u0003\u0002", + "\u0002\u0002\u0897\u084d\u0003\u0002\u0002\u0002\u0897\u084e\u0003\u0002", + "\u0002\u0002\u0897\u084f\u0003\u0002\u0002\u0002\u0897\u0853\u0003\u0002", + "\u0002\u0002\u0897\u085d\u0003\u0002\u0002\u0002\u0897\u0861\u0003\u0002", + "\u0002\u0002\u0897\u0875\u0003\u0002\u0002\u0002\u0897\u087d\u0003\u0002", + "\u0002\u0002\u0897\u0880\u0003\u0002\u0002\u0002\u0897\u088b\u0003\u0002", + "\u0002\u0002\u0897\u088c\u0003\u0002\u0002\u0002\u0897\u0890\u0003\u0002", + "\u0002\u0002\u0898\u08a3\u0003\u0002\u0002\u0002\u0899\u089a\f\u0007", + "\u0002\u0002\u089a\u089b\u0007\n\u0002\u0002\u089b\u089c\u0005\u0094", + "K\u0002\u089c\u089d\u0007\u000b\u0002\u0002\u089d\u08a2\u0003\u0002", + "\u0002\u0002\u089e\u089f\f\u0005\u0002\u0002\u089f\u08a0\u0007\u0005", + "\u0002\u0002\u08a0\u08a2\u0005\u00c6d\u0002\u08a1\u0899\u0003\u0002", + "\u0002\u0002\u08a1\u089e\u0003\u0002\u0002\u0002\u08a2\u08a5\u0003\u0002", + "\u0002\u0002\u08a3\u08a1\u0003\u0002\u0002\u0002\u08a3\u08a4\u0003\u0002", + "\u0002\u0002\u08a4\u0097\u0003\u0002\u0002\u0002\u08a5\u08a3\u0003\u0002", + "\u0002\u0002\u08a6\u08b3\u0007)\u0002\u0002\u08a7\u08b3\u0005\u00a2", + "R\u0002\u08a8\u08a9\u0005\u00c6d\u0002\u08a9\u08aa\u0007\u00f3\u0002", + "\u0002\u08aa\u08b3\u0003\u0002\u0002\u0002\u08ab\u08b3\u0005\u00ccg", + "\u0002\u08ac\u08b3\u0005\u00a0Q\u0002\u08ad\u08af\u0007\u00f3\u0002", + "\u0002\u08ae\u08ad\u0003\u0002\u0002\u0002\u08af\u08b0\u0003\u0002\u0002", + "\u0002\u08b0\u08ae\u0003\u0002\u0002\u0002\u08b0\u08b1\u0003\u0002\u0002", + "\u0002\u08b1\u08b3\u0003\u0002\u0002\u0002\u08b2\u08a6\u0003\u0002\u0002", + "\u0002\u08b2\u08a7\u0003\u0002\u0002\u0002\u08b2\u08a8\u0003\u0002\u0002", + "\u0002\u08b2\u08ab\u0003\u0002\u0002\u0002\u08b2\u08ac\u0003\u0002\u0002", + "\u0002\u08b2\u08ae\u0003\u0002\u0002\u0002\u08b3\u0099\u0003\u0002\u0002", + "\u0002\u08b4\u08b5\t\u0014\u0002\u0002\u08b5\u009b\u0003\u0002\u0002", + "\u0002\u08b6\u08b7\t\u0015\u0002\u0002\u08b7\u009d\u0003\u0002\u0002", + "\u0002\u08b8\u08b9\t\u0016\u0002\u0002\u08b9\u009f\u0003\u0002\u0002", + "\u0002\u08ba\u08bb\t\u0017\u0002\u0002\u08bb\u00a1\u0003\u0002\u0002", + "\u0002\u08bc\u08c0\u00070\u0002\u0002\u08bd\u08bf\u0005\u00a4S\u0002", + "\u08be\u08bd\u0003\u0002\u0002\u0002\u08bf\u08c2\u0003\u0002\u0002\u0002", + "\u08c0\u08be\u0003\u0002\u0002\u0002\u08c0\u08c1\u0003\u0002\u0002\u0002", + "\u08c1\u00a3\u0003\u0002\u0002\u0002\u08c2\u08c0\u0003\u0002\u0002\u0002", + "\u08c3\u08c4\u0005\u00a6T\u0002\u08c4\u08c7\u0005\u00c6d\u0002\u08c5", + "\u08c6\u0007l\u0002\u0002\u08c6\u08c8\u0005\u00c6d\u0002\u08c7\u08c5", + "\u0003\u0002\u0002\u0002\u08c7\u08c8\u0003\u0002\u0002\u0002\u08c8\u00a5", + "\u0003\u0002\u0002\u0002\u08c9\u08cb\t\u0018\u0002\u0002\u08ca\u08c9", + "\u0003\u0002\u0002\u0002\u08ca\u08cb\u0003\u0002\u0002\u0002\u08cb\u08cc", + "\u0003\u0002\u0002\u0002\u08cc\u08cf\t\u000e\u0002\u0002\u08cd\u08cf", + "\u0007\u00f3\u0002\u0002\u08ce\u08ca\u0003\u0002\u0002\u0002\u08ce\u08cd", + "\u0003\u0002\u0002\u0002\u08cf\u00a7\u0003\u0002\u0002\u0002\u08d0\u08d4", + "\u0007K\u0002\u0002\u08d1\u08d2\u0007L\u0002\u0002\u08d2\u08d4\u0005", + "\u00c6d\u0002\u08d3\u08d0\u0003\u0002\u0002\u0002\u08d3\u08d1\u0003", + "\u0002\u0002\u0002\u08d4\u00a9\u0003\u0002\u0002\u0002\u08d5\u08d6\u0007", + "q\u0002\u0002\u08d6\u08d7\u0007\u0088\u0002\u0002\u08d7\u08d8\u0005", + "\u00aaV\u0002\u08d8\u08d9\u0007\u008a\u0002\u0002\u08d9\u08f8\u0003", + "\u0002\u0002\u0002\u08da\u08db\u0007r\u0002\u0002\u08db\u08dc\u0007", + "\u0088\u0002\u0002\u08dc\u08dd\u0005\u00aaV\u0002\u08dd\u08de\u0007", + "\u0006\u0002\u0002\u08de\u08df\u0005\u00aaV\u0002\u08df\u08e0\u0007", + "\u008a\u0002\u0002\u08e0\u08f8\u0003\u0002\u0002\u0002\u08e1\u08e8\u0007", + "s\u0002\u0002\u08e2\u08e4\u0007\u0088\u0002\u0002\u08e3\u08e5\u0005", + "\u00b4[\u0002\u08e4\u08e3\u0003\u0002\u0002\u0002\u08e4\u08e5\u0003", + "\u0002\u0002\u0002\u08e5\u08e6\u0003\u0002\u0002\u0002\u08e6\u08e9\u0007", + "\u008a\u0002\u0002\u08e7\u08e9\u0007\u0086\u0002\u0002\u08e8\u08e2\u0003", + "\u0002\u0002\u0002\u08e8\u08e7\u0003\u0002\u0002\u0002\u08e9\u08f8\u0003", + "\u0002\u0002\u0002\u08ea\u08f5\u0005\u00c6d\u0002\u08eb\u08ec\u0007", + "\u0003\u0002\u0002\u08ec\u08f1\u0007\u00f7\u0002\u0002\u08ed\u08ee\u0007", + "\u0006\u0002\u0002\u08ee\u08f0\u0007\u00f7\u0002\u0002\u08ef\u08ed\u0003", + "\u0002\u0002\u0002\u08f0\u08f3\u0003\u0002\u0002\u0002\u08f1\u08ef\u0003", + "\u0002\u0002\u0002\u08f1\u08f2\u0003\u0002\u0002\u0002\u08f2\u08f4\u0003", + "\u0002\u0002\u0002\u08f3\u08f1\u0003\u0002\u0002\u0002\u08f4\u08f6\u0007", + "\u0004\u0002\u0002\u08f5\u08eb\u0003\u0002\u0002\u0002\u08f5\u08f6\u0003", + "\u0002\u0002\u0002\u08f6\u08f8\u0003\u0002\u0002\u0002\u08f7\u08d5\u0003", + "\u0002\u0002\u0002\u08f7\u08da\u0003\u0002\u0002\u0002\u08f7\u08e1\u0003", + "\u0002\u0002\u0002\u08f7\u08ea\u0003\u0002\u0002\u0002\u08f8\u00ab\u0003", + "\u0002\u0002\u0002\u08f9\u08fe\u0005\u00aeX\u0002\u08fa\u08fb\u0007", + "\u0006\u0002\u0002\u08fb\u08fd\u0005\u00aeX\u0002\u08fc\u08fa\u0003", + "\u0002\u0002\u0002\u08fd\u0900\u0003\u0002\u0002\u0002\u08fe\u08fc\u0003", + "\u0002\u0002\u0002\u08fe\u08ff\u0003\u0002\u0002\u0002\u08ff\u00ad\u0003", + "\u0002\u0002\u0002\u0900\u08fe\u0003\u0002\u0002\u0002\u0901\u0902\u0005", + "\u00c6d\u0002\u0902\u0905\u0005\u00aaV\u0002\u0903\u0904\u0007t\u0002", + "\u0002\u0904\u0906\u0007\u00f3\u0002\u0002\u0905\u0903\u0003\u0002\u0002", + "\u0002\u0905\u0906\u0003\u0002\u0002\u0002\u0906\u00af\u0003\u0002\u0002", + "\u0002\u0907\u090c\u0005\u00b2Z\u0002\u0908\u0909\u0007\u0006\u0002", + "\u0002\u0909\u090b\u0005\u00b2Z\u0002\u090a\u0908\u0003\u0002\u0002", + "\u0002\u090b\u090e\u0003\u0002\u0002\u0002\u090c\u090a\u0003\u0002\u0002", + "\u0002\u090c\u090d\u0003\u0002\u0002\u0002\u090d\u00b1\u0003\u0002\u0002", + "\u0002\u090e\u090c\u0003\u0002\u0002\u0002\u090f\u0914\u0005\u00c6d", + "\u0002\u0910\u0911\u0007\u0005\u0002\u0002\u0911\u0913\u0005\u00c6d", + "\u0002\u0912\u0910\u0003\u0002\u0002\u0002\u0913\u0916\u0003\u0002\u0002", + "\u0002\u0914\u0912\u0003\u0002\u0002\u0002\u0914\u0915\u0003\u0002\u0002", + "\u0002\u0915\u0917\u0003\u0002\u0002\u0002\u0916\u0914\u0003\u0002\u0002", + "\u0002\u0917\u091a\u0005\u00aaV\u0002\u0918\u0919\u0007\u0010\u0002", + "\u0002\u0919\u091b\u0005\u00c6d\u0002\u091a\u0918\u0003\u0002\u0002", + "\u0002\u091a\u091b\u0003\u0002\u0002\u0002\u091b\u091e\u0003\u0002\u0002", + "\u0002\u091c\u091d\u0007t\u0002\u0002\u091d\u091f\u0007\u00f3\u0002", + "\u0002\u091e\u091c\u0003\u0002\u0002\u0002\u091e\u091f\u0003\u0002\u0002", + "\u0002\u091f\u0927\u0003\u0002\u0002\u0002\u0920\u0921\u0007\u00f2\u0002", + "\u0002\u0921\u0922\u0007/\u0002\u0002\u0922\u0923\u0005\u00c6d\u0002", + "\u0923\u0924\u0007\u0010\u0002\u0002\u0924\u0925\u0005\u0096L\u0002", + "\u0925\u0927\u0003\u0002\u0002\u0002\u0926\u090f\u0003\u0002\u0002\u0002", + "\u0926\u0920\u0003\u0002\u0002\u0002\u0927\u00b3\u0003\u0002\u0002\u0002", + "\u0928\u092d\u0005\u00b6\\\u0002\u0929\u092a\u0007\u0006\u0002\u0002", + "\u092a\u092c\u0005\u00b6\\\u0002\u092b\u0929\u0003\u0002\u0002\u0002", + "\u092c\u092f\u0003\u0002\u0002\u0002\u092d\u092b\u0003\u0002\u0002\u0002", + "\u092d\u092e\u0003\u0002\u0002\u0002\u092e\u00b5\u0003\u0002\u0002\u0002", + "\u092f\u092d\u0003\u0002\u0002\u0002\u0930\u0931\u0005\u00c6d\u0002", + "\u0931\u0932\u0007\f\u0002\u0002\u0932\u0935\u0005\u00aaV\u0002\u0933", + "\u0934\u0007t\u0002\u0002\u0934\u0936\u0007\u00f3\u0002\u0002\u0935", + "\u0933\u0003\u0002\u0002\u0002\u0935\u0936\u0003\u0002\u0002\u0002\u0936", + "\u00b7\u0003\u0002\u0002\u0002\u0937\u0938\u00072\u0002\u0002\u0938", + "\u0939\u0005\u008eH\u0002\u0939\u093a\u00073\u0002\u0002\u093a\u093b", + "\u0005\u008eH\u0002\u093b\u00b9\u0003\u0002\u0002\u0002\u093c\u093d", + "\u0007B\u0002\u0002\u093d\u0942\u0005\u00bc_\u0002\u093e\u093f\u0007", + "\u0006\u0002\u0002\u093f\u0941\u0005\u00bc_\u0002\u0940\u093e\u0003", + "\u0002\u0002\u0002\u0941\u0944\u0003\u0002\u0002\u0002\u0942\u0940\u0003", + "\u0002\u0002\u0002\u0942\u0943\u0003\u0002\u0002\u0002\u0943\u00bb\u0003", + "\u0002\u0002\u0002\u0944\u0942\u0003\u0002\u0002\u0002\u0945\u0946\u0005", + "\u00c6d\u0002\u0946\u0947\u0007\u0010\u0002\u0002\u0947\u0948\u0005", + "\u00be`\u0002\u0948\u00bd\u0003\u0002\u0002\u0002\u0949\u0974\u0005", + "\u00c6d\u0002\u094a\u096d\u0007\u0003\u0002\u0002\u094b\u094c\u0007", + "\u009c\u0002\u0002\u094c\u094d\u0007\u0016\u0002\u0002\u094d\u0952\u0005", + "\u008eH\u0002\u094e\u094f\u0007\u0006\u0002\u0002\u094f\u0951\u0005", + "\u008eH\u0002\u0950\u094e\u0003\u0002\u0002\u0002\u0951\u0954\u0003", + "\u0002\u0002\u0002\u0952\u0950\u0003\u0002\u0002\u0002\u0952\u0953\u0003", + "\u0002\u0002\u0002\u0953\u096e\u0003\u0002\u0002\u0002\u0954\u0952\u0003", + "\u0002\u0002\u0002\u0955\u0956\t\u0019\u0002\u0002\u0956\u0957\u0007", + "\u0016\u0002\u0002\u0957\u095c\u0005\u008eH\u0002\u0958\u0959\u0007", + "\u0006\u0002\u0002\u0959\u095b\u0005\u008eH\u0002\u095a\u0958\u0003", + "\u0002\u0002\u0002\u095b\u095e\u0003\u0002\u0002\u0002\u095c\u095a\u0003", + "\u0002\u0002\u0002\u095c\u095d\u0003\u0002\u0002\u0002\u095d\u0960\u0003", + "\u0002\u0002\u0002\u095e\u095c\u0003\u0002\u0002\u0002\u095f\u0955\u0003", + "\u0002\u0002\u0002\u095f\u0960\u0003\u0002\u0002\u0002\u0960\u096b\u0003", + "\u0002\u0002\u0002\u0961\u0962\t\u001a\u0002\u0002\u0962\u0963\u0007", + "\u0016\u0002\u0002\u0963\u0968\u0005L\'\u0002\u0964\u0965\u0007\u0006", + "\u0002\u0002\u0965\u0967\u0005L\'\u0002\u0966\u0964\u0003\u0002\u0002", + "\u0002\u0967\u096a\u0003\u0002\u0002\u0002\u0968\u0966\u0003\u0002\u0002", + "\u0002\u0968\u0969\u0003\u0002\u0002\u0002\u0969\u096c\u0003\u0002\u0002", + "\u0002\u096a\u0968\u0003\u0002\u0002\u0002\u096b\u0961\u0003\u0002\u0002", + "\u0002\u096b\u096c\u0003\u0002\u0002\u0002\u096c\u096e\u0003\u0002\u0002", + "\u0002\u096d\u094b\u0003\u0002\u0002\u0002\u096d\u095f\u0003\u0002\u0002", + "\u0002\u096e\u0970\u0003\u0002\u0002\u0002\u096f\u0971\u0005\u00c0a", + "\u0002\u0970\u096f\u0003\u0002\u0002\u0002\u0970\u0971\u0003\u0002\u0002", + "\u0002\u0971\u0972\u0003\u0002\u0002\u0002\u0972\u0974\u0007\u0004\u0002", + "\u0002\u0973\u0949\u0003\u0002\u0002\u0002\u0973\u094a\u0003\u0002\u0002", + "\u0002\u0974\u00bf\u0003\u0002\u0002\u0002\u0975\u0976\u0007E\u0002", + "\u0002\u0976\u0986\u0005\u00c2b\u0002\u0977\u0978\u0007F\u0002\u0002", + "\u0978\u0986\u0005\u00c2b\u0002\u0979\u097a\u0007E\u0002\u0002\u097a", + "\u097b\u0007%\u0002\u0002\u097b\u097c\u0005\u00c2b\u0002\u097c\u097d", + "\u0007 \u0002\u0002\u097d\u097e\u0005\u00c2b\u0002\u097e\u0986\u0003", + "\u0002\u0002\u0002\u097f\u0980\u0007F\u0002\u0002\u0980\u0981\u0007", + "%\u0002\u0002\u0981\u0982\u0005\u00c2b\u0002\u0982\u0983\u0007 \u0002", + "\u0002\u0983\u0984\u0005\u00c2b\u0002\u0984\u0986\u0003\u0002\u0002", + "\u0002\u0985\u0975\u0003\u0002\u0002\u0002\u0985\u0977\u0003\u0002\u0002", + "\u0002\u0985\u0979\u0003\u0002\u0002\u0002\u0985\u097f\u0003\u0002\u0002", + "\u0002\u0986\u00c1\u0003\u0002\u0002\u0002\u0987\u0988\u0007G\u0002", + "\u0002\u0988\u098f\t\u001b\u0002\u0002\u0989\u098a\u0007J\u0002\u0002", + "\u098a\u098f\u0007N\u0002\u0002\u098b\u098c\u0005\u008eH\u0002\u098c", + "\u098d\t\u001b\u0002\u0002\u098d\u098f\u0003\u0002\u0002\u0002\u098e", + "\u0987\u0003\u0002\u0002\u0002\u098e\u0989\u0003\u0002\u0002\u0002\u098e", + "\u098b\u0003\u0002\u0002\u0002\u098f\u00c3\u0003\u0002\u0002\u0002\u0990", + "\u0995\u0005\u00c6d\u0002\u0991\u0992\u0007\u0005\u0002\u0002\u0992", + "\u0994\u0005\u00c6d\u0002\u0993\u0991\u0003\u0002\u0002\u0002\u0994", + "\u0997\u0003\u0002\u0002\u0002\u0995\u0993\u0003\u0002\u0002\u0002\u0995", + "\u0996\u0003\u0002\u0002\u0002\u0996\u00c5\u0003\u0002\u0002\u0002\u0997", + "\u0995\u0003\u0002\u0002\u0002\u0998\u09a8\u0005\u00c8e\u0002\u0999", + "\u09a8\u0007\u00ef\u0002\u0002\u099a\u09a8\u0007=\u0002\u0002\u099b", + "\u09a8\u00079\u0002\u0002\u099c\u09a8\u0007:\u0002\u0002\u099d\u09a8", + "\u0007;\u0002\u0002\u099e\u09a8\u0007<\u0002\u0002\u099f\u09a8\u0007", + ">\u0002\u0002\u09a0\u09a8\u00076\u0002\u0002\u09a1\u09a8\u00077\u0002", + "\u0002\u09a2\u09a8\u0007?\u0002\u0002\u09a3\u09a8\u0007h\u0002\u0002", + "\u09a4\u09a8\u0007k\u0002\u0002\u09a5\u09a8\u0007i\u0002\u0002\u09a6", + "\u09a8\u0007j\u0002\u0002\u09a7\u0998\u0003\u0002\u0002\u0002\u09a7", + "\u0999\u0003\u0002\u0002\u0002\u09a7\u099a\u0003\u0002\u0002\u0002\u09a7", + "\u099b\u0003\u0002\u0002\u0002\u09a7\u099c\u0003\u0002\u0002\u0002\u09a7", + "\u099d\u0003\u0002\u0002\u0002\u09a7\u099e\u0003\u0002\u0002\u0002\u09a7", + "\u099f\u0003\u0002\u0002\u0002\u09a7\u09a0\u0003\u0002\u0002\u0002\u09a7", + "\u09a1\u0003\u0002\u0002\u0002\u09a7\u09a2\u0003\u0002\u0002\u0002\u09a7", + "\u09a3\u0003\u0002\u0002\u0002\u09a7\u09a4\u0003\u0002\u0002\u0002\u09a7", + "\u09a5\u0003\u0002\u0002\u0002\u09a7\u09a6\u0003\u0002\u0002\u0002\u09a8", + "\u00c7\u0003\u0002\u0002\u0002\u09a9\u09ad\u0007\u00fb\u0002\u0002\u09aa", + "\u09ad\u0005\u00caf\u0002\u09ab\u09ad\u0005\u00ceh\u0002\u09ac\u09a9", + "\u0003\u0002\u0002\u0002\u09ac\u09aa\u0003\u0002\u0002\u0002\u09ac\u09ab", + "\u0003\u0002\u0002\u0002\u09ad\u00c9\u0003\u0002\u0002\u0002\u09ae\u09af", + "\u0007\u00fc\u0002\u0002\u09af\u00cb\u0003\u0002\u0002\u0002\u09b0\u09b2", + "\u0007\u008d\u0002\u0002\u09b1\u09b0\u0003\u0002\u0002\u0002\u09b1\u09b2", + "\u0003\u0002\u0002\u0002\u09b2\u09b3\u0003\u0002\u0002\u0002\u09b3\u09cd", + "\u0007\u00f8\u0002\u0002\u09b4\u09b6\u0007\u008d\u0002\u0002\u09b5\u09b4", + "\u0003\u0002\u0002\u0002\u09b5\u09b6\u0003\u0002\u0002\u0002\u09b6\u09b7", + "\u0003\u0002\u0002\u0002\u09b7\u09cd\u0007\u00f7\u0002\u0002\u09b8\u09ba", + "\u0007\u008d\u0002\u0002\u09b9\u09b8\u0003\u0002\u0002\u0002\u09b9\u09ba", + "\u0003\u0002\u0002\u0002\u09ba\u09bb\u0003\u0002\u0002\u0002\u09bb\u09cd", + "\u0007\u00f4\u0002\u0002\u09bc\u09be\u0007\u008d\u0002\u0002\u09bd\u09bc", + "\u0003\u0002\u0002\u0002\u09bd\u09be\u0003\u0002\u0002\u0002\u09be\u09bf", + "\u0003\u0002\u0002\u0002\u09bf\u09cd\u0007\u00f5\u0002\u0002\u09c0\u09c2", + "\u0007\u008d\u0002\u0002\u09c1\u09c0\u0003\u0002\u0002\u0002\u09c1\u09c2", + "\u0003\u0002\u0002\u0002\u09c2\u09c3\u0003\u0002\u0002\u0002\u09c3\u09cd", + "\u0007\u00f6\u0002\u0002\u09c4\u09c6\u0007\u008d\u0002\u0002\u09c5\u09c4", + "\u0003\u0002\u0002\u0002\u09c5\u09c6\u0003\u0002\u0002\u0002\u09c6\u09c7", + "\u0003\u0002\u0002\u0002\u09c7\u09cd\u0007\u00f9\u0002\u0002\u09c8\u09ca", + "\u0007\u008d\u0002\u0002\u09c9\u09c8\u0003\u0002\u0002\u0002\u09c9\u09ca", + "\u0003\u0002\u0002\u0002\u09ca\u09cb\u0003\u0002\u0002\u0002\u09cb\u09cd", + "\u0007\u00fa\u0002\u0002\u09cc\u09b1\u0003\u0002\u0002\u0002\u09cc\u09b5", + "\u0003\u0002\u0002\u0002\u09cc\u09b9\u0003\u0002\u0002\u0002\u09cc\u09bd", + "\u0003\u0002\u0002\u0002\u09cc\u09c1\u0003\u0002\u0002\u0002\u09cc\u09c5", + "\u0003\u0002\u0002\u0002\u09cc\u09c9\u0003\u0002\u0002\u0002\u09cd\u00cd", + "\u0003\u0002\u0002\u0002\u09ce\u09cf\t\u001c\u0002\u0002\u09cf\u00cf", + "\u0003\u0002\u0002\u0002\u0151\u00ea\u00ef\u00f2\u00f7\u0104\u0108\u010f", + "\u011d\u011f\u0123\u0126\u012d\u013e\u0140\u0144\u0147\u014e\u0155\u0159", + "\u0161\u016b\u0171\u0177\u0182\u01a2\u01aa\u01ae\u01b3\u01b9\u01c1\u01c7", + "\u01d4\u01d9\u01e2\u01e7\u01f7\u01fe\u0202\u020a\u0211\u0218\u0227\u022b", + "\u0231\u0237\u023a\u023d\u0243\u0247\u024b\u0250\u0254\u025c\u025f\u0268", + "\u026d\u0273\u027a\u027d\u0283\u028e\u0291\u0295\u029a\u029f\u02a6\u02a9", + "\u02ac\u02b3\u02b8\u02bd\u02c0\u02c9\u02d1\u02d7\u02db\u02df\u02e3\u02e5", + "\u02ee\u02f4\u02f9\u02fc\u0300\u0303\u030d\u0310\u0314\u031a\u031d\u0320", + "\u0326\u032e\u0333\u0339\u033f\u034a\u0352\u0359\u0361\u0364\u036c\u0370", + "\u0377\u03eb\u03f3\u03fb\u0404\u0410\u0414\u0417\u041d\u0427\u0433\u0438", + "\u043e\u044a\u044c\u0451\u0455\u045a\u045f\u0462\u0467\u046b\u0470\u0472", + "\u0476\u047f\u0487\u048e\u0495\u049e\u04a3\u04b2\u04b9\u04bc\u04c3\u04c7", + "\u04cd\u04d5\u04e0\u04eb\u04f2\u04f8\u04fe\u0507\u0509\u0512\u0515\u051e", + "\u0521\u052a\u052d\u0536\u0539\u053c\u0541\u0543\u0546\u0552\u0559\u0560", + "\u0563\u0565\u0570\u0574\u0578\u0584\u0587\u058b\u0595\u0599\u059b\u059e", + "\u05a2\u05a5\u05a9\u05af\u05b3\u05b7\u05bc\u05bf\u05c1\u05c6\u05cb\u05ce", + "\u05d2\u05d5\u05d7\u05dc\u05e1\u05ee\u05f3\u05fb\u0601\u0605\u060e\u061d", + "\u0622\u062e\u0633\u063b\u063e\u0642\u0650\u065d\u0662\u0666\u0669\u066e", + "\u0677\u067a\u067f\u0686\u0689\u0691\u0698\u069f\u06a2\u06a7\u06ad\u06b1", + "\u06b4\u06b7\u06bd\u06c2\u06c7\u06d9\u06db\u06de\u06e9\u06f2\u06f9\u0701", + "\u0709\u070d\u0715\u071d\u0723\u072b\u0737\u073a\u0740\u0744\u0746\u074f", + "\u075b\u075d\u0764\u076b\u0771\u0777\u0779\u077e\u0785\u078b\u078f\u0791", + "\u0798\u07a7\u07a9\u07b1\u07b3\u07b7\u07bf\u07c8\u07ce\u07d6\u07dc\u07e1", + "\u07e6\u07ec\u0801\u0803\u080b\u080f\u0818\u081c\u082e\u0831\u0839\u0842", + "\u0859\u0864\u086b\u086e\u0873\u0886\u0897\u08a1\u08a3\u08b0\u08b2\u08c0", + "\u08c7\u08ca\u08ce\u08d3\u08e4\u08e8\u08f1\u08f5\u08f7\u08fe\u0905\u090c", + "\u0914\u091a\u091e\u0926\u092d\u0935\u0942\u0952\u095c\u095f\u0968\u096b", + "\u096d\u0970\u0973\u0985\u098e\u0995\u09a7\u09ac\u09b1\u09b5\u09b9\u09bd", + "\u09c1\u09c5\u09c9\u09cc"].join(""); +var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); +var decisionsToDFA = atn.decisionToState.map(function (ds, index) { return new antlr4.dfa.DFA(ds, index); }); +var sharedContextCache = new antlr4.PredictionContextCache(); +var literalNames = [null, "'('", "')'", "'.'", "','", "'/*+'", "'*/'", + "'->'", "'['", "']'", "':'", "'SELECT'", "'FROM'", + "'ADD'", "'AS'", "'ALL'", "'ANY'", "'DISTINCT'", "'WHERE'", + "'GROUP'", "'BY'", "'GROUPING'", "'SETS'", "'CUBE'", + "'ROLLUP'", "'ORDER'", "'HAVING'", "'LIMIT'", "'AT'", + "'OR'", "'AND'", "'IN'", null, "'NO'", "'EXISTS'", + "'BETWEEN'", "'LIKE'", null, "'IS'", "'NULL'", "'TRUE'", + "'FALSE'", "'NULLS'", "'ASC'", "'DESC'", "'FOR'", "'INTERVAL'", + "'CASE'", "'WHEN'", "'THEN'", "'ELSE'", "'END'", "'JOIN'", + "'CROSS'", "'OUTER'", "'INNER'", "'LEFT'", "'SEMI'", + "'RIGHT'", "'FULL'", "'NATURAL'", "'ON'", "'PIVOT'", + "'LATERAL'", "'WINDOW'", "'OVER'", "'PARTITION'", "'RANGE'", + "'ROWS'", "'UNBOUNDED'", "'PRECEDING'", "'FOLLOWING'", + "'CURRENT'", "'FIRST'", "'AFTER'", "'LAST'", "'ROW'", + "'WITH'", "'VALUES'", "'CREATE'", "'TABLE'", "'DIRECTORY'", + "'VIEW'", "'REPLACE'", "'INSERT'", "'DELETE'", "'INTO'", + "'DESCRIBE'", "'EXPLAIN'", "'FORMAT'", "'LOGICAL'", + "'CODEGEN'", "'COST'", "'CAST'", "'SHOW'", "'TABLES'", + "'COLUMNS'", "'COLUMN'", "'USE'", "'PARTITIONS'", "'FUNCTIONS'", + "'DROP'", "'UNION'", "'EXCEPT'", "'MINUS'", "'INTERSECT'", + "'TO'", "'TABLESAMPLE'", "'STRATIFY'", "'ALTER'", "'RENAME'", + "'ARRAY'", "'MAP'", "'STRUCT'", "'COMMENT'", "'SET'", + "'RESET'", "'DATA'", "'START'", "'TRANSACTION'", "'COMMIT'", + "'ROLLBACK'", "'MACRO'", "'IGNORE'", "'BOTH'", "'LEADING'", + "'TRAILING'", "'IF'", "'POSITION'", "'EXTRACT'", null, + "'<=>'", "'<>'", "'!='", "'<'", null, "'>'", null, + "'+'", "'-'", "'*'", "'/'", "'%'", "'DIV'", "'~'", + "'&'", "'|'", "'||'", "'^'", "'PERCENT'", "'BUCKET'", + "'OUT'", "'OF'", "'SORT'", "'CLUSTER'", "'DISTRIBUTE'", + "'OVERWRITE'", "'TRANSFORM'", "'REDUCE'", "'USING'", + "'SERDE'", "'SERDEPROPERTIES'", "'RECORDREADER'", "'RECORDWRITER'", + "'DELIMITED'", "'FIELDS'", "'TERMINATED'", "'COLLECTION'", + "'ITEMS'", "'KEYS'", "'ESCAPED'", "'LINES'", "'SEPARATED'", + "'FUNCTION'", "'EXTENDED'", "'REFRESH'", "'CLEAR'", + "'CACHE'", "'UNCACHE'", "'LAZY'", "'FORMATTED'", "'GLOBAL'", + null, "'OPTIONS'", "'UNSET'", "'TBLPROPERTIES'", "'DBPROPERTIES'", + "'BUCKETS'", "'SKEWED'", "'STORED'", "'DIRECTORIES'", + "'LOCATION'", "'EXCHANGE'", "'ARCHIVE'", "'UNARCHIVE'", + "'FILEFORMAT'", "'TOUCH'", "'COMPACT'", "'CONCATENATE'", + "'CHANGE'", "'CASCADE'", "'RESTRICT'", "'CLUSTERED'", + "'SORTED'", "'PURGE'", "'INPUTFORMAT'", "'OUTPUTFORMAT'", + null, null, "'DFS'", "'TRUNCATE'", "'ANALYZE'", "'COMPUTE'", + "'LIST'", "'STATISTICS'", "'PARTITIONED'", "'EXTERNAL'", + "'DEFINED'", "'REVOKE'", "'GRANT'", "'LOCK'", "'UNLOCK'", + "'MSCK'", "'REPAIR'", "'RECOVER'", "'EXPORT'", "'IMPORT'", + "'LOAD'", "'ROLE'", "'ROLES'", "'COMPACTIONS'", "'PRINCIPALS'", + "'TRANSACTIONS'", "'INDEX'", "'INDEXES'", "'LOCKS'", + "'OPTION'", "'ANTI'", "'LOCAL'", "'INPATH'", "'WATERMARK'", + null, null, null, null, null, null, null, null, null, + null, null, "'/**/'"]; +var symbolicNames = [null, null, null, null, null, null, null, null, null, + null, null, "SELECT", "FROM", "ADD", "AS", "ALL", + "ANY", "DISTINCT", "WHERE", "GROUP", "BY", "GROUPING", + "SETS", "CUBE", "ROLLUP", "ORDER", "HAVING", "LIMIT", + "AT", "OR", "AND", "IN", "NOT", "NO", "EXISTS", "BETWEEN", + "LIKE", "RLIKE", "IS", "NULL", "TRUE", "FALSE", "NULLS", + "ASC", "DESC", "FOR", "INTERVAL", "CASE", "WHEN", + "THEN", "ELSE", "END", "JOIN", "CROSS", "OUTER", "INNER", + "LEFT", "SEMI", "RIGHT", "FULL", "NATURAL", "ON", + "PIVOT", "LATERAL", "WINDOW", "OVER", "PARTITION", + "RANGE", "ROWS", "UNBOUNDED", "PRECEDING", "FOLLOWING", + "CURRENT", "FIRST", "AFTER", "LAST", "ROW", "WITH", + "VALUES", "CREATE", "TABLE", "DIRECTORY", "VIEW", + "REPLACE", "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", "COST", + "CAST", "SHOW", "TABLES", "COLUMNS", "COLUMN", "USE", + "PARTITIONS", "FUNCTIONS", "DROP", "UNION", "EXCEPT", + "SETMINUS", "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", "STRUCT", "COMMENT", + "SET", "RESET", "DATA", "START", "TRANSACTION", "COMMIT", + "ROLLBACK", "MACRO", "IGNORE", "BOTH", "LEADING", + "TRAILING", "IF", "POSITION", "EXTRACT", "EQ", "NSEQ", + "NEQ", "NEQJ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", + "ASTERISK", "SLASH", "PERCENT", "DIV", "TILDE", "AMPERSAND", + "PIPE", "CONCAT_PIPE", "HAT", "PERCENTLIT", "BUCKET", + "OUT", "OF", "SORT", "CLUSTER", "DISTRIBUTE", "OVERWRITE", + "TRANSFORM", "REDUCE", "USING", "SERDE", "SERDEPROPERTIES", + "RECORDREADER", "RECORDWRITER", "DELIMITED", "FIELDS", + "TERMINATED", "COLLECTION", "ITEMS", "KEYS", "ESCAPED", + "LINES", "SEPARATED", "FUNCTION", "EXTENDED", "REFRESH", + "CLEAR", "CACHE", "UNCACHE", "LAZY", "FORMATTED", + "GLOBAL", "TEMPORARY", "OPTIONS", "UNSET", "TBLPROPERTIES", + "DBPROPERTIES", "BUCKETS", "SKEWED", "STORED", "DIRECTORIES", + "LOCATION", "EXCHANGE", "ARCHIVE", "UNARCHIVE", "FILEFORMAT", + "TOUCH", "COMPACT", "CONCATENATE", "CHANGE", "CASCADE", + "RESTRICT", "CLUSTERED", "SORTED", "PURGE", "INPUTFORMAT", + "OUTPUTFORMAT", "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", "PARTITIONED", + "EXTERNAL", "DEFINED", "REVOKE", "GRANT", "LOCK", + "UNLOCK", "MSCK", "REPAIR", "RECOVER", "EXPORT", "IMPORT", + "LOAD", "ROLE", "ROLES", "COMPACTIONS", "PRINCIPALS", + "TRANSACTIONS", "INDEX", "INDEXES", "LOCKS", "OPTION", + "ANTI", "LOCAL", "INPATH", "WATERMARK", "STRING", + "BIGINT_LITERAL", "SMALLINT_LITERAL", "TINYINT_LITERAL", + "INTEGER_VALUE", "DECIMAL_VALUE", "DOUBLE_LITERAL", + "BIGDECIMAL_LITERAL", "IDENTIFIER", "BACKQUOTED_IDENTIFIER", + "SIMPLE_COMMENT", "BRACKETED_EMPTY_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED"]; +var ruleNames = ["singleStatement", "singleExpression", "singleTableIdentifier", + "singleFunctionIdentifier", "singleDataType", "singleTableSchema", + "statement", "unsupportedHiveNativeCommands", "createTableHeader", + "bucketSpec", "skewSpec", "locationSpec", "query", "insertInto", + "partitionSpecLocation", "partitionSpec", "partitionVal", + "describeFuncName", "describeColName", "ctes", "namedQuery", + "tableProvider", "tablePropertyList", "tableProperty", + "tablePropertyKey", "tablePropertyValue", "constantList", + "nestedConstantList", "createFileFormat", "fileFormat", + "storageHandler", "resource", "queryNoWith", "queryOrganization", + "multiInsertQueryBody", "queryTerm", "queryPrimary", + "sortItem", "querySpecification", "hint", "hintStatement", + "fromClause", "aggregation", "groupingSet", "pivotClause", + "pivotColumn", "pivotValue", "lateralView", "setQuantifier", + "relation", "joinRelation", "joinType", "joinCriteria", + "sample", "sampleMethod", "identifierList", "identifierSeq", + "orderedIdentifierList", "orderedIdentifier", "identifierCommentList", + "identifierComment", "relationPrimary", "inlineTable", + "functionTable", "tableAlias", "rowFormat", "tableIdentifier", + "functionIdentifier", "namedExpression", "namedExpressionSeq", + "expression", "booleanExpression", "predicate", "valueExpression", + "primaryExpression", "constant", "comparisonOperator", + "arithmeticOperator", "predicateOperator", "booleanValue", + "interval", "intervalField", "intervalValue", "colPosition", + "dataType", "colTypeList", "colType", "dtColTypeList", + "dtColType", "complexColTypeList", "complexColType", + "whenClause", "windows", "namedWindow", "windowSpec", + "windowFrame", "frameBound", "qualifiedName", "identifier", + "strictIdentifier", "quotedIdentifier", "number", "nonReserved"]; +function sqlParser(input) { + antlr4.Parser.call(this, input); + this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache); + this.ruleNames = ruleNames; + this.literalNames = literalNames; + this.symbolicNames = symbolicNames; + return this; +} +sqlParser.prototype = Object.create(antlr4.Parser.prototype); +sqlParser.prototype.constructor = sqlParser; +Object.defineProperty(sqlParser.prototype, "atn", { + get: function () { + return atn; + } +}); +sqlParser.EOF = antlr4.Token.EOF; +sqlParser.T__0 = 1; +sqlParser.T__1 = 2; +sqlParser.T__2 = 3; +sqlParser.T__3 = 4; +sqlParser.T__4 = 5; +sqlParser.T__5 = 6; +sqlParser.T__6 = 7; +sqlParser.T__7 = 8; +sqlParser.T__8 = 9; +sqlParser.T__9 = 10; +sqlParser.SELECT = 11; +sqlParser.FROM = 12; +sqlParser.ADD = 13; +sqlParser.AS = 14; +sqlParser.ALL = 15; +sqlParser.ANY = 16; +sqlParser.DISTINCT = 17; +sqlParser.WHERE = 18; +sqlParser.GROUP = 19; +sqlParser.BY = 20; +sqlParser.GROUPING = 21; +sqlParser.SETS = 22; +sqlParser.CUBE = 23; +sqlParser.ROLLUP = 24; +sqlParser.ORDER = 25; +sqlParser.HAVING = 26; +sqlParser.LIMIT = 27; +sqlParser.AT = 28; +sqlParser.OR = 29; +sqlParser.AND = 30; +sqlParser.IN = 31; +sqlParser.NOT = 32; +sqlParser.NO = 33; +sqlParser.EXISTS = 34; +sqlParser.BETWEEN = 35; +sqlParser.LIKE = 36; +sqlParser.RLIKE = 37; +sqlParser.IS = 38; +sqlParser.NULL = 39; +sqlParser.TRUE = 40; +sqlParser.FALSE = 41; +sqlParser.NULLS = 42; +sqlParser.ASC = 43; +sqlParser.DESC = 44; +sqlParser.FOR = 45; +sqlParser.INTERVAL = 46; +sqlParser.CASE = 47; +sqlParser.WHEN = 48; +sqlParser.THEN = 49; +sqlParser.ELSE = 50; +sqlParser.END = 51; +sqlParser.JOIN = 52; +sqlParser.CROSS = 53; +sqlParser.OUTER = 54; +sqlParser.INNER = 55; +sqlParser.LEFT = 56; +sqlParser.SEMI = 57; +sqlParser.RIGHT = 58; +sqlParser.FULL = 59; +sqlParser.NATURAL = 60; +sqlParser.ON = 61; +sqlParser.PIVOT = 62; +sqlParser.LATERAL = 63; +sqlParser.WINDOW = 64; +sqlParser.OVER = 65; +sqlParser.PARTITION = 66; +sqlParser.RANGE = 67; +sqlParser.ROWS = 68; +sqlParser.UNBOUNDED = 69; +sqlParser.PRECEDING = 70; +sqlParser.FOLLOWING = 71; +sqlParser.CURRENT = 72; +sqlParser.FIRST = 73; +sqlParser.AFTER = 74; +sqlParser.LAST = 75; +sqlParser.ROW = 76; +sqlParser.WITH = 77; +sqlParser.VALUES = 78; +sqlParser.CREATE = 79; +sqlParser.TABLE = 80; +sqlParser.DIRECTORY = 81; +sqlParser.VIEW = 82; +sqlParser.REPLACE = 83; +sqlParser.INSERT = 84; +sqlParser.DELETE = 85; +sqlParser.INTO = 86; +sqlParser.DESCRIBE = 87; +sqlParser.EXPLAIN = 88; +sqlParser.FORMAT = 89; +sqlParser.LOGICAL = 90; +sqlParser.CODEGEN = 91; +sqlParser.COST = 92; +sqlParser.CAST = 93; +sqlParser.SHOW = 94; +sqlParser.TABLES = 95; +sqlParser.COLUMNS = 96; +sqlParser.COLUMN = 97; +sqlParser.USE = 98; +sqlParser.PARTITIONS = 99; +sqlParser.FUNCTIONS = 100; +sqlParser.DROP = 101; +sqlParser.UNION = 102; +sqlParser.EXCEPT = 103; +sqlParser.SETMINUS = 104; +sqlParser.INTERSECT = 105; +sqlParser.TO = 106; +sqlParser.TABLESAMPLE = 107; +sqlParser.STRATIFY = 108; +sqlParser.ALTER = 109; +sqlParser.RENAME = 110; +sqlParser.ARRAY = 111; +sqlParser.MAP = 112; +sqlParser.STRUCT = 113; +sqlParser.COMMENT = 114; +sqlParser.SET = 115; +sqlParser.RESET = 116; +sqlParser.DATA = 117; +sqlParser.START = 118; +sqlParser.TRANSACTION = 119; +sqlParser.COMMIT = 120; +sqlParser.ROLLBACK = 121; +sqlParser.MACRO = 122; +sqlParser.IGNORE = 123; +sqlParser.BOTH = 124; +sqlParser.LEADING = 125; +sqlParser.TRAILING = 126; +sqlParser.IF = 127; +sqlParser.POSITION = 128; +sqlParser.EXTRACT = 129; +sqlParser.EQ = 130; +sqlParser.NSEQ = 131; +sqlParser.NEQ = 132; +sqlParser.NEQJ = 133; +sqlParser.LT = 134; +sqlParser.LTE = 135; +sqlParser.GT = 136; +sqlParser.GTE = 137; +sqlParser.PLUS = 138; +sqlParser.MINUS = 139; +sqlParser.ASTERISK = 140; +sqlParser.SLASH = 141; +sqlParser.PERCENT = 142; +sqlParser.DIV = 143; +sqlParser.TILDE = 144; +sqlParser.AMPERSAND = 145; +sqlParser.PIPE = 146; +sqlParser.CONCAT_PIPE = 147; +sqlParser.HAT = 148; +sqlParser.PERCENTLIT = 149; +sqlParser.BUCKET = 150; +sqlParser.OUT = 151; +sqlParser.OF = 152; +sqlParser.SORT = 153; +sqlParser.CLUSTER = 154; +sqlParser.DISTRIBUTE = 155; +sqlParser.OVERWRITE = 156; +sqlParser.TRANSFORM = 157; +sqlParser.REDUCE = 158; +sqlParser.USING = 159; +sqlParser.SERDE = 160; +sqlParser.SERDEPROPERTIES = 161; +sqlParser.RECORDREADER = 162; +sqlParser.RECORDWRITER = 163; +sqlParser.DELIMITED = 164; +sqlParser.FIELDS = 165; +sqlParser.TERMINATED = 166; +sqlParser.COLLECTION = 167; +sqlParser.ITEMS = 168; +sqlParser.KEYS = 169; +sqlParser.ESCAPED = 170; +sqlParser.LINES = 171; +sqlParser.SEPARATED = 172; +sqlParser.FUNCTION = 173; +sqlParser.EXTENDED = 174; +sqlParser.REFRESH = 175; +sqlParser.CLEAR = 176; +sqlParser.CACHE = 177; +sqlParser.UNCACHE = 178; +sqlParser.LAZY = 179; +sqlParser.FORMATTED = 180; +sqlParser.GLOBAL = 181; +sqlParser.TEMPORARY = 182; +sqlParser.OPTIONS = 183; +sqlParser.UNSET = 184; +sqlParser.TBLPROPERTIES = 185; +sqlParser.DBPROPERTIES = 186; +sqlParser.BUCKETS = 187; +sqlParser.SKEWED = 188; +sqlParser.STORED = 189; +sqlParser.DIRECTORIES = 190; +sqlParser.LOCATION = 191; +sqlParser.EXCHANGE = 192; +sqlParser.ARCHIVE = 193; +sqlParser.UNARCHIVE = 194; +sqlParser.FILEFORMAT = 195; +sqlParser.TOUCH = 196; +sqlParser.COMPACT = 197; +sqlParser.CONCATENATE = 198; +sqlParser.CHANGE = 199; +sqlParser.CASCADE = 200; +sqlParser.RESTRICT = 201; +sqlParser.CLUSTERED = 202; +sqlParser.SORTED = 203; +sqlParser.PURGE = 204; +sqlParser.INPUTFORMAT = 205; +sqlParser.OUTPUTFORMAT = 206; +sqlParser.DATABASE = 207; +sqlParser.DATABASES = 208; +sqlParser.DFS = 209; +sqlParser.TRUNCATE = 210; +sqlParser.ANALYZE = 211; +sqlParser.COMPUTE = 212; +sqlParser.LIST = 213; +sqlParser.STATISTICS = 214; +sqlParser.PARTITIONED = 215; +sqlParser.EXTERNAL = 216; +sqlParser.DEFINED = 217; +sqlParser.REVOKE = 218; +sqlParser.GRANT = 219; +sqlParser.LOCK = 220; +sqlParser.UNLOCK = 221; +sqlParser.MSCK = 222; +sqlParser.REPAIR = 223; +sqlParser.RECOVER = 224; +sqlParser.EXPORT = 225; +sqlParser.IMPORT = 226; +sqlParser.LOAD = 227; +sqlParser.ROLE = 228; +sqlParser.ROLES = 229; +sqlParser.COMPACTIONS = 230; +sqlParser.PRINCIPALS = 231; +sqlParser.TRANSACTIONS = 232; +sqlParser.INDEX = 233; +sqlParser.INDEXES = 234; +sqlParser.LOCKS = 235; +sqlParser.OPTION = 236; +sqlParser.ANTI = 237; +sqlParser.LOCAL = 238; +sqlParser.INPATH = 239; +sqlParser.WATERMARK = 240; +sqlParser.STRING = 241; +sqlParser.BIGINT_LITERAL = 242; +sqlParser.SMALLINT_LITERAL = 243; +sqlParser.TINYINT_LITERAL = 244; +sqlParser.INTEGER_VALUE = 245; +sqlParser.DECIMAL_VALUE = 246; +sqlParser.DOUBLE_LITERAL = 247; +sqlParser.BIGDECIMAL_LITERAL = 248; +sqlParser.IDENTIFIER = 249; +sqlParser.BACKQUOTED_IDENTIFIER = 250; +sqlParser.SIMPLE_COMMENT = 251; +sqlParser.BRACKETED_EMPTY_COMMENT = 252; +sqlParser.BRACKETED_COMMENT = 253; +sqlParser.WS = 254; +sqlParser.UNRECOGNIZED = 255; +sqlParser.RULE_singleStatement = 0; +sqlParser.RULE_singleExpression = 1; +sqlParser.RULE_singleTableIdentifier = 2; +sqlParser.RULE_singleFunctionIdentifier = 3; +sqlParser.RULE_singleDataType = 4; +sqlParser.RULE_singleTableSchema = 5; +sqlParser.RULE_statement = 6; +sqlParser.RULE_unsupportedHiveNativeCommands = 7; +sqlParser.RULE_createTableHeader = 8; +sqlParser.RULE_bucketSpec = 9; +sqlParser.RULE_skewSpec = 10; +sqlParser.RULE_locationSpec = 11; +sqlParser.RULE_query = 12; +sqlParser.RULE_insertInto = 13; +sqlParser.RULE_partitionSpecLocation = 14; +sqlParser.RULE_partitionSpec = 15; +sqlParser.RULE_partitionVal = 16; +sqlParser.RULE_describeFuncName = 17; +sqlParser.RULE_describeColName = 18; +sqlParser.RULE_ctes = 19; +sqlParser.RULE_namedQuery = 20; +sqlParser.RULE_tableProvider = 21; +sqlParser.RULE_tablePropertyList = 22; +sqlParser.RULE_tableProperty = 23; +sqlParser.RULE_tablePropertyKey = 24; +sqlParser.RULE_tablePropertyValue = 25; +sqlParser.RULE_constantList = 26; +sqlParser.RULE_nestedConstantList = 27; +sqlParser.RULE_createFileFormat = 28; +sqlParser.RULE_fileFormat = 29; +sqlParser.RULE_storageHandler = 30; +sqlParser.RULE_resource = 31; +sqlParser.RULE_queryNoWith = 32; +sqlParser.RULE_queryOrganization = 33; +sqlParser.RULE_multiInsertQueryBody = 34; +sqlParser.RULE_queryTerm = 35; +sqlParser.RULE_queryPrimary = 36; +sqlParser.RULE_sortItem = 37; +sqlParser.RULE_querySpecification = 38; +sqlParser.RULE_hint = 39; +sqlParser.RULE_hintStatement = 40; +sqlParser.RULE_fromClause = 41; +sqlParser.RULE_aggregation = 42; +sqlParser.RULE_groupingSet = 43; +sqlParser.RULE_pivotClause = 44; +sqlParser.RULE_pivotColumn = 45; +sqlParser.RULE_pivotValue = 46; +sqlParser.RULE_lateralView = 47; +sqlParser.RULE_setQuantifier = 48; +sqlParser.RULE_relation = 49; +sqlParser.RULE_joinRelation = 50; +sqlParser.RULE_joinType = 51; +sqlParser.RULE_joinCriteria = 52; +sqlParser.RULE_sample = 53; +sqlParser.RULE_sampleMethod = 54; +sqlParser.RULE_identifierList = 55; +sqlParser.RULE_identifierSeq = 56; +sqlParser.RULE_orderedIdentifierList = 57; +sqlParser.RULE_orderedIdentifier = 58; +sqlParser.RULE_identifierCommentList = 59; +sqlParser.RULE_identifierComment = 60; +sqlParser.RULE_relationPrimary = 61; +sqlParser.RULE_inlineTable = 62; +sqlParser.RULE_functionTable = 63; +sqlParser.RULE_tableAlias = 64; +sqlParser.RULE_rowFormat = 65; +sqlParser.RULE_tableIdentifier = 66; +sqlParser.RULE_functionIdentifier = 67; +sqlParser.RULE_namedExpression = 68; +sqlParser.RULE_namedExpressionSeq = 69; +sqlParser.RULE_expression = 70; +sqlParser.RULE_booleanExpression = 71; +sqlParser.RULE_predicate = 72; +sqlParser.RULE_valueExpression = 73; +sqlParser.RULE_primaryExpression = 74; +sqlParser.RULE_constant = 75; +sqlParser.RULE_comparisonOperator = 76; +sqlParser.RULE_arithmeticOperator = 77; +sqlParser.RULE_predicateOperator = 78; +sqlParser.RULE_booleanValue = 79; +sqlParser.RULE_interval = 80; +sqlParser.RULE_intervalField = 81; +sqlParser.RULE_intervalValue = 82; +sqlParser.RULE_colPosition = 83; +sqlParser.RULE_dataType = 84; +sqlParser.RULE_colTypeList = 85; +sqlParser.RULE_colType = 86; +sqlParser.RULE_dtColTypeList = 87; +sqlParser.RULE_dtColType = 88; +sqlParser.RULE_complexColTypeList = 89; +sqlParser.RULE_complexColType = 90; +sqlParser.RULE_whenClause = 91; +sqlParser.RULE_windows = 92; +sqlParser.RULE_namedWindow = 93; +sqlParser.RULE_windowSpec = 94; +sqlParser.RULE_windowFrame = 95; +sqlParser.RULE_frameBound = 96; +sqlParser.RULE_qualifiedName = 97; +sqlParser.RULE_identifier = 98; +sqlParser.RULE_strictIdentifier = 99; +sqlParser.RULE_quotedIdentifier = 100; +sqlParser.RULE_number = 101; +sqlParser.RULE_nonReserved = 102; +function SingleStatementContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleStatement; + return this; +} +SingleStatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleStatementContext.prototype.constructor = SingleStatementContext; +SingleStatementContext.prototype.statement = function () { + return this.getTypedRuleContext(StatementContext, 0); +}; +SingleStatementContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleStatementContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleStatement(this); + } +}; +SingleStatementContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleStatement(this); + } +}; +SingleStatementContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleStatement(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleStatementContext = SingleStatementContext; +sqlParser.prototype.singleStatement = function () { + var localctx = new SingleStatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 0, sqlParser.RULE_singleStatement); + try { + this.enterOuterAlt(localctx, 1); + this.state = 206; + this.statement(); + this.state = 207; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SingleExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleExpression; + return this; +} +SingleExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleExpressionContext.prototype.constructor = SingleExpressionContext; +SingleExpressionContext.prototype.namedExpression = function () { + return this.getTypedRuleContext(NamedExpressionContext, 0); +}; +SingleExpressionContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleExpressionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleExpression(this); + } +}; +SingleExpressionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleExpression(this); + } +}; +SingleExpressionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleExpression(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleExpressionContext = SingleExpressionContext; +sqlParser.prototype.singleExpression = function () { + var localctx = new SingleExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 2, sqlParser.RULE_singleExpression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 209; + this.namedExpression(); + this.state = 210; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SingleTableIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleTableIdentifier; + return this; +} +SingleTableIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleTableIdentifierContext.prototype.constructor = SingleTableIdentifierContext; +SingleTableIdentifierContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +SingleTableIdentifierContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleTableIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleTableIdentifier(this); + } +}; +SingleTableIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleTableIdentifier(this); + } +}; +SingleTableIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleTableIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleTableIdentifierContext = SingleTableIdentifierContext; +sqlParser.prototype.singleTableIdentifier = function () { + var localctx = new SingleTableIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 4, sqlParser.RULE_singleTableIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 212; + this.tableIdentifier(); + this.state = 213; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SingleFunctionIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleFunctionIdentifier; + return this; +} +SingleFunctionIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleFunctionIdentifierContext.prototype.constructor = SingleFunctionIdentifierContext; +SingleFunctionIdentifierContext.prototype.functionIdentifier = function () { + return this.getTypedRuleContext(FunctionIdentifierContext, 0); +}; +SingleFunctionIdentifierContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleFunctionIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleFunctionIdentifier(this); + } +}; +SingleFunctionIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleFunctionIdentifier(this); + } +}; +SingleFunctionIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleFunctionIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleFunctionIdentifierContext = SingleFunctionIdentifierContext; +sqlParser.prototype.singleFunctionIdentifier = function () { + var localctx = new SingleFunctionIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 6, sqlParser.RULE_singleFunctionIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 215; + this.functionIdentifier(); + this.state = 216; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SingleDataTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleDataType; + return this; +} +SingleDataTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleDataTypeContext.prototype.constructor = SingleDataTypeContext; +SingleDataTypeContext.prototype.dataType = function () { + return this.getTypedRuleContext(DataTypeContext, 0); +}; +SingleDataTypeContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleDataTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleDataType(this); + } +}; +SingleDataTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleDataType(this); + } +}; +SingleDataTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleDataType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleDataTypeContext = SingleDataTypeContext; +sqlParser.prototype.singleDataType = function () { + var localctx = new SingleDataTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 8, sqlParser.RULE_singleDataType); + try { + this.enterOuterAlt(localctx, 1); + this.state = 218; + this.dataType(); + this.state = 219; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SingleTableSchemaContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleTableSchema; + return this; +} +SingleTableSchemaContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleTableSchemaContext.prototype.constructor = SingleTableSchemaContext; +SingleTableSchemaContext.prototype.colTypeList = function () { + return this.getTypedRuleContext(ColTypeListContext, 0); +}; +SingleTableSchemaContext.prototype.EOF = function () { + return this.getToken(sqlParser.EOF, 0); +}; +SingleTableSchemaContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleTableSchema(this); + } +}; +SingleTableSchemaContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleTableSchema(this); + } +}; +SingleTableSchemaContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleTableSchema(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SingleTableSchemaContext = SingleTableSchemaContext; +sqlParser.prototype.singleTableSchema = function () { + var localctx = new SingleTableSchemaContext(this, this._ctx, this.state); + this.enterRule(localctx, 10, sqlParser.RULE_singleTableSchema); + try { + this.enterOuterAlt(localctx, 1); + this.state = 221; + this.colTypeList(); + this.state = 222; + this.match(sqlParser.EOF); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function StatementContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_statement; + return this; +} +StatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StatementContext.prototype.constructor = StatementContext; +StatementContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function ExplainContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ExplainContext.prototype = Object.create(StatementContext.prototype); +ExplainContext.prototype.constructor = ExplainContext; +sqlParser.ExplainContext = ExplainContext; +ExplainContext.prototype.EXPLAIN = function () { + return this.getToken(sqlParser.EXPLAIN, 0); +}; +ExplainContext.prototype.statement = function () { + return this.getTypedRuleContext(StatementContext, 0); +}; +ExplainContext.prototype.LOGICAL = function () { + return this.getToken(sqlParser.LOGICAL, 0); +}; +ExplainContext.prototype.FORMATTED = function () { + return this.getToken(sqlParser.FORMATTED, 0); +}; +ExplainContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +ExplainContext.prototype.CODEGEN = function () { + return this.getToken(sqlParser.CODEGEN, 0); +}; +ExplainContext.prototype.COST = function () { + return this.getToken(sqlParser.COST, 0); +}; +ExplainContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterExplain(this); + } +}; +ExplainContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitExplain(this); + } +}; +ExplainContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitExplain(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DropDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DropDatabaseContext.prototype = Object.create(StatementContext.prototype); +DropDatabaseContext.prototype.constructor = DropDatabaseContext; +sqlParser.DropDatabaseContext = DropDatabaseContext; +DropDatabaseContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +DropDatabaseContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +DropDatabaseContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +DropDatabaseContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +DropDatabaseContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +DropDatabaseContext.prototype.RESTRICT = function () { + return this.getToken(sqlParser.RESTRICT, 0); +}; +DropDatabaseContext.prototype.CASCADE = function () { + return this.getToken(sqlParser.CASCADE, 0); +}; +DropDatabaseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDropDatabase(this); + } +}; +DropDatabaseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDropDatabase(this); + } +}; +DropDatabaseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDropDatabase(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ResetConfigurationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ResetConfigurationContext.prototype = Object.create(StatementContext.prototype); +ResetConfigurationContext.prototype.constructor = ResetConfigurationContext; +sqlParser.ResetConfigurationContext = ResetConfigurationContext; +ResetConfigurationContext.prototype.RESET = function () { + return this.getToken(sqlParser.RESET, 0); +}; +ResetConfigurationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterResetConfiguration(this); + } +}; +ResetConfigurationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitResetConfiguration(this); + } +}; +ResetConfigurationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitResetConfiguration(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DescribeDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DescribeDatabaseContext.prototype = Object.create(StatementContext.prototype); +DescribeDatabaseContext.prototype.constructor = DescribeDatabaseContext; +sqlParser.DescribeDatabaseContext = DescribeDatabaseContext; +DescribeDatabaseContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +DescribeDatabaseContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +DescribeDatabaseContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +DescribeDatabaseContext.prototype.DESCRIBE = function () { + return this.getToken(sqlParser.DESCRIBE, 0); +}; +DescribeDatabaseContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +DescribeDatabaseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDescribeDatabase(this); + } +}; +DescribeDatabaseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDescribeDatabase(this); + } +}; +DescribeDatabaseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDescribeDatabase(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AlterViewQueryContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +AlterViewQueryContext.prototype = Object.create(StatementContext.prototype); +AlterViewQueryContext.prototype.constructor = AlterViewQueryContext; +sqlParser.AlterViewQueryContext = AlterViewQueryContext; +AlterViewQueryContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +AlterViewQueryContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +AlterViewQueryContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +AlterViewQueryContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +AlterViewQueryContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +AlterViewQueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAlterViewQuery(this); + } +}; +AlterViewQueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAlterViewQuery(this); + } +}; +AlterViewQueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAlterViewQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +function UseContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +UseContext.prototype = Object.create(StatementContext.prototype); +UseContext.prototype.constructor = UseContext; +sqlParser.UseContext = UseContext; +UseContext.prototype.USE = function () { + return this.getToken(sqlParser.USE, 0); +}; +UseContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +UseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterUse(this); + } +}; +UseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitUse(this); + } +}; +UseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitUse(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateTempViewUsingContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateTempViewUsingContext.prototype = Object.create(StatementContext.prototype); +CreateTempViewUsingContext.prototype.constructor = CreateTempViewUsingContext; +sqlParser.CreateTempViewUsingContext = CreateTempViewUsingContext; +CreateTempViewUsingContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateTempViewUsingContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +CreateTempViewUsingContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +CreateTempViewUsingContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +CreateTempViewUsingContext.prototype.tableProvider = function () { + return this.getTypedRuleContext(TableProviderContext, 0); +}; +CreateTempViewUsingContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +CreateTempViewUsingContext.prototype.REPLACE = function () { + return this.getToken(sqlParser.REPLACE, 0); +}; +CreateTempViewUsingContext.prototype.GLOBAL = function () { + return this.getToken(sqlParser.GLOBAL, 0); +}; +CreateTempViewUsingContext.prototype.colTypeList = function () { + return this.getTypedRuleContext(ColTypeListContext, 0); +}; +CreateTempViewUsingContext.prototype.OPTIONS = function () { + return this.getToken(sqlParser.OPTIONS, 0); +}; +CreateTempViewUsingContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +CreateTempViewUsingContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateTempViewUsing(this); + } +}; +CreateTempViewUsingContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateTempViewUsing(this); + } +}; +CreateTempViewUsingContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateTempViewUsing(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RenameTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.from = null; // TableIdentifierContext; + this.to = null; // TableIdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RenameTableContext.prototype = Object.create(StatementContext.prototype); +RenameTableContext.prototype.constructor = RenameTableContext; +sqlParser.RenameTableContext = RenameTableContext; +RenameTableContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +RenameTableContext.prototype.RENAME = function () { + return this.getToken(sqlParser.RENAME, 0); +}; +RenameTableContext.prototype.TO = function () { + return this.getToken(sqlParser.TO, 0); +}; +RenameTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +RenameTableContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +RenameTableContext.prototype.tableIdentifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(TableIdentifierContext); + } + else { + return this.getTypedRuleContext(TableIdentifierContext, i); + } +}; +RenameTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRenameTable(this); + } +}; +RenameTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRenameTable(this); + } +}; +RenameTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRenameTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function FailNativeCommandContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +FailNativeCommandContext.prototype = Object.create(StatementContext.prototype); +FailNativeCommandContext.prototype.constructor = FailNativeCommandContext; +sqlParser.FailNativeCommandContext = FailNativeCommandContext; +FailNativeCommandContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +FailNativeCommandContext.prototype.ROLE = function () { + return this.getToken(sqlParser.ROLE, 0); +}; +FailNativeCommandContext.prototype.unsupportedHiveNativeCommands = function () { + return this.getTypedRuleContext(UnsupportedHiveNativeCommandsContext, 0); +}; +FailNativeCommandContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFailNativeCommand(this); + } +}; +FailNativeCommandContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFailNativeCommand(this); + } +}; +FailNativeCommandContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFailNativeCommand(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ClearCacheContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ClearCacheContext.prototype = Object.create(StatementContext.prototype); +ClearCacheContext.prototype.constructor = ClearCacheContext; +sqlParser.ClearCacheContext = ClearCacheContext; +ClearCacheContext.prototype.CLEAR = function () { + return this.getToken(sqlParser.CLEAR, 0); +}; +ClearCacheContext.prototype.CACHE = function () { + return this.getToken(sqlParser.CACHE, 0); +}; +ClearCacheContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterClearCache(this); + } +}; +ClearCacheContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitClearCache(this); + } +}; +ClearCacheContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitClearCache(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowTablesContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowTablesContext.prototype = Object.create(StatementContext.prototype); +ShowTablesContext.prototype.constructor = ShowTablesContext; +sqlParser.ShowTablesContext = ShowTablesContext; +ShowTablesContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowTablesContext.prototype.TABLES = function () { + return this.getToken(sqlParser.TABLES, 0); +}; +ShowTablesContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +ShowTablesContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +ShowTablesContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ShowTablesContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ShowTablesContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowTablesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowTables(this); + } +}; +ShowTablesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowTables(this); + } +}; +ShowTablesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowTables(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RecoverPartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RecoverPartitionsContext.prototype = Object.create(StatementContext.prototype); +RecoverPartitionsContext.prototype.constructor = RecoverPartitionsContext; +sqlParser.RecoverPartitionsContext = RecoverPartitionsContext; +RecoverPartitionsContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +RecoverPartitionsContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +RecoverPartitionsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +RecoverPartitionsContext.prototype.RECOVER = function () { + return this.getToken(sqlParser.RECOVER, 0); +}; +RecoverPartitionsContext.prototype.PARTITIONS = function () { + return this.getToken(sqlParser.PARTITIONS, 0); +}; +RecoverPartitionsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRecoverPartitions(this); + } +}; +RecoverPartitionsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRecoverPartitions(this); + } +}; +RecoverPartitionsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRecoverPartitions(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RenameTablePartitionContext(parser, ctx) { + StatementContext.call(this, parser); + this.from = null; // PartitionSpecContext; + this.to = null; // PartitionSpecContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RenameTablePartitionContext.prototype = Object.create(StatementContext.prototype); +RenameTablePartitionContext.prototype.constructor = RenameTablePartitionContext; +sqlParser.RenameTablePartitionContext = RenameTablePartitionContext; +RenameTablePartitionContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +RenameTablePartitionContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +RenameTablePartitionContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +RenameTablePartitionContext.prototype.RENAME = function () { + return this.getToken(sqlParser.RENAME, 0); +}; +RenameTablePartitionContext.prototype.TO = function () { + return this.getToken(sqlParser.TO, 0); +}; +RenameTablePartitionContext.prototype.partitionSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } + else { + return this.getTypedRuleContext(PartitionSpecContext, i); + } +}; +RenameTablePartitionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRenameTablePartition(this); + } +}; +RenameTablePartitionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRenameTablePartition(this); + } +}; +RenameTablePartitionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRenameTablePartition(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RepairTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RepairTableContext.prototype = Object.create(StatementContext.prototype); +RepairTableContext.prototype.constructor = RepairTableContext; +sqlParser.RepairTableContext = RepairTableContext; +RepairTableContext.prototype.MSCK = function () { + return this.getToken(sqlParser.MSCK, 0); +}; +RepairTableContext.prototype.REPAIR = function () { + return this.getToken(sqlParser.REPAIR, 0); +}; +RepairTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +RepairTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +RepairTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRepairTable(this); + } +}; +RepairTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRepairTable(this); + } +}; +RepairTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRepairTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RefreshResourceContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RefreshResourceContext.prototype = Object.create(StatementContext.prototype); +RefreshResourceContext.prototype.constructor = RefreshResourceContext; +sqlParser.RefreshResourceContext = RefreshResourceContext; +RefreshResourceContext.prototype.REFRESH = function () { + return this.getToken(sqlParser.REFRESH, 0); +}; +RefreshResourceContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +RefreshResourceContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRefreshResource(this); + } +}; +RefreshResourceContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRefreshResource(this); + } +}; +RefreshResourceContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRefreshResource(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowCreateTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowCreateTableContext.prototype = Object.create(StatementContext.prototype); +ShowCreateTableContext.prototype.constructor = ShowCreateTableContext; +sqlParser.ShowCreateTableContext = ShowCreateTableContext; +ShowCreateTableContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowCreateTableContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +ShowCreateTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +ShowCreateTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +ShowCreateTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowCreateTable(this); + } +}; +ShowCreateTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowCreateTable(this); + } +}; +ShowCreateTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowCreateTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowColumnsContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowColumnsContext.prototype = Object.create(StatementContext.prototype); +ShowColumnsContext.prototype.constructor = ShowColumnsContext; +sqlParser.ShowColumnsContext = ShowColumnsContext; +ShowColumnsContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowColumnsContext.prototype.COLUMNS = function () { + return this.getToken(sqlParser.COLUMNS, 0); +}; +ShowColumnsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +ShowColumnsContext.prototype.FROM = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.FROM); + } + else { + return this.getToken(sqlParser.FROM, i); + } +}; +ShowColumnsContext.prototype.IN = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.IN); + } + else { + return this.getToken(sqlParser.IN, i); + } +}; +ShowColumnsContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ShowColumnsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowColumns(this); + } +}; +ShowColumnsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowColumns(this); + } +}; +ShowColumnsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowColumns(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AddTablePartitionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +AddTablePartitionContext.prototype = Object.create(StatementContext.prototype); +AddTablePartitionContext.prototype.constructor = AddTablePartitionContext; +sqlParser.AddTablePartitionContext = AddTablePartitionContext; +AddTablePartitionContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +AddTablePartitionContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +AddTablePartitionContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +AddTablePartitionContext.prototype.ADD = function () { + return this.getToken(sqlParser.ADD, 0); +}; +AddTablePartitionContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +AddTablePartitionContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +AddTablePartitionContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +AddTablePartitionContext.prototype.partitionSpecLocation = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PartitionSpecLocationContext); + } + else { + return this.getTypedRuleContext(PartitionSpecLocationContext, i); + } +}; +AddTablePartitionContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +AddTablePartitionContext.prototype.partitionSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } + else { + return this.getTypedRuleContext(PartitionSpecContext, i); + } +}; +AddTablePartitionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAddTablePartition(this); + } +}; +AddTablePartitionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAddTablePartition(this); + } +}; +AddTablePartitionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAddTablePartition(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RefreshTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +RefreshTableContext.prototype = Object.create(StatementContext.prototype); +RefreshTableContext.prototype.constructor = RefreshTableContext; +sqlParser.RefreshTableContext = RefreshTableContext; +RefreshTableContext.prototype.REFRESH = function () { + return this.getToken(sqlParser.REFRESH, 0); +}; +RefreshTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +RefreshTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +RefreshTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRefreshTable(this); + } +}; +RefreshTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRefreshTable(this); + } +}; +RefreshTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRefreshTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ManageResourceContext(parser, ctx) { + StatementContext.call(this, parser); + this.op = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ManageResourceContext.prototype = Object.create(StatementContext.prototype); +ManageResourceContext.prototype.constructor = ManageResourceContext; +sqlParser.ManageResourceContext = ManageResourceContext; +ManageResourceContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ManageResourceContext.prototype.ADD = function () { + return this.getToken(sqlParser.ADD, 0); +}; +ManageResourceContext.prototype.LIST = function () { + return this.getToken(sqlParser.LIST, 0); +}; +ManageResourceContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterManageResource(this); + } +}; +ManageResourceContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitManageResource(this); + } +}; +ManageResourceContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitManageResource(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + this.comment = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateDatabaseContext.prototype = Object.create(StatementContext.prototype); +CreateDatabaseContext.prototype.constructor = CreateDatabaseContext; +sqlParser.CreateDatabaseContext = CreateDatabaseContext; +CreateDatabaseContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateDatabaseContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +CreateDatabaseContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +CreateDatabaseContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +CreateDatabaseContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +CreateDatabaseContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +CreateDatabaseContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +CreateDatabaseContext.prototype.locationSpec = function () { + return this.getTypedRuleContext(LocationSpecContext, 0); +}; +CreateDatabaseContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +CreateDatabaseContext.prototype.DBPROPERTIES = function () { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; +CreateDatabaseContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +CreateDatabaseContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +CreateDatabaseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateDatabase(this); + } +}; +CreateDatabaseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateDatabase(this); + } +}; +CreateDatabaseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateDatabase(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AnalyzeContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +AnalyzeContext.prototype = Object.create(StatementContext.prototype); +AnalyzeContext.prototype.constructor = AnalyzeContext; +sqlParser.AnalyzeContext = AnalyzeContext; +AnalyzeContext.prototype.ANALYZE = function () { + return this.getToken(sqlParser.ANALYZE, 0); +}; +AnalyzeContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +AnalyzeContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +AnalyzeContext.prototype.COMPUTE = function () { + return this.getToken(sqlParser.COMPUTE, 0); +}; +AnalyzeContext.prototype.STATISTICS = function () { + return this.getToken(sqlParser.STATISTICS, 0); +}; +AnalyzeContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +AnalyzeContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +AnalyzeContext.prototype.FOR = function () { + return this.getToken(sqlParser.FOR, 0); +}; +AnalyzeContext.prototype.COLUMNS = function () { + return this.getToken(sqlParser.COLUMNS, 0); +}; +AnalyzeContext.prototype.identifierSeq = function () { + return this.getTypedRuleContext(IdentifierSeqContext, 0); +}; +AnalyzeContext.prototype.ALL = function () { + return this.getToken(sqlParser.ALL, 0); +}; +AnalyzeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAnalyze(this); + } +}; +AnalyzeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAnalyze(this); + } +}; +AnalyzeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAnalyze(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateHiveTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.columns = null; // ColTypeListContext; + this.comment = null; // Token; + this.partitionColumns = null; // ColTypeListContext; + this.tableProps = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateHiveTableContext.prototype = Object.create(StatementContext.prototype); +CreateHiveTableContext.prototype.constructor = CreateHiveTableContext; +sqlParser.CreateHiveTableContext = CreateHiveTableContext; +CreateHiveTableContext.prototype.createTableHeader = function () { + return this.getTypedRuleContext(CreateTableHeaderContext, 0); +}; +CreateHiveTableContext.prototype.bucketSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(BucketSpecContext); + } + else { + return this.getTypedRuleContext(BucketSpecContext, i); + } +}; +CreateHiveTableContext.prototype.skewSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(SkewSpecContext); + } + else { + return this.getTypedRuleContext(SkewSpecContext, i); + } +}; +CreateHiveTableContext.prototype.rowFormat = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(RowFormatContext); + } + else { + return this.getTypedRuleContext(RowFormatContext, i); + } +}; +CreateHiveTableContext.prototype.createFileFormat = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(CreateFileFormatContext); + } + else { + return this.getTypedRuleContext(CreateFileFormatContext, i); + } +}; +CreateHiveTableContext.prototype.locationSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(LocationSpecContext); + } + else { + return this.getTypedRuleContext(LocationSpecContext, i); + } +}; +CreateHiveTableContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +CreateHiveTableContext.prototype.colTypeList = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ColTypeListContext); + } + else { + return this.getTypedRuleContext(ColTypeListContext, i); + } +}; +CreateHiveTableContext.prototype.COMMENT = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.COMMENT); + } + else { + return this.getToken(sqlParser.COMMENT, i); + } +}; +CreateHiveTableContext.prototype.PARTITIONED = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.PARTITIONED); + } + else { + return this.getToken(sqlParser.PARTITIONED, i); + } +}; +CreateHiveTableContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +CreateHiveTableContext.prototype.TBLPROPERTIES = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.TBLPROPERTIES); + } + else { + return this.getToken(sqlParser.TBLPROPERTIES, i); + } +}; +CreateHiveTableContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +CreateHiveTableContext.prototype.tablePropertyList = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(TablePropertyListContext); + } + else { + return this.getTypedRuleContext(TablePropertyListContext, i); + } +}; +CreateHiveTableContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CreateHiveTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateHiveTable(this); + } +}; +CreateHiveTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateHiveTable(this); + } +}; +CreateHiveTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateHiveTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + this.className = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateFunctionContext.prototype = Object.create(StatementContext.prototype); +CreateFunctionContext.prototype.constructor = CreateFunctionContext; +sqlParser.CreateFunctionContext = CreateFunctionContext; +CreateFunctionContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateFunctionContext.prototype.FUNCTION = function () { + return this.getToken(sqlParser.FUNCTION, 0); +}; +CreateFunctionContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +CreateFunctionContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CreateFunctionContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +CreateFunctionContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +CreateFunctionContext.prototype.REPLACE = function () { + return this.getToken(sqlParser.REPLACE, 0); +}; +CreateFunctionContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +CreateFunctionContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +CreateFunctionContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +CreateFunctionContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +CreateFunctionContext.prototype.USING = function () { + return this.getToken(sqlParser.USING, 0); +}; +CreateFunctionContext.prototype.resource = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ResourceContext); + } + else { + return this.getTypedRuleContext(ResourceContext, i); + } +}; +CreateFunctionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateFunction(this); + } +}; +CreateFunctionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateFunction(this); + } +}; +CreateFunctionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateFunction(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowTableContext.prototype = Object.create(StatementContext.prototype); +ShowTableContext.prototype.constructor = ShowTableContext; +sqlParser.ShowTableContext = ShowTableContext; +ShowTableContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +ShowTableContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +ShowTableContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowTableContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ShowTableContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +ShowTableContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +ShowTableContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +ShowTableContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ShowTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowTable(this); + } +}; +ShowTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowTable(this); + } +}; +ShowTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetDatabasePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetDatabasePropertiesContext.prototype = Object.create(StatementContext.prototype); +SetDatabasePropertiesContext.prototype.constructor = SetDatabasePropertiesContext; +sqlParser.SetDatabasePropertiesContext = SetDatabasePropertiesContext; +SetDatabasePropertiesContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +SetDatabasePropertiesContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +SetDatabasePropertiesContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +SetDatabasePropertiesContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +SetDatabasePropertiesContext.prototype.DBPROPERTIES = function () { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; +SetDatabasePropertiesContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +SetDatabasePropertiesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetDatabaseProperties(this); + } +}; +SetDatabasePropertiesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetDatabaseProperties(this); + } +}; +SetDatabasePropertiesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetDatabaseProperties(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.options = null; // TablePropertyListContext; + this.partitionColumnNames = null; // IdentifierListContext; + this.comment = null; // Token; + this.tableProps = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateTableContext.prototype = Object.create(StatementContext.prototype); +CreateTableContext.prototype.constructor = CreateTableContext; +sqlParser.CreateTableContext = CreateTableContext; +CreateTableContext.prototype.createTableHeader = function () { + return this.getTypedRuleContext(CreateTableHeaderContext, 0); +}; +CreateTableContext.prototype.tableProvider = function () { + return this.getTypedRuleContext(TableProviderContext, 0); +}; +CreateTableContext.prototype.colTypeList = function () { + return this.getTypedRuleContext(ColTypeListContext, 0); +}; +CreateTableContext.prototype.bucketSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(BucketSpecContext); + } + else { + return this.getTypedRuleContext(BucketSpecContext, i); + } +}; +CreateTableContext.prototype.locationSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(LocationSpecContext); + } + else { + return this.getTypedRuleContext(LocationSpecContext, i); + } +}; +CreateTableContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +CreateTableContext.prototype.OPTIONS = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.OPTIONS); + } + else { + return this.getToken(sqlParser.OPTIONS, i); + } +}; +CreateTableContext.prototype.PARTITIONED = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.PARTITIONED); + } + else { + return this.getToken(sqlParser.PARTITIONED, i); + } +}; +CreateTableContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +CreateTableContext.prototype.COMMENT = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.COMMENT); + } + else { + return this.getToken(sqlParser.COMMENT, i); + } +}; +CreateTableContext.prototype.TBLPROPERTIES = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.TBLPROPERTIES); + } + else { + return this.getToken(sqlParser.TBLPROPERTIES, i); + } +}; +CreateTableContext.prototype.tablePropertyList = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(TablePropertyListContext); + } + else { + return this.getTypedRuleContext(TablePropertyListContext, i); + } +}; +CreateTableContext.prototype.identifierList = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierListContext); + } + else { + return this.getTypedRuleContext(IdentifierListContext, i); + } +}; +CreateTableContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +CreateTableContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CreateTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateTable(this); + } +}; +CreateTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateTable(this); + } +}; +CreateTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DescribeTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.option = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DescribeTableContext.prototype = Object.create(StatementContext.prototype); +DescribeTableContext.prototype.constructor = DescribeTableContext; +sqlParser.DescribeTableContext = DescribeTableContext; +DescribeTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +DescribeTableContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +DescribeTableContext.prototype.DESCRIBE = function () { + return this.getToken(sqlParser.DESCRIBE, 0); +}; +DescribeTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +DescribeTableContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +DescribeTableContext.prototype.describeColName = function () { + return this.getTypedRuleContext(DescribeColNameContext, 0); +}; +DescribeTableContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +DescribeTableContext.prototype.FORMATTED = function () { + return this.getToken(sqlParser.FORMATTED, 0); +}; +DescribeTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDescribeTable(this); + } +}; +DescribeTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDescribeTable(this); + } +}; +DescribeTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDescribeTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateTableLikeContext(parser, ctx) { + StatementContext.call(this, parser); + this.target = null; // TableIdentifierContext; + this.source = null; // TableIdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateTableLikeContext.prototype = Object.create(StatementContext.prototype); +CreateTableLikeContext.prototype.constructor = CreateTableLikeContext; +sqlParser.CreateTableLikeContext = CreateTableLikeContext; +CreateTableLikeContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateTableLikeContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +CreateTableLikeContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +CreateTableLikeContext.prototype.tableIdentifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(TableIdentifierContext); + } + else { + return this.getTypedRuleContext(TableIdentifierContext, i); + } +}; +CreateTableLikeContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +CreateTableLikeContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +CreateTableLikeContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +CreateTableLikeContext.prototype.locationSpec = function () { + return this.getTypedRuleContext(LocationSpecContext, 0); +}; +CreateTableLikeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateTableLike(this); + } +}; +CreateTableLikeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateTableLike(this); + } +}; +CreateTableLikeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateTableLike(this); + } + else { + return visitor.visitChildren(this); + } +}; +function UncacheTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +UncacheTableContext.prototype = Object.create(StatementContext.prototype); +UncacheTableContext.prototype.constructor = UncacheTableContext; +sqlParser.UncacheTableContext = UncacheTableContext; +UncacheTableContext.prototype.UNCACHE = function () { + return this.getToken(sqlParser.UNCACHE, 0); +}; +UncacheTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +UncacheTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +UncacheTableContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +UncacheTableContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +UncacheTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterUncacheTable(this); + } +}; +UncacheTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitUncacheTable(this); + } +}; +UncacheTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitUncacheTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DropFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DropFunctionContext.prototype = Object.create(StatementContext.prototype); +DropFunctionContext.prototype.constructor = DropFunctionContext; +sqlParser.DropFunctionContext = DropFunctionContext; +DropFunctionContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +DropFunctionContext.prototype.FUNCTION = function () { + return this.getToken(sqlParser.FUNCTION, 0); +}; +DropFunctionContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +DropFunctionContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +DropFunctionContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +DropFunctionContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +DropFunctionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDropFunction(this); + } +}; +DropFunctionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDropFunction(this); + } +}; +DropFunctionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDropFunction(this); + } + else { + return visitor.visitChildren(this); + } +}; +function LoadDataContext(parser, ctx) { + StatementContext.call(this, parser); + this.path = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +LoadDataContext.prototype = Object.create(StatementContext.prototype); +LoadDataContext.prototype.constructor = LoadDataContext; +sqlParser.LoadDataContext = LoadDataContext; +LoadDataContext.prototype.LOAD = function () { + return this.getToken(sqlParser.LOAD, 0); +}; +LoadDataContext.prototype.DATA = function () { + return this.getToken(sqlParser.DATA, 0); +}; +LoadDataContext.prototype.INPATH = function () { + return this.getToken(sqlParser.INPATH, 0); +}; +LoadDataContext.prototype.INTO = function () { + return this.getToken(sqlParser.INTO, 0); +}; +LoadDataContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +LoadDataContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +LoadDataContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +LoadDataContext.prototype.LOCAL = function () { + return this.getToken(sqlParser.LOCAL, 0); +}; +LoadDataContext.prototype.OVERWRITE = function () { + return this.getToken(sqlParser.OVERWRITE, 0); +}; +LoadDataContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +LoadDataContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLoadData(this); + } +}; +LoadDataContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLoadData(this); + } +}; +LoadDataContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLoadData(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowPartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowPartitionsContext.prototype = Object.create(StatementContext.prototype); +ShowPartitionsContext.prototype.constructor = ShowPartitionsContext; +sqlParser.ShowPartitionsContext = ShowPartitionsContext; +ShowPartitionsContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowPartitionsContext.prototype.PARTITIONS = function () { + return this.getToken(sqlParser.PARTITIONS, 0); +}; +ShowPartitionsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +ShowPartitionsContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +ShowPartitionsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowPartitions(this); + } +}; +ShowPartitionsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowPartitions(this); + } +}; +ShowPartitionsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowPartitions(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DescribeFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DescribeFunctionContext.prototype = Object.create(StatementContext.prototype); +DescribeFunctionContext.prototype.constructor = DescribeFunctionContext; +sqlParser.DescribeFunctionContext = DescribeFunctionContext; +DescribeFunctionContext.prototype.FUNCTION = function () { + return this.getToken(sqlParser.FUNCTION, 0); +}; +DescribeFunctionContext.prototype.describeFuncName = function () { + return this.getTypedRuleContext(DescribeFuncNameContext, 0); +}; +DescribeFunctionContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +DescribeFunctionContext.prototype.DESCRIBE = function () { + return this.getToken(sqlParser.DESCRIBE, 0); +}; +DescribeFunctionContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +DescribeFunctionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDescribeFunction(this); + } +}; +DescribeFunctionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDescribeFunction(this); + } +}; +DescribeFunctionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDescribeFunction(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ChangeColumnContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ChangeColumnContext.prototype = Object.create(StatementContext.prototype); +ChangeColumnContext.prototype.constructor = ChangeColumnContext; +sqlParser.ChangeColumnContext = ChangeColumnContext; +ChangeColumnContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +ChangeColumnContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +ChangeColumnContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +ChangeColumnContext.prototype.CHANGE = function () { + return this.getToken(sqlParser.CHANGE, 0); +}; +ChangeColumnContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ChangeColumnContext.prototype.colType = function () { + return this.getTypedRuleContext(ColTypeContext, 0); +}; +ChangeColumnContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +ChangeColumnContext.prototype.COLUMN = function () { + return this.getToken(sqlParser.COLUMN, 0); +}; +ChangeColumnContext.prototype.colPosition = function () { + return this.getTypedRuleContext(ColPositionContext, 0); +}; +ChangeColumnContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterChangeColumn(this); + } +}; +ChangeColumnContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitChangeColumn(this); + } +}; +ChangeColumnContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitChangeColumn(this); + } + else { + return visitor.visitChildren(this); + } +}; +function StatementDefaultContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +StatementDefaultContext.prototype = Object.create(StatementContext.prototype); +StatementDefaultContext.prototype.constructor = StatementDefaultContext; +sqlParser.StatementDefaultContext = StatementDefaultContext; +StatementDefaultContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +StatementDefaultContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterStatementDefault(this); + } +}; +StatementDefaultContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitStatementDefault(this); + } +}; +StatementDefaultContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitStatementDefault(this); + } + else { + return visitor.visitChildren(this); + } +}; +function TruncateTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +TruncateTableContext.prototype = Object.create(StatementContext.prototype); +TruncateTableContext.prototype.constructor = TruncateTableContext; +sqlParser.TruncateTableContext = TruncateTableContext; +TruncateTableContext.prototype.TRUNCATE = function () { + return this.getToken(sqlParser.TRUNCATE, 0); +}; +TruncateTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +TruncateTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +TruncateTableContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +TruncateTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTruncateTable(this); + } +}; +TruncateTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTruncateTable(this); + } +}; +TruncateTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTruncateTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetTableSerDeContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetTableSerDeContext.prototype = Object.create(StatementContext.prototype); +SetTableSerDeContext.prototype.constructor = SetTableSerDeContext; +sqlParser.SetTableSerDeContext = SetTableSerDeContext; +SetTableSerDeContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +SetTableSerDeContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +SetTableSerDeContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +SetTableSerDeContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +SetTableSerDeContext.prototype.SERDE = function () { + return this.getToken(sqlParser.SERDE, 0); +}; +SetTableSerDeContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +SetTableSerDeContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +SetTableSerDeContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +SetTableSerDeContext.prototype.SERDEPROPERTIES = function () { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; +SetTableSerDeContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +SetTableSerDeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetTableSerDe(this); + } +}; +SetTableSerDeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetTableSerDe(this); + } +}; +SetTableSerDeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetTableSerDe(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateViewContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateViewContext.prototype = Object.create(StatementContext.prototype); +CreateViewContext.prototype.constructor = CreateViewContext; +sqlParser.CreateViewContext = CreateViewContext; +CreateViewContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateViewContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +CreateViewContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +CreateViewContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CreateViewContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +CreateViewContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +CreateViewContext.prototype.REPLACE = function () { + return this.getToken(sqlParser.REPLACE, 0); +}; +CreateViewContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +CreateViewContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +CreateViewContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +CreateViewContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +CreateViewContext.prototype.identifierCommentList = function () { + return this.getTypedRuleContext(IdentifierCommentListContext, 0); +}; +CreateViewContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +CreateViewContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +CreateViewContext.prototype.PARTITIONED = function () { + return this.getToken(sqlParser.PARTITIONED, 0); +}; +CreateViewContext.prototype.ON = function () { + return this.getToken(sqlParser.ON, 0); +}; +CreateViewContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +CreateViewContext.prototype.TBLPROPERTIES = function () { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; +CreateViewContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +CreateViewContext.prototype.GLOBAL = function () { + return this.getToken(sqlParser.GLOBAL, 0); +}; +CreateViewContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateView(this); + } +}; +CreateViewContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateView(this); + } +}; +CreateViewContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateView(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DropTablePartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DropTablePartitionsContext.prototype = Object.create(StatementContext.prototype); +DropTablePartitionsContext.prototype.constructor = DropTablePartitionsContext; +sqlParser.DropTablePartitionsContext = DropTablePartitionsContext; +DropTablePartitionsContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +DropTablePartitionsContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +DropTablePartitionsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +DropTablePartitionsContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +DropTablePartitionsContext.prototype.partitionSpec = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } + else { + return this.getTypedRuleContext(PartitionSpecContext, i); + } +}; +DropTablePartitionsContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +DropTablePartitionsContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +DropTablePartitionsContext.prototype.PURGE = function () { + return this.getToken(sqlParser.PURGE, 0); +}; +DropTablePartitionsContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +DropTablePartitionsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDropTablePartitions(this); + } +}; +DropTablePartitionsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDropTablePartitions(this); + } +}; +DropTablePartitionsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDropTablePartitions(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetConfigurationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetConfigurationContext.prototype = Object.create(StatementContext.prototype); +SetConfigurationContext.prototype.constructor = SetConfigurationContext; +sqlParser.SetConfigurationContext = SetConfigurationContext; +SetConfigurationContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +SetConfigurationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetConfiguration(this); + } +}; +SetConfigurationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetConfiguration(this); + } +}; +SetConfigurationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetConfiguration(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DropTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +DropTableContext.prototype = Object.create(StatementContext.prototype); +DropTableContext.prototype.constructor = DropTableContext; +sqlParser.DropTableContext = DropTableContext; +DropTableContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +DropTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +DropTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +DropTableContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +DropTableContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +DropTableContext.prototype.PURGE = function () { + return this.getToken(sqlParser.PURGE, 0); +}; +DropTableContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +DropTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDropTable(this); + } +}; +DropTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDropTable(this); + } +}; +DropTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDropTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowDatabasesContext(parser, ctx) { + StatementContext.call(this, parser); + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowDatabasesContext.prototype = Object.create(StatementContext.prototype); +ShowDatabasesContext.prototype.constructor = ShowDatabasesContext; +sqlParser.ShowDatabasesContext = ShowDatabasesContext; +ShowDatabasesContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowDatabasesContext.prototype.DATABASES = function () { + return this.getToken(sqlParser.DATABASES, 0); +}; +ShowDatabasesContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ShowDatabasesContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowDatabasesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowDatabases(this); + } +}; +ShowDatabasesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowDatabases(this); + } +}; +ShowDatabasesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowDatabases(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowTblPropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + this.table = null; // TableIdentifierContext; + this.key = null; // TablePropertyKeyContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowTblPropertiesContext.prototype = Object.create(StatementContext.prototype); +ShowTblPropertiesContext.prototype.constructor = ShowTblPropertiesContext; +sqlParser.ShowTblPropertiesContext = ShowTblPropertiesContext; +ShowTblPropertiesContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowTblPropertiesContext.prototype.TBLPROPERTIES = function () { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; +ShowTblPropertiesContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +ShowTblPropertiesContext.prototype.tablePropertyKey = function () { + return this.getTypedRuleContext(TablePropertyKeyContext, 0); +}; +ShowTblPropertiesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowTblProperties(this); + } +}; +ShowTblPropertiesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowTblProperties(this); + } +}; +ShowTblPropertiesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowTblProperties(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CreateFlinkTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.catcatalogName = null; // IdentifierContext; + this.columns = null; // DtColTypeListContext; + this.comment = null; // Token; + this.partitionColumnNames = null; // IdentifierListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CreateFlinkTableContext.prototype = Object.create(StatementContext.prototype); +CreateFlinkTableContext.prototype.constructor = CreateFlinkTableContext; +sqlParser.CreateFlinkTableContext = CreateFlinkTableContext; +CreateFlinkTableContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateFlinkTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +CreateFlinkTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +CreateFlinkTableContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +CreateFlinkTableContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +CreateFlinkTableContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +CreateFlinkTableContext.prototype.PARTITIONED = function () { + return this.getToken(sqlParser.PARTITIONED, 0); +}; +CreateFlinkTableContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +CreateFlinkTableContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +CreateFlinkTableContext.prototype.dtColTypeList = function () { + return this.getTypedRuleContext(DtColTypeListContext, 0); +}; +CreateFlinkTableContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +CreateFlinkTableContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +CreateFlinkTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateFlinkTable(this); + } +}; +CreateFlinkTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateFlinkTable(this); + } +}; +CreateFlinkTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateFlinkTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function UnsetTablePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +UnsetTablePropertiesContext.prototype = Object.create(StatementContext.prototype); +UnsetTablePropertiesContext.prototype.constructor = UnsetTablePropertiesContext; +sqlParser.UnsetTablePropertiesContext = UnsetTablePropertiesContext; +UnsetTablePropertiesContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +UnsetTablePropertiesContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +UnsetTablePropertiesContext.prototype.UNSET = function () { + return this.getToken(sqlParser.UNSET, 0); +}; +UnsetTablePropertiesContext.prototype.TBLPROPERTIES = function () { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; +UnsetTablePropertiesContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +UnsetTablePropertiesContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +UnsetTablePropertiesContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +UnsetTablePropertiesContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +UnsetTablePropertiesContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +UnsetTablePropertiesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterUnsetTableProperties(this); + } +}; +UnsetTablePropertiesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitUnsetTableProperties(this); + } +}; +UnsetTablePropertiesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitUnsetTableProperties(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetTableLocationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetTableLocationContext.prototype = Object.create(StatementContext.prototype); +SetTableLocationContext.prototype.constructor = SetTableLocationContext; +sqlParser.SetTableLocationContext = SetTableLocationContext; +SetTableLocationContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +SetTableLocationContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +SetTableLocationContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +SetTableLocationContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +SetTableLocationContext.prototype.locationSpec = function () { + return this.getTypedRuleContext(LocationSpecContext, 0); +}; +SetTableLocationContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +SetTableLocationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetTableLocation(this); + } +}; +SetTableLocationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetTableLocation(this); + } +}; +SetTableLocationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetTableLocation(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ShowFunctionsContext(parser, ctx) { + StatementContext.call(this, parser); + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +ShowFunctionsContext.prototype = Object.create(StatementContext.prototype); +ShowFunctionsContext.prototype.constructor = ShowFunctionsContext; +sqlParser.ShowFunctionsContext = ShowFunctionsContext; +ShowFunctionsContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +ShowFunctionsContext.prototype.FUNCTIONS = function () { + return this.getToken(sqlParser.FUNCTIONS, 0); +}; +ShowFunctionsContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ShowFunctionsContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +ShowFunctionsContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowFunctionsContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ShowFunctionsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterShowFunctions(this); + } +}; +ShowFunctionsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitShowFunctions(this); + } +}; +ShowFunctionsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitShowFunctions(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CacheTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.options = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +CacheTableContext.prototype = Object.create(StatementContext.prototype); +CacheTableContext.prototype.constructor = CacheTableContext; +sqlParser.CacheTableContext = CacheTableContext; +CacheTableContext.prototype.CACHE = function () { + return this.getToken(sqlParser.CACHE, 0); +}; +CacheTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +CacheTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +CacheTableContext.prototype.LAZY = function () { + return this.getToken(sqlParser.LAZY, 0); +}; +CacheTableContext.prototype.OPTIONS = function () { + return this.getToken(sqlParser.OPTIONS, 0); +}; +CacheTableContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +CacheTableContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +CacheTableContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CacheTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCacheTable(this); + } +}; +CacheTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCacheTable(this); + } +}; +CacheTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCacheTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AddTableColumnsContext(parser, ctx) { + StatementContext.call(this, parser); + this.columns = null; // ColTypeListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +AddTableColumnsContext.prototype = Object.create(StatementContext.prototype); +AddTableColumnsContext.prototype.constructor = AddTableColumnsContext; +sqlParser.AddTableColumnsContext = AddTableColumnsContext; +AddTableColumnsContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +AddTableColumnsContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +AddTableColumnsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +AddTableColumnsContext.prototype.ADD = function () { + return this.getToken(sqlParser.ADD, 0); +}; +AddTableColumnsContext.prototype.COLUMNS = function () { + return this.getToken(sqlParser.COLUMNS, 0); +}; +AddTableColumnsContext.prototype.colTypeList = function () { + return this.getTypedRuleContext(ColTypeListContext, 0); +}; +AddTableColumnsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAddTableColumns(this); + } +}; +AddTableColumnsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAddTableColumns(this); + } +}; +AddTableColumnsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAddTableColumns(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetTablePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetTablePropertiesContext.prototype = Object.create(StatementContext.prototype); +SetTablePropertiesContext.prototype.constructor = SetTablePropertiesContext; +sqlParser.SetTablePropertiesContext = SetTablePropertiesContext; +SetTablePropertiesContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +SetTablePropertiesContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +SetTablePropertiesContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +SetTablePropertiesContext.prototype.TBLPROPERTIES = function () { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; +SetTablePropertiesContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +SetTablePropertiesContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +SetTablePropertiesContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +SetTablePropertiesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetTableProperties(this); + } +}; +SetTablePropertiesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetTableProperties(this); + } +}; +SetTablePropertiesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetTableProperties(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.StatementContext = StatementContext; +sqlParser.prototype.statement = function () { + var localctx = new StatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 12, sqlParser.RULE_statement); + var _la = 0; // Token type + try { + this.state = 866; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 100, this._ctx); + switch (la_) { + case 1: + localctx = new StatementDefaultContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 224; + this.query(); + break; + case 2: + localctx = new UseContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 225; + this.match(sqlParser.USE); + this.state = 226; + localctx.db = this.identifier(); + break; + case 3: + localctx = new CreateDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 227; + this.match(sqlParser.CREATE); + this.state = 228; + this.match(sqlParser.DATABASE); + this.state = 232; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 0, this._ctx); + if (la_ === 1) { + this.state = 229; + this.match(sqlParser.IF); + this.state = 230; + this.match(sqlParser.NOT); + this.state = 231; + this.match(sqlParser.EXISTS); + } + this.state = 234; + this.identifier(); + this.state = 237; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 235; + this.match(sqlParser.COMMENT); + this.state = 236; + localctx.comment = this.match(sqlParser.STRING); + } + this.state = 240; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCATION) { + this.state = 239; + this.locationSpec(); + } + this.state = 245; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.WITH) { + this.state = 242; + this.match(sqlParser.WITH); + this.state = 243; + this.match(sqlParser.DBPROPERTIES); + this.state = 244; + this.tablePropertyList(); + } + break; + case 4: + localctx = new SetDatabasePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 247; + this.match(sqlParser.ALTER); + this.state = 248; + this.match(sqlParser.DATABASE); + this.state = 249; + this.identifier(); + this.state = 250; + this.match(sqlParser.SET); + this.state = 251; + this.match(sqlParser.DBPROPERTIES); + this.state = 252; + this.tablePropertyList(); + break; + case 5: + localctx = new DropDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 254; + this.match(sqlParser.DROP); + this.state = 255; + this.match(sqlParser.DATABASE); + this.state = 258; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 4, this._ctx); + if (la_ === 1) { + this.state = 256; + this.match(sqlParser.IF); + this.state = 257; + this.match(sqlParser.EXISTS); + } + this.state = 260; + this.identifier(); + this.state = 262; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.CASCADE || _la === sqlParser.RESTRICT) { + this.state = 261; + _la = this._input.LA(1); + if (!(_la === sqlParser.CASCADE || _la === sqlParser.RESTRICT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + break; + case 6: + localctx = new CreateTableContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 264; + this.createTableHeader(); + this.state = 269; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__0) { + this.state = 265; + this.match(sqlParser.T__0); + this.state = 266; + this.colTypeList(); + this.state = 267; + this.match(sqlParser.T__1); + } + this.state = 271; + this.tableProvider(); + this.state = 285; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.COMMENT || ((((_la - 183)) & ~0x1f) == 0 && ((1 << (_la - 183)) & ((1 << (sqlParser.OPTIONS - 183)) | (1 << (sqlParser.TBLPROPERTIES - 183)) | (1 << (sqlParser.LOCATION - 183)) | (1 << (sqlParser.CLUSTERED - 183)))) !== 0) || _la === sqlParser.PARTITIONED) { + this.state = 283; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.OPTIONS: + this.state = 272; + this.match(sqlParser.OPTIONS); + this.state = 273; + localctx.options = this.tablePropertyList(); + break; + case sqlParser.PARTITIONED: + this.state = 274; + this.match(sqlParser.PARTITIONED); + this.state = 275; + this.match(sqlParser.BY); + this.state = 276; + localctx.partitionColumnNames = this.identifierList(); + break; + case sqlParser.CLUSTERED: + this.state = 277; + this.bucketSpec(); + break; + case sqlParser.LOCATION: + this.state = 278; + this.locationSpec(); + break; + case sqlParser.COMMENT: + this.state = 279; + this.match(sqlParser.COMMENT); + this.state = 280; + localctx.comment = this.match(sqlParser.STRING); + break; + case sqlParser.TBLPROPERTIES: + this.state = 281; + this.match(sqlParser.TBLPROPERTIES); + this.state = 282; + localctx.tableProps = this.tablePropertyList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 287; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 292; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la === sqlParser.MAP || _la === sqlParser.REDUCE) { + this.state = 289; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 288; + this.match(sqlParser.AS); + } + this.state = 291; + this.query(); + } + break; + case 7: + localctx = new CreateHiveTableContext(this, localctx); + this.enterOuterAlt(localctx, 7); + this.state = 294; + this.createTableHeader(); + this.state = 299; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 11, this._ctx); + if (la_ === 1) { + this.state = 295; + this.match(sqlParser.T__0); + this.state = 296; + localctx.columns = this.colTypeList(); + this.state = 297; + this.match(sqlParser.T__1); + } + this.state = 318; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.ROW || _la === sqlParser.COMMENT || ((((_la - 185)) & ~0x1f) == 0 && ((1 << (_la - 185)) & ((1 << (sqlParser.TBLPROPERTIES - 185)) | (1 << (sqlParser.SKEWED - 185)) | (1 << (sqlParser.STORED - 185)) | (1 << (sqlParser.LOCATION - 185)) | (1 << (sqlParser.CLUSTERED - 185)) | (1 << (sqlParser.PARTITIONED - 185)))) !== 0)) { + this.state = 316; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.COMMENT: + this.state = 301; + this.match(sqlParser.COMMENT); + this.state = 302; + localctx.comment = this.match(sqlParser.STRING); + break; + case sqlParser.PARTITIONED: + this.state = 303; + this.match(sqlParser.PARTITIONED); + this.state = 304; + this.match(sqlParser.BY); + this.state = 305; + this.match(sqlParser.T__0); + this.state = 306; + localctx.partitionColumns = this.colTypeList(); + this.state = 307; + this.match(sqlParser.T__1); + break; + case sqlParser.CLUSTERED: + this.state = 309; + this.bucketSpec(); + break; + case sqlParser.SKEWED: + this.state = 310; + this.skewSpec(); + break; + case sqlParser.ROW: + this.state = 311; + this.rowFormat(); + break; + case sqlParser.STORED: + this.state = 312; + this.createFileFormat(); + break; + case sqlParser.LOCATION: + this.state = 313; + this.locationSpec(); + break; + case sqlParser.TBLPROPERTIES: + this.state = 314; + this.match(sqlParser.TBLPROPERTIES); + this.state = 315; + localctx.tableProps = this.tablePropertyList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 320; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 325; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la === sqlParser.MAP || _la === sqlParser.REDUCE) { + this.state = 322; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 321; + this.match(sqlParser.AS); + } + this.state = 324; + this.query(); + } + break; + case 8: + localctx = new CreateFlinkTableContext(this, localctx); + this.enterOuterAlt(localctx, 8); + this.state = 327; + this.match(sqlParser.CREATE); + this.state = 328; + this.match(sqlParser.TABLE); + this.state = 332; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 16, this._ctx); + if (la_ === 1) { + this.state = 329; + localctx.catcatalogName = this.identifier(); + this.state = 330; + this.match(sqlParser.T__2); + } + this.state = 334; + this.tableIdentifier(); + this.state = 339; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__0) { + this.state = 335; + this.match(sqlParser.T__0); + this.state = 336; + localctx.columns = this.dtColTypeList(); + this.state = 337; + this.match(sqlParser.T__1); + } + this.state = 343; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 341; + this.match(sqlParser.COMMENT); + this.state = 342; + localctx.comment = this.match(sqlParser.STRING); + } + this.state = 351; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITIONED) { + this.state = 345; + this.match(sqlParser.PARTITIONED); + this.state = 346; + this.match(sqlParser.BY); + this.state = 347; + this.match(sqlParser.T__0); + this.state = 348; + localctx.partitionColumnNames = this.identifierList(); + this.state = 349; + this.match(sqlParser.T__1); + } + this.state = 353; + this.match(sqlParser.WITH); + this.state = 354; + this.tablePropertyList(); + break; + case 9: + localctx = new CreateTableLikeContext(this, localctx); + this.enterOuterAlt(localctx, 9); + this.state = 356; + this.match(sqlParser.CREATE); + this.state = 357; + this.match(sqlParser.TABLE); + this.state = 361; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 20, this._ctx); + if (la_ === 1) { + this.state = 358; + this.match(sqlParser.IF); + this.state = 359; + this.match(sqlParser.NOT); + this.state = 360; + this.match(sqlParser.EXISTS); + } + this.state = 363; + localctx.target = this.tableIdentifier(); + this.state = 364; + this.match(sqlParser.LIKE); + this.state = 365; + localctx.source = this.tableIdentifier(); + this.state = 367; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCATION) { + this.state = 366; + this.locationSpec(); + } + break; + case 10: + localctx = new AnalyzeContext(this, localctx); + this.enterOuterAlt(localctx, 10); + this.state = 369; + this.match(sqlParser.ANALYZE); + this.state = 370; + this.match(sqlParser.TABLE); + this.state = 371; + this.tableIdentifier(); + this.state = 373; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 372; + this.partitionSpec(); + } + this.state = 375; + this.match(sqlParser.COMPUTE); + this.state = 376; + this.match(sqlParser.STATISTICS); + this.state = 384; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 23, this._ctx); + if (la_ === 1) { + this.state = 377; + this.identifier(); + } + else if (la_ === 2) { + this.state = 378; + this.match(sqlParser.FOR); + this.state = 379; + this.match(sqlParser.COLUMNS); + this.state = 380; + this.identifierSeq(); + } + else if (la_ === 3) { + this.state = 381; + this.match(sqlParser.FOR); + this.state = 382; + this.match(sqlParser.ALL); + this.state = 383; + this.match(sqlParser.COLUMNS); + } + break; + case 11: + localctx = new AddTableColumnsContext(this, localctx); + this.enterOuterAlt(localctx, 11); + this.state = 386; + this.match(sqlParser.ALTER); + this.state = 387; + this.match(sqlParser.TABLE); + this.state = 388; + this.tableIdentifier(); + this.state = 389; + this.match(sqlParser.ADD); + this.state = 390; + this.match(sqlParser.COLUMNS); + this.state = 391; + this.match(sqlParser.T__0); + this.state = 392; + localctx.columns = this.colTypeList(); + this.state = 393; + this.match(sqlParser.T__1); + break; + case 12: + localctx = new RenameTableContext(this, localctx); + this.enterOuterAlt(localctx, 12); + this.state = 395; + this.match(sqlParser.ALTER); + this.state = 396; + _la = this._input.LA(1); + if (!(_la === sqlParser.TABLE || _la === sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 397; + localctx.from = this.tableIdentifier(); + this.state = 398; + this.match(sqlParser.RENAME); + this.state = 399; + this.match(sqlParser.TO); + this.state = 400; + localctx.to = this.tableIdentifier(); + break; + case 13: + localctx = new SetTablePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 13); + this.state = 402; + this.match(sqlParser.ALTER); + this.state = 403; + _la = this._input.LA(1); + if (!(_la === sqlParser.TABLE || _la === sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 404; + this.tableIdentifier(); + this.state = 405; + this.match(sqlParser.SET); + this.state = 406; + this.match(sqlParser.TBLPROPERTIES); + this.state = 407; + this.tablePropertyList(); + break; + case 14: + localctx = new UnsetTablePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 14); + this.state = 409; + this.match(sqlParser.ALTER); + this.state = 410; + _la = this._input.LA(1); + if (!(_la === sqlParser.TABLE || _la === sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 411; + this.tableIdentifier(); + this.state = 412; + this.match(sqlParser.UNSET); + this.state = 413; + this.match(sqlParser.TBLPROPERTIES); + this.state = 416; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 414; + this.match(sqlParser.IF); + this.state = 415; + this.match(sqlParser.EXISTS); + } + this.state = 418; + this.tablePropertyList(); + break; + case 15: + localctx = new ChangeColumnContext(this, localctx); + this.enterOuterAlt(localctx, 15); + this.state = 420; + this.match(sqlParser.ALTER); + this.state = 421; + this.match(sqlParser.TABLE); + this.state = 422; + this.tableIdentifier(); + this.state = 424; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 423; + this.partitionSpec(); + } + this.state = 426; + this.match(sqlParser.CHANGE); + this.state = 428; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 26, this._ctx); + if (la_ === 1) { + this.state = 427; + this.match(sqlParser.COLUMN); + } + this.state = 430; + this.identifier(); + this.state = 431; + this.colType(); + this.state = 433; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.FIRST || _la === sqlParser.AFTER) { + this.state = 432; + this.colPosition(); + } + break; + case 16: + localctx = new SetTableSerDeContext(this, localctx); + this.enterOuterAlt(localctx, 16); + this.state = 435; + this.match(sqlParser.ALTER); + this.state = 436; + this.match(sqlParser.TABLE); + this.state = 437; + this.tableIdentifier(); + this.state = 439; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 438; + this.partitionSpec(); + } + this.state = 441; + this.match(sqlParser.SET); + this.state = 442; + this.match(sqlParser.SERDE); + this.state = 443; + this.match(sqlParser.STRING); + this.state = 447; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.WITH) { + this.state = 444; + this.match(sqlParser.WITH); + this.state = 445; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 446; + this.tablePropertyList(); + } + break; + case 17: + localctx = new SetTableSerDeContext(this, localctx); + this.enterOuterAlt(localctx, 17); + this.state = 449; + this.match(sqlParser.ALTER); + this.state = 450; + this.match(sqlParser.TABLE); + this.state = 451; + this.tableIdentifier(); + this.state = 453; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 452; + this.partitionSpec(); + } + this.state = 455; + this.match(sqlParser.SET); + this.state = 456; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 457; + this.tablePropertyList(); + break; + case 18: + localctx = new AddTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 18); + this.state = 459; + this.match(sqlParser.ALTER); + this.state = 460; + this.match(sqlParser.TABLE); + this.state = 461; + this.tableIdentifier(); + this.state = 462; + this.match(sqlParser.ADD); + this.state = 466; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 463; + this.match(sqlParser.IF); + this.state = 464; + this.match(sqlParser.NOT); + this.state = 465; + this.match(sqlParser.EXISTS); + } + this.state = 469; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 468; + this.partitionSpecLocation(); + this.state = 471; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.PARTITION); + break; + case 19: + localctx = new AddTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 19); + this.state = 473; + this.match(sqlParser.ALTER); + this.state = 474; + this.match(sqlParser.VIEW); + this.state = 475; + this.tableIdentifier(); + this.state = 476; + this.match(sqlParser.ADD); + this.state = 480; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 477; + this.match(sqlParser.IF); + this.state = 478; + this.match(sqlParser.NOT); + this.state = 479; + this.match(sqlParser.EXISTS); + } + this.state = 483; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 482; + this.partitionSpec(); + this.state = 485; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.PARTITION); + break; + case 20: + localctx = new RenameTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 20); + this.state = 487; + this.match(sqlParser.ALTER); + this.state = 488; + this.match(sqlParser.TABLE); + this.state = 489; + this.tableIdentifier(); + this.state = 490; + localctx.from = this.partitionSpec(); + this.state = 491; + this.match(sqlParser.RENAME); + this.state = 492; + this.match(sqlParser.TO); + this.state = 493; + localctx.to = this.partitionSpec(); + break; + case 21: + localctx = new DropTablePartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 21); + this.state = 495; + this.match(sqlParser.ALTER); + this.state = 496; + this.match(sqlParser.TABLE); + this.state = 497; + this.tableIdentifier(); + this.state = 498; + this.match(sqlParser.DROP); + this.state = 501; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 499; + this.match(sqlParser.IF); + this.state = 500; + this.match(sqlParser.EXISTS); + } + this.state = 503; + this.partitionSpec(); + this.state = 508; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 504; + this.match(sqlParser.T__3); + this.state = 505; + this.partitionSpec(); + this.state = 510; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 512; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PURGE) { + this.state = 511; + this.match(sqlParser.PURGE); + } + break; + case 22: + localctx = new DropTablePartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 22); + this.state = 514; + this.match(sqlParser.ALTER); + this.state = 515; + this.match(sqlParser.VIEW); + this.state = 516; + this.tableIdentifier(); + this.state = 517; + this.match(sqlParser.DROP); + this.state = 520; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 518; + this.match(sqlParser.IF); + this.state = 519; + this.match(sqlParser.EXISTS); + } + this.state = 522; + this.partitionSpec(); + this.state = 527; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 523; + this.match(sqlParser.T__3); + this.state = 524; + this.partitionSpec(); + this.state = 529; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + case 23: + localctx = new SetTableLocationContext(this, localctx); + this.enterOuterAlt(localctx, 23); + this.state = 530; + this.match(sqlParser.ALTER); + this.state = 531; + this.match(sqlParser.TABLE); + this.state = 532; + this.tableIdentifier(); + this.state = 534; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 533; + this.partitionSpec(); + } + this.state = 536; + this.match(sqlParser.SET); + this.state = 537; + this.locationSpec(); + break; + case 24: + localctx = new RecoverPartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 24); + this.state = 539; + this.match(sqlParser.ALTER); + this.state = 540; + this.match(sqlParser.TABLE); + this.state = 541; + this.tableIdentifier(); + this.state = 542; + this.match(sqlParser.RECOVER); + this.state = 543; + this.match(sqlParser.PARTITIONS); + break; + case 25: + localctx = new DropTableContext(this, localctx); + this.enterOuterAlt(localctx, 25); + this.state = 545; + this.match(sqlParser.DROP); + this.state = 546; + this.match(sqlParser.TABLE); + this.state = 549; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 41, this._ctx); + if (la_ === 1) { + this.state = 547; + this.match(sqlParser.IF); + this.state = 548; + this.match(sqlParser.EXISTS); + } + this.state = 551; + this.tableIdentifier(); + this.state = 553; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PURGE) { + this.state = 552; + this.match(sqlParser.PURGE); + } + break; + case 26: + localctx = new DropTableContext(this, localctx); + this.enterOuterAlt(localctx, 26); + this.state = 555; + this.match(sqlParser.DROP); + this.state = 556; + this.match(sqlParser.VIEW); + this.state = 559; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 43, this._ctx); + if (la_ === 1) { + this.state = 557; + this.match(sqlParser.IF); + this.state = 558; + this.match(sqlParser.EXISTS); + } + this.state = 561; + this.tableIdentifier(); + break; + case 27: + localctx = new CreateViewContext(this, localctx); + this.enterOuterAlt(localctx, 27); + this.state = 562; + this.match(sqlParser.CREATE); + this.state = 565; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OR) { + this.state = 563; + this.match(sqlParser.OR); + this.state = 564; + this.match(sqlParser.REPLACE); + } + this.state = 571; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.GLOBAL || _la === sqlParser.TEMPORARY) { + this.state = 568; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.GLOBAL) { + this.state = 567; + this.match(sqlParser.GLOBAL); + } + this.state = 570; + this.match(sqlParser.TEMPORARY); + } + this.state = 573; + this.match(sqlParser.VIEW); + this.state = 577; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 47, this._ctx); + if (la_ === 1) { + this.state = 574; + this.match(sqlParser.IF); + this.state = 575; + this.match(sqlParser.NOT); + this.state = 576; + this.match(sqlParser.EXISTS); + } + this.state = 579; + this.tableIdentifier(); + this.state = 581; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__0) { + this.state = 580; + this.identifierCommentList(); + } + this.state = 585; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 583; + this.match(sqlParser.COMMENT); + this.state = 584; + this.match(sqlParser.STRING); + } + this.state = 590; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITIONED) { + this.state = 587; + this.match(sqlParser.PARTITIONED); + this.state = 588; + this.match(sqlParser.ON); + this.state = 589; + this.identifierList(); + } + this.state = 594; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.TBLPROPERTIES) { + this.state = 592; + this.match(sqlParser.TBLPROPERTIES); + this.state = 593; + this.tablePropertyList(); + } + this.state = 596; + this.match(sqlParser.AS); + this.state = 597; + this.query(); + break; + case 28: + localctx = new CreateTempViewUsingContext(this, localctx); + this.enterOuterAlt(localctx, 28); + this.state = 599; + this.match(sqlParser.CREATE); + this.state = 602; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OR) { + this.state = 600; + this.match(sqlParser.OR); + this.state = 601; + this.match(sqlParser.REPLACE); + } + this.state = 605; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.GLOBAL) { + this.state = 604; + this.match(sqlParser.GLOBAL); + } + this.state = 607; + this.match(sqlParser.TEMPORARY); + this.state = 608; + this.match(sqlParser.VIEW); + this.state = 609; + this.tableIdentifier(); + this.state = 614; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__0) { + this.state = 610; + this.match(sqlParser.T__0); + this.state = 611; + this.colTypeList(); + this.state = 612; + this.match(sqlParser.T__1); + } + this.state = 616; + this.tableProvider(); + this.state = 619; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OPTIONS) { + this.state = 617; + this.match(sqlParser.OPTIONS); + this.state = 618; + this.tablePropertyList(); + } + break; + case 29: + localctx = new AlterViewQueryContext(this, localctx); + this.enterOuterAlt(localctx, 29); + this.state = 621; + this.match(sqlParser.ALTER); + this.state = 622; + this.match(sqlParser.VIEW); + this.state = 623; + this.tableIdentifier(); + this.state = 625; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 624; + this.match(sqlParser.AS); + } + this.state = 627; + this.query(); + break; + case 30: + localctx = new CreateFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 30); + this.state = 629; + this.match(sqlParser.CREATE); + this.state = 632; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OR) { + this.state = 630; + this.match(sqlParser.OR); + this.state = 631; + this.match(sqlParser.REPLACE); + } + this.state = 635; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.TEMPORARY) { + this.state = 634; + this.match(sqlParser.TEMPORARY); + } + this.state = 637; + this.match(sqlParser.FUNCTION); + this.state = 641; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 59, this._ctx); + if (la_ === 1) { + this.state = 638; + this.match(sqlParser.IF); + this.state = 639; + this.match(sqlParser.NOT); + this.state = 640; + this.match(sqlParser.EXISTS); + } + this.state = 643; + this.qualifiedName(); + this.state = 644; + this.match(sqlParser.AS); + this.state = 645; + localctx.className = this.match(sqlParser.STRING); + this.state = 655; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.USING) { + this.state = 646; + this.match(sqlParser.USING); + this.state = 647; + this.resource(); + this.state = 652; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 648; + this.match(sqlParser.T__3); + this.state = 649; + this.resource(); + this.state = 654; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + break; + case 31: + localctx = new DropFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 31); + this.state = 657; + this.match(sqlParser.DROP); + this.state = 659; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.TEMPORARY) { + this.state = 658; + this.match(sqlParser.TEMPORARY); + } + this.state = 661; + this.match(sqlParser.FUNCTION); + this.state = 664; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 63, this._ctx); + if (la_ === 1) { + this.state = 662; + this.match(sqlParser.IF); + this.state = 663; + this.match(sqlParser.EXISTS); + } + this.state = 666; + this.qualifiedName(); + break; + case 32: + localctx = new ExplainContext(this, localctx); + this.enterOuterAlt(localctx, 32); + this.state = 667; + this.match(sqlParser.EXPLAIN); + this.state = 669; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (((((_la - 90)) & ~0x1f) == 0 && ((1 << (_la - 90)) & ((1 << (sqlParser.LOGICAL - 90)) | (1 << (sqlParser.CODEGEN - 90)) | (1 << (sqlParser.COST - 90)))) !== 0) || _la === sqlParser.EXTENDED || _la === sqlParser.FORMATTED) { + this.state = 668; + _la = this._input.LA(1); + if (!(((((_la - 90)) & ~0x1f) == 0 && ((1 << (_la - 90)) & ((1 << (sqlParser.LOGICAL - 90)) | (1 << (sqlParser.CODEGEN - 90)) | (1 << (sqlParser.COST - 90)))) !== 0) || _la === sqlParser.EXTENDED || _la === sqlParser.FORMATTED)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + this.state = 671; + this.statement(); + break; + case 33: + localctx = new ShowTablesContext(this, localctx); + this.enterOuterAlt(localctx, 33); + this.state = 672; + this.match(sqlParser.SHOW); + this.state = 673; + this.match(sqlParser.TABLES); + this.state = 676; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.FROM || _la === sqlParser.IN) { + this.state = 674; + _la = this._input.LA(1); + if (!(_la === sqlParser.FROM || _la === sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 675; + localctx.db = this.identifier(); + } + this.state = 682; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LIKE || _la === sqlParser.STRING) { + this.state = 679; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LIKE) { + this.state = 678; + this.match(sqlParser.LIKE); + } + this.state = 681; + localctx.pattern = this.match(sqlParser.STRING); + } + break; + case 34: + localctx = new ShowTableContext(this, localctx); + this.enterOuterAlt(localctx, 34); + this.state = 684; + this.match(sqlParser.SHOW); + this.state = 685; + this.match(sqlParser.TABLE); + this.state = 686; + this.match(sqlParser.EXTENDED); + this.state = 689; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.FROM || _la === sqlParser.IN) { + this.state = 687; + _la = this._input.LA(1); + if (!(_la === sqlParser.FROM || _la === sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 688; + localctx.db = this.identifier(); + } + this.state = 691; + this.match(sqlParser.LIKE); + this.state = 692; + localctx.pattern = this.match(sqlParser.STRING); + this.state = 694; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 693; + this.partitionSpec(); + } + break; + case 35: + localctx = new ShowDatabasesContext(this, localctx); + this.enterOuterAlt(localctx, 35); + this.state = 696; + this.match(sqlParser.SHOW); + this.state = 697; + this.match(sqlParser.DATABASES); + this.state = 702; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LIKE || _la === sqlParser.STRING) { + this.state = 699; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LIKE) { + this.state = 698; + this.match(sqlParser.LIKE); + } + this.state = 701; + localctx.pattern = this.match(sqlParser.STRING); + } + break; + case 36: + localctx = new ShowTblPropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 36); + this.state = 704; + this.match(sqlParser.SHOW); + this.state = 705; + this.match(sqlParser.TBLPROPERTIES); + this.state = 706; + localctx.table = this.tableIdentifier(); + this.state = 711; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__0) { + this.state = 707; + this.match(sqlParser.T__0); + this.state = 708; + localctx.key = this.tablePropertyKey(); + this.state = 709; + this.match(sqlParser.T__1); + } + break; + case 37: + localctx = new ShowColumnsContext(this, localctx); + this.enterOuterAlt(localctx, 37); + this.state = 713; + this.match(sqlParser.SHOW); + this.state = 714; + this.match(sqlParser.COLUMNS); + this.state = 715; + _la = this._input.LA(1); + if (!(_la === sqlParser.FROM || _la === sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 716; + this.tableIdentifier(); + this.state = 719; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.FROM || _la === sqlParser.IN) { + this.state = 717; + _la = this._input.LA(1); + if (!(_la === sqlParser.FROM || _la === sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 718; + localctx.db = this.identifier(); + } + break; + case 38: + localctx = new ShowPartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 38); + this.state = 721; + this.match(sqlParser.SHOW); + this.state = 722; + this.match(sqlParser.PARTITIONS); + this.state = 723; + this.tableIdentifier(); + this.state = 725; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 724; + this.partitionSpec(); + } + break; + case 39: + localctx = new ShowFunctionsContext(this, localctx); + this.enterOuterAlt(localctx, 39); + this.state = 727; + this.match(sqlParser.SHOW); + this.state = 729; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 75, this._ctx); + if (la_ === 1) { + this.state = 728; + this.identifier(); + } + this.state = 731; + this.match(sqlParser.FUNCTIONS); + this.state = 739; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 733; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 76, this._ctx); + if (la_ === 1) { + this.state = 732; + this.match(sqlParser.LIKE); + } + this.state = 737; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.state = 735; + this.qualifiedName(); + break; + case sqlParser.STRING: + this.state = 736; + localctx.pattern = this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + break; + case 40: + localctx = new ShowCreateTableContext(this, localctx); + this.enterOuterAlt(localctx, 40); + this.state = 741; + this.match(sqlParser.SHOW); + this.state = 742; + this.match(sqlParser.CREATE); + this.state = 743; + this.match(sqlParser.TABLE); + this.state = 744; + this.tableIdentifier(); + break; + case 41: + localctx = new DescribeFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 41); + this.state = 745; + _la = this._input.LA(1); + if (!(_la === sqlParser.DESC || _la === sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 746; + this.match(sqlParser.FUNCTION); + this.state = 748; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 79, this._ctx); + if (la_ === 1) { + this.state = 747; + this.match(sqlParser.EXTENDED); + } + this.state = 750; + this.describeFuncName(); + break; + case 42: + localctx = new DescribeDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 42); + this.state = 751; + _la = this._input.LA(1); + if (!(_la === sqlParser.DESC || _la === sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 752; + this.match(sqlParser.DATABASE); + this.state = 754; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 80, this._ctx); + if (la_ === 1) { + this.state = 753; + this.match(sqlParser.EXTENDED); + } + this.state = 756; + this.identifier(); + break; + case 43: + localctx = new DescribeTableContext(this, localctx); + this.enterOuterAlt(localctx, 43); + this.state = 757; + _la = this._input.LA(1); + if (!(_la === sqlParser.DESC || _la === sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 759; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 81, this._ctx); + if (la_ === 1) { + this.state = 758; + this.match(sqlParser.TABLE); + } + this.state = 762; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 82, this._ctx); + if (la_ === 1) { + this.state = 761; + localctx.option = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.EXTENDED || _la === sqlParser.FORMATTED)) { + localctx.option = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + this.state = 764; + this.tableIdentifier(); + this.state = 766; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 83, this._ctx); + if (la_ === 1) { + this.state = 765; + this.partitionSpec(); + } + this.state = 769; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 768; + this.describeColName(); + } + break; + case 44: + localctx = new RefreshTableContext(this, localctx); + this.enterOuterAlt(localctx, 44); + this.state = 771; + this.match(sqlParser.REFRESH); + this.state = 772; + this.match(sqlParser.TABLE); + this.state = 773; + this.tableIdentifier(); + break; + case 45: + localctx = new RefreshResourceContext(this, localctx); + this.enterOuterAlt(localctx, 45); + this.state = 774; + this.match(sqlParser.REFRESH); + this.state = 782; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 86, this._ctx); + switch (la_) { + case 1: + this.state = 775; + this.match(sqlParser.STRING); + break; + case 2: + this.state = 779; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 85, this._ctx); + while (_alt != 1 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1 + 1) { + this.state = 776; + this.matchWildcard(); + } + this.state = 781; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 85, this._ctx); + } + break; + } + break; + case 46: + localctx = new CacheTableContext(this, localctx); + this.enterOuterAlt(localctx, 46); + this.state = 784; + this.match(sqlParser.CACHE); + this.state = 786; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LAZY) { + this.state = 785; + this.match(sqlParser.LAZY); + } + this.state = 788; + this.match(sqlParser.TABLE); + this.state = 789; + this.tableIdentifier(); + this.state = 792; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OPTIONS) { + this.state = 790; + this.match(sqlParser.OPTIONS); + this.state = 791; + localctx.options = this.tablePropertyList(); + } + this.state = 798; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la === sqlParser.MAP || _la === sqlParser.REDUCE) { + this.state = 795; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 794; + this.match(sqlParser.AS); + } + this.state = 797; + this.query(); + } + break; + case 47: + localctx = new UncacheTableContext(this, localctx); + this.enterOuterAlt(localctx, 47); + this.state = 800; + this.match(sqlParser.UNCACHE); + this.state = 801; + this.match(sqlParser.TABLE); + this.state = 804; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 91, this._ctx); + if (la_ === 1) { + this.state = 802; + this.match(sqlParser.IF); + this.state = 803; + this.match(sqlParser.EXISTS); + } + this.state = 806; + this.tableIdentifier(); + break; + case 48: + localctx = new ClearCacheContext(this, localctx); + this.enterOuterAlt(localctx, 48); + this.state = 807; + this.match(sqlParser.CLEAR); + this.state = 808; + this.match(sqlParser.CACHE); + break; + case 49: + localctx = new LoadDataContext(this, localctx); + this.enterOuterAlt(localctx, 49); + this.state = 809; + this.match(sqlParser.LOAD); + this.state = 810; + this.match(sqlParser.DATA); + this.state = 812; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCAL) { + this.state = 811; + this.match(sqlParser.LOCAL); + } + this.state = 814; + this.match(sqlParser.INPATH); + this.state = 815; + localctx.path = this.match(sqlParser.STRING); + this.state = 817; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OVERWRITE) { + this.state = 816; + this.match(sqlParser.OVERWRITE); + } + this.state = 819; + this.match(sqlParser.INTO); + this.state = 820; + this.match(sqlParser.TABLE); + this.state = 821; + this.tableIdentifier(); + this.state = 823; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 822; + this.partitionSpec(); + } + break; + case 50: + localctx = new TruncateTableContext(this, localctx); + this.enterOuterAlt(localctx, 50); + this.state = 825; + this.match(sqlParser.TRUNCATE); + this.state = 826; + this.match(sqlParser.TABLE); + this.state = 827; + this.tableIdentifier(); + this.state = 829; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 828; + this.partitionSpec(); + } + break; + case 51: + localctx = new RepairTableContext(this, localctx); + this.enterOuterAlt(localctx, 51); + this.state = 831; + this.match(sqlParser.MSCK); + this.state = 832; + this.match(sqlParser.REPAIR); + this.state = 833; + this.match(sqlParser.TABLE); + this.state = 834; + this.tableIdentifier(); + break; + case 52: + localctx = new ManageResourceContext(this, localctx); + this.enterOuterAlt(localctx, 52); + this.state = 835; + localctx.op = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.ADD || _la === sqlParser.LIST)) { + localctx.op = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 836; + this.identifier(); + this.state = 840; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 96, this._ctx); + while (_alt != 1 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1 + 1) { + this.state = 837; + this.matchWildcard(); + } + this.state = 842; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 96, this._ctx); + } + break; + case 53: + localctx = new FailNativeCommandContext(this, localctx); + this.enterOuterAlt(localctx, 53); + this.state = 843; + this.match(sqlParser.SET); + this.state = 844; + this.match(sqlParser.ROLE); + this.state = 848; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 97, this._ctx); + while (_alt != 1 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1 + 1) { + this.state = 845; + this.matchWildcard(); + } + this.state = 850; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 97, this._ctx); + } + break; + case 54: + localctx = new SetConfigurationContext(this, localctx); + this.enterOuterAlt(localctx, 54); + this.state = 851; + this.match(sqlParser.SET); + this.state = 855; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 98, this._ctx); + while (_alt != 1 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1 + 1) { + this.state = 852; + this.matchWildcard(); + } + this.state = 857; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 98, this._ctx); + } + break; + case 55: + localctx = new ResetConfigurationContext(this, localctx); + this.enterOuterAlt(localctx, 55); + this.state = 858; + this.match(sqlParser.RESET); + break; + case 56: + localctx = new FailNativeCommandContext(this, localctx); + this.enterOuterAlt(localctx, 56); + this.state = 859; + this.unsupportedHiveNativeCommands(); + this.state = 863; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 99, this._ctx); + while (_alt != 1 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1 + 1) { + this.state = 860; + this.matchWildcard(); + } + this.state = 865; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 99, this._ctx); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function UnsupportedHiveNativeCommandsContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_unsupportedHiveNativeCommands; + this.kw1 = null; // Token + this.kw2 = null; // Token + this.kw3 = null; // Token + this.kw4 = null; // Token + this.kw5 = null; // Token + this.kw6 = null; // Token + return this; +} +UnsupportedHiveNativeCommandsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +UnsupportedHiveNativeCommandsContext.prototype.constructor = UnsupportedHiveNativeCommandsContext; +UnsupportedHiveNativeCommandsContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.ROLE = function () { + return this.getToken(sqlParser.ROLE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.GRANT = function () { + return this.getToken(sqlParser.GRANT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.REVOKE = function () { + return this.getToken(sqlParser.REVOKE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.PRINCIPALS = function () { + return this.getToken(sqlParser.PRINCIPALS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.ROLES = function () { + return this.getToken(sqlParser.ROLES, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.CURRENT = function () { + return this.getToken(sqlParser.CURRENT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.EXPORT = function () { + return this.getToken(sqlParser.EXPORT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.IMPORT = function () { + return this.getToken(sqlParser.IMPORT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.COMPACTIONS = function () { + return this.getToken(sqlParser.COMPACTIONS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.TRANSACTIONS = function () { + return this.getToken(sqlParser.TRANSACTIONS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.INDEXES = function () { + return this.getToken(sqlParser.INDEXES, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.LOCKS = function () { + return this.getToken(sqlParser.LOCKS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.INDEX = function () { + return this.getToken(sqlParser.INDEX, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.LOCK = function () { + return this.getToken(sqlParser.LOCK, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.UNLOCK = function () { + return this.getToken(sqlParser.UNLOCK, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.MACRO = function () { + return this.getToken(sqlParser.MACRO, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.CLUSTERED = function () { + return this.getToken(sqlParser.CLUSTERED, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.SORTED = function () { + return this.getToken(sqlParser.SORTED, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.SKEWED = function () { + return this.getToken(sqlParser.SKEWED, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.STORED = function () { + return this.getToken(sqlParser.STORED, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.DIRECTORIES = function () { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.LOCATION = function () { + return this.getToken(sqlParser.LOCATION, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.EXCHANGE = function () { + return this.getToken(sqlParser.EXCHANGE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.PARTITION = function () { + return this.getToken(sqlParser.PARTITION, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.ARCHIVE = function () { + return this.getToken(sqlParser.ARCHIVE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.UNARCHIVE = function () { + return this.getToken(sqlParser.UNARCHIVE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.TOUCH = function () { + return this.getToken(sqlParser.TOUCH, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.COMPACT = function () { + return this.getToken(sqlParser.COMPACT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.CONCATENATE = function () { + return this.getToken(sqlParser.CONCATENATE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.FILEFORMAT = function () { + return this.getToken(sqlParser.FILEFORMAT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.REPLACE = function () { + return this.getToken(sqlParser.REPLACE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.COLUMNS = function () { + return this.getToken(sqlParser.COLUMNS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.START = function () { + return this.getToken(sqlParser.START, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.TRANSACTION = function () { + return this.getToken(sqlParser.TRANSACTION, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.COMMIT = function () { + return this.getToken(sqlParser.COMMIT, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.ROLLBACK = function () { + return this.getToken(sqlParser.ROLLBACK, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.DFS = function () { + return this.getToken(sqlParser.DFS, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.DELETE = function () { + return this.getToken(sqlParser.DELETE, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +UnsupportedHiveNativeCommandsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterUnsupportedHiveNativeCommands(this); + } +}; +UnsupportedHiveNativeCommandsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitUnsupportedHiveNativeCommands(this); + } +}; +UnsupportedHiveNativeCommandsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitUnsupportedHiveNativeCommands(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.UnsupportedHiveNativeCommandsContext = UnsupportedHiveNativeCommandsContext; +sqlParser.prototype.unsupportedHiveNativeCommands = function () { + var localctx = new UnsupportedHiveNativeCommandsContext(this, this._ctx, this.state); + this.enterRule(localctx, 14, sqlParser.RULE_unsupportedHiveNativeCommands); + var _la = 0; // Token type + try { + this.state = 1038; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 108, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 868; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 869; + localctx.kw2 = this.match(sqlParser.ROLE); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 870; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 871; + localctx.kw2 = this.match(sqlParser.ROLE); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 872; + localctx.kw1 = this.match(sqlParser.GRANT); + this.state = 874; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 101, this._ctx); + if (la_ === 1) { + this.state = 873; + localctx.kw2 = this.match(sqlParser.ROLE); + } + break; + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 876; + localctx.kw1 = this.match(sqlParser.REVOKE); + this.state = 878; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 102, this._ctx); + if (la_ === 1) { + this.state = 877; + localctx.kw2 = this.match(sqlParser.ROLE); + } + break; + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 880; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 881; + localctx.kw2 = this.match(sqlParser.GRANT); + break; + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 882; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 883; + localctx.kw2 = this.match(sqlParser.ROLE); + this.state = 885; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 103, this._ctx); + if (la_ === 1) { + this.state = 884; + localctx.kw3 = this.match(sqlParser.GRANT); + } + break; + case 7: + this.enterOuterAlt(localctx, 7); + this.state = 887; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 888; + localctx.kw2 = this.match(sqlParser.PRINCIPALS); + break; + case 8: + this.enterOuterAlt(localctx, 8); + this.state = 889; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 890; + localctx.kw2 = this.match(sqlParser.ROLES); + break; + case 9: + this.enterOuterAlt(localctx, 9); + this.state = 891; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 892; + localctx.kw2 = this.match(sqlParser.CURRENT); + this.state = 893; + localctx.kw3 = this.match(sqlParser.ROLES); + break; + case 10: + this.enterOuterAlt(localctx, 10); + this.state = 894; + localctx.kw1 = this.match(sqlParser.EXPORT); + this.state = 895; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + case 11: + this.enterOuterAlt(localctx, 11); + this.state = 896; + localctx.kw1 = this.match(sqlParser.IMPORT); + this.state = 897; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + case 12: + this.enterOuterAlt(localctx, 12); + this.state = 898; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 899; + localctx.kw2 = this.match(sqlParser.COMPACTIONS); + break; + case 13: + this.enterOuterAlt(localctx, 13); + this.state = 900; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 901; + localctx.kw2 = this.match(sqlParser.CREATE); + this.state = 902; + localctx.kw3 = this.match(sqlParser.TABLE); + break; + case 14: + this.enterOuterAlt(localctx, 14); + this.state = 903; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 904; + localctx.kw2 = this.match(sqlParser.TRANSACTIONS); + break; + case 15: + this.enterOuterAlt(localctx, 15); + this.state = 905; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 906; + localctx.kw2 = this.match(sqlParser.INDEXES); + break; + case 16: + this.enterOuterAlt(localctx, 16); + this.state = 907; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 908; + localctx.kw2 = this.match(sqlParser.LOCKS); + break; + case 17: + this.enterOuterAlt(localctx, 17); + this.state = 909; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 910; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + case 18: + this.enterOuterAlt(localctx, 18); + this.state = 911; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 912; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + case 19: + this.enterOuterAlt(localctx, 19); + this.state = 913; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 914; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + case 20: + this.enterOuterAlt(localctx, 20); + this.state = 915; + localctx.kw1 = this.match(sqlParser.LOCK); + this.state = 916; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + case 21: + this.enterOuterAlt(localctx, 21); + this.state = 917; + localctx.kw1 = this.match(sqlParser.LOCK); + this.state = 918; + localctx.kw2 = this.match(sqlParser.DATABASE); + break; + case 22: + this.enterOuterAlt(localctx, 22); + this.state = 919; + localctx.kw1 = this.match(sqlParser.UNLOCK); + this.state = 920; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + case 23: + this.enterOuterAlt(localctx, 23); + this.state = 921; + localctx.kw1 = this.match(sqlParser.UNLOCK); + this.state = 922; + localctx.kw2 = this.match(sqlParser.DATABASE); + break; + case 24: + this.enterOuterAlt(localctx, 24); + this.state = 923; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 924; + localctx.kw2 = this.match(sqlParser.TEMPORARY); + this.state = 925; + localctx.kw3 = this.match(sqlParser.MACRO); + break; + case 25: + this.enterOuterAlt(localctx, 25); + this.state = 926; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 927; + localctx.kw2 = this.match(sqlParser.TEMPORARY); + this.state = 928; + localctx.kw3 = this.match(sqlParser.MACRO); + break; + case 26: + this.enterOuterAlt(localctx, 26); + this.state = 929; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 930; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 931; + this.tableIdentifier(); + this.state = 932; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 933; + localctx.kw4 = this.match(sqlParser.CLUSTERED); + break; + case 27: + this.enterOuterAlt(localctx, 27); + this.state = 935; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 936; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 937; + this.tableIdentifier(); + this.state = 938; + localctx.kw3 = this.match(sqlParser.CLUSTERED); + this.state = 939; + localctx.kw4 = this.match(sqlParser.BY); + break; + case 28: + this.enterOuterAlt(localctx, 28); + this.state = 941; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 942; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 943; + this.tableIdentifier(); + this.state = 944; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 945; + localctx.kw4 = this.match(sqlParser.SORTED); + break; + case 29: + this.enterOuterAlt(localctx, 29); + this.state = 947; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 948; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 949; + this.tableIdentifier(); + this.state = 950; + localctx.kw3 = this.match(sqlParser.SKEWED); + this.state = 951; + localctx.kw4 = this.match(sqlParser.BY); + break; + case 30: + this.enterOuterAlt(localctx, 30); + this.state = 953; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 954; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 955; + this.tableIdentifier(); + this.state = 956; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 957; + localctx.kw4 = this.match(sqlParser.SKEWED); + break; + case 31: + this.enterOuterAlt(localctx, 31); + this.state = 959; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 960; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 961; + this.tableIdentifier(); + this.state = 962; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 963; + localctx.kw4 = this.match(sqlParser.STORED); + this.state = 964; + localctx.kw5 = this.match(sqlParser.AS); + this.state = 965; + localctx.kw6 = this.match(sqlParser.DIRECTORIES); + break; + case 32: + this.enterOuterAlt(localctx, 32); + this.state = 967; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 968; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 969; + this.tableIdentifier(); + this.state = 970; + localctx.kw3 = this.match(sqlParser.SET); + this.state = 971; + localctx.kw4 = this.match(sqlParser.SKEWED); + this.state = 972; + localctx.kw5 = this.match(sqlParser.LOCATION); + break; + case 33: + this.enterOuterAlt(localctx, 33); + this.state = 974; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 975; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 976; + this.tableIdentifier(); + this.state = 977; + localctx.kw3 = this.match(sqlParser.EXCHANGE); + this.state = 978; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + case 34: + this.enterOuterAlt(localctx, 34); + this.state = 980; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 981; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 982; + this.tableIdentifier(); + this.state = 983; + localctx.kw3 = this.match(sqlParser.ARCHIVE); + this.state = 984; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + case 35: + this.enterOuterAlt(localctx, 35); + this.state = 986; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 987; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 988; + this.tableIdentifier(); + this.state = 989; + localctx.kw3 = this.match(sqlParser.UNARCHIVE); + this.state = 990; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + case 36: + this.enterOuterAlt(localctx, 36); + this.state = 992; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 993; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 994; + this.tableIdentifier(); + this.state = 995; + localctx.kw3 = this.match(sqlParser.TOUCH); + break; + case 37: + this.enterOuterAlt(localctx, 37); + this.state = 997; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 998; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 999; + this.tableIdentifier(); + this.state = 1001; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1000; + this.partitionSpec(); + } + this.state = 1003; + localctx.kw3 = this.match(sqlParser.COMPACT); + break; + case 38: + this.enterOuterAlt(localctx, 38); + this.state = 1005; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1006; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1007; + this.tableIdentifier(); + this.state = 1009; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1008; + this.partitionSpec(); + } + this.state = 1011; + localctx.kw3 = this.match(sqlParser.CONCATENATE); + break; + case 39: + this.enterOuterAlt(localctx, 39); + this.state = 1013; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1014; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1015; + this.tableIdentifier(); + this.state = 1017; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1016; + this.partitionSpec(); + } + this.state = 1019; + localctx.kw3 = this.match(sqlParser.SET); + this.state = 1020; + localctx.kw4 = this.match(sqlParser.FILEFORMAT); + break; + case 40: + this.enterOuterAlt(localctx, 40); + this.state = 1022; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1023; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1024; + this.tableIdentifier(); + this.state = 1026; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1025; + this.partitionSpec(); + } + this.state = 1028; + localctx.kw3 = this.match(sqlParser.REPLACE); + this.state = 1029; + localctx.kw4 = this.match(sqlParser.COLUMNS); + break; + case 41: + this.enterOuterAlt(localctx, 41); + this.state = 1031; + localctx.kw1 = this.match(sqlParser.START); + this.state = 1032; + localctx.kw2 = this.match(sqlParser.TRANSACTION); + break; + case 42: + this.enterOuterAlt(localctx, 42); + this.state = 1033; + localctx.kw1 = this.match(sqlParser.COMMIT); + break; + case 43: + this.enterOuterAlt(localctx, 43); + this.state = 1034; + localctx.kw1 = this.match(sqlParser.ROLLBACK); + break; + case 44: + this.enterOuterAlt(localctx, 44); + this.state = 1035; + localctx.kw1 = this.match(sqlParser.DFS); + break; + case 45: + this.enterOuterAlt(localctx, 45); + this.state = 1036; + localctx.kw1 = this.match(sqlParser.DELETE); + this.state = 1037; + localctx.kw2 = this.match(sqlParser.FROM); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function CreateTableHeaderContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_createTableHeader; + return this; +} +CreateTableHeaderContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CreateTableHeaderContext.prototype.constructor = CreateTableHeaderContext; +CreateTableHeaderContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +CreateTableHeaderContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +CreateTableHeaderContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +CreateTableHeaderContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +CreateTableHeaderContext.prototype.EXTERNAL = function () { + return this.getToken(sqlParser.EXTERNAL, 0); +}; +CreateTableHeaderContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +CreateTableHeaderContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +CreateTableHeaderContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +CreateTableHeaderContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateTableHeader(this); + } +}; +CreateTableHeaderContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateTableHeader(this); + } +}; +CreateTableHeaderContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateTableHeader(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.CreateTableHeaderContext = CreateTableHeaderContext; +sqlParser.prototype.createTableHeader = function () { + var localctx = new CreateTableHeaderContext(this, this._ctx, this.state); + this.enterRule(localctx, 16, sqlParser.RULE_createTableHeader); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1040; + this.match(sqlParser.CREATE); + this.state = 1042; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.TEMPORARY) { + this.state = 1041; + this.match(sqlParser.TEMPORARY); + } + this.state = 1045; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.EXTERNAL) { + this.state = 1044; + this.match(sqlParser.EXTERNAL); + } + this.state = 1047; + this.match(sqlParser.TABLE); + this.state = 1051; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 111, this._ctx); + if (la_ === 1) { + this.state = 1048; + this.match(sqlParser.IF); + this.state = 1049; + this.match(sqlParser.NOT); + this.state = 1050; + this.match(sqlParser.EXISTS); + } + this.state = 1053; + this.tableIdentifier(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function BucketSpecContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_bucketSpec; + return this; +} +BucketSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BucketSpecContext.prototype.constructor = BucketSpecContext; +BucketSpecContext.prototype.CLUSTERED = function () { + return this.getToken(sqlParser.CLUSTERED, 0); +}; +BucketSpecContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +BucketSpecContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +BucketSpecContext.prototype.INTO = function () { + return this.getToken(sqlParser.INTO, 0); +}; +BucketSpecContext.prototype.INTEGER_VALUE = function () { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; +BucketSpecContext.prototype.BUCKETS = function () { + return this.getToken(sqlParser.BUCKETS, 0); +}; +BucketSpecContext.prototype.SORTED = function () { + return this.getToken(sqlParser.SORTED, 0); +}; +BucketSpecContext.prototype.orderedIdentifierList = function () { + return this.getTypedRuleContext(OrderedIdentifierListContext, 0); +}; +BucketSpecContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterBucketSpec(this); + } +}; +BucketSpecContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitBucketSpec(this); + } +}; +BucketSpecContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitBucketSpec(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.BucketSpecContext = BucketSpecContext; +sqlParser.prototype.bucketSpec = function () { + var localctx = new BucketSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 18, sqlParser.RULE_bucketSpec); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1055; + this.match(sqlParser.CLUSTERED); + this.state = 1056; + this.match(sqlParser.BY); + this.state = 1057; + this.identifierList(); + this.state = 1061; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.SORTED) { + this.state = 1058; + this.match(sqlParser.SORTED); + this.state = 1059; + this.match(sqlParser.BY); + this.state = 1060; + this.orderedIdentifierList(); + } + this.state = 1063; + this.match(sqlParser.INTO); + this.state = 1064; + this.match(sqlParser.INTEGER_VALUE); + this.state = 1065; + this.match(sqlParser.BUCKETS); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SkewSpecContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_skewSpec; + return this; +} +SkewSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SkewSpecContext.prototype.constructor = SkewSpecContext; +SkewSpecContext.prototype.SKEWED = function () { + return this.getToken(sqlParser.SKEWED, 0); +}; +SkewSpecContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +SkewSpecContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +SkewSpecContext.prototype.ON = function () { + return this.getToken(sqlParser.ON, 0); +}; +SkewSpecContext.prototype.constantList = function () { + return this.getTypedRuleContext(ConstantListContext, 0); +}; +SkewSpecContext.prototype.nestedConstantList = function () { + return this.getTypedRuleContext(NestedConstantListContext, 0); +}; +SkewSpecContext.prototype.STORED = function () { + return this.getToken(sqlParser.STORED, 0); +}; +SkewSpecContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +SkewSpecContext.prototype.DIRECTORIES = function () { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; +SkewSpecContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSkewSpec(this); + } +}; +SkewSpecContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSkewSpec(this); + } +}; +SkewSpecContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSkewSpec(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SkewSpecContext = SkewSpecContext; +sqlParser.prototype.skewSpec = function () { + var localctx = new SkewSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 20, sqlParser.RULE_skewSpec); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1067; + this.match(sqlParser.SKEWED); + this.state = 1068; + this.match(sqlParser.BY); + this.state = 1069; + this.identifierList(); + this.state = 1070; + this.match(sqlParser.ON); + this.state = 1073; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 113, this._ctx); + switch (la_) { + case 1: + this.state = 1071; + this.constantList(); + break; + case 2: + this.state = 1072; + this.nestedConstantList(); + break; + } + this.state = 1078; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 114, this._ctx); + if (la_ === 1) { + this.state = 1075; + this.match(sqlParser.STORED); + this.state = 1076; + this.match(sqlParser.AS); + this.state = 1077; + this.match(sqlParser.DIRECTORIES); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function LocationSpecContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_locationSpec; + return this; +} +LocationSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +LocationSpecContext.prototype.constructor = LocationSpecContext; +LocationSpecContext.prototype.LOCATION = function () { + return this.getToken(sqlParser.LOCATION, 0); +}; +LocationSpecContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +LocationSpecContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLocationSpec(this); + } +}; +LocationSpecContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLocationSpec(this); + } +}; +LocationSpecContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLocationSpec(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.LocationSpecContext = LocationSpecContext; +sqlParser.prototype.locationSpec = function () { + var localctx = new LocationSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 22, sqlParser.RULE_locationSpec); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1080; + this.match(sqlParser.LOCATION); + this.state = 1081; + this.match(sqlParser.STRING); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QueryContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_query; + return this; +} +QueryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryContext.prototype.constructor = QueryContext; +QueryContext.prototype.queryNoWith = function () { + return this.getTypedRuleContext(QueryNoWithContext, 0); +}; +QueryContext.prototype.ctes = function () { + return this.getTypedRuleContext(CtesContext, 0); +}; +QueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQuery(this); + } +}; +QueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQuery(this); + } +}; +QueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QueryContext = QueryContext; +sqlParser.prototype.query = function () { + var localctx = new QueryContext(this, this._ctx, this.state); + this.enterRule(localctx, 24, sqlParser.RULE_query); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1084; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.WITH) { + this.state = 1083; + this.ctes(); + } + this.state = 1086; + this.queryNoWith(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function InsertIntoContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_insertInto; + return this; +} +InsertIntoContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +InsertIntoContext.prototype.constructor = InsertIntoContext; +InsertIntoContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function InsertOverwriteHiveDirContext(parser, ctx) { + InsertIntoContext.call(this, parser); + this.path = null; // Token; + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} +InsertOverwriteHiveDirContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteHiveDirContext.prototype.constructor = InsertOverwriteHiveDirContext; +sqlParser.InsertOverwriteHiveDirContext = InsertOverwriteHiveDirContext; +InsertOverwriteHiveDirContext.prototype.INSERT = function () { + return this.getToken(sqlParser.INSERT, 0); +}; +InsertOverwriteHiveDirContext.prototype.OVERWRITE = function () { + return this.getToken(sqlParser.OVERWRITE, 0); +}; +InsertOverwriteHiveDirContext.prototype.DIRECTORY = function () { + return this.getToken(sqlParser.DIRECTORY, 0); +}; +InsertOverwriteHiveDirContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +InsertOverwriteHiveDirContext.prototype.LOCAL = function () { + return this.getToken(sqlParser.LOCAL, 0); +}; +InsertOverwriteHiveDirContext.prototype.rowFormat = function () { + return this.getTypedRuleContext(RowFormatContext, 0); +}; +InsertOverwriteHiveDirContext.prototype.createFileFormat = function () { + return this.getTypedRuleContext(CreateFileFormatContext, 0); +}; +InsertOverwriteHiveDirContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInsertOverwriteHiveDir(this); + } +}; +InsertOverwriteHiveDirContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInsertOverwriteHiveDir(this); + } +}; +InsertOverwriteHiveDirContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInsertOverwriteHiveDir(this); + } + else { + return visitor.visitChildren(this); + } +}; +function InsertOverwriteDirContext(parser, ctx) { + InsertIntoContext.call(this, parser); + this.path = null; // Token; + this.options = null; // TablePropertyListContext; + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} +InsertOverwriteDirContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteDirContext.prototype.constructor = InsertOverwriteDirContext; +sqlParser.InsertOverwriteDirContext = InsertOverwriteDirContext; +InsertOverwriteDirContext.prototype.INSERT = function () { + return this.getToken(sqlParser.INSERT, 0); +}; +InsertOverwriteDirContext.prototype.OVERWRITE = function () { + return this.getToken(sqlParser.OVERWRITE, 0); +}; +InsertOverwriteDirContext.prototype.DIRECTORY = function () { + return this.getToken(sqlParser.DIRECTORY, 0); +}; +InsertOverwriteDirContext.prototype.tableProvider = function () { + return this.getTypedRuleContext(TableProviderContext, 0); +}; +InsertOverwriteDirContext.prototype.LOCAL = function () { + return this.getToken(sqlParser.LOCAL, 0); +}; +InsertOverwriteDirContext.prototype.OPTIONS = function () { + return this.getToken(sqlParser.OPTIONS, 0); +}; +InsertOverwriteDirContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +InsertOverwriteDirContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +InsertOverwriteDirContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInsertOverwriteDir(this); + } +}; +InsertOverwriteDirContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInsertOverwriteDir(this); + } +}; +InsertOverwriteDirContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInsertOverwriteDir(this); + } + else { + return visitor.visitChildren(this); + } +}; +function InsertOverwriteTableContext(parser, ctx) { + InsertIntoContext.call(this, parser); + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} +InsertOverwriteTableContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteTableContext.prototype.constructor = InsertOverwriteTableContext; +sqlParser.InsertOverwriteTableContext = InsertOverwriteTableContext; +InsertOverwriteTableContext.prototype.INSERT = function () { + return this.getToken(sqlParser.INSERT, 0); +}; +InsertOverwriteTableContext.prototype.OVERWRITE = function () { + return this.getToken(sqlParser.OVERWRITE, 0); +}; +InsertOverwriteTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +InsertOverwriteTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +InsertOverwriteTableContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +InsertOverwriteTableContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +InsertOverwriteTableContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +InsertOverwriteTableContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +InsertOverwriteTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInsertOverwriteTable(this); + } +}; +InsertOverwriteTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInsertOverwriteTable(this); + } +}; +InsertOverwriteTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInsertOverwriteTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +function InsertIntoTableContext(parser, ctx) { + InsertIntoContext.call(this, parser); + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} +InsertIntoTableContext.prototype = Object.create(InsertIntoContext.prototype); +InsertIntoTableContext.prototype.constructor = InsertIntoTableContext; +sqlParser.InsertIntoTableContext = InsertIntoTableContext; +InsertIntoTableContext.prototype.INSERT = function () { + return this.getToken(sqlParser.INSERT, 0); +}; +InsertIntoTableContext.prototype.INTO = function () { + return this.getToken(sqlParser.INTO, 0); +}; +InsertIntoTableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +InsertIntoTableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +InsertIntoTableContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +InsertIntoTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInsertIntoTable(this); + } +}; +InsertIntoTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInsertIntoTable(this); + } +}; +InsertIntoTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInsertIntoTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.InsertIntoContext = InsertIntoContext; +sqlParser.prototype.insertInto = function () { + var localctx = new InsertIntoContext(this, this._ctx, this.state); + this.enterRule(localctx, 26, sqlParser.RULE_insertInto); + var _la = 0; // Token type + try { + this.state = 1136; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 126, this._ctx); + switch (la_) { + case 1: + localctx = new InsertOverwriteTableContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1088; + this.match(sqlParser.INSERT); + this.state = 1089; + this.match(sqlParser.OVERWRITE); + this.state = 1090; + this.match(sqlParser.TABLE); + this.state = 1091; + this.tableIdentifier(); + this.state = 1098; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1092; + this.partitionSpec(); + this.state = 1096; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IF) { + this.state = 1093; + this.match(sqlParser.IF); + this.state = 1094; + this.match(sqlParser.NOT); + this.state = 1095; + this.match(sqlParser.EXISTS); + } + } + break; + case 2: + localctx = new InsertIntoTableContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1100; + this.match(sqlParser.INSERT); + this.state = 1101; + this.match(sqlParser.INTO); + this.state = 1103; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 118, this._ctx); + if (la_ === 1) { + this.state = 1102; + this.match(sqlParser.TABLE); + } + this.state = 1105; + this.tableIdentifier(); + this.state = 1107; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION) { + this.state = 1106; + this.partitionSpec(); + } + break; + case 3: + localctx = new InsertOverwriteHiveDirContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1109; + this.match(sqlParser.INSERT); + this.state = 1110; + this.match(sqlParser.OVERWRITE); + this.state = 1112; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCAL) { + this.state = 1111; + this.match(sqlParser.LOCAL); + } + this.state = 1114; + this.match(sqlParser.DIRECTORY); + this.state = 1115; + localctx.path = this.match(sqlParser.STRING); + this.state = 1117; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ROW) { + this.state = 1116; + this.rowFormat(); + } + this.state = 1120; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.STORED) { + this.state = 1119; + this.createFileFormat(); + } + break; + case 4: + localctx = new InsertOverwriteDirContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1122; + this.match(sqlParser.INSERT); + this.state = 1123; + this.match(sqlParser.OVERWRITE); + this.state = 1125; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCAL) { + this.state = 1124; + this.match(sqlParser.LOCAL); + } + this.state = 1127; + this.match(sqlParser.DIRECTORY); + this.state = 1129; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.STRING) { + this.state = 1128; + localctx.path = this.match(sqlParser.STRING); + } + this.state = 1131; + this.tableProvider(); + this.state = 1134; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OPTIONS) { + this.state = 1132; + this.match(sqlParser.OPTIONS); + this.state = 1133; + localctx.options = this.tablePropertyList(); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PartitionSpecLocationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionSpecLocation; + return this; +} +PartitionSpecLocationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionSpecLocationContext.prototype.constructor = PartitionSpecLocationContext; +PartitionSpecLocationContext.prototype.partitionSpec = function () { + return this.getTypedRuleContext(PartitionSpecContext, 0); +}; +PartitionSpecLocationContext.prototype.locationSpec = function () { + return this.getTypedRuleContext(LocationSpecContext, 0); +}; +PartitionSpecLocationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPartitionSpecLocation(this); + } +}; +PartitionSpecLocationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPartitionSpecLocation(this); + } +}; +PartitionSpecLocationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPartitionSpecLocation(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PartitionSpecLocationContext = PartitionSpecLocationContext; +sqlParser.prototype.partitionSpecLocation = function () { + var localctx = new PartitionSpecLocationContext(this, this._ctx, this.state); + this.enterRule(localctx, 28, sqlParser.RULE_partitionSpecLocation); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1138; + this.partitionSpec(); + this.state = 1140; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LOCATION) { + this.state = 1139; + this.locationSpec(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PartitionSpecContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionSpec; + return this; +} +PartitionSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionSpecContext.prototype.constructor = PartitionSpecContext; +PartitionSpecContext.prototype.PARTITION = function () { + return this.getToken(sqlParser.PARTITION, 0); +}; +PartitionSpecContext.prototype.partitionVal = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PartitionValContext); + } + else { + return this.getTypedRuleContext(PartitionValContext, i); + } +}; +PartitionSpecContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPartitionSpec(this); + } +}; +PartitionSpecContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPartitionSpec(this); + } +}; +PartitionSpecContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPartitionSpec(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PartitionSpecContext = PartitionSpecContext; +sqlParser.prototype.partitionSpec = function () { + var localctx = new PartitionSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 30, sqlParser.RULE_partitionSpec); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1142; + this.match(sqlParser.PARTITION); + this.state = 1143; + this.match(sqlParser.T__0); + this.state = 1144; + this.partitionVal(); + this.state = 1149; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1145; + this.match(sqlParser.T__3); + this.state = 1146; + this.partitionVal(); + this.state = 1151; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1152; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PartitionValContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionVal; + return this; +} +PartitionValContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionValContext.prototype.constructor = PartitionValContext; +PartitionValContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +PartitionValContext.prototype.EQ = function () { + return this.getToken(sqlParser.EQ, 0); +}; +PartitionValContext.prototype.constant = function () { + return this.getTypedRuleContext(ConstantContext, 0); +}; +PartitionValContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPartitionVal(this); + } +}; +PartitionValContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPartitionVal(this); + } +}; +PartitionValContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPartitionVal(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PartitionValContext = PartitionValContext; +sqlParser.prototype.partitionVal = function () { + var localctx = new PartitionValContext(this, this._ctx, this.state); + this.enterRule(localctx, 32, sqlParser.RULE_partitionVal); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1154; + this.identifier(); + this.state = 1157; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.EQ) { + this.state = 1155; + this.match(sqlParser.EQ); + this.state = 1156; + this.constant(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function DescribeFuncNameContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_describeFuncName; + return this; +} +DescribeFuncNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DescribeFuncNameContext.prototype.constructor = DescribeFuncNameContext; +DescribeFuncNameContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +DescribeFuncNameContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +DescribeFuncNameContext.prototype.comparisonOperator = function () { + return this.getTypedRuleContext(ComparisonOperatorContext, 0); +}; +DescribeFuncNameContext.prototype.arithmeticOperator = function () { + return this.getTypedRuleContext(ArithmeticOperatorContext, 0); +}; +DescribeFuncNameContext.prototype.predicateOperator = function () { + return this.getTypedRuleContext(PredicateOperatorContext, 0); +}; +DescribeFuncNameContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDescribeFuncName(this); + } +}; +DescribeFuncNameContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDescribeFuncName(this); + } +}; +DescribeFuncNameContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDescribeFuncName(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.DescribeFuncNameContext = DescribeFuncNameContext; +sqlParser.prototype.describeFuncName = function () { + var localctx = new DescribeFuncNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 34, sqlParser.RULE_describeFuncName); + try { + this.state = 1164; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 130, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1159; + this.qualifiedName(); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1160; + this.match(sqlParser.STRING); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1161; + this.comparisonOperator(); + break; + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 1162; + this.arithmeticOperator(); + break; + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 1163; + this.predicateOperator(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function DescribeColNameContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_describeColName; + this._identifier = null; // IdentifierContext + this.nameParts = []; // of IdentifierContexts + return this; +} +DescribeColNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DescribeColNameContext.prototype.constructor = DescribeColNameContext; +DescribeColNameContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +DescribeColNameContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDescribeColName(this); + } +}; +DescribeColNameContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDescribeColName(this); + } +}; +DescribeColNameContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDescribeColName(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.DescribeColNameContext = DescribeColNameContext; +sqlParser.prototype.describeColName = function () { + var localctx = new DescribeColNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 36, sqlParser.RULE_describeColName); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1166; + localctx._identifier = this.identifier(); + localctx.nameParts.push(localctx._identifier); + this.state = 1171; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__2) { + this.state = 1167; + this.match(sqlParser.T__2); + this.state = 1168; + localctx._identifier = this.identifier(); + localctx.nameParts.push(localctx._identifier); + this.state = 1173; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function CtesContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_ctes; + return this; +} +CtesContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CtesContext.prototype.constructor = CtesContext; +CtesContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +CtesContext.prototype.namedQuery = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(NamedQueryContext); + } + else { + return this.getTypedRuleContext(NamedQueryContext, i); + } +}; +CtesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCtes(this); + } +}; +CtesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCtes(this); + } +}; +CtesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCtes(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.CtesContext = CtesContext; +sqlParser.prototype.ctes = function () { + var localctx = new CtesContext(this, this._ctx, this.state); + this.enterRule(localctx, 38, sqlParser.RULE_ctes); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1174; + this.match(sqlParser.WITH); + this.state = 1175; + this.namedQuery(); + this.state = 1180; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1176; + this.match(sqlParser.T__3); + this.state = 1177; + this.namedQuery(); + this.state = 1182; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NamedQueryContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedQuery; + this.name = null; // IdentifierContext + return this; +} +NamedQueryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedQueryContext.prototype.constructor = NamedQueryContext; +NamedQueryContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +NamedQueryContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +NamedQueryContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +NamedQueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNamedQuery(this); + } +}; +NamedQueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNamedQuery(this); + } +}; +NamedQueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNamedQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NamedQueryContext = NamedQueryContext; +sqlParser.prototype.namedQuery = function () { + var localctx = new NamedQueryContext(this, this._ctx, this.state); + this.enterRule(localctx, 40, sqlParser.RULE_namedQuery); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1183; + localctx.name = this.identifier(); + this.state = 1185; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 1184; + this.match(sqlParser.AS); + } + this.state = 1187; + this.match(sqlParser.T__0); + this.state = 1188; + this.query(); + this.state = 1189; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TableProviderContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableProvider; + return this; +} +TableProviderContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableProviderContext.prototype.constructor = TableProviderContext; +TableProviderContext.prototype.USING = function () { + return this.getToken(sqlParser.USING, 0); +}; +TableProviderContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +TableProviderContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableProvider(this); + } +}; +TableProviderContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableProvider(this); + } +}; +TableProviderContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableProvider(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TableProviderContext = TableProviderContext; +sqlParser.prototype.tableProvider = function () { + var localctx = new TableProviderContext(this, this._ctx, this.state); + this.enterRule(localctx, 42, sqlParser.RULE_tableProvider); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1191; + this.match(sqlParser.USING); + this.state = 1192; + this.qualifiedName(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TablePropertyListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyList; + return this; +} +TablePropertyListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyListContext.prototype.constructor = TablePropertyListContext; +TablePropertyListContext.prototype.tableProperty = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(TablePropertyContext); + } + else { + return this.getTypedRuleContext(TablePropertyContext, i); + } +}; +TablePropertyListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTablePropertyList(this); + } +}; +TablePropertyListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTablePropertyList(this); + } +}; +TablePropertyListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTablePropertyList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TablePropertyListContext = TablePropertyListContext; +sqlParser.prototype.tablePropertyList = function () { + var localctx = new TablePropertyListContext(this, this._ctx, this.state); + this.enterRule(localctx, 44, sqlParser.RULE_tablePropertyList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1194; + this.match(sqlParser.T__0); + this.state = 1195; + this.tableProperty(); + this.state = 1200; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1196; + this.match(sqlParser.T__3); + this.state = 1197; + this.tableProperty(); + this.state = 1202; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1203; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TablePropertyContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableProperty; + this.key = null; // TablePropertyKeyContext + this.value = null; // TablePropertyValueContext + return this; +} +TablePropertyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyContext.prototype.constructor = TablePropertyContext; +TablePropertyContext.prototype.tablePropertyKey = function () { + return this.getTypedRuleContext(TablePropertyKeyContext, 0); +}; +TablePropertyContext.prototype.tablePropertyValue = function () { + return this.getTypedRuleContext(TablePropertyValueContext, 0); +}; +TablePropertyContext.prototype.EQ = function () { + return this.getToken(sqlParser.EQ, 0); +}; +TablePropertyContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableProperty(this); + } +}; +TablePropertyContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableProperty(this); + } +}; +TablePropertyContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableProperty(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TablePropertyContext = TablePropertyContext; +sqlParser.prototype.tableProperty = function () { + var localctx = new TablePropertyContext(this, this._ctx, this.state); + this.enterRule(localctx, 46, sqlParser.RULE_tableProperty); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1205; + localctx.key = this.tablePropertyKey(); + this.state = 1210; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.TRUE || _la === sqlParser.FALSE || _la === sqlParser.EQ || ((((_la - 241)) & ~0x1f) == 0 && ((1 << (_la - 241)) & ((1 << (sqlParser.STRING - 241)) | (1 << (sqlParser.INTEGER_VALUE - 241)) | (1 << (sqlParser.DECIMAL_VALUE - 241)))) !== 0)) { + this.state = 1207; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.EQ) { + this.state = 1206; + this.match(sqlParser.EQ); + } + this.state = 1209; + localctx.value = this.tablePropertyValue(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TablePropertyKeyContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyKey; + return this; +} +TablePropertyKeyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyKeyContext.prototype.constructor = TablePropertyKeyContext; +TablePropertyKeyContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +TablePropertyKeyContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +TablePropertyKeyContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTablePropertyKey(this); + } +}; +TablePropertyKeyContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTablePropertyKey(this); + } +}; +TablePropertyKeyContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTablePropertyKey(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TablePropertyKeyContext = TablePropertyKeyContext; +sqlParser.prototype.tablePropertyKey = function () { + var localctx = new TablePropertyKeyContext(this, this._ctx, this.state); + this.enterRule(localctx, 48, sqlParser.RULE_tablePropertyKey); + var _la = 0; // Token type + try { + this.state = 1221; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 1212; + this.identifier(); + this.state = 1217; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__2) { + this.state = 1213; + this.match(sqlParser.T__2); + this.state = 1214; + this.identifier(); + this.state = 1219; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 2); + this.state = 1220; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TablePropertyValueContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyValue; + return this; +} +TablePropertyValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyValueContext.prototype.constructor = TablePropertyValueContext; +TablePropertyValueContext.prototype.INTEGER_VALUE = function () { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; +TablePropertyValueContext.prototype.DECIMAL_VALUE = function () { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; +TablePropertyValueContext.prototype.booleanValue = function () { + return this.getTypedRuleContext(BooleanValueContext, 0); +}; +TablePropertyValueContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +TablePropertyValueContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTablePropertyValue(this); + } +}; +TablePropertyValueContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTablePropertyValue(this); + } +}; +TablePropertyValueContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTablePropertyValue(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TablePropertyValueContext = TablePropertyValueContext; +sqlParser.prototype.tablePropertyValue = function () { + var localctx = new TablePropertyValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 50, sqlParser.RULE_tablePropertyValue); + try { + this.state = 1227; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.INTEGER_VALUE: + this.enterOuterAlt(localctx, 1); + this.state = 1223; + this.match(sqlParser.INTEGER_VALUE); + break; + case sqlParser.DECIMAL_VALUE: + this.enterOuterAlt(localctx, 2); + this.state = 1224; + this.match(sqlParser.DECIMAL_VALUE); + break; + case sqlParser.TRUE: + case sqlParser.FALSE: + this.enterOuterAlt(localctx, 3); + this.state = 1225; + this.booleanValue(); + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 4); + this.state = 1226; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ConstantListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_constantList; + return this; +} +ConstantListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ConstantListContext.prototype.constructor = ConstantListContext; +ConstantListContext.prototype.constant = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ConstantContext); + } + else { + return this.getTypedRuleContext(ConstantContext, i); + } +}; +ConstantListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterConstantList(this); + } +}; +ConstantListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitConstantList(this); + } +}; +ConstantListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitConstantList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ConstantListContext = ConstantListContext; +sqlParser.prototype.constantList = function () { + var localctx = new ConstantListContext(this, this._ctx, this.state); + this.enterRule(localctx, 52, sqlParser.RULE_constantList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1229; + this.match(sqlParser.T__0); + this.state = 1230; + this.constant(); + this.state = 1235; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1231; + this.match(sqlParser.T__3); + this.state = 1232; + this.constant(); + this.state = 1237; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1238; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NestedConstantListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_nestedConstantList; + return this; +} +NestedConstantListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NestedConstantListContext.prototype.constructor = NestedConstantListContext; +NestedConstantListContext.prototype.constantList = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ConstantListContext); + } + else { + return this.getTypedRuleContext(ConstantListContext, i); + } +}; +NestedConstantListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNestedConstantList(this); + } +}; +NestedConstantListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNestedConstantList(this); + } +}; +NestedConstantListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNestedConstantList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NestedConstantListContext = NestedConstantListContext; +sqlParser.prototype.nestedConstantList = function () { + var localctx = new NestedConstantListContext(this, this._ctx, this.state); + this.enterRule(localctx, 54, sqlParser.RULE_nestedConstantList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1240; + this.match(sqlParser.T__0); + this.state = 1241; + this.constantList(); + this.state = 1246; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1242; + this.match(sqlParser.T__3); + this.state = 1243; + this.constantList(); + this.state = 1248; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1249; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function CreateFileFormatContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_createFileFormat; + return this; +} +CreateFileFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CreateFileFormatContext.prototype.constructor = CreateFileFormatContext; +CreateFileFormatContext.prototype.STORED = function () { + return this.getToken(sqlParser.STORED, 0); +}; +CreateFileFormatContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CreateFileFormatContext.prototype.fileFormat = function () { + return this.getTypedRuleContext(FileFormatContext, 0); +}; +CreateFileFormatContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +CreateFileFormatContext.prototype.storageHandler = function () { + return this.getTypedRuleContext(StorageHandlerContext, 0); +}; +CreateFileFormatContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCreateFileFormat(this); + } +}; +CreateFileFormatContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCreateFileFormat(this); + } +}; +CreateFileFormatContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCreateFileFormat(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.CreateFileFormatContext = CreateFileFormatContext; +sqlParser.prototype.createFileFormat = function () { + var localctx = new CreateFileFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 56, sqlParser.RULE_createFileFormat); + try { + this.state = 1257; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 142, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1251; + this.match(sqlParser.STORED); + this.state = 1252; + this.match(sqlParser.AS); + this.state = 1253; + this.fileFormat(); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1254; + this.match(sqlParser.STORED); + this.state = 1255; + this.match(sqlParser.BY); + this.state = 1256; + this.storageHandler(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function FileFormatContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_fileFormat; + return this; +} +FileFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FileFormatContext.prototype.constructor = FileFormatContext; +FileFormatContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function TableFileFormatContext(parser, ctx) { + FileFormatContext.call(this, parser); + this.inFmt = null; // Token; + this.outFmt = null; // Token; + FileFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} +TableFileFormatContext.prototype = Object.create(FileFormatContext.prototype); +TableFileFormatContext.prototype.constructor = TableFileFormatContext; +sqlParser.TableFileFormatContext = TableFileFormatContext; +TableFileFormatContext.prototype.INPUTFORMAT = function () { + return this.getToken(sqlParser.INPUTFORMAT, 0); +}; +TableFileFormatContext.prototype.OUTPUTFORMAT = function () { + return this.getToken(sqlParser.OUTPUTFORMAT, 0); +}; +TableFileFormatContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +TableFileFormatContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableFileFormat(this); + } +}; +TableFileFormatContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableFileFormat(this); + } +}; +TableFileFormatContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableFileFormat(this); + } + else { + return visitor.visitChildren(this); + } +}; +function GenericFileFormatContext(parser, ctx) { + FileFormatContext.call(this, parser); + FileFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} +GenericFileFormatContext.prototype = Object.create(FileFormatContext.prototype); +GenericFileFormatContext.prototype.constructor = GenericFileFormatContext; +sqlParser.GenericFileFormatContext = GenericFileFormatContext; +GenericFileFormatContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +GenericFileFormatContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterGenericFileFormat(this); + } +}; +GenericFileFormatContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitGenericFileFormat(this); + } +}; +GenericFileFormatContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitGenericFileFormat(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.FileFormatContext = FileFormatContext; +sqlParser.prototype.fileFormat = function () { + var localctx = new FileFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 58, sqlParser.RULE_fileFormat); + try { + this.state = 1264; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 143, this._ctx); + switch (la_) { + case 1: + localctx = new TableFileFormatContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1259; + this.match(sqlParser.INPUTFORMAT); + this.state = 1260; + localctx.inFmt = this.match(sqlParser.STRING); + this.state = 1261; + this.match(sqlParser.OUTPUTFORMAT); + this.state = 1262; + localctx.outFmt = this.match(sqlParser.STRING); + break; + case 2: + localctx = new GenericFileFormatContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1263; + this.identifier(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function StorageHandlerContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_storageHandler; + return this; +} +StorageHandlerContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StorageHandlerContext.prototype.constructor = StorageHandlerContext; +StorageHandlerContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +StorageHandlerContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +StorageHandlerContext.prototype.SERDEPROPERTIES = function () { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; +StorageHandlerContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +StorageHandlerContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterStorageHandler(this); + } +}; +StorageHandlerContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitStorageHandler(this); + } +}; +StorageHandlerContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitStorageHandler(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.StorageHandlerContext = StorageHandlerContext; +sqlParser.prototype.storageHandler = function () { + var localctx = new StorageHandlerContext(this, this._ctx, this.state); + this.enterRule(localctx, 60, sqlParser.RULE_storageHandler); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1266; + this.match(sqlParser.STRING); + this.state = 1270; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 144, this._ctx); + if (la_ === 1) { + this.state = 1267; + this.match(sqlParser.WITH); + this.state = 1268; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 1269; + this.tablePropertyList(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ResourceContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_resource; + return this; +} +ResourceContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ResourceContext.prototype.constructor = ResourceContext; +ResourceContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ResourceContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ResourceContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterResource(this); + } +}; +ResourceContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitResource(this); + } +}; +ResourceContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitResource(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ResourceContext = ResourceContext; +sqlParser.prototype.resource = function () { + var localctx = new ResourceContext(this, this._ctx, this.state); + this.enterRule(localctx, 62, sqlParser.RULE_resource); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1272; + this.identifier(); + this.state = 1273; + this.match(sqlParser.STRING); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QueryNoWithContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryNoWith; + return this; +} +QueryNoWithContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryNoWithContext.prototype.constructor = QueryNoWithContext; +QueryNoWithContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function SingleInsertQueryContext(parser, ctx) { + QueryNoWithContext.call(this, parser); + QueryNoWithContext.prototype.copyFrom.call(this, ctx); + return this; +} +SingleInsertQueryContext.prototype = Object.create(QueryNoWithContext.prototype); +SingleInsertQueryContext.prototype.constructor = SingleInsertQueryContext; +sqlParser.SingleInsertQueryContext = SingleInsertQueryContext; +SingleInsertQueryContext.prototype.queryTerm = function () { + return this.getTypedRuleContext(QueryTermContext, 0); +}; +SingleInsertQueryContext.prototype.queryOrganization = function () { + return this.getTypedRuleContext(QueryOrganizationContext, 0); +}; +SingleInsertQueryContext.prototype.insertInto = function () { + return this.getTypedRuleContext(InsertIntoContext, 0); +}; +SingleInsertQueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSingleInsertQuery(this); + } +}; +SingleInsertQueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSingleInsertQuery(this); + } +}; +SingleInsertQueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSingleInsertQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +function MultiInsertQueryContext(parser, ctx) { + QueryNoWithContext.call(this, parser); + QueryNoWithContext.prototype.copyFrom.call(this, ctx); + return this; +} +MultiInsertQueryContext.prototype = Object.create(QueryNoWithContext.prototype); +MultiInsertQueryContext.prototype.constructor = MultiInsertQueryContext; +sqlParser.MultiInsertQueryContext = MultiInsertQueryContext; +MultiInsertQueryContext.prototype.fromClause = function () { + return this.getTypedRuleContext(FromClauseContext, 0); +}; +MultiInsertQueryContext.prototype.multiInsertQueryBody = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(MultiInsertQueryBodyContext); + } + else { + return this.getTypedRuleContext(MultiInsertQueryBodyContext, i); + } +}; +MultiInsertQueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterMultiInsertQuery(this); + } +}; +MultiInsertQueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitMultiInsertQuery(this); + } +}; +MultiInsertQueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitMultiInsertQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QueryNoWithContext = QueryNoWithContext; +sqlParser.prototype.queryNoWith = function () { + var localctx = new QueryNoWithContext(this, this._ctx, this.state); + this.enterRule(localctx, 64, sqlParser.RULE_queryNoWith); + var _la = 0; // Token type + try { + this.state = 1287; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 147, this._ctx); + switch (la_) { + case 1: + localctx = new SingleInsertQueryContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1276; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.INSERT) { + this.state = 1275; + this.insertInto(); + } + this.state = 1278; + this.queryTerm(0); + this.state = 1279; + this.queryOrganization(); + break; + case 2: + localctx = new MultiInsertQueryContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1281; + this.fromClause(); + this.state = 1283; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 1282; + this.multiInsertQueryBody(); + this.state = 1285; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.SELECT || _la === sqlParser.FROM || _la === sqlParser.INSERT || _la === sqlParser.MAP || _la === sqlParser.REDUCE); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QueryOrganizationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryOrganization; + this._sortItem = null; // SortItemContext + this.order = []; // of SortItemContexts + this._expression = null; // ExpressionContext + this.clusterBy = []; // of ExpressionContexts + this.distributeBy = []; // of ExpressionContexts + this.sort = []; // of SortItemContexts + this.limit = null; // ExpressionContext + return this; +} +QueryOrganizationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryOrganizationContext.prototype.constructor = QueryOrganizationContext; +QueryOrganizationContext.prototype.ORDER = function () { + return this.getToken(sqlParser.ORDER, 0); +}; +QueryOrganizationContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +QueryOrganizationContext.prototype.CLUSTER = function () { + return this.getToken(sqlParser.CLUSTER, 0); +}; +QueryOrganizationContext.prototype.DISTRIBUTE = function () { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; +QueryOrganizationContext.prototype.SORT = function () { + return this.getToken(sqlParser.SORT, 0); +}; +QueryOrganizationContext.prototype.windows = function () { + return this.getTypedRuleContext(WindowsContext, 0); +}; +QueryOrganizationContext.prototype.LIMIT = function () { + return this.getToken(sqlParser.LIMIT, 0); +}; +QueryOrganizationContext.prototype.sortItem = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(SortItemContext); + } + else { + return this.getTypedRuleContext(SortItemContext, i); + } +}; +QueryOrganizationContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +QueryOrganizationContext.prototype.ALL = function () { + return this.getToken(sqlParser.ALL, 0); +}; +QueryOrganizationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQueryOrganization(this); + } +}; +QueryOrganizationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQueryOrganization(this); + } +}; +QueryOrganizationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQueryOrganization(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QueryOrganizationContext = QueryOrganizationContext; +sqlParser.prototype.queryOrganization = function () { + var localctx = new QueryOrganizationContext(this, this._ctx, this.state); + this.enterRule(localctx, 66, sqlParser.RULE_queryOrganization); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1299; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ORDER) { + this.state = 1289; + this.match(sqlParser.ORDER); + this.state = 1290; + this.match(sqlParser.BY); + this.state = 1291; + localctx._sortItem = this.sortItem(); + localctx.order.push(localctx._sortItem); + this.state = 1296; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1292; + this.match(sqlParser.T__3); + this.state = 1293; + localctx._sortItem = this.sortItem(); + localctx.order.push(localctx._sortItem); + this.state = 1298; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1311; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.CLUSTER) { + this.state = 1301; + this.match(sqlParser.CLUSTER); + this.state = 1302; + this.match(sqlParser.BY); + this.state = 1303; + localctx._expression = this.expression(); + localctx.clusterBy.push(localctx._expression); + this.state = 1308; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1304; + this.match(sqlParser.T__3); + this.state = 1305; + localctx._expression = this.expression(); + localctx.clusterBy.push(localctx._expression); + this.state = 1310; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1323; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.DISTRIBUTE) { + this.state = 1313; + this.match(sqlParser.DISTRIBUTE); + this.state = 1314; + this.match(sqlParser.BY); + this.state = 1315; + localctx._expression = this.expression(); + localctx.distributeBy.push(localctx._expression); + this.state = 1320; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1316; + this.match(sqlParser.T__3); + this.state = 1317; + localctx._expression = this.expression(); + localctx.distributeBy.push(localctx._expression); + this.state = 1322; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1335; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.SORT) { + this.state = 1325; + this.match(sqlParser.SORT); + this.state = 1326; + this.match(sqlParser.BY); + this.state = 1327; + localctx._sortItem = this.sortItem(); + localctx.sort.push(localctx._sortItem); + this.state = 1332; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1328; + this.match(sqlParser.T__3); + this.state = 1329; + localctx._sortItem = this.sortItem(); + localctx.sort.push(localctx._sortItem); + this.state = 1334; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1338; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.WINDOW) { + this.state = 1337; + this.windows(); + } + this.state = 1345; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LIMIT) { + this.state = 1340; + this.match(sqlParser.LIMIT); + this.state = 1343; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 157, this._ctx); + switch (la_) { + case 1: + this.state = 1341; + this.match(sqlParser.ALL); + break; + case 2: + this.state = 1342; + localctx.limit = this.expression(); + break; + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function MultiInsertQueryBodyContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_multiInsertQueryBody; + return this; +} +MultiInsertQueryBodyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +MultiInsertQueryBodyContext.prototype.constructor = MultiInsertQueryBodyContext; +MultiInsertQueryBodyContext.prototype.querySpecification = function () { + return this.getTypedRuleContext(QuerySpecificationContext, 0); +}; +MultiInsertQueryBodyContext.prototype.queryOrganization = function () { + return this.getTypedRuleContext(QueryOrganizationContext, 0); +}; +MultiInsertQueryBodyContext.prototype.insertInto = function () { + return this.getTypedRuleContext(InsertIntoContext, 0); +}; +MultiInsertQueryBodyContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterMultiInsertQueryBody(this); + } +}; +MultiInsertQueryBodyContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitMultiInsertQueryBody(this); + } +}; +MultiInsertQueryBodyContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitMultiInsertQueryBody(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.MultiInsertQueryBodyContext = MultiInsertQueryBodyContext; +sqlParser.prototype.multiInsertQueryBody = function () { + var localctx = new MultiInsertQueryBodyContext(this, this._ctx, this.state); + this.enterRule(localctx, 68, sqlParser.RULE_multiInsertQueryBody); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1348; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.INSERT) { + this.state = 1347; + this.insertInto(); + } + this.state = 1350; + this.querySpecification(); + this.state = 1351; + this.queryOrganization(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QueryTermContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryTerm; + return this; +} +QueryTermContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryTermContext.prototype.constructor = QueryTermContext; +QueryTermContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function QueryTermDefaultContext(parser, ctx) { + QueryTermContext.call(this, parser); + QueryTermContext.prototype.copyFrom.call(this, ctx); + return this; +} +QueryTermDefaultContext.prototype = Object.create(QueryTermContext.prototype); +QueryTermDefaultContext.prototype.constructor = QueryTermDefaultContext; +sqlParser.QueryTermDefaultContext = QueryTermDefaultContext; +QueryTermDefaultContext.prototype.queryPrimary = function () { + return this.getTypedRuleContext(QueryPrimaryContext, 0); +}; +QueryTermDefaultContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQueryTermDefault(this); + } +}; +QueryTermDefaultContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQueryTermDefault(this); + } +}; +QueryTermDefaultContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQueryTermDefault(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SetOperationContext(parser, ctx) { + QueryTermContext.call(this, parser); + this.left = null; // QueryTermContext; + this.operator = null; // Token; + this.right = null; // QueryTermContext; + QueryTermContext.prototype.copyFrom.call(this, ctx); + return this; +} +SetOperationContext.prototype = Object.create(QueryTermContext.prototype); +SetOperationContext.prototype.constructor = SetOperationContext; +sqlParser.SetOperationContext = SetOperationContext; +SetOperationContext.prototype.queryTerm = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(QueryTermContext); + } + else { + return this.getTypedRuleContext(QueryTermContext, i); + } +}; +SetOperationContext.prototype.INTERSECT = function () { + return this.getToken(sqlParser.INTERSECT, 0); +}; +SetOperationContext.prototype.UNION = function () { + return this.getToken(sqlParser.UNION, 0); +}; +SetOperationContext.prototype.EXCEPT = function () { + return this.getToken(sqlParser.EXCEPT, 0); +}; +SetOperationContext.prototype.SETMINUS = function () { + return this.getToken(sqlParser.SETMINUS, 0); +}; +SetOperationContext.prototype.setQuantifier = function () { + return this.getTypedRuleContext(SetQuantifierContext, 0); +}; +SetOperationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetOperation(this); + } +}; +SetOperationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetOperation(this); + } +}; +SetOperationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetOperation(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.prototype.queryTerm = function (_p) { + if (_p === undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new QueryTermContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 70; + this.enterRecursionRule(localctx, 70, sqlParser.RULE_queryTerm, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + localctx = new QueryTermDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1354; + this.queryPrimary(); + this._ctx.stop = this._input.LT(-1); + this.state = 1379; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 164, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + if (this._parseListeners !== null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 1377; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 163, this._ctx); + switch (la_) { + case 1: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1356; + if (!(this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 1357; + if (!(this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "this.legacy_setops_precedence_enbled"); + } + this.state = 1358; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 102)) & ~0x1f) == 0 && ((1 << (_la - 102)) & ((1 << (sqlParser.UNION - 102)) | (1 << (sqlParser.EXCEPT - 102)) | (1 << (sqlParser.SETMINUS - 102)) | (1 << (sqlParser.INTERSECT - 102)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1360; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ALL || _la === sqlParser.DISTINCT) { + this.state = 1359; + this.setQuantifier(); + } + this.state = 1362; + localctx.right = this.queryTerm(4); + break; + case 2: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1363; + if (!(this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 1364; + if (!(!this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "!this.legacy_setops_precedence_enbled"); + } + this.state = 1365; + localctx.operator = this.match(sqlParser.INTERSECT); + this.state = 1367; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ALL || _la === sqlParser.DISTINCT) { + this.state = 1366; + this.setQuantifier(); + } + this.state = 1369; + localctx.right = this.queryTerm(3); + break; + case 3: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1370; + if (!(this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 1371; + if (!(!this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "!this.legacy_setops_precedence_enbled"); + } + this.state = 1372; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 102)) & ~0x1f) == 0 && ((1 << (_la - 102)) & ((1 << (sqlParser.UNION - 102)) | (1 << (sqlParser.EXCEPT - 102)) | (1 << (sqlParser.SETMINUS - 102)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1374; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ALL || _la === sqlParser.DISTINCT) { + this.state = 1373; + this.setQuantifier(); + } + this.state = 1376; + localctx.right = this.queryTerm(2); + break; + } + } + this.state = 1381; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 164, this._ctx); + } + } + catch (error) { + if (error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } + else { + throw error; + } + } + finally { + this.unrollRecursionContexts(_parentctx); + } + return localctx; +}; +function QueryPrimaryContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryPrimary; + return this; +} +QueryPrimaryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryPrimaryContext.prototype.constructor = QueryPrimaryContext; +QueryPrimaryContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function SubqueryContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +SubqueryContext.prototype = Object.create(QueryPrimaryContext.prototype); +SubqueryContext.prototype.constructor = SubqueryContext; +sqlParser.SubqueryContext = SubqueryContext; +SubqueryContext.prototype.queryNoWith = function () { + return this.getTypedRuleContext(QueryNoWithContext, 0); +}; +SubqueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSubquery(this); + } +}; +SubqueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSubquery(this); + } +}; +SubqueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSubquery(this); + } + else { + return visitor.visitChildren(this); + } +}; +function QueryPrimaryDefaultContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +QueryPrimaryDefaultContext.prototype = Object.create(QueryPrimaryContext.prototype); +QueryPrimaryDefaultContext.prototype.constructor = QueryPrimaryDefaultContext; +sqlParser.QueryPrimaryDefaultContext = QueryPrimaryDefaultContext; +QueryPrimaryDefaultContext.prototype.querySpecification = function () { + return this.getTypedRuleContext(QuerySpecificationContext, 0); +}; +QueryPrimaryDefaultContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQueryPrimaryDefault(this); + } +}; +QueryPrimaryDefaultContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQueryPrimaryDefault(this); + } +}; +QueryPrimaryDefaultContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQueryPrimaryDefault(this); + } + else { + return visitor.visitChildren(this); + } +}; +function InlineTableDefault1Context(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +InlineTableDefault1Context.prototype = Object.create(QueryPrimaryContext.prototype); +InlineTableDefault1Context.prototype.constructor = InlineTableDefault1Context; +sqlParser.InlineTableDefault1Context = InlineTableDefault1Context; +InlineTableDefault1Context.prototype.inlineTable = function () { + return this.getTypedRuleContext(InlineTableContext, 0); +}; +InlineTableDefault1Context.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInlineTableDefault1(this); + } +}; +InlineTableDefault1Context.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInlineTableDefault1(this); + } +}; +InlineTableDefault1Context.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInlineTableDefault1(this); + } + else { + return visitor.visitChildren(this); + } +}; +function TableContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +TableContext.prototype = Object.create(QueryPrimaryContext.prototype); +TableContext.prototype.constructor = TableContext; +sqlParser.TableContext = TableContext; +TableContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +TableContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +TableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTable(this); + } +}; +TableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTable(this); + } +}; +TableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QueryPrimaryContext = QueryPrimaryContext; +sqlParser.prototype.queryPrimary = function () { + var localctx = new QueryPrimaryContext(this, this._ctx, this.state); + this.enterRule(localctx, 72, sqlParser.RULE_queryPrimary); + try { + this.state = 1390; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.MAP: + case sqlParser.REDUCE: + localctx = new QueryPrimaryDefaultContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1382; + this.querySpecification(); + break; + case sqlParser.TABLE: + localctx = new TableContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1383; + this.match(sqlParser.TABLE); + this.state = 1384; + this.tableIdentifier(); + break; + case sqlParser.VALUES: + localctx = new InlineTableDefault1Context(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1385; + this.inlineTable(); + break; + case sqlParser.T__0: + localctx = new SubqueryContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1386; + this.match(sqlParser.T__0); + this.state = 1387; + this.queryNoWith(); + this.state = 1388; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SortItemContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sortItem; + this.ordering = null; // Token + this.nullOrder = null; // Token + return this; +} +SortItemContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SortItemContext.prototype.constructor = SortItemContext; +SortItemContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +SortItemContext.prototype.NULLS = function () { + return this.getToken(sqlParser.NULLS, 0); +}; +SortItemContext.prototype.ASC = function () { + return this.getToken(sqlParser.ASC, 0); +}; +SortItemContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +SortItemContext.prototype.LAST = function () { + return this.getToken(sqlParser.LAST, 0); +}; +SortItemContext.prototype.FIRST = function () { + return this.getToken(sqlParser.FIRST, 0); +}; +SortItemContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSortItem(this); + } +}; +SortItemContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSortItem(this); + } +}; +SortItemContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSortItem(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SortItemContext = SortItemContext; +sqlParser.prototype.sortItem = function () { + var localctx = new SortItemContext(this, this._ctx, this.state); + this.enterRule(localctx, 74, sqlParser.RULE_sortItem); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1392; + this.expression(); + this.state = 1394; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ASC || _la === sqlParser.DESC) { + this.state = 1393; + localctx.ordering = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.ASC || _la === sqlParser.DESC)) { + localctx.ordering = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + this.state = 1398; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NULLS) { + this.state = 1396; + this.match(sqlParser.NULLS); + this.state = 1397; + localctx.nullOrder = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.FIRST || _la === sqlParser.LAST)) { + localctx.nullOrder = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QuerySpecificationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_querySpecification; + this.kind = null; // Token + this.inRowFormat = null; // RowFormatContext + this.recordWriter = null; // Token + this.script = null; // Token + this.outRowFormat = null; // RowFormatContext + this.recordReader = null; // Token + this.where = null; // BooleanExpressionContext + this._hint = null; // HintContext + this.hints = []; // of HintContexts + this.having = null; // BooleanExpressionContext + return this; +} +QuerySpecificationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QuerySpecificationContext.prototype.constructor = QuerySpecificationContext; +QuerySpecificationContext.prototype.USING = function () { + return this.getToken(sqlParser.USING, 0); +}; +QuerySpecificationContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +QuerySpecificationContext.prototype.RECORDWRITER = function () { + return this.getToken(sqlParser.RECORDWRITER, 0); +}; +QuerySpecificationContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +QuerySpecificationContext.prototype.RECORDREADER = function () { + return this.getToken(sqlParser.RECORDREADER, 0); +}; +QuerySpecificationContext.prototype.fromClause = function () { + return this.getTypedRuleContext(FromClauseContext, 0); +}; +QuerySpecificationContext.prototype.WHERE = function () { + return this.getToken(sqlParser.WHERE, 0); +}; +QuerySpecificationContext.prototype.SELECT = function () { + return this.getToken(sqlParser.SELECT, 0); +}; +QuerySpecificationContext.prototype.namedExpressionSeq = function () { + return this.getTypedRuleContext(NamedExpressionSeqContext, 0); +}; +QuerySpecificationContext.prototype.rowFormat = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(RowFormatContext); + } + else { + return this.getTypedRuleContext(RowFormatContext, i); + } +}; +QuerySpecificationContext.prototype.booleanExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(BooleanExpressionContext); + } + else { + return this.getTypedRuleContext(BooleanExpressionContext, i); + } +}; +QuerySpecificationContext.prototype.TRANSFORM = function () { + return this.getToken(sqlParser.TRANSFORM, 0); +}; +QuerySpecificationContext.prototype.MAP = function () { + return this.getToken(sqlParser.MAP, 0); +}; +QuerySpecificationContext.prototype.REDUCE = function () { + return this.getToken(sqlParser.REDUCE, 0); +}; +QuerySpecificationContext.prototype.identifierSeq = function () { + return this.getTypedRuleContext(IdentifierSeqContext, 0); +}; +QuerySpecificationContext.prototype.colTypeList = function () { + return this.getTypedRuleContext(ColTypeListContext, 0); +}; +QuerySpecificationContext.prototype.lateralView = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(LateralViewContext); + } + else { + return this.getTypedRuleContext(LateralViewContext, i); + } +}; +QuerySpecificationContext.prototype.aggregation = function () { + return this.getTypedRuleContext(AggregationContext, 0); +}; +QuerySpecificationContext.prototype.HAVING = function () { + return this.getToken(sqlParser.HAVING, 0); +}; +QuerySpecificationContext.prototype.windows = function () { + return this.getTypedRuleContext(WindowsContext, 0); +}; +QuerySpecificationContext.prototype.setQuantifier = function () { + return this.getTypedRuleContext(SetQuantifierContext, 0); +}; +QuerySpecificationContext.prototype.hint = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(HintContext); + } + else { + return this.getTypedRuleContext(HintContext, i); + } +}; +QuerySpecificationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQuerySpecification(this); + } +}; +QuerySpecificationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQuerySpecification(this); + } +}; +QuerySpecificationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQuerySpecification(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QuerySpecificationContext = QuerySpecificationContext; +sqlParser.prototype.querySpecification = function () { + var localctx = new QuerySpecificationContext(this, this._ctx, this.state); + this.enterRule(localctx, 76, sqlParser.RULE_querySpecification); + var _la = 0; // Token type + try { + this.state = 1493; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 189, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1410; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + this.state = 1400; + this.match(sqlParser.SELECT); + this.state = 1401; + localctx.kind = this.match(sqlParser.TRANSFORM); + this.state = 1402; + this.match(sqlParser.T__0); + this.state = 1403; + this.namedExpressionSeq(); + this.state = 1404; + this.match(sqlParser.T__1); + break; + case sqlParser.MAP: + this.state = 1406; + localctx.kind = this.match(sqlParser.MAP); + this.state = 1407; + this.namedExpressionSeq(); + break; + case sqlParser.REDUCE: + this.state = 1408; + localctx.kind = this.match(sqlParser.REDUCE); + this.state = 1409; + this.namedExpressionSeq(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 1413; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ROW) { + this.state = 1412; + localctx.inRowFormat = this.rowFormat(); + } + this.state = 1417; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.RECORDWRITER) { + this.state = 1415; + this.match(sqlParser.RECORDWRITER); + this.state = 1416; + localctx.recordWriter = this.match(sqlParser.STRING); + } + this.state = 1419; + this.match(sqlParser.USING); + this.state = 1420; + localctx.script = this.match(sqlParser.STRING); + this.state = 1433; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 173, this._ctx); + if (la_ === 1) { + this.state = 1421; + this.match(sqlParser.AS); + this.state = 1431; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 172, this._ctx); + switch (la_) { + case 1: + this.state = 1422; + this.identifierSeq(); + break; + case 2: + this.state = 1423; + this.colTypeList(); + break; + case 3: + this.state = 1424; + this.match(sqlParser.T__0); + this.state = 1427; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 171, this._ctx); + switch (la_) { + case 1: + this.state = 1425; + this.identifierSeq(); + break; + case 2: + this.state = 1426; + this.colTypeList(); + break; + } + this.state = 1429; + this.match(sqlParser.T__1); + break; + } + } + this.state = 1436; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 174, this._ctx); + if (la_ === 1) { + this.state = 1435; + localctx.outRowFormat = this.rowFormat(); + } + this.state = 1440; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 175, this._ctx); + if (la_ === 1) { + this.state = 1438; + this.match(sqlParser.RECORDREADER); + this.state = 1439; + localctx.recordReader = this.match(sqlParser.STRING); + } + this.state = 1443; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 176, this._ctx); + if (la_ === 1) { + this.state = 1442; + this.fromClause(); + } + this.state = 1447; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 177, this._ctx); + if (la_ === 1) { + this.state = 1445; + this.match(sqlParser.WHERE); + this.state = 1446; + localctx.where = this.booleanExpression(0); + } + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1471; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + this.state = 1449; + localctx.kind = this.match(sqlParser.SELECT); + this.state = 1453; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__4) { + this.state = 1450; + localctx._hint = this.hint(); + localctx.hints.push(localctx._hint); + this.state = 1455; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1457; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 179, this._ctx); + if (la_ === 1) { + this.state = 1456; + this.setQuantifier(); + } + this.state = 1459; + this.namedExpressionSeq(); + this.state = 1461; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 180, this._ctx); + if (la_ === 1) { + this.state = 1460; + this.fromClause(); + } + break; + case sqlParser.FROM: + this.state = 1463; + this.fromClause(); + this.state = 1469; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 182, this._ctx); + if (la_ === 1) { + this.state = 1464; + localctx.kind = this.match(sqlParser.SELECT); + this.state = 1466; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 181, this._ctx); + if (la_ === 1) { + this.state = 1465; + this.setQuantifier(); + } + this.state = 1468; + this.namedExpressionSeq(); + } + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 1476; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 184, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1473; + this.lateralView(); + } + this.state = 1478; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 184, this._ctx); + } + this.state = 1481; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 185, this._ctx); + if (la_ === 1) { + this.state = 1479; + this.match(sqlParser.WHERE); + this.state = 1480; + localctx.where = this.booleanExpression(0); + } + this.state = 1484; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 186, this._ctx); + if (la_ === 1) { + this.state = 1483; + this.aggregation(); + } + this.state = 1488; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 187, this._ctx); + if (la_ === 1) { + this.state = 1486; + this.match(sqlParser.HAVING); + this.state = 1487; + localctx.having = this.booleanExpression(0); + } + this.state = 1491; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 188, this._ctx); + if (la_ === 1) { + this.state = 1490; + this.windows(); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function HintContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_hint; + this._hintStatement = null; // HintStatementContext + this.hintStatements = []; // of HintStatementContexts + return this; +} +HintContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +HintContext.prototype.constructor = HintContext; +HintContext.prototype.hintStatement = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(HintStatementContext); + } + else { + return this.getTypedRuleContext(HintStatementContext, i); + } +}; +HintContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterHint(this); + } +}; +HintContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitHint(this); + } +}; +HintContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitHint(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.HintContext = HintContext; +sqlParser.prototype.hint = function () { + var localctx = new HintContext(this, this._ctx, this.state); + this.enterRule(localctx, 78, sqlParser.RULE_hint); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1495; + this.match(sqlParser.T__4); + this.state = 1496; + localctx._hintStatement = this.hintStatement(); + localctx.hintStatements.push(localctx._hintStatement); + this.state = 1503; + this._errHandler.sync(this); + _la = this._input.LA(1); + while ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__3) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1498; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.T__3) { + this.state = 1497; + this.match(sqlParser.T__3); + } + this.state = 1500; + localctx._hintStatement = this.hintStatement(); + localctx.hintStatements.push(localctx._hintStatement); + this.state = 1505; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1506; + this.match(sqlParser.T__5); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function HintStatementContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_hintStatement; + this.hintName = null; // IdentifierContext + this._primaryExpression = null; // PrimaryExpressionContext + this.parameters = []; // of PrimaryExpressionContexts + return this; +} +HintStatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +HintStatementContext.prototype.constructor = HintStatementContext; +HintStatementContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +HintStatementContext.prototype.primaryExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PrimaryExpressionContext); + } + else { + return this.getTypedRuleContext(PrimaryExpressionContext, i); + } +}; +HintStatementContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterHintStatement(this); + } +}; +HintStatementContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitHintStatement(this); + } +}; +HintStatementContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitHintStatement(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.HintStatementContext = HintStatementContext; +sqlParser.prototype.hintStatement = function () { + var localctx = new HintStatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 80, sqlParser.RULE_hintStatement); + var _la = 0; // Token type + try { + this.state = 1521; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 193, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1508; + localctx.hintName = this.identifier(); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1509; + localctx.hintName = this.identifier(); + this.state = 1510; + this.match(sqlParser.T__0); + this.state = 1511; + localctx._primaryExpression = this.primaryExpression(0); + localctx.parameters.push(localctx._primaryExpression); + this.state = 1516; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1512; + this.match(sqlParser.T__3); + this.state = 1513; + localctx._primaryExpression = this.primaryExpression(0); + localctx.parameters.push(localctx._primaryExpression); + this.state = 1518; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1519; + this.match(sqlParser.T__1); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function FromClauseContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_fromClause; + return this; +} +FromClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FromClauseContext.prototype.constructor = FromClauseContext; +FromClauseContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +FromClauseContext.prototype.relation = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(RelationContext); + } + else { + return this.getTypedRuleContext(RelationContext, i); + } +}; +FromClauseContext.prototype.lateralView = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(LateralViewContext); + } + else { + return this.getTypedRuleContext(LateralViewContext, i); + } +}; +FromClauseContext.prototype.pivotClause = function () { + return this.getTypedRuleContext(PivotClauseContext, 0); +}; +FromClauseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFromClause(this); + } +}; +FromClauseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFromClause(this); + } +}; +FromClauseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFromClause(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.FromClauseContext = FromClauseContext; +sqlParser.prototype.fromClause = function () { + var localctx = new FromClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 82, sqlParser.RULE_fromClause); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1523; + this.match(sqlParser.FROM); + this.state = 1524; + this.relation(); + this.state = 1529; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 194, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1525; + this.match(sqlParser.T__3); + this.state = 1526; + this.relation(); + } + this.state = 1531; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 194, this._ctx); + } + this.state = 1535; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 195, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1532; + this.lateralView(); + } + this.state = 1537; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 195, this._ctx); + } + this.state = 1539; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 196, this._ctx); + if (la_ === 1) { + this.state = 1538; + this.pivotClause(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function AggregationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_aggregation; + this._expression = null; // ExpressionContext + this.groupingExpressions = []; // of ExpressionContexts + this.kind = null; // Token + return this; +} +AggregationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +AggregationContext.prototype.constructor = AggregationContext; +AggregationContext.prototype.GROUP = function () { + return this.getToken(sqlParser.GROUP, 0); +}; +AggregationContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +AggregationContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +AggregationContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +AggregationContext.prototype.SETS = function () { + return this.getToken(sqlParser.SETS, 0); +}; +AggregationContext.prototype.groupingSet = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(GroupingSetContext); + } + else { + return this.getTypedRuleContext(GroupingSetContext, i); + } +}; +AggregationContext.prototype.ROLLUP = function () { + return this.getToken(sqlParser.ROLLUP, 0); +}; +AggregationContext.prototype.CUBE = function () { + return this.getToken(sqlParser.CUBE, 0); +}; +AggregationContext.prototype.GROUPING = function () { + return this.getToken(sqlParser.GROUPING, 0); +}; +AggregationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAggregation(this); + } +}; +AggregationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAggregation(this); + } +}; +AggregationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAggregation(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.AggregationContext = AggregationContext; +sqlParser.prototype.aggregation = function () { + var localctx = new AggregationContext(this, this._ctx, this.state); + this.enterRule(localctx, 84, sqlParser.RULE_aggregation); + var _la = 0; // Token type + try { + this.state = 1585; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 201, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1541; + this.match(sqlParser.GROUP); + this.state = 1542; + this.match(sqlParser.BY); + this.state = 1543; + localctx._expression = this.expression(); + localctx.groupingExpressions.push(localctx._expression); + this.state = 1548; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 197, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1544; + this.match(sqlParser.T__3); + this.state = 1545; + localctx._expression = this.expression(); + localctx.groupingExpressions.push(localctx._expression); + } + this.state = 1550; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 197, this._ctx); + } + this.state = 1568; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 199, this._ctx); + if (la_ === 1) { + this.state = 1551; + this.match(sqlParser.WITH); + this.state = 1552; + localctx.kind = this.match(sqlParser.ROLLUP); + } + else if (la_ === 2) { + this.state = 1553; + this.match(sqlParser.WITH); + this.state = 1554; + localctx.kind = this.match(sqlParser.CUBE); + } + else if (la_ === 3) { + this.state = 1555; + localctx.kind = this.match(sqlParser.GROUPING); + this.state = 1556; + this.match(sqlParser.SETS); + this.state = 1557; + this.match(sqlParser.T__0); + this.state = 1558; + this.groupingSet(); + this.state = 1563; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1559; + this.match(sqlParser.T__3); + this.state = 1560; + this.groupingSet(); + this.state = 1565; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1566; + this.match(sqlParser.T__1); + } + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1570; + this.match(sqlParser.GROUP); + this.state = 1571; + this.match(sqlParser.BY); + this.state = 1572; + localctx.kind = this.match(sqlParser.GROUPING); + this.state = 1573; + this.match(sqlParser.SETS); + this.state = 1574; + this.match(sqlParser.T__0); + this.state = 1575; + this.groupingSet(); + this.state = 1580; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1576; + this.match(sqlParser.T__3); + this.state = 1577; + this.groupingSet(); + this.state = 1582; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1583; + this.match(sqlParser.T__1); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function GroupingSetContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_groupingSet; + return this; +} +GroupingSetContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +GroupingSetContext.prototype.constructor = GroupingSetContext; +GroupingSetContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +GroupingSetContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterGroupingSet(this); + } +}; +GroupingSetContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitGroupingSet(this); + } +}; +GroupingSetContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitGroupingSet(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.GroupingSetContext = GroupingSetContext; +sqlParser.prototype.groupingSet = function () { + var localctx = new GroupingSetContext(this, this._ctx, this.state); + this.enterRule(localctx, 86, sqlParser.RULE_groupingSet); + var _la = 0; // Token type + try { + this.state = 1600; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 204, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1587; + this.match(sqlParser.T__0); + this.state = 1596; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1588; + this.expression(); + this.state = 1593; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1589; + this.match(sqlParser.T__3); + this.state = 1590; + this.expression(); + this.state = 1595; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1598; + this.match(sqlParser.T__1); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1599; + this.expression(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PivotClauseContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotClause; + this.aggregates = null; // NamedExpressionSeqContext + this._pivotValue = null; // PivotValueContext + this.pivotValues = []; // of PivotValueContexts + return this; +} +PivotClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotClauseContext.prototype.constructor = PivotClauseContext; +PivotClauseContext.prototype.PIVOT = function () { + return this.getToken(sqlParser.PIVOT, 0); +}; +PivotClauseContext.prototype.FOR = function () { + return this.getToken(sqlParser.FOR, 0); +}; +PivotClauseContext.prototype.pivotColumn = function () { + return this.getTypedRuleContext(PivotColumnContext, 0); +}; +PivotClauseContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +PivotClauseContext.prototype.namedExpressionSeq = function () { + return this.getTypedRuleContext(NamedExpressionSeqContext, 0); +}; +PivotClauseContext.prototype.pivotValue = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(PivotValueContext); + } + else { + return this.getTypedRuleContext(PivotValueContext, i); + } +}; +PivotClauseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPivotClause(this); + } +}; +PivotClauseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPivotClause(this); + } +}; +PivotClauseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPivotClause(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PivotClauseContext = PivotClauseContext; +sqlParser.prototype.pivotClause = function () { + var localctx = new PivotClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 88, sqlParser.RULE_pivotClause); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1602; + this.match(sqlParser.PIVOT); + this.state = 1603; + this.match(sqlParser.T__0); + this.state = 1604; + localctx.aggregates = this.namedExpressionSeq(); + this.state = 1605; + this.match(sqlParser.FOR); + this.state = 1606; + this.pivotColumn(); + this.state = 1607; + this.match(sqlParser.IN); + this.state = 1608; + this.match(sqlParser.T__0); + this.state = 1609; + localctx._pivotValue = this.pivotValue(); + localctx.pivotValues.push(localctx._pivotValue); + this.state = 1614; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1610; + this.match(sqlParser.T__3); + this.state = 1611; + localctx._pivotValue = this.pivotValue(); + localctx.pivotValues.push(localctx._pivotValue); + this.state = 1616; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1617; + this.match(sqlParser.T__1); + this.state = 1618; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PivotColumnContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotColumn; + this._identifier = null; // IdentifierContext + this.identifiers = []; // of IdentifierContexts + return this; +} +PivotColumnContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotColumnContext.prototype.constructor = PivotColumnContext; +PivotColumnContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +PivotColumnContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPivotColumn(this); + } +}; +PivotColumnContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPivotColumn(this); + } +}; +PivotColumnContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPivotColumn(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PivotColumnContext = PivotColumnContext; +sqlParser.prototype.pivotColumn = function () { + var localctx = new PivotColumnContext(this, this._ctx, this.state); + this.enterRule(localctx, 90, sqlParser.RULE_pivotColumn); + var _la = 0; // Token type + try { + this.state = 1632; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 1620; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + break; + case sqlParser.T__0: + this.enterOuterAlt(localctx, 2); + this.state = 1621; + this.match(sqlParser.T__0); + this.state = 1622; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + this.state = 1627; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1623; + this.match(sqlParser.T__3); + this.state = 1624; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + this.state = 1629; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1630; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PivotValueContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotValue; + return this; +} +PivotValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotValueContext.prototype.constructor = PivotValueContext; +PivotValueContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +PivotValueContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +PivotValueContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +PivotValueContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPivotValue(this); + } +}; +PivotValueContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPivotValue(this); + } +}; +PivotValueContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPivotValue(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PivotValueContext = PivotValueContext; +sqlParser.prototype.pivotValue = function () { + var localctx = new PivotValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 92, sqlParser.RULE_pivotValue); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1634; + this.expression(); + this.state = 1639; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1636; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 208, this._ctx); + if (la_ === 1) { + this.state = 1635; + this.match(sqlParser.AS); + } + this.state = 1638; + this.identifier(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function LateralViewContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_lateralView; + this.tblName = null; // IdentifierContext + this._identifier = null; // IdentifierContext + this.colName = []; // of IdentifierContexts + return this; +} +LateralViewContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +LateralViewContext.prototype.constructor = LateralViewContext; +LateralViewContext.prototype.LATERAL = function () { + return this.getToken(sqlParser.LATERAL, 0); +}; +LateralViewContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +LateralViewContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +LateralViewContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +LateralViewContext.prototype.OUTER = function () { + return this.getToken(sqlParser.OUTER, 0); +}; +LateralViewContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +LateralViewContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +LateralViewContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLateralView(this); + } +}; +LateralViewContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLateralView(this); + } +}; +LateralViewContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLateralView(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.LateralViewContext = LateralViewContext; +sqlParser.prototype.lateralView = function () { + var localctx = new LateralViewContext(this, this._ctx, this.state); + this.enterRule(localctx, 94, sqlParser.RULE_lateralView); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1641; + this.match(sqlParser.LATERAL); + this.state = 1642; + this.match(sqlParser.VIEW); + this.state = 1644; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 210, this._ctx); + if (la_ === 1) { + this.state = 1643; + this.match(sqlParser.OUTER); + } + this.state = 1646; + this.qualifiedName(); + this.state = 1647; + this.match(sqlParser.T__0); + this.state = 1656; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1648; + this.expression(); + this.state = 1653; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1649; + this.match(sqlParser.T__3); + this.state = 1650; + this.expression(); + this.state = 1655; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1658; + this.match(sqlParser.T__1); + this.state = 1659; + localctx.tblName = this.identifier(); + this.state = 1671; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 215, this._ctx); + if (la_ === 1) { + this.state = 1661; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 213, this._ctx); + if (la_ === 1) { + this.state = 1660; + this.match(sqlParser.AS); + } + this.state = 1663; + localctx._identifier = this.identifier(); + localctx.colName.push(localctx._identifier); + this.state = 1668; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 214, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1664; + this.match(sqlParser.T__3); + this.state = 1665; + localctx._identifier = this.identifier(); + localctx.colName.push(localctx._identifier); + } + this.state = 1670; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 214, this._ctx); + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SetQuantifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_setQuantifier; + return this; +} +SetQuantifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SetQuantifierContext.prototype.constructor = SetQuantifierContext; +SetQuantifierContext.prototype.DISTINCT = function () { + return this.getToken(sqlParser.DISTINCT, 0); +}; +SetQuantifierContext.prototype.ALL = function () { + return this.getToken(sqlParser.ALL, 0); +}; +SetQuantifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSetQuantifier(this); + } +}; +SetQuantifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSetQuantifier(this); + } +}; +SetQuantifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSetQuantifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SetQuantifierContext = SetQuantifierContext; +sqlParser.prototype.setQuantifier = function () { + var localctx = new SetQuantifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 96, sqlParser.RULE_setQuantifier); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1673; + _la = this._input.LA(1); + if (!(_la === sqlParser.ALL || _la === sqlParser.DISTINCT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function RelationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_relation; + return this; +} +RelationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RelationContext.prototype.constructor = RelationContext; +RelationContext.prototype.relationPrimary = function () { + return this.getTypedRuleContext(RelationPrimaryContext, 0); +}; +RelationContext.prototype.joinRelation = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(JoinRelationContext); + } + else { + return this.getTypedRuleContext(JoinRelationContext, i); + } +}; +RelationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRelation(this); + } +}; +RelationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRelation(this); + } +}; +RelationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRelation(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.RelationContext = RelationContext; +sqlParser.prototype.relation = function () { + var localctx = new RelationContext(this, this._ctx, this.state); + this.enterRule(localctx, 98, sqlParser.RULE_relation); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1675; + this.relationPrimary(); + this.state = 1679; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 216, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1676; + this.joinRelation(); + } + this.state = 1681; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 216, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function JoinRelationContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinRelation; + this.right = null; // RelationPrimaryContext + return this; +} +JoinRelationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinRelationContext.prototype.constructor = JoinRelationContext; +JoinRelationContext.prototype.JOIN = function () { + return this.getToken(sqlParser.JOIN, 0); +}; +JoinRelationContext.prototype.relationPrimary = function () { + return this.getTypedRuleContext(RelationPrimaryContext, 0); +}; +JoinRelationContext.prototype.joinType = function () { + return this.getTypedRuleContext(JoinTypeContext, 0); +}; +JoinRelationContext.prototype.joinCriteria = function () { + return this.getTypedRuleContext(JoinCriteriaContext, 0); +}; +JoinRelationContext.prototype.NATURAL = function () { + return this.getToken(sqlParser.NATURAL, 0); +}; +JoinRelationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterJoinRelation(this); + } +}; +JoinRelationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitJoinRelation(this); + } +}; +JoinRelationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitJoinRelation(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.JoinRelationContext = JoinRelationContext; +sqlParser.prototype.joinRelation = function () { + var localctx = new JoinRelationContext(this, this._ctx, this.state); + this.enterRule(localctx, 100, sqlParser.RULE_joinRelation); + try { + this.state = 1693; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.ANTI: + this.enterOuterAlt(localctx, 1); + this.state = 1682; + this.joinType(); + this.state = 1683; + this.match(sqlParser.JOIN); + this.state = 1684; + localctx.right = this.relationPrimary(); + this.state = 1686; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 217, this._ctx); + if (la_ === 1) { + this.state = 1685; + this.joinCriteria(); + } + break; + case sqlParser.NATURAL: + this.enterOuterAlt(localctx, 2); + this.state = 1688; + this.match(sqlParser.NATURAL); + this.state = 1689; + this.joinType(); + this.state = 1690; + this.match(sqlParser.JOIN); + this.state = 1691; + localctx.right = this.relationPrimary(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function JoinTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinType; + return this; +} +JoinTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinTypeContext.prototype.constructor = JoinTypeContext; +JoinTypeContext.prototype.INNER = function () { + return this.getToken(sqlParser.INNER, 0); +}; +JoinTypeContext.prototype.CROSS = function () { + return this.getToken(sqlParser.CROSS, 0); +}; +JoinTypeContext.prototype.LEFT = function () { + return this.getToken(sqlParser.LEFT, 0); +}; +JoinTypeContext.prototype.OUTER = function () { + return this.getToken(sqlParser.OUTER, 0); +}; +JoinTypeContext.prototype.SEMI = function () { + return this.getToken(sqlParser.SEMI, 0); +}; +JoinTypeContext.prototype.RIGHT = function () { + return this.getToken(sqlParser.RIGHT, 0); +}; +JoinTypeContext.prototype.FULL = function () { + return this.getToken(sqlParser.FULL, 0); +}; +JoinTypeContext.prototype.ANTI = function () { + return this.getToken(sqlParser.ANTI, 0); +}; +JoinTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterJoinType(this); + } +}; +JoinTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitJoinType(this); + } +}; +JoinTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitJoinType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.JoinTypeContext = JoinTypeContext; +sqlParser.prototype.joinType = function () { + var localctx = new JoinTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 102, sqlParser.RULE_joinType); + var _la = 0; // Token type + try { + this.state = 1717; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 224, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1696; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.INNER) { + this.state = 1695; + this.match(sqlParser.INNER); + } + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1698; + this.match(sqlParser.CROSS); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1699; + this.match(sqlParser.LEFT); + this.state = 1701; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OUTER) { + this.state = 1700; + this.match(sqlParser.OUTER); + } + break; + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 1703; + this.match(sqlParser.LEFT); + this.state = 1704; + this.match(sqlParser.SEMI); + break; + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 1705; + this.match(sqlParser.RIGHT); + this.state = 1707; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OUTER) { + this.state = 1706; + this.match(sqlParser.OUTER); + } + break; + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 1709; + this.match(sqlParser.FULL); + this.state = 1711; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.OUTER) { + this.state = 1710; + this.match(sqlParser.OUTER); + } + break; + case 7: + this.enterOuterAlt(localctx, 7); + this.state = 1714; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.LEFT) { + this.state = 1713; + this.match(sqlParser.LEFT); + } + this.state = 1716; + this.match(sqlParser.ANTI); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function JoinCriteriaContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinCriteria; + return this; +} +JoinCriteriaContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinCriteriaContext.prototype.constructor = JoinCriteriaContext; +JoinCriteriaContext.prototype.ON = function () { + return this.getToken(sqlParser.ON, 0); +}; +JoinCriteriaContext.prototype.booleanExpression = function () { + return this.getTypedRuleContext(BooleanExpressionContext, 0); +}; +JoinCriteriaContext.prototype.USING = function () { + return this.getToken(sqlParser.USING, 0); +}; +JoinCriteriaContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +JoinCriteriaContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterJoinCriteria(this); + } +}; +JoinCriteriaContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitJoinCriteria(this); + } +}; +JoinCriteriaContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitJoinCriteria(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.JoinCriteriaContext = JoinCriteriaContext; +sqlParser.prototype.joinCriteria = function () { + var localctx = new JoinCriteriaContext(this, this._ctx, this.state); + this.enterRule(localctx, 104, sqlParser.RULE_joinCriteria); + try { + this.state = 1723; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.ON: + this.enterOuterAlt(localctx, 1); + this.state = 1719; + this.match(sqlParser.ON); + this.state = 1720; + this.booleanExpression(0); + break; + case sqlParser.USING: + this.enterOuterAlt(localctx, 2); + this.state = 1721; + this.match(sqlParser.USING); + this.state = 1722; + this.identifierList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SampleContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sample; + return this; +} +SampleContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SampleContext.prototype.constructor = SampleContext; +SampleContext.prototype.TABLESAMPLE = function () { + return this.getToken(sqlParser.TABLESAMPLE, 0); +}; +SampleContext.prototype.sampleMethod = function () { + return this.getTypedRuleContext(SampleMethodContext, 0); +}; +SampleContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSample(this); + } +}; +SampleContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSample(this); + } +}; +SampleContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSample(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SampleContext = SampleContext; +sqlParser.prototype.sample = function () { + var localctx = new SampleContext(this, this._ctx, this.state); + this.enterRule(localctx, 106, sqlParser.RULE_sample); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1725; + this.match(sqlParser.TABLESAMPLE); + this.state = 1726; + this.match(sqlParser.T__0); + this.state = 1728; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1727; + this.sampleMethod(); + } + this.state = 1730; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function SampleMethodContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sampleMethod; + return this; +} +SampleMethodContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SampleMethodContext.prototype.constructor = SampleMethodContext; +SampleMethodContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function SampleByRowsContext(parser, ctx) { + SampleMethodContext.call(this, parser); + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} +SampleByRowsContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByRowsContext.prototype.constructor = SampleByRowsContext; +sqlParser.SampleByRowsContext = SampleByRowsContext; +SampleByRowsContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +SampleByRowsContext.prototype.ROWS = function () { + return this.getToken(sqlParser.ROWS, 0); +}; +SampleByRowsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSampleByRows(this); + } +}; +SampleByRowsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSampleByRows(this); + } +}; +SampleByRowsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSampleByRows(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SampleByPercentileContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.negativeSign = null; // Token; + this.percentage = null; // Token; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} +SampleByPercentileContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByPercentileContext.prototype.constructor = SampleByPercentileContext; +sqlParser.SampleByPercentileContext = SampleByPercentileContext; +SampleByPercentileContext.prototype.PERCENTLIT = function () { + return this.getToken(sqlParser.PERCENTLIT, 0); +}; +SampleByPercentileContext.prototype.INTEGER_VALUE = function () { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; +SampleByPercentileContext.prototype.DECIMAL_VALUE = function () { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; +SampleByPercentileContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +SampleByPercentileContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSampleByPercentile(this); + } +}; +SampleByPercentileContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSampleByPercentile(this); + } +}; +SampleByPercentileContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSampleByPercentile(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SampleByBucketContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.sampleType = null; // Token; + this.numerator = null; // Token; + this.denominator = null; // Token; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} +SampleByBucketContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByBucketContext.prototype.constructor = SampleByBucketContext; +sqlParser.SampleByBucketContext = SampleByBucketContext; +SampleByBucketContext.prototype.OUT = function () { + return this.getToken(sqlParser.OUT, 0); +}; +SampleByBucketContext.prototype.OF = function () { + return this.getToken(sqlParser.OF, 0); +}; +SampleByBucketContext.prototype.BUCKET = function () { + return this.getToken(sqlParser.BUCKET, 0); +}; +SampleByBucketContext.prototype.INTEGER_VALUE = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.INTEGER_VALUE); + } + else { + return this.getToken(sqlParser.INTEGER_VALUE, i); + } +}; +SampleByBucketContext.prototype.ON = function () { + return this.getToken(sqlParser.ON, 0); +}; +SampleByBucketContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +SampleByBucketContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +SampleByBucketContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSampleByBucket(this); + } +}; +SampleByBucketContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSampleByBucket(this); + } +}; +SampleByBucketContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSampleByBucket(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SampleByBytesContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.bytes = null; // ExpressionContext; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} +SampleByBytesContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByBytesContext.prototype.constructor = SampleByBytesContext; +sqlParser.SampleByBytesContext = SampleByBytesContext; +SampleByBytesContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +SampleByBytesContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSampleByBytes(this); + } +}; +SampleByBytesContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSampleByBytes(this); + } +}; +SampleByBytesContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSampleByBytes(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.SampleMethodContext = SampleMethodContext; +sqlParser.prototype.sampleMethod = function () { + var localctx = new SampleMethodContext(this, this._ctx, this.state); + this.enterRule(localctx, 108, sqlParser.RULE_sampleMethod); + var _la = 0; // Token type + try { + this.state = 1756; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 230, this._ctx); + switch (la_) { + case 1: + localctx = new SampleByPercentileContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1733; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 1732; + localctx.negativeSign = this.match(sqlParser.MINUS); + } + this.state = 1735; + localctx.percentage = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.INTEGER_VALUE || _la === sqlParser.DECIMAL_VALUE)) { + localctx.percentage = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1736; + this.match(sqlParser.PERCENTLIT); + break; + case 2: + localctx = new SampleByRowsContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1737; + this.expression(); + this.state = 1738; + this.match(sqlParser.ROWS); + break; + case 3: + localctx = new SampleByBucketContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1740; + localctx.sampleType = this.match(sqlParser.BUCKET); + this.state = 1741; + localctx.numerator = this.match(sqlParser.INTEGER_VALUE); + this.state = 1742; + this.match(sqlParser.OUT); + this.state = 1743; + this.match(sqlParser.OF); + this.state = 1744; + localctx.denominator = this.match(sqlParser.INTEGER_VALUE); + this.state = 1753; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ON) { + this.state = 1745; + this.match(sqlParser.ON); + this.state = 1751; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 228, this._ctx); + switch (la_) { + case 1: + this.state = 1746; + this.identifier(); + break; + case 2: + this.state = 1747; + this.qualifiedName(); + this.state = 1748; + this.match(sqlParser.T__0); + this.state = 1749; + this.match(sqlParser.T__1); + break; + } + } + break; + case 4: + localctx = new SampleByBytesContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1755; + localctx.bytes = this.expression(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IdentifierListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierList; + return this; +} +IdentifierListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierListContext.prototype.constructor = IdentifierListContext; +IdentifierListContext.prototype.identifierSeq = function () { + return this.getTypedRuleContext(IdentifierSeqContext, 0); +}; +IdentifierListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIdentifierList(this); + } +}; +IdentifierListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIdentifierList(this); + } +}; +IdentifierListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIdentifierList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IdentifierListContext = IdentifierListContext; +sqlParser.prototype.identifierList = function () { + var localctx = new IdentifierListContext(this, this._ctx, this.state); + this.enterRule(localctx, 110, sqlParser.RULE_identifierList); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1758; + this.match(sqlParser.T__0); + this.state = 1759; + this.identifierSeq(); + this.state = 1760; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IdentifierSeqContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierSeq; + return this; +} +IdentifierSeqContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierSeqContext.prototype.constructor = IdentifierSeqContext; +IdentifierSeqContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +IdentifierSeqContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIdentifierSeq(this); + } +}; +IdentifierSeqContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIdentifierSeq(this); + } +}; +IdentifierSeqContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIdentifierSeq(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IdentifierSeqContext = IdentifierSeqContext; +sqlParser.prototype.identifierSeq = function () { + var localctx = new IdentifierSeqContext(this, this._ctx, this.state); + this.enterRule(localctx, 112, sqlParser.RULE_identifierSeq); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1762; + this.identifier(); + this.state = 1767; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 231, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1763; + this.match(sqlParser.T__3); + this.state = 1764; + this.identifier(); + } + this.state = 1769; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 231, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function OrderedIdentifierListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_orderedIdentifierList; + return this; +} +OrderedIdentifierListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +OrderedIdentifierListContext.prototype.constructor = OrderedIdentifierListContext; +OrderedIdentifierListContext.prototype.orderedIdentifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(OrderedIdentifierContext); + } + else { + return this.getTypedRuleContext(OrderedIdentifierContext, i); + } +}; +OrderedIdentifierListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterOrderedIdentifierList(this); + } +}; +OrderedIdentifierListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitOrderedIdentifierList(this); + } +}; +OrderedIdentifierListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitOrderedIdentifierList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.OrderedIdentifierListContext = OrderedIdentifierListContext; +sqlParser.prototype.orderedIdentifierList = function () { + var localctx = new OrderedIdentifierListContext(this, this._ctx, this.state); + this.enterRule(localctx, 114, sqlParser.RULE_orderedIdentifierList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1770; + this.match(sqlParser.T__0); + this.state = 1771; + this.orderedIdentifier(); + this.state = 1776; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1772; + this.match(sqlParser.T__3); + this.state = 1773; + this.orderedIdentifier(); + this.state = 1778; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1779; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function OrderedIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_orderedIdentifier; + this.ordering = null; // Token + return this; +} +OrderedIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +OrderedIdentifierContext.prototype.constructor = OrderedIdentifierContext; +OrderedIdentifierContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +OrderedIdentifierContext.prototype.ASC = function () { + return this.getToken(sqlParser.ASC, 0); +}; +OrderedIdentifierContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +OrderedIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterOrderedIdentifier(this); + } +}; +OrderedIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitOrderedIdentifier(this); + } +}; +OrderedIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitOrderedIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.OrderedIdentifierContext = OrderedIdentifierContext; +sqlParser.prototype.orderedIdentifier = function () { + var localctx = new OrderedIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 116, sqlParser.RULE_orderedIdentifier); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1781; + this.identifier(); + this.state = 1783; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ASC || _la === sqlParser.DESC) { + this.state = 1782; + localctx.ordering = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.ASC || _la === sqlParser.DESC)) { + localctx.ordering = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IdentifierCommentListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierCommentList; + return this; +} +IdentifierCommentListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierCommentListContext.prototype.constructor = IdentifierCommentListContext; +IdentifierCommentListContext.prototype.identifierComment = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierCommentContext); + } + else { + return this.getTypedRuleContext(IdentifierCommentContext, i); + } +}; +IdentifierCommentListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIdentifierCommentList(this); + } +}; +IdentifierCommentListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIdentifierCommentList(this); + } +}; +IdentifierCommentListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIdentifierCommentList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IdentifierCommentListContext = IdentifierCommentListContext; +sqlParser.prototype.identifierCommentList = function () { + var localctx = new IdentifierCommentListContext(this, this._ctx, this.state); + this.enterRule(localctx, 118, sqlParser.RULE_identifierCommentList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1785; + this.match(sqlParser.T__0); + this.state = 1786; + this.identifierComment(); + this.state = 1791; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1787; + this.match(sqlParser.T__3); + this.state = 1788; + this.identifierComment(); + this.state = 1793; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1794; + this.match(sqlParser.T__1); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IdentifierCommentContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierComment; + return this; +} +IdentifierCommentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierCommentContext.prototype.constructor = IdentifierCommentContext; +IdentifierCommentContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +IdentifierCommentContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +IdentifierCommentContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +IdentifierCommentContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIdentifierComment(this); + } +}; +IdentifierCommentContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIdentifierComment(this); + } +}; +IdentifierCommentContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIdentifierComment(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IdentifierCommentContext = IdentifierCommentContext; +sqlParser.prototype.identifierComment = function () { + var localctx = new IdentifierCommentContext(this, this._ctx, this.state); + this.enterRule(localctx, 120, sqlParser.RULE_identifierComment); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1796; + this.identifier(); + this.state = 1799; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 1797; + this.match(sqlParser.COMMENT); + this.state = 1798; + this.match(sqlParser.STRING); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function RelationPrimaryContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_relationPrimary; + return this; +} +RelationPrimaryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RelationPrimaryContext.prototype.constructor = RelationPrimaryContext; +RelationPrimaryContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function TableValuedFunctionContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +TableValuedFunctionContext.prototype = Object.create(RelationPrimaryContext.prototype); +TableValuedFunctionContext.prototype.constructor = TableValuedFunctionContext; +sqlParser.TableValuedFunctionContext = TableValuedFunctionContext; +TableValuedFunctionContext.prototype.functionTable = function () { + return this.getTypedRuleContext(FunctionTableContext, 0); +}; +TableValuedFunctionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableValuedFunction(this); + } +}; +TableValuedFunctionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableValuedFunction(this); + } +}; +TableValuedFunctionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableValuedFunction(this); + } + else { + return visitor.visitChildren(this); + } +}; +function InlineTableDefault2Context(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +InlineTableDefault2Context.prototype = Object.create(RelationPrimaryContext.prototype); +InlineTableDefault2Context.prototype.constructor = InlineTableDefault2Context; +sqlParser.InlineTableDefault2Context = InlineTableDefault2Context; +InlineTableDefault2Context.prototype.inlineTable = function () { + return this.getTypedRuleContext(InlineTableContext, 0); +}; +InlineTableDefault2Context.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInlineTableDefault2(this); + } +}; +InlineTableDefault2Context.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInlineTableDefault2(this); + } +}; +InlineTableDefault2Context.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInlineTableDefault2(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AliasedRelationContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +AliasedRelationContext.prototype = Object.create(RelationPrimaryContext.prototype); +AliasedRelationContext.prototype.constructor = AliasedRelationContext; +sqlParser.AliasedRelationContext = AliasedRelationContext; +AliasedRelationContext.prototype.relation = function () { + return this.getTypedRuleContext(RelationContext, 0); +}; +AliasedRelationContext.prototype.tableAlias = function () { + return this.getTypedRuleContext(TableAliasContext, 0); +}; +AliasedRelationContext.prototype.sample = function () { + return this.getTypedRuleContext(SampleContext, 0); +}; +AliasedRelationContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAliasedRelation(this); + } +}; +AliasedRelationContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAliasedRelation(this); + } +}; +AliasedRelationContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAliasedRelation(this); + } + else { + return visitor.visitChildren(this); + } +}; +function AliasedQueryContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +AliasedQueryContext.prototype = Object.create(RelationPrimaryContext.prototype); +AliasedQueryContext.prototype.constructor = AliasedQueryContext; +sqlParser.AliasedQueryContext = AliasedQueryContext; +AliasedQueryContext.prototype.queryNoWith = function () { + return this.getTypedRuleContext(QueryNoWithContext, 0); +}; +AliasedQueryContext.prototype.tableAlias = function () { + return this.getTypedRuleContext(TableAliasContext, 0); +}; +AliasedQueryContext.prototype.sample = function () { + return this.getTypedRuleContext(SampleContext, 0); +}; +AliasedQueryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterAliasedQuery(this); + } +}; +AliasedQueryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitAliasedQuery(this); + } +}; +AliasedQueryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitAliasedQuery(this); + } + else { + return visitor.visitChildren(this); + } +}; +function TableNameContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} +TableNameContext.prototype = Object.create(RelationPrimaryContext.prototype); +TableNameContext.prototype.constructor = TableNameContext; +sqlParser.TableNameContext = TableNameContext; +TableNameContext.prototype.tableIdentifier = function () { + return this.getTypedRuleContext(TableIdentifierContext, 0); +}; +TableNameContext.prototype.tableAlias = function () { + return this.getTypedRuleContext(TableAliasContext, 0); +}; +TableNameContext.prototype.sample = function () { + return this.getTypedRuleContext(SampleContext, 0); +}; +TableNameContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableName(this); + } +}; +TableNameContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableName(this); + } +}; +TableNameContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableName(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.RelationPrimaryContext = RelationPrimaryContext; +sqlParser.prototype.relationPrimary = function () { + var localctx = new RelationPrimaryContext(this, this._ctx, this.state); + this.enterRule(localctx, 122, sqlParser.RULE_relationPrimary); + try { + this.state = 1825; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 239, this._ctx); + switch (la_) { + case 1: + localctx = new TableNameContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1801; + this.tableIdentifier(); + this.state = 1803; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 236, this._ctx); + if (la_ === 1) { + this.state = 1802; + this.sample(); + } + this.state = 1805; + this.tableAlias(); + break; + case 2: + localctx = new AliasedQueryContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1807; + this.match(sqlParser.T__0); + this.state = 1808; + this.queryNoWith(); + this.state = 1809; + this.match(sqlParser.T__1); + this.state = 1811; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 237, this._ctx); + if (la_ === 1) { + this.state = 1810; + this.sample(); + } + this.state = 1813; + this.tableAlias(); + break; + case 3: + localctx = new AliasedRelationContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1815; + this.match(sqlParser.T__0); + this.state = 1816; + this.relation(); + this.state = 1817; + this.match(sqlParser.T__1); + this.state = 1819; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 238, this._ctx); + if (la_ === 1) { + this.state = 1818; + this.sample(); + } + this.state = 1821; + this.tableAlias(); + break; + case 4: + localctx = new InlineTableDefault2Context(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1823; + this.inlineTable(); + break; + case 5: + localctx = new TableValuedFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 1824; + this.functionTable(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function InlineTableContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_inlineTable; + return this; +} +InlineTableContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +InlineTableContext.prototype.constructor = InlineTableContext; +InlineTableContext.prototype.VALUES = function () { + return this.getToken(sqlParser.VALUES, 0); +}; +InlineTableContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +InlineTableContext.prototype.tableAlias = function () { + return this.getTypedRuleContext(TableAliasContext, 0); +}; +InlineTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInlineTable(this); + } +}; +InlineTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInlineTable(this); + } +}; +InlineTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInlineTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.InlineTableContext = InlineTableContext; +sqlParser.prototype.inlineTable = function () { + var localctx = new InlineTableContext(this, this._ctx, this.state); + this.enterRule(localctx, 124, sqlParser.RULE_inlineTable); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1827; + this.match(sqlParser.VALUES); + this.state = 1828; + this.expression(); + this.state = 1833; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 240, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1829; + this.match(sqlParser.T__3); + this.state = 1830; + this.expression(); + } + this.state = 1835; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 240, this._ctx); + } + this.state = 1836; + this.tableAlias(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function FunctionTableContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_functionTable; + return this; +} +FunctionTableContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FunctionTableContext.prototype.constructor = FunctionTableContext; +FunctionTableContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +FunctionTableContext.prototype.tableAlias = function () { + return this.getTypedRuleContext(TableAliasContext, 0); +}; +FunctionTableContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +FunctionTableContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFunctionTable(this); + } +}; +FunctionTableContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFunctionTable(this); + } +}; +FunctionTableContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFunctionTable(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.FunctionTableContext = FunctionTableContext; +sqlParser.prototype.functionTable = function () { + var localctx = new FunctionTableContext(this, this._ctx, this.state); + this.enterRule(localctx, 126, sqlParser.RULE_functionTable); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1838; + this.identifier(); + this.state = 1839; + this.match(sqlParser.T__0); + this.state = 1848; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1840; + this.expression(); + this.state = 1845; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1841; + this.match(sqlParser.T__3); + this.state = 1842; + this.expression(); + this.state = 1847; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 1850; + this.match(sqlParser.T__1); + this.state = 1851; + this.tableAlias(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TableAliasContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableAlias; + return this; +} +TableAliasContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableAliasContext.prototype.constructor = TableAliasContext; +TableAliasContext.prototype.strictIdentifier = function () { + return this.getTypedRuleContext(StrictIdentifierContext, 0); +}; +TableAliasContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +TableAliasContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +TableAliasContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableAlias(this); + } +}; +TableAliasContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableAlias(this); + } +}; +TableAliasContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableAlias(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TableAliasContext = TableAliasContext; +sqlParser.prototype.tableAlias = function () { + var localctx = new TableAliasContext(this, this._ctx, this.state); + this.enterRule(localctx, 128, sqlParser.RULE_tableAlias); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1860; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 245, this._ctx); + if (la_ === 1) { + this.state = 1854; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 243, this._ctx); + if (la_ === 1) { + this.state = 1853; + this.match(sqlParser.AS); + } + this.state = 1856; + this.strictIdentifier(); + this.state = 1858; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 244, this._ctx); + if (la_ === 1) { + this.state = 1857; + this.identifierList(); + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function RowFormatContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_rowFormat; + return this; +} +RowFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RowFormatContext.prototype.constructor = RowFormatContext; +RowFormatContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function RowFormatSerdeContext(parser, ctx) { + RowFormatContext.call(this, parser); + this.name = null; // Token; + this.props = null; // TablePropertyListContext; + RowFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} +RowFormatSerdeContext.prototype = Object.create(RowFormatContext.prototype); +RowFormatSerdeContext.prototype.constructor = RowFormatSerdeContext; +sqlParser.RowFormatSerdeContext = RowFormatSerdeContext; +RowFormatSerdeContext.prototype.ROW = function () { + return this.getToken(sqlParser.ROW, 0); +}; +RowFormatSerdeContext.prototype.FORMAT = function () { + return this.getToken(sqlParser.FORMAT, 0); +}; +RowFormatSerdeContext.prototype.SERDE = function () { + return this.getToken(sqlParser.SERDE, 0); +}; +RowFormatSerdeContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +RowFormatSerdeContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +RowFormatSerdeContext.prototype.SERDEPROPERTIES = function () { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; +RowFormatSerdeContext.prototype.tablePropertyList = function () { + return this.getTypedRuleContext(TablePropertyListContext, 0); +}; +RowFormatSerdeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRowFormatSerde(this); + } +}; +RowFormatSerdeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRowFormatSerde(this); + } +}; +RowFormatSerdeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRowFormatSerde(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RowFormatDelimitedContext(parser, ctx) { + RowFormatContext.call(this, parser); + this.fieldsTerminatedBy = null; // Token; + this.escapedBy = null; // Token; + this.collectionItemsTerminatedBy = null; // Token; + this.keysTerminatedBy = null; // Token; + this.linesSeparatedBy = null; // Token; + this.nullDefinedAs = null; // Token; + RowFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} +RowFormatDelimitedContext.prototype = Object.create(RowFormatContext.prototype); +RowFormatDelimitedContext.prototype.constructor = RowFormatDelimitedContext; +sqlParser.RowFormatDelimitedContext = RowFormatDelimitedContext; +RowFormatDelimitedContext.prototype.ROW = function () { + return this.getToken(sqlParser.ROW, 0); +}; +RowFormatDelimitedContext.prototype.FORMAT = function () { + return this.getToken(sqlParser.FORMAT, 0); +}; +RowFormatDelimitedContext.prototype.DELIMITED = function () { + return this.getToken(sqlParser.DELIMITED, 0); +}; +RowFormatDelimitedContext.prototype.FIELDS = function () { + return this.getToken(sqlParser.FIELDS, 0); +}; +RowFormatDelimitedContext.prototype.TERMINATED = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.TERMINATED); + } + else { + return this.getToken(sqlParser.TERMINATED, i); + } +}; +RowFormatDelimitedContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +RowFormatDelimitedContext.prototype.COLLECTION = function () { + return this.getToken(sqlParser.COLLECTION, 0); +}; +RowFormatDelimitedContext.prototype.ITEMS = function () { + return this.getToken(sqlParser.ITEMS, 0); +}; +RowFormatDelimitedContext.prototype.MAP = function () { + return this.getToken(sqlParser.MAP, 0); +}; +RowFormatDelimitedContext.prototype.KEYS = function () { + return this.getToken(sqlParser.KEYS, 0); +}; +RowFormatDelimitedContext.prototype.LINES = function () { + return this.getToken(sqlParser.LINES, 0); +}; +RowFormatDelimitedContext.prototype.NULL = function () { + return this.getToken(sqlParser.NULL, 0); +}; +RowFormatDelimitedContext.prototype.DEFINED = function () { + return this.getToken(sqlParser.DEFINED, 0); +}; +RowFormatDelimitedContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +RowFormatDelimitedContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +RowFormatDelimitedContext.prototype.ESCAPED = function () { + return this.getToken(sqlParser.ESCAPED, 0); +}; +RowFormatDelimitedContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRowFormatDelimited(this); + } +}; +RowFormatDelimitedContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRowFormatDelimited(this); + } +}; +RowFormatDelimitedContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRowFormatDelimited(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.RowFormatContext = RowFormatContext; +sqlParser.prototype.rowFormat = function () { + var localctx = new RowFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 130, sqlParser.RULE_rowFormat); + try { + this.state = 1911; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 253, this._ctx); + switch (la_) { + case 1: + localctx = new RowFormatSerdeContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1862; + this.match(sqlParser.ROW); + this.state = 1863; + this.match(sqlParser.FORMAT); + this.state = 1864; + this.match(sqlParser.SERDE); + this.state = 1865; + localctx.name = this.match(sqlParser.STRING); + this.state = 1869; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 246, this._ctx); + if (la_ === 1) { + this.state = 1866; + this.match(sqlParser.WITH); + this.state = 1867; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 1868; + localctx.props = this.tablePropertyList(); + } + break; + case 2: + localctx = new RowFormatDelimitedContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1871; + this.match(sqlParser.ROW); + this.state = 1872; + this.match(sqlParser.FORMAT); + this.state = 1873; + this.match(sqlParser.DELIMITED); + this.state = 1883; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 248, this._ctx); + if (la_ === 1) { + this.state = 1874; + this.match(sqlParser.FIELDS); + this.state = 1875; + this.match(sqlParser.TERMINATED); + this.state = 1876; + this.match(sqlParser.BY); + this.state = 1877; + localctx.fieldsTerminatedBy = this.match(sqlParser.STRING); + this.state = 1881; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 247, this._ctx); + if (la_ === 1) { + this.state = 1878; + this.match(sqlParser.ESCAPED); + this.state = 1879; + this.match(sqlParser.BY); + this.state = 1880; + localctx.escapedBy = this.match(sqlParser.STRING); + } + } + this.state = 1890; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 249, this._ctx); + if (la_ === 1) { + this.state = 1885; + this.match(sqlParser.COLLECTION); + this.state = 1886; + this.match(sqlParser.ITEMS); + this.state = 1887; + this.match(sqlParser.TERMINATED); + this.state = 1888; + this.match(sqlParser.BY); + this.state = 1889; + localctx.collectionItemsTerminatedBy = this.match(sqlParser.STRING); + } + this.state = 1897; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 250, this._ctx); + if (la_ === 1) { + this.state = 1892; + this.match(sqlParser.MAP); + this.state = 1893; + this.match(sqlParser.KEYS); + this.state = 1894; + this.match(sqlParser.TERMINATED); + this.state = 1895; + this.match(sqlParser.BY); + this.state = 1896; + localctx.keysTerminatedBy = this.match(sqlParser.STRING); + } + this.state = 1903; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 251, this._ctx); + if (la_ === 1) { + this.state = 1899; + this.match(sqlParser.LINES); + this.state = 1900; + this.match(sqlParser.TERMINATED); + this.state = 1901; + this.match(sqlParser.BY); + this.state = 1902; + localctx.linesSeparatedBy = this.match(sqlParser.STRING); + } + this.state = 1909; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 252, this._ctx); + if (la_ === 1) { + this.state = 1905; + this.match(sqlParser.NULL); + this.state = 1906; + this.match(sqlParser.DEFINED); + this.state = 1907; + this.match(sqlParser.AS); + this.state = 1908; + localctx.nullDefinedAs = this.match(sqlParser.STRING); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function TableIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableIdentifier; + this.db = null; // IdentifierContext + this.table = null; // IdentifierContext + return this; +} +TableIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableIdentifierContext.prototype.constructor = TableIdentifierContext; +TableIdentifierContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +TableIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTableIdentifier(this); + } +}; +TableIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTableIdentifier(this); + } +}; +TableIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTableIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.TableIdentifierContext = TableIdentifierContext; +sqlParser.prototype.tableIdentifier = function () { + var localctx = new TableIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 132, sqlParser.RULE_tableIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1916; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 254, this._ctx); + if (la_ === 1) { + this.state = 1913; + localctx.db = this.identifier(); + this.state = 1914; + this.match(sqlParser.T__2); + } + this.state = 1918; + localctx.table = this.identifier(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function FunctionIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_functionIdentifier; + this.db = null; // IdentifierContext + this.j_function = null; // IdentifierContext + return this; +} +FunctionIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FunctionIdentifierContext.prototype.constructor = FunctionIdentifierContext; +FunctionIdentifierContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +FunctionIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFunctionIdentifier(this); + } +}; +FunctionIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFunctionIdentifier(this); + } +}; +FunctionIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFunctionIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.FunctionIdentifierContext = FunctionIdentifierContext; +sqlParser.prototype.functionIdentifier = function () { + var localctx = new FunctionIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 134, sqlParser.RULE_functionIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1923; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 255, this._ctx); + if (la_ === 1) { + this.state = 1920; + localctx.db = this.identifier(); + this.state = 1921; + this.match(sqlParser.T__2); + } + this.state = 1925; + localctx.j_function = this.identifier(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NamedExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedExpression; + return this; +} +NamedExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedExpressionContext.prototype.constructor = NamedExpressionContext; +NamedExpressionContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +NamedExpressionContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +NamedExpressionContext.prototype.identifierList = function () { + return this.getTypedRuleContext(IdentifierListContext, 0); +}; +NamedExpressionContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +NamedExpressionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNamedExpression(this); + } +}; +NamedExpressionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNamedExpression(this); + } +}; +NamedExpressionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNamedExpression(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NamedExpressionContext = NamedExpressionContext; +sqlParser.prototype.namedExpression = function () { + var localctx = new NamedExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 136, sqlParser.RULE_namedExpression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1927; + this.expression(); + this.state = 1935; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 258, this._ctx); + if (la_ === 1) { + this.state = 1929; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 256, this._ctx); + if (la_ === 1) { + this.state = 1928; + this.match(sqlParser.AS); + } + this.state = 1933; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.state = 1931; + this.identifier(); + break; + case sqlParser.T__0: + this.state = 1932; + this.identifierList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NamedExpressionSeqContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedExpressionSeq; + return this; +} +NamedExpressionSeqContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedExpressionSeqContext.prototype.constructor = NamedExpressionSeqContext; +NamedExpressionSeqContext.prototype.namedExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } + else { + return this.getTypedRuleContext(NamedExpressionContext, i); + } +}; +NamedExpressionSeqContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNamedExpressionSeq(this); + } +}; +NamedExpressionSeqContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNamedExpressionSeq(this); + } +}; +NamedExpressionSeqContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNamedExpressionSeq(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NamedExpressionSeqContext = NamedExpressionSeqContext; +sqlParser.prototype.namedExpressionSeq = function () { + var localctx = new NamedExpressionSeqContext(this, this._ctx, this.state); + this.enterRule(localctx, 138, sqlParser.RULE_namedExpressionSeq); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1937; + this.namedExpression(); + this.state = 1942; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 259, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 1938; + this.match(sqlParser.T__3); + this.state = 1939; + this.namedExpression(); + } + this.state = 1944; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 259, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_expression; + return this; +} +ExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ExpressionContext.prototype.constructor = ExpressionContext; +ExpressionContext.prototype.booleanExpression = function () { + return this.getTypedRuleContext(BooleanExpressionContext, 0); +}; +ExpressionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterExpression(this); + } +}; +ExpressionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitExpression(this); + } +}; +ExpressionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitExpression(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ExpressionContext = ExpressionContext; +sqlParser.prototype.expression = function () { + var localctx = new ExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 140, sqlParser.RULE_expression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1945; + this.booleanExpression(0); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function BooleanExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_booleanExpression; + return this; +} +BooleanExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BooleanExpressionContext.prototype.constructor = BooleanExpressionContext; +BooleanExpressionContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function LogicalNotContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +LogicalNotContext.prototype = Object.create(BooleanExpressionContext.prototype); +LogicalNotContext.prototype.constructor = LogicalNotContext; +sqlParser.LogicalNotContext = LogicalNotContext; +LogicalNotContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +LogicalNotContext.prototype.booleanExpression = function () { + return this.getTypedRuleContext(BooleanExpressionContext, 0); +}; +LogicalNotContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLogicalNot(this); + } +}; +LogicalNotContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLogicalNot(this); + } +}; +LogicalNotContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLogicalNot(this); + } + else { + return visitor.visitChildren(this); + } +}; +function PredicatedContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +PredicatedContext.prototype = Object.create(BooleanExpressionContext.prototype); +PredicatedContext.prototype.constructor = PredicatedContext; +sqlParser.PredicatedContext = PredicatedContext; +PredicatedContext.prototype.valueExpression = function () { + return this.getTypedRuleContext(ValueExpressionContext, 0); +}; +PredicatedContext.prototype.predicate = function () { + return this.getTypedRuleContext(PredicateContext, 0); +}; +PredicatedContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPredicated(this); + } +}; +PredicatedContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPredicated(this); + } +}; +PredicatedContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPredicated(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ExistsContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ExistsContext.prototype = Object.create(BooleanExpressionContext.prototype); +ExistsContext.prototype.constructor = ExistsContext; +sqlParser.ExistsContext = ExistsContext; +ExistsContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +ExistsContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +ExistsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterExists(this); + } +}; +ExistsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitExists(this); + } +}; +ExistsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitExists(this); + } + else { + return visitor.visitChildren(this); + } +}; +function LogicalBinaryContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + this.left = null; // BooleanExpressionContext; + this.operator = null; // Token; + this.right = null; // BooleanExpressionContext; + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +LogicalBinaryContext.prototype = Object.create(BooleanExpressionContext.prototype); +LogicalBinaryContext.prototype.constructor = LogicalBinaryContext; +sqlParser.LogicalBinaryContext = LogicalBinaryContext; +LogicalBinaryContext.prototype.booleanExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(BooleanExpressionContext); + } + else { + return this.getTypedRuleContext(BooleanExpressionContext, i); + } +}; +LogicalBinaryContext.prototype.AND = function () { + return this.getToken(sqlParser.AND, 0); +}; +LogicalBinaryContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +LogicalBinaryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLogicalBinary(this); + } +}; +LogicalBinaryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLogicalBinary(this); + } +}; +LogicalBinaryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLogicalBinary(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.prototype.booleanExpression = function (_p) { + if (_p === undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new BooleanExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 142; + this.enterRecursionRule(localctx, 142, sqlParser.RULE_booleanExpression, _p); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1959; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 261, this._ctx); + switch (la_) { + case 1: + localctx = new LogicalNotContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1948; + this.match(sqlParser.NOT); + this.state = 1949; + this.booleanExpression(5); + break; + case 2: + localctx = new ExistsContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1950; + this.match(sqlParser.EXISTS); + this.state = 1951; + this.match(sqlParser.T__0); + this.state = 1952; + this.query(); + this.state = 1953; + this.match(sqlParser.T__1); + break; + case 3: + localctx = new PredicatedContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1955; + this.valueExpression(0); + this.state = 1957; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 260, this._ctx); + if (la_ === 1) { + this.state = 1956; + this.predicate(); + } + break; + } + this._ctx.stop = this._input.LT(-1); + this.state = 1969; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 263, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + if (this._parseListeners !== null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 1967; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 262, this._ctx); + switch (la_) { + case 1: + localctx = new LogicalBinaryContext(this, new BooleanExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_booleanExpression); + this.state = 1961; + if (!(this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 1962; + localctx.operator = this.match(sqlParser.AND); + this.state = 1963; + localctx.right = this.booleanExpression(3); + break; + case 2: + localctx = new LogicalBinaryContext(this, new BooleanExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_booleanExpression); + this.state = 1964; + if (!(this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 1965; + localctx.operator = this.match(sqlParser.OR); + this.state = 1966; + localctx.right = this.booleanExpression(2); + break; + } + } + this.state = 1971; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 263, this._ctx); + } + } + catch (error) { + if (error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } + else { + throw error; + } + } + finally { + this.unrollRecursionContexts(_parentctx); + } + return localctx; +}; +function PredicateContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_predicate; + this.kind = null; // Token + this.lower = null; // ValueExpressionContext + this.upper = null; // ValueExpressionContext + this.pattern = null; // ValueExpressionContext + this.right = null; // ValueExpressionContext + return this; +} +PredicateContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PredicateContext.prototype.constructor = PredicateContext; +PredicateContext.prototype.AND = function () { + return this.getToken(sqlParser.AND, 0); +}; +PredicateContext.prototype.BETWEEN = function () { + return this.getToken(sqlParser.BETWEEN, 0); +}; +PredicateContext.prototype.valueExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } + else { + return this.getTypedRuleContext(ValueExpressionContext, i); + } +}; +PredicateContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +PredicateContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +PredicateContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +PredicateContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +PredicateContext.prototype.RLIKE = function () { + return this.getToken(sqlParser.RLIKE, 0); +}; +PredicateContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +PredicateContext.prototype.IS = function () { + return this.getToken(sqlParser.IS, 0); +}; +PredicateContext.prototype.NULL = function () { + return this.getToken(sqlParser.NULL, 0); +}; +PredicateContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +PredicateContext.prototype.DISTINCT = function () { + return this.getToken(sqlParser.DISTINCT, 0); +}; +PredicateContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPredicate(this); + } +}; +PredicateContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPredicate(this); + } +}; +PredicateContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPredicate(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PredicateContext = PredicateContext; +sqlParser.prototype.predicate = function () { + var localctx = new PredicateContext(this, this._ctx, this.state); + this.enterRule(localctx, 144, sqlParser.RULE_predicate); + var _la = 0; // Token type + try { + this.state = 2020; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 271, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1973; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 1972; + this.match(sqlParser.NOT); + } + this.state = 1975; + localctx.kind = this.match(sqlParser.BETWEEN); + this.state = 1976; + localctx.lower = this.valueExpression(0); + this.state = 1977; + this.match(sqlParser.AND); + this.state = 1978; + localctx.upper = this.valueExpression(0); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1981; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 1980; + this.match(sqlParser.NOT); + } + this.state = 1983; + localctx.kind = this.match(sqlParser.IN); + this.state = 1984; + this.match(sqlParser.T__0); + this.state = 1985; + this.expression(); + this.state = 1990; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 1986; + this.match(sqlParser.T__3); + this.state = 1987; + this.expression(); + this.state = 1992; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1993; + this.match(sqlParser.T__1); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1996; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 1995; + this.match(sqlParser.NOT); + } + this.state = 1998; + localctx.kind = this.match(sqlParser.IN); + this.state = 1999; + this.match(sqlParser.T__0); + this.state = 2000; + this.query(); + this.state = 2001; + this.match(sqlParser.T__1); + break; + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 2004; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 2003; + this.match(sqlParser.NOT); + } + this.state = 2006; + localctx.kind = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.LIKE || _la === sqlParser.RLIKE)) { + localctx.kind = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2007; + localctx.pattern = this.valueExpression(0); + break; + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 2008; + this.match(sqlParser.IS); + this.state = 2010; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 2009; + this.match(sqlParser.NOT); + } + this.state = 2012; + localctx.kind = this.match(sqlParser.NULL); + break; + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 2013; + this.match(sqlParser.IS); + this.state = 2015; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.NOT) { + this.state = 2014; + this.match(sqlParser.NOT); + } + this.state = 2017; + localctx.kind = this.match(sqlParser.DISTINCT); + this.state = 2018; + this.match(sqlParser.FROM); + this.state = 2019; + localctx.right = this.valueExpression(0); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ValueExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_valueExpression; + return this; +} +ValueExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ValueExpressionContext.prototype.constructor = ValueExpressionContext; +ValueExpressionContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function ValueExpressionDefaultContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ValueExpressionDefaultContext.prototype = Object.create(ValueExpressionContext.prototype); +ValueExpressionDefaultContext.prototype.constructor = ValueExpressionDefaultContext; +sqlParser.ValueExpressionDefaultContext = ValueExpressionDefaultContext; +ValueExpressionDefaultContext.prototype.primaryExpression = function () { + return this.getTypedRuleContext(PrimaryExpressionContext, 0); +}; +ValueExpressionDefaultContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterValueExpressionDefault(this); + } +}; +ValueExpressionDefaultContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitValueExpressionDefault(this); + } +}; +ValueExpressionDefaultContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitValueExpressionDefault(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ComparisonContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.left = null; // ValueExpressionContext; + this.right = null; // ValueExpressionContext; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ComparisonContext.prototype = Object.create(ValueExpressionContext.prototype); +ComparisonContext.prototype.constructor = ComparisonContext; +sqlParser.ComparisonContext = ComparisonContext; +ComparisonContext.prototype.comparisonOperator = function () { + return this.getTypedRuleContext(ComparisonOperatorContext, 0); +}; +ComparisonContext.prototype.valueExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } + else { + return this.getTypedRuleContext(ValueExpressionContext, i); + } +}; +ComparisonContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterComparison(this); + } +}; +ComparisonContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitComparison(this); + } +}; +ComparisonContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitComparison(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ArithmeticBinaryContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.left = null; // ValueExpressionContext; + this.operator = null; // Token; + this.right = null; // ValueExpressionContext; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ArithmeticBinaryContext.prototype = Object.create(ValueExpressionContext.prototype); +ArithmeticBinaryContext.prototype.constructor = ArithmeticBinaryContext; +sqlParser.ArithmeticBinaryContext = ArithmeticBinaryContext; +ArithmeticBinaryContext.prototype.valueExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } + else { + return this.getTypedRuleContext(ValueExpressionContext, i); + } +}; +ArithmeticBinaryContext.prototype.ASTERISK = function () { + return this.getToken(sqlParser.ASTERISK, 0); +}; +ArithmeticBinaryContext.prototype.SLASH = function () { + return this.getToken(sqlParser.SLASH, 0); +}; +ArithmeticBinaryContext.prototype.PERCENT = function () { + return this.getToken(sqlParser.PERCENT, 0); +}; +ArithmeticBinaryContext.prototype.DIV = function () { + return this.getToken(sqlParser.DIV, 0); +}; +ArithmeticBinaryContext.prototype.PLUS = function () { + return this.getToken(sqlParser.PLUS, 0); +}; +ArithmeticBinaryContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +ArithmeticBinaryContext.prototype.CONCAT_PIPE = function () { + return this.getToken(sqlParser.CONCAT_PIPE, 0); +}; +ArithmeticBinaryContext.prototype.AMPERSAND = function () { + return this.getToken(sqlParser.AMPERSAND, 0); +}; +ArithmeticBinaryContext.prototype.HAT = function () { + return this.getToken(sqlParser.HAT, 0); +}; +ArithmeticBinaryContext.prototype.PIPE = function () { + return this.getToken(sqlParser.PIPE, 0); +}; +ArithmeticBinaryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterArithmeticBinary(this); + } +}; +ArithmeticBinaryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitArithmeticBinary(this); + } +}; +ArithmeticBinaryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitArithmeticBinary(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ArithmeticUnaryContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.operator = null; // Token; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ArithmeticUnaryContext.prototype = Object.create(ValueExpressionContext.prototype); +ArithmeticUnaryContext.prototype.constructor = ArithmeticUnaryContext; +sqlParser.ArithmeticUnaryContext = ArithmeticUnaryContext; +ArithmeticUnaryContext.prototype.valueExpression = function () { + return this.getTypedRuleContext(ValueExpressionContext, 0); +}; +ArithmeticUnaryContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +ArithmeticUnaryContext.prototype.PLUS = function () { + return this.getToken(sqlParser.PLUS, 0); +}; +ArithmeticUnaryContext.prototype.TILDE = function () { + return this.getToken(sqlParser.TILDE, 0); +}; +ArithmeticUnaryContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterArithmeticUnary(this); + } +}; +ArithmeticUnaryContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitArithmeticUnary(this); + } +}; +ArithmeticUnaryContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitArithmeticUnary(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.prototype.valueExpression = function (_p) { + if (_p === undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new ValueExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 146; + this.enterRecursionRule(localctx, 146, sqlParser.RULE_valueExpression, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2026; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 272, this._ctx); + switch (la_) { + case 1: + localctx = new ValueExpressionDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2023; + this.primaryExpression(0); + break; + case 2: + localctx = new ArithmeticUnaryContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2024; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.TILDE - 138)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2025; + this.valueExpression(7); + break; + } + this._ctx.stop = this._input.LT(-1); + this.state = 2049; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 274, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + if (this._parseListeners !== null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 2047; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 273, this._ctx); + switch (la_) { + case 1: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2028; + if (!(this.precpred(this._ctx, 6))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)"); + } + this.state = 2029; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 140)) & ~0x1f) == 0 && ((1 << (_la - 140)) & ((1 << (sqlParser.ASTERISK - 140)) | (1 << (sqlParser.SLASH - 140)) | (1 << (sqlParser.PERCENT - 140)) | (1 << (sqlParser.DIV - 140)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2030; + localctx.right = this.valueExpression(7); + break; + case 2: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2031; + if (!(this.precpred(this._ctx, 5))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)"); + } + this.state = 2032; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.CONCAT_PIPE - 138)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2033; + localctx.right = this.valueExpression(6); + break; + case 3: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2034; + if (!(this.precpred(this._ctx, 4))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 4)"); + } + this.state = 2035; + localctx.operator = this.match(sqlParser.AMPERSAND); + this.state = 2036; + localctx.right = this.valueExpression(5); + break; + case 4: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2037; + if (!(this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 2038; + localctx.operator = this.match(sqlParser.HAT); + this.state = 2039; + localctx.right = this.valueExpression(4); + break; + case 5: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2040; + if (!(this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 2041; + localctx.operator = this.match(sqlParser.PIPE); + this.state = 2042; + localctx.right = this.valueExpression(3); + break; + case 6: + localctx = new ComparisonContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2043; + if (!(this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 2044; + this.comparisonOperator(); + this.state = 2045; + localctx.right = this.valueExpression(2); + break; + } + } + this.state = 2051; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 274, this._ctx); + } + } + catch (error) { + if (error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } + else { + throw error; + } + } + finally { + this.unrollRecursionContexts(_parentctx); + } + return localctx; +}; +function PrimaryExpressionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_primaryExpression; + return this; +} +PrimaryExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PrimaryExpressionContext.prototype.constructor = PrimaryExpressionContext; +PrimaryExpressionContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function StructContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this._namedExpression = null; // NamedExpressionContext; + this.argument = []; // of NamedExpressionContexts; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +StructContext.prototype = Object.create(PrimaryExpressionContext.prototype); +StructContext.prototype.constructor = StructContext; +sqlParser.StructContext = StructContext; +StructContext.prototype.STRUCT = function () { + return this.getToken(sqlParser.STRUCT, 0); +}; +StructContext.prototype.namedExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } + else { + return this.getTypedRuleContext(NamedExpressionContext, i); + } +}; +StructContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterStruct(this); + } +}; +StructContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitStruct(this); + } +}; +StructContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitStruct(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DereferenceContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.base = null; // PrimaryExpressionContext; + this.fieldName = null; // IdentifierContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +DereferenceContext.prototype = Object.create(PrimaryExpressionContext.prototype); +DereferenceContext.prototype.constructor = DereferenceContext; +sqlParser.DereferenceContext = DereferenceContext; +DereferenceContext.prototype.primaryExpression = function () { + return this.getTypedRuleContext(PrimaryExpressionContext, 0); +}; +DereferenceContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +DereferenceContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDereference(this); + } +}; +DereferenceContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDereference(this); + } +}; +DereferenceContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDereference(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SimpleCaseContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.value = null; // ExpressionContext; + this.elseExpression = null; // ExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +SimpleCaseContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SimpleCaseContext.prototype.constructor = SimpleCaseContext; +sqlParser.SimpleCaseContext = SimpleCaseContext; +SimpleCaseContext.prototype.CASE = function () { + return this.getToken(sqlParser.CASE, 0); +}; +SimpleCaseContext.prototype.END = function () { + return this.getToken(sqlParser.END, 0); +}; +SimpleCaseContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +SimpleCaseContext.prototype.whenClause = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(WhenClauseContext); + } + else { + return this.getTypedRuleContext(WhenClauseContext, i); + } +}; +SimpleCaseContext.prototype.ELSE = function () { + return this.getToken(sqlParser.ELSE, 0); +}; +SimpleCaseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSimpleCase(this); + } +}; +SimpleCaseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSimpleCase(this); + } +}; +SimpleCaseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSimpleCase(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ColumnReferenceContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ColumnReferenceContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ColumnReferenceContext.prototype.constructor = ColumnReferenceContext; +sqlParser.ColumnReferenceContext = ColumnReferenceContext; +ColumnReferenceContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ColumnReferenceContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterColumnReference(this); + } +}; +ColumnReferenceContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitColumnReference(this); + } +}; +ColumnReferenceContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitColumnReference(this); + } + else { + return visitor.visitChildren(this); + } +}; +function RowConstructorContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +RowConstructorContext.prototype = Object.create(PrimaryExpressionContext.prototype); +RowConstructorContext.prototype.constructor = RowConstructorContext; +sqlParser.RowConstructorContext = RowConstructorContext; +RowConstructorContext.prototype.namedExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } + else { + return this.getTypedRuleContext(NamedExpressionContext, i); + } +}; +RowConstructorContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterRowConstructor(this); + } +}; +RowConstructorContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitRowConstructor(this); + } +}; +RowConstructorContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitRowConstructor(this); + } + else { + return visitor.visitChildren(this); + } +}; +function LastContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +LastContext.prototype = Object.create(PrimaryExpressionContext.prototype); +LastContext.prototype.constructor = LastContext; +sqlParser.LastContext = LastContext; +LastContext.prototype.LAST = function () { + return this.getToken(sqlParser.LAST, 0); +}; +LastContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +LastContext.prototype.IGNORE = function () { + return this.getToken(sqlParser.IGNORE, 0); +}; +LastContext.prototype.NULLS = function () { + return this.getToken(sqlParser.NULLS, 0); +}; +LastContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLast(this); + } +}; +LastContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLast(this); + } +}; +LastContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLast(this); + } + else { + return visitor.visitChildren(this); + } +}; +function StarContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +StarContext.prototype = Object.create(PrimaryExpressionContext.prototype); +StarContext.prototype.constructor = StarContext; +sqlParser.StarContext = StarContext; +StarContext.prototype.ASTERISK = function () { + return this.getToken(sqlParser.ASTERISK, 0); +}; +StarContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +StarContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterStar(this); + } +}; +StarContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitStar(this); + } +}; +StarContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitStar(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SubscriptContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.value = null; // PrimaryExpressionContext; + this.index = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +SubscriptContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SubscriptContext.prototype.constructor = SubscriptContext; +sqlParser.SubscriptContext = SubscriptContext; +SubscriptContext.prototype.primaryExpression = function () { + return this.getTypedRuleContext(PrimaryExpressionContext, 0); +}; +SubscriptContext.prototype.valueExpression = function () { + return this.getTypedRuleContext(ValueExpressionContext, 0); +}; +SubscriptContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSubscript(this); + } +}; +SubscriptContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSubscript(this); + } +}; +SubscriptContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSubscript(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SubqueryExpressionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +SubqueryExpressionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SubqueryExpressionContext.prototype.constructor = SubqueryExpressionContext; +sqlParser.SubqueryExpressionContext = SubqueryExpressionContext; +SubqueryExpressionContext.prototype.query = function () { + return this.getTypedRuleContext(QueryContext, 0); +}; +SubqueryExpressionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSubqueryExpression(this); + } +}; +SubqueryExpressionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSubqueryExpression(this); + } +}; +SubqueryExpressionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSubqueryExpression(this); + } + else { + return visitor.visitChildren(this); + } +}; +function CastContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +CastContext.prototype = Object.create(PrimaryExpressionContext.prototype); +CastContext.prototype.constructor = CastContext; +sqlParser.CastContext = CastContext; +CastContext.prototype.CAST = function () { + return this.getToken(sqlParser.CAST, 0); +}; +CastContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +CastContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +CastContext.prototype.dataType = function () { + return this.getTypedRuleContext(DataTypeContext, 0); +}; +CastContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterCast(this); + } +}; +CastContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitCast(this); + } +}; +CastContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitCast(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ConstantDefaultContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ConstantDefaultContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ConstantDefaultContext.prototype.constructor = ConstantDefaultContext; +sqlParser.ConstantDefaultContext = ConstantDefaultContext; +ConstantDefaultContext.prototype.constant = function () { + return this.getTypedRuleContext(ConstantContext, 0); +}; +ConstantDefaultContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterConstantDefault(this); + } +}; +ConstantDefaultContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitConstantDefault(this); + } +}; +ConstantDefaultContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitConstantDefault(this); + } + else { + return visitor.visitChildren(this); + } +}; +function LambdaContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +LambdaContext.prototype = Object.create(PrimaryExpressionContext.prototype); +LambdaContext.prototype.constructor = LambdaContext; +sqlParser.LambdaContext = LambdaContext; +LambdaContext.prototype.IDENTIFIER = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.IDENTIFIER); + } + else { + return this.getToken(sqlParser.IDENTIFIER, i); + } +}; +LambdaContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +LambdaContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterLambda(this); + } +}; +LambdaContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitLambda(this); + } +}; +LambdaContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitLambda(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ParenthesizedExpressionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ParenthesizedExpressionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ParenthesizedExpressionContext.prototype.constructor = ParenthesizedExpressionContext; +sqlParser.ParenthesizedExpressionContext = ParenthesizedExpressionContext; +ParenthesizedExpressionContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +ParenthesizedExpressionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterParenthesizedExpression(this); + } +}; +ParenthesizedExpressionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitParenthesizedExpression(this); + } +}; +ParenthesizedExpressionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitParenthesizedExpression(this); + } + else { + return visitor.visitChildren(this); + } +}; +function ExtractContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.field = null; // IdentifierContext; + this.source = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +ExtractContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ExtractContext.prototype.constructor = ExtractContext; +sqlParser.ExtractContext = ExtractContext; +ExtractContext.prototype.EXTRACT = function () { + return this.getToken(sqlParser.EXTRACT, 0); +}; +ExtractContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +ExtractContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ExtractContext.prototype.valueExpression = function () { + return this.getTypedRuleContext(ValueExpressionContext, 0); +}; +ExtractContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterExtract(this); + } +}; +ExtractContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitExtract(this); + } +}; +ExtractContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitExtract(this); + } + else { + return visitor.visitChildren(this); + } +}; +function FunctionCallContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this._expression = null; // ExpressionContext; + this.argument = []; // of ExpressionContexts; + this.trimOption = null; // Token; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +FunctionCallContext.prototype = Object.create(PrimaryExpressionContext.prototype); +FunctionCallContext.prototype.constructor = FunctionCallContext; +sqlParser.FunctionCallContext = FunctionCallContext; +FunctionCallContext.prototype.qualifiedName = function () { + return this.getTypedRuleContext(QualifiedNameContext, 0); +}; +FunctionCallContext.prototype.OVER = function () { + return this.getToken(sqlParser.OVER, 0); +}; +FunctionCallContext.prototype.windowSpec = function () { + return this.getTypedRuleContext(WindowSpecContext, 0); +}; +FunctionCallContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +FunctionCallContext.prototype.setQuantifier = function () { + return this.getTypedRuleContext(SetQuantifierContext, 0); +}; +FunctionCallContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +FunctionCallContext.prototype.BOTH = function () { + return this.getToken(sqlParser.BOTH, 0); +}; +FunctionCallContext.prototype.LEADING = function () { + return this.getToken(sqlParser.LEADING, 0); +}; +FunctionCallContext.prototype.TRAILING = function () { + return this.getToken(sqlParser.TRAILING, 0); +}; +FunctionCallContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFunctionCall(this); + } +}; +FunctionCallContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFunctionCall(this); + } +}; +FunctionCallContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFunctionCall(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SearchedCaseContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.elseExpression = null; // ExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +SearchedCaseContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SearchedCaseContext.prototype.constructor = SearchedCaseContext; +sqlParser.SearchedCaseContext = SearchedCaseContext; +SearchedCaseContext.prototype.CASE = function () { + return this.getToken(sqlParser.CASE, 0); +}; +SearchedCaseContext.prototype.END = function () { + return this.getToken(sqlParser.END, 0); +}; +SearchedCaseContext.prototype.whenClause = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(WhenClauseContext); + } + else { + return this.getTypedRuleContext(WhenClauseContext, i); + } +}; +SearchedCaseContext.prototype.ELSE = function () { + return this.getToken(sqlParser.ELSE, 0); +}; +SearchedCaseContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +SearchedCaseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSearchedCase(this); + } +}; +SearchedCaseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSearchedCase(this); + } +}; +SearchedCaseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSearchedCase(this); + } + else { + return visitor.visitChildren(this); + } +}; +function PositionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.substr = null; // ValueExpressionContext; + this.str = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +PositionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +PositionContext.prototype.constructor = PositionContext; +sqlParser.PositionContext = PositionContext; +PositionContext.prototype.POSITION = function () { + return this.getToken(sqlParser.POSITION, 0); +}; +PositionContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +PositionContext.prototype.valueExpression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } + else { + return this.getTypedRuleContext(ValueExpressionContext, i); + } +}; +PositionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPosition(this); + } +}; +PositionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPosition(this); + } +}; +PositionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPosition(this); + } + else { + return visitor.visitChildren(this); + } +}; +function FirstContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} +FirstContext.prototype = Object.create(PrimaryExpressionContext.prototype); +FirstContext.prototype.constructor = FirstContext; +sqlParser.FirstContext = FirstContext; +FirstContext.prototype.FIRST = function () { + return this.getToken(sqlParser.FIRST, 0); +}; +FirstContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +FirstContext.prototype.IGNORE = function () { + return this.getToken(sqlParser.IGNORE, 0); +}; +FirstContext.prototype.NULLS = function () { + return this.getToken(sqlParser.NULLS, 0); +}; +FirstContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFirst(this); + } +}; +FirstContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFirst(this); + } +}; +FirstContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFirst(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.prototype.primaryExpression = function (_p) { + if (_p === undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new PrimaryExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 148; + this.enterRecursionRule(localctx, 148, sqlParser.RULE_primaryExpression, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2197; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 289, this._ctx); + switch (la_) { + case 1: + localctx = new SearchedCaseContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2053; + this.match(sqlParser.CASE); + this.state = 2055; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2054; + this.whenClause(); + this.state = 2057; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.WHEN); + this.state = 2061; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ELSE) { + this.state = 2059; + this.match(sqlParser.ELSE); + this.state = 2060; + localctx.elseExpression = this.expression(); + } + this.state = 2063; + this.match(sqlParser.END); + break; + case 2: + localctx = new SimpleCaseContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2065; + this.match(sqlParser.CASE); + this.state = 2066; + localctx.value = this.expression(); + this.state = 2068; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2067; + this.whenClause(); + this.state = 2070; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.WHEN); + this.state = 2074; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ELSE) { + this.state = 2072; + this.match(sqlParser.ELSE); + this.state = 2073; + localctx.elseExpression = this.expression(); + } + this.state = 2076; + this.match(sqlParser.END); + break; + case 3: + localctx = new CastContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2078; + this.match(sqlParser.CAST); + this.state = 2079; + this.match(sqlParser.T__0); + this.state = 2080; + this.expression(); + this.state = 2081; + this.match(sqlParser.AS); + this.state = 2082; + this.dataType(); + this.state = 2083; + this.match(sqlParser.T__1); + break; + case 4: + localctx = new StructContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2085; + this.match(sqlParser.STRUCT); + this.state = 2086; + this.match(sqlParser.T__0); + this.state = 2095; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2087; + localctx._namedExpression = this.namedExpression(); + localctx.argument.push(localctx._namedExpression); + this.state = 2092; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2088; + this.match(sqlParser.T__3); + this.state = 2089; + localctx._namedExpression = this.namedExpression(); + localctx.argument.push(localctx._namedExpression); + this.state = 2094; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 2097; + this.match(sqlParser.T__1); + break; + case 5: + localctx = new FirstContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2098; + this.match(sqlParser.FIRST); + this.state = 2099; + this.match(sqlParser.T__0); + this.state = 2100; + this.expression(); + this.state = 2103; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IGNORE) { + this.state = 2101; + this.match(sqlParser.IGNORE); + this.state = 2102; + this.match(sqlParser.NULLS); + } + this.state = 2105; + this.match(sqlParser.T__1); + break; + case 6: + localctx = new LastContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2107; + this.match(sqlParser.LAST); + this.state = 2108; + this.match(sqlParser.T__0); + this.state = 2109; + this.expression(); + this.state = 2112; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.IGNORE) { + this.state = 2110; + this.match(sqlParser.IGNORE); + this.state = 2111; + this.match(sqlParser.NULLS); + } + this.state = 2114; + this.match(sqlParser.T__1); + break; + case 7: + localctx = new PositionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2116; + this.match(sqlParser.POSITION); + this.state = 2117; + this.match(sqlParser.T__0); + this.state = 2118; + localctx.substr = this.valueExpression(0); + this.state = 2119; + this.match(sqlParser.IN); + this.state = 2120; + localctx.str = this.valueExpression(0); + this.state = 2121; + this.match(sqlParser.T__1); + break; + case 8: + localctx = new ConstantDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2123; + this.constant(); + break; + case 9: + localctx = new StarContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2124; + this.match(sqlParser.ASTERISK); + break; + case 10: + localctx = new StarContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2125; + this.qualifiedName(); + this.state = 2126; + this.match(sqlParser.T__2); + this.state = 2127; + this.match(sqlParser.ASTERISK); + break; + case 11: + localctx = new RowConstructorContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2129; + this.match(sqlParser.T__0); + this.state = 2130; + this.namedExpression(); + this.state = 2133; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2131; + this.match(sqlParser.T__3); + this.state = 2132; + this.namedExpression(); + this.state = 2135; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.T__3); + this.state = 2137; + this.match(sqlParser.T__1); + break; + case 12: + localctx = new SubqueryExpressionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2139; + this.match(sqlParser.T__0); + this.state = 2140; + this.query(); + this.state = 2141; + this.match(sqlParser.T__1); + break; + case 13: + localctx = new FunctionCallContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2143; + this.qualifiedName(); + this.state = 2144; + this.match(sqlParser.T__0); + this.state = 2156; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2146; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 284, this._ctx); + if (la_ === 1) { + this.state = 2145; + this.setQuantifier(); + } + this.state = 2148; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2153; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2149; + this.match(sqlParser.T__3); + this.state = 2150; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2155; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 2158; + this.match(sqlParser.T__1); + this.state = 2161; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 287, this._ctx); + if (la_ === 1) { + this.state = 2159; + this.match(sqlParser.OVER); + this.state = 2160; + this.windowSpec(); + } + break; + case 14: + localctx = new FunctionCallContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2163; + this.qualifiedName(); + this.state = 2164; + this.match(sqlParser.T__0); + this.state = 2165; + localctx.trimOption = this._input.LT(1); + _la = this._input.LA(1); + if (!(((((_la - 124)) & ~0x1f) == 0 && ((1 << (_la - 124)) & ((1 << (sqlParser.BOTH - 124)) | (1 << (sqlParser.LEADING - 124)) | (1 << (sqlParser.TRAILING - 124)))) !== 0))) { + localctx.trimOption = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2166; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2167; + this.match(sqlParser.FROM); + this.state = 2168; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2169; + this.match(sqlParser.T__1); + break; + case 15: + localctx = new LambdaContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2171; + this.match(sqlParser.IDENTIFIER); + this.state = 2172; + this.match(sqlParser.T__6); + this.state = 2173; + this.expression(); + break; + case 16: + localctx = new LambdaContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2174; + this.match(sqlParser.T__0); + this.state = 2175; + this.match(sqlParser.IDENTIFIER); + this.state = 2178; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2176; + this.match(sqlParser.T__3); + this.state = 2177; + this.match(sqlParser.IDENTIFIER); + this.state = 2180; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while (_la === sqlParser.T__3); + this.state = 2182; + this.match(sqlParser.T__1); + this.state = 2183; + this.match(sqlParser.T__6); + this.state = 2184; + this.expression(); + break; + case 17: + localctx = new ColumnReferenceContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2185; + this.identifier(); + break; + case 18: + localctx = new ParenthesizedExpressionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2186; + this.match(sqlParser.T__0); + this.state = 2187; + this.expression(); + this.state = 2188; + this.match(sqlParser.T__1); + break; + case 19: + localctx = new ExtractContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2190; + this.match(sqlParser.EXTRACT); + this.state = 2191; + this.match(sqlParser.T__0); + this.state = 2192; + localctx.field = this.identifier(); + this.state = 2193; + this.match(sqlParser.FROM); + this.state = 2194; + localctx.source = this.valueExpression(0); + this.state = 2195; + this.match(sqlParser.T__1); + break; + } + this._ctx.stop = this._input.LT(-1); + this.state = 2209; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 291, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + if (this._parseListeners !== null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 2207; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 290, this._ctx); + switch (la_) { + case 1: + localctx = new SubscriptContext(this, new PrimaryExpressionContext(this, _parentctx, _parentState)); + localctx.value = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_primaryExpression); + this.state = 2199; + if (!(this.precpred(this._ctx, 5))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)"); + } + this.state = 2200; + this.match(sqlParser.T__7); + this.state = 2201; + localctx.index = this.valueExpression(0); + this.state = 2202; + this.match(sqlParser.T__8); + break; + case 2: + localctx = new DereferenceContext(this, new PrimaryExpressionContext(this, _parentctx, _parentState)); + localctx.base = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_primaryExpression); + this.state = 2204; + if (!(this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 2205; + this.match(sqlParser.T__2); + this.state = 2206; + localctx.fieldName = this.identifier(); + break; + } + } + this.state = 2211; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 291, this._ctx); + } + } + catch (error) { + if (error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } + else { + throw error; + } + } + finally { + this.unrollRecursionContexts(_parentctx); + } + return localctx; +}; +function ConstantContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_constant; + return this; +} +ConstantContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ConstantContext.prototype.constructor = ConstantContext; +ConstantContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function NullLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +NullLiteralContext.prototype = Object.create(ConstantContext.prototype); +NullLiteralContext.prototype.constructor = NullLiteralContext; +sqlParser.NullLiteralContext = NullLiteralContext; +NullLiteralContext.prototype.NULL = function () { + return this.getToken(sqlParser.NULL, 0); +}; +NullLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNullLiteral(this); + } +}; +NullLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNullLiteral(this); + } +}; +NullLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNullLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function StringLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +StringLiteralContext.prototype = Object.create(ConstantContext.prototype); +StringLiteralContext.prototype.constructor = StringLiteralContext; +sqlParser.StringLiteralContext = StringLiteralContext; +StringLiteralContext.prototype.STRING = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.STRING); + } + else { + return this.getToken(sqlParser.STRING, i); + } +}; +StringLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterStringLiteral(this); + } +}; +StringLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitStringLiteral(this); + } +}; +StringLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitStringLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function TypeConstructorContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +TypeConstructorContext.prototype = Object.create(ConstantContext.prototype); +TypeConstructorContext.prototype.constructor = TypeConstructorContext; +sqlParser.TypeConstructorContext = TypeConstructorContext; +TypeConstructorContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +TypeConstructorContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +TypeConstructorContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTypeConstructor(this); + } +}; +TypeConstructorContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTypeConstructor(this); + } +}; +TypeConstructorContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTypeConstructor(this); + } + else { + return visitor.visitChildren(this); + } +}; +function IntervalLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +IntervalLiteralContext.prototype = Object.create(ConstantContext.prototype); +IntervalLiteralContext.prototype.constructor = IntervalLiteralContext; +sqlParser.IntervalLiteralContext = IntervalLiteralContext; +IntervalLiteralContext.prototype.interval = function () { + return this.getTypedRuleContext(IntervalContext, 0); +}; +IntervalLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIntervalLiteral(this); + } +}; +IntervalLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIntervalLiteral(this); + } +}; +IntervalLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIntervalLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function NumericLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +NumericLiteralContext.prototype = Object.create(ConstantContext.prototype); +NumericLiteralContext.prototype.constructor = NumericLiteralContext; +sqlParser.NumericLiteralContext = NumericLiteralContext; +NumericLiteralContext.prototype.number = function () { + return this.getTypedRuleContext(NumberContext, 0); +}; +NumericLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNumericLiteral(this); + } +}; +NumericLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNumericLiteral(this); + } +}; +NumericLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNumericLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function BooleanLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} +BooleanLiteralContext.prototype = Object.create(ConstantContext.prototype); +BooleanLiteralContext.prototype.constructor = BooleanLiteralContext; +sqlParser.BooleanLiteralContext = BooleanLiteralContext; +BooleanLiteralContext.prototype.booleanValue = function () { + return this.getTypedRuleContext(BooleanValueContext, 0); +}; +BooleanLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterBooleanLiteral(this); + } +}; +BooleanLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitBooleanLiteral(this); + } +}; +BooleanLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitBooleanLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ConstantContext = ConstantContext; +sqlParser.prototype.constant = function () { + var localctx = new ConstantContext(this, this._ctx, this.state); + this.enterRule(localctx, 150, sqlParser.RULE_constant); + try { + this.state = 2224; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 293, this._ctx); + switch (la_) { + case 1: + localctx = new NullLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2212; + this.match(sqlParser.NULL); + break; + case 2: + localctx = new IntervalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2213; + this.interval(); + break; + case 3: + localctx = new TypeConstructorContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2214; + this.identifier(); + this.state = 2215; + this.match(sqlParser.STRING); + break; + case 4: + localctx = new NumericLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2217; + this.number(); + break; + case 5: + localctx = new BooleanLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 2218; + this.booleanValue(); + break; + case 6: + localctx = new StringLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 2220; + this._errHandler.sync(this); + var _alt = 1; + do { + switch (_alt) { + case 1: + this.state = 2219; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 2222; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 292, this._ctx); + } while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ComparisonOperatorContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_comparisonOperator; + return this; +} +ComparisonOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComparisonOperatorContext.prototype.constructor = ComparisonOperatorContext; +ComparisonOperatorContext.prototype.EQ = function () { + return this.getToken(sqlParser.EQ, 0); +}; +ComparisonOperatorContext.prototype.NEQ = function () { + return this.getToken(sqlParser.NEQ, 0); +}; +ComparisonOperatorContext.prototype.NEQJ = function () { + return this.getToken(sqlParser.NEQJ, 0); +}; +ComparisonOperatorContext.prototype.LT = function () { + return this.getToken(sqlParser.LT, 0); +}; +ComparisonOperatorContext.prototype.LTE = function () { + return this.getToken(sqlParser.LTE, 0); +}; +ComparisonOperatorContext.prototype.GT = function () { + return this.getToken(sqlParser.GT, 0); +}; +ComparisonOperatorContext.prototype.GTE = function () { + return this.getToken(sqlParser.GTE, 0); +}; +ComparisonOperatorContext.prototype.NSEQ = function () { + return this.getToken(sqlParser.NSEQ, 0); +}; +ComparisonOperatorContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterComparisonOperator(this); + } +}; +ComparisonOperatorContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitComparisonOperator(this); + } +}; +ComparisonOperatorContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitComparisonOperator(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ComparisonOperatorContext = ComparisonOperatorContext; +sqlParser.prototype.comparisonOperator = function () { + var localctx = new ComparisonOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 152, sqlParser.RULE_comparisonOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2226; + _la = this._input.LA(1); + if (!(((((_la - 130)) & ~0x1f) == 0 && ((1 << (_la - 130)) & ((1 << (sqlParser.EQ - 130)) | (1 << (sqlParser.NSEQ - 130)) | (1 << (sqlParser.NEQ - 130)) | (1 << (sqlParser.NEQJ - 130)) | (1 << (sqlParser.LT - 130)) | (1 << (sqlParser.LTE - 130)) | (1 << (sqlParser.GT - 130)) | (1 << (sqlParser.GTE - 130)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ArithmeticOperatorContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_arithmeticOperator; + return this; +} +ArithmeticOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ArithmeticOperatorContext.prototype.constructor = ArithmeticOperatorContext; +ArithmeticOperatorContext.prototype.PLUS = function () { + return this.getToken(sqlParser.PLUS, 0); +}; +ArithmeticOperatorContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +ArithmeticOperatorContext.prototype.ASTERISK = function () { + return this.getToken(sqlParser.ASTERISK, 0); +}; +ArithmeticOperatorContext.prototype.SLASH = function () { + return this.getToken(sqlParser.SLASH, 0); +}; +ArithmeticOperatorContext.prototype.PERCENT = function () { + return this.getToken(sqlParser.PERCENT, 0); +}; +ArithmeticOperatorContext.prototype.DIV = function () { + return this.getToken(sqlParser.DIV, 0); +}; +ArithmeticOperatorContext.prototype.TILDE = function () { + return this.getToken(sqlParser.TILDE, 0); +}; +ArithmeticOperatorContext.prototype.AMPERSAND = function () { + return this.getToken(sqlParser.AMPERSAND, 0); +}; +ArithmeticOperatorContext.prototype.PIPE = function () { + return this.getToken(sqlParser.PIPE, 0); +}; +ArithmeticOperatorContext.prototype.CONCAT_PIPE = function () { + return this.getToken(sqlParser.CONCAT_PIPE, 0); +}; +ArithmeticOperatorContext.prototype.HAT = function () { + return this.getToken(sqlParser.HAT, 0); +}; +ArithmeticOperatorContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterArithmeticOperator(this); + } +}; +ArithmeticOperatorContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitArithmeticOperator(this); + } +}; +ArithmeticOperatorContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitArithmeticOperator(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ArithmeticOperatorContext = ArithmeticOperatorContext; +sqlParser.prototype.arithmeticOperator = function () { + var localctx = new ArithmeticOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 154, sqlParser.RULE_arithmeticOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2228; + _la = this._input.LA(1); + if (!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.ASTERISK - 138)) | (1 << (sqlParser.SLASH - 138)) | (1 << (sqlParser.PERCENT - 138)) | (1 << (sqlParser.DIV - 138)) | (1 << (sqlParser.TILDE - 138)) | (1 << (sqlParser.AMPERSAND - 138)) | (1 << (sqlParser.PIPE - 138)) | (1 << (sqlParser.CONCAT_PIPE - 138)) | (1 << (sqlParser.HAT - 138)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function PredicateOperatorContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_predicateOperator; + return this; +} +PredicateOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PredicateOperatorContext.prototype.constructor = PredicateOperatorContext; +PredicateOperatorContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +PredicateOperatorContext.prototype.AND = function () { + return this.getToken(sqlParser.AND, 0); +}; +PredicateOperatorContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +PredicateOperatorContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +PredicateOperatorContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPredicateOperator(this); + } +}; +PredicateOperatorContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPredicateOperator(this); + } +}; +PredicateOperatorContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPredicateOperator(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.PredicateOperatorContext = PredicateOperatorContext; +sqlParser.prototype.predicateOperator = function () { + var localctx = new PredicateOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 156, sqlParser.RULE_predicateOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2230; + _la = this._input.LA(1); + if (!(((((_la - 29)) & ~0x1f) == 0 && ((1 << (_la - 29)) & ((1 << (sqlParser.OR - 29)) | (1 << (sqlParser.AND - 29)) | (1 << (sqlParser.IN - 29)) | (1 << (sqlParser.NOT - 29)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function BooleanValueContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_booleanValue; + return this; +} +BooleanValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BooleanValueContext.prototype.constructor = BooleanValueContext; +BooleanValueContext.prototype.TRUE = function () { + return this.getToken(sqlParser.TRUE, 0); +}; +BooleanValueContext.prototype.FALSE = function () { + return this.getToken(sqlParser.FALSE, 0); +}; +BooleanValueContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterBooleanValue(this); + } +}; +BooleanValueContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitBooleanValue(this); + } +}; +BooleanValueContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitBooleanValue(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.BooleanValueContext = BooleanValueContext; +sqlParser.prototype.booleanValue = function () { + var localctx = new BooleanValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 158, sqlParser.RULE_booleanValue); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2232; + _la = this._input.LA(1); + if (!(_la === sqlParser.TRUE || _la === sqlParser.FALSE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IntervalContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_interval; + return this; +} +IntervalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalContext.prototype.constructor = IntervalContext; +IntervalContext.prototype.INTERVAL = function () { + return this.getToken(sqlParser.INTERVAL, 0); +}; +IntervalContext.prototype.intervalField = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IntervalFieldContext); + } + else { + return this.getTypedRuleContext(IntervalFieldContext, i); + } +}; +IntervalContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterInterval(this); + } +}; +IntervalContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitInterval(this); + } +}; +IntervalContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitInterval(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IntervalContext = IntervalContext; +sqlParser.prototype.interval = function () { + var localctx = new IntervalContext(this, this._ctx, this.state); + this.enterRule(localctx, 160, sqlParser.RULE_interval); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2234; + this.match(sqlParser.INTERVAL); + this.state = 2238; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 294, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 2235; + this.intervalField(); + } + this.state = 2240; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 294, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IntervalFieldContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_intervalField; + this.value = null; // IntervalValueContext + this.unit = null; // IdentifierContext + this.to = null; // IdentifierContext + return this; +} +IntervalFieldContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalFieldContext.prototype.constructor = IntervalFieldContext; +IntervalFieldContext.prototype.intervalValue = function () { + return this.getTypedRuleContext(IntervalValueContext, 0); +}; +IntervalFieldContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +IntervalFieldContext.prototype.TO = function () { + return this.getToken(sqlParser.TO, 0); +}; +IntervalFieldContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIntervalField(this); + } +}; +IntervalFieldContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIntervalField(this); + } +}; +IntervalFieldContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIntervalField(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IntervalFieldContext = IntervalFieldContext; +sqlParser.prototype.intervalField = function () { + var localctx = new IntervalFieldContext(this, this._ctx, this.state); + this.enterRule(localctx, 162, sqlParser.RULE_intervalField); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2241; + localctx.value = this.intervalValue(); + this.state = 2242; + localctx.unit = this.identifier(); + this.state = 2245; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 295, this._ctx); + if (la_ === 1) { + this.state = 2243; + this.match(sqlParser.TO); + this.state = 2244; + localctx.to = this.identifier(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IntervalValueContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_intervalValue; + return this; +} +IntervalValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalValueContext.prototype.constructor = IntervalValueContext; +IntervalValueContext.prototype.INTEGER_VALUE = function () { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; +IntervalValueContext.prototype.DECIMAL_VALUE = function () { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; +IntervalValueContext.prototype.PLUS = function () { + return this.getToken(sqlParser.PLUS, 0); +}; +IntervalValueContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +IntervalValueContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +IntervalValueContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIntervalValue(this); + } +}; +IntervalValueContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIntervalValue(this); + } +}; +IntervalValueContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIntervalValue(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IntervalValueContext = IntervalValueContext; +sqlParser.prototype.intervalValue = function () { + var localctx = new IntervalValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 164, sqlParser.RULE_intervalValue); + var _la = 0; // Token type + try { + this.state = 2252; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.PLUS: + case sqlParser.MINUS: + case sqlParser.INTEGER_VALUE: + case sqlParser.DECIMAL_VALUE: + this.enterOuterAlt(localctx, 1); + this.state = 2248; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PLUS || _la === sqlParser.MINUS) { + this.state = 2247; + _la = this._input.LA(1); + if (!(_la === sqlParser.PLUS || _la === sqlParser.MINUS)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + this.state = 2250; + _la = this._input.LA(1); + if (!(_la === sqlParser.INTEGER_VALUE || _la === sqlParser.DECIMAL_VALUE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 2); + this.state = 2251; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ColPositionContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colPosition; + return this; +} +ColPositionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColPositionContext.prototype.constructor = ColPositionContext; +ColPositionContext.prototype.FIRST = function () { + return this.getToken(sqlParser.FIRST, 0); +}; +ColPositionContext.prototype.AFTER = function () { + return this.getToken(sqlParser.AFTER, 0); +}; +ColPositionContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ColPositionContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterColPosition(this); + } +}; +ColPositionContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitColPosition(this); + } +}; +ColPositionContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitColPosition(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ColPositionContext = ColPositionContext; +sqlParser.prototype.colPosition = function () { + var localctx = new ColPositionContext(this, this._ctx, this.state); + this.enterRule(localctx, 166, sqlParser.RULE_colPosition); + try { + this.state = 2257; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.FIRST: + this.enterOuterAlt(localctx, 1); + this.state = 2254; + this.match(sqlParser.FIRST); + break; + case sqlParser.AFTER: + this.enterOuterAlt(localctx, 2); + this.state = 2255; + this.match(sqlParser.AFTER); + this.state = 2256; + this.identifier(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function DataTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dataType; + return this; +} +DataTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DataTypeContext.prototype.constructor = DataTypeContext; +DataTypeContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function ComplexDataTypeContext(parser, ctx) { + DataTypeContext.call(this, parser); + this.complex = null; // Token; + DataTypeContext.prototype.copyFrom.call(this, ctx); + return this; +} +ComplexDataTypeContext.prototype = Object.create(DataTypeContext.prototype); +ComplexDataTypeContext.prototype.constructor = ComplexDataTypeContext; +sqlParser.ComplexDataTypeContext = ComplexDataTypeContext; +ComplexDataTypeContext.prototype.dataType = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(DataTypeContext); + } + else { + return this.getTypedRuleContext(DataTypeContext, i); + } +}; +ComplexDataTypeContext.prototype.ARRAY = function () { + return this.getToken(sqlParser.ARRAY, 0); +}; +ComplexDataTypeContext.prototype.MAP = function () { + return this.getToken(sqlParser.MAP, 0); +}; +ComplexDataTypeContext.prototype.STRUCT = function () { + return this.getToken(sqlParser.STRUCT, 0); +}; +ComplexDataTypeContext.prototype.NEQ = function () { + return this.getToken(sqlParser.NEQ, 0); +}; +ComplexDataTypeContext.prototype.complexColTypeList = function () { + return this.getTypedRuleContext(ComplexColTypeListContext, 0); +}; +ComplexDataTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterComplexDataType(this); + } +}; +ComplexDataTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitComplexDataType(this); + } +}; +ComplexDataTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitComplexDataType(this); + } + else { + return visitor.visitChildren(this); + } +}; +function PrimitiveDataTypeContext(parser, ctx) { + DataTypeContext.call(this, parser); + DataTypeContext.prototype.copyFrom.call(this, ctx); + return this; +} +PrimitiveDataTypeContext.prototype = Object.create(DataTypeContext.prototype); +PrimitiveDataTypeContext.prototype.constructor = PrimitiveDataTypeContext; +sqlParser.PrimitiveDataTypeContext = PrimitiveDataTypeContext; +PrimitiveDataTypeContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +PrimitiveDataTypeContext.prototype.INTEGER_VALUE = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.INTEGER_VALUE); + } + else { + return this.getToken(sqlParser.INTEGER_VALUE, i); + } +}; +PrimitiveDataTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterPrimitiveDataType(this); + } +}; +PrimitiveDataTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitPrimitiveDataType(this); + } +}; +PrimitiveDataTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitPrimitiveDataType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.DataTypeContext = DataTypeContext; +sqlParser.prototype.dataType = function () { + var localctx = new DataTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 168, sqlParser.RULE_dataType); + var _la = 0; // Token type + try { + this.state = 2293; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 303, this._ctx); + switch (la_) { + case 1: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2259; + localctx.complex = this.match(sqlParser.ARRAY); + this.state = 2260; + this.match(sqlParser.LT); + this.state = 2261; + this.dataType(); + this.state = 2262; + this.match(sqlParser.GT); + break; + case 2: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2264; + localctx.complex = this.match(sqlParser.MAP); + this.state = 2265; + this.match(sqlParser.LT); + this.state = 2266; + this.dataType(); + this.state = 2267; + this.match(sqlParser.T__3); + this.state = 2268; + this.dataType(); + this.state = 2269; + this.match(sqlParser.GT); + break; + case 3: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2271; + localctx.complex = this.match(sqlParser.STRUCT); + this.state = 2278; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.LT: + this.state = 2272; + this.match(sqlParser.LT); + this.state = 2274; + this._errHandler.sync(this); + _la = this._input.LA(1); + if ((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2273; + this.complexColTypeList(); + } + this.state = 2276; + this.match(sqlParser.GT); + break; + case sqlParser.NEQ: + this.state = 2277; + this.match(sqlParser.NEQ); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + break; + case 4: + localctx = new PrimitiveDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2280; + this.identifier(); + this.state = 2291; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 302, this._ctx); + if (la_ === 1) { + this.state = 2281; + this.match(sqlParser.T__0); + this.state = 2282; + this.match(sqlParser.INTEGER_VALUE); + this.state = 2287; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2283; + this.match(sqlParser.T__3); + this.state = 2284; + this.match(sqlParser.INTEGER_VALUE); + this.state = 2289; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 2290; + this.match(sqlParser.T__1); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ColTypeListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colTypeList; + return this; +} +ColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColTypeListContext.prototype.constructor = ColTypeListContext; +ColTypeListContext.prototype.colType = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ColTypeContext); + } + else { + return this.getTypedRuleContext(ColTypeContext, i); + } +}; +ColTypeListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterColTypeList(this); + } +}; +ColTypeListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitColTypeList(this); + } +}; +ColTypeListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitColTypeList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ColTypeListContext = ColTypeListContext; +sqlParser.prototype.colTypeList = function () { + var localctx = new ColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 170, sqlParser.RULE_colTypeList); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2295; + this.colType(); + this.state = 2300; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 304, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 2296; + this.match(sqlParser.T__3); + this.state = 2297; + this.colType(); + } + this.state = 2302; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 304, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ColTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colType; + return this; +} +ColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColTypeContext.prototype.constructor = ColTypeContext; +ColTypeContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ColTypeContext.prototype.dataType = function () { + return this.getTypedRuleContext(DataTypeContext, 0); +}; +ColTypeContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +ColTypeContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ColTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterColType(this); + } +}; +ColTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitColType(this); + } +}; +ColTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitColType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ColTypeContext = ColTypeContext; +sqlParser.prototype.colType = function () { + var localctx = new ColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 172, sqlParser.RULE_colType); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2303; + this.identifier(); + this.state = 2304; + this.dataType(); + this.state = 2307; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 305, this._ctx); + if (la_ === 1) { + this.state = 2305; + this.match(sqlParser.COMMENT); + this.state = 2306; + this.match(sqlParser.STRING); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function DtColTypeListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dtColTypeList; + return this; +} +DtColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DtColTypeListContext.prototype.constructor = DtColTypeListContext; +DtColTypeListContext.prototype.dtColType = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(DtColTypeContext); + } + else { + return this.getTypedRuleContext(DtColTypeContext, i); + } +}; +DtColTypeListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDtColTypeList(this); + } +}; +DtColTypeListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDtColTypeList(this); + } +}; +DtColTypeListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDtColTypeList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.DtColTypeListContext = DtColTypeListContext; +sqlParser.prototype.dtColTypeList = function () { + var localctx = new DtColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 174, sqlParser.RULE_dtColTypeList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2309; + this.dtColType(); + this.state = 2314; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2310; + this.match(sqlParser.T__3); + this.state = 2311; + this.dtColType(); + this.state = 2316; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function DtColTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dtColType; + return this; +} +DtColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DtColTypeContext.prototype.constructor = DtColTypeContext; +DtColTypeContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +DtColTypeContext.prototype.dataType = function () { + return this.getTypedRuleContext(DataTypeContext, 0); +}; +DtColTypeContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +DtColTypeContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +DtColTypeContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +DtColTypeContext.prototype.WATERMARK = function () { + return this.getToken(sqlParser.WATERMARK, 0); +}; +DtColTypeContext.prototype.FOR = function () { + return this.getToken(sqlParser.FOR, 0); +}; +DtColTypeContext.prototype.primaryExpression = function () { + return this.getTypedRuleContext(PrimaryExpressionContext, 0); +}; +DtColTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDtColType(this); + } +}; +DtColTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDtColType(this); + } +}; +DtColTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDtColType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.DtColTypeContext = DtColTypeContext; +sqlParser.prototype.dtColType = function () { + var localctx = new DtColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 176, sqlParser.RULE_dtColType); + var _la = 0; // Token type + try { + this.state = 2340; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 2317; + this.identifier(); + this.state = 2322; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__2) { + this.state = 2318; + this.match(sqlParser.T__2); + this.state = 2319; + this.identifier(); + this.state = 2324; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 2325; + this.dataType(); + this.state = 2328; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.AS) { + this.state = 2326; + this.match(sqlParser.AS); + this.state = 2327; + this.identifier(); + } + this.state = 2332; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 2330; + this.match(sqlParser.COMMENT); + this.state = 2331; + this.match(sqlParser.STRING); + } + break; + case sqlParser.WATERMARK: + this.enterOuterAlt(localctx, 2); + this.state = 2334; + this.match(sqlParser.WATERMARK); + this.state = 2335; + this.match(sqlParser.FOR); + this.state = 2336; + this.identifier(); + this.state = 2337; + this.match(sqlParser.AS); + this.state = 2338; + this.primaryExpression(0); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ComplexColTypeListContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_complexColTypeList; + return this; +} +ComplexColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComplexColTypeListContext.prototype.constructor = ComplexColTypeListContext; +ComplexColTypeListContext.prototype.complexColType = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ComplexColTypeContext); + } + else { + return this.getTypedRuleContext(ComplexColTypeContext, i); + } +}; +ComplexColTypeListContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterComplexColTypeList(this); + } +}; +ComplexColTypeListContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitComplexColTypeList(this); + } +}; +ComplexColTypeListContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitComplexColTypeList(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ComplexColTypeListContext = ComplexColTypeListContext; +sqlParser.prototype.complexColTypeList = function () { + var localctx = new ComplexColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 178, sqlParser.RULE_complexColTypeList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2342; + this.complexColType(); + this.state = 2347; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2343; + this.match(sqlParser.T__3); + this.state = 2344; + this.complexColType(); + this.state = 2349; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function ComplexColTypeContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_complexColType; + return this; +} +ComplexColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComplexColTypeContext.prototype.constructor = ComplexColTypeContext; +ComplexColTypeContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +ComplexColTypeContext.prototype.dataType = function () { + return this.getTypedRuleContext(DataTypeContext, 0); +}; +ComplexColTypeContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +ComplexColTypeContext.prototype.STRING = function () { + return this.getToken(sqlParser.STRING, 0); +}; +ComplexColTypeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterComplexColType(this); + } +}; +ComplexColTypeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitComplexColType(this); + } +}; +ComplexColTypeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitComplexColType(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.ComplexColTypeContext = ComplexColTypeContext; +sqlParser.prototype.complexColType = function () { + var localctx = new ComplexColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 180, sqlParser.RULE_complexColType); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2350; + this.identifier(); + this.state = 2351; + this.match(sqlParser.T__9); + this.state = 2352; + this.dataType(); + this.state = 2355; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.COMMENT) { + this.state = 2353; + this.match(sqlParser.COMMENT); + this.state = 2354; + this.match(sqlParser.STRING); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function WhenClauseContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_whenClause; + this.condition = null; // ExpressionContext + this.result = null; // ExpressionContext + return this; +} +WhenClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WhenClauseContext.prototype.constructor = WhenClauseContext; +WhenClauseContext.prototype.WHEN = function () { + return this.getToken(sqlParser.WHEN, 0); +}; +WhenClauseContext.prototype.THEN = function () { + return this.getToken(sqlParser.THEN, 0); +}; +WhenClauseContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +WhenClauseContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterWhenClause(this); + } +}; +WhenClauseContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitWhenClause(this); + } +}; +WhenClauseContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitWhenClause(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.WhenClauseContext = WhenClauseContext; +sqlParser.prototype.whenClause = function () { + var localctx = new WhenClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 182, sqlParser.RULE_whenClause); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2357; + this.match(sqlParser.WHEN); + this.state = 2358; + localctx.condition = this.expression(); + this.state = 2359; + this.match(sqlParser.THEN); + this.state = 2360; + localctx.result = this.expression(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function WindowsContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windows; + return this; +} +WindowsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowsContext.prototype.constructor = WindowsContext; +WindowsContext.prototype.WINDOW = function () { + return this.getToken(sqlParser.WINDOW, 0); +}; +WindowsContext.prototype.namedWindow = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(NamedWindowContext); + } + else { + return this.getTypedRuleContext(NamedWindowContext, i); + } +}; +WindowsContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterWindows(this); + } +}; +WindowsContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitWindows(this); + } +}; +WindowsContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitWindows(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.WindowsContext = WindowsContext; +sqlParser.prototype.windows = function () { + var localctx = new WindowsContext(this, this._ctx, this.state); + this.enterRule(localctx, 184, sqlParser.RULE_windows); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2362; + this.match(sqlParser.WINDOW); + this.state = 2363; + this.namedWindow(); + this.state = 2368; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 313, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 2364; + this.match(sqlParser.T__3); + this.state = 2365; + this.namedWindow(); + } + this.state = 2370; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 313, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NamedWindowContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedWindow; + return this; +} +NamedWindowContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedWindowContext.prototype.constructor = NamedWindowContext; +NamedWindowContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +NamedWindowContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +NamedWindowContext.prototype.windowSpec = function () { + return this.getTypedRuleContext(WindowSpecContext, 0); +}; +NamedWindowContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNamedWindow(this); + } +}; +NamedWindowContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNamedWindow(this); + } +}; +NamedWindowContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNamedWindow(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NamedWindowContext = NamedWindowContext; +sqlParser.prototype.namedWindow = function () { + var localctx = new NamedWindowContext(this, this._ctx, this.state); + this.enterRule(localctx, 186, sqlParser.RULE_namedWindow); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2371; + this.identifier(); + this.state = 2372; + this.match(sqlParser.AS); + this.state = 2373; + this.windowSpec(); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function WindowSpecContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windowSpec; + return this; +} +WindowSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowSpecContext.prototype.constructor = WindowSpecContext; +WindowSpecContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function WindowRefContext(parser, ctx) { + WindowSpecContext.call(this, parser); + this.name = null; // IdentifierContext; + WindowSpecContext.prototype.copyFrom.call(this, ctx); + return this; +} +WindowRefContext.prototype = Object.create(WindowSpecContext.prototype); +WindowRefContext.prototype.constructor = WindowRefContext; +sqlParser.WindowRefContext = WindowRefContext; +WindowRefContext.prototype.identifier = function () { + return this.getTypedRuleContext(IdentifierContext, 0); +}; +WindowRefContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterWindowRef(this); + } +}; +WindowRefContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitWindowRef(this); + } +}; +WindowRefContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitWindowRef(this); + } + else { + return visitor.visitChildren(this); + } +}; +function WindowDefContext(parser, ctx) { + WindowSpecContext.call(this, parser); + this._expression = null; // ExpressionContext; + this.partition = []; // of ExpressionContexts; + WindowSpecContext.prototype.copyFrom.call(this, ctx); + return this; +} +WindowDefContext.prototype = Object.create(WindowSpecContext.prototype); +WindowDefContext.prototype.constructor = WindowDefContext; +sqlParser.WindowDefContext = WindowDefContext; +WindowDefContext.prototype.CLUSTER = function () { + return this.getToken(sqlParser.CLUSTER, 0); +}; +WindowDefContext.prototype.BY = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTokens(sqlParser.BY); + } + else { + return this.getToken(sqlParser.BY, i); + } +}; +WindowDefContext.prototype.expression = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(ExpressionContext); + } + else { + return this.getTypedRuleContext(ExpressionContext, i); + } +}; +WindowDefContext.prototype.windowFrame = function () { + return this.getTypedRuleContext(WindowFrameContext, 0); +}; +WindowDefContext.prototype.sortItem = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(SortItemContext); + } + else { + return this.getTypedRuleContext(SortItemContext, i); + } +}; +WindowDefContext.prototype.PARTITION = function () { + return this.getToken(sqlParser.PARTITION, 0); +}; +WindowDefContext.prototype.DISTRIBUTE = function () { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; +WindowDefContext.prototype.ORDER = function () { + return this.getToken(sqlParser.ORDER, 0); +}; +WindowDefContext.prototype.SORT = function () { + return this.getToken(sqlParser.SORT, 0); +}; +WindowDefContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterWindowDef(this); + } +}; +WindowDefContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitWindowDef(this); + } +}; +WindowDefContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitWindowDef(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.WindowSpecContext = WindowSpecContext; +sqlParser.prototype.windowSpec = function () { + var localctx = new WindowSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 188, sqlParser.RULE_windowSpec); + var _la = 0; // Token type + try { + this.state = 2417; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + localctx = new WindowRefContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2375; + localctx.name = this.identifier(); + break; + case sqlParser.T__0: + localctx = new WindowDefContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2376; + this.match(sqlParser.T__0); + this.state = 2411; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.CLUSTER: + this.state = 2377; + this.match(sqlParser.CLUSTER); + this.state = 2378; + this.match(sqlParser.BY); + this.state = 2379; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2384; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2380; + this.match(sqlParser.T__3); + this.state = 2381; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2386; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + case sqlParser.T__1: + case sqlParser.ORDER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.SORT: + case sqlParser.DISTRIBUTE: + this.state = 2397; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.PARTITION || _la === sqlParser.DISTRIBUTE) { + this.state = 2387; + _la = this._input.LA(1); + if (!(_la === sqlParser.PARTITION || _la === sqlParser.DISTRIBUTE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2388; + this.match(sqlParser.BY); + this.state = 2389; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2394; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2390; + this.match(sqlParser.T__3); + this.state = 2391; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2396; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + this.state = 2409; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.ORDER || _la === sqlParser.SORT) { + this.state = 2399; + _la = this._input.LA(1); + if (!(_la === sqlParser.ORDER || _la === sqlParser.SORT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2400; + this.match(sqlParser.BY); + this.state = 2401; + this.sortItem(); + this.state = 2406; + this._errHandler.sync(this); + _la = this._input.LA(1); + while (_la === sqlParser.T__3) { + this.state = 2402; + this.match(sqlParser.T__3); + this.state = 2403; + this.sortItem(); + this.state = 2408; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 2414; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.RANGE || _la === sqlParser.ROWS) { + this.state = 2413; + this.windowFrame(); + } + this.state = 2416; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function WindowFrameContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windowFrame; + this.frameType = null; // Token + this.start = null; // FrameBoundContext + this.end = null; // FrameBoundContext + return this; +} +WindowFrameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowFrameContext.prototype.constructor = WindowFrameContext; +WindowFrameContext.prototype.RANGE = function () { + return this.getToken(sqlParser.RANGE, 0); +}; +WindowFrameContext.prototype.frameBound = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(FrameBoundContext); + } + else { + return this.getTypedRuleContext(FrameBoundContext, i); + } +}; +WindowFrameContext.prototype.ROWS = function () { + return this.getToken(sqlParser.ROWS, 0); +}; +WindowFrameContext.prototype.BETWEEN = function () { + return this.getToken(sqlParser.BETWEEN, 0); +}; +WindowFrameContext.prototype.AND = function () { + return this.getToken(sqlParser.AND, 0); +}; +WindowFrameContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterWindowFrame(this); + } +}; +WindowFrameContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitWindowFrame(this); + } +}; +WindowFrameContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitWindowFrame(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.WindowFrameContext = WindowFrameContext; +sqlParser.prototype.windowFrame = function () { + var localctx = new WindowFrameContext(this, this._ctx, this.state); + this.enterRule(localctx, 190, sqlParser.RULE_windowFrame); + try { + this.state = 2435; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 322, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 2419; + localctx.frameType = this.match(sqlParser.RANGE); + this.state = 2420; + localctx.start = this.frameBound(); + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 2421; + localctx.frameType = this.match(sqlParser.ROWS); + this.state = 2422; + localctx.start = this.frameBound(); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 2423; + localctx.frameType = this.match(sqlParser.RANGE); + this.state = 2424; + this.match(sqlParser.BETWEEN); + this.state = 2425; + localctx.start = this.frameBound(); + this.state = 2426; + this.match(sqlParser.AND); + this.state = 2427; + localctx.end = this.frameBound(); + break; + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 2429; + localctx.frameType = this.match(sqlParser.ROWS); + this.state = 2430; + this.match(sqlParser.BETWEEN); + this.state = 2431; + localctx.start = this.frameBound(); + this.state = 2432; + this.match(sqlParser.AND); + this.state = 2433; + localctx.end = this.frameBound(); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function FrameBoundContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_frameBound; + this.boundType = null; // Token + return this; +} +FrameBoundContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FrameBoundContext.prototype.constructor = FrameBoundContext; +FrameBoundContext.prototype.UNBOUNDED = function () { + return this.getToken(sqlParser.UNBOUNDED, 0); +}; +FrameBoundContext.prototype.PRECEDING = function () { + return this.getToken(sqlParser.PRECEDING, 0); +}; +FrameBoundContext.prototype.FOLLOWING = function () { + return this.getToken(sqlParser.FOLLOWING, 0); +}; +FrameBoundContext.prototype.ROW = function () { + return this.getToken(sqlParser.ROW, 0); +}; +FrameBoundContext.prototype.CURRENT = function () { + return this.getToken(sqlParser.CURRENT, 0); +}; +FrameBoundContext.prototype.expression = function () { + return this.getTypedRuleContext(ExpressionContext, 0); +}; +FrameBoundContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterFrameBound(this); + } +}; +FrameBoundContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitFrameBound(this); + } +}; +FrameBoundContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitFrameBound(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.FrameBoundContext = FrameBoundContext; +sqlParser.prototype.frameBound = function () { + var localctx = new FrameBoundContext(this, this._ctx, this.state); + this.enterRule(localctx, 192, sqlParser.RULE_frameBound); + var _la = 0; // Token type + try { + this.state = 2444; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 323, this._ctx); + switch (la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 2437; + this.match(sqlParser.UNBOUNDED); + this.state = 2438; + localctx.boundType = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.PRECEDING || _la === sqlParser.FOLLOWING)) { + localctx.boundType = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 2439; + localctx.boundType = this.match(sqlParser.CURRENT); + this.state = 2440; + this.match(sqlParser.ROW); + break; + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 2441; + this.expression(); + this.state = 2442; + localctx.boundType = this._input.LT(1); + _la = this._input.LA(1); + if (!(_la === sqlParser.PRECEDING || _la === sqlParser.FOLLOWING)) { + localctx.boundType = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QualifiedNameContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_qualifiedName; + return this; +} +QualifiedNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QualifiedNameContext.prototype.constructor = QualifiedNameContext; +QualifiedNameContext.prototype.identifier = function (i) { + if (i === undefined) { + i = null; + } + if (i === null) { + return this.getTypedRuleContexts(IdentifierContext); + } + else { + return this.getTypedRuleContext(IdentifierContext, i); + } +}; +QualifiedNameContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQualifiedName(this); + } +}; +QualifiedNameContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQualifiedName(this); + } +}; +QualifiedNameContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQualifiedName(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QualifiedNameContext = QualifiedNameContext; +sqlParser.prototype.qualifiedName = function () { + var localctx = new QualifiedNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 194, sqlParser.RULE_qualifiedName); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2446; + this.identifier(); + this.state = 2451; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input, 324, this._ctx); + while (_alt != 2 && _alt != antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if (_alt === 1) { + this.state = 2447; + this.match(sqlParser.T__2); + this.state = 2448; + this.identifier(); + } + this.state = 2453; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input, 324, this._ctx); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function IdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifier; + return this; +} +IdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierContext.prototype.constructor = IdentifierContext; +IdentifierContext.prototype.strictIdentifier = function () { + return this.getTypedRuleContext(StrictIdentifierContext, 0); +}; +IdentifierContext.prototype.ANTI = function () { + return this.getToken(sqlParser.ANTI, 0); +}; +IdentifierContext.prototype.FULL = function () { + return this.getToken(sqlParser.FULL, 0); +}; +IdentifierContext.prototype.INNER = function () { + return this.getToken(sqlParser.INNER, 0); +}; +IdentifierContext.prototype.LEFT = function () { + return this.getToken(sqlParser.LEFT, 0); +}; +IdentifierContext.prototype.SEMI = function () { + return this.getToken(sqlParser.SEMI, 0); +}; +IdentifierContext.prototype.RIGHT = function () { + return this.getToken(sqlParser.RIGHT, 0); +}; +IdentifierContext.prototype.NATURAL = function () { + return this.getToken(sqlParser.NATURAL, 0); +}; +IdentifierContext.prototype.JOIN = function () { + return this.getToken(sqlParser.JOIN, 0); +}; +IdentifierContext.prototype.CROSS = function () { + return this.getToken(sqlParser.CROSS, 0); +}; +IdentifierContext.prototype.ON = function () { + return this.getToken(sqlParser.ON, 0); +}; +IdentifierContext.prototype.UNION = function () { + return this.getToken(sqlParser.UNION, 0); +}; +IdentifierContext.prototype.INTERSECT = function () { + return this.getToken(sqlParser.INTERSECT, 0); +}; +IdentifierContext.prototype.EXCEPT = function () { + return this.getToken(sqlParser.EXCEPT, 0); +}; +IdentifierContext.prototype.SETMINUS = function () { + return this.getToken(sqlParser.SETMINUS, 0); +}; +IdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIdentifier(this); + } +}; +IdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIdentifier(this); + } +}; +IdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.IdentifierContext = IdentifierContext; +sqlParser.prototype.identifier = function () { + var localctx = new IdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 196, sqlParser.RULE_identifier); + try { + this.state = 2469; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.OUTER: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 2454; + this.strictIdentifier(); + break; + case sqlParser.ANTI: + this.enterOuterAlt(localctx, 2); + this.state = 2455; + this.match(sqlParser.ANTI); + break; + case sqlParser.FULL: + this.enterOuterAlt(localctx, 3); + this.state = 2456; + this.match(sqlParser.FULL); + break; + case sqlParser.INNER: + this.enterOuterAlt(localctx, 4); + this.state = 2457; + this.match(sqlParser.INNER); + break; + case sqlParser.LEFT: + this.enterOuterAlt(localctx, 5); + this.state = 2458; + this.match(sqlParser.LEFT); + break; + case sqlParser.SEMI: + this.enterOuterAlt(localctx, 6); + this.state = 2459; + this.match(sqlParser.SEMI); + break; + case sqlParser.RIGHT: + this.enterOuterAlt(localctx, 7); + this.state = 2460; + this.match(sqlParser.RIGHT); + break; + case sqlParser.NATURAL: + this.enterOuterAlt(localctx, 8); + this.state = 2461; + this.match(sqlParser.NATURAL); + break; + case sqlParser.JOIN: + this.enterOuterAlt(localctx, 9); + this.state = 2462; + this.match(sqlParser.JOIN); + break; + case sqlParser.CROSS: + this.enterOuterAlt(localctx, 10); + this.state = 2463; + this.match(sqlParser.CROSS); + break; + case sqlParser.ON: + this.enterOuterAlt(localctx, 11); + this.state = 2464; + this.match(sqlParser.ON); + break; + case sqlParser.UNION: + this.enterOuterAlt(localctx, 12); + this.state = 2465; + this.match(sqlParser.UNION); + break; + case sqlParser.INTERSECT: + this.enterOuterAlt(localctx, 13); + this.state = 2466; + this.match(sqlParser.INTERSECT); + break; + case sqlParser.EXCEPT: + this.enterOuterAlt(localctx, 14); + this.state = 2467; + this.match(sqlParser.EXCEPT); + break; + case sqlParser.SETMINUS: + this.enterOuterAlt(localctx, 15); + this.state = 2468; + this.match(sqlParser.SETMINUS); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function StrictIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_strictIdentifier; + return this; +} +StrictIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StrictIdentifierContext.prototype.constructor = StrictIdentifierContext; +StrictIdentifierContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function QuotedIdentifierAlternativeContext(parser, ctx) { + StrictIdentifierContext.call(this, parser); + StrictIdentifierContext.prototype.copyFrom.call(this, ctx); + return this; +} +QuotedIdentifierAlternativeContext.prototype = Object.create(StrictIdentifierContext.prototype); +QuotedIdentifierAlternativeContext.prototype.constructor = QuotedIdentifierAlternativeContext; +sqlParser.QuotedIdentifierAlternativeContext = QuotedIdentifierAlternativeContext; +QuotedIdentifierAlternativeContext.prototype.quotedIdentifier = function () { + return this.getTypedRuleContext(QuotedIdentifierContext, 0); +}; +QuotedIdentifierAlternativeContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQuotedIdentifierAlternative(this); + } +}; +QuotedIdentifierAlternativeContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQuotedIdentifierAlternative(this); + } +}; +QuotedIdentifierAlternativeContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQuotedIdentifierAlternative(this); + } + else { + return visitor.visitChildren(this); + } +}; +function UnquotedIdentifierContext(parser, ctx) { + StrictIdentifierContext.call(this, parser); + StrictIdentifierContext.prototype.copyFrom.call(this, ctx); + return this; +} +UnquotedIdentifierContext.prototype = Object.create(StrictIdentifierContext.prototype); +UnquotedIdentifierContext.prototype.constructor = UnquotedIdentifierContext; +sqlParser.UnquotedIdentifierContext = UnquotedIdentifierContext; +UnquotedIdentifierContext.prototype.IDENTIFIER = function () { + return this.getToken(sqlParser.IDENTIFIER, 0); +}; +UnquotedIdentifierContext.prototype.nonReserved = function () { + return this.getTypedRuleContext(NonReservedContext, 0); +}; +UnquotedIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterUnquotedIdentifier(this); + } +}; +UnquotedIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitUnquotedIdentifier(this); + } +}; +UnquotedIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitUnquotedIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.StrictIdentifierContext = StrictIdentifierContext; +sqlParser.prototype.strictIdentifier = function () { + var localctx = new StrictIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 198, sqlParser.RULE_strictIdentifier); + try { + this.state = 2474; + this._errHandler.sync(this); + switch (this._input.LA(1)) { + case sqlParser.IDENTIFIER: + localctx = new UnquotedIdentifierContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2471; + this.match(sqlParser.IDENTIFIER); + break; + case sqlParser.BACKQUOTED_IDENTIFIER: + localctx = new QuotedIdentifierAlternativeContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2472; + this.quotedIdentifier(); + break; + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.OUTER: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.LOCAL: + case sqlParser.INPATH: + localctx = new UnquotedIdentifierContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2473; + this.nonReserved(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function QuotedIdentifierContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_quotedIdentifier; + return this; +} +QuotedIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QuotedIdentifierContext.prototype.constructor = QuotedIdentifierContext; +QuotedIdentifierContext.prototype.BACKQUOTED_IDENTIFIER = function () { + return this.getToken(sqlParser.BACKQUOTED_IDENTIFIER, 0); +}; +QuotedIdentifierContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterQuotedIdentifier(this); + } +}; +QuotedIdentifierContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitQuotedIdentifier(this); + } +}; +QuotedIdentifierContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitQuotedIdentifier(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.QuotedIdentifierContext = QuotedIdentifierContext; +sqlParser.prototype.quotedIdentifier = function () { + var localctx = new QuotedIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 200, sqlParser.RULE_quotedIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2476; + this.match(sqlParser.BACKQUOTED_IDENTIFIER); + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NumberContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_number; + return this; +} +NumberContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NumberContext.prototype.constructor = NumberContext; +NumberContext.prototype.copyFrom = function (ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; +function DecimalLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +DecimalLiteralContext.prototype = Object.create(NumberContext.prototype); +DecimalLiteralContext.prototype.constructor = DecimalLiteralContext; +sqlParser.DecimalLiteralContext = DecimalLiteralContext; +DecimalLiteralContext.prototype.DECIMAL_VALUE = function () { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; +DecimalLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +DecimalLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDecimalLiteral(this); + } +}; +DecimalLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDecimalLiteral(this); + } +}; +DecimalLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDecimalLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function BigIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +BigIntLiteralContext.prototype = Object.create(NumberContext.prototype); +BigIntLiteralContext.prototype.constructor = BigIntLiteralContext; +sqlParser.BigIntLiteralContext = BigIntLiteralContext; +BigIntLiteralContext.prototype.BIGINT_LITERAL = function () { + return this.getToken(sqlParser.BIGINT_LITERAL, 0); +}; +BigIntLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +BigIntLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterBigIntLiteral(this); + } +}; +BigIntLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitBigIntLiteral(this); + } +}; +BigIntLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitBigIntLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function TinyIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +TinyIntLiteralContext.prototype = Object.create(NumberContext.prototype); +TinyIntLiteralContext.prototype.constructor = TinyIntLiteralContext; +sqlParser.TinyIntLiteralContext = TinyIntLiteralContext; +TinyIntLiteralContext.prototype.TINYINT_LITERAL = function () { + return this.getToken(sqlParser.TINYINT_LITERAL, 0); +}; +TinyIntLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +TinyIntLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterTinyIntLiteral(this); + } +}; +TinyIntLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitTinyIntLiteral(this); + } +}; +TinyIntLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitTinyIntLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function BigDecimalLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +BigDecimalLiteralContext.prototype = Object.create(NumberContext.prototype); +BigDecimalLiteralContext.prototype.constructor = BigDecimalLiteralContext; +sqlParser.BigDecimalLiteralContext = BigDecimalLiteralContext; +BigDecimalLiteralContext.prototype.BIGDECIMAL_LITERAL = function () { + return this.getToken(sqlParser.BIGDECIMAL_LITERAL, 0); +}; +BigDecimalLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +BigDecimalLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterBigDecimalLiteral(this); + } +}; +BigDecimalLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitBigDecimalLiteral(this); + } +}; +BigDecimalLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitBigDecimalLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function DoubleLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +DoubleLiteralContext.prototype = Object.create(NumberContext.prototype); +DoubleLiteralContext.prototype.constructor = DoubleLiteralContext; +sqlParser.DoubleLiteralContext = DoubleLiteralContext; +DoubleLiteralContext.prototype.DOUBLE_LITERAL = function () { + return this.getToken(sqlParser.DOUBLE_LITERAL, 0); +}; +DoubleLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +DoubleLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterDoubleLiteral(this); + } +}; +DoubleLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitDoubleLiteral(this); + } +}; +DoubleLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitDoubleLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function IntegerLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +IntegerLiteralContext.prototype = Object.create(NumberContext.prototype); +IntegerLiteralContext.prototype.constructor = IntegerLiteralContext; +sqlParser.IntegerLiteralContext = IntegerLiteralContext; +IntegerLiteralContext.prototype.INTEGER_VALUE = function () { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; +IntegerLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +IntegerLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterIntegerLiteral(this); + } +}; +IntegerLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitIntegerLiteral(this); + } +}; +IntegerLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitIntegerLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +function SmallIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} +SmallIntLiteralContext.prototype = Object.create(NumberContext.prototype); +SmallIntLiteralContext.prototype.constructor = SmallIntLiteralContext; +sqlParser.SmallIntLiteralContext = SmallIntLiteralContext; +SmallIntLiteralContext.prototype.SMALLINT_LITERAL = function () { + return this.getToken(sqlParser.SMALLINT_LITERAL, 0); +}; +SmallIntLiteralContext.prototype.MINUS = function () { + return this.getToken(sqlParser.MINUS, 0); +}; +SmallIntLiteralContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterSmallIntLiteral(this); + } +}; +SmallIntLiteralContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitSmallIntLiteral(this); + } +}; +SmallIntLiteralContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitSmallIntLiteral(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NumberContext = NumberContext; +sqlParser.prototype.number = function () { + var localctx = new NumberContext(this, this._ctx, this.state); + this.enterRule(localctx, 202, sqlParser.RULE_number); + var _la = 0; // Token type + try { + this.state = 2506; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input, 334, this._ctx); + switch (la_) { + case 1: + localctx = new DecimalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2479; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2478; + this.match(sqlParser.MINUS); + } + this.state = 2481; + this.match(sqlParser.DECIMAL_VALUE); + break; + case 2: + localctx = new IntegerLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2483; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2482; + this.match(sqlParser.MINUS); + } + this.state = 2485; + this.match(sqlParser.INTEGER_VALUE); + break; + case 3: + localctx = new BigIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2487; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2486; + this.match(sqlParser.MINUS); + } + this.state = 2489; + this.match(sqlParser.BIGINT_LITERAL); + break; + case 4: + localctx = new SmallIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2491; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2490; + this.match(sqlParser.MINUS); + } + this.state = 2493; + this.match(sqlParser.SMALLINT_LITERAL); + break; + case 5: + localctx = new TinyIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 2495; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2494; + this.match(sqlParser.MINUS); + } + this.state = 2497; + this.match(sqlParser.TINYINT_LITERAL); + break; + case 6: + localctx = new DoubleLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 2499; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2498; + this.match(sqlParser.MINUS); + } + this.state = 2501; + this.match(sqlParser.DOUBLE_LITERAL); + break; + case 7: + localctx = new BigDecimalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 7); + this.state = 2503; + this._errHandler.sync(this); + _la = this._input.LA(1); + if (_la === sqlParser.MINUS) { + this.state = 2502; + this.match(sqlParser.MINUS); + } + this.state = 2505; + this.match(sqlParser.BIGDECIMAL_LITERAL); + break; + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +function NonReservedContext(parser, parent, invokingState) { + if (parent === undefined) { + parent = null; + } + if (invokingState === undefined || invokingState === null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_nonReserved; + return this; +} +NonReservedContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NonReservedContext.prototype.constructor = NonReservedContext; +NonReservedContext.prototype.SHOW = function () { + return this.getToken(sqlParser.SHOW, 0); +}; +NonReservedContext.prototype.TABLES = function () { + return this.getToken(sqlParser.TABLES, 0); +}; +NonReservedContext.prototype.COLUMNS = function () { + return this.getToken(sqlParser.COLUMNS, 0); +}; +NonReservedContext.prototype.COLUMN = function () { + return this.getToken(sqlParser.COLUMN, 0); +}; +NonReservedContext.prototype.PARTITIONS = function () { + return this.getToken(sqlParser.PARTITIONS, 0); +}; +NonReservedContext.prototype.FUNCTIONS = function () { + return this.getToken(sqlParser.FUNCTIONS, 0); +}; +NonReservedContext.prototype.DATABASES = function () { + return this.getToken(sqlParser.DATABASES, 0); +}; +NonReservedContext.prototype.ADD = function () { + return this.getToken(sqlParser.ADD, 0); +}; +NonReservedContext.prototype.OVER = function () { + return this.getToken(sqlParser.OVER, 0); +}; +NonReservedContext.prototype.PARTITION = function () { + return this.getToken(sqlParser.PARTITION, 0); +}; +NonReservedContext.prototype.RANGE = function () { + return this.getToken(sqlParser.RANGE, 0); +}; +NonReservedContext.prototype.ROWS = function () { + return this.getToken(sqlParser.ROWS, 0); +}; +NonReservedContext.prototype.PRECEDING = function () { + return this.getToken(sqlParser.PRECEDING, 0); +}; +NonReservedContext.prototype.FOLLOWING = function () { + return this.getToken(sqlParser.FOLLOWING, 0); +}; +NonReservedContext.prototype.CURRENT = function () { + return this.getToken(sqlParser.CURRENT, 0); +}; +NonReservedContext.prototype.ROW = function () { + return this.getToken(sqlParser.ROW, 0); +}; +NonReservedContext.prototype.LAST = function () { + return this.getToken(sqlParser.LAST, 0); +}; +NonReservedContext.prototype.FIRST = function () { + return this.getToken(sqlParser.FIRST, 0); +}; +NonReservedContext.prototype.AFTER = function () { + return this.getToken(sqlParser.AFTER, 0); +}; +NonReservedContext.prototype.MAP = function () { + return this.getToken(sqlParser.MAP, 0); +}; +NonReservedContext.prototype.ARRAY = function () { + return this.getToken(sqlParser.ARRAY, 0); +}; +NonReservedContext.prototype.STRUCT = function () { + return this.getToken(sqlParser.STRUCT, 0); +}; +NonReservedContext.prototype.PIVOT = function () { + return this.getToken(sqlParser.PIVOT, 0); +}; +NonReservedContext.prototype.LATERAL = function () { + return this.getToken(sqlParser.LATERAL, 0); +}; +NonReservedContext.prototype.WINDOW = function () { + return this.getToken(sqlParser.WINDOW, 0); +}; +NonReservedContext.prototype.REDUCE = function () { + return this.getToken(sqlParser.REDUCE, 0); +}; +NonReservedContext.prototype.TRANSFORM = function () { + return this.getToken(sqlParser.TRANSFORM, 0); +}; +NonReservedContext.prototype.SERDE = function () { + return this.getToken(sqlParser.SERDE, 0); +}; +NonReservedContext.prototype.SERDEPROPERTIES = function () { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; +NonReservedContext.prototype.RECORDREADER = function () { + return this.getToken(sqlParser.RECORDREADER, 0); +}; +NonReservedContext.prototype.DELIMITED = function () { + return this.getToken(sqlParser.DELIMITED, 0); +}; +NonReservedContext.prototype.FIELDS = function () { + return this.getToken(sqlParser.FIELDS, 0); +}; +NonReservedContext.prototype.TERMINATED = function () { + return this.getToken(sqlParser.TERMINATED, 0); +}; +NonReservedContext.prototype.COLLECTION = function () { + return this.getToken(sqlParser.COLLECTION, 0); +}; +NonReservedContext.prototype.ITEMS = function () { + return this.getToken(sqlParser.ITEMS, 0); +}; +NonReservedContext.prototype.KEYS = function () { + return this.getToken(sqlParser.KEYS, 0); +}; +NonReservedContext.prototype.ESCAPED = function () { + return this.getToken(sqlParser.ESCAPED, 0); +}; +NonReservedContext.prototype.LINES = function () { + return this.getToken(sqlParser.LINES, 0); +}; +NonReservedContext.prototype.SEPARATED = function () { + return this.getToken(sqlParser.SEPARATED, 0); +}; +NonReservedContext.prototype.EXTENDED = function () { + return this.getToken(sqlParser.EXTENDED, 0); +}; +NonReservedContext.prototype.REFRESH = function () { + return this.getToken(sqlParser.REFRESH, 0); +}; +NonReservedContext.prototype.CLEAR = function () { + return this.getToken(sqlParser.CLEAR, 0); +}; +NonReservedContext.prototype.CACHE = function () { + return this.getToken(sqlParser.CACHE, 0); +}; +NonReservedContext.prototype.UNCACHE = function () { + return this.getToken(sqlParser.UNCACHE, 0); +}; +NonReservedContext.prototype.LAZY = function () { + return this.getToken(sqlParser.LAZY, 0); +}; +NonReservedContext.prototype.GLOBAL = function () { + return this.getToken(sqlParser.GLOBAL, 0); +}; +NonReservedContext.prototype.TEMPORARY = function () { + return this.getToken(sqlParser.TEMPORARY, 0); +}; +NonReservedContext.prototype.OPTIONS = function () { + return this.getToken(sqlParser.OPTIONS, 0); +}; +NonReservedContext.prototype.GROUPING = function () { + return this.getToken(sqlParser.GROUPING, 0); +}; +NonReservedContext.prototype.CUBE = function () { + return this.getToken(sqlParser.CUBE, 0); +}; +NonReservedContext.prototype.ROLLUP = function () { + return this.getToken(sqlParser.ROLLUP, 0); +}; +NonReservedContext.prototype.EXPLAIN = function () { + return this.getToken(sqlParser.EXPLAIN, 0); +}; +NonReservedContext.prototype.FORMAT = function () { + return this.getToken(sqlParser.FORMAT, 0); +}; +NonReservedContext.prototype.LOGICAL = function () { + return this.getToken(sqlParser.LOGICAL, 0); +}; +NonReservedContext.prototype.FORMATTED = function () { + return this.getToken(sqlParser.FORMATTED, 0); +}; +NonReservedContext.prototype.CODEGEN = function () { + return this.getToken(sqlParser.CODEGEN, 0); +}; +NonReservedContext.prototype.COST = function () { + return this.getToken(sqlParser.COST, 0); +}; +NonReservedContext.prototype.TABLESAMPLE = function () { + return this.getToken(sqlParser.TABLESAMPLE, 0); +}; +NonReservedContext.prototype.USE = function () { + return this.getToken(sqlParser.USE, 0); +}; +NonReservedContext.prototype.TO = function () { + return this.getToken(sqlParser.TO, 0); +}; +NonReservedContext.prototype.BUCKET = function () { + return this.getToken(sqlParser.BUCKET, 0); +}; +NonReservedContext.prototype.PERCENTLIT = function () { + return this.getToken(sqlParser.PERCENTLIT, 0); +}; +NonReservedContext.prototype.OUT = function () { + return this.getToken(sqlParser.OUT, 0); +}; +NonReservedContext.prototype.OF = function () { + return this.getToken(sqlParser.OF, 0); +}; +NonReservedContext.prototype.SET = function () { + return this.getToken(sqlParser.SET, 0); +}; +NonReservedContext.prototype.RESET = function () { + return this.getToken(sqlParser.RESET, 0); +}; +NonReservedContext.prototype.VIEW = function () { + return this.getToken(sqlParser.VIEW, 0); +}; +NonReservedContext.prototype.REPLACE = function () { + return this.getToken(sqlParser.REPLACE, 0); +}; +NonReservedContext.prototype.IF = function () { + return this.getToken(sqlParser.IF, 0); +}; +NonReservedContext.prototype.POSITION = function () { + return this.getToken(sqlParser.POSITION, 0); +}; +NonReservedContext.prototype.EXTRACT = function () { + return this.getToken(sqlParser.EXTRACT, 0); +}; +NonReservedContext.prototype.NO = function () { + return this.getToken(sqlParser.NO, 0); +}; +NonReservedContext.prototype.DATA = function () { + return this.getToken(sqlParser.DATA, 0); +}; +NonReservedContext.prototype.START = function () { + return this.getToken(sqlParser.START, 0); +}; +NonReservedContext.prototype.TRANSACTION = function () { + return this.getToken(sqlParser.TRANSACTION, 0); +}; +NonReservedContext.prototype.COMMIT = function () { + return this.getToken(sqlParser.COMMIT, 0); +}; +NonReservedContext.prototype.ROLLBACK = function () { + return this.getToken(sqlParser.ROLLBACK, 0); +}; +NonReservedContext.prototype.IGNORE = function () { + return this.getToken(sqlParser.IGNORE, 0); +}; +NonReservedContext.prototype.SORT = function () { + return this.getToken(sqlParser.SORT, 0); +}; +NonReservedContext.prototype.CLUSTER = function () { + return this.getToken(sqlParser.CLUSTER, 0); +}; +NonReservedContext.prototype.DISTRIBUTE = function () { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; +NonReservedContext.prototype.UNSET = function () { + return this.getToken(sqlParser.UNSET, 0); +}; +NonReservedContext.prototype.TBLPROPERTIES = function () { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; +NonReservedContext.prototype.SKEWED = function () { + return this.getToken(sqlParser.SKEWED, 0); +}; +NonReservedContext.prototype.STORED = function () { + return this.getToken(sqlParser.STORED, 0); +}; +NonReservedContext.prototype.DIRECTORIES = function () { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; +NonReservedContext.prototype.LOCATION = function () { + return this.getToken(sqlParser.LOCATION, 0); +}; +NonReservedContext.prototype.EXCHANGE = function () { + return this.getToken(sqlParser.EXCHANGE, 0); +}; +NonReservedContext.prototype.ARCHIVE = function () { + return this.getToken(sqlParser.ARCHIVE, 0); +}; +NonReservedContext.prototype.UNARCHIVE = function () { + return this.getToken(sqlParser.UNARCHIVE, 0); +}; +NonReservedContext.prototype.FILEFORMAT = function () { + return this.getToken(sqlParser.FILEFORMAT, 0); +}; +NonReservedContext.prototype.TOUCH = function () { + return this.getToken(sqlParser.TOUCH, 0); +}; +NonReservedContext.prototype.COMPACT = function () { + return this.getToken(sqlParser.COMPACT, 0); +}; +NonReservedContext.prototype.CONCATENATE = function () { + return this.getToken(sqlParser.CONCATENATE, 0); +}; +NonReservedContext.prototype.CHANGE = function () { + return this.getToken(sqlParser.CHANGE, 0); +}; +NonReservedContext.prototype.CASCADE = function () { + return this.getToken(sqlParser.CASCADE, 0); +}; +NonReservedContext.prototype.RESTRICT = function () { + return this.getToken(sqlParser.RESTRICT, 0); +}; +NonReservedContext.prototype.BUCKETS = function () { + return this.getToken(sqlParser.BUCKETS, 0); +}; +NonReservedContext.prototype.CLUSTERED = function () { + return this.getToken(sqlParser.CLUSTERED, 0); +}; +NonReservedContext.prototype.SORTED = function () { + return this.getToken(sqlParser.SORTED, 0); +}; +NonReservedContext.prototype.PURGE = function () { + return this.getToken(sqlParser.PURGE, 0); +}; +NonReservedContext.prototype.INPUTFORMAT = function () { + return this.getToken(sqlParser.INPUTFORMAT, 0); +}; +NonReservedContext.prototype.OUTPUTFORMAT = function () { + return this.getToken(sqlParser.OUTPUTFORMAT, 0); +}; +NonReservedContext.prototype.DBPROPERTIES = function () { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; +NonReservedContext.prototype.DFS = function () { + return this.getToken(sqlParser.DFS, 0); +}; +NonReservedContext.prototype.TRUNCATE = function () { + return this.getToken(sqlParser.TRUNCATE, 0); +}; +NonReservedContext.prototype.COMPUTE = function () { + return this.getToken(sqlParser.COMPUTE, 0); +}; +NonReservedContext.prototype.LIST = function () { + return this.getToken(sqlParser.LIST, 0); +}; +NonReservedContext.prototype.STATISTICS = function () { + return this.getToken(sqlParser.STATISTICS, 0); +}; +NonReservedContext.prototype.ANALYZE = function () { + return this.getToken(sqlParser.ANALYZE, 0); +}; +NonReservedContext.prototype.PARTITIONED = function () { + return this.getToken(sqlParser.PARTITIONED, 0); +}; +NonReservedContext.prototype.EXTERNAL = function () { + return this.getToken(sqlParser.EXTERNAL, 0); +}; +NonReservedContext.prototype.DEFINED = function () { + return this.getToken(sqlParser.DEFINED, 0); +}; +NonReservedContext.prototype.RECORDWRITER = function () { + return this.getToken(sqlParser.RECORDWRITER, 0); +}; +NonReservedContext.prototype.REVOKE = function () { + return this.getToken(sqlParser.REVOKE, 0); +}; +NonReservedContext.prototype.GRANT = function () { + return this.getToken(sqlParser.GRANT, 0); +}; +NonReservedContext.prototype.LOCK = function () { + return this.getToken(sqlParser.LOCK, 0); +}; +NonReservedContext.prototype.UNLOCK = function () { + return this.getToken(sqlParser.UNLOCK, 0); +}; +NonReservedContext.prototype.MSCK = function () { + return this.getToken(sqlParser.MSCK, 0); +}; +NonReservedContext.prototype.REPAIR = function () { + return this.getToken(sqlParser.REPAIR, 0); +}; +NonReservedContext.prototype.RECOVER = function () { + return this.getToken(sqlParser.RECOVER, 0); +}; +NonReservedContext.prototype.EXPORT = function () { + return this.getToken(sqlParser.EXPORT, 0); +}; +NonReservedContext.prototype.IMPORT = function () { + return this.getToken(sqlParser.IMPORT, 0); +}; +NonReservedContext.prototype.LOAD = function () { + return this.getToken(sqlParser.LOAD, 0); +}; +NonReservedContext.prototype.VALUES = function () { + return this.getToken(sqlParser.VALUES, 0); +}; +NonReservedContext.prototype.COMMENT = function () { + return this.getToken(sqlParser.COMMENT, 0); +}; +NonReservedContext.prototype.ROLE = function () { + return this.getToken(sqlParser.ROLE, 0); +}; +NonReservedContext.prototype.ROLES = function () { + return this.getToken(sqlParser.ROLES, 0); +}; +NonReservedContext.prototype.COMPACTIONS = function () { + return this.getToken(sqlParser.COMPACTIONS, 0); +}; +NonReservedContext.prototype.PRINCIPALS = function () { + return this.getToken(sqlParser.PRINCIPALS, 0); +}; +NonReservedContext.prototype.TRANSACTIONS = function () { + return this.getToken(sqlParser.TRANSACTIONS, 0); +}; +NonReservedContext.prototype.INDEX = function () { + return this.getToken(sqlParser.INDEX, 0); +}; +NonReservedContext.prototype.INDEXES = function () { + return this.getToken(sqlParser.INDEXES, 0); +}; +NonReservedContext.prototype.LOCKS = function () { + return this.getToken(sqlParser.LOCKS, 0); +}; +NonReservedContext.prototype.OPTION = function () { + return this.getToken(sqlParser.OPTION, 0); +}; +NonReservedContext.prototype.LOCAL = function () { + return this.getToken(sqlParser.LOCAL, 0); +}; +NonReservedContext.prototype.INPATH = function () { + return this.getToken(sqlParser.INPATH, 0); +}; +NonReservedContext.prototype.ASC = function () { + return this.getToken(sqlParser.ASC, 0); +}; +NonReservedContext.prototype.DESC = function () { + return this.getToken(sqlParser.DESC, 0); +}; +NonReservedContext.prototype.LIMIT = function () { + return this.getToken(sqlParser.LIMIT, 0); +}; +NonReservedContext.prototype.RENAME = function () { + return this.getToken(sqlParser.RENAME, 0); +}; +NonReservedContext.prototype.SETS = function () { + return this.getToken(sqlParser.SETS, 0); +}; +NonReservedContext.prototype.AT = function () { + return this.getToken(sqlParser.AT, 0); +}; +NonReservedContext.prototype.NULLS = function () { + return this.getToken(sqlParser.NULLS, 0); +}; +NonReservedContext.prototype.OVERWRITE = function () { + return this.getToken(sqlParser.OVERWRITE, 0); +}; +NonReservedContext.prototype.ALL = function () { + return this.getToken(sqlParser.ALL, 0); +}; +NonReservedContext.prototype.ANY = function () { + return this.getToken(sqlParser.ANY, 0); +}; +NonReservedContext.prototype.ALTER = function () { + return this.getToken(sqlParser.ALTER, 0); +}; +NonReservedContext.prototype.AS = function () { + return this.getToken(sqlParser.AS, 0); +}; +NonReservedContext.prototype.BETWEEN = function () { + return this.getToken(sqlParser.BETWEEN, 0); +}; +NonReservedContext.prototype.BY = function () { + return this.getToken(sqlParser.BY, 0); +}; +NonReservedContext.prototype.CREATE = function () { + return this.getToken(sqlParser.CREATE, 0); +}; +NonReservedContext.prototype.DELETE = function () { + return this.getToken(sqlParser.DELETE, 0); +}; +NonReservedContext.prototype.DESCRIBE = function () { + return this.getToken(sqlParser.DESCRIBE, 0); +}; +NonReservedContext.prototype.DROP = function () { + return this.getToken(sqlParser.DROP, 0); +}; +NonReservedContext.prototype.EXISTS = function () { + return this.getToken(sqlParser.EXISTS, 0); +}; +NonReservedContext.prototype.FALSE = function () { + return this.getToken(sqlParser.FALSE, 0); +}; +NonReservedContext.prototype.FOR = function () { + return this.getToken(sqlParser.FOR, 0); +}; +NonReservedContext.prototype.GROUP = function () { + return this.getToken(sqlParser.GROUP, 0); +}; +NonReservedContext.prototype.IN = function () { + return this.getToken(sqlParser.IN, 0); +}; +NonReservedContext.prototype.INSERT = function () { + return this.getToken(sqlParser.INSERT, 0); +}; +NonReservedContext.prototype.INTO = function () { + return this.getToken(sqlParser.INTO, 0); +}; +NonReservedContext.prototype.IS = function () { + return this.getToken(sqlParser.IS, 0); +}; +NonReservedContext.prototype.LIKE = function () { + return this.getToken(sqlParser.LIKE, 0); +}; +NonReservedContext.prototype.NULL = function () { + return this.getToken(sqlParser.NULL, 0); +}; +NonReservedContext.prototype.ORDER = function () { + return this.getToken(sqlParser.ORDER, 0); +}; +NonReservedContext.prototype.OUTER = function () { + return this.getToken(sqlParser.OUTER, 0); +}; +NonReservedContext.prototype.TABLE = function () { + return this.getToken(sqlParser.TABLE, 0); +}; +NonReservedContext.prototype.TRUE = function () { + return this.getToken(sqlParser.TRUE, 0); +}; +NonReservedContext.prototype.WITH = function () { + return this.getToken(sqlParser.WITH, 0); +}; +NonReservedContext.prototype.RLIKE = function () { + return this.getToken(sqlParser.RLIKE, 0); +}; +NonReservedContext.prototype.AND = function () { + return this.getToken(sqlParser.AND, 0); +}; +NonReservedContext.prototype.CASE = function () { + return this.getToken(sqlParser.CASE, 0); +}; +NonReservedContext.prototype.CAST = function () { + return this.getToken(sqlParser.CAST, 0); +}; +NonReservedContext.prototype.DISTINCT = function () { + return this.getToken(sqlParser.DISTINCT, 0); +}; +NonReservedContext.prototype.DIV = function () { + return this.getToken(sqlParser.DIV, 0); +}; +NonReservedContext.prototype.ELSE = function () { + return this.getToken(sqlParser.ELSE, 0); +}; +NonReservedContext.prototype.END = function () { + return this.getToken(sqlParser.END, 0); +}; +NonReservedContext.prototype.FUNCTION = function () { + return this.getToken(sqlParser.FUNCTION, 0); +}; +NonReservedContext.prototype.INTERVAL = function () { + return this.getToken(sqlParser.INTERVAL, 0); +}; +NonReservedContext.prototype.MACRO = function () { + return this.getToken(sqlParser.MACRO, 0); +}; +NonReservedContext.prototype.OR = function () { + return this.getToken(sqlParser.OR, 0); +}; +NonReservedContext.prototype.STRATIFY = function () { + return this.getToken(sqlParser.STRATIFY, 0); +}; +NonReservedContext.prototype.THEN = function () { + return this.getToken(sqlParser.THEN, 0); +}; +NonReservedContext.prototype.UNBOUNDED = function () { + return this.getToken(sqlParser.UNBOUNDED, 0); +}; +NonReservedContext.prototype.WHEN = function () { + return this.getToken(sqlParser.WHEN, 0); +}; +NonReservedContext.prototype.DATABASE = function () { + return this.getToken(sqlParser.DATABASE, 0); +}; +NonReservedContext.prototype.SELECT = function () { + return this.getToken(sqlParser.SELECT, 0); +}; +NonReservedContext.prototype.FROM = function () { + return this.getToken(sqlParser.FROM, 0); +}; +NonReservedContext.prototype.WHERE = function () { + return this.getToken(sqlParser.WHERE, 0); +}; +NonReservedContext.prototype.HAVING = function () { + return this.getToken(sqlParser.HAVING, 0); +}; +NonReservedContext.prototype.NOT = function () { + return this.getToken(sqlParser.NOT, 0); +}; +NonReservedContext.prototype.DIRECTORY = function () { + return this.getToken(sqlParser.DIRECTORY, 0); +}; +NonReservedContext.prototype.BOTH = function () { + return this.getToken(sqlParser.BOTH, 0); +}; +NonReservedContext.prototype.LEADING = function () { + return this.getToken(sqlParser.LEADING, 0); +}; +NonReservedContext.prototype.TRAILING = function () { + return this.getToken(sqlParser.TRAILING, 0); +}; +NonReservedContext.prototype.enterRule = function (listener) { + if (listener instanceof sqlListener) { + listener.enterNonReserved(this); + } +}; +NonReservedContext.prototype.exitRule = function (listener) { + if (listener instanceof sqlListener) { + listener.exitNonReserved(this); + } +}; +NonReservedContext.prototype.accept = function (visitor) { + if (visitor instanceof sqlVisitor) { + return visitor.visitNonReserved(this); + } + else { + return visitor.visitChildren(this); + } +}; +sqlParser.NonReservedContext = NonReservedContext; +sqlParser.prototype.nonReserved = function () { + var localctx = new NonReservedContext(this, this._ctx, this.state); + this.enterRule(localctx, 204, sqlParser.RULE_nonReserved); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2508; + _la = this._input.LA(1); + if (!((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + catch (re) { + if (re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } + else { + throw re; + } + } + finally { + this.exitRule(); + } + return localctx; +}; +sqlParser.prototype.sempred = function (localctx, ruleIndex, predIndex) { + switch (ruleIndex) { + case 35: + return this.queryTerm_sempred(localctx, predIndex); + case 71: + return this.booleanExpression_sempred(localctx, predIndex); + case 73: + return this.valueExpression_sempred(localctx, predIndex); + case 74: + return this.primaryExpression_sempred(localctx, predIndex); + default: + throw "No predicate with index:" + ruleIndex; + } +}; +sqlParser.prototype.queryTerm_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 0: + return this.precpred(this._ctx, 3); + case 1: + return this.legacy_setops_precedence_enbled; + case 2: + return this.precpred(this._ctx, 2); + case 3: + return !this.legacy_setops_precedence_enbled; + case 4: + return this.precpred(this._ctx, 1); + case 5: + return !this.legacy_setops_precedence_enbled; + default: + throw "No predicate with index:" + predIndex; + } +}; +sqlParser.prototype.booleanExpression_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 6: + return this.precpred(this._ctx, 2); + case 7: + return this.precpred(this._ctx, 1); + default: + throw "No predicate with index:" + predIndex; + } +}; +sqlParser.prototype.valueExpression_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 8: + return this.precpred(this._ctx, 6); + case 9: + return this.precpred(this._ctx, 5); + case 10: + return this.precpred(this._ctx, 4); + case 11: + return this.precpred(this._ctx, 3); + case 12: + return this.precpred(this._ctx, 2); + case 13: + return this.precpred(this._ctx, 1); + default: + throw "No predicate with index:" + predIndex; + } +}; +sqlParser.prototype.primaryExpression_sempred = function (localctx, predIndex) { + switch (predIndex) { + case 14: + return this.precpred(this._ctx, 5); + case 15: + return this.precpred(this._ctx, 3); + default: + throw "No predicate with index:" + predIndex; + } +}; +exports.sqlParser = sqlParser; diff --git a/lib/antlr4/flinksql/sqlVisitor.js b/lib/antlr4/flinksql/sqlVisitor.js new file mode 100644 index 0000000..abb4def --- /dev/null +++ b/lib/antlr4/flinksql/sqlVisitor.js @@ -0,0 +1,839 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); +// This class defines a complete generic visitor for a parse tree produced by sqlParser. +function sqlVisitor() { + antlr4.tree.ParseTreeVisitor.call(this); + return this; +} +sqlVisitor.prototype = Object.create(antlr4.tree.ParseTreeVisitor.prototype); +sqlVisitor.prototype.constructor = sqlVisitor; +// Visit a parse tree produced by sqlParser#singleStatement. +sqlVisitor.prototype.visitSingleStatement = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleExpression. +sqlVisitor.prototype.visitSingleExpression = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleTableIdentifier. +sqlVisitor.prototype.visitSingleTableIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlVisitor.prototype.visitSingleFunctionIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleDataType. +sqlVisitor.prototype.visitSingleDataType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleTableSchema. +sqlVisitor.prototype.visitSingleTableSchema = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#statementDefault. +sqlVisitor.prototype.visitStatementDefault = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#use. +sqlVisitor.prototype.visitUse = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createDatabase. +sqlVisitor.prototype.visitCreateDatabase = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setDatabaseProperties. +sqlVisitor.prototype.visitSetDatabaseProperties = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dropDatabase. +sqlVisitor.prototype.visitDropDatabase = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createTable. +sqlVisitor.prototype.visitCreateTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createHiveTable. +sqlVisitor.prototype.visitCreateHiveTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createFlinkTable. +sqlVisitor.prototype.visitCreateFlinkTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createTableLike. +sqlVisitor.prototype.visitCreateTableLike = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#analyze. +sqlVisitor.prototype.visitAnalyze = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#addTableColumns. +sqlVisitor.prototype.visitAddTableColumns = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#renameTable. +sqlVisitor.prototype.visitRenameTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setTableProperties. +sqlVisitor.prototype.visitSetTableProperties = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#unsetTableProperties. +sqlVisitor.prototype.visitUnsetTableProperties = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#changeColumn. +sqlVisitor.prototype.visitChangeColumn = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setTableSerDe. +sqlVisitor.prototype.visitSetTableSerDe = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#addTablePartition. +sqlVisitor.prototype.visitAddTablePartition = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#renameTablePartition. +sqlVisitor.prototype.visitRenameTablePartition = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dropTablePartitions. +sqlVisitor.prototype.visitDropTablePartitions = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setTableLocation. +sqlVisitor.prototype.visitSetTableLocation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#recoverPartitions. +sqlVisitor.prototype.visitRecoverPartitions = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dropTable. +sqlVisitor.prototype.visitDropTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createView. +sqlVisitor.prototype.visitCreateView = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createTempViewUsing. +sqlVisitor.prototype.visitCreateTempViewUsing = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#alterViewQuery. +sqlVisitor.prototype.visitAlterViewQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createFunction. +sqlVisitor.prototype.visitCreateFunction = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dropFunction. +sqlVisitor.prototype.visitDropFunction = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#explain. +sqlVisitor.prototype.visitExplain = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showTables. +sqlVisitor.prototype.visitShowTables = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showTable. +sqlVisitor.prototype.visitShowTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showDatabases. +sqlVisitor.prototype.visitShowDatabases = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showTblProperties. +sqlVisitor.prototype.visitShowTblProperties = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showColumns. +sqlVisitor.prototype.visitShowColumns = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showPartitions. +sqlVisitor.prototype.visitShowPartitions = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showFunctions. +sqlVisitor.prototype.visitShowFunctions = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#showCreateTable. +sqlVisitor.prototype.visitShowCreateTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#describeFunction. +sqlVisitor.prototype.visitDescribeFunction = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#describeDatabase. +sqlVisitor.prototype.visitDescribeDatabase = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#describeTable. +sqlVisitor.prototype.visitDescribeTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#refreshTable. +sqlVisitor.prototype.visitRefreshTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#refreshResource. +sqlVisitor.prototype.visitRefreshResource = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#cacheTable. +sqlVisitor.prototype.visitCacheTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#uncacheTable. +sqlVisitor.prototype.visitUncacheTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#clearCache. +sqlVisitor.prototype.visitClearCache = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#loadData. +sqlVisitor.prototype.visitLoadData = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#truncateTable. +sqlVisitor.prototype.visitTruncateTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#repairTable. +sqlVisitor.prototype.visitRepairTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#manageResource. +sqlVisitor.prototype.visitManageResource = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#failNativeCommand. +sqlVisitor.prototype.visitFailNativeCommand = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setConfiguration. +sqlVisitor.prototype.visitSetConfiguration = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#resetConfiguration. +sqlVisitor.prototype.visitResetConfiguration = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlVisitor.prototype.visitUnsupportedHiveNativeCommands = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createTableHeader. +sqlVisitor.prototype.visitCreateTableHeader = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#bucketSpec. +sqlVisitor.prototype.visitBucketSpec = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#skewSpec. +sqlVisitor.prototype.visitSkewSpec = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#locationSpec. +sqlVisitor.prototype.visitLocationSpec = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#query. +sqlVisitor.prototype.visitQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#insertOverwriteTable. +sqlVisitor.prototype.visitInsertOverwriteTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#insertIntoTable. +sqlVisitor.prototype.visitInsertIntoTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlVisitor.prototype.visitInsertOverwriteHiveDir = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#insertOverwriteDir. +sqlVisitor.prototype.visitInsertOverwriteDir = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#partitionSpecLocation. +sqlVisitor.prototype.visitPartitionSpecLocation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#partitionSpec. +sqlVisitor.prototype.visitPartitionSpec = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#partitionVal. +sqlVisitor.prototype.visitPartitionVal = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#describeFuncName. +sqlVisitor.prototype.visitDescribeFuncName = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#describeColName. +sqlVisitor.prototype.visitDescribeColName = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#ctes. +sqlVisitor.prototype.visitCtes = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#namedQuery. +sqlVisitor.prototype.visitNamedQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableProvider. +sqlVisitor.prototype.visitTableProvider = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tablePropertyList. +sqlVisitor.prototype.visitTablePropertyList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableProperty. +sqlVisitor.prototype.visitTableProperty = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tablePropertyKey. +sqlVisitor.prototype.visitTablePropertyKey = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tablePropertyValue. +sqlVisitor.prototype.visitTablePropertyValue = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#constantList. +sqlVisitor.prototype.visitConstantList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#nestedConstantList. +sqlVisitor.prototype.visitNestedConstantList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#createFileFormat. +sqlVisitor.prototype.visitCreateFileFormat = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableFileFormat. +sqlVisitor.prototype.visitTableFileFormat = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#genericFileFormat. +sqlVisitor.prototype.visitGenericFileFormat = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#storageHandler. +sqlVisitor.prototype.visitStorageHandler = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#resource. +sqlVisitor.prototype.visitResource = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#singleInsertQuery. +sqlVisitor.prototype.visitSingleInsertQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#multiInsertQuery. +sqlVisitor.prototype.visitMultiInsertQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#queryOrganization. +sqlVisitor.prototype.visitQueryOrganization = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#multiInsertQueryBody. +sqlVisitor.prototype.visitMultiInsertQueryBody = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#queryTermDefault. +sqlVisitor.prototype.visitQueryTermDefault = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setOperation. +sqlVisitor.prototype.visitSetOperation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#queryPrimaryDefault. +sqlVisitor.prototype.visitQueryPrimaryDefault = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#table. +sqlVisitor.prototype.visitTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#inlineTableDefault1. +sqlVisitor.prototype.visitInlineTableDefault1 = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#subquery. +sqlVisitor.prototype.visitSubquery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sortItem. +sqlVisitor.prototype.visitSortItem = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#querySpecification. +sqlVisitor.prototype.visitQuerySpecification = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#hint. +sqlVisitor.prototype.visitHint = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#hintStatement. +sqlVisitor.prototype.visitHintStatement = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#fromClause. +sqlVisitor.prototype.visitFromClause = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#aggregation. +sqlVisitor.prototype.visitAggregation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#groupingSet. +sqlVisitor.prototype.visitGroupingSet = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#pivotClause. +sqlVisitor.prototype.visitPivotClause = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#pivotColumn. +sqlVisitor.prototype.visitPivotColumn = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#pivotValue. +sqlVisitor.prototype.visitPivotValue = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#lateralView. +sqlVisitor.prototype.visitLateralView = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#setQuantifier. +sqlVisitor.prototype.visitSetQuantifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#relation. +sqlVisitor.prototype.visitRelation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#joinRelation. +sqlVisitor.prototype.visitJoinRelation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#joinType. +sqlVisitor.prototype.visitJoinType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#joinCriteria. +sqlVisitor.prototype.visitJoinCriteria = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sample. +sqlVisitor.prototype.visitSample = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sampleByPercentile. +sqlVisitor.prototype.visitSampleByPercentile = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sampleByRows. +sqlVisitor.prototype.visitSampleByRows = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sampleByBucket. +sqlVisitor.prototype.visitSampleByBucket = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#sampleByBytes. +sqlVisitor.prototype.visitSampleByBytes = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#identifierList. +sqlVisitor.prototype.visitIdentifierList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#identifierSeq. +sqlVisitor.prototype.visitIdentifierSeq = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#orderedIdentifierList. +sqlVisitor.prototype.visitOrderedIdentifierList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#orderedIdentifier. +sqlVisitor.prototype.visitOrderedIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#identifierCommentList. +sqlVisitor.prototype.visitIdentifierCommentList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#identifierComment. +sqlVisitor.prototype.visitIdentifierComment = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableName. +sqlVisitor.prototype.visitTableName = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#aliasedQuery. +sqlVisitor.prototype.visitAliasedQuery = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#aliasedRelation. +sqlVisitor.prototype.visitAliasedRelation = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#inlineTableDefault2. +sqlVisitor.prototype.visitInlineTableDefault2 = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableValuedFunction. +sqlVisitor.prototype.visitTableValuedFunction = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#inlineTable. +sqlVisitor.prototype.visitInlineTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#functionTable. +sqlVisitor.prototype.visitFunctionTable = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableAlias. +sqlVisitor.prototype.visitTableAlias = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#rowFormatSerde. +sqlVisitor.prototype.visitRowFormatSerde = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#rowFormatDelimited. +sqlVisitor.prototype.visitRowFormatDelimited = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tableIdentifier. +sqlVisitor.prototype.visitTableIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#functionIdentifier. +sqlVisitor.prototype.visitFunctionIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#namedExpression. +sqlVisitor.prototype.visitNamedExpression = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#namedExpressionSeq. +sqlVisitor.prototype.visitNamedExpressionSeq = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#expression. +sqlVisitor.prototype.visitExpression = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#logicalNot. +sqlVisitor.prototype.visitLogicalNot = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#predicated. +sqlVisitor.prototype.visitPredicated = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#exists. +sqlVisitor.prototype.visitExists = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#logicalBinary. +sqlVisitor.prototype.visitLogicalBinary = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#predicate. +sqlVisitor.prototype.visitPredicate = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#valueExpressionDefault. +sqlVisitor.prototype.visitValueExpressionDefault = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#comparison. +sqlVisitor.prototype.visitComparison = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#arithmeticBinary. +sqlVisitor.prototype.visitArithmeticBinary = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#arithmeticUnary. +sqlVisitor.prototype.visitArithmeticUnary = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#struct. +sqlVisitor.prototype.visitStruct = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dereference. +sqlVisitor.prototype.visitDereference = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#simpleCase. +sqlVisitor.prototype.visitSimpleCase = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#columnReference. +sqlVisitor.prototype.visitColumnReference = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#rowConstructor. +sqlVisitor.prototype.visitRowConstructor = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#last. +sqlVisitor.prototype.visitLast = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#star. +sqlVisitor.prototype.visitStar = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#subscript. +sqlVisitor.prototype.visitSubscript = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#subqueryExpression. +sqlVisitor.prototype.visitSubqueryExpression = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#cast. +sqlVisitor.prototype.visitCast = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#constantDefault. +sqlVisitor.prototype.visitConstantDefault = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#lambda. +sqlVisitor.prototype.visitLambda = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#parenthesizedExpression. +sqlVisitor.prototype.visitParenthesizedExpression = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#extract. +sqlVisitor.prototype.visitExtract = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#functionCall. +sqlVisitor.prototype.visitFunctionCall = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#searchedCase. +sqlVisitor.prototype.visitSearchedCase = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#position. +sqlVisitor.prototype.visitPosition = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#first. +sqlVisitor.prototype.visitFirst = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#nullLiteral. +sqlVisitor.prototype.visitNullLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#intervalLiteral. +sqlVisitor.prototype.visitIntervalLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#typeConstructor. +sqlVisitor.prototype.visitTypeConstructor = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#numericLiteral. +sqlVisitor.prototype.visitNumericLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#booleanLiteral. +sqlVisitor.prototype.visitBooleanLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#stringLiteral. +sqlVisitor.prototype.visitStringLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#comparisonOperator. +sqlVisitor.prototype.visitComparisonOperator = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#arithmeticOperator. +sqlVisitor.prototype.visitArithmeticOperator = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#predicateOperator. +sqlVisitor.prototype.visitPredicateOperator = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#booleanValue. +sqlVisitor.prototype.visitBooleanValue = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#interval. +sqlVisitor.prototype.visitInterval = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#intervalField. +sqlVisitor.prototype.visitIntervalField = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#intervalValue. +sqlVisitor.prototype.visitIntervalValue = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#colPosition. +sqlVisitor.prototype.visitColPosition = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#complexDataType. +sqlVisitor.prototype.visitComplexDataType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#primitiveDataType. +sqlVisitor.prototype.visitPrimitiveDataType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#colTypeList. +sqlVisitor.prototype.visitColTypeList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#colType. +sqlVisitor.prototype.visitColType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dtColTypeList. +sqlVisitor.prototype.visitDtColTypeList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#dtColType. +sqlVisitor.prototype.visitDtColType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#complexColTypeList. +sqlVisitor.prototype.visitComplexColTypeList = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#complexColType. +sqlVisitor.prototype.visitComplexColType = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#whenClause. +sqlVisitor.prototype.visitWhenClause = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#windows. +sqlVisitor.prototype.visitWindows = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#namedWindow. +sqlVisitor.prototype.visitNamedWindow = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#windowRef. +sqlVisitor.prototype.visitWindowRef = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#windowDef. +sqlVisitor.prototype.visitWindowDef = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#windowFrame. +sqlVisitor.prototype.visitWindowFrame = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#frameBound. +sqlVisitor.prototype.visitFrameBound = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#qualifiedName. +sqlVisitor.prototype.visitQualifiedName = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#identifier. +sqlVisitor.prototype.visitIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#unquotedIdentifier. +sqlVisitor.prototype.visitUnquotedIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlVisitor.prototype.visitQuotedIdentifierAlternative = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#quotedIdentifier. +sqlVisitor.prototype.visitQuotedIdentifier = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#decimalLiteral. +sqlVisitor.prototype.visitDecimalLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#integerLiteral. +sqlVisitor.prototype.visitIntegerLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#bigIntLiteral. +sqlVisitor.prototype.visitBigIntLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#smallIntLiteral. +sqlVisitor.prototype.visitSmallIntLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#tinyIntLiteral. +sqlVisitor.prototype.visitTinyIntLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#doubleLiteral. +sqlVisitor.prototype.visitDoubleLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#bigDecimalLiteral. +sqlVisitor.prototype.visitBigDecimalLiteral = function (ctx) { + return this.visitChildren(ctx); +}; +// Visit a parse tree produced by sqlParser#nonReserved. +sqlVisitor.prototype.visitNonReserved = function (ctx) { + return this.visitChildren(ctx); +}; +exports.sqlVisitor = sqlVisitor; diff --git a/lib/index.js b/lib/index.js index b9e71c7..c7b46fe 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,3 +4,5 @@ const parser = require("./lib/parser"); exports.parser = parser; const filter = require("./lib/filter"); exports.filter = filter; +const flinkParser_1 = require("./lib/flinkParser"); +exports.flinksqlParser = flinkParser_1.default; diff --git a/lib/lib/flinkParser.js b/lib/lib/flinkParser.js new file mode 100644 index 0000000..8fd8ccd --- /dev/null +++ b/lib/lib/flinkParser.js @@ -0,0 +1,49 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const antlr4 = require("antlr4"); +const error_1 = require("antlr4/error"); +const sqlLexer_1 = require("../antlr4/flinksql/sqlLexer"); +const sqlParser_1 = require("../antlr4/flinksql/sqlParser"); +const utils_1 = require("../utils"); +class SqlErrorListener extends error_1.ErrorListener { + constructor() { + super(...arguments); + this.error = null; + } + syntaxError(recognizer, offendingSymbol, line, charPositionInLine, msg, e) { + this.error = { + line, + column: charPositionInLine, + token: offendingSymbol, + errorMsg: msg + }; + } +} +function parserSingle(sql) { + const inputStream = new antlr4.InputStream(sql.toUpperCase()); + const lexer = new sqlLexer_1.sqlLexer(inputStream); + const tokenStream = new antlr4.CommonTokenStream(lexer); + const parser = new sqlParser_1.sqlParser(tokenStream); + parser.buildParseTrees = true; + let listener = new SqlErrorListener(); + parser.addErrorListener(listener); + parser.singleStatement(); + return listener.error; +} +function parserSyntax(sql) { + let runSql = typeof sql == 'string' ? sql : sql.join(''); + const sqls = utils_1.splitSql(runSql); + for (let i = 0, index = 0; i < sqls.length; i++) { + /** + * 这边不取分号 + */ + let sql = new Array(index).fill(' ').join('') + runSql.substring(index, sqls[i]); + let err = parserSingle(sql); + if (err) { + return err; + } + index = sqls[i] + 1; + } + return null; +} +exports.default = parserSyntax; diff --git a/lib/utils/index.js b/lib/utils/index.js index 85555c7..adb240f 100644 --- a/lib/utils/index.js +++ b/lib/utils/index.js @@ -19,3 +19,94 @@ function replaceStrFormIndexArr(str, replaceStr, indexArr) { return result; } exports.replaceStrFormIndexArr = replaceStrFormIndexArr; +function splitSql(sql) { + let haveEnd = true; + if (!sql.endsWith(';')) { + sql += ';'; + haveEnd = false; + } + // 处理引号 + function quoteToken(parser, sql) { + let queue = parser.queue; + let endsWith = queue[queue.length - 1]; + if (endsWith == '\'' || endsWith == '"') { + let nextToken = sql.indexOf(endsWith, parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken; + parser.queue = ''; + } + else { + parser.index = sql.length - 1; + } + } + else { + return null; + } + } + // 处理单行注释 + function singleLineCommentToken(parser, sql) { + let queue = parser.queue; + if (queue.endsWith('--')) { + let nextToken = sql.indexOf('\n', parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken; + queue = ''; + } + else { + parser.index = sql.length - 1; + } + } + else { + return null; + } + } + // 处理多行注释 + function multipleLineCommentToken(parser, sql) { + let queue = parser.queue; + if (queue.endsWith('/*')) { + let nextToken = sql.indexOf('*/', parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken + 1; + parser.queue = ''; + } + else { + parser.index = sql.length - 1; + parser.queue = ''; + } + } + else { + return null; + } + } + function splitToken(parser, sql) { + let queue = parser.queue; + if (queue.endsWith(';')) { + if (!haveEnd && parser.index == sql.length - 1) { + parser.sqls.push(parser.index - 1); + queue = ''; + } + else { + parser.sqls.push(parser.index); + queue = ''; + } + } + else { + return null; + } + } + let parser = { + index: 0, + queue: '', + sqls: [] + }; + for (parser.index = 0; parser.index < sql.length; parser.index++) { + let char = sql[parser.index]; + parser.queue += char; + let tokenFuncs = [quoteToken, singleLineCommentToken, multipleLineCommentToken, splitToken]; + for (let i = 0; i < tokenFuncs.length; i++) { + tokenFuncs[i](parser, sql); + } + } + return parser.sqls; +} +exports.splitSql = splitSql; diff --git a/package.json b/package.json index 47ffe91..b0e625a 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,13 @@ "@types/jest": "^24.0.13", "jest": "^24.8.0", "node-query": "^0.3.3", - "pegjs": "^0.10.0" + "pegjs": "^0.10.0", + "ts-jest": "^24.1.0", + "typescript": "^3.6.3" }, "git repository": "https://github.com/HSunboy/dt-sql-parser", - "dependencies": {} + "dependencies": { + "@types/antlr4": "^4.7.0", + "antlr4": "^4.7.2" + } } diff --git a/src/antlr4/flinksql/sql.interp b/src/antlr4/flinksql/sql.interp new file mode 100644 index 0000000..084bc41 --- /dev/null +++ b/src/antlr4/flinksql/sql.interp @@ -0,0 +1,624 @@ +token literal names: +null +'(' +')' +'.' +',' +'/*+' +'*/' +'->' +'[' +']' +':' +'SELECT' +'FROM' +'ADD' +'AS' +'ALL' +'ANY' +'DISTINCT' +'WHERE' +'GROUP' +'BY' +'GROUPING' +'SETS' +'CUBE' +'ROLLUP' +'ORDER' +'HAVING' +'LIMIT' +'AT' +'OR' +'AND' +'IN' +null +'NO' +'EXISTS' +'BETWEEN' +'LIKE' +null +'IS' +'NULL' +'TRUE' +'FALSE' +'NULLS' +'ASC' +'DESC' +'FOR' +'INTERVAL' +'CASE' +'WHEN' +'THEN' +'ELSE' +'END' +'JOIN' +'CROSS' +'OUTER' +'INNER' +'LEFT' +'SEMI' +'RIGHT' +'FULL' +'NATURAL' +'ON' +'PIVOT' +'LATERAL' +'WINDOW' +'OVER' +'PARTITION' +'RANGE' +'ROWS' +'UNBOUNDED' +'PRECEDING' +'FOLLOWING' +'CURRENT' +'FIRST' +'AFTER' +'LAST' +'ROW' +'WITH' +'VALUES' +'CREATE' +'TABLE' +'DIRECTORY' +'VIEW' +'REPLACE' +'INSERT' +'DELETE' +'INTO' +'DESCRIBE' +'EXPLAIN' +'FORMAT' +'LOGICAL' +'CODEGEN' +'COST' +'CAST' +'SHOW' +'TABLES' +'COLUMNS' +'COLUMN' +'USE' +'PARTITIONS' +'FUNCTIONS' +'DROP' +'UNION' +'EXCEPT' +'MINUS' +'INTERSECT' +'TO' +'TABLESAMPLE' +'STRATIFY' +'ALTER' +'RENAME' +'ARRAY' +'MAP' +'STRUCT' +'COMMENT' +'SET' +'RESET' +'DATA' +'START' +'TRANSACTION' +'COMMIT' +'ROLLBACK' +'MACRO' +'IGNORE' +'BOTH' +'LEADING' +'TRAILING' +'IF' +'POSITION' +'EXTRACT' +null +'<=>' +'<>' +'!=' +'<' +null +'>' +null +'+' +'-' +'*' +'/' +'%' +'DIV' +'~' +'&' +'|' +'||' +'^' +'PERCENT' +'BUCKET' +'OUT' +'OF' +'SORT' +'CLUSTER' +'DISTRIBUTE' +'OVERWRITE' +'TRANSFORM' +'REDUCE' +'USING' +'SERDE' +'SERDEPROPERTIES' +'RECORDREADER' +'RECORDWRITER' +'DELIMITED' +'FIELDS' +'TERMINATED' +'COLLECTION' +'ITEMS' +'KEYS' +'ESCAPED' +'LINES' +'SEPARATED' +'FUNCTION' +'EXTENDED' +'REFRESH' +'CLEAR' +'CACHE' +'UNCACHE' +'LAZY' +'FORMATTED' +'GLOBAL' +null +'OPTIONS' +'UNSET' +'TBLPROPERTIES' +'DBPROPERTIES' +'BUCKETS' +'SKEWED' +'STORED' +'DIRECTORIES' +'LOCATION' +'EXCHANGE' +'ARCHIVE' +'UNARCHIVE' +'FILEFORMAT' +'TOUCH' +'COMPACT' +'CONCATENATE' +'CHANGE' +'CASCADE' +'RESTRICT' +'CLUSTERED' +'SORTED' +'PURGE' +'INPUTFORMAT' +'OUTPUTFORMAT' +null +null +'DFS' +'TRUNCATE' +'ANALYZE' +'COMPUTE' +'LIST' +'STATISTICS' +'PARTITIONED' +'EXTERNAL' +'DEFINED' +'REVOKE' +'GRANT' +'LOCK' +'UNLOCK' +'MSCK' +'REPAIR' +'RECOVER' +'EXPORT' +'IMPORT' +'LOAD' +'ROLE' +'ROLES' +'COMPACTIONS' +'PRINCIPALS' +'TRANSACTIONS' +'INDEX' +'INDEXES' +'LOCKS' +'OPTION' +'ANTI' +'LOCAL' +'INPATH' +'WATERMARK' +null +null +null +null +null +null +null +null +null +null +null +'/**/' +null +null +null + +token symbolic names: +null +null +null +null +null +null +null +null +null +null +null +SELECT +FROM +ADD +AS +ALL +ANY +DISTINCT +WHERE +GROUP +BY +GROUPING +SETS +CUBE +ROLLUP +ORDER +HAVING +LIMIT +AT +OR +AND +IN +NOT +NO +EXISTS +BETWEEN +LIKE +RLIKE +IS +NULL +TRUE +FALSE +NULLS +ASC +DESC +FOR +INTERVAL +CASE +WHEN +THEN +ELSE +END +JOIN +CROSS +OUTER +INNER +LEFT +SEMI +RIGHT +FULL +NATURAL +ON +PIVOT +LATERAL +WINDOW +OVER +PARTITION +RANGE +ROWS +UNBOUNDED +PRECEDING +FOLLOWING +CURRENT +FIRST +AFTER +LAST +ROW +WITH +VALUES +CREATE +TABLE +DIRECTORY +VIEW +REPLACE +INSERT +DELETE +INTO +DESCRIBE +EXPLAIN +FORMAT +LOGICAL +CODEGEN +COST +CAST +SHOW +TABLES +COLUMNS +COLUMN +USE +PARTITIONS +FUNCTIONS +DROP +UNION +EXCEPT +SETMINUS +INTERSECT +TO +TABLESAMPLE +STRATIFY +ALTER +RENAME +ARRAY +MAP +STRUCT +COMMENT +SET +RESET +DATA +START +TRANSACTION +COMMIT +ROLLBACK +MACRO +IGNORE +BOTH +LEADING +TRAILING +IF +POSITION +EXTRACT +EQ +NSEQ +NEQ +NEQJ +LT +LTE +GT +GTE +PLUS +MINUS +ASTERISK +SLASH +PERCENT +DIV +TILDE +AMPERSAND +PIPE +CONCAT_PIPE +HAT +PERCENTLIT +BUCKET +OUT +OF +SORT +CLUSTER +DISTRIBUTE +OVERWRITE +TRANSFORM +REDUCE +USING +SERDE +SERDEPROPERTIES +RECORDREADER +RECORDWRITER +DELIMITED +FIELDS +TERMINATED +COLLECTION +ITEMS +KEYS +ESCAPED +LINES +SEPARATED +FUNCTION +EXTENDED +REFRESH +CLEAR +CACHE +UNCACHE +LAZY +FORMATTED +GLOBAL +TEMPORARY +OPTIONS +UNSET +TBLPROPERTIES +DBPROPERTIES +BUCKETS +SKEWED +STORED +DIRECTORIES +LOCATION +EXCHANGE +ARCHIVE +UNARCHIVE +FILEFORMAT +TOUCH +COMPACT +CONCATENATE +CHANGE +CASCADE +RESTRICT +CLUSTERED +SORTED +PURGE +INPUTFORMAT +OUTPUTFORMAT +DATABASE +DATABASES +DFS +TRUNCATE +ANALYZE +COMPUTE +LIST +STATISTICS +PARTITIONED +EXTERNAL +DEFINED +REVOKE +GRANT +LOCK +UNLOCK +MSCK +REPAIR +RECOVER +EXPORT +IMPORT +LOAD +ROLE +ROLES +COMPACTIONS +PRINCIPALS +TRANSACTIONS +INDEX +INDEXES +LOCKS +OPTION +ANTI +LOCAL +INPATH +WATERMARK +STRING +BIGINT_LITERAL +SMALLINT_LITERAL +TINYINT_LITERAL +INTEGER_VALUE +DECIMAL_VALUE +DOUBLE_LITERAL +BIGDECIMAL_LITERAL +IDENTIFIER +BACKQUOTED_IDENTIFIER +SIMPLE_COMMENT +BRACKETED_EMPTY_COMMENT +BRACKETED_COMMENT +WS +UNRECOGNIZED + +rule names: +singleStatement +singleExpression +singleTableIdentifier +singleFunctionIdentifier +singleDataType +singleTableSchema +statement +unsupportedHiveNativeCommands +createTableHeader +bucketSpec +skewSpec +locationSpec +query +insertInto +partitionSpecLocation +partitionSpec +partitionVal +describeFuncName +describeColName +ctes +namedQuery +tableProvider +tablePropertyList +tableProperty +tablePropertyKey +tablePropertyValue +constantList +nestedConstantList +createFileFormat +fileFormat +storageHandler +resource +queryNoWith +queryOrganization +multiInsertQueryBody +queryTerm +queryPrimary +sortItem +querySpecification +hint +hintStatement +fromClause +aggregation +groupingSet +pivotClause +pivotColumn +pivotValue +lateralView +setQuantifier +relation +joinRelation +joinType +joinCriteria +sample +sampleMethod +identifierList +identifierSeq +orderedIdentifierList +orderedIdentifier +identifierCommentList +identifierComment +relationPrimary +inlineTable +functionTable +tableAlias +rowFormat +tableIdentifier +functionIdentifier +namedExpression +namedExpressionSeq +expression +booleanExpression +predicate +valueExpression +primaryExpression +constant +comparisonOperator +arithmeticOperator +predicateOperator +booleanValue +interval +intervalField +intervalValue +colPosition +dataType +colTypeList +colType +dtColTypeList +dtColType +complexColTypeList +complexColType +whenClause +windows +namedWindow +windowSpec +windowFrame +frameBound +qualifiedName +identifier +strictIdentifier +quotedIdentifier +number +nonReserved + + +atn: +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 257, 2513, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9, 70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 4, 75, 9, 75, 4, 76, 9, 76, 4, 77, 9, 77, 4, 78, 9, 78, 4, 79, 9, 79, 4, 80, 9, 80, 4, 81, 9, 81, 4, 82, 9, 82, 4, 83, 9, 83, 4, 84, 9, 84, 4, 85, 9, 85, 4, 86, 9, 86, 4, 87, 9, 87, 4, 88, 9, 88, 4, 89, 9, 89, 4, 90, 9, 90, 4, 91, 9, 91, 4, 92, 9, 92, 4, 93, 9, 93, 4, 94, 9, 94, 4, 95, 9, 95, 4, 96, 9, 96, 4, 97, 9, 97, 4, 98, 9, 98, 4, 99, 9, 99, 4, 100, 9, 100, 4, 101, 9, 101, 4, 102, 9, 102, 4, 103, 9, 103, 4, 104, 9, 104, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 235, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 240, 10, 8, 3, 8, 5, 8, 243, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 248, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 261, 10, 8, 3, 8, 3, 8, 5, 8, 265, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 272, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 286, 10, 8, 12, 8, 14, 8, 289, 11, 8, 3, 8, 5, 8, 292, 10, 8, 3, 8, 5, 8, 295, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 302, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 319, 10, 8, 12, 8, 14, 8, 322, 11, 8, 3, 8, 5, 8, 325, 10, 8, 3, 8, 5, 8, 328, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 335, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 342, 10, 8, 3, 8, 3, 8, 5, 8, 346, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 354, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 364, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 370, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 376, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 387, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 419, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 427, 10, 8, 3, 8, 3, 8, 5, 8, 431, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 436, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 442, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 450, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 456, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 469, 10, 8, 3, 8, 6, 8, 472, 10, 8, 13, 8, 14, 8, 473, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 483, 10, 8, 3, 8, 6, 8, 486, 10, 8, 13, 8, 14, 8, 487, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 504, 10, 8, 3, 8, 3, 8, 3, 8, 7, 8, 509, 10, 8, 12, 8, 14, 8, 512, 11, 8, 3, 8, 5, 8, 515, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 523, 10, 8, 3, 8, 3, 8, 3, 8, 7, 8, 528, 10, 8, 12, 8, 14, 8, 531, 11, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 537, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 552, 10, 8, 3, 8, 3, 8, 5, 8, 556, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 562, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 568, 10, 8, 3, 8, 5, 8, 571, 10, 8, 3, 8, 5, 8, 574, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 580, 10, 8, 3, 8, 3, 8, 5, 8, 584, 10, 8, 3, 8, 3, 8, 5, 8, 588, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 593, 10, 8, 3, 8, 3, 8, 5, 8, 597, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 605, 10, 8, 3, 8, 5, 8, 608, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 617, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 622, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 628, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 635, 10, 8, 3, 8, 5, 8, 638, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 644, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 653, 10, 8, 12, 8, 14, 8, 656, 11, 8, 5, 8, 658, 10, 8, 3, 8, 3, 8, 5, 8, 662, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 667, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 672, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 679, 10, 8, 3, 8, 5, 8, 682, 10, 8, 3, 8, 5, 8, 685, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 692, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 697, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 702, 10, 8, 3, 8, 5, 8, 705, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 714, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 722, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 728, 10, 8, 3, 8, 3, 8, 5, 8, 732, 10, 8, 3, 8, 3, 8, 5, 8, 736, 10, 8, 3, 8, 3, 8, 5, 8, 740, 10, 8, 5, 8, 742, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 751, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 757, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 762, 10, 8, 3, 8, 5, 8, 765, 10, 8, 3, 8, 3, 8, 5, 8, 769, 10, 8, 3, 8, 5, 8, 772, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 780, 10, 8, 12, 8, 14, 8, 783, 11, 8, 5, 8, 785, 10, 8, 3, 8, 3, 8, 5, 8, 789, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 795, 10, 8, 3, 8, 5, 8, 798, 10, 8, 3, 8, 5, 8, 801, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 807, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 815, 10, 8, 3, 8, 3, 8, 3, 8, 5, 8, 820, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 826, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 832, 10, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 7, 8, 841, 10, 8, 12, 8, 14, 8, 844, 11, 8, 3, 8, 3, 8, 3, 8, 7, 8, 849, 10, 8, 12, 8, 14, 8, 852, 11, 8, 3, 8, 3, 8, 7, 8, 856, 10, 8, 12, 8, 14, 8, 859, 11, 8, 3, 8, 3, 8, 3, 8, 7, 8, 864, 10, 8, 12, 8, 14, 8, 867, 11, 8, 5, 8, 869, 10, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 877, 10, 9, 3, 9, 3, 9, 5, 9, 881, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 888, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 1004, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 1012, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 1020, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 1029, 10, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 1041, 10, 9, 3, 10, 3, 10, 5, 10, 1045, 10, 10, 3, 10, 5, 10, 1048, 10, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 1054, 10, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 5, 11, 1064, 10, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 1076, 10, 12, 3, 12, 3, 12, 3, 12, 5, 12, 1081, 10, 12, 3, 13, 3, 13, 3, 13, 3, 14, 5, 14, 1087, 10, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1099, 10, 15, 5, 15, 1101, 10, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1106, 10, 15, 3, 15, 3, 15, 5, 15, 1110, 10, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1115, 10, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1120, 10, 15, 3, 15, 5, 15, 1123, 10, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1128, 10, 15, 3, 15, 3, 15, 5, 15, 1132, 10, 15, 3, 15, 3, 15, 3, 15, 5, 15, 1137, 10, 15, 5, 15, 1139, 10, 15, 3, 16, 3, 16, 5, 16, 1143, 10, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 7, 17, 1150, 10, 17, 12, 17, 14, 17, 1153, 11, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 5, 18, 1160, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 5, 19, 1167, 10, 19, 3, 20, 3, 20, 3, 20, 7, 20, 1172, 10, 20, 12, 20, 14, 20, 1175, 11, 20, 3, 21, 3, 21, 3, 21, 3, 21, 7, 21, 1181, 10, 21, 12, 21, 14, 21, 1184, 11, 21, 3, 22, 3, 22, 5, 22, 1188, 10, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 7, 24, 1201, 10, 24, 12, 24, 14, 24, 1204, 11, 24, 3, 24, 3, 24, 3, 25, 3, 25, 5, 25, 1210, 10, 25, 3, 25, 5, 25, 1213, 10, 25, 3, 26, 3, 26, 3, 26, 7, 26, 1218, 10, 26, 12, 26, 14, 26, 1221, 11, 26, 3, 26, 5, 26, 1224, 10, 26, 3, 27, 3, 27, 3, 27, 3, 27, 5, 27, 1230, 10, 27, 3, 28, 3, 28, 3, 28, 3, 28, 7, 28, 1236, 10, 28, 12, 28, 14, 28, 1239, 11, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 7, 29, 1247, 10, 29, 12, 29, 14, 29, 1250, 11, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 1260, 10, 30, 3, 31, 3, 31, 3, 31, 3, 31, 3, 31, 5, 31, 1267, 10, 31, 3, 32, 3, 32, 3, 32, 3, 32, 5, 32, 1273, 10, 32, 3, 33, 3, 33, 3, 33, 3, 34, 5, 34, 1279, 10, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 6, 34, 1286, 10, 34, 13, 34, 14, 34, 1287, 5, 34, 1290, 10, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 7, 35, 1297, 10, 35, 12, 35, 14, 35, 1300, 11, 35, 5, 35, 1302, 10, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 7, 35, 1309, 10, 35, 12, 35, 14, 35, 1312, 11, 35, 5, 35, 1314, 10, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 7, 35, 1321, 10, 35, 12, 35, 14, 35, 1324, 11, 35, 5, 35, 1326, 10, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 7, 35, 1333, 10, 35, 12, 35, 14, 35, 1336, 11, 35, 5, 35, 1338, 10, 35, 3, 35, 5, 35, 1341, 10, 35, 3, 35, 3, 35, 3, 35, 5, 35, 1346, 10, 35, 5, 35, 1348, 10, 35, 3, 36, 5, 36, 1351, 10, 36, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 1363, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 1370, 10, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 5, 37, 1377, 10, 37, 3, 37, 7, 37, 1380, 10, 37, 12, 37, 14, 37, 1383, 11, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 5, 38, 1393, 10, 38, 3, 39, 3, 39, 5, 39, 1397, 10, 39, 3, 39, 3, 39, 5, 39, 1401, 10, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 5, 40, 1413, 10, 40, 3, 40, 5, 40, 1416, 10, 40, 3, 40, 3, 40, 5, 40, 1420, 10, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 5, 40, 1430, 10, 40, 3, 40, 3, 40, 5, 40, 1434, 10, 40, 5, 40, 1436, 10, 40, 3, 40, 5, 40, 1439, 10, 40, 3, 40, 3, 40, 5, 40, 1443, 10, 40, 3, 40, 5, 40, 1446, 10, 40, 3, 40, 3, 40, 5, 40, 1450, 10, 40, 3, 40, 3, 40, 7, 40, 1454, 10, 40, 12, 40, 14, 40, 1457, 11, 40, 3, 40, 5, 40, 1460, 10, 40, 3, 40, 3, 40, 5, 40, 1464, 10, 40, 3, 40, 3, 40, 3, 40, 5, 40, 1469, 10, 40, 3, 40, 5, 40, 1472, 10, 40, 5, 40, 1474, 10, 40, 3, 40, 7, 40, 1477, 10, 40, 12, 40, 14, 40, 1480, 11, 40, 3, 40, 3, 40, 5, 40, 1484, 10, 40, 3, 40, 5, 40, 1487, 10, 40, 3, 40, 3, 40, 5, 40, 1491, 10, 40, 3, 40, 5, 40, 1494, 10, 40, 5, 40, 1496, 10, 40, 3, 41, 3, 41, 3, 41, 5, 41, 1501, 10, 41, 3, 41, 7, 41, 1504, 10, 41, 12, 41, 14, 41, 1507, 11, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 7, 42, 1517, 10, 42, 12, 42, 14, 42, 1520, 11, 42, 3, 42, 3, 42, 5, 42, 1524, 10, 42, 3, 43, 3, 43, 3, 43, 3, 43, 7, 43, 1530, 10, 43, 12, 43, 14, 43, 1533, 11, 43, 3, 43, 7, 43, 1536, 10, 43, 12, 43, 14, 43, 1539, 11, 43, 3, 43, 5, 43, 1542, 10, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 7, 44, 1549, 10, 44, 12, 44, 14, 44, 1552, 11, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 7, 44, 1564, 10, 44, 12, 44, 14, 44, 1567, 11, 44, 3, 44, 3, 44, 5, 44, 1571, 10, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 7, 44, 1581, 10, 44, 12, 44, 14, 44, 1584, 11, 44, 3, 44, 3, 44, 5, 44, 1588, 10, 44, 3, 45, 3, 45, 3, 45, 3, 45, 7, 45, 1594, 10, 45, 12, 45, 14, 45, 1597, 11, 45, 5, 45, 1599, 10, 45, 3, 45, 3, 45, 5, 45, 1603, 10, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 7, 46, 1615, 10, 46, 12, 46, 14, 46, 1618, 11, 46, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 7, 47, 1628, 10, 47, 12, 47, 14, 47, 1631, 11, 47, 3, 47, 3, 47, 5, 47, 1635, 10, 47, 3, 48, 3, 48, 5, 48, 1639, 10, 48, 3, 48, 5, 48, 1642, 10, 48, 3, 49, 3, 49, 3, 49, 5, 49, 1647, 10, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 7, 49, 1654, 10, 49, 12, 49, 14, 49, 1657, 11, 49, 5, 49, 1659, 10, 49, 3, 49, 3, 49, 3, 49, 5, 49, 1664, 10, 49, 3, 49, 3, 49, 3, 49, 7, 49, 1669, 10, 49, 12, 49, 14, 49, 1672, 11, 49, 5, 49, 1674, 10, 49, 3, 50, 3, 50, 3, 51, 3, 51, 7, 51, 1680, 10, 51, 12, 51, 14, 51, 1683, 11, 51, 3, 52, 3, 52, 3, 52, 3, 52, 5, 52, 1689, 10, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 5, 52, 1696, 10, 52, 3, 53, 5, 53, 1699, 10, 53, 3, 53, 3, 53, 3, 53, 5, 53, 1704, 10, 53, 3, 53, 3, 53, 3, 53, 3, 53, 5, 53, 1710, 10, 53, 3, 53, 3, 53, 5, 53, 1714, 10, 53, 3, 53, 5, 53, 1717, 10, 53, 3, 53, 5, 53, 1720, 10, 53, 3, 54, 3, 54, 3, 54, 3, 54, 5, 54, 1726, 10, 54, 3, 55, 3, 55, 3, 55, 5, 55, 1731, 10, 55, 3, 55, 3, 55, 3, 56, 5, 56, 1736, 10, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 5, 56, 1754, 10, 56, 5, 56, 1756, 10, 56, 3, 56, 5, 56, 1759, 10, 56, 3, 57, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 7, 58, 1768, 10, 58, 12, 58, 14, 58, 1771, 11, 58, 3, 59, 3, 59, 3, 59, 3, 59, 7, 59, 1777, 10, 59, 12, 59, 14, 59, 1780, 11, 59, 3, 59, 3, 59, 3, 60, 3, 60, 5, 60, 1786, 10, 60, 3, 61, 3, 61, 3, 61, 3, 61, 7, 61, 1792, 10, 61, 12, 61, 14, 61, 1795, 11, 61, 3, 61, 3, 61, 3, 62, 3, 62, 3, 62, 5, 62, 1802, 10, 62, 3, 63, 3, 63, 5, 63, 1806, 10, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 5, 63, 1814, 10, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 5, 63, 1822, 10, 63, 3, 63, 3, 63, 3, 63, 3, 63, 5, 63, 1828, 10, 63, 3, 64, 3, 64, 3, 64, 3, 64, 7, 64, 1834, 10, 64, 12, 64, 14, 64, 1837, 11, 64, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 7, 65, 1846, 10, 65, 12, 65, 14, 65, 1849, 11, 65, 5, 65, 1851, 10, 65, 3, 65, 3, 65, 3, 65, 3, 66, 5, 66, 1857, 10, 66, 3, 66, 3, 66, 5, 66, 1861, 10, 66, 5, 66, 1863, 10, 66, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1872, 10, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1884, 10, 67, 5, 67, 1886, 10, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1893, 10, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1900, 10, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1906, 10, 67, 3, 67, 3, 67, 3, 67, 3, 67, 5, 67, 1912, 10, 67, 5, 67, 1914, 10, 67, 3, 68, 3, 68, 3, 68, 5, 68, 1919, 10, 68, 3, 68, 3, 68, 3, 69, 3, 69, 3, 69, 5, 69, 1926, 10, 69, 3, 69, 3, 69, 3, 70, 3, 70, 5, 70, 1932, 10, 70, 3, 70, 3, 70, 5, 70, 1936, 10, 70, 5, 70, 1938, 10, 70, 3, 71, 3, 71, 3, 71, 7, 71, 1943, 10, 71, 12, 71, 14, 71, 1946, 11, 71, 3, 72, 3, 72, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 5, 73, 1960, 10, 73, 5, 73, 1962, 10, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 7, 73, 1970, 10, 73, 12, 73, 14, 73, 1973, 11, 73, 3, 74, 5, 74, 1976, 10, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 5, 74, 1984, 10, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 7, 74, 1991, 10, 74, 12, 74, 14, 74, 1994, 11, 74, 3, 74, 3, 74, 3, 74, 5, 74, 1999, 10, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 5, 74, 2007, 10, 74, 3, 74, 3, 74, 3, 74, 3, 74, 5, 74, 2013, 10, 74, 3, 74, 3, 74, 3, 74, 5, 74, 2018, 10, 74, 3, 74, 3, 74, 3, 74, 5, 74, 2023, 10, 74, 3, 75, 3, 75, 3, 75, 3, 75, 5, 75, 2029, 10, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 7, 75, 2050, 10, 75, 12, 75, 14, 75, 2053, 11, 75, 3, 76, 3, 76, 3, 76, 6, 76, 2058, 10, 76, 13, 76, 14, 76, 2059, 3, 76, 3, 76, 5, 76, 2064, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 6, 76, 2071, 10, 76, 13, 76, 14, 76, 2072, 3, 76, 3, 76, 5, 76, 2077, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 7, 76, 2093, 10, 76, 12, 76, 14, 76, 2096, 11, 76, 5, 76, 2098, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 5, 76, 2106, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 5, 76, 2115, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 6, 76, 2136, 10, 76, 13, 76, 14, 76, 2137, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 5, 76, 2149, 10, 76, 3, 76, 3, 76, 3, 76, 7, 76, 2154, 10, 76, 12, 76, 14, 76, 2157, 11, 76, 5, 76, 2159, 10, 76, 3, 76, 3, 76, 3, 76, 5, 76, 2164, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 6, 76, 2181, 10, 76, 13, 76, 14, 76, 2182, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 5, 76, 2200, 10, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 7, 76, 2210, 10, 76, 12, 76, 14, 76, 2213, 11, 76, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 6, 77, 2223, 10, 77, 13, 77, 14, 77, 2224, 5, 77, 2227, 10, 77, 3, 78, 3, 78, 3, 79, 3, 79, 3, 80, 3, 80, 3, 81, 3, 81, 3, 82, 3, 82, 7, 82, 2239, 10, 82, 12, 82, 14, 82, 2242, 11, 82, 3, 83, 3, 83, 3, 83, 3, 83, 5, 83, 2248, 10, 83, 3, 84, 5, 84, 2251, 10, 84, 3, 84, 3, 84, 5, 84, 2255, 10, 84, 3, 85, 3, 85, 3, 85, 5, 85, 2260, 10, 85, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 5, 86, 2277, 10, 86, 3, 86, 3, 86, 5, 86, 2281, 10, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 7, 86, 2288, 10, 86, 12, 86, 14, 86, 2291, 11, 86, 3, 86, 5, 86, 2294, 10, 86, 5, 86, 2296, 10, 86, 3, 87, 3, 87, 3, 87, 7, 87, 2301, 10, 87, 12, 87, 14, 87, 2304, 11, 87, 3, 88, 3, 88, 3, 88, 3, 88, 5, 88, 2310, 10, 88, 3, 89, 3, 89, 3, 89, 7, 89, 2315, 10, 89, 12, 89, 14, 89, 2318, 11, 89, 3, 90, 3, 90, 3, 90, 7, 90, 2323, 10, 90, 12, 90, 14, 90, 2326, 11, 90, 3, 90, 3, 90, 3, 90, 5, 90, 2331, 10, 90, 3, 90, 3, 90, 5, 90, 2335, 10, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 5, 90, 2343, 10, 90, 3, 91, 3, 91, 3, 91, 7, 91, 2348, 10, 91, 12, 91, 14, 91, 2351, 11, 91, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 5, 92, 2358, 10, 92, 3, 93, 3, 93, 3, 93, 3, 93, 3, 93, 3, 94, 3, 94, 3, 94, 3, 94, 7, 94, 2369, 10, 94, 12, 94, 14, 94, 2372, 11, 94, 3, 95, 3, 95, 3, 95, 3, 95, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 7, 96, 2385, 10, 96, 12, 96, 14, 96, 2388, 11, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 7, 96, 2395, 10, 96, 12, 96, 14, 96, 2398, 11, 96, 5, 96, 2400, 10, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 7, 96, 2407, 10, 96, 12, 96, 14, 96, 2410, 11, 96, 5, 96, 2412, 10, 96, 5, 96, 2414, 10, 96, 3, 96, 5, 96, 2417, 10, 96, 3, 96, 5, 96, 2420, 10, 96, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 5, 97, 2438, 10, 97, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 5, 98, 2447, 10, 98, 3, 99, 3, 99, 3, 99, 7, 99, 2452, 10, 99, 12, 99, 14, 99, 2455, 11, 99, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 5, 100, 2472, 10, 100, 3, 101, 3, 101, 3, 101, 5, 101, 2477, 10, 101, 3, 102, 3, 102, 3, 103, 5, 103, 2482, 10, 103, 3, 103, 3, 103, 5, 103, 2486, 10, 103, 3, 103, 3, 103, 5, 103, 2490, 10, 103, 3, 103, 3, 103, 5, 103, 2494, 10, 103, 3, 103, 3, 103, 5, 103, 2498, 10, 103, 3, 103, 3, 103, 5, 103, 2502, 10, 103, 3, 103, 3, 103, 5, 103, 2506, 10, 103, 3, 103, 5, 103, 2509, 10, 103, 3, 104, 3, 104, 3, 104, 7, 781, 842, 850, 857, 865, 6, 72, 144, 148, 150, 105, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 180, 182, 184, 186, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 2, 29, 3, 2, 202, 203, 4, 2, 82, 82, 84, 84, 5, 2, 92, 94, 176, 176, 182, 182, 4, 2, 14, 14, 33, 33, 4, 2, 46, 46, 89, 89, 4, 2, 176, 176, 182, 182, 4, 2, 15, 15, 215, 215, 3, 2, 104, 107, 3, 2, 104, 106, 3, 2, 45, 46, 4, 2, 75, 75, 77, 77, 4, 2, 17, 17, 19, 19, 3, 2, 247, 248, 3, 2, 38, 39, 4, 2, 140, 141, 146, 146, 3, 2, 142, 145, 4, 2, 140, 141, 149, 149, 3, 2, 126, 128, 3, 2, 132, 139, 3, 2, 140, 150, 3, 2, 31, 34, 3, 2, 42, 43, 3, 2, 140, 141, 4, 2, 68, 68, 157, 157, 4, 2, 27, 27, 155, 155, 3, 2, 72, 73, 10, 2, 13, 53, 56, 56, 64, 103, 108, 131, 145, 145, 151, 160, 162, 238, 240, 241, 2, 2931, 2, 208, 3, 2, 2, 2, 4, 211, 3, 2, 2, 2, 6, 214, 3, 2, 2, 2, 8, 217, 3, 2, 2, 2, 10, 220, 3, 2, 2, 2, 12, 223, 3, 2, 2, 2, 14, 868, 3, 2, 2, 2, 16, 1040, 3, 2, 2, 2, 18, 1042, 3, 2, 2, 2, 20, 1057, 3, 2, 2, 2, 22, 1069, 3, 2, 2, 2, 24, 1082, 3, 2, 2, 2, 26, 1086, 3, 2, 2, 2, 28, 1138, 3, 2, 2, 2, 30, 1140, 3, 2, 2, 2, 32, 1144, 3, 2, 2, 2, 34, 1156, 3, 2, 2, 2, 36, 1166, 3, 2, 2, 2, 38, 1168, 3, 2, 2, 2, 40, 1176, 3, 2, 2, 2, 42, 1185, 3, 2, 2, 2, 44, 1193, 3, 2, 2, 2, 46, 1196, 3, 2, 2, 2, 48, 1207, 3, 2, 2, 2, 50, 1223, 3, 2, 2, 2, 52, 1229, 3, 2, 2, 2, 54, 1231, 3, 2, 2, 2, 56, 1242, 3, 2, 2, 2, 58, 1259, 3, 2, 2, 2, 60, 1266, 3, 2, 2, 2, 62, 1268, 3, 2, 2, 2, 64, 1274, 3, 2, 2, 2, 66, 1289, 3, 2, 2, 2, 68, 1301, 3, 2, 2, 2, 70, 1350, 3, 2, 2, 2, 72, 1355, 3, 2, 2, 2, 74, 1392, 3, 2, 2, 2, 76, 1394, 3, 2, 2, 2, 78, 1495, 3, 2, 2, 2, 80, 1497, 3, 2, 2, 2, 82, 1523, 3, 2, 2, 2, 84, 1525, 3, 2, 2, 2, 86, 1587, 3, 2, 2, 2, 88, 1602, 3, 2, 2, 2, 90, 1604, 3, 2, 2, 2, 92, 1634, 3, 2, 2, 2, 94, 1636, 3, 2, 2, 2, 96, 1643, 3, 2, 2, 2, 98, 1675, 3, 2, 2, 2, 100, 1677, 3, 2, 2, 2, 102, 1695, 3, 2, 2, 2, 104, 1719, 3, 2, 2, 2, 106, 1725, 3, 2, 2, 2, 108, 1727, 3, 2, 2, 2, 110, 1758, 3, 2, 2, 2, 112, 1760, 3, 2, 2, 2, 114, 1764, 3, 2, 2, 2, 116, 1772, 3, 2, 2, 2, 118, 1783, 3, 2, 2, 2, 120, 1787, 3, 2, 2, 2, 122, 1798, 3, 2, 2, 2, 124, 1827, 3, 2, 2, 2, 126, 1829, 3, 2, 2, 2, 128, 1840, 3, 2, 2, 2, 130, 1862, 3, 2, 2, 2, 132, 1913, 3, 2, 2, 2, 134, 1918, 3, 2, 2, 2, 136, 1925, 3, 2, 2, 2, 138, 1929, 3, 2, 2, 2, 140, 1939, 3, 2, 2, 2, 142, 1947, 3, 2, 2, 2, 144, 1961, 3, 2, 2, 2, 146, 2022, 3, 2, 2, 2, 148, 2028, 3, 2, 2, 2, 150, 2199, 3, 2, 2, 2, 152, 2226, 3, 2, 2, 2, 154, 2228, 3, 2, 2, 2, 156, 2230, 3, 2, 2, 2, 158, 2232, 3, 2, 2, 2, 160, 2234, 3, 2, 2, 2, 162, 2236, 3, 2, 2, 2, 164, 2243, 3, 2, 2, 2, 166, 2254, 3, 2, 2, 2, 168, 2259, 3, 2, 2, 2, 170, 2295, 3, 2, 2, 2, 172, 2297, 3, 2, 2, 2, 174, 2305, 3, 2, 2, 2, 176, 2311, 3, 2, 2, 2, 178, 2342, 3, 2, 2, 2, 180, 2344, 3, 2, 2, 2, 182, 2352, 3, 2, 2, 2, 184, 2359, 3, 2, 2, 2, 186, 2364, 3, 2, 2, 2, 188, 2373, 3, 2, 2, 2, 190, 2419, 3, 2, 2, 2, 192, 2437, 3, 2, 2, 2, 194, 2446, 3, 2, 2, 2, 196, 2448, 3, 2, 2, 2, 198, 2471, 3, 2, 2, 2, 200, 2476, 3, 2, 2, 2, 202, 2478, 3, 2, 2, 2, 204, 2508, 3, 2, 2, 2, 206, 2510, 3, 2, 2, 2, 208, 209, 5, 14, 8, 2, 209, 210, 7, 2, 2, 3, 210, 3, 3, 2, 2, 2, 211, 212, 5, 138, 70, 2, 212, 213, 7, 2, 2, 3, 213, 5, 3, 2, 2, 2, 214, 215, 5, 134, 68, 2, 215, 216, 7, 2, 2, 3, 216, 7, 3, 2, 2, 2, 217, 218, 5, 136, 69, 2, 218, 219, 7, 2, 2, 3, 219, 9, 3, 2, 2, 2, 220, 221, 5, 170, 86, 2, 221, 222, 7, 2, 2, 3, 222, 11, 3, 2, 2, 2, 223, 224, 5, 172, 87, 2, 224, 225, 7, 2, 2, 3, 225, 13, 3, 2, 2, 2, 226, 869, 5, 26, 14, 2, 227, 228, 7, 100, 2, 2, 228, 869, 5, 198, 100, 2, 229, 230, 7, 81, 2, 2, 230, 234, 7, 209, 2, 2, 231, 232, 7, 129, 2, 2, 232, 233, 7, 34, 2, 2, 233, 235, 7, 36, 2, 2, 234, 231, 3, 2, 2, 2, 234, 235, 3, 2, 2, 2, 235, 236, 3, 2, 2, 2, 236, 239, 5, 198, 100, 2, 237, 238, 7, 116, 2, 2, 238, 240, 7, 243, 2, 2, 239, 237, 3, 2, 2, 2, 239, 240, 3, 2, 2, 2, 240, 242, 3, 2, 2, 2, 241, 243, 5, 24, 13, 2, 242, 241, 3, 2, 2, 2, 242, 243, 3, 2, 2, 2, 243, 247, 3, 2, 2, 2, 244, 245, 7, 79, 2, 2, 245, 246, 7, 188, 2, 2, 246, 248, 5, 46, 24, 2, 247, 244, 3, 2, 2, 2, 247, 248, 3, 2, 2, 2, 248, 869, 3, 2, 2, 2, 249, 250, 7, 111, 2, 2, 250, 251, 7, 209, 2, 2, 251, 252, 5, 198, 100, 2, 252, 253, 7, 117, 2, 2, 253, 254, 7, 188, 2, 2, 254, 255, 5, 46, 24, 2, 255, 869, 3, 2, 2, 2, 256, 257, 7, 103, 2, 2, 257, 260, 7, 209, 2, 2, 258, 259, 7, 129, 2, 2, 259, 261, 7, 36, 2, 2, 260, 258, 3, 2, 2, 2, 260, 261, 3, 2, 2, 2, 261, 262, 3, 2, 2, 2, 262, 264, 5, 198, 100, 2, 263, 265, 9, 2, 2, 2, 264, 263, 3, 2, 2, 2, 264, 265, 3, 2, 2, 2, 265, 869, 3, 2, 2, 2, 266, 271, 5, 18, 10, 2, 267, 268, 7, 3, 2, 2, 268, 269, 5, 172, 87, 2, 269, 270, 7, 4, 2, 2, 270, 272, 3, 2, 2, 2, 271, 267, 3, 2, 2, 2, 271, 272, 3, 2, 2, 2, 272, 273, 3, 2, 2, 2, 273, 287, 5, 44, 23, 2, 274, 275, 7, 185, 2, 2, 275, 286, 5, 46, 24, 2, 276, 277, 7, 217, 2, 2, 277, 278, 7, 22, 2, 2, 278, 286, 5, 112, 57, 2, 279, 286, 5, 20, 11, 2, 280, 286, 5, 24, 13, 2, 281, 282, 7, 116, 2, 2, 282, 286, 7, 243, 2, 2, 283, 284, 7, 187, 2, 2, 284, 286, 5, 46, 24, 2, 285, 274, 3, 2, 2, 2, 285, 276, 3, 2, 2, 2, 285, 279, 3, 2, 2, 2, 285, 280, 3, 2, 2, 2, 285, 281, 3, 2, 2, 2, 285, 283, 3, 2, 2, 2, 286, 289, 3, 2, 2, 2, 287, 285, 3, 2, 2, 2, 287, 288, 3, 2, 2, 2, 288, 294, 3, 2, 2, 2, 289, 287, 3, 2, 2, 2, 290, 292, 7, 16, 2, 2, 291, 290, 3, 2, 2, 2, 291, 292, 3, 2, 2, 2, 292, 293, 3, 2, 2, 2, 293, 295, 5, 26, 14, 2, 294, 291, 3, 2, 2, 2, 294, 295, 3, 2, 2, 2, 295, 869, 3, 2, 2, 2, 296, 301, 5, 18, 10, 2, 297, 298, 7, 3, 2, 2, 298, 299, 5, 172, 87, 2, 299, 300, 7, 4, 2, 2, 300, 302, 3, 2, 2, 2, 301, 297, 3, 2, 2, 2, 301, 302, 3, 2, 2, 2, 302, 320, 3, 2, 2, 2, 303, 304, 7, 116, 2, 2, 304, 319, 7, 243, 2, 2, 305, 306, 7, 217, 2, 2, 306, 307, 7, 22, 2, 2, 307, 308, 7, 3, 2, 2, 308, 309, 5, 172, 87, 2, 309, 310, 7, 4, 2, 2, 310, 319, 3, 2, 2, 2, 311, 319, 5, 20, 11, 2, 312, 319, 5, 22, 12, 2, 313, 319, 5, 132, 67, 2, 314, 319, 5, 58, 30, 2, 315, 319, 5, 24, 13, 2, 316, 317, 7, 187, 2, 2, 317, 319, 5, 46, 24, 2, 318, 303, 3, 2, 2, 2, 318, 305, 3, 2, 2, 2, 318, 311, 3, 2, 2, 2, 318, 312, 3, 2, 2, 2, 318, 313, 3, 2, 2, 2, 318, 314, 3, 2, 2, 2, 318, 315, 3, 2, 2, 2, 318, 316, 3, 2, 2, 2, 319, 322, 3, 2, 2, 2, 320, 318, 3, 2, 2, 2, 320, 321, 3, 2, 2, 2, 321, 327, 3, 2, 2, 2, 322, 320, 3, 2, 2, 2, 323, 325, 7, 16, 2, 2, 324, 323, 3, 2, 2, 2, 324, 325, 3, 2, 2, 2, 325, 326, 3, 2, 2, 2, 326, 328, 5, 26, 14, 2, 327, 324, 3, 2, 2, 2, 327, 328, 3, 2, 2, 2, 328, 869, 3, 2, 2, 2, 329, 330, 7, 81, 2, 2, 330, 334, 7, 82, 2, 2, 331, 332, 5, 198, 100, 2, 332, 333, 7, 5, 2, 2, 333, 335, 3, 2, 2, 2, 334, 331, 3, 2, 2, 2, 334, 335, 3, 2, 2, 2, 335, 336, 3, 2, 2, 2, 336, 341, 5, 134, 68, 2, 337, 338, 7, 3, 2, 2, 338, 339, 5, 176, 89, 2, 339, 340, 7, 4, 2, 2, 340, 342, 3, 2, 2, 2, 341, 337, 3, 2, 2, 2, 341, 342, 3, 2, 2, 2, 342, 345, 3, 2, 2, 2, 343, 344, 7, 116, 2, 2, 344, 346, 7, 243, 2, 2, 345, 343, 3, 2, 2, 2, 345, 346, 3, 2, 2, 2, 346, 353, 3, 2, 2, 2, 347, 348, 7, 217, 2, 2, 348, 349, 7, 22, 2, 2, 349, 350, 7, 3, 2, 2, 350, 351, 5, 112, 57, 2, 351, 352, 7, 4, 2, 2, 352, 354, 3, 2, 2, 2, 353, 347, 3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 355, 3, 2, 2, 2, 355, 356, 7, 79, 2, 2, 356, 357, 5, 46, 24, 2, 357, 869, 3, 2, 2, 2, 358, 359, 7, 81, 2, 2, 359, 363, 7, 82, 2, 2, 360, 361, 7, 129, 2, 2, 361, 362, 7, 34, 2, 2, 362, 364, 7, 36, 2, 2, 363, 360, 3, 2, 2, 2, 363, 364, 3, 2, 2, 2, 364, 365, 3, 2, 2, 2, 365, 366, 5, 134, 68, 2, 366, 367, 7, 38, 2, 2, 367, 369, 5, 134, 68, 2, 368, 370, 5, 24, 13, 2, 369, 368, 3, 2, 2, 2, 369, 370, 3, 2, 2, 2, 370, 869, 3, 2, 2, 2, 371, 372, 7, 213, 2, 2, 372, 373, 7, 82, 2, 2, 373, 375, 5, 134, 68, 2, 374, 376, 5, 32, 17, 2, 375, 374, 3, 2, 2, 2, 375, 376, 3, 2, 2, 2, 376, 377, 3, 2, 2, 2, 377, 378, 7, 214, 2, 2, 378, 386, 7, 216, 2, 2, 379, 387, 5, 198, 100, 2, 380, 381, 7, 47, 2, 2, 381, 382, 7, 98, 2, 2, 382, 387, 5, 114, 58, 2, 383, 384, 7, 47, 2, 2, 384, 385, 7, 17, 2, 2, 385, 387, 7, 98, 2, 2, 386, 379, 3, 2, 2, 2, 386, 380, 3, 2, 2, 2, 386, 383, 3, 2, 2, 2, 386, 387, 3, 2, 2, 2, 387, 869, 3, 2, 2, 2, 388, 389, 7, 111, 2, 2, 389, 390, 7, 82, 2, 2, 390, 391, 5, 134, 68, 2, 391, 392, 7, 15, 2, 2, 392, 393, 7, 98, 2, 2, 393, 394, 7, 3, 2, 2, 394, 395, 5, 172, 87, 2, 395, 396, 7, 4, 2, 2, 396, 869, 3, 2, 2, 2, 397, 398, 7, 111, 2, 2, 398, 399, 9, 3, 2, 2, 399, 400, 5, 134, 68, 2, 400, 401, 7, 112, 2, 2, 401, 402, 7, 108, 2, 2, 402, 403, 5, 134, 68, 2, 403, 869, 3, 2, 2, 2, 404, 405, 7, 111, 2, 2, 405, 406, 9, 3, 2, 2, 406, 407, 5, 134, 68, 2, 407, 408, 7, 117, 2, 2, 408, 409, 7, 187, 2, 2, 409, 410, 5, 46, 24, 2, 410, 869, 3, 2, 2, 2, 411, 412, 7, 111, 2, 2, 412, 413, 9, 3, 2, 2, 413, 414, 5, 134, 68, 2, 414, 415, 7, 186, 2, 2, 415, 418, 7, 187, 2, 2, 416, 417, 7, 129, 2, 2, 417, 419, 7, 36, 2, 2, 418, 416, 3, 2, 2, 2, 418, 419, 3, 2, 2, 2, 419, 420, 3, 2, 2, 2, 420, 421, 5, 46, 24, 2, 421, 869, 3, 2, 2, 2, 422, 423, 7, 111, 2, 2, 423, 424, 7, 82, 2, 2, 424, 426, 5, 134, 68, 2, 425, 427, 5, 32, 17, 2, 426, 425, 3, 2, 2, 2, 426, 427, 3, 2, 2, 2, 427, 428, 3, 2, 2, 2, 428, 430, 7, 201, 2, 2, 429, 431, 7, 99, 2, 2, 430, 429, 3, 2, 2, 2, 430, 431, 3, 2, 2, 2, 431, 432, 3, 2, 2, 2, 432, 433, 5, 198, 100, 2, 433, 435, 5, 174, 88, 2, 434, 436, 5, 168, 85, 2, 435, 434, 3, 2, 2, 2, 435, 436, 3, 2, 2, 2, 436, 869, 3, 2, 2, 2, 437, 438, 7, 111, 2, 2, 438, 439, 7, 82, 2, 2, 439, 441, 5, 134, 68, 2, 440, 442, 5, 32, 17, 2, 441, 440, 3, 2, 2, 2, 441, 442, 3, 2, 2, 2, 442, 443, 3, 2, 2, 2, 443, 444, 7, 117, 2, 2, 444, 445, 7, 162, 2, 2, 445, 449, 7, 243, 2, 2, 446, 447, 7, 79, 2, 2, 447, 448, 7, 163, 2, 2, 448, 450, 5, 46, 24, 2, 449, 446, 3, 2, 2, 2, 449, 450, 3, 2, 2, 2, 450, 869, 3, 2, 2, 2, 451, 452, 7, 111, 2, 2, 452, 453, 7, 82, 2, 2, 453, 455, 5, 134, 68, 2, 454, 456, 5, 32, 17, 2, 455, 454, 3, 2, 2, 2, 455, 456, 3, 2, 2, 2, 456, 457, 3, 2, 2, 2, 457, 458, 7, 117, 2, 2, 458, 459, 7, 163, 2, 2, 459, 460, 5, 46, 24, 2, 460, 869, 3, 2, 2, 2, 461, 462, 7, 111, 2, 2, 462, 463, 7, 82, 2, 2, 463, 464, 5, 134, 68, 2, 464, 468, 7, 15, 2, 2, 465, 466, 7, 129, 2, 2, 466, 467, 7, 34, 2, 2, 467, 469, 7, 36, 2, 2, 468, 465, 3, 2, 2, 2, 468, 469, 3, 2, 2, 2, 469, 471, 3, 2, 2, 2, 470, 472, 5, 30, 16, 2, 471, 470, 3, 2, 2, 2, 472, 473, 3, 2, 2, 2, 473, 471, 3, 2, 2, 2, 473, 474, 3, 2, 2, 2, 474, 869, 3, 2, 2, 2, 475, 476, 7, 111, 2, 2, 476, 477, 7, 84, 2, 2, 477, 478, 5, 134, 68, 2, 478, 482, 7, 15, 2, 2, 479, 480, 7, 129, 2, 2, 480, 481, 7, 34, 2, 2, 481, 483, 7, 36, 2, 2, 482, 479, 3, 2, 2, 2, 482, 483, 3, 2, 2, 2, 483, 485, 3, 2, 2, 2, 484, 486, 5, 32, 17, 2, 485, 484, 3, 2, 2, 2, 486, 487, 3, 2, 2, 2, 487, 485, 3, 2, 2, 2, 487, 488, 3, 2, 2, 2, 488, 869, 3, 2, 2, 2, 489, 490, 7, 111, 2, 2, 490, 491, 7, 82, 2, 2, 491, 492, 5, 134, 68, 2, 492, 493, 5, 32, 17, 2, 493, 494, 7, 112, 2, 2, 494, 495, 7, 108, 2, 2, 495, 496, 5, 32, 17, 2, 496, 869, 3, 2, 2, 2, 497, 498, 7, 111, 2, 2, 498, 499, 7, 82, 2, 2, 499, 500, 5, 134, 68, 2, 500, 503, 7, 103, 2, 2, 501, 502, 7, 129, 2, 2, 502, 504, 7, 36, 2, 2, 503, 501, 3, 2, 2, 2, 503, 504, 3, 2, 2, 2, 504, 505, 3, 2, 2, 2, 505, 510, 5, 32, 17, 2, 506, 507, 7, 6, 2, 2, 507, 509, 5, 32, 17, 2, 508, 506, 3, 2, 2, 2, 509, 512, 3, 2, 2, 2, 510, 508, 3, 2, 2, 2, 510, 511, 3, 2, 2, 2, 511, 514, 3, 2, 2, 2, 512, 510, 3, 2, 2, 2, 513, 515, 7, 206, 2, 2, 514, 513, 3, 2, 2, 2, 514, 515, 3, 2, 2, 2, 515, 869, 3, 2, 2, 2, 516, 517, 7, 111, 2, 2, 517, 518, 7, 84, 2, 2, 518, 519, 5, 134, 68, 2, 519, 522, 7, 103, 2, 2, 520, 521, 7, 129, 2, 2, 521, 523, 7, 36, 2, 2, 522, 520, 3, 2, 2, 2, 522, 523, 3, 2, 2, 2, 523, 524, 3, 2, 2, 2, 524, 529, 5, 32, 17, 2, 525, 526, 7, 6, 2, 2, 526, 528, 5, 32, 17, 2, 527, 525, 3, 2, 2, 2, 528, 531, 3, 2, 2, 2, 529, 527, 3, 2, 2, 2, 529, 530, 3, 2, 2, 2, 530, 869, 3, 2, 2, 2, 531, 529, 3, 2, 2, 2, 532, 533, 7, 111, 2, 2, 533, 534, 7, 82, 2, 2, 534, 536, 5, 134, 68, 2, 535, 537, 5, 32, 17, 2, 536, 535, 3, 2, 2, 2, 536, 537, 3, 2, 2, 2, 537, 538, 3, 2, 2, 2, 538, 539, 7, 117, 2, 2, 539, 540, 5, 24, 13, 2, 540, 869, 3, 2, 2, 2, 541, 542, 7, 111, 2, 2, 542, 543, 7, 82, 2, 2, 543, 544, 5, 134, 68, 2, 544, 545, 7, 226, 2, 2, 545, 546, 7, 101, 2, 2, 546, 869, 3, 2, 2, 2, 547, 548, 7, 103, 2, 2, 548, 551, 7, 82, 2, 2, 549, 550, 7, 129, 2, 2, 550, 552, 7, 36, 2, 2, 551, 549, 3, 2, 2, 2, 551, 552, 3, 2, 2, 2, 552, 553, 3, 2, 2, 2, 553, 555, 5, 134, 68, 2, 554, 556, 7, 206, 2, 2, 555, 554, 3, 2, 2, 2, 555, 556, 3, 2, 2, 2, 556, 869, 3, 2, 2, 2, 557, 558, 7, 103, 2, 2, 558, 561, 7, 84, 2, 2, 559, 560, 7, 129, 2, 2, 560, 562, 7, 36, 2, 2, 561, 559, 3, 2, 2, 2, 561, 562, 3, 2, 2, 2, 562, 563, 3, 2, 2, 2, 563, 869, 5, 134, 68, 2, 564, 567, 7, 81, 2, 2, 565, 566, 7, 31, 2, 2, 566, 568, 7, 85, 2, 2, 567, 565, 3, 2, 2, 2, 567, 568, 3, 2, 2, 2, 568, 573, 3, 2, 2, 2, 569, 571, 7, 183, 2, 2, 570, 569, 3, 2, 2, 2, 570, 571, 3, 2, 2, 2, 571, 572, 3, 2, 2, 2, 572, 574, 7, 184, 2, 2, 573, 570, 3, 2, 2, 2, 573, 574, 3, 2, 2, 2, 574, 575, 3, 2, 2, 2, 575, 579, 7, 84, 2, 2, 576, 577, 7, 129, 2, 2, 577, 578, 7, 34, 2, 2, 578, 580, 7, 36, 2, 2, 579, 576, 3, 2, 2, 2, 579, 580, 3, 2, 2, 2, 580, 581, 3, 2, 2, 2, 581, 583, 5, 134, 68, 2, 582, 584, 5, 120, 61, 2, 583, 582, 3, 2, 2, 2, 583, 584, 3, 2, 2, 2, 584, 587, 3, 2, 2, 2, 585, 586, 7, 116, 2, 2, 586, 588, 7, 243, 2, 2, 587, 585, 3, 2, 2, 2, 587, 588, 3, 2, 2, 2, 588, 592, 3, 2, 2, 2, 589, 590, 7, 217, 2, 2, 590, 591, 7, 63, 2, 2, 591, 593, 5, 112, 57, 2, 592, 589, 3, 2, 2, 2, 592, 593, 3, 2, 2, 2, 593, 596, 3, 2, 2, 2, 594, 595, 7, 187, 2, 2, 595, 597, 5, 46, 24, 2, 596, 594, 3, 2, 2, 2, 596, 597, 3, 2, 2, 2, 597, 598, 3, 2, 2, 2, 598, 599, 7, 16, 2, 2, 599, 600, 5, 26, 14, 2, 600, 869, 3, 2, 2, 2, 601, 604, 7, 81, 2, 2, 602, 603, 7, 31, 2, 2, 603, 605, 7, 85, 2, 2, 604, 602, 3, 2, 2, 2, 604, 605, 3, 2, 2, 2, 605, 607, 3, 2, 2, 2, 606, 608, 7, 183, 2, 2, 607, 606, 3, 2, 2, 2, 607, 608, 3, 2, 2, 2, 608, 609, 3, 2, 2, 2, 609, 610, 7, 184, 2, 2, 610, 611, 7, 84, 2, 2, 611, 616, 5, 134, 68, 2, 612, 613, 7, 3, 2, 2, 613, 614, 5, 172, 87, 2, 614, 615, 7, 4, 2, 2, 615, 617, 3, 2, 2, 2, 616, 612, 3, 2, 2, 2, 616, 617, 3, 2, 2, 2, 617, 618, 3, 2, 2, 2, 618, 621, 5, 44, 23, 2, 619, 620, 7, 185, 2, 2, 620, 622, 5, 46, 24, 2, 621, 619, 3, 2, 2, 2, 621, 622, 3, 2, 2, 2, 622, 869, 3, 2, 2, 2, 623, 624, 7, 111, 2, 2, 624, 625, 7, 84, 2, 2, 625, 627, 5, 134, 68, 2, 626, 628, 7, 16, 2, 2, 627, 626, 3, 2, 2, 2, 627, 628, 3, 2, 2, 2, 628, 629, 3, 2, 2, 2, 629, 630, 5, 26, 14, 2, 630, 869, 3, 2, 2, 2, 631, 634, 7, 81, 2, 2, 632, 633, 7, 31, 2, 2, 633, 635, 7, 85, 2, 2, 634, 632, 3, 2, 2, 2, 634, 635, 3, 2, 2, 2, 635, 637, 3, 2, 2, 2, 636, 638, 7, 184, 2, 2, 637, 636, 3, 2, 2, 2, 637, 638, 3, 2, 2, 2, 638, 639, 3, 2, 2, 2, 639, 643, 7, 175, 2, 2, 640, 641, 7, 129, 2, 2, 641, 642, 7, 34, 2, 2, 642, 644, 7, 36, 2, 2, 643, 640, 3, 2, 2, 2, 643, 644, 3, 2, 2, 2, 644, 645, 3, 2, 2, 2, 645, 646, 5, 196, 99, 2, 646, 647, 7, 16, 2, 2, 647, 657, 7, 243, 2, 2, 648, 649, 7, 161, 2, 2, 649, 654, 5, 64, 33, 2, 650, 651, 7, 6, 2, 2, 651, 653, 5, 64, 33, 2, 652, 650, 3, 2, 2, 2, 653, 656, 3, 2, 2, 2, 654, 652, 3, 2, 2, 2, 654, 655, 3, 2, 2, 2, 655, 658, 3, 2, 2, 2, 656, 654, 3, 2, 2, 2, 657, 648, 3, 2, 2, 2, 657, 658, 3, 2, 2, 2, 658, 869, 3, 2, 2, 2, 659, 661, 7, 103, 2, 2, 660, 662, 7, 184, 2, 2, 661, 660, 3, 2, 2, 2, 661, 662, 3, 2, 2, 2, 662, 663, 3, 2, 2, 2, 663, 666, 7, 175, 2, 2, 664, 665, 7, 129, 2, 2, 665, 667, 7, 36, 2, 2, 666, 664, 3, 2, 2, 2, 666, 667, 3, 2, 2, 2, 667, 668, 3, 2, 2, 2, 668, 869, 5, 196, 99, 2, 669, 671, 7, 90, 2, 2, 670, 672, 9, 4, 2, 2, 671, 670, 3, 2, 2, 2, 671, 672, 3, 2, 2, 2, 672, 673, 3, 2, 2, 2, 673, 869, 5, 14, 8, 2, 674, 675, 7, 96, 2, 2, 675, 678, 7, 97, 2, 2, 676, 677, 9, 5, 2, 2, 677, 679, 5, 198, 100, 2, 678, 676, 3, 2, 2, 2, 678, 679, 3, 2, 2, 2, 679, 684, 3, 2, 2, 2, 680, 682, 7, 38, 2, 2, 681, 680, 3, 2, 2, 2, 681, 682, 3, 2, 2, 2, 682, 683, 3, 2, 2, 2, 683, 685, 7, 243, 2, 2, 684, 681, 3, 2, 2, 2, 684, 685, 3, 2, 2, 2, 685, 869, 3, 2, 2, 2, 686, 687, 7, 96, 2, 2, 687, 688, 7, 82, 2, 2, 688, 691, 7, 176, 2, 2, 689, 690, 9, 5, 2, 2, 690, 692, 5, 198, 100, 2, 691, 689, 3, 2, 2, 2, 691, 692, 3, 2, 2, 2, 692, 693, 3, 2, 2, 2, 693, 694, 7, 38, 2, 2, 694, 696, 7, 243, 2, 2, 695, 697, 5, 32, 17, 2, 696, 695, 3, 2, 2, 2, 696, 697, 3, 2, 2, 2, 697, 869, 3, 2, 2, 2, 698, 699, 7, 96, 2, 2, 699, 704, 7, 210, 2, 2, 700, 702, 7, 38, 2, 2, 701, 700, 3, 2, 2, 2, 701, 702, 3, 2, 2, 2, 702, 703, 3, 2, 2, 2, 703, 705, 7, 243, 2, 2, 704, 701, 3, 2, 2, 2, 704, 705, 3, 2, 2, 2, 705, 869, 3, 2, 2, 2, 706, 707, 7, 96, 2, 2, 707, 708, 7, 187, 2, 2, 708, 713, 5, 134, 68, 2, 709, 710, 7, 3, 2, 2, 710, 711, 5, 50, 26, 2, 711, 712, 7, 4, 2, 2, 712, 714, 3, 2, 2, 2, 713, 709, 3, 2, 2, 2, 713, 714, 3, 2, 2, 2, 714, 869, 3, 2, 2, 2, 715, 716, 7, 96, 2, 2, 716, 717, 7, 98, 2, 2, 717, 718, 9, 5, 2, 2, 718, 721, 5, 134, 68, 2, 719, 720, 9, 5, 2, 2, 720, 722, 5, 198, 100, 2, 721, 719, 3, 2, 2, 2, 721, 722, 3, 2, 2, 2, 722, 869, 3, 2, 2, 2, 723, 724, 7, 96, 2, 2, 724, 725, 7, 101, 2, 2, 725, 727, 5, 134, 68, 2, 726, 728, 5, 32, 17, 2, 727, 726, 3, 2, 2, 2, 727, 728, 3, 2, 2, 2, 728, 869, 3, 2, 2, 2, 729, 731, 7, 96, 2, 2, 730, 732, 5, 198, 100, 2, 731, 730, 3, 2, 2, 2, 731, 732, 3, 2, 2, 2, 732, 733, 3, 2, 2, 2, 733, 741, 7, 102, 2, 2, 734, 736, 7, 38, 2, 2, 735, 734, 3, 2, 2, 2, 735, 736, 3, 2, 2, 2, 736, 739, 3, 2, 2, 2, 737, 740, 5, 196, 99, 2, 738, 740, 7, 243, 2, 2, 739, 737, 3, 2, 2, 2, 739, 738, 3, 2, 2, 2, 740, 742, 3, 2, 2, 2, 741, 735, 3, 2, 2, 2, 741, 742, 3, 2, 2, 2, 742, 869, 3, 2, 2, 2, 743, 744, 7, 96, 2, 2, 744, 745, 7, 81, 2, 2, 745, 746, 7, 82, 2, 2, 746, 869, 5, 134, 68, 2, 747, 748, 9, 6, 2, 2, 748, 750, 7, 175, 2, 2, 749, 751, 7, 176, 2, 2, 750, 749, 3, 2, 2, 2, 750, 751, 3, 2, 2, 2, 751, 752, 3, 2, 2, 2, 752, 869, 5, 36, 19, 2, 753, 754, 9, 6, 2, 2, 754, 756, 7, 209, 2, 2, 755, 757, 7, 176, 2, 2, 756, 755, 3, 2, 2, 2, 756, 757, 3, 2, 2, 2, 757, 758, 3, 2, 2, 2, 758, 869, 5, 198, 100, 2, 759, 761, 9, 6, 2, 2, 760, 762, 7, 82, 2, 2, 761, 760, 3, 2, 2, 2, 761, 762, 3, 2, 2, 2, 762, 764, 3, 2, 2, 2, 763, 765, 9, 7, 2, 2, 764, 763, 3, 2, 2, 2, 764, 765, 3, 2, 2, 2, 765, 766, 3, 2, 2, 2, 766, 768, 5, 134, 68, 2, 767, 769, 5, 32, 17, 2, 768, 767, 3, 2, 2, 2, 768, 769, 3, 2, 2, 2, 769, 771, 3, 2, 2, 2, 770, 772, 5, 38, 20, 2, 771, 770, 3, 2, 2, 2, 771, 772, 3, 2, 2, 2, 772, 869, 3, 2, 2, 2, 773, 774, 7, 177, 2, 2, 774, 775, 7, 82, 2, 2, 775, 869, 5, 134, 68, 2, 776, 784, 7, 177, 2, 2, 777, 785, 7, 243, 2, 2, 778, 780, 11, 2, 2, 2, 779, 778, 3, 2, 2, 2, 780, 783, 3, 2, 2, 2, 781, 782, 3, 2, 2, 2, 781, 779, 3, 2, 2, 2, 782, 785, 3, 2, 2, 2, 783, 781, 3, 2, 2, 2, 784, 777, 3, 2, 2, 2, 784, 781, 3, 2, 2, 2, 785, 869, 3, 2, 2, 2, 786, 788, 7, 179, 2, 2, 787, 789, 7, 181, 2, 2, 788, 787, 3, 2, 2, 2, 788, 789, 3, 2, 2, 2, 789, 790, 3, 2, 2, 2, 790, 791, 7, 82, 2, 2, 791, 794, 5, 134, 68, 2, 792, 793, 7, 185, 2, 2, 793, 795, 5, 46, 24, 2, 794, 792, 3, 2, 2, 2, 794, 795, 3, 2, 2, 2, 795, 800, 3, 2, 2, 2, 796, 798, 7, 16, 2, 2, 797, 796, 3, 2, 2, 2, 797, 798, 3, 2, 2, 2, 798, 799, 3, 2, 2, 2, 799, 801, 5, 26, 14, 2, 800, 797, 3, 2, 2, 2, 800, 801, 3, 2, 2, 2, 801, 869, 3, 2, 2, 2, 802, 803, 7, 180, 2, 2, 803, 806, 7, 82, 2, 2, 804, 805, 7, 129, 2, 2, 805, 807, 7, 36, 2, 2, 806, 804, 3, 2, 2, 2, 806, 807, 3, 2, 2, 2, 807, 808, 3, 2, 2, 2, 808, 869, 5, 134, 68, 2, 809, 810, 7, 178, 2, 2, 810, 869, 7, 179, 2, 2, 811, 812, 7, 229, 2, 2, 812, 814, 7, 119, 2, 2, 813, 815, 7, 240, 2, 2, 814, 813, 3, 2, 2, 2, 814, 815, 3, 2, 2, 2, 815, 816, 3, 2, 2, 2, 816, 817, 7, 241, 2, 2, 817, 819, 7, 243, 2, 2, 818, 820, 7, 158, 2, 2, 819, 818, 3, 2, 2, 2, 819, 820, 3, 2, 2, 2, 820, 821, 3, 2, 2, 2, 821, 822, 7, 88, 2, 2, 822, 823, 7, 82, 2, 2, 823, 825, 5, 134, 68, 2, 824, 826, 5, 32, 17, 2, 825, 824, 3, 2, 2, 2, 825, 826, 3, 2, 2, 2, 826, 869, 3, 2, 2, 2, 827, 828, 7, 212, 2, 2, 828, 829, 7, 82, 2, 2, 829, 831, 5, 134, 68, 2, 830, 832, 5, 32, 17, 2, 831, 830, 3, 2, 2, 2, 831, 832, 3, 2, 2, 2, 832, 869, 3, 2, 2, 2, 833, 834, 7, 224, 2, 2, 834, 835, 7, 225, 2, 2, 835, 836, 7, 82, 2, 2, 836, 869, 5, 134, 68, 2, 837, 838, 9, 8, 2, 2, 838, 842, 5, 198, 100, 2, 839, 841, 11, 2, 2, 2, 840, 839, 3, 2, 2, 2, 841, 844, 3, 2, 2, 2, 842, 843, 3, 2, 2, 2, 842, 840, 3, 2, 2, 2, 843, 869, 3, 2, 2, 2, 844, 842, 3, 2, 2, 2, 845, 846, 7, 117, 2, 2, 846, 850, 7, 230, 2, 2, 847, 849, 11, 2, 2, 2, 848, 847, 3, 2, 2, 2, 849, 852, 3, 2, 2, 2, 850, 851, 3, 2, 2, 2, 850, 848, 3, 2, 2, 2, 851, 869, 3, 2, 2, 2, 852, 850, 3, 2, 2, 2, 853, 857, 7, 117, 2, 2, 854, 856, 11, 2, 2, 2, 855, 854, 3, 2, 2, 2, 856, 859, 3, 2, 2, 2, 857, 858, 3, 2, 2, 2, 857, 855, 3, 2, 2, 2, 858, 869, 3, 2, 2, 2, 859, 857, 3, 2, 2, 2, 860, 869, 7, 118, 2, 2, 861, 865, 5, 16, 9, 2, 862, 864, 11, 2, 2, 2, 863, 862, 3, 2, 2, 2, 864, 867, 3, 2, 2, 2, 865, 866, 3, 2, 2, 2, 865, 863, 3, 2, 2, 2, 866, 869, 3, 2, 2, 2, 867, 865, 3, 2, 2, 2, 868, 226, 3, 2, 2, 2, 868, 227, 3, 2, 2, 2, 868, 229, 3, 2, 2, 2, 868, 249, 3, 2, 2, 2, 868, 256, 3, 2, 2, 2, 868, 266, 3, 2, 2, 2, 868, 296, 3, 2, 2, 2, 868, 329, 3, 2, 2, 2, 868, 358, 3, 2, 2, 2, 868, 371, 3, 2, 2, 2, 868, 388, 3, 2, 2, 2, 868, 397, 3, 2, 2, 2, 868, 404, 3, 2, 2, 2, 868, 411, 3, 2, 2, 2, 868, 422, 3, 2, 2, 2, 868, 437, 3, 2, 2, 2, 868, 451, 3, 2, 2, 2, 868, 461, 3, 2, 2, 2, 868, 475, 3, 2, 2, 2, 868, 489, 3, 2, 2, 2, 868, 497, 3, 2, 2, 2, 868, 516, 3, 2, 2, 2, 868, 532, 3, 2, 2, 2, 868, 541, 3, 2, 2, 2, 868, 547, 3, 2, 2, 2, 868, 557, 3, 2, 2, 2, 868, 564, 3, 2, 2, 2, 868, 601, 3, 2, 2, 2, 868, 623, 3, 2, 2, 2, 868, 631, 3, 2, 2, 2, 868, 659, 3, 2, 2, 2, 868, 669, 3, 2, 2, 2, 868, 674, 3, 2, 2, 2, 868, 686, 3, 2, 2, 2, 868, 698, 3, 2, 2, 2, 868, 706, 3, 2, 2, 2, 868, 715, 3, 2, 2, 2, 868, 723, 3, 2, 2, 2, 868, 729, 3, 2, 2, 2, 868, 743, 3, 2, 2, 2, 868, 747, 3, 2, 2, 2, 868, 753, 3, 2, 2, 2, 868, 759, 3, 2, 2, 2, 868, 773, 3, 2, 2, 2, 868, 776, 3, 2, 2, 2, 868, 786, 3, 2, 2, 2, 868, 802, 3, 2, 2, 2, 868, 809, 3, 2, 2, 2, 868, 811, 3, 2, 2, 2, 868, 827, 3, 2, 2, 2, 868, 833, 3, 2, 2, 2, 868, 837, 3, 2, 2, 2, 868, 845, 3, 2, 2, 2, 868, 853, 3, 2, 2, 2, 868, 860, 3, 2, 2, 2, 868, 861, 3, 2, 2, 2, 869, 15, 3, 2, 2, 2, 870, 871, 7, 81, 2, 2, 871, 1041, 7, 230, 2, 2, 872, 873, 7, 103, 2, 2, 873, 1041, 7, 230, 2, 2, 874, 876, 7, 221, 2, 2, 875, 877, 7, 230, 2, 2, 876, 875, 3, 2, 2, 2, 876, 877, 3, 2, 2, 2, 877, 1041, 3, 2, 2, 2, 878, 880, 7, 220, 2, 2, 879, 881, 7, 230, 2, 2, 880, 879, 3, 2, 2, 2, 880, 881, 3, 2, 2, 2, 881, 1041, 3, 2, 2, 2, 882, 883, 7, 96, 2, 2, 883, 1041, 7, 221, 2, 2, 884, 885, 7, 96, 2, 2, 885, 887, 7, 230, 2, 2, 886, 888, 7, 221, 2, 2, 887, 886, 3, 2, 2, 2, 887, 888, 3, 2, 2, 2, 888, 1041, 3, 2, 2, 2, 889, 890, 7, 96, 2, 2, 890, 1041, 7, 233, 2, 2, 891, 892, 7, 96, 2, 2, 892, 1041, 7, 231, 2, 2, 893, 894, 7, 96, 2, 2, 894, 895, 7, 74, 2, 2, 895, 1041, 7, 231, 2, 2, 896, 897, 7, 227, 2, 2, 897, 1041, 7, 82, 2, 2, 898, 899, 7, 228, 2, 2, 899, 1041, 7, 82, 2, 2, 900, 901, 7, 96, 2, 2, 901, 1041, 7, 232, 2, 2, 902, 903, 7, 96, 2, 2, 903, 904, 7, 81, 2, 2, 904, 1041, 7, 82, 2, 2, 905, 906, 7, 96, 2, 2, 906, 1041, 7, 234, 2, 2, 907, 908, 7, 96, 2, 2, 908, 1041, 7, 236, 2, 2, 909, 910, 7, 96, 2, 2, 910, 1041, 7, 237, 2, 2, 911, 912, 7, 81, 2, 2, 912, 1041, 7, 235, 2, 2, 913, 914, 7, 103, 2, 2, 914, 1041, 7, 235, 2, 2, 915, 916, 7, 111, 2, 2, 916, 1041, 7, 235, 2, 2, 917, 918, 7, 222, 2, 2, 918, 1041, 7, 82, 2, 2, 919, 920, 7, 222, 2, 2, 920, 1041, 7, 209, 2, 2, 921, 922, 7, 223, 2, 2, 922, 1041, 7, 82, 2, 2, 923, 924, 7, 223, 2, 2, 924, 1041, 7, 209, 2, 2, 925, 926, 7, 81, 2, 2, 926, 927, 7, 184, 2, 2, 927, 1041, 7, 124, 2, 2, 928, 929, 7, 103, 2, 2, 929, 930, 7, 184, 2, 2, 930, 1041, 7, 124, 2, 2, 931, 932, 7, 111, 2, 2, 932, 933, 7, 82, 2, 2, 933, 934, 5, 134, 68, 2, 934, 935, 7, 34, 2, 2, 935, 936, 7, 204, 2, 2, 936, 1041, 3, 2, 2, 2, 937, 938, 7, 111, 2, 2, 938, 939, 7, 82, 2, 2, 939, 940, 5, 134, 68, 2, 940, 941, 7, 204, 2, 2, 941, 942, 7, 22, 2, 2, 942, 1041, 3, 2, 2, 2, 943, 944, 7, 111, 2, 2, 944, 945, 7, 82, 2, 2, 945, 946, 5, 134, 68, 2, 946, 947, 7, 34, 2, 2, 947, 948, 7, 205, 2, 2, 948, 1041, 3, 2, 2, 2, 949, 950, 7, 111, 2, 2, 950, 951, 7, 82, 2, 2, 951, 952, 5, 134, 68, 2, 952, 953, 7, 190, 2, 2, 953, 954, 7, 22, 2, 2, 954, 1041, 3, 2, 2, 2, 955, 956, 7, 111, 2, 2, 956, 957, 7, 82, 2, 2, 957, 958, 5, 134, 68, 2, 958, 959, 7, 34, 2, 2, 959, 960, 7, 190, 2, 2, 960, 1041, 3, 2, 2, 2, 961, 962, 7, 111, 2, 2, 962, 963, 7, 82, 2, 2, 963, 964, 5, 134, 68, 2, 964, 965, 7, 34, 2, 2, 965, 966, 7, 191, 2, 2, 966, 967, 7, 16, 2, 2, 967, 968, 7, 192, 2, 2, 968, 1041, 3, 2, 2, 2, 969, 970, 7, 111, 2, 2, 970, 971, 7, 82, 2, 2, 971, 972, 5, 134, 68, 2, 972, 973, 7, 117, 2, 2, 973, 974, 7, 190, 2, 2, 974, 975, 7, 193, 2, 2, 975, 1041, 3, 2, 2, 2, 976, 977, 7, 111, 2, 2, 977, 978, 7, 82, 2, 2, 978, 979, 5, 134, 68, 2, 979, 980, 7, 194, 2, 2, 980, 981, 7, 68, 2, 2, 981, 1041, 3, 2, 2, 2, 982, 983, 7, 111, 2, 2, 983, 984, 7, 82, 2, 2, 984, 985, 5, 134, 68, 2, 985, 986, 7, 195, 2, 2, 986, 987, 7, 68, 2, 2, 987, 1041, 3, 2, 2, 2, 988, 989, 7, 111, 2, 2, 989, 990, 7, 82, 2, 2, 990, 991, 5, 134, 68, 2, 991, 992, 7, 196, 2, 2, 992, 993, 7, 68, 2, 2, 993, 1041, 3, 2, 2, 2, 994, 995, 7, 111, 2, 2, 995, 996, 7, 82, 2, 2, 996, 997, 5, 134, 68, 2, 997, 998, 7, 198, 2, 2, 998, 1041, 3, 2, 2, 2, 999, 1000, 7, 111, 2, 2, 1000, 1001, 7, 82, 2, 2, 1001, 1003, 5, 134, 68, 2, 1002, 1004, 5, 32, 17, 2, 1003, 1002, 3, 2, 2, 2, 1003, 1004, 3, 2, 2, 2, 1004, 1005, 3, 2, 2, 2, 1005, 1006, 7, 199, 2, 2, 1006, 1041, 3, 2, 2, 2, 1007, 1008, 7, 111, 2, 2, 1008, 1009, 7, 82, 2, 2, 1009, 1011, 5, 134, 68, 2, 1010, 1012, 5, 32, 17, 2, 1011, 1010, 3, 2, 2, 2, 1011, 1012, 3, 2, 2, 2, 1012, 1013, 3, 2, 2, 2, 1013, 1014, 7, 200, 2, 2, 1014, 1041, 3, 2, 2, 2, 1015, 1016, 7, 111, 2, 2, 1016, 1017, 7, 82, 2, 2, 1017, 1019, 5, 134, 68, 2, 1018, 1020, 5, 32, 17, 2, 1019, 1018, 3, 2, 2, 2, 1019, 1020, 3, 2, 2, 2, 1020, 1021, 3, 2, 2, 2, 1021, 1022, 7, 117, 2, 2, 1022, 1023, 7, 197, 2, 2, 1023, 1041, 3, 2, 2, 2, 1024, 1025, 7, 111, 2, 2, 1025, 1026, 7, 82, 2, 2, 1026, 1028, 5, 134, 68, 2, 1027, 1029, 5, 32, 17, 2, 1028, 1027, 3, 2, 2, 2, 1028, 1029, 3, 2, 2, 2, 1029, 1030, 3, 2, 2, 2, 1030, 1031, 7, 85, 2, 2, 1031, 1032, 7, 98, 2, 2, 1032, 1041, 3, 2, 2, 2, 1033, 1034, 7, 120, 2, 2, 1034, 1041, 7, 121, 2, 2, 1035, 1041, 7, 122, 2, 2, 1036, 1041, 7, 123, 2, 2, 1037, 1041, 7, 211, 2, 2, 1038, 1039, 7, 87, 2, 2, 1039, 1041, 7, 14, 2, 2, 1040, 870, 3, 2, 2, 2, 1040, 872, 3, 2, 2, 2, 1040, 874, 3, 2, 2, 2, 1040, 878, 3, 2, 2, 2, 1040, 882, 3, 2, 2, 2, 1040, 884, 3, 2, 2, 2, 1040, 889, 3, 2, 2, 2, 1040, 891, 3, 2, 2, 2, 1040, 893, 3, 2, 2, 2, 1040, 896, 3, 2, 2, 2, 1040, 898, 3, 2, 2, 2, 1040, 900, 3, 2, 2, 2, 1040, 902, 3, 2, 2, 2, 1040, 905, 3, 2, 2, 2, 1040, 907, 3, 2, 2, 2, 1040, 909, 3, 2, 2, 2, 1040, 911, 3, 2, 2, 2, 1040, 913, 3, 2, 2, 2, 1040, 915, 3, 2, 2, 2, 1040, 917, 3, 2, 2, 2, 1040, 919, 3, 2, 2, 2, 1040, 921, 3, 2, 2, 2, 1040, 923, 3, 2, 2, 2, 1040, 925, 3, 2, 2, 2, 1040, 928, 3, 2, 2, 2, 1040, 931, 3, 2, 2, 2, 1040, 937, 3, 2, 2, 2, 1040, 943, 3, 2, 2, 2, 1040, 949, 3, 2, 2, 2, 1040, 955, 3, 2, 2, 2, 1040, 961, 3, 2, 2, 2, 1040, 969, 3, 2, 2, 2, 1040, 976, 3, 2, 2, 2, 1040, 982, 3, 2, 2, 2, 1040, 988, 3, 2, 2, 2, 1040, 994, 3, 2, 2, 2, 1040, 999, 3, 2, 2, 2, 1040, 1007, 3, 2, 2, 2, 1040, 1015, 3, 2, 2, 2, 1040, 1024, 3, 2, 2, 2, 1040, 1033, 3, 2, 2, 2, 1040, 1035, 3, 2, 2, 2, 1040, 1036, 3, 2, 2, 2, 1040, 1037, 3, 2, 2, 2, 1040, 1038, 3, 2, 2, 2, 1041, 17, 3, 2, 2, 2, 1042, 1044, 7, 81, 2, 2, 1043, 1045, 7, 184, 2, 2, 1044, 1043, 3, 2, 2, 2, 1044, 1045, 3, 2, 2, 2, 1045, 1047, 3, 2, 2, 2, 1046, 1048, 7, 218, 2, 2, 1047, 1046, 3, 2, 2, 2, 1047, 1048, 3, 2, 2, 2, 1048, 1049, 3, 2, 2, 2, 1049, 1053, 7, 82, 2, 2, 1050, 1051, 7, 129, 2, 2, 1051, 1052, 7, 34, 2, 2, 1052, 1054, 7, 36, 2, 2, 1053, 1050, 3, 2, 2, 2, 1053, 1054, 3, 2, 2, 2, 1054, 1055, 3, 2, 2, 2, 1055, 1056, 5, 134, 68, 2, 1056, 19, 3, 2, 2, 2, 1057, 1058, 7, 204, 2, 2, 1058, 1059, 7, 22, 2, 2, 1059, 1063, 5, 112, 57, 2, 1060, 1061, 7, 205, 2, 2, 1061, 1062, 7, 22, 2, 2, 1062, 1064, 5, 116, 59, 2, 1063, 1060, 3, 2, 2, 2, 1063, 1064, 3, 2, 2, 2, 1064, 1065, 3, 2, 2, 2, 1065, 1066, 7, 88, 2, 2, 1066, 1067, 7, 247, 2, 2, 1067, 1068, 7, 189, 2, 2, 1068, 21, 3, 2, 2, 2, 1069, 1070, 7, 190, 2, 2, 1070, 1071, 7, 22, 2, 2, 1071, 1072, 5, 112, 57, 2, 1072, 1075, 7, 63, 2, 2, 1073, 1076, 5, 54, 28, 2, 1074, 1076, 5, 56, 29, 2, 1075, 1073, 3, 2, 2, 2, 1075, 1074, 3, 2, 2, 2, 1076, 1080, 3, 2, 2, 2, 1077, 1078, 7, 191, 2, 2, 1078, 1079, 7, 16, 2, 2, 1079, 1081, 7, 192, 2, 2, 1080, 1077, 3, 2, 2, 2, 1080, 1081, 3, 2, 2, 2, 1081, 23, 3, 2, 2, 2, 1082, 1083, 7, 193, 2, 2, 1083, 1084, 7, 243, 2, 2, 1084, 25, 3, 2, 2, 2, 1085, 1087, 5, 40, 21, 2, 1086, 1085, 3, 2, 2, 2, 1086, 1087, 3, 2, 2, 2, 1087, 1088, 3, 2, 2, 2, 1088, 1089, 5, 66, 34, 2, 1089, 27, 3, 2, 2, 2, 1090, 1091, 7, 86, 2, 2, 1091, 1092, 7, 158, 2, 2, 1092, 1093, 7, 82, 2, 2, 1093, 1100, 5, 134, 68, 2, 1094, 1098, 5, 32, 17, 2, 1095, 1096, 7, 129, 2, 2, 1096, 1097, 7, 34, 2, 2, 1097, 1099, 7, 36, 2, 2, 1098, 1095, 3, 2, 2, 2, 1098, 1099, 3, 2, 2, 2, 1099, 1101, 3, 2, 2, 2, 1100, 1094, 3, 2, 2, 2, 1100, 1101, 3, 2, 2, 2, 1101, 1139, 3, 2, 2, 2, 1102, 1103, 7, 86, 2, 2, 1103, 1105, 7, 88, 2, 2, 1104, 1106, 7, 82, 2, 2, 1105, 1104, 3, 2, 2, 2, 1105, 1106, 3, 2, 2, 2, 1106, 1107, 3, 2, 2, 2, 1107, 1109, 5, 134, 68, 2, 1108, 1110, 5, 32, 17, 2, 1109, 1108, 3, 2, 2, 2, 1109, 1110, 3, 2, 2, 2, 1110, 1139, 3, 2, 2, 2, 1111, 1112, 7, 86, 2, 2, 1112, 1114, 7, 158, 2, 2, 1113, 1115, 7, 240, 2, 2, 1114, 1113, 3, 2, 2, 2, 1114, 1115, 3, 2, 2, 2, 1115, 1116, 3, 2, 2, 2, 1116, 1117, 7, 83, 2, 2, 1117, 1119, 7, 243, 2, 2, 1118, 1120, 5, 132, 67, 2, 1119, 1118, 3, 2, 2, 2, 1119, 1120, 3, 2, 2, 2, 1120, 1122, 3, 2, 2, 2, 1121, 1123, 5, 58, 30, 2, 1122, 1121, 3, 2, 2, 2, 1122, 1123, 3, 2, 2, 2, 1123, 1139, 3, 2, 2, 2, 1124, 1125, 7, 86, 2, 2, 1125, 1127, 7, 158, 2, 2, 1126, 1128, 7, 240, 2, 2, 1127, 1126, 3, 2, 2, 2, 1127, 1128, 3, 2, 2, 2, 1128, 1129, 3, 2, 2, 2, 1129, 1131, 7, 83, 2, 2, 1130, 1132, 7, 243, 2, 2, 1131, 1130, 3, 2, 2, 2, 1131, 1132, 3, 2, 2, 2, 1132, 1133, 3, 2, 2, 2, 1133, 1136, 5, 44, 23, 2, 1134, 1135, 7, 185, 2, 2, 1135, 1137, 5, 46, 24, 2, 1136, 1134, 3, 2, 2, 2, 1136, 1137, 3, 2, 2, 2, 1137, 1139, 3, 2, 2, 2, 1138, 1090, 3, 2, 2, 2, 1138, 1102, 3, 2, 2, 2, 1138, 1111, 3, 2, 2, 2, 1138, 1124, 3, 2, 2, 2, 1139, 29, 3, 2, 2, 2, 1140, 1142, 5, 32, 17, 2, 1141, 1143, 5, 24, 13, 2, 1142, 1141, 3, 2, 2, 2, 1142, 1143, 3, 2, 2, 2, 1143, 31, 3, 2, 2, 2, 1144, 1145, 7, 68, 2, 2, 1145, 1146, 7, 3, 2, 2, 1146, 1151, 5, 34, 18, 2, 1147, 1148, 7, 6, 2, 2, 1148, 1150, 5, 34, 18, 2, 1149, 1147, 3, 2, 2, 2, 1150, 1153, 3, 2, 2, 2, 1151, 1149, 3, 2, 2, 2, 1151, 1152, 3, 2, 2, 2, 1152, 1154, 3, 2, 2, 2, 1153, 1151, 3, 2, 2, 2, 1154, 1155, 7, 4, 2, 2, 1155, 33, 3, 2, 2, 2, 1156, 1159, 5, 198, 100, 2, 1157, 1158, 7, 132, 2, 2, 1158, 1160, 5, 152, 77, 2, 1159, 1157, 3, 2, 2, 2, 1159, 1160, 3, 2, 2, 2, 1160, 35, 3, 2, 2, 2, 1161, 1167, 5, 196, 99, 2, 1162, 1167, 7, 243, 2, 2, 1163, 1167, 5, 154, 78, 2, 1164, 1167, 5, 156, 79, 2, 1165, 1167, 5, 158, 80, 2, 1166, 1161, 3, 2, 2, 2, 1166, 1162, 3, 2, 2, 2, 1166, 1163, 3, 2, 2, 2, 1166, 1164, 3, 2, 2, 2, 1166, 1165, 3, 2, 2, 2, 1167, 37, 3, 2, 2, 2, 1168, 1173, 5, 198, 100, 2, 1169, 1170, 7, 5, 2, 2, 1170, 1172, 5, 198, 100, 2, 1171, 1169, 3, 2, 2, 2, 1172, 1175, 3, 2, 2, 2, 1173, 1171, 3, 2, 2, 2, 1173, 1174, 3, 2, 2, 2, 1174, 39, 3, 2, 2, 2, 1175, 1173, 3, 2, 2, 2, 1176, 1177, 7, 79, 2, 2, 1177, 1182, 5, 42, 22, 2, 1178, 1179, 7, 6, 2, 2, 1179, 1181, 5, 42, 22, 2, 1180, 1178, 3, 2, 2, 2, 1181, 1184, 3, 2, 2, 2, 1182, 1180, 3, 2, 2, 2, 1182, 1183, 3, 2, 2, 2, 1183, 41, 3, 2, 2, 2, 1184, 1182, 3, 2, 2, 2, 1185, 1187, 5, 198, 100, 2, 1186, 1188, 7, 16, 2, 2, 1187, 1186, 3, 2, 2, 2, 1187, 1188, 3, 2, 2, 2, 1188, 1189, 3, 2, 2, 2, 1189, 1190, 7, 3, 2, 2, 1190, 1191, 5, 26, 14, 2, 1191, 1192, 7, 4, 2, 2, 1192, 43, 3, 2, 2, 2, 1193, 1194, 7, 161, 2, 2, 1194, 1195, 5, 196, 99, 2, 1195, 45, 3, 2, 2, 2, 1196, 1197, 7, 3, 2, 2, 1197, 1202, 5, 48, 25, 2, 1198, 1199, 7, 6, 2, 2, 1199, 1201, 5, 48, 25, 2, 1200, 1198, 3, 2, 2, 2, 1201, 1204, 3, 2, 2, 2, 1202, 1200, 3, 2, 2, 2, 1202, 1203, 3, 2, 2, 2, 1203, 1205, 3, 2, 2, 2, 1204, 1202, 3, 2, 2, 2, 1205, 1206, 7, 4, 2, 2, 1206, 47, 3, 2, 2, 2, 1207, 1212, 5, 50, 26, 2, 1208, 1210, 7, 132, 2, 2, 1209, 1208, 3, 2, 2, 2, 1209, 1210, 3, 2, 2, 2, 1210, 1211, 3, 2, 2, 2, 1211, 1213, 5, 52, 27, 2, 1212, 1209, 3, 2, 2, 2, 1212, 1213, 3, 2, 2, 2, 1213, 49, 3, 2, 2, 2, 1214, 1219, 5, 198, 100, 2, 1215, 1216, 7, 5, 2, 2, 1216, 1218, 5, 198, 100, 2, 1217, 1215, 3, 2, 2, 2, 1218, 1221, 3, 2, 2, 2, 1219, 1217, 3, 2, 2, 2, 1219, 1220, 3, 2, 2, 2, 1220, 1224, 3, 2, 2, 2, 1221, 1219, 3, 2, 2, 2, 1222, 1224, 7, 243, 2, 2, 1223, 1214, 3, 2, 2, 2, 1223, 1222, 3, 2, 2, 2, 1224, 51, 3, 2, 2, 2, 1225, 1230, 7, 247, 2, 2, 1226, 1230, 7, 248, 2, 2, 1227, 1230, 5, 160, 81, 2, 1228, 1230, 7, 243, 2, 2, 1229, 1225, 3, 2, 2, 2, 1229, 1226, 3, 2, 2, 2, 1229, 1227, 3, 2, 2, 2, 1229, 1228, 3, 2, 2, 2, 1230, 53, 3, 2, 2, 2, 1231, 1232, 7, 3, 2, 2, 1232, 1237, 5, 152, 77, 2, 1233, 1234, 7, 6, 2, 2, 1234, 1236, 5, 152, 77, 2, 1235, 1233, 3, 2, 2, 2, 1236, 1239, 3, 2, 2, 2, 1237, 1235, 3, 2, 2, 2, 1237, 1238, 3, 2, 2, 2, 1238, 1240, 3, 2, 2, 2, 1239, 1237, 3, 2, 2, 2, 1240, 1241, 7, 4, 2, 2, 1241, 55, 3, 2, 2, 2, 1242, 1243, 7, 3, 2, 2, 1243, 1248, 5, 54, 28, 2, 1244, 1245, 7, 6, 2, 2, 1245, 1247, 5, 54, 28, 2, 1246, 1244, 3, 2, 2, 2, 1247, 1250, 3, 2, 2, 2, 1248, 1246, 3, 2, 2, 2, 1248, 1249, 3, 2, 2, 2, 1249, 1251, 3, 2, 2, 2, 1250, 1248, 3, 2, 2, 2, 1251, 1252, 7, 4, 2, 2, 1252, 57, 3, 2, 2, 2, 1253, 1254, 7, 191, 2, 2, 1254, 1255, 7, 16, 2, 2, 1255, 1260, 5, 60, 31, 2, 1256, 1257, 7, 191, 2, 2, 1257, 1258, 7, 22, 2, 2, 1258, 1260, 5, 62, 32, 2, 1259, 1253, 3, 2, 2, 2, 1259, 1256, 3, 2, 2, 2, 1260, 59, 3, 2, 2, 2, 1261, 1262, 7, 207, 2, 2, 1262, 1263, 7, 243, 2, 2, 1263, 1264, 7, 208, 2, 2, 1264, 1267, 7, 243, 2, 2, 1265, 1267, 5, 198, 100, 2, 1266, 1261, 3, 2, 2, 2, 1266, 1265, 3, 2, 2, 2, 1267, 61, 3, 2, 2, 2, 1268, 1272, 7, 243, 2, 2, 1269, 1270, 7, 79, 2, 2, 1270, 1271, 7, 163, 2, 2, 1271, 1273, 5, 46, 24, 2, 1272, 1269, 3, 2, 2, 2, 1272, 1273, 3, 2, 2, 2, 1273, 63, 3, 2, 2, 2, 1274, 1275, 5, 198, 100, 2, 1275, 1276, 7, 243, 2, 2, 1276, 65, 3, 2, 2, 2, 1277, 1279, 5, 28, 15, 2, 1278, 1277, 3, 2, 2, 2, 1278, 1279, 3, 2, 2, 2, 1279, 1280, 3, 2, 2, 2, 1280, 1281, 5, 72, 37, 2, 1281, 1282, 5, 68, 35, 2, 1282, 1290, 3, 2, 2, 2, 1283, 1285, 5, 84, 43, 2, 1284, 1286, 5, 70, 36, 2, 1285, 1284, 3, 2, 2, 2, 1286, 1287, 3, 2, 2, 2, 1287, 1285, 3, 2, 2, 2, 1287, 1288, 3, 2, 2, 2, 1288, 1290, 3, 2, 2, 2, 1289, 1278, 3, 2, 2, 2, 1289, 1283, 3, 2, 2, 2, 1290, 67, 3, 2, 2, 2, 1291, 1292, 7, 27, 2, 2, 1292, 1293, 7, 22, 2, 2, 1293, 1298, 5, 76, 39, 2, 1294, 1295, 7, 6, 2, 2, 1295, 1297, 5, 76, 39, 2, 1296, 1294, 3, 2, 2, 2, 1297, 1300, 3, 2, 2, 2, 1298, 1296, 3, 2, 2, 2, 1298, 1299, 3, 2, 2, 2, 1299, 1302, 3, 2, 2, 2, 1300, 1298, 3, 2, 2, 2, 1301, 1291, 3, 2, 2, 2, 1301, 1302, 3, 2, 2, 2, 1302, 1313, 3, 2, 2, 2, 1303, 1304, 7, 156, 2, 2, 1304, 1305, 7, 22, 2, 2, 1305, 1310, 5, 142, 72, 2, 1306, 1307, 7, 6, 2, 2, 1307, 1309, 5, 142, 72, 2, 1308, 1306, 3, 2, 2, 2, 1309, 1312, 3, 2, 2, 2, 1310, 1308, 3, 2, 2, 2, 1310, 1311, 3, 2, 2, 2, 1311, 1314, 3, 2, 2, 2, 1312, 1310, 3, 2, 2, 2, 1313, 1303, 3, 2, 2, 2, 1313, 1314, 3, 2, 2, 2, 1314, 1325, 3, 2, 2, 2, 1315, 1316, 7, 157, 2, 2, 1316, 1317, 7, 22, 2, 2, 1317, 1322, 5, 142, 72, 2, 1318, 1319, 7, 6, 2, 2, 1319, 1321, 5, 142, 72, 2, 1320, 1318, 3, 2, 2, 2, 1321, 1324, 3, 2, 2, 2, 1322, 1320, 3, 2, 2, 2, 1322, 1323, 3, 2, 2, 2, 1323, 1326, 3, 2, 2, 2, 1324, 1322, 3, 2, 2, 2, 1325, 1315, 3, 2, 2, 2, 1325, 1326, 3, 2, 2, 2, 1326, 1337, 3, 2, 2, 2, 1327, 1328, 7, 155, 2, 2, 1328, 1329, 7, 22, 2, 2, 1329, 1334, 5, 76, 39, 2, 1330, 1331, 7, 6, 2, 2, 1331, 1333, 5, 76, 39, 2, 1332, 1330, 3, 2, 2, 2, 1333, 1336, 3, 2, 2, 2, 1334, 1332, 3, 2, 2, 2, 1334, 1335, 3, 2, 2, 2, 1335, 1338, 3, 2, 2, 2, 1336, 1334, 3, 2, 2, 2, 1337, 1327, 3, 2, 2, 2, 1337, 1338, 3, 2, 2, 2, 1338, 1340, 3, 2, 2, 2, 1339, 1341, 5, 186, 94, 2, 1340, 1339, 3, 2, 2, 2, 1340, 1341, 3, 2, 2, 2, 1341, 1347, 3, 2, 2, 2, 1342, 1345, 7, 29, 2, 2, 1343, 1346, 7, 17, 2, 2, 1344, 1346, 5, 142, 72, 2, 1345, 1343, 3, 2, 2, 2, 1345, 1344, 3, 2, 2, 2, 1346, 1348, 3, 2, 2, 2, 1347, 1342, 3, 2, 2, 2, 1347, 1348, 3, 2, 2, 2, 1348, 69, 3, 2, 2, 2, 1349, 1351, 5, 28, 15, 2, 1350, 1349, 3, 2, 2, 2, 1350, 1351, 3, 2, 2, 2, 1351, 1352, 3, 2, 2, 2, 1352, 1353, 5, 78, 40, 2, 1353, 1354, 5, 68, 35, 2, 1354, 71, 3, 2, 2, 2, 1355, 1356, 8, 37, 1, 2, 1356, 1357, 5, 74, 38, 2, 1357, 1381, 3, 2, 2, 2, 1358, 1359, 12, 5, 2, 2, 1359, 1360, 6, 37, 3, 2, 1360, 1362, 9, 9, 2, 2, 1361, 1363, 5, 98, 50, 2, 1362, 1361, 3, 2, 2, 2, 1362, 1363, 3, 2, 2, 2, 1363, 1364, 3, 2, 2, 2, 1364, 1380, 5, 72, 37, 6, 1365, 1366, 12, 4, 2, 2, 1366, 1367, 6, 37, 5, 2, 1367, 1369, 7, 107, 2, 2, 1368, 1370, 5, 98, 50, 2, 1369, 1368, 3, 2, 2, 2, 1369, 1370, 3, 2, 2, 2, 1370, 1371, 3, 2, 2, 2, 1371, 1380, 5, 72, 37, 5, 1372, 1373, 12, 3, 2, 2, 1373, 1374, 6, 37, 7, 2, 1374, 1376, 9, 10, 2, 2, 1375, 1377, 5, 98, 50, 2, 1376, 1375, 3, 2, 2, 2, 1376, 1377, 3, 2, 2, 2, 1377, 1378, 3, 2, 2, 2, 1378, 1380, 5, 72, 37, 4, 1379, 1358, 3, 2, 2, 2, 1379, 1365, 3, 2, 2, 2, 1379, 1372, 3, 2, 2, 2, 1380, 1383, 3, 2, 2, 2, 1381, 1379, 3, 2, 2, 2, 1381, 1382, 3, 2, 2, 2, 1382, 73, 3, 2, 2, 2, 1383, 1381, 3, 2, 2, 2, 1384, 1393, 5, 78, 40, 2, 1385, 1386, 7, 82, 2, 2, 1386, 1393, 5, 134, 68, 2, 1387, 1393, 5, 126, 64, 2, 1388, 1389, 7, 3, 2, 2, 1389, 1390, 5, 66, 34, 2, 1390, 1391, 7, 4, 2, 2, 1391, 1393, 3, 2, 2, 2, 1392, 1384, 3, 2, 2, 2, 1392, 1385, 3, 2, 2, 2, 1392, 1387, 3, 2, 2, 2, 1392, 1388, 3, 2, 2, 2, 1393, 75, 3, 2, 2, 2, 1394, 1396, 5, 142, 72, 2, 1395, 1397, 9, 11, 2, 2, 1396, 1395, 3, 2, 2, 2, 1396, 1397, 3, 2, 2, 2, 1397, 1400, 3, 2, 2, 2, 1398, 1399, 7, 44, 2, 2, 1399, 1401, 9, 12, 2, 2, 1400, 1398, 3, 2, 2, 2, 1400, 1401, 3, 2, 2, 2, 1401, 77, 3, 2, 2, 2, 1402, 1403, 7, 13, 2, 2, 1403, 1404, 7, 159, 2, 2, 1404, 1405, 7, 3, 2, 2, 1405, 1406, 5, 140, 71, 2, 1406, 1407, 7, 4, 2, 2, 1407, 1413, 3, 2, 2, 2, 1408, 1409, 7, 114, 2, 2, 1409, 1413, 5, 140, 71, 2, 1410, 1411, 7, 160, 2, 2, 1411, 1413, 5, 140, 71, 2, 1412, 1402, 3, 2, 2, 2, 1412, 1408, 3, 2, 2, 2, 1412, 1410, 3, 2, 2, 2, 1413, 1415, 3, 2, 2, 2, 1414, 1416, 5, 132, 67, 2, 1415, 1414, 3, 2, 2, 2, 1415, 1416, 3, 2, 2, 2, 1416, 1419, 3, 2, 2, 2, 1417, 1418, 7, 165, 2, 2, 1418, 1420, 7, 243, 2, 2, 1419, 1417, 3, 2, 2, 2, 1419, 1420, 3, 2, 2, 2, 1420, 1421, 3, 2, 2, 2, 1421, 1422, 7, 161, 2, 2, 1422, 1435, 7, 243, 2, 2, 1423, 1433, 7, 16, 2, 2, 1424, 1434, 5, 114, 58, 2, 1425, 1434, 5, 172, 87, 2, 1426, 1429, 7, 3, 2, 2, 1427, 1430, 5, 114, 58, 2, 1428, 1430, 5, 172, 87, 2, 1429, 1427, 3, 2, 2, 2, 1429, 1428, 3, 2, 2, 2, 1430, 1431, 3, 2, 2, 2, 1431, 1432, 7, 4, 2, 2, 1432, 1434, 3, 2, 2, 2, 1433, 1424, 3, 2, 2, 2, 1433, 1425, 3, 2, 2, 2, 1433, 1426, 3, 2, 2, 2, 1434, 1436, 3, 2, 2, 2, 1435, 1423, 3, 2, 2, 2, 1435, 1436, 3, 2, 2, 2, 1436, 1438, 3, 2, 2, 2, 1437, 1439, 5, 132, 67, 2, 1438, 1437, 3, 2, 2, 2, 1438, 1439, 3, 2, 2, 2, 1439, 1442, 3, 2, 2, 2, 1440, 1441, 7, 164, 2, 2, 1441, 1443, 7, 243, 2, 2, 1442, 1440, 3, 2, 2, 2, 1442, 1443, 3, 2, 2, 2, 1443, 1445, 3, 2, 2, 2, 1444, 1446, 5, 84, 43, 2, 1445, 1444, 3, 2, 2, 2, 1445, 1446, 3, 2, 2, 2, 1446, 1449, 3, 2, 2, 2, 1447, 1448, 7, 20, 2, 2, 1448, 1450, 5, 144, 73, 2, 1449, 1447, 3, 2, 2, 2, 1449, 1450, 3, 2, 2, 2, 1450, 1496, 3, 2, 2, 2, 1451, 1455, 7, 13, 2, 2, 1452, 1454, 5, 80, 41, 2, 1453, 1452, 3, 2, 2, 2, 1454, 1457, 3, 2, 2, 2, 1455, 1453, 3, 2, 2, 2, 1455, 1456, 3, 2, 2, 2, 1456, 1459, 3, 2, 2, 2, 1457, 1455, 3, 2, 2, 2, 1458, 1460, 5, 98, 50, 2, 1459, 1458, 3, 2, 2, 2, 1459, 1460, 3, 2, 2, 2, 1460, 1461, 3, 2, 2, 2, 1461, 1463, 5, 140, 71, 2, 1462, 1464, 5, 84, 43, 2, 1463, 1462, 3, 2, 2, 2, 1463, 1464, 3, 2, 2, 2, 1464, 1474, 3, 2, 2, 2, 1465, 1471, 5, 84, 43, 2, 1466, 1468, 7, 13, 2, 2, 1467, 1469, 5, 98, 50, 2, 1468, 1467, 3, 2, 2, 2, 1468, 1469, 3, 2, 2, 2, 1469, 1470, 3, 2, 2, 2, 1470, 1472, 5, 140, 71, 2, 1471, 1466, 3, 2, 2, 2, 1471, 1472, 3, 2, 2, 2, 1472, 1474, 3, 2, 2, 2, 1473, 1451, 3, 2, 2, 2, 1473, 1465, 3, 2, 2, 2, 1474, 1478, 3, 2, 2, 2, 1475, 1477, 5, 96, 49, 2, 1476, 1475, 3, 2, 2, 2, 1477, 1480, 3, 2, 2, 2, 1478, 1476, 3, 2, 2, 2, 1478, 1479, 3, 2, 2, 2, 1479, 1483, 3, 2, 2, 2, 1480, 1478, 3, 2, 2, 2, 1481, 1482, 7, 20, 2, 2, 1482, 1484, 5, 144, 73, 2, 1483, 1481, 3, 2, 2, 2, 1483, 1484, 3, 2, 2, 2, 1484, 1486, 3, 2, 2, 2, 1485, 1487, 5, 86, 44, 2, 1486, 1485, 3, 2, 2, 2, 1486, 1487, 3, 2, 2, 2, 1487, 1490, 3, 2, 2, 2, 1488, 1489, 7, 28, 2, 2, 1489, 1491, 5, 144, 73, 2, 1490, 1488, 3, 2, 2, 2, 1490, 1491, 3, 2, 2, 2, 1491, 1493, 3, 2, 2, 2, 1492, 1494, 5, 186, 94, 2, 1493, 1492, 3, 2, 2, 2, 1493, 1494, 3, 2, 2, 2, 1494, 1496, 3, 2, 2, 2, 1495, 1412, 3, 2, 2, 2, 1495, 1473, 3, 2, 2, 2, 1496, 79, 3, 2, 2, 2, 1497, 1498, 7, 7, 2, 2, 1498, 1505, 5, 82, 42, 2, 1499, 1501, 7, 6, 2, 2, 1500, 1499, 3, 2, 2, 2, 1500, 1501, 3, 2, 2, 2, 1501, 1502, 3, 2, 2, 2, 1502, 1504, 5, 82, 42, 2, 1503, 1500, 3, 2, 2, 2, 1504, 1507, 3, 2, 2, 2, 1505, 1503, 3, 2, 2, 2, 1505, 1506, 3, 2, 2, 2, 1506, 1508, 3, 2, 2, 2, 1507, 1505, 3, 2, 2, 2, 1508, 1509, 7, 8, 2, 2, 1509, 81, 3, 2, 2, 2, 1510, 1524, 5, 198, 100, 2, 1511, 1512, 5, 198, 100, 2, 1512, 1513, 7, 3, 2, 2, 1513, 1518, 5, 150, 76, 2, 1514, 1515, 7, 6, 2, 2, 1515, 1517, 5, 150, 76, 2, 1516, 1514, 3, 2, 2, 2, 1517, 1520, 3, 2, 2, 2, 1518, 1516, 3, 2, 2, 2, 1518, 1519, 3, 2, 2, 2, 1519, 1521, 3, 2, 2, 2, 1520, 1518, 3, 2, 2, 2, 1521, 1522, 7, 4, 2, 2, 1522, 1524, 3, 2, 2, 2, 1523, 1510, 3, 2, 2, 2, 1523, 1511, 3, 2, 2, 2, 1524, 83, 3, 2, 2, 2, 1525, 1526, 7, 14, 2, 2, 1526, 1531, 5, 100, 51, 2, 1527, 1528, 7, 6, 2, 2, 1528, 1530, 5, 100, 51, 2, 1529, 1527, 3, 2, 2, 2, 1530, 1533, 3, 2, 2, 2, 1531, 1529, 3, 2, 2, 2, 1531, 1532, 3, 2, 2, 2, 1532, 1537, 3, 2, 2, 2, 1533, 1531, 3, 2, 2, 2, 1534, 1536, 5, 96, 49, 2, 1535, 1534, 3, 2, 2, 2, 1536, 1539, 3, 2, 2, 2, 1537, 1535, 3, 2, 2, 2, 1537, 1538, 3, 2, 2, 2, 1538, 1541, 3, 2, 2, 2, 1539, 1537, 3, 2, 2, 2, 1540, 1542, 5, 90, 46, 2, 1541, 1540, 3, 2, 2, 2, 1541, 1542, 3, 2, 2, 2, 1542, 85, 3, 2, 2, 2, 1543, 1544, 7, 21, 2, 2, 1544, 1545, 7, 22, 2, 2, 1545, 1550, 5, 142, 72, 2, 1546, 1547, 7, 6, 2, 2, 1547, 1549, 5, 142, 72, 2, 1548, 1546, 3, 2, 2, 2, 1549, 1552, 3, 2, 2, 2, 1550, 1548, 3, 2, 2, 2, 1550, 1551, 3, 2, 2, 2, 1551, 1570, 3, 2, 2, 2, 1552, 1550, 3, 2, 2, 2, 1553, 1554, 7, 79, 2, 2, 1554, 1571, 7, 26, 2, 2, 1555, 1556, 7, 79, 2, 2, 1556, 1571, 7, 25, 2, 2, 1557, 1558, 7, 23, 2, 2, 1558, 1559, 7, 24, 2, 2, 1559, 1560, 7, 3, 2, 2, 1560, 1565, 5, 88, 45, 2, 1561, 1562, 7, 6, 2, 2, 1562, 1564, 5, 88, 45, 2, 1563, 1561, 3, 2, 2, 2, 1564, 1567, 3, 2, 2, 2, 1565, 1563, 3, 2, 2, 2, 1565, 1566, 3, 2, 2, 2, 1566, 1568, 3, 2, 2, 2, 1567, 1565, 3, 2, 2, 2, 1568, 1569, 7, 4, 2, 2, 1569, 1571, 3, 2, 2, 2, 1570, 1553, 3, 2, 2, 2, 1570, 1555, 3, 2, 2, 2, 1570, 1557, 3, 2, 2, 2, 1570, 1571, 3, 2, 2, 2, 1571, 1588, 3, 2, 2, 2, 1572, 1573, 7, 21, 2, 2, 1573, 1574, 7, 22, 2, 2, 1574, 1575, 7, 23, 2, 2, 1575, 1576, 7, 24, 2, 2, 1576, 1577, 7, 3, 2, 2, 1577, 1582, 5, 88, 45, 2, 1578, 1579, 7, 6, 2, 2, 1579, 1581, 5, 88, 45, 2, 1580, 1578, 3, 2, 2, 2, 1581, 1584, 3, 2, 2, 2, 1582, 1580, 3, 2, 2, 2, 1582, 1583, 3, 2, 2, 2, 1583, 1585, 3, 2, 2, 2, 1584, 1582, 3, 2, 2, 2, 1585, 1586, 7, 4, 2, 2, 1586, 1588, 3, 2, 2, 2, 1587, 1543, 3, 2, 2, 2, 1587, 1572, 3, 2, 2, 2, 1588, 87, 3, 2, 2, 2, 1589, 1598, 7, 3, 2, 2, 1590, 1595, 5, 142, 72, 2, 1591, 1592, 7, 6, 2, 2, 1592, 1594, 5, 142, 72, 2, 1593, 1591, 3, 2, 2, 2, 1594, 1597, 3, 2, 2, 2, 1595, 1593, 3, 2, 2, 2, 1595, 1596, 3, 2, 2, 2, 1596, 1599, 3, 2, 2, 2, 1597, 1595, 3, 2, 2, 2, 1598, 1590, 3, 2, 2, 2, 1598, 1599, 3, 2, 2, 2, 1599, 1600, 3, 2, 2, 2, 1600, 1603, 7, 4, 2, 2, 1601, 1603, 5, 142, 72, 2, 1602, 1589, 3, 2, 2, 2, 1602, 1601, 3, 2, 2, 2, 1603, 89, 3, 2, 2, 2, 1604, 1605, 7, 64, 2, 2, 1605, 1606, 7, 3, 2, 2, 1606, 1607, 5, 140, 71, 2, 1607, 1608, 7, 47, 2, 2, 1608, 1609, 5, 92, 47, 2, 1609, 1610, 7, 33, 2, 2, 1610, 1611, 7, 3, 2, 2, 1611, 1616, 5, 94, 48, 2, 1612, 1613, 7, 6, 2, 2, 1613, 1615, 5, 94, 48, 2, 1614, 1612, 3, 2, 2, 2, 1615, 1618, 3, 2, 2, 2, 1616, 1614, 3, 2, 2, 2, 1616, 1617, 3, 2, 2, 2, 1617, 1619, 3, 2, 2, 2, 1618, 1616, 3, 2, 2, 2, 1619, 1620, 7, 4, 2, 2, 1620, 1621, 7, 4, 2, 2, 1621, 91, 3, 2, 2, 2, 1622, 1635, 5, 198, 100, 2, 1623, 1624, 7, 3, 2, 2, 1624, 1629, 5, 198, 100, 2, 1625, 1626, 7, 6, 2, 2, 1626, 1628, 5, 198, 100, 2, 1627, 1625, 3, 2, 2, 2, 1628, 1631, 3, 2, 2, 2, 1629, 1627, 3, 2, 2, 2, 1629, 1630, 3, 2, 2, 2, 1630, 1632, 3, 2, 2, 2, 1631, 1629, 3, 2, 2, 2, 1632, 1633, 7, 4, 2, 2, 1633, 1635, 3, 2, 2, 2, 1634, 1622, 3, 2, 2, 2, 1634, 1623, 3, 2, 2, 2, 1635, 93, 3, 2, 2, 2, 1636, 1641, 5, 142, 72, 2, 1637, 1639, 7, 16, 2, 2, 1638, 1637, 3, 2, 2, 2, 1638, 1639, 3, 2, 2, 2, 1639, 1640, 3, 2, 2, 2, 1640, 1642, 5, 198, 100, 2, 1641, 1638, 3, 2, 2, 2, 1641, 1642, 3, 2, 2, 2, 1642, 95, 3, 2, 2, 2, 1643, 1644, 7, 65, 2, 2, 1644, 1646, 7, 84, 2, 2, 1645, 1647, 7, 56, 2, 2, 1646, 1645, 3, 2, 2, 2, 1646, 1647, 3, 2, 2, 2, 1647, 1648, 3, 2, 2, 2, 1648, 1649, 5, 196, 99, 2, 1649, 1658, 7, 3, 2, 2, 1650, 1655, 5, 142, 72, 2, 1651, 1652, 7, 6, 2, 2, 1652, 1654, 5, 142, 72, 2, 1653, 1651, 3, 2, 2, 2, 1654, 1657, 3, 2, 2, 2, 1655, 1653, 3, 2, 2, 2, 1655, 1656, 3, 2, 2, 2, 1656, 1659, 3, 2, 2, 2, 1657, 1655, 3, 2, 2, 2, 1658, 1650, 3, 2, 2, 2, 1658, 1659, 3, 2, 2, 2, 1659, 1660, 3, 2, 2, 2, 1660, 1661, 7, 4, 2, 2, 1661, 1673, 5, 198, 100, 2, 1662, 1664, 7, 16, 2, 2, 1663, 1662, 3, 2, 2, 2, 1663, 1664, 3, 2, 2, 2, 1664, 1665, 3, 2, 2, 2, 1665, 1670, 5, 198, 100, 2, 1666, 1667, 7, 6, 2, 2, 1667, 1669, 5, 198, 100, 2, 1668, 1666, 3, 2, 2, 2, 1669, 1672, 3, 2, 2, 2, 1670, 1668, 3, 2, 2, 2, 1670, 1671, 3, 2, 2, 2, 1671, 1674, 3, 2, 2, 2, 1672, 1670, 3, 2, 2, 2, 1673, 1663, 3, 2, 2, 2, 1673, 1674, 3, 2, 2, 2, 1674, 97, 3, 2, 2, 2, 1675, 1676, 9, 13, 2, 2, 1676, 99, 3, 2, 2, 2, 1677, 1681, 5, 124, 63, 2, 1678, 1680, 5, 102, 52, 2, 1679, 1678, 3, 2, 2, 2, 1680, 1683, 3, 2, 2, 2, 1681, 1679, 3, 2, 2, 2, 1681, 1682, 3, 2, 2, 2, 1682, 101, 3, 2, 2, 2, 1683, 1681, 3, 2, 2, 2, 1684, 1685, 5, 104, 53, 2, 1685, 1686, 7, 54, 2, 2, 1686, 1688, 5, 124, 63, 2, 1687, 1689, 5, 106, 54, 2, 1688, 1687, 3, 2, 2, 2, 1688, 1689, 3, 2, 2, 2, 1689, 1696, 3, 2, 2, 2, 1690, 1691, 7, 62, 2, 2, 1691, 1692, 5, 104, 53, 2, 1692, 1693, 7, 54, 2, 2, 1693, 1694, 5, 124, 63, 2, 1694, 1696, 3, 2, 2, 2, 1695, 1684, 3, 2, 2, 2, 1695, 1690, 3, 2, 2, 2, 1696, 103, 3, 2, 2, 2, 1697, 1699, 7, 57, 2, 2, 1698, 1697, 3, 2, 2, 2, 1698, 1699, 3, 2, 2, 2, 1699, 1720, 3, 2, 2, 2, 1700, 1720, 7, 55, 2, 2, 1701, 1703, 7, 58, 2, 2, 1702, 1704, 7, 56, 2, 2, 1703, 1702, 3, 2, 2, 2, 1703, 1704, 3, 2, 2, 2, 1704, 1720, 3, 2, 2, 2, 1705, 1706, 7, 58, 2, 2, 1706, 1720, 7, 59, 2, 2, 1707, 1709, 7, 60, 2, 2, 1708, 1710, 7, 56, 2, 2, 1709, 1708, 3, 2, 2, 2, 1709, 1710, 3, 2, 2, 2, 1710, 1720, 3, 2, 2, 2, 1711, 1713, 7, 61, 2, 2, 1712, 1714, 7, 56, 2, 2, 1713, 1712, 3, 2, 2, 2, 1713, 1714, 3, 2, 2, 2, 1714, 1720, 3, 2, 2, 2, 1715, 1717, 7, 58, 2, 2, 1716, 1715, 3, 2, 2, 2, 1716, 1717, 3, 2, 2, 2, 1717, 1718, 3, 2, 2, 2, 1718, 1720, 7, 239, 2, 2, 1719, 1698, 3, 2, 2, 2, 1719, 1700, 3, 2, 2, 2, 1719, 1701, 3, 2, 2, 2, 1719, 1705, 3, 2, 2, 2, 1719, 1707, 3, 2, 2, 2, 1719, 1711, 3, 2, 2, 2, 1719, 1716, 3, 2, 2, 2, 1720, 105, 3, 2, 2, 2, 1721, 1722, 7, 63, 2, 2, 1722, 1726, 5, 144, 73, 2, 1723, 1724, 7, 161, 2, 2, 1724, 1726, 5, 112, 57, 2, 1725, 1721, 3, 2, 2, 2, 1725, 1723, 3, 2, 2, 2, 1726, 107, 3, 2, 2, 2, 1727, 1728, 7, 109, 2, 2, 1728, 1730, 7, 3, 2, 2, 1729, 1731, 5, 110, 56, 2, 1730, 1729, 3, 2, 2, 2, 1730, 1731, 3, 2, 2, 2, 1731, 1732, 3, 2, 2, 2, 1732, 1733, 7, 4, 2, 2, 1733, 109, 3, 2, 2, 2, 1734, 1736, 7, 141, 2, 2, 1735, 1734, 3, 2, 2, 2, 1735, 1736, 3, 2, 2, 2, 1736, 1737, 3, 2, 2, 2, 1737, 1738, 9, 14, 2, 2, 1738, 1759, 7, 151, 2, 2, 1739, 1740, 5, 142, 72, 2, 1740, 1741, 7, 70, 2, 2, 1741, 1759, 3, 2, 2, 2, 1742, 1743, 7, 152, 2, 2, 1743, 1744, 7, 247, 2, 2, 1744, 1745, 7, 153, 2, 2, 1745, 1746, 7, 154, 2, 2, 1746, 1755, 7, 247, 2, 2, 1747, 1753, 7, 63, 2, 2, 1748, 1754, 5, 198, 100, 2, 1749, 1750, 5, 196, 99, 2, 1750, 1751, 7, 3, 2, 2, 1751, 1752, 7, 4, 2, 2, 1752, 1754, 3, 2, 2, 2, 1753, 1748, 3, 2, 2, 2, 1753, 1749, 3, 2, 2, 2, 1754, 1756, 3, 2, 2, 2, 1755, 1747, 3, 2, 2, 2, 1755, 1756, 3, 2, 2, 2, 1756, 1759, 3, 2, 2, 2, 1757, 1759, 5, 142, 72, 2, 1758, 1735, 3, 2, 2, 2, 1758, 1739, 3, 2, 2, 2, 1758, 1742, 3, 2, 2, 2, 1758, 1757, 3, 2, 2, 2, 1759, 111, 3, 2, 2, 2, 1760, 1761, 7, 3, 2, 2, 1761, 1762, 5, 114, 58, 2, 1762, 1763, 7, 4, 2, 2, 1763, 113, 3, 2, 2, 2, 1764, 1769, 5, 198, 100, 2, 1765, 1766, 7, 6, 2, 2, 1766, 1768, 5, 198, 100, 2, 1767, 1765, 3, 2, 2, 2, 1768, 1771, 3, 2, 2, 2, 1769, 1767, 3, 2, 2, 2, 1769, 1770, 3, 2, 2, 2, 1770, 115, 3, 2, 2, 2, 1771, 1769, 3, 2, 2, 2, 1772, 1773, 7, 3, 2, 2, 1773, 1778, 5, 118, 60, 2, 1774, 1775, 7, 6, 2, 2, 1775, 1777, 5, 118, 60, 2, 1776, 1774, 3, 2, 2, 2, 1777, 1780, 3, 2, 2, 2, 1778, 1776, 3, 2, 2, 2, 1778, 1779, 3, 2, 2, 2, 1779, 1781, 3, 2, 2, 2, 1780, 1778, 3, 2, 2, 2, 1781, 1782, 7, 4, 2, 2, 1782, 117, 3, 2, 2, 2, 1783, 1785, 5, 198, 100, 2, 1784, 1786, 9, 11, 2, 2, 1785, 1784, 3, 2, 2, 2, 1785, 1786, 3, 2, 2, 2, 1786, 119, 3, 2, 2, 2, 1787, 1788, 7, 3, 2, 2, 1788, 1793, 5, 122, 62, 2, 1789, 1790, 7, 6, 2, 2, 1790, 1792, 5, 122, 62, 2, 1791, 1789, 3, 2, 2, 2, 1792, 1795, 3, 2, 2, 2, 1793, 1791, 3, 2, 2, 2, 1793, 1794, 3, 2, 2, 2, 1794, 1796, 3, 2, 2, 2, 1795, 1793, 3, 2, 2, 2, 1796, 1797, 7, 4, 2, 2, 1797, 121, 3, 2, 2, 2, 1798, 1801, 5, 198, 100, 2, 1799, 1800, 7, 116, 2, 2, 1800, 1802, 7, 243, 2, 2, 1801, 1799, 3, 2, 2, 2, 1801, 1802, 3, 2, 2, 2, 1802, 123, 3, 2, 2, 2, 1803, 1805, 5, 134, 68, 2, 1804, 1806, 5, 108, 55, 2, 1805, 1804, 3, 2, 2, 2, 1805, 1806, 3, 2, 2, 2, 1806, 1807, 3, 2, 2, 2, 1807, 1808, 5, 130, 66, 2, 1808, 1828, 3, 2, 2, 2, 1809, 1810, 7, 3, 2, 2, 1810, 1811, 5, 66, 34, 2, 1811, 1813, 7, 4, 2, 2, 1812, 1814, 5, 108, 55, 2, 1813, 1812, 3, 2, 2, 2, 1813, 1814, 3, 2, 2, 2, 1814, 1815, 3, 2, 2, 2, 1815, 1816, 5, 130, 66, 2, 1816, 1828, 3, 2, 2, 2, 1817, 1818, 7, 3, 2, 2, 1818, 1819, 5, 100, 51, 2, 1819, 1821, 7, 4, 2, 2, 1820, 1822, 5, 108, 55, 2, 1821, 1820, 3, 2, 2, 2, 1821, 1822, 3, 2, 2, 2, 1822, 1823, 3, 2, 2, 2, 1823, 1824, 5, 130, 66, 2, 1824, 1828, 3, 2, 2, 2, 1825, 1828, 5, 126, 64, 2, 1826, 1828, 5, 128, 65, 2, 1827, 1803, 3, 2, 2, 2, 1827, 1809, 3, 2, 2, 2, 1827, 1817, 3, 2, 2, 2, 1827, 1825, 3, 2, 2, 2, 1827, 1826, 3, 2, 2, 2, 1828, 125, 3, 2, 2, 2, 1829, 1830, 7, 80, 2, 2, 1830, 1835, 5, 142, 72, 2, 1831, 1832, 7, 6, 2, 2, 1832, 1834, 5, 142, 72, 2, 1833, 1831, 3, 2, 2, 2, 1834, 1837, 3, 2, 2, 2, 1835, 1833, 3, 2, 2, 2, 1835, 1836, 3, 2, 2, 2, 1836, 1838, 3, 2, 2, 2, 1837, 1835, 3, 2, 2, 2, 1838, 1839, 5, 130, 66, 2, 1839, 127, 3, 2, 2, 2, 1840, 1841, 5, 198, 100, 2, 1841, 1850, 7, 3, 2, 2, 1842, 1847, 5, 142, 72, 2, 1843, 1844, 7, 6, 2, 2, 1844, 1846, 5, 142, 72, 2, 1845, 1843, 3, 2, 2, 2, 1846, 1849, 3, 2, 2, 2, 1847, 1845, 3, 2, 2, 2, 1847, 1848, 3, 2, 2, 2, 1848, 1851, 3, 2, 2, 2, 1849, 1847, 3, 2, 2, 2, 1850, 1842, 3, 2, 2, 2, 1850, 1851, 3, 2, 2, 2, 1851, 1852, 3, 2, 2, 2, 1852, 1853, 7, 4, 2, 2, 1853, 1854, 5, 130, 66, 2, 1854, 129, 3, 2, 2, 2, 1855, 1857, 7, 16, 2, 2, 1856, 1855, 3, 2, 2, 2, 1856, 1857, 3, 2, 2, 2, 1857, 1858, 3, 2, 2, 2, 1858, 1860, 5, 200, 101, 2, 1859, 1861, 5, 112, 57, 2, 1860, 1859, 3, 2, 2, 2, 1860, 1861, 3, 2, 2, 2, 1861, 1863, 3, 2, 2, 2, 1862, 1856, 3, 2, 2, 2, 1862, 1863, 3, 2, 2, 2, 1863, 131, 3, 2, 2, 2, 1864, 1865, 7, 78, 2, 2, 1865, 1866, 7, 91, 2, 2, 1866, 1867, 7, 162, 2, 2, 1867, 1871, 7, 243, 2, 2, 1868, 1869, 7, 79, 2, 2, 1869, 1870, 7, 163, 2, 2, 1870, 1872, 5, 46, 24, 2, 1871, 1868, 3, 2, 2, 2, 1871, 1872, 3, 2, 2, 2, 1872, 1914, 3, 2, 2, 2, 1873, 1874, 7, 78, 2, 2, 1874, 1875, 7, 91, 2, 2, 1875, 1885, 7, 166, 2, 2, 1876, 1877, 7, 167, 2, 2, 1877, 1878, 7, 168, 2, 2, 1878, 1879, 7, 22, 2, 2, 1879, 1883, 7, 243, 2, 2, 1880, 1881, 7, 172, 2, 2, 1881, 1882, 7, 22, 2, 2, 1882, 1884, 7, 243, 2, 2, 1883, 1880, 3, 2, 2, 2, 1883, 1884, 3, 2, 2, 2, 1884, 1886, 3, 2, 2, 2, 1885, 1876, 3, 2, 2, 2, 1885, 1886, 3, 2, 2, 2, 1886, 1892, 3, 2, 2, 2, 1887, 1888, 7, 169, 2, 2, 1888, 1889, 7, 170, 2, 2, 1889, 1890, 7, 168, 2, 2, 1890, 1891, 7, 22, 2, 2, 1891, 1893, 7, 243, 2, 2, 1892, 1887, 3, 2, 2, 2, 1892, 1893, 3, 2, 2, 2, 1893, 1899, 3, 2, 2, 2, 1894, 1895, 7, 114, 2, 2, 1895, 1896, 7, 171, 2, 2, 1896, 1897, 7, 168, 2, 2, 1897, 1898, 7, 22, 2, 2, 1898, 1900, 7, 243, 2, 2, 1899, 1894, 3, 2, 2, 2, 1899, 1900, 3, 2, 2, 2, 1900, 1905, 3, 2, 2, 2, 1901, 1902, 7, 173, 2, 2, 1902, 1903, 7, 168, 2, 2, 1903, 1904, 7, 22, 2, 2, 1904, 1906, 7, 243, 2, 2, 1905, 1901, 3, 2, 2, 2, 1905, 1906, 3, 2, 2, 2, 1906, 1911, 3, 2, 2, 2, 1907, 1908, 7, 41, 2, 2, 1908, 1909, 7, 219, 2, 2, 1909, 1910, 7, 16, 2, 2, 1910, 1912, 7, 243, 2, 2, 1911, 1907, 3, 2, 2, 2, 1911, 1912, 3, 2, 2, 2, 1912, 1914, 3, 2, 2, 2, 1913, 1864, 3, 2, 2, 2, 1913, 1873, 3, 2, 2, 2, 1914, 133, 3, 2, 2, 2, 1915, 1916, 5, 198, 100, 2, 1916, 1917, 7, 5, 2, 2, 1917, 1919, 3, 2, 2, 2, 1918, 1915, 3, 2, 2, 2, 1918, 1919, 3, 2, 2, 2, 1919, 1920, 3, 2, 2, 2, 1920, 1921, 5, 198, 100, 2, 1921, 135, 3, 2, 2, 2, 1922, 1923, 5, 198, 100, 2, 1923, 1924, 7, 5, 2, 2, 1924, 1926, 3, 2, 2, 2, 1925, 1922, 3, 2, 2, 2, 1925, 1926, 3, 2, 2, 2, 1926, 1927, 3, 2, 2, 2, 1927, 1928, 5, 198, 100, 2, 1928, 137, 3, 2, 2, 2, 1929, 1937, 5, 142, 72, 2, 1930, 1932, 7, 16, 2, 2, 1931, 1930, 3, 2, 2, 2, 1931, 1932, 3, 2, 2, 2, 1932, 1935, 3, 2, 2, 2, 1933, 1936, 5, 198, 100, 2, 1934, 1936, 5, 112, 57, 2, 1935, 1933, 3, 2, 2, 2, 1935, 1934, 3, 2, 2, 2, 1936, 1938, 3, 2, 2, 2, 1937, 1931, 3, 2, 2, 2, 1937, 1938, 3, 2, 2, 2, 1938, 139, 3, 2, 2, 2, 1939, 1944, 5, 138, 70, 2, 1940, 1941, 7, 6, 2, 2, 1941, 1943, 5, 138, 70, 2, 1942, 1940, 3, 2, 2, 2, 1943, 1946, 3, 2, 2, 2, 1944, 1942, 3, 2, 2, 2, 1944, 1945, 3, 2, 2, 2, 1945, 141, 3, 2, 2, 2, 1946, 1944, 3, 2, 2, 2, 1947, 1948, 5, 144, 73, 2, 1948, 143, 3, 2, 2, 2, 1949, 1950, 8, 73, 1, 2, 1950, 1951, 7, 34, 2, 2, 1951, 1962, 5, 144, 73, 7, 1952, 1953, 7, 36, 2, 2, 1953, 1954, 7, 3, 2, 2, 1954, 1955, 5, 26, 14, 2, 1955, 1956, 7, 4, 2, 2, 1956, 1962, 3, 2, 2, 2, 1957, 1959, 5, 148, 75, 2, 1958, 1960, 5, 146, 74, 2, 1959, 1958, 3, 2, 2, 2, 1959, 1960, 3, 2, 2, 2, 1960, 1962, 3, 2, 2, 2, 1961, 1949, 3, 2, 2, 2, 1961, 1952, 3, 2, 2, 2, 1961, 1957, 3, 2, 2, 2, 1962, 1971, 3, 2, 2, 2, 1963, 1964, 12, 4, 2, 2, 1964, 1965, 7, 32, 2, 2, 1965, 1970, 5, 144, 73, 5, 1966, 1967, 12, 3, 2, 2, 1967, 1968, 7, 31, 2, 2, 1968, 1970, 5, 144, 73, 4, 1969, 1963, 3, 2, 2, 2, 1969, 1966, 3, 2, 2, 2, 1970, 1973, 3, 2, 2, 2, 1971, 1969, 3, 2, 2, 2, 1971, 1972, 3, 2, 2, 2, 1972, 145, 3, 2, 2, 2, 1973, 1971, 3, 2, 2, 2, 1974, 1976, 7, 34, 2, 2, 1975, 1974, 3, 2, 2, 2, 1975, 1976, 3, 2, 2, 2, 1976, 1977, 3, 2, 2, 2, 1977, 1978, 7, 37, 2, 2, 1978, 1979, 5, 148, 75, 2, 1979, 1980, 7, 32, 2, 2, 1980, 1981, 5, 148, 75, 2, 1981, 2023, 3, 2, 2, 2, 1982, 1984, 7, 34, 2, 2, 1983, 1982, 3, 2, 2, 2, 1983, 1984, 3, 2, 2, 2, 1984, 1985, 3, 2, 2, 2, 1985, 1986, 7, 33, 2, 2, 1986, 1987, 7, 3, 2, 2, 1987, 1992, 5, 142, 72, 2, 1988, 1989, 7, 6, 2, 2, 1989, 1991, 5, 142, 72, 2, 1990, 1988, 3, 2, 2, 2, 1991, 1994, 3, 2, 2, 2, 1992, 1990, 3, 2, 2, 2, 1992, 1993, 3, 2, 2, 2, 1993, 1995, 3, 2, 2, 2, 1994, 1992, 3, 2, 2, 2, 1995, 1996, 7, 4, 2, 2, 1996, 2023, 3, 2, 2, 2, 1997, 1999, 7, 34, 2, 2, 1998, 1997, 3, 2, 2, 2, 1998, 1999, 3, 2, 2, 2, 1999, 2000, 3, 2, 2, 2, 2000, 2001, 7, 33, 2, 2, 2001, 2002, 7, 3, 2, 2, 2002, 2003, 5, 26, 14, 2, 2003, 2004, 7, 4, 2, 2, 2004, 2023, 3, 2, 2, 2, 2005, 2007, 7, 34, 2, 2, 2006, 2005, 3, 2, 2, 2, 2006, 2007, 3, 2, 2, 2, 2007, 2008, 3, 2, 2, 2, 2008, 2009, 9, 15, 2, 2, 2009, 2023, 5, 148, 75, 2, 2010, 2012, 7, 40, 2, 2, 2011, 2013, 7, 34, 2, 2, 2012, 2011, 3, 2, 2, 2, 2012, 2013, 3, 2, 2, 2, 2013, 2014, 3, 2, 2, 2, 2014, 2023, 7, 41, 2, 2, 2015, 2017, 7, 40, 2, 2, 2016, 2018, 7, 34, 2, 2, 2017, 2016, 3, 2, 2, 2, 2017, 2018, 3, 2, 2, 2, 2018, 2019, 3, 2, 2, 2, 2019, 2020, 7, 19, 2, 2, 2020, 2021, 7, 14, 2, 2, 2021, 2023, 5, 148, 75, 2, 2022, 1975, 3, 2, 2, 2, 2022, 1983, 3, 2, 2, 2, 2022, 1998, 3, 2, 2, 2, 2022, 2006, 3, 2, 2, 2, 2022, 2010, 3, 2, 2, 2, 2022, 2015, 3, 2, 2, 2, 2023, 147, 3, 2, 2, 2, 2024, 2025, 8, 75, 1, 2, 2025, 2029, 5, 150, 76, 2, 2026, 2027, 9, 16, 2, 2, 2027, 2029, 5, 148, 75, 9, 2028, 2024, 3, 2, 2, 2, 2028, 2026, 3, 2, 2, 2, 2029, 2051, 3, 2, 2, 2, 2030, 2031, 12, 8, 2, 2, 2031, 2032, 9, 17, 2, 2, 2032, 2050, 5, 148, 75, 9, 2033, 2034, 12, 7, 2, 2, 2034, 2035, 9, 18, 2, 2, 2035, 2050, 5, 148, 75, 8, 2036, 2037, 12, 6, 2, 2, 2037, 2038, 7, 147, 2, 2, 2038, 2050, 5, 148, 75, 7, 2039, 2040, 12, 5, 2, 2, 2040, 2041, 7, 150, 2, 2, 2041, 2050, 5, 148, 75, 6, 2042, 2043, 12, 4, 2, 2, 2043, 2044, 7, 148, 2, 2, 2044, 2050, 5, 148, 75, 5, 2045, 2046, 12, 3, 2, 2, 2046, 2047, 5, 154, 78, 2, 2047, 2048, 5, 148, 75, 4, 2048, 2050, 3, 2, 2, 2, 2049, 2030, 3, 2, 2, 2, 2049, 2033, 3, 2, 2, 2, 2049, 2036, 3, 2, 2, 2, 2049, 2039, 3, 2, 2, 2, 2049, 2042, 3, 2, 2, 2, 2049, 2045, 3, 2, 2, 2, 2050, 2053, 3, 2, 2, 2, 2051, 2049, 3, 2, 2, 2, 2051, 2052, 3, 2, 2, 2, 2052, 149, 3, 2, 2, 2, 2053, 2051, 3, 2, 2, 2, 2054, 2055, 8, 76, 1, 2, 2055, 2057, 7, 49, 2, 2, 2056, 2058, 5, 184, 93, 2, 2057, 2056, 3, 2, 2, 2, 2058, 2059, 3, 2, 2, 2, 2059, 2057, 3, 2, 2, 2, 2059, 2060, 3, 2, 2, 2, 2060, 2063, 3, 2, 2, 2, 2061, 2062, 7, 52, 2, 2, 2062, 2064, 5, 142, 72, 2, 2063, 2061, 3, 2, 2, 2, 2063, 2064, 3, 2, 2, 2, 2064, 2065, 3, 2, 2, 2, 2065, 2066, 7, 53, 2, 2, 2066, 2200, 3, 2, 2, 2, 2067, 2068, 7, 49, 2, 2, 2068, 2070, 5, 142, 72, 2, 2069, 2071, 5, 184, 93, 2, 2070, 2069, 3, 2, 2, 2, 2071, 2072, 3, 2, 2, 2, 2072, 2070, 3, 2, 2, 2, 2072, 2073, 3, 2, 2, 2, 2073, 2076, 3, 2, 2, 2, 2074, 2075, 7, 52, 2, 2, 2075, 2077, 5, 142, 72, 2, 2076, 2074, 3, 2, 2, 2, 2076, 2077, 3, 2, 2, 2, 2077, 2078, 3, 2, 2, 2, 2078, 2079, 7, 53, 2, 2, 2079, 2200, 3, 2, 2, 2, 2080, 2081, 7, 95, 2, 2, 2081, 2082, 7, 3, 2, 2, 2082, 2083, 5, 142, 72, 2, 2083, 2084, 7, 16, 2, 2, 2084, 2085, 5, 170, 86, 2, 2085, 2086, 7, 4, 2, 2, 2086, 2200, 3, 2, 2, 2, 2087, 2088, 7, 115, 2, 2, 2088, 2097, 7, 3, 2, 2, 2089, 2094, 5, 138, 70, 2, 2090, 2091, 7, 6, 2, 2, 2091, 2093, 5, 138, 70, 2, 2092, 2090, 3, 2, 2, 2, 2093, 2096, 3, 2, 2, 2, 2094, 2092, 3, 2, 2, 2, 2094, 2095, 3, 2, 2, 2, 2095, 2098, 3, 2, 2, 2, 2096, 2094, 3, 2, 2, 2, 2097, 2089, 3, 2, 2, 2, 2097, 2098, 3, 2, 2, 2, 2098, 2099, 3, 2, 2, 2, 2099, 2200, 7, 4, 2, 2, 2100, 2101, 7, 75, 2, 2, 2101, 2102, 7, 3, 2, 2, 2102, 2105, 5, 142, 72, 2, 2103, 2104, 7, 125, 2, 2, 2104, 2106, 7, 44, 2, 2, 2105, 2103, 3, 2, 2, 2, 2105, 2106, 3, 2, 2, 2, 2106, 2107, 3, 2, 2, 2, 2107, 2108, 7, 4, 2, 2, 2108, 2200, 3, 2, 2, 2, 2109, 2110, 7, 77, 2, 2, 2110, 2111, 7, 3, 2, 2, 2111, 2114, 5, 142, 72, 2, 2112, 2113, 7, 125, 2, 2, 2113, 2115, 7, 44, 2, 2, 2114, 2112, 3, 2, 2, 2, 2114, 2115, 3, 2, 2, 2, 2115, 2116, 3, 2, 2, 2, 2116, 2117, 7, 4, 2, 2, 2117, 2200, 3, 2, 2, 2, 2118, 2119, 7, 130, 2, 2, 2119, 2120, 7, 3, 2, 2, 2120, 2121, 5, 148, 75, 2, 2121, 2122, 7, 33, 2, 2, 2122, 2123, 5, 148, 75, 2, 2123, 2124, 7, 4, 2, 2, 2124, 2200, 3, 2, 2, 2, 2125, 2200, 5, 152, 77, 2, 2126, 2200, 7, 142, 2, 2, 2127, 2128, 5, 196, 99, 2, 2128, 2129, 7, 5, 2, 2, 2129, 2130, 7, 142, 2, 2, 2130, 2200, 3, 2, 2, 2, 2131, 2132, 7, 3, 2, 2, 2132, 2135, 5, 138, 70, 2, 2133, 2134, 7, 6, 2, 2, 2134, 2136, 5, 138, 70, 2, 2135, 2133, 3, 2, 2, 2, 2136, 2137, 3, 2, 2, 2, 2137, 2135, 3, 2, 2, 2, 2137, 2138, 3, 2, 2, 2, 2138, 2139, 3, 2, 2, 2, 2139, 2140, 7, 4, 2, 2, 2140, 2200, 3, 2, 2, 2, 2141, 2142, 7, 3, 2, 2, 2142, 2143, 5, 26, 14, 2, 2143, 2144, 7, 4, 2, 2, 2144, 2200, 3, 2, 2, 2, 2145, 2146, 5, 196, 99, 2, 2146, 2158, 7, 3, 2, 2, 2147, 2149, 5, 98, 50, 2, 2148, 2147, 3, 2, 2, 2, 2148, 2149, 3, 2, 2, 2, 2149, 2150, 3, 2, 2, 2, 2150, 2155, 5, 142, 72, 2, 2151, 2152, 7, 6, 2, 2, 2152, 2154, 5, 142, 72, 2, 2153, 2151, 3, 2, 2, 2, 2154, 2157, 3, 2, 2, 2, 2155, 2153, 3, 2, 2, 2, 2155, 2156, 3, 2, 2, 2, 2156, 2159, 3, 2, 2, 2, 2157, 2155, 3, 2, 2, 2, 2158, 2148, 3, 2, 2, 2, 2158, 2159, 3, 2, 2, 2, 2159, 2160, 3, 2, 2, 2, 2160, 2163, 7, 4, 2, 2, 2161, 2162, 7, 67, 2, 2, 2162, 2164, 5, 190, 96, 2, 2163, 2161, 3, 2, 2, 2, 2163, 2164, 3, 2, 2, 2, 2164, 2200, 3, 2, 2, 2, 2165, 2166, 5, 196, 99, 2, 2166, 2167, 7, 3, 2, 2, 2167, 2168, 9, 19, 2, 2, 2168, 2169, 5, 142, 72, 2, 2169, 2170, 7, 14, 2, 2, 2170, 2171, 5, 142, 72, 2, 2171, 2172, 7, 4, 2, 2, 2172, 2200, 3, 2, 2, 2, 2173, 2174, 7, 251, 2, 2, 2174, 2175, 7, 9, 2, 2, 2175, 2200, 5, 142, 72, 2, 2176, 2177, 7, 3, 2, 2, 2177, 2180, 7, 251, 2, 2, 2178, 2179, 7, 6, 2, 2, 2179, 2181, 7, 251, 2, 2, 2180, 2178, 3, 2, 2, 2, 2181, 2182, 3, 2, 2, 2, 2182, 2180, 3, 2, 2, 2, 2182, 2183, 3, 2, 2, 2, 2183, 2184, 3, 2, 2, 2, 2184, 2185, 7, 4, 2, 2, 2185, 2186, 7, 9, 2, 2, 2186, 2200, 5, 142, 72, 2, 2187, 2200, 5, 198, 100, 2, 2188, 2189, 7, 3, 2, 2, 2189, 2190, 5, 142, 72, 2, 2190, 2191, 7, 4, 2, 2, 2191, 2200, 3, 2, 2, 2, 2192, 2193, 7, 131, 2, 2, 2193, 2194, 7, 3, 2, 2, 2194, 2195, 5, 198, 100, 2, 2195, 2196, 7, 14, 2, 2, 2196, 2197, 5, 148, 75, 2, 2197, 2198, 7, 4, 2, 2, 2198, 2200, 3, 2, 2, 2, 2199, 2054, 3, 2, 2, 2, 2199, 2067, 3, 2, 2, 2, 2199, 2080, 3, 2, 2, 2, 2199, 2087, 3, 2, 2, 2, 2199, 2100, 3, 2, 2, 2, 2199, 2109, 3, 2, 2, 2, 2199, 2118, 3, 2, 2, 2, 2199, 2125, 3, 2, 2, 2, 2199, 2126, 3, 2, 2, 2, 2199, 2127, 3, 2, 2, 2, 2199, 2131, 3, 2, 2, 2, 2199, 2141, 3, 2, 2, 2, 2199, 2145, 3, 2, 2, 2, 2199, 2165, 3, 2, 2, 2, 2199, 2173, 3, 2, 2, 2, 2199, 2176, 3, 2, 2, 2, 2199, 2187, 3, 2, 2, 2, 2199, 2188, 3, 2, 2, 2, 2199, 2192, 3, 2, 2, 2, 2200, 2211, 3, 2, 2, 2, 2201, 2202, 12, 7, 2, 2, 2202, 2203, 7, 10, 2, 2, 2203, 2204, 5, 148, 75, 2, 2204, 2205, 7, 11, 2, 2, 2205, 2210, 3, 2, 2, 2, 2206, 2207, 12, 5, 2, 2, 2207, 2208, 7, 5, 2, 2, 2208, 2210, 5, 198, 100, 2, 2209, 2201, 3, 2, 2, 2, 2209, 2206, 3, 2, 2, 2, 2210, 2213, 3, 2, 2, 2, 2211, 2209, 3, 2, 2, 2, 2211, 2212, 3, 2, 2, 2, 2212, 151, 3, 2, 2, 2, 2213, 2211, 3, 2, 2, 2, 2214, 2227, 7, 41, 2, 2, 2215, 2227, 5, 162, 82, 2, 2216, 2217, 5, 198, 100, 2, 2217, 2218, 7, 243, 2, 2, 2218, 2227, 3, 2, 2, 2, 2219, 2227, 5, 204, 103, 2, 2220, 2227, 5, 160, 81, 2, 2221, 2223, 7, 243, 2, 2, 2222, 2221, 3, 2, 2, 2, 2223, 2224, 3, 2, 2, 2, 2224, 2222, 3, 2, 2, 2, 2224, 2225, 3, 2, 2, 2, 2225, 2227, 3, 2, 2, 2, 2226, 2214, 3, 2, 2, 2, 2226, 2215, 3, 2, 2, 2, 2226, 2216, 3, 2, 2, 2, 2226, 2219, 3, 2, 2, 2, 2226, 2220, 3, 2, 2, 2, 2226, 2222, 3, 2, 2, 2, 2227, 153, 3, 2, 2, 2, 2228, 2229, 9, 20, 2, 2, 2229, 155, 3, 2, 2, 2, 2230, 2231, 9, 21, 2, 2, 2231, 157, 3, 2, 2, 2, 2232, 2233, 9, 22, 2, 2, 2233, 159, 3, 2, 2, 2, 2234, 2235, 9, 23, 2, 2, 2235, 161, 3, 2, 2, 2, 2236, 2240, 7, 48, 2, 2, 2237, 2239, 5, 164, 83, 2, 2238, 2237, 3, 2, 2, 2, 2239, 2242, 3, 2, 2, 2, 2240, 2238, 3, 2, 2, 2, 2240, 2241, 3, 2, 2, 2, 2241, 163, 3, 2, 2, 2, 2242, 2240, 3, 2, 2, 2, 2243, 2244, 5, 166, 84, 2, 2244, 2247, 5, 198, 100, 2, 2245, 2246, 7, 108, 2, 2, 2246, 2248, 5, 198, 100, 2, 2247, 2245, 3, 2, 2, 2, 2247, 2248, 3, 2, 2, 2, 2248, 165, 3, 2, 2, 2, 2249, 2251, 9, 24, 2, 2, 2250, 2249, 3, 2, 2, 2, 2250, 2251, 3, 2, 2, 2, 2251, 2252, 3, 2, 2, 2, 2252, 2255, 9, 14, 2, 2, 2253, 2255, 7, 243, 2, 2, 2254, 2250, 3, 2, 2, 2, 2254, 2253, 3, 2, 2, 2, 2255, 167, 3, 2, 2, 2, 2256, 2260, 7, 75, 2, 2, 2257, 2258, 7, 76, 2, 2, 2258, 2260, 5, 198, 100, 2, 2259, 2256, 3, 2, 2, 2, 2259, 2257, 3, 2, 2, 2, 2260, 169, 3, 2, 2, 2, 2261, 2262, 7, 113, 2, 2, 2262, 2263, 7, 136, 2, 2, 2263, 2264, 5, 170, 86, 2, 2264, 2265, 7, 138, 2, 2, 2265, 2296, 3, 2, 2, 2, 2266, 2267, 7, 114, 2, 2, 2267, 2268, 7, 136, 2, 2, 2268, 2269, 5, 170, 86, 2, 2269, 2270, 7, 6, 2, 2, 2270, 2271, 5, 170, 86, 2, 2271, 2272, 7, 138, 2, 2, 2272, 2296, 3, 2, 2, 2, 2273, 2280, 7, 115, 2, 2, 2274, 2276, 7, 136, 2, 2, 2275, 2277, 5, 180, 91, 2, 2276, 2275, 3, 2, 2, 2, 2276, 2277, 3, 2, 2, 2, 2277, 2278, 3, 2, 2, 2, 2278, 2281, 7, 138, 2, 2, 2279, 2281, 7, 134, 2, 2, 2280, 2274, 3, 2, 2, 2, 2280, 2279, 3, 2, 2, 2, 2281, 2296, 3, 2, 2, 2, 2282, 2293, 5, 198, 100, 2, 2283, 2284, 7, 3, 2, 2, 2284, 2289, 7, 247, 2, 2, 2285, 2286, 7, 6, 2, 2, 2286, 2288, 7, 247, 2, 2, 2287, 2285, 3, 2, 2, 2, 2288, 2291, 3, 2, 2, 2, 2289, 2287, 3, 2, 2, 2, 2289, 2290, 3, 2, 2, 2, 2290, 2292, 3, 2, 2, 2, 2291, 2289, 3, 2, 2, 2, 2292, 2294, 7, 4, 2, 2, 2293, 2283, 3, 2, 2, 2, 2293, 2294, 3, 2, 2, 2, 2294, 2296, 3, 2, 2, 2, 2295, 2261, 3, 2, 2, 2, 2295, 2266, 3, 2, 2, 2, 2295, 2273, 3, 2, 2, 2, 2295, 2282, 3, 2, 2, 2, 2296, 171, 3, 2, 2, 2, 2297, 2302, 5, 174, 88, 2, 2298, 2299, 7, 6, 2, 2, 2299, 2301, 5, 174, 88, 2, 2300, 2298, 3, 2, 2, 2, 2301, 2304, 3, 2, 2, 2, 2302, 2300, 3, 2, 2, 2, 2302, 2303, 3, 2, 2, 2, 2303, 173, 3, 2, 2, 2, 2304, 2302, 3, 2, 2, 2, 2305, 2306, 5, 198, 100, 2, 2306, 2309, 5, 170, 86, 2, 2307, 2308, 7, 116, 2, 2, 2308, 2310, 7, 243, 2, 2, 2309, 2307, 3, 2, 2, 2, 2309, 2310, 3, 2, 2, 2, 2310, 175, 3, 2, 2, 2, 2311, 2316, 5, 178, 90, 2, 2312, 2313, 7, 6, 2, 2, 2313, 2315, 5, 178, 90, 2, 2314, 2312, 3, 2, 2, 2, 2315, 2318, 3, 2, 2, 2, 2316, 2314, 3, 2, 2, 2, 2316, 2317, 3, 2, 2, 2, 2317, 177, 3, 2, 2, 2, 2318, 2316, 3, 2, 2, 2, 2319, 2324, 5, 198, 100, 2, 2320, 2321, 7, 5, 2, 2, 2321, 2323, 5, 198, 100, 2, 2322, 2320, 3, 2, 2, 2, 2323, 2326, 3, 2, 2, 2, 2324, 2322, 3, 2, 2, 2, 2324, 2325, 3, 2, 2, 2, 2325, 2327, 3, 2, 2, 2, 2326, 2324, 3, 2, 2, 2, 2327, 2330, 5, 170, 86, 2, 2328, 2329, 7, 16, 2, 2, 2329, 2331, 5, 198, 100, 2, 2330, 2328, 3, 2, 2, 2, 2330, 2331, 3, 2, 2, 2, 2331, 2334, 3, 2, 2, 2, 2332, 2333, 7, 116, 2, 2, 2333, 2335, 7, 243, 2, 2, 2334, 2332, 3, 2, 2, 2, 2334, 2335, 3, 2, 2, 2, 2335, 2343, 3, 2, 2, 2, 2336, 2337, 7, 242, 2, 2, 2337, 2338, 7, 47, 2, 2, 2338, 2339, 5, 198, 100, 2, 2339, 2340, 7, 16, 2, 2, 2340, 2341, 5, 150, 76, 2, 2341, 2343, 3, 2, 2, 2, 2342, 2319, 3, 2, 2, 2, 2342, 2336, 3, 2, 2, 2, 2343, 179, 3, 2, 2, 2, 2344, 2349, 5, 182, 92, 2, 2345, 2346, 7, 6, 2, 2, 2346, 2348, 5, 182, 92, 2, 2347, 2345, 3, 2, 2, 2, 2348, 2351, 3, 2, 2, 2, 2349, 2347, 3, 2, 2, 2, 2349, 2350, 3, 2, 2, 2, 2350, 181, 3, 2, 2, 2, 2351, 2349, 3, 2, 2, 2, 2352, 2353, 5, 198, 100, 2, 2353, 2354, 7, 12, 2, 2, 2354, 2357, 5, 170, 86, 2, 2355, 2356, 7, 116, 2, 2, 2356, 2358, 7, 243, 2, 2, 2357, 2355, 3, 2, 2, 2, 2357, 2358, 3, 2, 2, 2, 2358, 183, 3, 2, 2, 2, 2359, 2360, 7, 50, 2, 2, 2360, 2361, 5, 142, 72, 2, 2361, 2362, 7, 51, 2, 2, 2362, 2363, 5, 142, 72, 2, 2363, 185, 3, 2, 2, 2, 2364, 2365, 7, 66, 2, 2, 2365, 2370, 5, 188, 95, 2, 2366, 2367, 7, 6, 2, 2, 2367, 2369, 5, 188, 95, 2, 2368, 2366, 3, 2, 2, 2, 2369, 2372, 3, 2, 2, 2, 2370, 2368, 3, 2, 2, 2, 2370, 2371, 3, 2, 2, 2, 2371, 187, 3, 2, 2, 2, 2372, 2370, 3, 2, 2, 2, 2373, 2374, 5, 198, 100, 2, 2374, 2375, 7, 16, 2, 2, 2375, 2376, 5, 190, 96, 2, 2376, 189, 3, 2, 2, 2, 2377, 2420, 5, 198, 100, 2, 2378, 2413, 7, 3, 2, 2, 2379, 2380, 7, 156, 2, 2, 2380, 2381, 7, 22, 2, 2, 2381, 2386, 5, 142, 72, 2, 2382, 2383, 7, 6, 2, 2, 2383, 2385, 5, 142, 72, 2, 2384, 2382, 3, 2, 2, 2, 2385, 2388, 3, 2, 2, 2, 2386, 2384, 3, 2, 2, 2, 2386, 2387, 3, 2, 2, 2, 2387, 2414, 3, 2, 2, 2, 2388, 2386, 3, 2, 2, 2, 2389, 2390, 9, 25, 2, 2, 2390, 2391, 7, 22, 2, 2, 2391, 2396, 5, 142, 72, 2, 2392, 2393, 7, 6, 2, 2, 2393, 2395, 5, 142, 72, 2, 2394, 2392, 3, 2, 2, 2, 2395, 2398, 3, 2, 2, 2, 2396, 2394, 3, 2, 2, 2, 2396, 2397, 3, 2, 2, 2, 2397, 2400, 3, 2, 2, 2, 2398, 2396, 3, 2, 2, 2, 2399, 2389, 3, 2, 2, 2, 2399, 2400, 3, 2, 2, 2, 2400, 2411, 3, 2, 2, 2, 2401, 2402, 9, 26, 2, 2, 2402, 2403, 7, 22, 2, 2, 2403, 2408, 5, 76, 39, 2, 2404, 2405, 7, 6, 2, 2, 2405, 2407, 5, 76, 39, 2, 2406, 2404, 3, 2, 2, 2, 2407, 2410, 3, 2, 2, 2, 2408, 2406, 3, 2, 2, 2, 2408, 2409, 3, 2, 2, 2, 2409, 2412, 3, 2, 2, 2, 2410, 2408, 3, 2, 2, 2, 2411, 2401, 3, 2, 2, 2, 2411, 2412, 3, 2, 2, 2, 2412, 2414, 3, 2, 2, 2, 2413, 2379, 3, 2, 2, 2, 2413, 2399, 3, 2, 2, 2, 2414, 2416, 3, 2, 2, 2, 2415, 2417, 5, 192, 97, 2, 2416, 2415, 3, 2, 2, 2, 2416, 2417, 3, 2, 2, 2, 2417, 2418, 3, 2, 2, 2, 2418, 2420, 7, 4, 2, 2, 2419, 2377, 3, 2, 2, 2, 2419, 2378, 3, 2, 2, 2, 2420, 191, 3, 2, 2, 2, 2421, 2422, 7, 69, 2, 2, 2422, 2438, 5, 194, 98, 2, 2423, 2424, 7, 70, 2, 2, 2424, 2438, 5, 194, 98, 2, 2425, 2426, 7, 69, 2, 2, 2426, 2427, 7, 37, 2, 2, 2427, 2428, 5, 194, 98, 2, 2428, 2429, 7, 32, 2, 2, 2429, 2430, 5, 194, 98, 2, 2430, 2438, 3, 2, 2, 2, 2431, 2432, 7, 70, 2, 2, 2432, 2433, 7, 37, 2, 2, 2433, 2434, 5, 194, 98, 2, 2434, 2435, 7, 32, 2, 2, 2435, 2436, 5, 194, 98, 2, 2436, 2438, 3, 2, 2, 2, 2437, 2421, 3, 2, 2, 2, 2437, 2423, 3, 2, 2, 2, 2437, 2425, 3, 2, 2, 2, 2437, 2431, 3, 2, 2, 2, 2438, 193, 3, 2, 2, 2, 2439, 2440, 7, 71, 2, 2, 2440, 2447, 9, 27, 2, 2, 2441, 2442, 7, 74, 2, 2, 2442, 2447, 7, 78, 2, 2, 2443, 2444, 5, 142, 72, 2, 2444, 2445, 9, 27, 2, 2, 2445, 2447, 3, 2, 2, 2, 2446, 2439, 3, 2, 2, 2, 2446, 2441, 3, 2, 2, 2, 2446, 2443, 3, 2, 2, 2, 2447, 195, 3, 2, 2, 2, 2448, 2453, 5, 198, 100, 2, 2449, 2450, 7, 5, 2, 2, 2450, 2452, 5, 198, 100, 2, 2451, 2449, 3, 2, 2, 2, 2452, 2455, 3, 2, 2, 2, 2453, 2451, 3, 2, 2, 2, 2453, 2454, 3, 2, 2, 2, 2454, 197, 3, 2, 2, 2, 2455, 2453, 3, 2, 2, 2, 2456, 2472, 5, 200, 101, 2, 2457, 2472, 7, 239, 2, 2, 2458, 2472, 7, 61, 2, 2, 2459, 2472, 7, 57, 2, 2, 2460, 2472, 7, 58, 2, 2, 2461, 2472, 7, 59, 2, 2, 2462, 2472, 7, 60, 2, 2, 2463, 2472, 7, 62, 2, 2, 2464, 2472, 7, 54, 2, 2, 2465, 2472, 7, 55, 2, 2, 2466, 2472, 7, 63, 2, 2, 2467, 2472, 7, 104, 2, 2, 2468, 2472, 7, 107, 2, 2, 2469, 2472, 7, 105, 2, 2, 2470, 2472, 7, 106, 2, 2, 2471, 2456, 3, 2, 2, 2, 2471, 2457, 3, 2, 2, 2, 2471, 2458, 3, 2, 2, 2, 2471, 2459, 3, 2, 2, 2, 2471, 2460, 3, 2, 2, 2, 2471, 2461, 3, 2, 2, 2, 2471, 2462, 3, 2, 2, 2, 2471, 2463, 3, 2, 2, 2, 2471, 2464, 3, 2, 2, 2, 2471, 2465, 3, 2, 2, 2, 2471, 2466, 3, 2, 2, 2, 2471, 2467, 3, 2, 2, 2, 2471, 2468, 3, 2, 2, 2, 2471, 2469, 3, 2, 2, 2, 2471, 2470, 3, 2, 2, 2, 2472, 199, 3, 2, 2, 2, 2473, 2477, 7, 251, 2, 2, 2474, 2477, 5, 202, 102, 2, 2475, 2477, 5, 206, 104, 2, 2476, 2473, 3, 2, 2, 2, 2476, 2474, 3, 2, 2, 2, 2476, 2475, 3, 2, 2, 2, 2477, 201, 3, 2, 2, 2, 2478, 2479, 7, 252, 2, 2, 2479, 203, 3, 2, 2, 2, 2480, 2482, 7, 141, 2, 2, 2481, 2480, 3, 2, 2, 2, 2481, 2482, 3, 2, 2, 2, 2482, 2483, 3, 2, 2, 2, 2483, 2509, 7, 248, 2, 2, 2484, 2486, 7, 141, 2, 2, 2485, 2484, 3, 2, 2, 2, 2485, 2486, 3, 2, 2, 2, 2486, 2487, 3, 2, 2, 2, 2487, 2509, 7, 247, 2, 2, 2488, 2490, 7, 141, 2, 2, 2489, 2488, 3, 2, 2, 2, 2489, 2490, 3, 2, 2, 2, 2490, 2491, 3, 2, 2, 2, 2491, 2509, 7, 244, 2, 2, 2492, 2494, 7, 141, 2, 2, 2493, 2492, 3, 2, 2, 2, 2493, 2494, 3, 2, 2, 2, 2494, 2495, 3, 2, 2, 2, 2495, 2509, 7, 245, 2, 2, 2496, 2498, 7, 141, 2, 2, 2497, 2496, 3, 2, 2, 2, 2497, 2498, 3, 2, 2, 2, 2498, 2499, 3, 2, 2, 2, 2499, 2509, 7, 246, 2, 2, 2500, 2502, 7, 141, 2, 2, 2501, 2500, 3, 2, 2, 2, 2501, 2502, 3, 2, 2, 2, 2502, 2503, 3, 2, 2, 2, 2503, 2509, 7, 249, 2, 2, 2504, 2506, 7, 141, 2, 2, 2505, 2504, 3, 2, 2, 2, 2505, 2506, 3, 2, 2, 2, 2506, 2507, 3, 2, 2, 2, 2507, 2509, 7, 250, 2, 2, 2508, 2481, 3, 2, 2, 2, 2508, 2485, 3, 2, 2, 2, 2508, 2489, 3, 2, 2, 2, 2508, 2493, 3, 2, 2, 2, 2508, 2497, 3, 2, 2, 2, 2508, 2501, 3, 2, 2, 2, 2508, 2505, 3, 2, 2, 2, 2509, 205, 3, 2, 2, 2, 2510, 2511, 9, 28, 2, 2, 2511, 207, 3, 2, 2, 2, 337, 234, 239, 242, 247, 260, 264, 271, 285, 287, 291, 294, 301, 318, 320, 324, 327, 334, 341, 345, 353, 363, 369, 375, 386, 418, 426, 430, 435, 441, 449, 455, 468, 473, 482, 487, 503, 510, 514, 522, 529, 536, 551, 555, 561, 567, 570, 573, 579, 583, 587, 592, 596, 604, 607, 616, 621, 627, 634, 637, 643, 654, 657, 661, 666, 671, 678, 681, 684, 691, 696, 701, 704, 713, 721, 727, 731, 735, 739, 741, 750, 756, 761, 764, 768, 771, 781, 784, 788, 794, 797, 800, 806, 814, 819, 825, 831, 842, 850, 857, 865, 868, 876, 880, 887, 1003, 1011, 1019, 1028, 1040, 1044, 1047, 1053, 1063, 1075, 1080, 1086, 1098, 1100, 1105, 1109, 1114, 1119, 1122, 1127, 1131, 1136, 1138, 1142, 1151, 1159, 1166, 1173, 1182, 1187, 1202, 1209, 1212, 1219, 1223, 1229, 1237, 1248, 1259, 1266, 1272, 1278, 1287, 1289, 1298, 1301, 1310, 1313, 1322, 1325, 1334, 1337, 1340, 1345, 1347, 1350, 1362, 1369, 1376, 1379, 1381, 1392, 1396, 1400, 1412, 1415, 1419, 1429, 1433, 1435, 1438, 1442, 1445, 1449, 1455, 1459, 1463, 1468, 1471, 1473, 1478, 1483, 1486, 1490, 1493, 1495, 1500, 1505, 1518, 1523, 1531, 1537, 1541, 1550, 1565, 1570, 1582, 1587, 1595, 1598, 1602, 1616, 1629, 1634, 1638, 1641, 1646, 1655, 1658, 1663, 1670, 1673, 1681, 1688, 1695, 1698, 1703, 1709, 1713, 1716, 1719, 1725, 1730, 1735, 1753, 1755, 1758, 1769, 1778, 1785, 1793, 1801, 1805, 1813, 1821, 1827, 1835, 1847, 1850, 1856, 1860, 1862, 1871, 1883, 1885, 1892, 1899, 1905, 1911, 1913, 1918, 1925, 1931, 1935, 1937, 1944, 1959, 1961, 1969, 1971, 1975, 1983, 1992, 1998, 2006, 2012, 2017, 2022, 2028, 2049, 2051, 2059, 2063, 2072, 2076, 2094, 2097, 2105, 2114, 2137, 2148, 2155, 2158, 2163, 2182, 2199, 2209, 2211, 2224, 2226, 2240, 2247, 2250, 2254, 2259, 2276, 2280, 2289, 2293, 2295, 2302, 2309, 2316, 2324, 2330, 2334, 2342, 2349, 2357, 2370, 2386, 2396, 2399, 2408, 2411, 2413, 2416, 2419, 2437, 2446, 2453, 2471, 2476, 2481, 2485, 2489, 2493, 2497, 2501, 2505, 2508] \ No newline at end of file diff --git a/src/antlr4/flinksql/sql.tokens b/src/antlr4/flinksql/sql.tokens new file mode 100644 index 0000000..8f217b0 --- /dev/null +++ b/src/antlr4/flinksql/sql.tokens @@ -0,0 +1,488 @@ +T__0=1 +T__1=2 +T__2=3 +T__3=4 +T__4=5 +T__5=6 +T__6=7 +T__7=8 +T__8=9 +T__9=10 +SELECT=11 +FROM=12 +ADD=13 +AS=14 +ALL=15 +ANY=16 +DISTINCT=17 +WHERE=18 +GROUP=19 +BY=20 +GROUPING=21 +SETS=22 +CUBE=23 +ROLLUP=24 +ORDER=25 +HAVING=26 +LIMIT=27 +AT=28 +OR=29 +AND=30 +IN=31 +NOT=32 +NO=33 +EXISTS=34 +BETWEEN=35 +LIKE=36 +RLIKE=37 +IS=38 +NULL=39 +TRUE=40 +FALSE=41 +NULLS=42 +ASC=43 +DESC=44 +FOR=45 +INTERVAL=46 +CASE=47 +WHEN=48 +THEN=49 +ELSE=50 +END=51 +JOIN=52 +CROSS=53 +OUTER=54 +INNER=55 +LEFT=56 +SEMI=57 +RIGHT=58 +FULL=59 +NATURAL=60 +ON=61 +PIVOT=62 +LATERAL=63 +WINDOW=64 +OVER=65 +PARTITION=66 +RANGE=67 +ROWS=68 +UNBOUNDED=69 +PRECEDING=70 +FOLLOWING=71 +CURRENT=72 +FIRST=73 +AFTER=74 +LAST=75 +ROW=76 +WITH=77 +VALUES=78 +CREATE=79 +TABLE=80 +DIRECTORY=81 +VIEW=82 +REPLACE=83 +INSERT=84 +DELETE=85 +INTO=86 +DESCRIBE=87 +EXPLAIN=88 +FORMAT=89 +LOGICAL=90 +CODEGEN=91 +COST=92 +CAST=93 +SHOW=94 +TABLES=95 +COLUMNS=96 +COLUMN=97 +USE=98 +PARTITIONS=99 +FUNCTIONS=100 +DROP=101 +UNION=102 +EXCEPT=103 +SETMINUS=104 +INTERSECT=105 +TO=106 +TABLESAMPLE=107 +STRATIFY=108 +ALTER=109 +RENAME=110 +ARRAY=111 +MAP=112 +STRUCT=113 +COMMENT=114 +SET=115 +RESET=116 +DATA=117 +START=118 +TRANSACTION=119 +COMMIT=120 +ROLLBACK=121 +MACRO=122 +IGNORE=123 +BOTH=124 +LEADING=125 +TRAILING=126 +IF=127 +POSITION=128 +EXTRACT=129 +EQ=130 +NSEQ=131 +NEQ=132 +NEQJ=133 +LT=134 +LTE=135 +GT=136 +GTE=137 +PLUS=138 +MINUS=139 +ASTERISK=140 +SLASH=141 +PERCENT=142 +DIV=143 +TILDE=144 +AMPERSAND=145 +PIPE=146 +CONCAT_PIPE=147 +HAT=148 +PERCENTLIT=149 +BUCKET=150 +OUT=151 +OF=152 +SORT=153 +CLUSTER=154 +DISTRIBUTE=155 +OVERWRITE=156 +TRANSFORM=157 +REDUCE=158 +USING=159 +SERDE=160 +SERDEPROPERTIES=161 +RECORDREADER=162 +RECORDWRITER=163 +DELIMITED=164 +FIELDS=165 +TERMINATED=166 +COLLECTION=167 +ITEMS=168 +KEYS=169 +ESCAPED=170 +LINES=171 +SEPARATED=172 +FUNCTION=173 +EXTENDED=174 +REFRESH=175 +CLEAR=176 +CACHE=177 +UNCACHE=178 +LAZY=179 +FORMATTED=180 +GLOBAL=181 +TEMPORARY=182 +OPTIONS=183 +UNSET=184 +TBLPROPERTIES=185 +DBPROPERTIES=186 +BUCKETS=187 +SKEWED=188 +STORED=189 +DIRECTORIES=190 +LOCATION=191 +EXCHANGE=192 +ARCHIVE=193 +UNARCHIVE=194 +FILEFORMAT=195 +TOUCH=196 +COMPACT=197 +CONCATENATE=198 +CHANGE=199 +CASCADE=200 +RESTRICT=201 +CLUSTERED=202 +SORTED=203 +PURGE=204 +INPUTFORMAT=205 +OUTPUTFORMAT=206 +DATABASE=207 +DATABASES=208 +DFS=209 +TRUNCATE=210 +ANALYZE=211 +COMPUTE=212 +LIST=213 +STATISTICS=214 +PARTITIONED=215 +EXTERNAL=216 +DEFINED=217 +REVOKE=218 +GRANT=219 +LOCK=220 +UNLOCK=221 +MSCK=222 +REPAIR=223 +RECOVER=224 +EXPORT=225 +IMPORT=226 +LOAD=227 +ROLE=228 +ROLES=229 +COMPACTIONS=230 +PRINCIPALS=231 +TRANSACTIONS=232 +INDEX=233 +INDEXES=234 +LOCKS=235 +OPTION=236 +ANTI=237 +LOCAL=238 +INPATH=239 +WATERMARK=240 +STRING=241 +BIGINT_LITERAL=242 +SMALLINT_LITERAL=243 +TINYINT_LITERAL=244 +INTEGER_VALUE=245 +DECIMAL_VALUE=246 +DOUBLE_LITERAL=247 +BIGDECIMAL_LITERAL=248 +IDENTIFIER=249 +BACKQUOTED_IDENTIFIER=250 +SIMPLE_COMMENT=251 +BRACKETED_EMPTY_COMMENT=252 +BRACKETED_COMMENT=253 +WS=254 +UNRECOGNIZED=255 +'('=1 +')'=2 +'.'=3 +','=4 +'/*+'=5 +'*/'=6 +'->'=7 +'['=8 +']'=9 +':'=10 +'SELECT'=11 +'FROM'=12 +'ADD'=13 +'AS'=14 +'ALL'=15 +'ANY'=16 +'DISTINCT'=17 +'WHERE'=18 +'GROUP'=19 +'BY'=20 +'GROUPING'=21 +'SETS'=22 +'CUBE'=23 +'ROLLUP'=24 +'ORDER'=25 +'HAVING'=26 +'LIMIT'=27 +'AT'=28 +'OR'=29 +'AND'=30 +'IN'=31 +'NO'=33 +'EXISTS'=34 +'BETWEEN'=35 +'LIKE'=36 +'IS'=38 +'NULL'=39 +'TRUE'=40 +'FALSE'=41 +'NULLS'=42 +'ASC'=43 +'DESC'=44 +'FOR'=45 +'INTERVAL'=46 +'CASE'=47 +'WHEN'=48 +'THEN'=49 +'ELSE'=50 +'END'=51 +'JOIN'=52 +'CROSS'=53 +'OUTER'=54 +'INNER'=55 +'LEFT'=56 +'SEMI'=57 +'RIGHT'=58 +'FULL'=59 +'NATURAL'=60 +'ON'=61 +'PIVOT'=62 +'LATERAL'=63 +'WINDOW'=64 +'OVER'=65 +'PARTITION'=66 +'RANGE'=67 +'ROWS'=68 +'UNBOUNDED'=69 +'PRECEDING'=70 +'FOLLOWING'=71 +'CURRENT'=72 +'FIRST'=73 +'AFTER'=74 +'LAST'=75 +'ROW'=76 +'WITH'=77 +'VALUES'=78 +'CREATE'=79 +'TABLE'=80 +'DIRECTORY'=81 +'VIEW'=82 +'REPLACE'=83 +'INSERT'=84 +'DELETE'=85 +'INTO'=86 +'DESCRIBE'=87 +'EXPLAIN'=88 +'FORMAT'=89 +'LOGICAL'=90 +'CODEGEN'=91 +'COST'=92 +'CAST'=93 +'SHOW'=94 +'TABLES'=95 +'COLUMNS'=96 +'COLUMN'=97 +'USE'=98 +'PARTITIONS'=99 +'FUNCTIONS'=100 +'DROP'=101 +'UNION'=102 +'EXCEPT'=103 +'MINUS'=104 +'INTERSECT'=105 +'TO'=106 +'TABLESAMPLE'=107 +'STRATIFY'=108 +'ALTER'=109 +'RENAME'=110 +'ARRAY'=111 +'MAP'=112 +'STRUCT'=113 +'COMMENT'=114 +'SET'=115 +'RESET'=116 +'DATA'=117 +'START'=118 +'TRANSACTION'=119 +'COMMIT'=120 +'ROLLBACK'=121 +'MACRO'=122 +'IGNORE'=123 +'BOTH'=124 +'LEADING'=125 +'TRAILING'=126 +'IF'=127 +'POSITION'=128 +'EXTRACT'=129 +'<=>'=131 +'<>'=132 +'!='=133 +'<'=134 +'>'=136 +'+'=138 +'-'=139 +'*'=140 +'/'=141 +'%'=142 +'DIV'=143 +'~'=144 +'&'=145 +'|'=146 +'||'=147 +'^'=148 +'PERCENT'=149 +'BUCKET'=150 +'OUT'=151 +'OF'=152 +'SORT'=153 +'CLUSTER'=154 +'DISTRIBUTE'=155 +'OVERWRITE'=156 +'TRANSFORM'=157 +'REDUCE'=158 +'USING'=159 +'SERDE'=160 +'SERDEPROPERTIES'=161 +'RECORDREADER'=162 +'RECORDWRITER'=163 +'DELIMITED'=164 +'FIELDS'=165 +'TERMINATED'=166 +'COLLECTION'=167 +'ITEMS'=168 +'KEYS'=169 +'ESCAPED'=170 +'LINES'=171 +'SEPARATED'=172 +'FUNCTION'=173 +'EXTENDED'=174 +'REFRESH'=175 +'CLEAR'=176 +'CACHE'=177 +'UNCACHE'=178 +'LAZY'=179 +'FORMATTED'=180 +'GLOBAL'=181 +'OPTIONS'=183 +'UNSET'=184 +'TBLPROPERTIES'=185 +'DBPROPERTIES'=186 +'BUCKETS'=187 +'SKEWED'=188 +'STORED'=189 +'DIRECTORIES'=190 +'LOCATION'=191 +'EXCHANGE'=192 +'ARCHIVE'=193 +'UNARCHIVE'=194 +'FILEFORMAT'=195 +'TOUCH'=196 +'COMPACT'=197 +'CONCATENATE'=198 +'CHANGE'=199 +'CASCADE'=200 +'RESTRICT'=201 +'CLUSTERED'=202 +'SORTED'=203 +'PURGE'=204 +'INPUTFORMAT'=205 +'OUTPUTFORMAT'=206 +'DFS'=209 +'TRUNCATE'=210 +'ANALYZE'=211 +'COMPUTE'=212 +'LIST'=213 +'STATISTICS'=214 +'PARTITIONED'=215 +'EXTERNAL'=216 +'DEFINED'=217 +'REVOKE'=218 +'GRANT'=219 +'LOCK'=220 +'UNLOCK'=221 +'MSCK'=222 +'REPAIR'=223 +'RECOVER'=224 +'EXPORT'=225 +'IMPORT'=226 +'LOAD'=227 +'ROLE'=228 +'ROLES'=229 +'COMPACTIONS'=230 +'PRINCIPALS'=231 +'TRANSACTIONS'=232 +'INDEX'=233 +'INDEXES'=234 +'LOCKS'=235 +'OPTION'=236 +'ANTI'=237 +'LOCAL'=238 +'INPATH'=239 +'WATERMARK'=240 +'/**/'=252 diff --git a/src/antlr4/flinksql/sqlLexer.interp b/src/antlr4/flinksql/sqlLexer.interp new file mode 100644 index 0000000..a574b90 --- /dev/null +++ b/src/antlr4/flinksql/sqlLexer.interp @@ -0,0 +1,786 @@ +token literal names: +null +'(' +')' +'.' +',' +'/*+' +'*/' +'->' +'[' +']' +':' +'SELECT' +'FROM' +'ADD' +'AS' +'ALL' +'ANY' +'DISTINCT' +'WHERE' +'GROUP' +'BY' +'GROUPING' +'SETS' +'CUBE' +'ROLLUP' +'ORDER' +'HAVING' +'LIMIT' +'AT' +'OR' +'AND' +'IN' +null +'NO' +'EXISTS' +'BETWEEN' +'LIKE' +null +'IS' +'NULL' +'TRUE' +'FALSE' +'NULLS' +'ASC' +'DESC' +'FOR' +'INTERVAL' +'CASE' +'WHEN' +'THEN' +'ELSE' +'END' +'JOIN' +'CROSS' +'OUTER' +'INNER' +'LEFT' +'SEMI' +'RIGHT' +'FULL' +'NATURAL' +'ON' +'PIVOT' +'LATERAL' +'WINDOW' +'OVER' +'PARTITION' +'RANGE' +'ROWS' +'UNBOUNDED' +'PRECEDING' +'FOLLOWING' +'CURRENT' +'FIRST' +'AFTER' +'LAST' +'ROW' +'WITH' +'VALUES' +'CREATE' +'TABLE' +'DIRECTORY' +'VIEW' +'REPLACE' +'INSERT' +'DELETE' +'INTO' +'DESCRIBE' +'EXPLAIN' +'FORMAT' +'LOGICAL' +'CODEGEN' +'COST' +'CAST' +'SHOW' +'TABLES' +'COLUMNS' +'COLUMN' +'USE' +'PARTITIONS' +'FUNCTIONS' +'DROP' +'UNION' +'EXCEPT' +'MINUS' +'INTERSECT' +'TO' +'TABLESAMPLE' +'STRATIFY' +'ALTER' +'RENAME' +'ARRAY' +'MAP' +'STRUCT' +'COMMENT' +'SET' +'RESET' +'DATA' +'START' +'TRANSACTION' +'COMMIT' +'ROLLBACK' +'MACRO' +'IGNORE' +'BOTH' +'LEADING' +'TRAILING' +'IF' +'POSITION' +'EXTRACT' +null +'<=>' +'<>' +'!=' +'<' +null +'>' +null +'+' +'-' +'*' +'/' +'%' +'DIV' +'~' +'&' +'|' +'||' +'^' +'PERCENT' +'BUCKET' +'OUT' +'OF' +'SORT' +'CLUSTER' +'DISTRIBUTE' +'OVERWRITE' +'TRANSFORM' +'REDUCE' +'USING' +'SERDE' +'SERDEPROPERTIES' +'RECORDREADER' +'RECORDWRITER' +'DELIMITED' +'FIELDS' +'TERMINATED' +'COLLECTION' +'ITEMS' +'KEYS' +'ESCAPED' +'LINES' +'SEPARATED' +'FUNCTION' +'EXTENDED' +'REFRESH' +'CLEAR' +'CACHE' +'UNCACHE' +'LAZY' +'FORMATTED' +'GLOBAL' +null +'OPTIONS' +'UNSET' +'TBLPROPERTIES' +'DBPROPERTIES' +'BUCKETS' +'SKEWED' +'STORED' +'DIRECTORIES' +'LOCATION' +'EXCHANGE' +'ARCHIVE' +'UNARCHIVE' +'FILEFORMAT' +'TOUCH' +'COMPACT' +'CONCATENATE' +'CHANGE' +'CASCADE' +'RESTRICT' +'CLUSTERED' +'SORTED' +'PURGE' +'INPUTFORMAT' +'OUTPUTFORMAT' +null +null +'DFS' +'TRUNCATE' +'ANALYZE' +'COMPUTE' +'LIST' +'STATISTICS' +'PARTITIONED' +'EXTERNAL' +'DEFINED' +'REVOKE' +'GRANT' +'LOCK' +'UNLOCK' +'MSCK' +'REPAIR' +'RECOVER' +'EXPORT' +'IMPORT' +'LOAD' +'ROLE' +'ROLES' +'COMPACTIONS' +'PRINCIPALS' +'TRANSACTIONS' +'INDEX' +'INDEXES' +'LOCKS' +'OPTION' +'ANTI' +'LOCAL' +'INPATH' +'WATERMARK' +null +null +null +null +null +null +null +null +null +null +null +'/**/' +null +null +null + +token symbolic names: +null +null +null +null +null +null +null +null +null +null +null +SELECT +FROM +ADD +AS +ALL +ANY +DISTINCT +WHERE +GROUP +BY +GROUPING +SETS +CUBE +ROLLUP +ORDER +HAVING +LIMIT +AT +OR +AND +IN +NOT +NO +EXISTS +BETWEEN +LIKE +RLIKE +IS +NULL +TRUE +FALSE +NULLS +ASC +DESC +FOR +INTERVAL +CASE +WHEN +THEN +ELSE +END +JOIN +CROSS +OUTER +INNER +LEFT +SEMI +RIGHT +FULL +NATURAL +ON +PIVOT +LATERAL +WINDOW +OVER +PARTITION +RANGE +ROWS +UNBOUNDED +PRECEDING +FOLLOWING +CURRENT +FIRST +AFTER +LAST +ROW +WITH +VALUES +CREATE +TABLE +DIRECTORY +VIEW +REPLACE +INSERT +DELETE +INTO +DESCRIBE +EXPLAIN +FORMAT +LOGICAL +CODEGEN +COST +CAST +SHOW +TABLES +COLUMNS +COLUMN +USE +PARTITIONS +FUNCTIONS +DROP +UNION +EXCEPT +SETMINUS +INTERSECT +TO +TABLESAMPLE +STRATIFY +ALTER +RENAME +ARRAY +MAP +STRUCT +COMMENT +SET +RESET +DATA +START +TRANSACTION +COMMIT +ROLLBACK +MACRO +IGNORE +BOTH +LEADING +TRAILING +IF +POSITION +EXTRACT +EQ +NSEQ +NEQ +NEQJ +LT +LTE +GT +GTE +PLUS +MINUS +ASTERISK +SLASH +PERCENT +DIV +TILDE +AMPERSAND +PIPE +CONCAT_PIPE +HAT +PERCENTLIT +BUCKET +OUT +OF +SORT +CLUSTER +DISTRIBUTE +OVERWRITE +TRANSFORM +REDUCE +USING +SERDE +SERDEPROPERTIES +RECORDREADER +RECORDWRITER +DELIMITED +FIELDS +TERMINATED +COLLECTION +ITEMS +KEYS +ESCAPED +LINES +SEPARATED +FUNCTION +EXTENDED +REFRESH +CLEAR +CACHE +UNCACHE +LAZY +FORMATTED +GLOBAL +TEMPORARY +OPTIONS +UNSET +TBLPROPERTIES +DBPROPERTIES +BUCKETS +SKEWED +STORED +DIRECTORIES +LOCATION +EXCHANGE +ARCHIVE +UNARCHIVE +FILEFORMAT +TOUCH +COMPACT +CONCATENATE +CHANGE +CASCADE +RESTRICT +CLUSTERED +SORTED +PURGE +INPUTFORMAT +OUTPUTFORMAT +DATABASE +DATABASES +DFS +TRUNCATE +ANALYZE +COMPUTE +LIST +STATISTICS +PARTITIONED +EXTERNAL +DEFINED +REVOKE +GRANT +LOCK +UNLOCK +MSCK +REPAIR +RECOVER +EXPORT +IMPORT +LOAD +ROLE +ROLES +COMPACTIONS +PRINCIPALS +TRANSACTIONS +INDEX +INDEXES +LOCKS +OPTION +ANTI +LOCAL +INPATH +WATERMARK +STRING +BIGINT_LITERAL +SMALLINT_LITERAL +TINYINT_LITERAL +INTEGER_VALUE +DECIMAL_VALUE +DOUBLE_LITERAL +BIGDECIMAL_LITERAL +IDENTIFIER +BACKQUOTED_IDENTIFIER +SIMPLE_COMMENT +BRACKETED_EMPTY_COMMENT +BRACKETED_COMMENT +WS +UNRECOGNIZED + +rule names: +T__0 +T__1 +T__2 +T__3 +T__4 +T__5 +T__6 +T__7 +T__8 +T__9 +SELECT +FROM +ADD +AS +ALL +ANY +DISTINCT +WHERE +GROUP +BY +GROUPING +SETS +CUBE +ROLLUP +ORDER +HAVING +LIMIT +AT +OR +AND +IN +NOT +NO +EXISTS +BETWEEN +LIKE +RLIKE +IS +NULL +TRUE +FALSE +NULLS +ASC +DESC +FOR +INTERVAL +CASE +WHEN +THEN +ELSE +END +JOIN +CROSS +OUTER +INNER +LEFT +SEMI +RIGHT +FULL +NATURAL +ON +PIVOT +LATERAL +WINDOW +OVER +PARTITION +RANGE +ROWS +UNBOUNDED +PRECEDING +FOLLOWING +CURRENT +FIRST +AFTER +LAST +ROW +WITH +VALUES +CREATE +TABLE +DIRECTORY +VIEW +REPLACE +INSERT +DELETE +INTO +DESCRIBE +EXPLAIN +FORMAT +LOGICAL +CODEGEN +COST +CAST +SHOW +TABLES +COLUMNS +COLUMN +USE +PARTITIONS +FUNCTIONS +DROP +UNION +EXCEPT +SETMINUS +INTERSECT +TO +TABLESAMPLE +STRATIFY +ALTER +RENAME +ARRAY +MAP +STRUCT +COMMENT +SET +RESET +DATA +START +TRANSACTION +COMMIT +ROLLBACK +MACRO +IGNORE +BOTH +LEADING +TRAILING +IF +POSITION +EXTRACT +EQ +NSEQ +NEQ +NEQJ +LT +LTE +GT +GTE +PLUS +MINUS +ASTERISK +SLASH +PERCENT +DIV +TILDE +AMPERSAND +PIPE +CONCAT_PIPE +HAT +PERCENTLIT +BUCKET +OUT +OF +SORT +CLUSTER +DISTRIBUTE +OVERWRITE +TRANSFORM +REDUCE +USING +SERDE +SERDEPROPERTIES +RECORDREADER +RECORDWRITER +DELIMITED +FIELDS +TERMINATED +COLLECTION +ITEMS +KEYS +ESCAPED +LINES +SEPARATED +FUNCTION +EXTENDED +REFRESH +CLEAR +CACHE +UNCACHE +LAZY +FORMATTED +GLOBAL +TEMPORARY +OPTIONS +UNSET +TBLPROPERTIES +DBPROPERTIES +BUCKETS +SKEWED +STORED +DIRECTORIES +LOCATION +EXCHANGE +ARCHIVE +UNARCHIVE +FILEFORMAT +TOUCH +COMPACT +CONCATENATE +CHANGE +CASCADE +RESTRICT +CLUSTERED +SORTED +PURGE +INPUTFORMAT +OUTPUTFORMAT +DATABASE +DATABASES +DFS +TRUNCATE +ANALYZE +COMPUTE +LIST +STATISTICS +PARTITIONED +EXTERNAL +DEFINED +REVOKE +GRANT +LOCK +UNLOCK +MSCK +REPAIR +RECOVER +EXPORT +IMPORT +LOAD +ROLE +ROLES +COMPACTIONS +PRINCIPALS +TRANSACTIONS +INDEX +INDEXES +LOCKS +OPTION +ANTI +LOCAL +INPATH +WATERMARK +STRING +BIGINT_LITERAL +SMALLINT_LITERAL +TINYINT_LITERAL +INTEGER_VALUE +DECIMAL_VALUE +DOUBLE_LITERAL +BIGDECIMAL_LITERAL +IDENTIFIER +BACKQUOTED_IDENTIFIER +DECIMAL_DIGITS +EXPONENT +DIGIT +LETTER +SIMPLE_COMMENT +BRACKETED_EMPTY_COMMENT +BRACKETED_COMMENT +WS +UNRECOGNIZED + +channel names: +DEFAULT_TOKEN_CHANNEL +HIDDEN + +mode names: +DEFAULT_MODE + +atn: +[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 2, 257, 2334, 8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9, 70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 4, 75, 9, 75, 4, 76, 9, 76, 4, 77, 9, 77, 4, 78, 9, 78, 4, 79, 9, 79, 4, 80, 9, 80, 4, 81, 9, 81, 4, 82, 9, 82, 4, 83, 9, 83, 4, 84, 9, 84, 4, 85, 9, 85, 4, 86, 9, 86, 4, 87, 9, 87, 4, 88, 9, 88, 4, 89, 9, 89, 4, 90, 9, 90, 4, 91, 9, 91, 4, 92, 9, 92, 4, 93, 9, 93, 4, 94, 9, 94, 4, 95, 9, 95, 4, 96, 9, 96, 4, 97, 9, 97, 4, 98, 9, 98, 4, 99, 9, 99, 4, 100, 9, 100, 4, 101, 9, 101, 4, 102, 9, 102, 4, 103, 9, 103, 4, 104, 9, 104, 4, 105, 9, 105, 4, 106, 9, 106, 4, 107, 9, 107, 4, 108, 9, 108, 4, 109, 9, 109, 4, 110, 9, 110, 4, 111, 9, 111, 4, 112, 9, 112, 4, 113, 9, 113, 4, 114, 9, 114, 4, 115, 9, 115, 4, 116, 9, 116, 4, 117, 9, 117, 4, 118, 9, 118, 4, 119, 9, 119, 4, 120, 9, 120, 4, 121, 9, 121, 4, 122, 9, 122, 4, 123, 9, 123, 4, 124, 9, 124, 4, 125, 9, 125, 4, 126, 9, 126, 4, 127, 9, 127, 4, 128, 9, 128, 4, 129, 9, 129, 4, 130, 9, 130, 4, 131, 9, 131, 4, 132, 9, 132, 4, 133, 9, 133, 4, 134, 9, 134, 4, 135, 9, 135, 4, 136, 9, 136, 4, 137, 9, 137, 4, 138, 9, 138, 4, 139, 9, 139, 4, 140, 9, 140, 4, 141, 9, 141, 4, 142, 9, 142, 4, 143, 9, 143, 4, 144, 9, 144, 4, 145, 9, 145, 4, 146, 9, 146, 4, 147, 9, 147, 4, 148, 9, 148, 4, 149, 9, 149, 4, 150, 9, 150, 4, 151, 9, 151, 4, 152, 9, 152, 4, 153, 9, 153, 4, 154, 9, 154, 4, 155, 9, 155, 4, 156, 9, 156, 4, 157, 9, 157, 4, 158, 9, 158, 4, 159, 9, 159, 4, 160, 9, 160, 4, 161, 9, 161, 4, 162, 9, 162, 4, 163, 9, 163, 4, 164, 9, 164, 4, 165, 9, 165, 4, 166, 9, 166, 4, 167, 9, 167, 4, 168, 9, 168, 4, 169, 9, 169, 4, 170, 9, 170, 4, 171, 9, 171, 4, 172, 9, 172, 4, 173, 9, 173, 4, 174, 9, 174, 4, 175, 9, 175, 4, 176, 9, 176, 4, 177, 9, 177, 4, 178, 9, 178, 4, 179, 9, 179, 4, 180, 9, 180, 4, 181, 9, 181, 4, 182, 9, 182, 4, 183, 9, 183, 4, 184, 9, 184, 4, 185, 9, 185, 4, 186, 9, 186, 4, 187, 9, 187, 4, 188, 9, 188, 4, 189, 9, 189, 4, 190, 9, 190, 4, 191, 9, 191, 4, 192, 9, 192, 4, 193, 9, 193, 4, 194, 9, 194, 4, 195, 9, 195, 4, 196, 9, 196, 4, 197, 9, 197, 4, 198, 9, 198, 4, 199, 9, 199, 4, 200, 9, 200, 4, 201, 9, 201, 4, 202, 9, 202, 4, 203, 9, 203, 4, 204, 9, 204, 4, 205, 9, 205, 4, 206, 9, 206, 4, 207, 9, 207, 4, 208, 9, 208, 4, 209, 9, 209, 4, 210, 9, 210, 4, 211, 9, 211, 4, 212, 9, 212, 4, 213, 9, 213, 4, 214, 9, 214, 4, 215, 9, 215, 4, 216, 9, 216, 4, 217, 9, 217, 4, 218, 9, 218, 4, 219, 9, 219, 4, 220, 9, 220, 4, 221, 9, 221, 4, 222, 9, 222, 4, 223, 9, 223, 4, 224, 9, 224, 4, 225, 9, 225, 4, 226, 9, 226, 4, 227, 9, 227, 4, 228, 9, 228, 4, 229, 9, 229, 4, 230, 9, 230, 4, 231, 9, 231, 4, 232, 9, 232, 4, 233, 9, 233, 4, 234, 9, 234, 4, 235, 9, 235, 4, 236, 9, 236, 4, 237, 9, 237, 4, 238, 9, 238, 4, 239, 9, 239, 4, 240, 9, 240, 4, 241, 9, 241, 4, 242, 9, 242, 4, 243, 9, 243, 4, 244, 9, 244, 4, 245, 9, 245, 4, 246, 9, 246, 4, 247, 9, 247, 4, 248, 9, 248, 4, 249, 9, 249, 4, 250, 9, 250, 4, 251, 9, 251, 4, 252, 9, 252, 4, 253, 9, 253, 4, 254, 9, 254, 4, 255, 9, 255, 4, 256, 9, 256, 4, 257, 9, 257, 4, 258, 9, 258, 4, 259, 9, 259, 4, 260, 9, 260, 3, 2, 3, 2, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 33, 3, 33, 5, 33, 659, 10, 33, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 3, 38, 5, 38, 695, 10, 38, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 60, 3, 60, 3, 60, 3, 60, 3, 60, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 61, 3, 62, 3, 62, 3, 62, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 75, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 77, 3, 77, 3, 77, 3, 77, 3, 78, 3, 78, 3, 78, 3, 78, 3, 78, 3, 79, 3, 79, 3, 79, 3, 79, 3, 79, 3, 79, 3, 79, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 93, 3, 93, 3, 93, 3, 93, 3, 93, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 95, 3, 95, 3, 95, 3, 95, 3, 95, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 99, 3, 99, 3, 99, 3, 99, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 102, 3, 102, 3, 102, 3, 102, 3, 102, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 105, 3, 105, 3, 105, 3, 105, 3, 105, 3, 105, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 106, 3, 107, 3, 107, 3, 107, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 108, 3, 109, 3, 109, 3, 109, 3, 109, 3, 109, 3, 109, 3, 109, 3, 109, 3, 109, 3, 110, 3, 110, 3, 110, 3, 110, 3, 110, 3, 110, 3, 111, 3, 111, 3, 111, 3, 111, 3, 111, 3, 111, 3, 111, 3, 112, 3, 112, 3, 112, 3, 112, 3, 112, 3, 112, 3, 113, 3, 113, 3, 113, 3, 113, 3, 114, 3, 114, 3, 114, 3, 114, 3, 114, 3, 114, 3, 114, 3, 115, 3, 115, 3, 115, 3, 115, 3, 115, 3, 115, 3, 115, 3, 115, 3, 116, 3, 116, 3, 116, 3, 116, 3, 117, 3, 117, 3, 117, 3, 117, 3, 117, 3, 117, 3, 118, 3, 118, 3, 118, 3, 118, 3, 118, 3, 119, 3, 119, 3, 119, 3, 119, 3, 119, 3, 119, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 120, 3, 121, 3, 121, 3, 121, 3, 121, 3, 121, 3, 121, 3, 121, 3, 122, 3, 122, 3, 122, 3, 122, 3, 122, 3, 122, 3, 122, 3, 122, 3, 122, 3, 123, 3, 123, 3, 123, 3, 123, 3, 123, 3, 123, 3, 124, 3, 124, 3, 124, 3, 124, 3, 124, 3, 124, 3, 124, 3, 125, 3, 125, 3, 125, 3, 125, 3, 125, 3, 126, 3, 126, 3, 126, 3, 126, 3, 126, 3, 126, 3, 126, 3, 126, 3, 127, 3, 127, 3, 127, 3, 127, 3, 127, 3, 127, 3, 127, 3, 127, 3, 127, 3, 128, 3, 128, 3, 128, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 131, 3, 131, 3, 131, 5, 131, 1301, 10, 131, 3, 132, 3, 132, 3, 132, 3, 132, 3, 133, 3, 133, 3, 133, 3, 134, 3, 134, 3, 134, 3, 135, 3, 135, 3, 136, 3, 136, 3, 136, 3, 136, 5, 136, 1319, 10, 136, 3, 137, 3, 137, 3, 138, 3, 138, 3, 138, 3, 138, 5, 138, 1327, 10, 138, 3, 139, 3, 139, 3, 140, 3, 140, 3, 141, 3, 141, 3, 142, 3, 142, 3, 143, 3, 143, 3, 144, 3, 144, 3, 144, 3, 144, 3, 145, 3, 145, 3, 146, 3, 146, 3, 147, 3, 147, 3, 148, 3, 148, 3, 148, 3, 149, 3, 149, 3, 150, 3, 150, 3, 150, 3, 150, 3, 150, 3, 150, 3, 150, 3, 150, 3, 151, 3, 151, 3, 151, 3, 151, 3, 151, 3, 151, 3, 151, 3, 152, 3, 152, 3, 152, 3, 152, 3, 153, 3, 153, 3, 153, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 161, 3, 161, 3, 161, 3, 161, 3, 161, 3, 161, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 163, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 164, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 165, 3, 166, 3, 166, 3, 166, 3, 166, 3, 166, 3, 166, 3, 166, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 169, 3, 169, 3, 169, 3, 169, 3, 169, 3, 169, 3, 170, 3, 170, 3, 170, 3, 170, 3, 170, 3, 171, 3, 171, 3, 171, 3, 171, 3, 171, 3, 171, 3, 171, 3, 171, 3, 172, 3, 172, 3, 172, 3, 172, 3, 172, 3, 172, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 173, 3, 174, 3, 174, 3, 174, 3, 174, 3, 174, 3, 174, 3, 174, 3, 174, 3, 174, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 176, 3, 176, 3, 176, 3, 176, 3, 176, 3, 176, 3, 176, 3, 176, 3, 177, 3, 177, 3, 177, 3, 177, 3, 177, 3, 177, 3, 178, 3, 178, 3, 178, 3, 178, 3, 178, 3, 178, 3, 179, 3, 179, 3, 179, 3, 179, 3, 179, 3, 179, 3, 179, 3, 179, 3, 180, 3, 180, 3, 180, 3, 180, 3, 180, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 182, 3, 182, 3, 182, 3, 182, 3, 182, 3, 182, 3, 182, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 5, 183, 1636, 10, 183, 3, 184, 3, 184, 3, 184, 3, 184, 3, 184, 3, 184, 3, 184, 3, 184, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 188, 3, 188, 3, 188, 3, 188, 3, 188, 3, 188, 3, 188, 3, 188, 3, 189, 3, 189, 3, 189, 3, 189, 3, 189, 3, 189, 3, 189, 3, 190, 3, 190, 3, 190, 3, 190, 3, 190, 3, 190, 3, 190, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 191, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 194, 3, 194, 3, 194, 3, 194, 3, 194, 3, 194, 3, 194, 3, 194, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 195, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 5, 208, 1872, 10, 208, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 5, 209, 1890, 10, 209, 3, 210, 3, 210, 3, 210, 3, 210, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 217, 3, 217, 3, 217, 3, 217, 3, 217, 3, 217, 3, 217, 3, 217, 3, 217, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 221, 3, 221, 3, 221, 3, 221, 3, 221, 3, 222, 3, 222, 3, 222, 3, 222, 3, 222, 3, 222, 3, 222, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 230, 3, 230, 3, 230, 3, 230, 3, 230, 3, 230, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 234, 3, 234, 3, 234, 3, 234, 3, 234, 3, 234, 3, 235, 3, 235, 3, 235, 3, 235, 3, 235, 3, 235, 3, 235, 3, 235, 3, 236, 3, 236, 3, 236, 3, 236, 3, 236, 3, 236, 3, 237, 3, 237, 3, 237, 3, 237, 3, 237, 3, 237, 3, 237, 3, 238, 3, 238, 3, 238, 3, 238, 3, 238, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 242, 3, 242, 3, 242, 3, 242, 7, 242, 2136, 10, 242, 12, 242, 14, 242, 2139, 11, 242, 3, 242, 3, 242, 3, 242, 3, 242, 3, 242, 7, 242, 2146, 10, 242, 12, 242, 14, 242, 2149, 11, 242, 3, 242, 5, 242, 2152, 10, 242, 3, 243, 6, 243, 2155, 10, 243, 13, 243, 14, 243, 2156, 3, 243, 3, 243, 3, 244, 6, 244, 2162, 10, 244, 13, 244, 14, 244, 2163, 3, 244, 3, 244, 3, 245, 6, 245, 2169, 10, 245, 13, 245, 14, 245, 2170, 3, 245, 3, 245, 3, 246, 6, 246, 2176, 10, 246, 13, 246, 14, 246, 2177, 3, 247, 6, 247, 2181, 10, 247, 13, 247, 14, 247, 2182, 3, 247, 3, 247, 3, 247, 3, 247, 5, 247, 2189, 10, 247, 3, 247, 3, 247, 5, 247, 2193, 10, 247, 3, 248, 6, 248, 2196, 10, 248, 13, 248, 14, 248, 2197, 3, 248, 5, 248, 2201, 10, 248, 3, 248, 3, 248, 3, 248, 3, 248, 5, 248, 2207, 10, 248, 3, 248, 3, 248, 3, 248, 5, 248, 2212, 10, 248, 3, 249, 6, 249, 2215, 10, 249, 13, 249, 14, 249, 2216, 3, 249, 5, 249, 2220, 10, 249, 3, 249, 3, 249, 3, 249, 3, 249, 3, 249, 5, 249, 2227, 10, 249, 3, 249, 3, 249, 3, 249, 3, 249, 3, 249, 5, 249, 2234, 10, 249, 3, 250, 3, 250, 3, 250, 6, 250, 2239, 10, 250, 13, 250, 14, 250, 2240, 3, 251, 3, 251, 3, 251, 3, 251, 7, 251, 2247, 10, 251, 12, 251, 14, 251, 2250, 11, 251, 3, 251, 3, 251, 3, 252, 6, 252, 2255, 10, 252, 13, 252, 14, 252, 2256, 3, 252, 3, 252, 7, 252, 2261, 10, 252, 12, 252, 14, 252, 2264, 11, 252, 3, 252, 3, 252, 6, 252, 2268, 10, 252, 13, 252, 14, 252, 2269, 5, 252, 2272, 10, 252, 3, 253, 3, 253, 5, 253, 2276, 10, 253, 3, 253, 6, 253, 2279, 10, 253, 13, 253, 14, 253, 2280, 3, 254, 3, 254, 3, 255, 3, 255, 3, 256, 3, 256, 3, 256, 3, 256, 7, 256, 2291, 10, 256, 12, 256, 14, 256, 2294, 11, 256, 3, 256, 5, 256, 2297, 10, 256, 3, 256, 5, 256, 2300, 10, 256, 3, 256, 3, 256, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 7, 258, 2316, 10, 258, 12, 258, 14, 258, 2319, 11, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 259, 6, 259, 2327, 10, 259, 13, 259, 14, 259, 2328, 3, 259, 3, 259, 3, 260, 3, 260, 3, 2317, 2, 261, 3, 3, 5, 4, 7, 5, 9, 6, 11, 7, 13, 8, 15, 9, 17, 10, 19, 11, 21, 12, 23, 13, 25, 14, 27, 15, 29, 16, 31, 17, 33, 18, 35, 19, 37, 20, 39, 21, 41, 22, 43, 23, 45, 24, 47, 25, 49, 26, 51, 27, 53, 28, 55, 29, 57, 30, 59, 31, 61, 32, 63, 33, 65, 34, 67, 35, 69, 36, 71, 37, 73, 38, 75, 39, 77, 40, 79, 41, 81, 42, 83, 43, 85, 44, 87, 45, 89, 46, 91, 47, 93, 48, 95, 49, 97, 50, 99, 51, 101, 52, 103, 53, 105, 54, 107, 55, 109, 56, 111, 57, 113, 58, 115, 59, 117, 60, 119, 61, 121, 62, 123, 63, 125, 64, 127, 65, 129, 66, 131, 67, 133, 68, 135, 69, 137, 70, 139, 71, 141, 72, 143, 73, 145, 74, 147, 75, 149, 76, 151, 77, 153, 78, 155, 79, 157, 80, 159, 81, 161, 82, 163, 83, 165, 84, 167, 85, 169, 86, 171, 87, 173, 88, 175, 89, 177, 90, 179, 91, 181, 92, 183, 93, 185, 94, 187, 95, 189, 96, 191, 97, 193, 98, 195, 99, 197, 100, 199, 101, 201, 102, 203, 103, 205, 104, 207, 105, 209, 106, 211, 107, 213, 108, 215, 109, 217, 110, 219, 111, 221, 112, 223, 113, 225, 114, 227, 115, 229, 116, 231, 117, 233, 118, 235, 119, 237, 120, 239, 121, 241, 122, 243, 123, 245, 124, 247, 125, 249, 126, 251, 127, 253, 128, 255, 129, 257, 130, 259, 131, 261, 132, 263, 133, 265, 134, 267, 135, 269, 136, 271, 137, 273, 138, 275, 139, 277, 140, 279, 141, 281, 142, 283, 143, 285, 144, 287, 145, 289, 146, 291, 147, 293, 148, 295, 149, 297, 150, 299, 151, 301, 152, 303, 153, 305, 154, 307, 155, 309, 156, 311, 157, 313, 158, 315, 159, 317, 160, 319, 161, 321, 162, 323, 163, 325, 164, 327, 165, 329, 166, 331, 167, 333, 168, 335, 169, 337, 170, 339, 171, 341, 172, 343, 173, 345, 174, 347, 175, 349, 176, 351, 177, 353, 178, 355, 179, 357, 180, 359, 181, 361, 182, 363, 183, 365, 184, 367, 185, 369, 186, 371, 187, 373, 188, 375, 189, 377, 190, 379, 191, 381, 192, 383, 193, 385, 194, 387, 195, 389, 196, 391, 197, 393, 198, 395, 199, 397, 200, 399, 201, 401, 202, 403, 203, 405, 204, 407, 205, 409, 206, 411, 207, 413, 208, 415, 209, 417, 210, 419, 211, 421, 212, 423, 213, 425, 214, 427, 215, 429, 216, 431, 217, 433, 218, 435, 219, 437, 220, 439, 221, 441, 222, 443, 223, 445, 224, 447, 225, 449, 226, 451, 227, 453, 228, 455, 229, 457, 230, 459, 231, 461, 232, 463, 233, 465, 234, 467, 235, 469, 236, 471, 237, 473, 238, 475, 239, 477, 240, 479, 241, 481, 242, 483, 243, 485, 244, 487, 245, 489, 246, 491, 247, 493, 248, 495, 249, 497, 250, 499, 251, 501, 252, 503, 2, 505, 2, 507, 2, 509, 2, 511, 253, 513, 254, 515, 255, 517, 256, 519, 257, 3, 2, 11, 4, 2, 41, 41, 94, 94, 4, 2, 36, 36, 94, 94, 3, 2, 98, 98, 4, 2, 45, 45, 47, 47, 3, 2, 50, 59, 3, 2, 67, 92, 4, 2, 12, 12, 15, 15, 3, 2, 45, 45, 5, 2, 11, 12, 15, 15, 34, 34, 2, 2373, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2, 2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3, 2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 29, 3, 2, 2, 2, 2, 31, 3, 2, 2, 2, 2, 33, 3, 2, 2, 2, 2, 35, 3, 2, 2, 2, 2, 37, 3, 2, 2, 2, 2, 39, 3, 2, 2, 2, 2, 41, 3, 2, 2, 2, 2, 43, 3, 2, 2, 2, 2, 45, 3, 2, 2, 2, 2, 47, 3, 2, 2, 2, 2, 49, 3, 2, 2, 2, 2, 51, 3, 2, 2, 2, 2, 53, 3, 2, 2, 2, 2, 55, 3, 2, 2, 2, 2, 57, 3, 2, 2, 2, 2, 59, 3, 2, 2, 2, 2, 61, 3, 2, 2, 2, 2, 63, 3, 2, 2, 2, 2, 65, 3, 2, 2, 2, 2, 67, 3, 2, 2, 2, 2, 69, 3, 2, 2, 2, 2, 71, 3, 2, 2, 2, 2, 73, 3, 2, 2, 2, 2, 75, 3, 2, 2, 2, 2, 77, 3, 2, 2, 2, 2, 79, 3, 2, 2, 2, 2, 81, 3, 2, 2, 2, 2, 83, 3, 2, 2, 2, 2, 85, 3, 2, 2, 2, 2, 87, 3, 2, 2, 2, 2, 89, 3, 2, 2, 2, 2, 91, 3, 2, 2, 2, 2, 93, 3, 2, 2, 2, 2, 95, 3, 2, 2, 2, 2, 97, 3, 2, 2, 2, 2, 99, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2, 2, 105, 3, 2, 2, 2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3, 2, 2, 2, 2, 113, 3, 2, 2, 2, 2, 115, 3, 2, 2, 2, 2, 117, 3, 2, 2, 2, 2, 119, 3, 2, 2, 2, 2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 2, 127, 3, 2, 2, 2, 2, 129, 3, 2, 2, 2, 2, 131, 3, 2, 2, 2, 2, 133, 3, 2, 2, 2, 2, 135, 3, 2, 2, 2, 2, 137, 3, 2, 2, 2, 2, 139, 3, 2, 2, 2, 2, 141, 3, 2, 2, 2, 2, 143, 3, 2, 2, 2, 2, 145, 3, 2, 2, 2, 2, 147, 3, 2, 2, 2, 2, 149, 3, 2, 2, 2, 2, 151, 3, 2, 2, 2, 2, 153, 3, 2, 2, 2, 2, 155, 3, 2, 2, 2, 2, 157, 3, 2, 2, 2, 2, 159, 3, 2, 2, 2, 2, 161, 3, 2, 2, 2, 2, 163, 3, 2, 2, 2, 2, 165, 3, 2, 2, 2, 2, 167, 3, 2, 2, 2, 2, 169, 3, 2, 2, 2, 2, 171, 3, 2, 2, 2, 2, 173, 3, 2, 2, 2, 2, 175, 3, 2, 2, 2, 2, 177, 3, 2, 2, 2, 2, 179, 3, 2, 2, 2, 2, 181, 3, 2, 2, 2, 2, 183, 3, 2, 2, 2, 2, 185, 3, 2, 2, 2, 2, 187, 3, 2, 2, 2, 2, 189, 3, 2, 2, 2, 2, 191, 3, 2, 2, 2, 2, 193, 3, 2, 2, 2, 2, 195, 3, 2, 2, 2, 2, 197, 3, 2, 2, 2, 2, 199, 3, 2, 2, 2, 2, 201, 3, 2, 2, 2, 2, 203, 3, 2, 2, 2, 2, 205, 3, 2, 2, 2, 2, 207, 3, 2, 2, 2, 2, 209, 3, 2, 2, 2, 2, 211, 3, 2, 2, 2, 2, 213, 3, 2, 2, 2, 2, 215, 3, 2, 2, 2, 2, 217, 3, 2, 2, 2, 2, 219, 3, 2, 2, 2, 2, 221, 3, 2, 2, 2, 2, 223, 3, 2, 2, 2, 2, 225, 3, 2, 2, 2, 2, 227, 3, 2, 2, 2, 2, 229, 3, 2, 2, 2, 2, 231, 3, 2, 2, 2, 2, 233, 3, 2, 2, 2, 2, 235, 3, 2, 2, 2, 2, 237, 3, 2, 2, 2, 2, 239, 3, 2, 2, 2, 2, 241, 3, 2, 2, 2, 2, 243, 3, 2, 2, 2, 2, 245, 3, 2, 2, 2, 2, 247, 3, 2, 2, 2, 2, 249, 3, 2, 2, 2, 2, 251, 3, 2, 2, 2, 2, 253, 3, 2, 2, 2, 2, 255, 3, 2, 2, 2, 2, 257, 3, 2, 2, 2, 2, 259, 3, 2, 2, 2, 2, 261, 3, 2, 2, 2, 2, 263, 3, 2, 2, 2, 2, 265, 3, 2, 2, 2, 2, 267, 3, 2, 2, 2, 2, 269, 3, 2, 2, 2, 2, 271, 3, 2, 2, 2, 2, 273, 3, 2, 2, 2, 2, 275, 3, 2, 2, 2, 2, 277, 3, 2, 2, 2, 2, 279, 3, 2, 2, 2, 2, 281, 3, 2, 2, 2, 2, 283, 3, 2, 2, 2, 2, 285, 3, 2, 2, 2, 2, 287, 3, 2, 2, 2, 2, 289, 3, 2, 2, 2, 2, 291, 3, 2, 2, 2, 2, 293, 3, 2, 2, 2, 2, 295, 3, 2, 2, 2, 2, 297, 3, 2, 2, 2, 2, 299, 3, 2, 2, 2, 2, 301, 3, 2, 2, 2, 2, 303, 3, 2, 2, 2, 2, 305, 3, 2, 2, 2, 2, 307, 3, 2, 2, 2, 2, 309, 3, 2, 2, 2, 2, 311, 3, 2, 2, 2, 2, 313, 3, 2, 2, 2, 2, 315, 3, 2, 2, 2, 2, 317, 3, 2, 2, 2, 2, 319, 3, 2, 2, 2, 2, 321, 3, 2, 2, 2, 2, 323, 3, 2, 2, 2, 2, 325, 3, 2, 2, 2, 2, 327, 3, 2, 2, 2, 2, 329, 3, 2, 2, 2, 2, 331, 3, 2, 2, 2, 2, 333, 3, 2, 2, 2, 2, 335, 3, 2, 2, 2, 2, 337, 3, 2, 2, 2, 2, 339, 3, 2, 2, 2, 2, 341, 3, 2, 2, 2, 2, 343, 3, 2, 2, 2, 2, 345, 3, 2, 2, 2, 2, 347, 3, 2, 2, 2, 2, 349, 3, 2, 2, 2, 2, 351, 3, 2, 2, 2, 2, 353, 3, 2, 2, 2, 2, 355, 3, 2, 2, 2, 2, 357, 3, 2, 2, 2, 2, 359, 3, 2, 2, 2, 2, 361, 3, 2, 2, 2, 2, 363, 3, 2, 2, 2, 2, 365, 3, 2, 2, 2, 2, 367, 3, 2, 2, 2, 2, 369, 3, 2, 2, 2, 2, 371, 3, 2, 2, 2, 2, 373, 3, 2, 2, 2, 2, 375, 3, 2, 2, 2, 2, 377, 3, 2, 2, 2, 2, 379, 3, 2, 2, 2, 2, 381, 3, 2, 2, 2, 2, 383, 3, 2, 2, 2, 2, 385, 3, 2, 2, 2, 2, 387, 3, 2, 2, 2, 2, 389, 3, 2, 2, 2, 2, 391, 3, 2, 2, 2, 2, 393, 3, 2, 2, 2, 2, 395, 3, 2, 2, 2, 2, 397, 3, 2, 2, 2, 2, 399, 3, 2, 2, 2, 2, 401, 3, 2, 2, 2, 2, 403, 3, 2, 2, 2, 2, 405, 3, 2, 2, 2, 2, 407, 3, 2, 2, 2, 2, 409, 3, 2, 2, 2, 2, 411, 3, 2, 2, 2, 2, 413, 3, 2, 2, 2, 2, 415, 3, 2, 2, 2, 2, 417, 3, 2, 2, 2, 2, 419, 3, 2, 2, 2, 2, 421, 3, 2, 2, 2, 2, 423, 3, 2, 2, 2, 2, 425, 3, 2, 2, 2, 2, 427, 3, 2, 2, 2, 2, 429, 3, 2, 2, 2, 2, 431, 3, 2, 2, 2, 2, 433, 3, 2, 2, 2, 2, 435, 3, 2, 2, 2, 2, 437, 3, 2, 2, 2, 2, 439, 3, 2, 2, 2, 2, 441, 3, 2, 2, 2, 2, 443, 3, 2, 2, 2, 2, 445, 3, 2, 2, 2, 2, 447, 3, 2, 2, 2, 2, 449, 3, 2, 2, 2, 2, 451, 3, 2, 2, 2, 2, 453, 3, 2, 2, 2, 2, 455, 3, 2, 2, 2, 2, 457, 3, 2, 2, 2, 2, 459, 3, 2, 2, 2, 2, 461, 3, 2, 2, 2, 2, 463, 3, 2, 2, 2, 2, 465, 3, 2, 2, 2, 2, 467, 3, 2, 2, 2, 2, 469, 3, 2, 2, 2, 2, 471, 3, 2, 2, 2, 2, 473, 3, 2, 2, 2, 2, 475, 3, 2, 2, 2, 2, 477, 3, 2, 2, 2, 2, 479, 3, 2, 2, 2, 2, 481, 3, 2, 2, 2, 2, 483, 3, 2, 2, 2, 2, 485, 3, 2, 2, 2, 2, 487, 3, 2, 2, 2, 2, 489, 3, 2, 2, 2, 2, 491, 3, 2, 2, 2, 2, 493, 3, 2, 2, 2, 2, 495, 3, 2, 2, 2, 2, 497, 3, 2, 2, 2, 2, 499, 3, 2, 2, 2, 2, 501, 3, 2, 2, 2, 2, 511, 3, 2, 2, 2, 2, 513, 3, 2, 2, 2, 2, 515, 3, 2, 2, 2, 2, 517, 3, 2, 2, 2, 2, 519, 3, 2, 2, 2, 3, 521, 3, 2, 2, 2, 5, 523, 3, 2, 2, 2, 7, 525, 3, 2, 2, 2, 9, 527, 3, 2, 2, 2, 11, 529, 3, 2, 2, 2, 13, 533, 3, 2, 2, 2, 15, 536, 3, 2, 2, 2, 17, 539, 3, 2, 2, 2, 19, 541, 3, 2, 2, 2, 21, 543, 3, 2, 2, 2, 23, 545, 3, 2, 2, 2, 25, 552, 3, 2, 2, 2, 27, 557, 3, 2, 2, 2, 29, 561, 3, 2, 2, 2, 31, 564, 3, 2, 2, 2, 33, 568, 3, 2, 2, 2, 35, 572, 3, 2, 2, 2, 37, 581, 3, 2, 2, 2, 39, 587, 3, 2, 2, 2, 41, 593, 3, 2, 2, 2, 43, 596, 3, 2, 2, 2, 45, 605, 3, 2, 2, 2, 47, 610, 3, 2, 2, 2, 49, 615, 3, 2, 2, 2, 51, 622, 3, 2, 2, 2, 53, 628, 3, 2, 2, 2, 55, 635, 3, 2, 2, 2, 57, 641, 3, 2, 2, 2, 59, 644, 3, 2, 2, 2, 61, 647, 3, 2, 2, 2, 63, 651, 3, 2, 2, 2, 65, 658, 3, 2, 2, 2, 67, 660, 3, 2, 2, 2, 69, 663, 3, 2, 2, 2, 71, 670, 3, 2, 2, 2, 73, 678, 3, 2, 2, 2, 75, 694, 3, 2, 2, 2, 77, 696, 3, 2, 2, 2, 79, 699, 3, 2, 2, 2, 81, 704, 3, 2, 2, 2, 83, 709, 3, 2, 2, 2, 85, 715, 3, 2, 2, 2, 87, 721, 3, 2, 2, 2, 89, 725, 3, 2, 2, 2, 91, 730, 3, 2, 2, 2, 93, 734, 3, 2, 2, 2, 95, 743, 3, 2, 2, 2, 97, 748, 3, 2, 2, 2, 99, 753, 3, 2, 2, 2, 101, 758, 3, 2, 2, 2, 103, 763, 3, 2, 2, 2, 105, 767, 3, 2, 2, 2, 107, 772, 3, 2, 2, 2, 109, 778, 3, 2, 2, 2, 111, 784, 3, 2, 2, 2, 113, 790, 3, 2, 2, 2, 115, 795, 3, 2, 2, 2, 117, 800, 3, 2, 2, 2, 119, 806, 3, 2, 2, 2, 121, 811, 3, 2, 2, 2, 123, 819, 3, 2, 2, 2, 125, 822, 3, 2, 2, 2, 127, 828, 3, 2, 2, 2, 129, 836, 3, 2, 2, 2, 131, 843, 3, 2, 2, 2, 133, 848, 3, 2, 2, 2, 135, 858, 3, 2, 2, 2, 137, 864, 3, 2, 2, 2, 139, 869, 3, 2, 2, 2, 141, 879, 3, 2, 2, 2, 143, 889, 3, 2, 2, 2, 145, 899, 3, 2, 2, 2, 147, 907, 3, 2, 2, 2, 149, 913, 3, 2, 2, 2, 151, 919, 3, 2, 2, 2, 153, 924, 3, 2, 2, 2, 155, 928, 3, 2, 2, 2, 157, 933, 3, 2, 2, 2, 159, 940, 3, 2, 2, 2, 161, 947, 3, 2, 2, 2, 163, 953, 3, 2, 2, 2, 165, 963, 3, 2, 2, 2, 167, 968, 3, 2, 2, 2, 169, 976, 3, 2, 2, 2, 171, 983, 3, 2, 2, 2, 173, 990, 3, 2, 2, 2, 175, 995, 3, 2, 2, 2, 177, 1004, 3, 2, 2, 2, 179, 1012, 3, 2, 2, 2, 181, 1019, 3, 2, 2, 2, 183, 1027, 3, 2, 2, 2, 185, 1035, 3, 2, 2, 2, 187, 1040, 3, 2, 2, 2, 189, 1045, 3, 2, 2, 2, 191, 1050, 3, 2, 2, 2, 193, 1057, 3, 2, 2, 2, 195, 1065, 3, 2, 2, 2, 197, 1072, 3, 2, 2, 2, 199, 1076, 3, 2, 2, 2, 201, 1087, 3, 2, 2, 2, 203, 1097, 3, 2, 2, 2, 205, 1102, 3, 2, 2, 2, 207, 1108, 3, 2, 2, 2, 209, 1115, 3, 2, 2, 2, 211, 1121, 3, 2, 2, 2, 213, 1131, 3, 2, 2, 2, 215, 1134, 3, 2, 2, 2, 217, 1146, 3, 2, 2, 2, 219, 1155, 3, 2, 2, 2, 221, 1161, 3, 2, 2, 2, 223, 1168, 3, 2, 2, 2, 225, 1174, 3, 2, 2, 2, 227, 1178, 3, 2, 2, 2, 229, 1185, 3, 2, 2, 2, 231, 1193, 3, 2, 2, 2, 233, 1197, 3, 2, 2, 2, 235, 1203, 3, 2, 2, 2, 237, 1208, 3, 2, 2, 2, 239, 1214, 3, 2, 2, 2, 241, 1226, 3, 2, 2, 2, 243, 1233, 3, 2, 2, 2, 245, 1242, 3, 2, 2, 2, 247, 1248, 3, 2, 2, 2, 249, 1255, 3, 2, 2, 2, 251, 1260, 3, 2, 2, 2, 253, 1268, 3, 2, 2, 2, 255, 1277, 3, 2, 2, 2, 257, 1280, 3, 2, 2, 2, 259, 1289, 3, 2, 2, 2, 261, 1300, 3, 2, 2, 2, 263, 1302, 3, 2, 2, 2, 265, 1306, 3, 2, 2, 2, 267, 1309, 3, 2, 2, 2, 269, 1312, 3, 2, 2, 2, 271, 1318, 3, 2, 2, 2, 273, 1320, 3, 2, 2, 2, 275, 1326, 3, 2, 2, 2, 277, 1328, 3, 2, 2, 2, 279, 1330, 3, 2, 2, 2, 281, 1332, 3, 2, 2, 2, 283, 1334, 3, 2, 2, 2, 285, 1336, 3, 2, 2, 2, 287, 1338, 3, 2, 2, 2, 289, 1342, 3, 2, 2, 2, 291, 1344, 3, 2, 2, 2, 293, 1346, 3, 2, 2, 2, 295, 1348, 3, 2, 2, 2, 297, 1351, 3, 2, 2, 2, 299, 1353, 3, 2, 2, 2, 301, 1361, 3, 2, 2, 2, 303, 1368, 3, 2, 2, 2, 305, 1372, 3, 2, 2, 2, 307, 1375, 3, 2, 2, 2, 309, 1380, 3, 2, 2, 2, 311, 1388, 3, 2, 2, 2, 313, 1399, 3, 2, 2, 2, 315, 1409, 3, 2, 2, 2, 317, 1419, 3, 2, 2, 2, 319, 1426, 3, 2, 2, 2, 321, 1432, 3, 2, 2, 2, 323, 1438, 3, 2, 2, 2, 325, 1454, 3, 2, 2, 2, 327, 1467, 3, 2, 2, 2, 329, 1480, 3, 2, 2, 2, 331, 1490, 3, 2, 2, 2, 333, 1497, 3, 2, 2, 2, 335, 1508, 3, 2, 2, 2, 337, 1519, 3, 2, 2, 2, 339, 1525, 3, 2, 2, 2, 341, 1530, 3, 2, 2, 2, 343, 1538, 3, 2, 2, 2, 345, 1544, 3, 2, 2, 2, 347, 1554, 3, 2, 2, 2, 349, 1563, 3, 2, 2, 2, 351, 1572, 3, 2, 2, 2, 353, 1580, 3, 2, 2, 2, 355, 1586, 3, 2, 2, 2, 357, 1592, 3, 2, 2, 2, 359, 1600, 3, 2, 2, 2, 361, 1605, 3, 2, 2, 2, 363, 1615, 3, 2, 2, 2, 365, 1635, 3, 2, 2, 2, 367, 1637, 3, 2, 2, 2, 369, 1645, 3, 2, 2, 2, 371, 1651, 3, 2, 2, 2, 373, 1665, 3, 2, 2, 2, 375, 1678, 3, 2, 2, 2, 377, 1686, 3, 2, 2, 2, 379, 1693, 3, 2, 2, 2, 381, 1700, 3, 2, 2, 2, 383, 1712, 3, 2, 2, 2, 385, 1721, 3, 2, 2, 2, 387, 1730, 3, 2, 2, 2, 389, 1738, 3, 2, 2, 2, 391, 1748, 3, 2, 2, 2, 393, 1759, 3, 2, 2, 2, 395, 1765, 3, 2, 2, 2, 397, 1773, 3, 2, 2, 2, 399, 1785, 3, 2, 2, 2, 401, 1792, 3, 2, 2, 2, 403, 1800, 3, 2, 2, 2, 405, 1809, 3, 2, 2, 2, 407, 1819, 3, 2, 2, 2, 409, 1826, 3, 2, 2, 2, 411, 1832, 3, 2, 2, 2, 413, 1844, 3, 2, 2, 2, 415, 1871, 3, 2, 2, 2, 417, 1889, 3, 2, 2, 2, 419, 1891, 3, 2, 2, 2, 421, 1895, 3, 2, 2, 2, 423, 1904, 3, 2, 2, 2, 425, 1912, 3, 2, 2, 2, 427, 1920, 3, 2, 2, 2, 429, 1925, 3, 2, 2, 2, 431, 1936, 3, 2, 2, 2, 433, 1948, 3, 2, 2, 2, 435, 1957, 3, 2, 2, 2, 437, 1965, 3, 2, 2, 2, 439, 1972, 3, 2, 2, 2, 441, 1978, 3, 2, 2, 2, 443, 1983, 3, 2, 2, 2, 445, 1990, 3, 2, 2, 2, 447, 1995, 3, 2, 2, 2, 449, 2002, 3, 2, 2, 2, 451, 2010, 3, 2, 2, 2, 453, 2017, 3, 2, 2, 2, 455, 2024, 3, 2, 2, 2, 457, 2029, 3, 2, 2, 2, 459, 2034, 3, 2, 2, 2, 461, 2040, 3, 2, 2, 2, 463, 2052, 3, 2, 2, 2, 465, 2063, 3, 2, 2, 2, 467, 2076, 3, 2, 2, 2, 469, 2082, 3, 2, 2, 2, 471, 2090, 3, 2, 2, 2, 473, 2096, 3, 2, 2, 2, 475, 2103, 3, 2, 2, 2, 477, 2108, 3, 2, 2, 2, 479, 2114, 3, 2, 2, 2, 481, 2121, 3, 2, 2, 2, 483, 2151, 3, 2, 2, 2, 485, 2154, 3, 2, 2, 2, 487, 2161, 3, 2, 2, 2, 489, 2168, 3, 2, 2, 2, 491, 2175, 3, 2, 2, 2, 493, 2192, 3, 2, 2, 2, 495, 2211, 3, 2, 2, 2, 497, 2233, 3, 2, 2, 2, 499, 2238, 3, 2, 2, 2, 501, 2242, 3, 2, 2, 2, 503, 2271, 3, 2, 2, 2, 505, 2273, 3, 2, 2, 2, 507, 2282, 3, 2, 2, 2, 509, 2284, 3, 2, 2, 2, 511, 2286, 3, 2, 2, 2, 513, 2303, 3, 2, 2, 2, 515, 2310, 3, 2, 2, 2, 517, 2326, 3, 2, 2, 2, 519, 2332, 3, 2, 2, 2, 521, 522, 7, 42, 2, 2, 522, 4, 3, 2, 2, 2, 523, 524, 7, 43, 2, 2, 524, 6, 3, 2, 2, 2, 525, 526, 7, 48, 2, 2, 526, 8, 3, 2, 2, 2, 527, 528, 7, 46, 2, 2, 528, 10, 3, 2, 2, 2, 529, 530, 7, 49, 2, 2, 530, 531, 7, 44, 2, 2, 531, 532, 7, 45, 2, 2, 532, 12, 3, 2, 2, 2, 533, 534, 7, 44, 2, 2, 534, 535, 7, 49, 2, 2, 535, 14, 3, 2, 2, 2, 536, 537, 7, 47, 2, 2, 537, 538, 7, 64, 2, 2, 538, 16, 3, 2, 2, 2, 539, 540, 7, 93, 2, 2, 540, 18, 3, 2, 2, 2, 541, 542, 7, 95, 2, 2, 542, 20, 3, 2, 2, 2, 543, 544, 7, 60, 2, 2, 544, 22, 3, 2, 2, 2, 545, 546, 7, 85, 2, 2, 546, 547, 7, 71, 2, 2, 547, 548, 7, 78, 2, 2, 548, 549, 7, 71, 2, 2, 549, 550, 7, 69, 2, 2, 550, 551, 7, 86, 2, 2, 551, 24, 3, 2, 2, 2, 552, 553, 7, 72, 2, 2, 553, 554, 7, 84, 2, 2, 554, 555, 7, 81, 2, 2, 555, 556, 7, 79, 2, 2, 556, 26, 3, 2, 2, 2, 557, 558, 7, 67, 2, 2, 558, 559, 7, 70, 2, 2, 559, 560, 7, 70, 2, 2, 560, 28, 3, 2, 2, 2, 561, 562, 7, 67, 2, 2, 562, 563, 7, 85, 2, 2, 563, 30, 3, 2, 2, 2, 564, 565, 7, 67, 2, 2, 565, 566, 7, 78, 2, 2, 566, 567, 7, 78, 2, 2, 567, 32, 3, 2, 2, 2, 568, 569, 7, 67, 2, 2, 569, 570, 7, 80, 2, 2, 570, 571, 7, 91, 2, 2, 571, 34, 3, 2, 2, 2, 572, 573, 7, 70, 2, 2, 573, 574, 7, 75, 2, 2, 574, 575, 7, 85, 2, 2, 575, 576, 7, 86, 2, 2, 576, 577, 7, 75, 2, 2, 577, 578, 7, 80, 2, 2, 578, 579, 7, 69, 2, 2, 579, 580, 7, 86, 2, 2, 580, 36, 3, 2, 2, 2, 581, 582, 7, 89, 2, 2, 582, 583, 7, 74, 2, 2, 583, 584, 7, 71, 2, 2, 584, 585, 7, 84, 2, 2, 585, 586, 7, 71, 2, 2, 586, 38, 3, 2, 2, 2, 587, 588, 7, 73, 2, 2, 588, 589, 7, 84, 2, 2, 589, 590, 7, 81, 2, 2, 590, 591, 7, 87, 2, 2, 591, 592, 7, 82, 2, 2, 592, 40, 3, 2, 2, 2, 593, 594, 7, 68, 2, 2, 594, 595, 7, 91, 2, 2, 595, 42, 3, 2, 2, 2, 596, 597, 7, 73, 2, 2, 597, 598, 7, 84, 2, 2, 598, 599, 7, 81, 2, 2, 599, 600, 7, 87, 2, 2, 600, 601, 7, 82, 2, 2, 601, 602, 7, 75, 2, 2, 602, 603, 7, 80, 2, 2, 603, 604, 7, 73, 2, 2, 604, 44, 3, 2, 2, 2, 605, 606, 7, 85, 2, 2, 606, 607, 7, 71, 2, 2, 607, 608, 7, 86, 2, 2, 608, 609, 7, 85, 2, 2, 609, 46, 3, 2, 2, 2, 610, 611, 7, 69, 2, 2, 611, 612, 7, 87, 2, 2, 612, 613, 7, 68, 2, 2, 613, 614, 7, 71, 2, 2, 614, 48, 3, 2, 2, 2, 615, 616, 7, 84, 2, 2, 616, 617, 7, 81, 2, 2, 617, 618, 7, 78, 2, 2, 618, 619, 7, 78, 2, 2, 619, 620, 7, 87, 2, 2, 620, 621, 7, 82, 2, 2, 621, 50, 3, 2, 2, 2, 622, 623, 7, 81, 2, 2, 623, 624, 7, 84, 2, 2, 624, 625, 7, 70, 2, 2, 625, 626, 7, 71, 2, 2, 626, 627, 7, 84, 2, 2, 627, 52, 3, 2, 2, 2, 628, 629, 7, 74, 2, 2, 629, 630, 7, 67, 2, 2, 630, 631, 7, 88, 2, 2, 631, 632, 7, 75, 2, 2, 632, 633, 7, 80, 2, 2, 633, 634, 7, 73, 2, 2, 634, 54, 3, 2, 2, 2, 635, 636, 7, 78, 2, 2, 636, 637, 7, 75, 2, 2, 637, 638, 7, 79, 2, 2, 638, 639, 7, 75, 2, 2, 639, 640, 7, 86, 2, 2, 640, 56, 3, 2, 2, 2, 641, 642, 7, 67, 2, 2, 642, 643, 7, 86, 2, 2, 643, 58, 3, 2, 2, 2, 644, 645, 7, 81, 2, 2, 645, 646, 7, 84, 2, 2, 646, 60, 3, 2, 2, 2, 647, 648, 7, 67, 2, 2, 648, 649, 7, 80, 2, 2, 649, 650, 7, 70, 2, 2, 650, 62, 3, 2, 2, 2, 651, 652, 7, 75, 2, 2, 652, 653, 7, 80, 2, 2, 653, 64, 3, 2, 2, 2, 654, 655, 7, 80, 2, 2, 655, 656, 7, 81, 2, 2, 656, 659, 7, 86, 2, 2, 657, 659, 7, 35, 2, 2, 658, 654, 3, 2, 2, 2, 658, 657, 3, 2, 2, 2, 659, 66, 3, 2, 2, 2, 660, 661, 7, 80, 2, 2, 661, 662, 7, 81, 2, 2, 662, 68, 3, 2, 2, 2, 663, 664, 7, 71, 2, 2, 664, 665, 7, 90, 2, 2, 665, 666, 7, 75, 2, 2, 666, 667, 7, 85, 2, 2, 667, 668, 7, 86, 2, 2, 668, 669, 7, 85, 2, 2, 669, 70, 3, 2, 2, 2, 670, 671, 7, 68, 2, 2, 671, 672, 7, 71, 2, 2, 672, 673, 7, 86, 2, 2, 673, 674, 7, 89, 2, 2, 674, 675, 7, 71, 2, 2, 675, 676, 7, 71, 2, 2, 676, 677, 7, 80, 2, 2, 677, 72, 3, 2, 2, 2, 678, 679, 7, 78, 2, 2, 679, 680, 7, 75, 2, 2, 680, 681, 7, 77, 2, 2, 681, 682, 7, 71, 2, 2, 682, 74, 3, 2, 2, 2, 683, 684, 7, 84, 2, 2, 684, 685, 7, 78, 2, 2, 685, 686, 7, 75, 2, 2, 686, 687, 7, 77, 2, 2, 687, 695, 7, 71, 2, 2, 688, 689, 7, 84, 2, 2, 689, 690, 7, 71, 2, 2, 690, 691, 7, 73, 2, 2, 691, 692, 7, 71, 2, 2, 692, 693, 7, 90, 2, 2, 693, 695, 7, 82, 2, 2, 694, 683, 3, 2, 2, 2, 694, 688, 3, 2, 2, 2, 695, 76, 3, 2, 2, 2, 696, 697, 7, 75, 2, 2, 697, 698, 7, 85, 2, 2, 698, 78, 3, 2, 2, 2, 699, 700, 7, 80, 2, 2, 700, 701, 7, 87, 2, 2, 701, 702, 7, 78, 2, 2, 702, 703, 7, 78, 2, 2, 703, 80, 3, 2, 2, 2, 704, 705, 7, 86, 2, 2, 705, 706, 7, 84, 2, 2, 706, 707, 7, 87, 2, 2, 707, 708, 7, 71, 2, 2, 708, 82, 3, 2, 2, 2, 709, 710, 7, 72, 2, 2, 710, 711, 7, 67, 2, 2, 711, 712, 7, 78, 2, 2, 712, 713, 7, 85, 2, 2, 713, 714, 7, 71, 2, 2, 714, 84, 3, 2, 2, 2, 715, 716, 7, 80, 2, 2, 716, 717, 7, 87, 2, 2, 717, 718, 7, 78, 2, 2, 718, 719, 7, 78, 2, 2, 719, 720, 7, 85, 2, 2, 720, 86, 3, 2, 2, 2, 721, 722, 7, 67, 2, 2, 722, 723, 7, 85, 2, 2, 723, 724, 7, 69, 2, 2, 724, 88, 3, 2, 2, 2, 725, 726, 7, 70, 2, 2, 726, 727, 7, 71, 2, 2, 727, 728, 7, 85, 2, 2, 728, 729, 7, 69, 2, 2, 729, 90, 3, 2, 2, 2, 730, 731, 7, 72, 2, 2, 731, 732, 7, 81, 2, 2, 732, 733, 7, 84, 2, 2, 733, 92, 3, 2, 2, 2, 734, 735, 7, 75, 2, 2, 735, 736, 7, 80, 2, 2, 736, 737, 7, 86, 2, 2, 737, 738, 7, 71, 2, 2, 738, 739, 7, 84, 2, 2, 739, 740, 7, 88, 2, 2, 740, 741, 7, 67, 2, 2, 741, 742, 7, 78, 2, 2, 742, 94, 3, 2, 2, 2, 743, 744, 7, 69, 2, 2, 744, 745, 7, 67, 2, 2, 745, 746, 7, 85, 2, 2, 746, 747, 7, 71, 2, 2, 747, 96, 3, 2, 2, 2, 748, 749, 7, 89, 2, 2, 749, 750, 7, 74, 2, 2, 750, 751, 7, 71, 2, 2, 751, 752, 7, 80, 2, 2, 752, 98, 3, 2, 2, 2, 753, 754, 7, 86, 2, 2, 754, 755, 7, 74, 2, 2, 755, 756, 7, 71, 2, 2, 756, 757, 7, 80, 2, 2, 757, 100, 3, 2, 2, 2, 758, 759, 7, 71, 2, 2, 759, 760, 7, 78, 2, 2, 760, 761, 7, 85, 2, 2, 761, 762, 7, 71, 2, 2, 762, 102, 3, 2, 2, 2, 763, 764, 7, 71, 2, 2, 764, 765, 7, 80, 2, 2, 765, 766, 7, 70, 2, 2, 766, 104, 3, 2, 2, 2, 767, 768, 7, 76, 2, 2, 768, 769, 7, 81, 2, 2, 769, 770, 7, 75, 2, 2, 770, 771, 7, 80, 2, 2, 771, 106, 3, 2, 2, 2, 772, 773, 7, 69, 2, 2, 773, 774, 7, 84, 2, 2, 774, 775, 7, 81, 2, 2, 775, 776, 7, 85, 2, 2, 776, 777, 7, 85, 2, 2, 777, 108, 3, 2, 2, 2, 778, 779, 7, 81, 2, 2, 779, 780, 7, 87, 2, 2, 780, 781, 7, 86, 2, 2, 781, 782, 7, 71, 2, 2, 782, 783, 7, 84, 2, 2, 783, 110, 3, 2, 2, 2, 784, 785, 7, 75, 2, 2, 785, 786, 7, 80, 2, 2, 786, 787, 7, 80, 2, 2, 787, 788, 7, 71, 2, 2, 788, 789, 7, 84, 2, 2, 789, 112, 3, 2, 2, 2, 790, 791, 7, 78, 2, 2, 791, 792, 7, 71, 2, 2, 792, 793, 7, 72, 2, 2, 793, 794, 7, 86, 2, 2, 794, 114, 3, 2, 2, 2, 795, 796, 7, 85, 2, 2, 796, 797, 7, 71, 2, 2, 797, 798, 7, 79, 2, 2, 798, 799, 7, 75, 2, 2, 799, 116, 3, 2, 2, 2, 800, 801, 7, 84, 2, 2, 801, 802, 7, 75, 2, 2, 802, 803, 7, 73, 2, 2, 803, 804, 7, 74, 2, 2, 804, 805, 7, 86, 2, 2, 805, 118, 3, 2, 2, 2, 806, 807, 7, 72, 2, 2, 807, 808, 7, 87, 2, 2, 808, 809, 7, 78, 2, 2, 809, 810, 7, 78, 2, 2, 810, 120, 3, 2, 2, 2, 811, 812, 7, 80, 2, 2, 812, 813, 7, 67, 2, 2, 813, 814, 7, 86, 2, 2, 814, 815, 7, 87, 2, 2, 815, 816, 7, 84, 2, 2, 816, 817, 7, 67, 2, 2, 817, 818, 7, 78, 2, 2, 818, 122, 3, 2, 2, 2, 819, 820, 7, 81, 2, 2, 820, 821, 7, 80, 2, 2, 821, 124, 3, 2, 2, 2, 822, 823, 7, 82, 2, 2, 823, 824, 7, 75, 2, 2, 824, 825, 7, 88, 2, 2, 825, 826, 7, 81, 2, 2, 826, 827, 7, 86, 2, 2, 827, 126, 3, 2, 2, 2, 828, 829, 7, 78, 2, 2, 829, 830, 7, 67, 2, 2, 830, 831, 7, 86, 2, 2, 831, 832, 7, 71, 2, 2, 832, 833, 7, 84, 2, 2, 833, 834, 7, 67, 2, 2, 834, 835, 7, 78, 2, 2, 835, 128, 3, 2, 2, 2, 836, 837, 7, 89, 2, 2, 837, 838, 7, 75, 2, 2, 838, 839, 7, 80, 2, 2, 839, 840, 7, 70, 2, 2, 840, 841, 7, 81, 2, 2, 841, 842, 7, 89, 2, 2, 842, 130, 3, 2, 2, 2, 843, 844, 7, 81, 2, 2, 844, 845, 7, 88, 2, 2, 845, 846, 7, 71, 2, 2, 846, 847, 7, 84, 2, 2, 847, 132, 3, 2, 2, 2, 848, 849, 7, 82, 2, 2, 849, 850, 7, 67, 2, 2, 850, 851, 7, 84, 2, 2, 851, 852, 7, 86, 2, 2, 852, 853, 7, 75, 2, 2, 853, 854, 7, 86, 2, 2, 854, 855, 7, 75, 2, 2, 855, 856, 7, 81, 2, 2, 856, 857, 7, 80, 2, 2, 857, 134, 3, 2, 2, 2, 858, 859, 7, 84, 2, 2, 859, 860, 7, 67, 2, 2, 860, 861, 7, 80, 2, 2, 861, 862, 7, 73, 2, 2, 862, 863, 7, 71, 2, 2, 863, 136, 3, 2, 2, 2, 864, 865, 7, 84, 2, 2, 865, 866, 7, 81, 2, 2, 866, 867, 7, 89, 2, 2, 867, 868, 7, 85, 2, 2, 868, 138, 3, 2, 2, 2, 869, 870, 7, 87, 2, 2, 870, 871, 7, 80, 2, 2, 871, 872, 7, 68, 2, 2, 872, 873, 7, 81, 2, 2, 873, 874, 7, 87, 2, 2, 874, 875, 7, 80, 2, 2, 875, 876, 7, 70, 2, 2, 876, 877, 7, 71, 2, 2, 877, 878, 7, 70, 2, 2, 878, 140, 3, 2, 2, 2, 879, 880, 7, 82, 2, 2, 880, 881, 7, 84, 2, 2, 881, 882, 7, 71, 2, 2, 882, 883, 7, 69, 2, 2, 883, 884, 7, 71, 2, 2, 884, 885, 7, 70, 2, 2, 885, 886, 7, 75, 2, 2, 886, 887, 7, 80, 2, 2, 887, 888, 7, 73, 2, 2, 888, 142, 3, 2, 2, 2, 889, 890, 7, 72, 2, 2, 890, 891, 7, 81, 2, 2, 891, 892, 7, 78, 2, 2, 892, 893, 7, 78, 2, 2, 893, 894, 7, 81, 2, 2, 894, 895, 7, 89, 2, 2, 895, 896, 7, 75, 2, 2, 896, 897, 7, 80, 2, 2, 897, 898, 7, 73, 2, 2, 898, 144, 3, 2, 2, 2, 899, 900, 7, 69, 2, 2, 900, 901, 7, 87, 2, 2, 901, 902, 7, 84, 2, 2, 902, 903, 7, 84, 2, 2, 903, 904, 7, 71, 2, 2, 904, 905, 7, 80, 2, 2, 905, 906, 7, 86, 2, 2, 906, 146, 3, 2, 2, 2, 907, 908, 7, 72, 2, 2, 908, 909, 7, 75, 2, 2, 909, 910, 7, 84, 2, 2, 910, 911, 7, 85, 2, 2, 911, 912, 7, 86, 2, 2, 912, 148, 3, 2, 2, 2, 913, 914, 7, 67, 2, 2, 914, 915, 7, 72, 2, 2, 915, 916, 7, 86, 2, 2, 916, 917, 7, 71, 2, 2, 917, 918, 7, 84, 2, 2, 918, 150, 3, 2, 2, 2, 919, 920, 7, 78, 2, 2, 920, 921, 7, 67, 2, 2, 921, 922, 7, 85, 2, 2, 922, 923, 7, 86, 2, 2, 923, 152, 3, 2, 2, 2, 924, 925, 7, 84, 2, 2, 925, 926, 7, 81, 2, 2, 926, 927, 7, 89, 2, 2, 927, 154, 3, 2, 2, 2, 928, 929, 7, 89, 2, 2, 929, 930, 7, 75, 2, 2, 930, 931, 7, 86, 2, 2, 931, 932, 7, 74, 2, 2, 932, 156, 3, 2, 2, 2, 933, 934, 7, 88, 2, 2, 934, 935, 7, 67, 2, 2, 935, 936, 7, 78, 2, 2, 936, 937, 7, 87, 2, 2, 937, 938, 7, 71, 2, 2, 938, 939, 7, 85, 2, 2, 939, 158, 3, 2, 2, 2, 940, 941, 7, 69, 2, 2, 941, 942, 7, 84, 2, 2, 942, 943, 7, 71, 2, 2, 943, 944, 7, 67, 2, 2, 944, 945, 7, 86, 2, 2, 945, 946, 7, 71, 2, 2, 946, 160, 3, 2, 2, 2, 947, 948, 7, 86, 2, 2, 948, 949, 7, 67, 2, 2, 949, 950, 7, 68, 2, 2, 950, 951, 7, 78, 2, 2, 951, 952, 7, 71, 2, 2, 952, 162, 3, 2, 2, 2, 953, 954, 7, 70, 2, 2, 954, 955, 7, 75, 2, 2, 955, 956, 7, 84, 2, 2, 956, 957, 7, 71, 2, 2, 957, 958, 7, 69, 2, 2, 958, 959, 7, 86, 2, 2, 959, 960, 7, 81, 2, 2, 960, 961, 7, 84, 2, 2, 961, 962, 7, 91, 2, 2, 962, 164, 3, 2, 2, 2, 963, 964, 7, 88, 2, 2, 964, 965, 7, 75, 2, 2, 965, 966, 7, 71, 2, 2, 966, 967, 7, 89, 2, 2, 967, 166, 3, 2, 2, 2, 968, 969, 7, 84, 2, 2, 969, 970, 7, 71, 2, 2, 970, 971, 7, 82, 2, 2, 971, 972, 7, 78, 2, 2, 972, 973, 7, 67, 2, 2, 973, 974, 7, 69, 2, 2, 974, 975, 7, 71, 2, 2, 975, 168, 3, 2, 2, 2, 976, 977, 7, 75, 2, 2, 977, 978, 7, 80, 2, 2, 978, 979, 7, 85, 2, 2, 979, 980, 7, 71, 2, 2, 980, 981, 7, 84, 2, 2, 981, 982, 7, 86, 2, 2, 982, 170, 3, 2, 2, 2, 983, 984, 7, 70, 2, 2, 984, 985, 7, 71, 2, 2, 985, 986, 7, 78, 2, 2, 986, 987, 7, 71, 2, 2, 987, 988, 7, 86, 2, 2, 988, 989, 7, 71, 2, 2, 989, 172, 3, 2, 2, 2, 990, 991, 7, 75, 2, 2, 991, 992, 7, 80, 2, 2, 992, 993, 7, 86, 2, 2, 993, 994, 7, 81, 2, 2, 994, 174, 3, 2, 2, 2, 995, 996, 7, 70, 2, 2, 996, 997, 7, 71, 2, 2, 997, 998, 7, 85, 2, 2, 998, 999, 7, 69, 2, 2, 999, 1000, 7, 84, 2, 2, 1000, 1001, 7, 75, 2, 2, 1001, 1002, 7, 68, 2, 2, 1002, 1003, 7, 71, 2, 2, 1003, 176, 3, 2, 2, 2, 1004, 1005, 7, 71, 2, 2, 1005, 1006, 7, 90, 2, 2, 1006, 1007, 7, 82, 2, 2, 1007, 1008, 7, 78, 2, 2, 1008, 1009, 7, 67, 2, 2, 1009, 1010, 7, 75, 2, 2, 1010, 1011, 7, 80, 2, 2, 1011, 178, 3, 2, 2, 2, 1012, 1013, 7, 72, 2, 2, 1013, 1014, 7, 81, 2, 2, 1014, 1015, 7, 84, 2, 2, 1015, 1016, 7, 79, 2, 2, 1016, 1017, 7, 67, 2, 2, 1017, 1018, 7, 86, 2, 2, 1018, 180, 3, 2, 2, 2, 1019, 1020, 7, 78, 2, 2, 1020, 1021, 7, 81, 2, 2, 1021, 1022, 7, 73, 2, 2, 1022, 1023, 7, 75, 2, 2, 1023, 1024, 7, 69, 2, 2, 1024, 1025, 7, 67, 2, 2, 1025, 1026, 7, 78, 2, 2, 1026, 182, 3, 2, 2, 2, 1027, 1028, 7, 69, 2, 2, 1028, 1029, 7, 81, 2, 2, 1029, 1030, 7, 70, 2, 2, 1030, 1031, 7, 71, 2, 2, 1031, 1032, 7, 73, 2, 2, 1032, 1033, 7, 71, 2, 2, 1033, 1034, 7, 80, 2, 2, 1034, 184, 3, 2, 2, 2, 1035, 1036, 7, 69, 2, 2, 1036, 1037, 7, 81, 2, 2, 1037, 1038, 7, 85, 2, 2, 1038, 1039, 7, 86, 2, 2, 1039, 186, 3, 2, 2, 2, 1040, 1041, 7, 69, 2, 2, 1041, 1042, 7, 67, 2, 2, 1042, 1043, 7, 85, 2, 2, 1043, 1044, 7, 86, 2, 2, 1044, 188, 3, 2, 2, 2, 1045, 1046, 7, 85, 2, 2, 1046, 1047, 7, 74, 2, 2, 1047, 1048, 7, 81, 2, 2, 1048, 1049, 7, 89, 2, 2, 1049, 190, 3, 2, 2, 2, 1050, 1051, 7, 86, 2, 2, 1051, 1052, 7, 67, 2, 2, 1052, 1053, 7, 68, 2, 2, 1053, 1054, 7, 78, 2, 2, 1054, 1055, 7, 71, 2, 2, 1055, 1056, 7, 85, 2, 2, 1056, 192, 3, 2, 2, 2, 1057, 1058, 7, 69, 2, 2, 1058, 1059, 7, 81, 2, 2, 1059, 1060, 7, 78, 2, 2, 1060, 1061, 7, 87, 2, 2, 1061, 1062, 7, 79, 2, 2, 1062, 1063, 7, 80, 2, 2, 1063, 1064, 7, 85, 2, 2, 1064, 194, 3, 2, 2, 2, 1065, 1066, 7, 69, 2, 2, 1066, 1067, 7, 81, 2, 2, 1067, 1068, 7, 78, 2, 2, 1068, 1069, 7, 87, 2, 2, 1069, 1070, 7, 79, 2, 2, 1070, 1071, 7, 80, 2, 2, 1071, 196, 3, 2, 2, 2, 1072, 1073, 7, 87, 2, 2, 1073, 1074, 7, 85, 2, 2, 1074, 1075, 7, 71, 2, 2, 1075, 198, 3, 2, 2, 2, 1076, 1077, 7, 82, 2, 2, 1077, 1078, 7, 67, 2, 2, 1078, 1079, 7, 84, 2, 2, 1079, 1080, 7, 86, 2, 2, 1080, 1081, 7, 75, 2, 2, 1081, 1082, 7, 86, 2, 2, 1082, 1083, 7, 75, 2, 2, 1083, 1084, 7, 81, 2, 2, 1084, 1085, 7, 80, 2, 2, 1085, 1086, 7, 85, 2, 2, 1086, 200, 3, 2, 2, 2, 1087, 1088, 7, 72, 2, 2, 1088, 1089, 7, 87, 2, 2, 1089, 1090, 7, 80, 2, 2, 1090, 1091, 7, 69, 2, 2, 1091, 1092, 7, 86, 2, 2, 1092, 1093, 7, 75, 2, 2, 1093, 1094, 7, 81, 2, 2, 1094, 1095, 7, 80, 2, 2, 1095, 1096, 7, 85, 2, 2, 1096, 202, 3, 2, 2, 2, 1097, 1098, 7, 70, 2, 2, 1098, 1099, 7, 84, 2, 2, 1099, 1100, 7, 81, 2, 2, 1100, 1101, 7, 82, 2, 2, 1101, 204, 3, 2, 2, 2, 1102, 1103, 7, 87, 2, 2, 1103, 1104, 7, 80, 2, 2, 1104, 1105, 7, 75, 2, 2, 1105, 1106, 7, 81, 2, 2, 1106, 1107, 7, 80, 2, 2, 1107, 206, 3, 2, 2, 2, 1108, 1109, 7, 71, 2, 2, 1109, 1110, 7, 90, 2, 2, 1110, 1111, 7, 69, 2, 2, 1111, 1112, 7, 71, 2, 2, 1112, 1113, 7, 82, 2, 2, 1113, 1114, 7, 86, 2, 2, 1114, 208, 3, 2, 2, 2, 1115, 1116, 7, 79, 2, 2, 1116, 1117, 7, 75, 2, 2, 1117, 1118, 7, 80, 2, 2, 1118, 1119, 7, 87, 2, 2, 1119, 1120, 7, 85, 2, 2, 1120, 210, 3, 2, 2, 2, 1121, 1122, 7, 75, 2, 2, 1122, 1123, 7, 80, 2, 2, 1123, 1124, 7, 86, 2, 2, 1124, 1125, 7, 71, 2, 2, 1125, 1126, 7, 84, 2, 2, 1126, 1127, 7, 85, 2, 2, 1127, 1128, 7, 71, 2, 2, 1128, 1129, 7, 69, 2, 2, 1129, 1130, 7, 86, 2, 2, 1130, 212, 3, 2, 2, 2, 1131, 1132, 7, 86, 2, 2, 1132, 1133, 7, 81, 2, 2, 1133, 214, 3, 2, 2, 2, 1134, 1135, 7, 86, 2, 2, 1135, 1136, 7, 67, 2, 2, 1136, 1137, 7, 68, 2, 2, 1137, 1138, 7, 78, 2, 2, 1138, 1139, 7, 71, 2, 2, 1139, 1140, 7, 85, 2, 2, 1140, 1141, 7, 67, 2, 2, 1141, 1142, 7, 79, 2, 2, 1142, 1143, 7, 82, 2, 2, 1143, 1144, 7, 78, 2, 2, 1144, 1145, 7, 71, 2, 2, 1145, 216, 3, 2, 2, 2, 1146, 1147, 7, 85, 2, 2, 1147, 1148, 7, 86, 2, 2, 1148, 1149, 7, 84, 2, 2, 1149, 1150, 7, 67, 2, 2, 1150, 1151, 7, 86, 2, 2, 1151, 1152, 7, 75, 2, 2, 1152, 1153, 7, 72, 2, 2, 1153, 1154, 7, 91, 2, 2, 1154, 218, 3, 2, 2, 2, 1155, 1156, 7, 67, 2, 2, 1156, 1157, 7, 78, 2, 2, 1157, 1158, 7, 86, 2, 2, 1158, 1159, 7, 71, 2, 2, 1159, 1160, 7, 84, 2, 2, 1160, 220, 3, 2, 2, 2, 1161, 1162, 7, 84, 2, 2, 1162, 1163, 7, 71, 2, 2, 1163, 1164, 7, 80, 2, 2, 1164, 1165, 7, 67, 2, 2, 1165, 1166, 7, 79, 2, 2, 1166, 1167, 7, 71, 2, 2, 1167, 222, 3, 2, 2, 2, 1168, 1169, 7, 67, 2, 2, 1169, 1170, 7, 84, 2, 2, 1170, 1171, 7, 84, 2, 2, 1171, 1172, 7, 67, 2, 2, 1172, 1173, 7, 91, 2, 2, 1173, 224, 3, 2, 2, 2, 1174, 1175, 7, 79, 2, 2, 1175, 1176, 7, 67, 2, 2, 1176, 1177, 7, 82, 2, 2, 1177, 226, 3, 2, 2, 2, 1178, 1179, 7, 85, 2, 2, 1179, 1180, 7, 86, 2, 2, 1180, 1181, 7, 84, 2, 2, 1181, 1182, 7, 87, 2, 2, 1182, 1183, 7, 69, 2, 2, 1183, 1184, 7, 86, 2, 2, 1184, 228, 3, 2, 2, 2, 1185, 1186, 7, 69, 2, 2, 1186, 1187, 7, 81, 2, 2, 1187, 1188, 7, 79, 2, 2, 1188, 1189, 7, 79, 2, 2, 1189, 1190, 7, 71, 2, 2, 1190, 1191, 7, 80, 2, 2, 1191, 1192, 7, 86, 2, 2, 1192, 230, 3, 2, 2, 2, 1193, 1194, 7, 85, 2, 2, 1194, 1195, 7, 71, 2, 2, 1195, 1196, 7, 86, 2, 2, 1196, 232, 3, 2, 2, 2, 1197, 1198, 7, 84, 2, 2, 1198, 1199, 7, 71, 2, 2, 1199, 1200, 7, 85, 2, 2, 1200, 1201, 7, 71, 2, 2, 1201, 1202, 7, 86, 2, 2, 1202, 234, 3, 2, 2, 2, 1203, 1204, 7, 70, 2, 2, 1204, 1205, 7, 67, 2, 2, 1205, 1206, 7, 86, 2, 2, 1206, 1207, 7, 67, 2, 2, 1207, 236, 3, 2, 2, 2, 1208, 1209, 7, 85, 2, 2, 1209, 1210, 7, 86, 2, 2, 1210, 1211, 7, 67, 2, 2, 1211, 1212, 7, 84, 2, 2, 1212, 1213, 7, 86, 2, 2, 1213, 238, 3, 2, 2, 2, 1214, 1215, 7, 86, 2, 2, 1215, 1216, 7, 84, 2, 2, 1216, 1217, 7, 67, 2, 2, 1217, 1218, 7, 80, 2, 2, 1218, 1219, 7, 85, 2, 2, 1219, 1220, 7, 67, 2, 2, 1220, 1221, 7, 69, 2, 2, 1221, 1222, 7, 86, 2, 2, 1222, 1223, 7, 75, 2, 2, 1223, 1224, 7, 81, 2, 2, 1224, 1225, 7, 80, 2, 2, 1225, 240, 3, 2, 2, 2, 1226, 1227, 7, 69, 2, 2, 1227, 1228, 7, 81, 2, 2, 1228, 1229, 7, 79, 2, 2, 1229, 1230, 7, 79, 2, 2, 1230, 1231, 7, 75, 2, 2, 1231, 1232, 7, 86, 2, 2, 1232, 242, 3, 2, 2, 2, 1233, 1234, 7, 84, 2, 2, 1234, 1235, 7, 81, 2, 2, 1235, 1236, 7, 78, 2, 2, 1236, 1237, 7, 78, 2, 2, 1237, 1238, 7, 68, 2, 2, 1238, 1239, 7, 67, 2, 2, 1239, 1240, 7, 69, 2, 2, 1240, 1241, 7, 77, 2, 2, 1241, 244, 3, 2, 2, 2, 1242, 1243, 7, 79, 2, 2, 1243, 1244, 7, 67, 2, 2, 1244, 1245, 7, 69, 2, 2, 1245, 1246, 7, 84, 2, 2, 1246, 1247, 7, 81, 2, 2, 1247, 246, 3, 2, 2, 2, 1248, 1249, 7, 75, 2, 2, 1249, 1250, 7, 73, 2, 2, 1250, 1251, 7, 80, 2, 2, 1251, 1252, 7, 81, 2, 2, 1252, 1253, 7, 84, 2, 2, 1253, 1254, 7, 71, 2, 2, 1254, 248, 3, 2, 2, 2, 1255, 1256, 7, 68, 2, 2, 1256, 1257, 7, 81, 2, 2, 1257, 1258, 7, 86, 2, 2, 1258, 1259, 7, 74, 2, 2, 1259, 250, 3, 2, 2, 2, 1260, 1261, 7, 78, 2, 2, 1261, 1262, 7, 71, 2, 2, 1262, 1263, 7, 67, 2, 2, 1263, 1264, 7, 70, 2, 2, 1264, 1265, 7, 75, 2, 2, 1265, 1266, 7, 80, 2, 2, 1266, 1267, 7, 73, 2, 2, 1267, 252, 3, 2, 2, 2, 1268, 1269, 7, 86, 2, 2, 1269, 1270, 7, 84, 2, 2, 1270, 1271, 7, 67, 2, 2, 1271, 1272, 7, 75, 2, 2, 1272, 1273, 7, 78, 2, 2, 1273, 1274, 7, 75, 2, 2, 1274, 1275, 7, 80, 2, 2, 1275, 1276, 7, 73, 2, 2, 1276, 254, 3, 2, 2, 2, 1277, 1278, 7, 75, 2, 2, 1278, 1279, 7, 72, 2, 2, 1279, 256, 3, 2, 2, 2, 1280, 1281, 7, 82, 2, 2, 1281, 1282, 7, 81, 2, 2, 1282, 1283, 7, 85, 2, 2, 1283, 1284, 7, 75, 2, 2, 1284, 1285, 7, 86, 2, 2, 1285, 1286, 7, 75, 2, 2, 1286, 1287, 7, 81, 2, 2, 1287, 1288, 7, 80, 2, 2, 1288, 258, 3, 2, 2, 2, 1289, 1290, 7, 71, 2, 2, 1290, 1291, 7, 90, 2, 2, 1291, 1292, 7, 86, 2, 2, 1292, 1293, 7, 84, 2, 2, 1293, 1294, 7, 67, 2, 2, 1294, 1295, 7, 69, 2, 2, 1295, 1296, 7, 86, 2, 2, 1296, 260, 3, 2, 2, 2, 1297, 1301, 7, 63, 2, 2, 1298, 1299, 7, 63, 2, 2, 1299, 1301, 7, 63, 2, 2, 1300, 1297, 3, 2, 2, 2, 1300, 1298, 3, 2, 2, 2, 1301, 262, 3, 2, 2, 2, 1302, 1303, 7, 62, 2, 2, 1303, 1304, 7, 63, 2, 2, 1304, 1305, 7, 64, 2, 2, 1305, 264, 3, 2, 2, 2, 1306, 1307, 7, 62, 2, 2, 1307, 1308, 7, 64, 2, 2, 1308, 266, 3, 2, 2, 2, 1309, 1310, 7, 35, 2, 2, 1310, 1311, 7, 63, 2, 2, 1311, 268, 3, 2, 2, 2, 1312, 1313, 7, 62, 2, 2, 1313, 270, 3, 2, 2, 2, 1314, 1315, 7, 62, 2, 2, 1315, 1319, 7, 63, 2, 2, 1316, 1317, 7, 35, 2, 2, 1317, 1319, 7, 64, 2, 2, 1318, 1314, 3, 2, 2, 2, 1318, 1316, 3, 2, 2, 2, 1319, 272, 3, 2, 2, 2, 1320, 1321, 7, 64, 2, 2, 1321, 274, 3, 2, 2, 2, 1322, 1323, 7, 64, 2, 2, 1323, 1327, 7, 63, 2, 2, 1324, 1325, 7, 35, 2, 2, 1325, 1327, 7, 62, 2, 2, 1326, 1322, 3, 2, 2, 2, 1326, 1324, 3, 2, 2, 2, 1327, 276, 3, 2, 2, 2, 1328, 1329, 7, 45, 2, 2, 1329, 278, 3, 2, 2, 2, 1330, 1331, 7, 47, 2, 2, 1331, 280, 3, 2, 2, 2, 1332, 1333, 7, 44, 2, 2, 1333, 282, 3, 2, 2, 2, 1334, 1335, 7, 49, 2, 2, 1335, 284, 3, 2, 2, 2, 1336, 1337, 7, 39, 2, 2, 1337, 286, 3, 2, 2, 2, 1338, 1339, 7, 70, 2, 2, 1339, 1340, 7, 75, 2, 2, 1340, 1341, 7, 88, 2, 2, 1341, 288, 3, 2, 2, 2, 1342, 1343, 7, 128, 2, 2, 1343, 290, 3, 2, 2, 2, 1344, 1345, 7, 40, 2, 2, 1345, 292, 3, 2, 2, 2, 1346, 1347, 7, 126, 2, 2, 1347, 294, 3, 2, 2, 2, 1348, 1349, 7, 126, 2, 2, 1349, 1350, 7, 126, 2, 2, 1350, 296, 3, 2, 2, 2, 1351, 1352, 7, 96, 2, 2, 1352, 298, 3, 2, 2, 2, 1353, 1354, 7, 82, 2, 2, 1354, 1355, 7, 71, 2, 2, 1355, 1356, 7, 84, 2, 2, 1356, 1357, 7, 69, 2, 2, 1357, 1358, 7, 71, 2, 2, 1358, 1359, 7, 80, 2, 2, 1359, 1360, 7, 86, 2, 2, 1360, 300, 3, 2, 2, 2, 1361, 1362, 7, 68, 2, 2, 1362, 1363, 7, 87, 2, 2, 1363, 1364, 7, 69, 2, 2, 1364, 1365, 7, 77, 2, 2, 1365, 1366, 7, 71, 2, 2, 1366, 1367, 7, 86, 2, 2, 1367, 302, 3, 2, 2, 2, 1368, 1369, 7, 81, 2, 2, 1369, 1370, 7, 87, 2, 2, 1370, 1371, 7, 86, 2, 2, 1371, 304, 3, 2, 2, 2, 1372, 1373, 7, 81, 2, 2, 1373, 1374, 7, 72, 2, 2, 1374, 306, 3, 2, 2, 2, 1375, 1376, 7, 85, 2, 2, 1376, 1377, 7, 81, 2, 2, 1377, 1378, 7, 84, 2, 2, 1378, 1379, 7, 86, 2, 2, 1379, 308, 3, 2, 2, 2, 1380, 1381, 7, 69, 2, 2, 1381, 1382, 7, 78, 2, 2, 1382, 1383, 7, 87, 2, 2, 1383, 1384, 7, 85, 2, 2, 1384, 1385, 7, 86, 2, 2, 1385, 1386, 7, 71, 2, 2, 1386, 1387, 7, 84, 2, 2, 1387, 310, 3, 2, 2, 2, 1388, 1389, 7, 70, 2, 2, 1389, 1390, 7, 75, 2, 2, 1390, 1391, 7, 85, 2, 2, 1391, 1392, 7, 86, 2, 2, 1392, 1393, 7, 84, 2, 2, 1393, 1394, 7, 75, 2, 2, 1394, 1395, 7, 68, 2, 2, 1395, 1396, 7, 87, 2, 2, 1396, 1397, 7, 86, 2, 2, 1397, 1398, 7, 71, 2, 2, 1398, 312, 3, 2, 2, 2, 1399, 1400, 7, 81, 2, 2, 1400, 1401, 7, 88, 2, 2, 1401, 1402, 7, 71, 2, 2, 1402, 1403, 7, 84, 2, 2, 1403, 1404, 7, 89, 2, 2, 1404, 1405, 7, 84, 2, 2, 1405, 1406, 7, 75, 2, 2, 1406, 1407, 7, 86, 2, 2, 1407, 1408, 7, 71, 2, 2, 1408, 314, 3, 2, 2, 2, 1409, 1410, 7, 86, 2, 2, 1410, 1411, 7, 84, 2, 2, 1411, 1412, 7, 67, 2, 2, 1412, 1413, 7, 80, 2, 2, 1413, 1414, 7, 85, 2, 2, 1414, 1415, 7, 72, 2, 2, 1415, 1416, 7, 81, 2, 2, 1416, 1417, 7, 84, 2, 2, 1417, 1418, 7, 79, 2, 2, 1418, 316, 3, 2, 2, 2, 1419, 1420, 7, 84, 2, 2, 1420, 1421, 7, 71, 2, 2, 1421, 1422, 7, 70, 2, 2, 1422, 1423, 7, 87, 2, 2, 1423, 1424, 7, 69, 2, 2, 1424, 1425, 7, 71, 2, 2, 1425, 318, 3, 2, 2, 2, 1426, 1427, 7, 87, 2, 2, 1427, 1428, 7, 85, 2, 2, 1428, 1429, 7, 75, 2, 2, 1429, 1430, 7, 80, 2, 2, 1430, 1431, 7, 73, 2, 2, 1431, 320, 3, 2, 2, 2, 1432, 1433, 7, 85, 2, 2, 1433, 1434, 7, 71, 2, 2, 1434, 1435, 7, 84, 2, 2, 1435, 1436, 7, 70, 2, 2, 1436, 1437, 7, 71, 2, 2, 1437, 322, 3, 2, 2, 2, 1438, 1439, 7, 85, 2, 2, 1439, 1440, 7, 71, 2, 2, 1440, 1441, 7, 84, 2, 2, 1441, 1442, 7, 70, 2, 2, 1442, 1443, 7, 71, 2, 2, 1443, 1444, 7, 82, 2, 2, 1444, 1445, 7, 84, 2, 2, 1445, 1446, 7, 81, 2, 2, 1446, 1447, 7, 82, 2, 2, 1447, 1448, 7, 71, 2, 2, 1448, 1449, 7, 84, 2, 2, 1449, 1450, 7, 86, 2, 2, 1450, 1451, 7, 75, 2, 2, 1451, 1452, 7, 71, 2, 2, 1452, 1453, 7, 85, 2, 2, 1453, 324, 3, 2, 2, 2, 1454, 1455, 7, 84, 2, 2, 1455, 1456, 7, 71, 2, 2, 1456, 1457, 7, 69, 2, 2, 1457, 1458, 7, 81, 2, 2, 1458, 1459, 7, 84, 2, 2, 1459, 1460, 7, 70, 2, 2, 1460, 1461, 7, 84, 2, 2, 1461, 1462, 7, 71, 2, 2, 1462, 1463, 7, 67, 2, 2, 1463, 1464, 7, 70, 2, 2, 1464, 1465, 7, 71, 2, 2, 1465, 1466, 7, 84, 2, 2, 1466, 326, 3, 2, 2, 2, 1467, 1468, 7, 84, 2, 2, 1468, 1469, 7, 71, 2, 2, 1469, 1470, 7, 69, 2, 2, 1470, 1471, 7, 81, 2, 2, 1471, 1472, 7, 84, 2, 2, 1472, 1473, 7, 70, 2, 2, 1473, 1474, 7, 89, 2, 2, 1474, 1475, 7, 84, 2, 2, 1475, 1476, 7, 75, 2, 2, 1476, 1477, 7, 86, 2, 2, 1477, 1478, 7, 71, 2, 2, 1478, 1479, 7, 84, 2, 2, 1479, 328, 3, 2, 2, 2, 1480, 1481, 7, 70, 2, 2, 1481, 1482, 7, 71, 2, 2, 1482, 1483, 7, 78, 2, 2, 1483, 1484, 7, 75, 2, 2, 1484, 1485, 7, 79, 2, 2, 1485, 1486, 7, 75, 2, 2, 1486, 1487, 7, 86, 2, 2, 1487, 1488, 7, 71, 2, 2, 1488, 1489, 7, 70, 2, 2, 1489, 330, 3, 2, 2, 2, 1490, 1491, 7, 72, 2, 2, 1491, 1492, 7, 75, 2, 2, 1492, 1493, 7, 71, 2, 2, 1493, 1494, 7, 78, 2, 2, 1494, 1495, 7, 70, 2, 2, 1495, 1496, 7, 85, 2, 2, 1496, 332, 3, 2, 2, 2, 1497, 1498, 7, 86, 2, 2, 1498, 1499, 7, 71, 2, 2, 1499, 1500, 7, 84, 2, 2, 1500, 1501, 7, 79, 2, 2, 1501, 1502, 7, 75, 2, 2, 1502, 1503, 7, 80, 2, 2, 1503, 1504, 7, 67, 2, 2, 1504, 1505, 7, 86, 2, 2, 1505, 1506, 7, 71, 2, 2, 1506, 1507, 7, 70, 2, 2, 1507, 334, 3, 2, 2, 2, 1508, 1509, 7, 69, 2, 2, 1509, 1510, 7, 81, 2, 2, 1510, 1511, 7, 78, 2, 2, 1511, 1512, 7, 78, 2, 2, 1512, 1513, 7, 71, 2, 2, 1513, 1514, 7, 69, 2, 2, 1514, 1515, 7, 86, 2, 2, 1515, 1516, 7, 75, 2, 2, 1516, 1517, 7, 81, 2, 2, 1517, 1518, 7, 80, 2, 2, 1518, 336, 3, 2, 2, 2, 1519, 1520, 7, 75, 2, 2, 1520, 1521, 7, 86, 2, 2, 1521, 1522, 7, 71, 2, 2, 1522, 1523, 7, 79, 2, 2, 1523, 1524, 7, 85, 2, 2, 1524, 338, 3, 2, 2, 2, 1525, 1526, 7, 77, 2, 2, 1526, 1527, 7, 71, 2, 2, 1527, 1528, 7, 91, 2, 2, 1528, 1529, 7, 85, 2, 2, 1529, 340, 3, 2, 2, 2, 1530, 1531, 7, 71, 2, 2, 1531, 1532, 7, 85, 2, 2, 1532, 1533, 7, 69, 2, 2, 1533, 1534, 7, 67, 2, 2, 1534, 1535, 7, 82, 2, 2, 1535, 1536, 7, 71, 2, 2, 1536, 1537, 7, 70, 2, 2, 1537, 342, 3, 2, 2, 2, 1538, 1539, 7, 78, 2, 2, 1539, 1540, 7, 75, 2, 2, 1540, 1541, 7, 80, 2, 2, 1541, 1542, 7, 71, 2, 2, 1542, 1543, 7, 85, 2, 2, 1543, 344, 3, 2, 2, 2, 1544, 1545, 7, 85, 2, 2, 1545, 1546, 7, 71, 2, 2, 1546, 1547, 7, 82, 2, 2, 1547, 1548, 7, 67, 2, 2, 1548, 1549, 7, 84, 2, 2, 1549, 1550, 7, 67, 2, 2, 1550, 1551, 7, 86, 2, 2, 1551, 1552, 7, 71, 2, 2, 1552, 1553, 7, 70, 2, 2, 1553, 346, 3, 2, 2, 2, 1554, 1555, 7, 72, 2, 2, 1555, 1556, 7, 87, 2, 2, 1556, 1557, 7, 80, 2, 2, 1557, 1558, 7, 69, 2, 2, 1558, 1559, 7, 86, 2, 2, 1559, 1560, 7, 75, 2, 2, 1560, 1561, 7, 81, 2, 2, 1561, 1562, 7, 80, 2, 2, 1562, 348, 3, 2, 2, 2, 1563, 1564, 7, 71, 2, 2, 1564, 1565, 7, 90, 2, 2, 1565, 1566, 7, 86, 2, 2, 1566, 1567, 7, 71, 2, 2, 1567, 1568, 7, 80, 2, 2, 1568, 1569, 7, 70, 2, 2, 1569, 1570, 7, 71, 2, 2, 1570, 1571, 7, 70, 2, 2, 1571, 350, 3, 2, 2, 2, 1572, 1573, 7, 84, 2, 2, 1573, 1574, 7, 71, 2, 2, 1574, 1575, 7, 72, 2, 2, 1575, 1576, 7, 84, 2, 2, 1576, 1577, 7, 71, 2, 2, 1577, 1578, 7, 85, 2, 2, 1578, 1579, 7, 74, 2, 2, 1579, 352, 3, 2, 2, 2, 1580, 1581, 7, 69, 2, 2, 1581, 1582, 7, 78, 2, 2, 1582, 1583, 7, 71, 2, 2, 1583, 1584, 7, 67, 2, 2, 1584, 1585, 7, 84, 2, 2, 1585, 354, 3, 2, 2, 2, 1586, 1587, 7, 69, 2, 2, 1587, 1588, 7, 67, 2, 2, 1588, 1589, 7, 69, 2, 2, 1589, 1590, 7, 74, 2, 2, 1590, 1591, 7, 71, 2, 2, 1591, 356, 3, 2, 2, 2, 1592, 1593, 7, 87, 2, 2, 1593, 1594, 7, 80, 2, 2, 1594, 1595, 7, 69, 2, 2, 1595, 1596, 7, 67, 2, 2, 1596, 1597, 7, 69, 2, 2, 1597, 1598, 7, 74, 2, 2, 1598, 1599, 7, 71, 2, 2, 1599, 358, 3, 2, 2, 2, 1600, 1601, 7, 78, 2, 2, 1601, 1602, 7, 67, 2, 2, 1602, 1603, 7, 92, 2, 2, 1603, 1604, 7, 91, 2, 2, 1604, 360, 3, 2, 2, 2, 1605, 1606, 7, 72, 2, 2, 1606, 1607, 7, 81, 2, 2, 1607, 1608, 7, 84, 2, 2, 1608, 1609, 7, 79, 2, 2, 1609, 1610, 7, 67, 2, 2, 1610, 1611, 7, 86, 2, 2, 1611, 1612, 7, 86, 2, 2, 1612, 1613, 7, 71, 2, 2, 1613, 1614, 7, 70, 2, 2, 1614, 362, 3, 2, 2, 2, 1615, 1616, 7, 73, 2, 2, 1616, 1617, 7, 78, 2, 2, 1617, 1618, 7, 81, 2, 2, 1618, 1619, 7, 68, 2, 2, 1619, 1620, 7, 67, 2, 2, 1620, 1621, 7, 78, 2, 2, 1621, 364, 3, 2, 2, 2, 1622, 1623, 7, 86, 2, 2, 1623, 1624, 7, 71, 2, 2, 1624, 1625, 7, 79, 2, 2, 1625, 1626, 7, 82, 2, 2, 1626, 1627, 7, 81, 2, 2, 1627, 1628, 7, 84, 2, 2, 1628, 1629, 7, 67, 2, 2, 1629, 1630, 7, 84, 2, 2, 1630, 1636, 7, 91, 2, 2, 1631, 1632, 7, 86, 2, 2, 1632, 1633, 7, 71, 2, 2, 1633, 1634, 7, 79, 2, 2, 1634, 1636, 7, 82, 2, 2, 1635, 1622, 3, 2, 2, 2, 1635, 1631, 3, 2, 2, 2, 1636, 366, 3, 2, 2, 2, 1637, 1638, 7, 81, 2, 2, 1638, 1639, 7, 82, 2, 2, 1639, 1640, 7, 86, 2, 2, 1640, 1641, 7, 75, 2, 2, 1641, 1642, 7, 81, 2, 2, 1642, 1643, 7, 80, 2, 2, 1643, 1644, 7, 85, 2, 2, 1644, 368, 3, 2, 2, 2, 1645, 1646, 7, 87, 2, 2, 1646, 1647, 7, 80, 2, 2, 1647, 1648, 7, 85, 2, 2, 1648, 1649, 7, 71, 2, 2, 1649, 1650, 7, 86, 2, 2, 1650, 370, 3, 2, 2, 2, 1651, 1652, 7, 86, 2, 2, 1652, 1653, 7, 68, 2, 2, 1653, 1654, 7, 78, 2, 2, 1654, 1655, 7, 82, 2, 2, 1655, 1656, 7, 84, 2, 2, 1656, 1657, 7, 81, 2, 2, 1657, 1658, 7, 82, 2, 2, 1658, 1659, 7, 71, 2, 2, 1659, 1660, 7, 84, 2, 2, 1660, 1661, 7, 86, 2, 2, 1661, 1662, 7, 75, 2, 2, 1662, 1663, 7, 71, 2, 2, 1663, 1664, 7, 85, 2, 2, 1664, 372, 3, 2, 2, 2, 1665, 1666, 7, 70, 2, 2, 1666, 1667, 7, 68, 2, 2, 1667, 1668, 7, 82, 2, 2, 1668, 1669, 7, 84, 2, 2, 1669, 1670, 7, 81, 2, 2, 1670, 1671, 7, 82, 2, 2, 1671, 1672, 7, 71, 2, 2, 1672, 1673, 7, 84, 2, 2, 1673, 1674, 7, 86, 2, 2, 1674, 1675, 7, 75, 2, 2, 1675, 1676, 7, 71, 2, 2, 1676, 1677, 7, 85, 2, 2, 1677, 374, 3, 2, 2, 2, 1678, 1679, 7, 68, 2, 2, 1679, 1680, 7, 87, 2, 2, 1680, 1681, 7, 69, 2, 2, 1681, 1682, 7, 77, 2, 2, 1682, 1683, 7, 71, 2, 2, 1683, 1684, 7, 86, 2, 2, 1684, 1685, 7, 85, 2, 2, 1685, 376, 3, 2, 2, 2, 1686, 1687, 7, 85, 2, 2, 1687, 1688, 7, 77, 2, 2, 1688, 1689, 7, 71, 2, 2, 1689, 1690, 7, 89, 2, 2, 1690, 1691, 7, 71, 2, 2, 1691, 1692, 7, 70, 2, 2, 1692, 378, 3, 2, 2, 2, 1693, 1694, 7, 85, 2, 2, 1694, 1695, 7, 86, 2, 2, 1695, 1696, 7, 81, 2, 2, 1696, 1697, 7, 84, 2, 2, 1697, 1698, 7, 71, 2, 2, 1698, 1699, 7, 70, 2, 2, 1699, 380, 3, 2, 2, 2, 1700, 1701, 7, 70, 2, 2, 1701, 1702, 7, 75, 2, 2, 1702, 1703, 7, 84, 2, 2, 1703, 1704, 7, 71, 2, 2, 1704, 1705, 7, 69, 2, 2, 1705, 1706, 7, 86, 2, 2, 1706, 1707, 7, 81, 2, 2, 1707, 1708, 7, 84, 2, 2, 1708, 1709, 7, 75, 2, 2, 1709, 1710, 7, 71, 2, 2, 1710, 1711, 7, 85, 2, 2, 1711, 382, 3, 2, 2, 2, 1712, 1713, 7, 78, 2, 2, 1713, 1714, 7, 81, 2, 2, 1714, 1715, 7, 69, 2, 2, 1715, 1716, 7, 67, 2, 2, 1716, 1717, 7, 86, 2, 2, 1717, 1718, 7, 75, 2, 2, 1718, 1719, 7, 81, 2, 2, 1719, 1720, 7, 80, 2, 2, 1720, 384, 3, 2, 2, 2, 1721, 1722, 7, 71, 2, 2, 1722, 1723, 7, 90, 2, 2, 1723, 1724, 7, 69, 2, 2, 1724, 1725, 7, 74, 2, 2, 1725, 1726, 7, 67, 2, 2, 1726, 1727, 7, 80, 2, 2, 1727, 1728, 7, 73, 2, 2, 1728, 1729, 7, 71, 2, 2, 1729, 386, 3, 2, 2, 2, 1730, 1731, 7, 67, 2, 2, 1731, 1732, 7, 84, 2, 2, 1732, 1733, 7, 69, 2, 2, 1733, 1734, 7, 74, 2, 2, 1734, 1735, 7, 75, 2, 2, 1735, 1736, 7, 88, 2, 2, 1736, 1737, 7, 71, 2, 2, 1737, 388, 3, 2, 2, 2, 1738, 1739, 7, 87, 2, 2, 1739, 1740, 7, 80, 2, 2, 1740, 1741, 7, 67, 2, 2, 1741, 1742, 7, 84, 2, 2, 1742, 1743, 7, 69, 2, 2, 1743, 1744, 7, 74, 2, 2, 1744, 1745, 7, 75, 2, 2, 1745, 1746, 7, 88, 2, 2, 1746, 1747, 7, 71, 2, 2, 1747, 390, 3, 2, 2, 2, 1748, 1749, 7, 72, 2, 2, 1749, 1750, 7, 75, 2, 2, 1750, 1751, 7, 78, 2, 2, 1751, 1752, 7, 71, 2, 2, 1752, 1753, 7, 72, 2, 2, 1753, 1754, 7, 81, 2, 2, 1754, 1755, 7, 84, 2, 2, 1755, 1756, 7, 79, 2, 2, 1756, 1757, 7, 67, 2, 2, 1757, 1758, 7, 86, 2, 2, 1758, 392, 3, 2, 2, 2, 1759, 1760, 7, 86, 2, 2, 1760, 1761, 7, 81, 2, 2, 1761, 1762, 7, 87, 2, 2, 1762, 1763, 7, 69, 2, 2, 1763, 1764, 7, 74, 2, 2, 1764, 394, 3, 2, 2, 2, 1765, 1766, 7, 69, 2, 2, 1766, 1767, 7, 81, 2, 2, 1767, 1768, 7, 79, 2, 2, 1768, 1769, 7, 82, 2, 2, 1769, 1770, 7, 67, 2, 2, 1770, 1771, 7, 69, 2, 2, 1771, 1772, 7, 86, 2, 2, 1772, 396, 3, 2, 2, 2, 1773, 1774, 7, 69, 2, 2, 1774, 1775, 7, 81, 2, 2, 1775, 1776, 7, 80, 2, 2, 1776, 1777, 7, 69, 2, 2, 1777, 1778, 7, 67, 2, 2, 1778, 1779, 7, 86, 2, 2, 1779, 1780, 7, 71, 2, 2, 1780, 1781, 7, 80, 2, 2, 1781, 1782, 7, 67, 2, 2, 1782, 1783, 7, 86, 2, 2, 1783, 1784, 7, 71, 2, 2, 1784, 398, 3, 2, 2, 2, 1785, 1786, 7, 69, 2, 2, 1786, 1787, 7, 74, 2, 2, 1787, 1788, 7, 67, 2, 2, 1788, 1789, 7, 80, 2, 2, 1789, 1790, 7, 73, 2, 2, 1790, 1791, 7, 71, 2, 2, 1791, 400, 3, 2, 2, 2, 1792, 1793, 7, 69, 2, 2, 1793, 1794, 7, 67, 2, 2, 1794, 1795, 7, 85, 2, 2, 1795, 1796, 7, 69, 2, 2, 1796, 1797, 7, 67, 2, 2, 1797, 1798, 7, 70, 2, 2, 1798, 1799, 7, 71, 2, 2, 1799, 402, 3, 2, 2, 2, 1800, 1801, 7, 84, 2, 2, 1801, 1802, 7, 71, 2, 2, 1802, 1803, 7, 85, 2, 2, 1803, 1804, 7, 86, 2, 2, 1804, 1805, 7, 84, 2, 2, 1805, 1806, 7, 75, 2, 2, 1806, 1807, 7, 69, 2, 2, 1807, 1808, 7, 86, 2, 2, 1808, 404, 3, 2, 2, 2, 1809, 1810, 7, 69, 2, 2, 1810, 1811, 7, 78, 2, 2, 1811, 1812, 7, 87, 2, 2, 1812, 1813, 7, 85, 2, 2, 1813, 1814, 7, 86, 2, 2, 1814, 1815, 7, 71, 2, 2, 1815, 1816, 7, 84, 2, 2, 1816, 1817, 7, 71, 2, 2, 1817, 1818, 7, 70, 2, 2, 1818, 406, 3, 2, 2, 2, 1819, 1820, 7, 85, 2, 2, 1820, 1821, 7, 81, 2, 2, 1821, 1822, 7, 84, 2, 2, 1822, 1823, 7, 86, 2, 2, 1823, 1824, 7, 71, 2, 2, 1824, 1825, 7, 70, 2, 2, 1825, 408, 3, 2, 2, 2, 1826, 1827, 7, 82, 2, 2, 1827, 1828, 7, 87, 2, 2, 1828, 1829, 7, 84, 2, 2, 1829, 1830, 7, 73, 2, 2, 1830, 1831, 7, 71, 2, 2, 1831, 410, 3, 2, 2, 2, 1832, 1833, 7, 75, 2, 2, 1833, 1834, 7, 80, 2, 2, 1834, 1835, 7, 82, 2, 2, 1835, 1836, 7, 87, 2, 2, 1836, 1837, 7, 86, 2, 2, 1837, 1838, 7, 72, 2, 2, 1838, 1839, 7, 81, 2, 2, 1839, 1840, 7, 84, 2, 2, 1840, 1841, 7, 79, 2, 2, 1841, 1842, 7, 67, 2, 2, 1842, 1843, 7, 86, 2, 2, 1843, 412, 3, 2, 2, 2, 1844, 1845, 7, 81, 2, 2, 1845, 1846, 7, 87, 2, 2, 1846, 1847, 7, 86, 2, 2, 1847, 1848, 7, 82, 2, 2, 1848, 1849, 7, 87, 2, 2, 1849, 1850, 7, 86, 2, 2, 1850, 1851, 7, 72, 2, 2, 1851, 1852, 7, 81, 2, 2, 1852, 1853, 7, 84, 2, 2, 1853, 1854, 7, 79, 2, 2, 1854, 1855, 7, 67, 2, 2, 1855, 1856, 7, 86, 2, 2, 1856, 414, 3, 2, 2, 2, 1857, 1858, 7, 70, 2, 2, 1858, 1859, 7, 67, 2, 2, 1859, 1860, 7, 86, 2, 2, 1860, 1861, 7, 67, 2, 2, 1861, 1862, 7, 68, 2, 2, 1862, 1863, 7, 67, 2, 2, 1863, 1864, 7, 85, 2, 2, 1864, 1872, 7, 71, 2, 2, 1865, 1866, 7, 85, 2, 2, 1866, 1867, 7, 69, 2, 2, 1867, 1868, 7, 74, 2, 2, 1868, 1869, 7, 71, 2, 2, 1869, 1870, 7, 79, 2, 2, 1870, 1872, 7, 67, 2, 2, 1871, 1857, 3, 2, 2, 2, 1871, 1865, 3, 2, 2, 2, 1872, 416, 3, 2, 2, 2, 1873, 1874, 7, 70, 2, 2, 1874, 1875, 7, 67, 2, 2, 1875, 1876, 7, 86, 2, 2, 1876, 1877, 7, 67, 2, 2, 1877, 1878, 7, 68, 2, 2, 1878, 1879, 7, 67, 2, 2, 1879, 1880, 7, 85, 2, 2, 1880, 1881, 7, 71, 2, 2, 1881, 1890, 7, 85, 2, 2, 1882, 1883, 7, 85, 2, 2, 1883, 1884, 7, 69, 2, 2, 1884, 1885, 7, 74, 2, 2, 1885, 1886, 7, 71, 2, 2, 1886, 1887, 7, 79, 2, 2, 1887, 1888, 7, 67, 2, 2, 1888, 1890, 7, 85, 2, 2, 1889, 1873, 3, 2, 2, 2, 1889, 1882, 3, 2, 2, 2, 1890, 418, 3, 2, 2, 2, 1891, 1892, 7, 70, 2, 2, 1892, 1893, 7, 72, 2, 2, 1893, 1894, 7, 85, 2, 2, 1894, 420, 3, 2, 2, 2, 1895, 1896, 7, 86, 2, 2, 1896, 1897, 7, 84, 2, 2, 1897, 1898, 7, 87, 2, 2, 1898, 1899, 7, 80, 2, 2, 1899, 1900, 7, 69, 2, 2, 1900, 1901, 7, 67, 2, 2, 1901, 1902, 7, 86, 2, 2, 1902, 1903, 7, 71, 2, 2, 1903, 422, 3, 2, 2, 2, 1904, 1905, 7, 67, 2, 2, 1905, 1906, 7, 80, 2, 2, 1906, 1907, 7, 67, 2, 2, 1907, 1908, 7, 78, 2, 2, 1908, 1909, 7, 91, 2, 2, 1909, 1910, 7, 92, 2, 2, 1910, 1911, 7, 71, 2, 2, 1911, 424, 3, 2, 2, 2, 1912, 1913, 7, 69, 2, 2, 1913, 1914, 7, 81, 2, 2, 1914, 1915, 7, 79, 2, 2, 1915, 1916, 7, 82, 2, 2, 1916, 1917, 7, 87, 2, 2, 1917, 1918, 7, 86, 2, 2, 1918, 1919, 7, 71, 2, 2, 1919, 426, 3, 2, 2, 2, 1920, 1921, 7, 78, 2, 2, 1921, 1922, 7, 75, 2, 2, 1922, 1923, 7, 85, 2, 2, 1923, 1924, 7, 86, 2, 2, 1924, 428, 3, 2, 2, 2, 1925, 1926, 7, 85, 2, 2, 1926, 1927, 7, 86, 2, 2, 1927, 1928, 7, 67, 2, 2, 1928, 1929, 7, 86, 2, 2, 1929, 1930, 7, 75, 2, 2, 1930, 1931, 7, 85, 2, 2, 1931, 1932, 7, 86, 2, 2, 1932, 1933, 7, 75, 2, 2, 1933, 1934, 7, 69, 2, 2, 1934, 1935, 7, 85, 2, 2, 1935, 430, 3, 2, 2, 2, 1936, 1937, 7, 82, 2, 2, 1937, 1938, 7, 67, 2, 2, 1938, 1939, 7, 84, 2, 2, 1939, 1940, 7, 86, 2, 2, 1940, 1941, 7, 75, 2, 2, 1941, 1942, 7, 86, 2, 2, 1942, 1943, 7, 75, 2, 2, 1943, 1944, 7, 81, 2, 2, 1944, 1945, 7, 80, 2, 2, 1945, 1946, 7, 71, 2, 2, 1946, 1947, 7, 70, 2, 2, 1947, 432, 3, 2, 2, 2, 1948, 1949, 7, 71, 2, 2, 1949, 1950, 7, 90, 2, 2, 1950, 1951, 7, 86, 2, 2, 1951, 1952, 7, 71, 2, 2, 1952, 1953, 7, 84, 2, 2, 1953, 1954, 7, 80, 2, 2, 1954, 1955, 7, 67, 2, 2, 1955, 1956, 7, 78, 2, 2, 1956, 434, 3, 2, 2, 2, 1957, 1958, 7, 70, 2, 2, 1958, 1959, 7, 71, 2, 2, 1959, 1960, 7, 72, 2, 2, 1960, 1961, 7, 75, 2, 2, 1961, 1962, 7, 80, 2, 2, 1962, 1963, 7, 71, 2, 2, 1963, 1964, 7, 70, 2, 2, 1964, 436, 3, 2, 2, 2, 1965, 1966, 7, 84, 2, 2, 1966, 1967, 7, 71, 2, 2, 1967, 1968, 7, 88, 2, 2, 1968, 1969, 7, 81, 2, 2, 1969, 1970, 7, 77, 2, 2, 1970, 1971, 7, 71, 2, 2, 1971, 438, 3, 2, 2, 2, 1972, 1973, 7, 73, 2, 2, 1973, 1974, 7, 84, 2, 2, 1974, 1975, 7, 67, 2, 2, 1975, 1976, 7, 80, 2, 2, 1976, 1977, 7, 86, 2, 2, 1977, 440, 3, 2, 2, 2, 1978, 1979, 7, 78, 2, 2, 1979, 1980, 7, 81, 2, 2, 1980, 1981, 7, 69, 2, 2, 1981, 1982, 7, 77, 2, 2, 1982, 442, 3, 2, 2, 2, 1983, 1984, 7, 87, 2, 2, 1984, 1985, 7, 80, 2, 2, 1985, 1986, 7, 78, 2, 2, 1986, 1987, 7, 81, 2, 2, 1987, 1988, 7, 69, 2, 2, 1988, 1989, 7, 77, 2, 2, 1989, 444, 3, 2, 2, 2, 1990, 1991, 7, 79, 2, 2, 1991, 1992, 7, 85, 2, 2, 1992, 1993, 7, 69, 2, 2, 1993, 1994, 7, 77, 2, 2, 1994, 446, 3, 2, 2, 2, 1995, 1996, 7, 84, 2, 2, 1996, 1997, 7, 71, 2, 2, 1997, 1998, 7, 82, 2, 2, 1998, 1999, 7, 67, 2, 2, 1999, 2000, 7, 75, 2, 2, 2000, 2001, 7, 84, 2, 2, 2001, 448, 3, 2, 2, 2, 2002, 2003, 7, 84, 2, 2, 2003, 2004, 7, 71, 2, 2, 2004, 2005, 7, 69, 2, 2, 2005, 2006, 7, 81, 2, 2, 2006, 2007, 7, 88, 2, 2, 2007, 2008, 7, 71, 2, 2, 2008, 2009, 7, 84, 2, 2, 2009, 450, 3, 2, 2, 2, 2010, 2011, 7, 71, 2, 2, 2011, 2012, 7, 90, 2, 2, 2012, 2013, 7, 82, 2, 2, 2013, 2014, 7, 81, 2, 2, 2014, 2015, 7, 84, 2, 2, 2015, 2016, 7, 86, 2, 2, 2016, 452, 3, 2, 2, 2, 2017, 2018, 7, 75, 2, 2, 2018, 2019, 7, 79, 2, 2, 2019, 2020, 7, 82, 2, 2, 2020, 2021, 7, 81, 2, 2, 2021, 2022, 7, 84, 2, 2, 2022, 2023, 7, 86, 2, 2, 2023, 454, 3, 2, 2, 2, 2024, 2025, 7, 78, 2, 2, 2025, 2026, 7, 81, 2, 2, 2026, 2027, 7, 67, 2, 2, 2027, 2028, 7, 70, 2, 2, 2028, 456, 3, 2, 2, 2, 2029, 2030, 7, 84, 2, 2, 2030, 2031, 7, 81, 2, 2, 2031, 2032, 7, 78, 2, 2, 2032, 2033, 7, 71, 2, 2, 2033, 458, 3, 2, 2, 2, 2034, 2035, 7, 84, 2, 2, 2035, 2036, 7, 81, 2, 2, 2036, 2037, 7, 78, 2, 2, 2037, 2038, 7, 71, 2, 2, 2038, 2039, 7, 85, 2, 2, 2039, 460, 3, 2, 2, 2, 2040, 2041, 7, 69, 2, 2, 2041, 2042, 7, 81, 2, 2, 2042, 2043, 7, 79, 2, 2, 2043, 2044, 7, 82, 2, 2, 2044, 2045, 7, 67, 2, 2, 2045, 2046, 7, 69, 2, 2, 2046, 2047, 7, 86, 2, 2, 2047, 2048, 7, 75, 2, 2, 2048, 2049, 7, 81, 2, 2, 2049, 2050, 7, 80, 2, 2, 2050, 2051, 7, 85, 2, 2, 2051, 462, 3, 2, 2, 2, 2052, 2053, 7, 82, 2, 2, 2053, 2054, 7, 84, 2, 2, 2054, 2055, 7, 75, 2, 2, 2055, 2056, 7, 80, 2, 2, 2056, 2057, 7, 69, 2, 2, 2057, 2058, 7, 75, 2, 2, 2058, 2059, 7, 82, 2, 2, 2059, 2060, 7, 67, 2, 2, 2060, 2061, 7, 78, 2, 2, 2061, 2062, 7, 85, 2, 2, 2062, 464, 3, 2, 2, 2, 2063, 2064, 7, 86, 2, 2, 2064, 2065, 7, 84, 2, 2, 2065, 2066, 7, 67, 2, 2, 2066, 2067, 7, 80, 2, 2, 2067, 2068, 7, 85, 2, 2, 2068, 2069, 7, 67, 2, 2, 2069, 2070, 7, 69, 2, 2, 2070, 2071, 7, 86, 2, 2, 2071, 2072, 7, 75, 2, 2, 2072, 2073, 7, 81, 2, 2, 2073, 2074, 7, 80, 2, 2, 2074, 2075, 7, 85, 2, 2, 2075, 466, 3, 2, 2, 2, 2076, 2077, 7, 75, 2, 2, 2077, 2078, 7, 80, 2, 2, 2078, 2079, 7, 70, 2, 2, 2079, 2080, 7, 71, 2, 2, 2080, 2081, 7, 90, 2, 2, 2081, 468, 3, 2, 2, 2, 2082, 2083, 7, 75, 2, 2, 2083, 2084, 7, 80, 2, 2, 2084, 2085, 7, 70, 2, 2, 2085, 2086, 7, 71, 2, 2, 2086, 2087, 7, 90, 2, 2, 2087, 2088, 7, 71, 2, 2, 2088, 2089, 7, 85, 2, 2, 2089, 470, 3, 2, 2, 2, 2090, 2091, 7, 78, 2, 2, 2091, 2092, 7, 81, 2, 2, 2092, 2093, 7, 69, 2, 2, 2093, 2094, 7, 77, 2, 2, 2094, 2095, 7, 85, 2, 2, 2095, 472, 3, 2, 2, 2, 2096, 2097, 7, 81, 2, 2, 2097, 2098, 7, 82, 2, 2, 2098, 2099, 7, 86, 2, 2, 2099, 2100, 7, 75, 2, 2, 2100, 2101, 7, 81, 2, 2, 2101, 2102, 7, 80, 2, 2, 2102, 474, 3, 2, 2, 2, 2103, 2104, 7, 67, 2, 2, 2104, 2105, 7, 80, 2, 2, 2105, 2106, 7, 86, 2, 2, 2106, 2107, 7, 75, 2, 2, 2107, 476, 3, 2, 2, 2, 2108, 2109, 7, 78, 2, 2, 2109, 2110, 7, 81, 2, 2, 2110, 2111, 7, 69, 2, 2, 2111, 2112, 7, 67, 2, 2, 2112, 2113, 7, 78, 2, 2, 2113, 478, 3, 2, 2, 2, 2114, 2115, 7, 75, 2, 2, 2115, 2116, 7, 80, 2, 2, 2116, 2117, 7, 82, 2, 2, 2117, 2118, 7, 67, 2, 2, 2118, 2119, 7, 86, 2, 2, 2119, 2120, 7, 74, 2, 2, 2120, 480, 3, 2, 2, 2, 2121, 2122, 7, 89, 2, 2, 2122, 2123, 7, 67, 2, 2, 2123, 2124, 7, 86, 2, 2, 2124, 2125, 7, 71, 2, 2, 2125, 2126, 7, 84, 2, 2, 2126, 2127, 7, 79, 2, 2, 2127, 2128, 7, 67, 2, 2, 2128, 2129, 7, 84, 2, 2, 2129, 2130, 7, 77, 2, 2, 2130, 482, 3, 2, 2, 2, 2131, 2137, 7, 41, 2, 2, 2132, 2136, 10, 2, 2, 2, 2133, 2134, 7, 94, 2, 2, 2134, 2136, 11, 2, 2, 2, 2135, 2132, 3, 2, 2, 2, 2135, 2133, 3, 2, 2, 2, 2136, 2139, 3, 2, 2, 2, 2137, 2135, 3, 2, 2, 2, 2137, 2138, 3, 2, 2, 2, 2138, 2140, 3, 2, 2, 2, 2139, 2137, 3, 2, 2, 2, 2140, 2152, 7, 41, 2, 2, 2141, 2147, 7, 36, 2, 2, 2142, 2146, 10, 3, 2, 2, 2143, 2144, 7, 94, 2, 2, 2144, 2146, 11, 2, 2, 2, 2145, 2142, 3, 2, 2, 2, 2145, 2143, 3, 2, 2, 2, 2146, 2149, 3, 2, 2, 2, 2147, 2145, 3, 2, 2, 2, 2147, 2148, 3, 2, 2, 2, 2148, 2150, 3, 2, 2, 2, 2149, 2147, 3, 2, 2, 2, 2150, 2152, 7, 36, 2, 2, 2151, 2131, 3, 2, 2, 2, 2151, 2141, 3, 2, 2, 2, 2152, 484, 3, 2, 2, 2, 2153, 2155, 5, 507, 254, 2, 2154, 2153, 3, 2, 2, 2, 2155, 2156, 3, 2, 2, 2, 2156, 2154, 3, 2, 2, 2, 2156, 2157, 3, 2, 2, 2, 2157, 2158, 3, 2, 2, 2, 2158, 2159, 7, 78, 2, 2, 2159, 486, 3, 2, 2, 2, 2160, 2162, 5, 507, 254, 2, 2161, 2160, 3, 2, 2, 2, 2162, 2163, 3, 2, 2, 2, 2163, 2161, 3, 2, 2, 2, 2163, 2164, 3, 2, 2, 2, 2164, 2165, 3, 2, 2, 2, 2165, 2166, 7, 85, 2, 2, 2166, 488, 3, 2, 2, 2, 2167, 2169, 5, 507, 254, 2, 2168, 2167, 3, 2, 2, 2, 2169, 2170, 3, 2, 2, 2, 2170, 2168, 3, 2, 2, 2, 2170, 2171, 3, 2, 2, 2, 2171, 2172, 3, 2, 2, 2, 2172, 2173, 7, 91, 2, 2, 2173, 490, 3, 2, 2, 2, 2174, 2176, 5, 507, 254, 2, 2175, 2174, 3, 2, 2, 2, 2176, 2177, 3, 2, 2, 2, 2177, 2175, 3, 2, 2, 2, 2177, 2178, 3, 2, 2, 2, 2178, 492, 3, 2, 2, 2, 2179, 2181, 5, 507, 254, 2, 2180, 2179, 3, 2, 2, 2, 2181, 2182, 3, 2, 2, 2, 2182, 2180, 3, 2, 2, 2, 2182, 2183, 3, 2, 2, 2, 2183, 2184, 3, 2, 2, 2, 2184, 2185, 5, 505, 253, 2, 2185, 2193, 3, 2, 2, 2, 2186, 2188, 5, 503, 252, 2, 2187, 2189, 5, 505, 253, 2, 2188, 2187, 3, 2, 2, 2, 2188, 2189, 3, 2, 2, 2, 2189, 2190, 3, 2, 2, 2, 2190, 2191, 6, 247, 2, 2, 2191, 2193, 3, 2, 2, 2, 2192, 2180, 3, 2, 2, 2, 2192, 2186, 3, 2, 2, 2, 2193, 494, 3, 2, 2, 2, 2194, 2196, 5, 507, 254, 2, 2195, 2194, 3, 2, 2, 2, 2196, 2197, 3, 2, 2, 2, 2197, 2195, 3, 2, 2, 2, 2197, 2198, 3, 2, 2, 2, 2198, 2200, 3, 2, 2, 2, 2199, 2201, 5, 505, 253, 2, 2200, 2199, 3, 2, 2, 2, 2200, 2201, 3, 2, 2, 2, 2201, 2202, 3, 2, 2, 2, 2202, 2203, 7, 70, 2, 2, 2203, 2212, 3, 2, 2, 2, 2204, 2206, 5, 503, 252, 2, 2205, 2207, 5, 505, 253, 2, 2206, 2205, 3, 2, 2, 2, 2206, 2207, 3, 2, 2, 2, 2207, 2208, 3, 2, 2, 2, 2208, 2209, 7, 70, 2, 2, 2209, 2210, 6, 248, 3, 2, 2210, 2212, 3, 2, 2, 2, 2211, 2195, 3, 2, 2, 2, 2211, 2204, 3, 2, 2, 2, 2212, 496, 3, 2, 2, 2, 2213, 2215, 5, 507, 254, 2, 2214, 2213, 3, 2, 2, 2, 2215, 2216, 3, 2, 2, 2, 2216, 2214, 3, 2, 2, 2, 2216, 2217, 3, 2, 2, 2, 2217, 2219, 3, 2, 2, 2, 2218, 2220, 5, 505, 253, 2, 2219, 2218, 3, 2, 2, 2, 2219, 2220, 3, 2, 2, 2, 2220, 2221, 3, 2, 2, 2, 2221, 2222, 7, 68, 2, 2, 2222, 2223, 7, 70, 2, 2, 2223, 2234, 3, 2, 2, 2, 2224, 2226, 5, 503, 252, 2, 2225, 2227, 5, 505, 253, 2, 2226, 2225, 3, 2, 2, 2, 2226, 2227, 3, 2, 2, 2, 2227, 2228, 3, 2, 2, 2, 2228, 2229, 7, 68, 2, 2, 2229, 2230, 7, 70, 2, 2, 2230, 2231, 3, 2, 2, 2, 2231, 2232, 6, 249, 4, 2, 2232, 2234, 3, 2, 2, 2, 2233, 2214, 3, 2, 2, 2, 2233, 2224, 3, 2, 2, 2, 2234, 498, 3, 2, 2, 2, 2235, 2239, 5, 509, 255, 2, 2236, 2239, 5, 507, 254, 2, 2237, 2239, 7, 97, 2, 2, 2238, 2235, 3, 2, 2, 2, 2238, 2236, 3, 2, 2, 2, 2238, 2237, 3, 2, 2, 2, 2239, 2240, 3, 2, 2, 2, 2240, 2238, 3, 2, 2, 2, 2240, 2241, 3, 2, 2, 2, 2241, 500, 3, 2, 2, 2, 2242, 2248, 7, 98, 2, 2, 2243, 2247, 10, 4, 2, 2, 2244, 2245, 7, 98, 2, 2, 2245, 2247, 7, 98, 2, 2, 2246, 2243, 3, 2, 2, 2, 2246, 2244, 3, 2, 2, 2, 2247, 2250, 3, 2, 2, 2, 2248, 2246, 3, 2, 2, 2, 2248, 2249, 3, 2, 2, 2, 2249, 2251, 3, 2, 2, 2, 2250, 2248, 3, 2, 2, 2, 2251, 2252, 7, 98, 2, 2, 2252, 502, 3, 2, 2, 2, 2253, 2255, 5, 507, 254, 2, 2254, 2253, 3, 2, 2, 2, 2255, 2256, 3, 2, 2, 2, 2256, 2254, 3, 2, 2, 2, 2256, 2257, 3, 2, 2, 2, 2257, 2258, 3, 2, 2, 2, 2258, 2262, 7, 48, 2, 2, 2259, 2261, 5, 507, 254, 2, 2260, 2259, 3, 2, 2, 2, 2261, 2264, 3, 2, 2, 2, 2262, 2260, 3, 2, 2, 2, 2262, 2263, 3, 2, 2, 2, 2263, 2272, 3, 2, 2, 2, 2264, 2262, 3, 2, 2, 2, 2265, 2267, 7, 48, 2, 2, 2266, 2268, 5, 507, 254, 2, 2267, 2266, 3, 2, 2, 2, 2268, 2269, 3, 2, 2, 2, 2269, 2267, 3, 2, 2, 2, 2269, 2270, 3, 2, 2, 2, 2270, 2272, 3, 2, 2, 2, 2271, 2254, 3, 2, 2, 2, 2271, 2265, 3, 2, 2, 2, 2272, 504, 3, 2, 2, 2, 2273, 2275, 7, 71, 2, 2, 2274, 2276, 9, 5, 2, 2, 2275, 2274, 3, 2, 2, 2, 2275, 2276, 3, 2, 2, 2, 2276, 2278, 3, 2, 2, 2, 2277, 2279, 5, 507, 254, 2, 2278, 2277, 3, 2, 2, 2, 2279, 2280, 3, 2, 2, 2, 2280, 2278, 3, 2, 2, 2, 2280, 2281, 3, 2, 2, 2, 2281, 506, 3, 2, 2, 2, 2282, 2283, 9, 6, 2, 2, 2283, 508, 3, 2, 2, 2, 2284, 2285, 9, 7, 2, 2, 2285, 510, 3, 2, 2, 2, 2286, 2287, 7, 47, 2, 2, 2287, 2288, 7, 47, 2, 2, 2288, 2292, 3, 2, 2, 2, 2289, 2291, 10, 8, 2, 2, 2290, 2289, 3, 2, 2, 2, 2291, 2294, 3, 2, 2, 2, 2292, 2290, 3, 2, 2, 2, 2292, 2293, 3, 2, 2, 2, 2293, 2296, 3, 2, 2, 2, 2294, 2292, 3, 2, 2, 2, 2295, 2297, 7, 15, 2, 2, 2296, 2295, 3, 2, 2, 2, 2296, 2297, 3, 2, 2, 2, 2297, 2299, 3, 2, 2, 2, 2298, 2300, 7, 12, 2, 2, 2299, 2298, 3, 2, 2, 2, 2299, 2300, 3, 2, 2, 2, 2300, 2301, 3, 2, 2, 2, 2301, 2302, 8, 256, 2, 2, 2302, 512, 3, 2, 2, 2, 2303, 2304, 7, 49, 2, 2, 2304, 2305, 7, 44, 2, 2, 2305, 2306, 7, 44, 2, 2, 2306, 2307, 7, 49, 2, 2, 2307, 2308, 3, 2, 2, 2, 2308, 2309, 8, 257, 2, 2, 2309, 514, 3, 2, 2, 2, 2310, 2311, 7, 49, 2, 2, 2311, 2312, 7, 44, 2, 2, 2312, 2313, 3, 2, 2, 2, 2313, 2317, 10, 9, 2, 2, 2314, 2316, 11, 2, 2, 2, 2315, 2314, 3, 2, 2, 2, 2316, 2319, 3, 2, 2, 2, 2317, 2318, 3, 2, 2, 2, 2317, 2315, 3, 2, 2, 2, 2318, 2320, 3, 2, 2, 2, 2319, 2317, 3, 2, 2, 2, 2320, 2321, 7, 44, 2, 2, 2321, 2322, 7, 49, 2, 2, 2322, 2323, 3, 2, 2, 2, 2323, 2324, 8, 258, 2, 2, 2324, 516, 3, 2, 2, 2, 2325, 2327, 9, 10, 2, 2, 2326, 2325, 3, 2, 2, 2, 2327, 2328, 3, 2, 2, 2, 2328, 2326, 3, 2, 2, 2, 2328, 2329, 3, 2, 2, 2, 2329, 2330, 3, 2, 2, 2, 2330, 2331, 8, 259, 2, 2, 2331, 518, 3, 2, 2, 2, 2332, 2333, 11, 2, 2, 2, 2333, 520, 3, 2, 2, 2, 46, 2, 658, 694, 1300, 1318, 1326, 1635, 1871, 1889, 2135, 2137, 2145, 2147, 2151, 2156, 2163, 2170, 2177, 2182, 2188, 2192, 2197, 2200, 2206, 2211, 2216, 2219, 2226, 2233, 2238, 2240, 2246, 2248, 2256, 2262, 2269, 2271, 2275, 2280, 2292, 2296, 2299, 2317, 2328, 3, 2, 3, 2] \ No newline at end of file diff --git a/src/antlr4/flinksql/sqlLexer.js b/src/antlr4/flinksql/sqlLexer.js new file mode 100644 index 0000000..adeab01 --- /dev/null +++ b/src/antlr4/flinksql/sqlLexer.js @@ -0,0 +1,2051 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); + + +var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", + "\u0002\u0101\u091e\b\u0001\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004", + "\u0004\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t", + "\u0007\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004", + "\f\t\f\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010", + "\t\u0010\u0004\u0011\t\u0011\u0004\u0012\t\u0012\u0004\u0013\t\u0013", + "\u0004\u0014\t\u0014\u0004\u0015\t\u0015\u0004\u0016\t\u0016\u0004\u0017", + "\t\u0017\u0004\u0018\t\u0018\u0004\u0019\t\u0019\u0004\u001a\t\u001a", + "\u0004\u001b\t\u001b\u0004\u001c\t\u001c\u0004\u001d\t\u001d\u0004\u001e", + "\t\u001e\u0004\u001f\t\u001f\u0004 \t \u0004!\t!\u0004\"\t\"\u0004#", + "\t#\u0004$\t$\u0004%\t%\u0004&\t&\u0004\'\t\'\u0004(\t(\u0004)\t)\u0004", + "*\t*\u0004+\t+\u0004,\t,\u0004-\t-\u0004.\t.\u0004/\t/\u00040\t0\u0004", + "1\t1\u00042\t2\u00043\t3\u00044\t4\u00045\t5\u00046\t6\u00047\t7\u0004", + "8\t8\u00049\t9\u0004:\t:\u0004;\t;\u0004<\t<\u0004=\t=\u0004>\t>\u0004", + "?\t?\u0004@\t@\u0004A\tA\u0004B\tB\u0004C\tC\u0004D\tD\u0004E\tE\u0004", + "F\tF\u0004G\tG\u0004H\tH\u0004I\tI\u0004J\tJ\u0004K\tK\u0004L\tL\u0004", + "M\tM\u0004N\tN\u0004O\tO\u0004P\tP\u0004Q\tQ\u0004R\tR\u0004S\tS\u0004", + "T\tT\u0004U\tU\u0004V\tV\u0004W\tW\u0004X\tX\u0004Y\tY\u0004Z\tZ\u0004", + "[\t[\u0004\\\t\\\u0004]\t]\u0004^\t^\u0004_\t_\u0004`\t`\u0004a\ta\u0004", + "b\tb\u0004c\tc\u0004d\td\u0004e\te\u0004f\tf\u0004g\tg\u0004h\th\u0004", + "i\ti\u0004j\tj\u0004k\tk\u0004l\tl\u0004m\tm\u0004n\tn\u0004o\to\u0004", + "p\tp\u0004q\tq\u0004r\tr\u0004s\ts\u0004t\tt\u0004u\tu\u0004v\tv\u0004", + "w\tw\u0004x\tx\u0004y\ty\u0004z\tz\u0004{\t{\u0004|\t|\u0004}\t}\u0004", + "~\t~\u0004\u007f\t\u007f\u0004\u0080\t\u0080\u0004\u0081\t\u0081\u0004", + "\u0082\t\u0082\u0004\u0083\t\u0083\u0004\u0084\t\u0084\u0004\u0085\t", + "\u0085\u0004\u0086\t\u0086\u0004\u0087\t\u0087\u0004\u0088\t\u0088\u0004", + "\u0089\t\u0089\u0004\u008a\t\u008a\u0004\u008b\t\u008b\u0004\u008c\t", + "\u008c\u0004\u008d\t\u008d\u0004\u008e\t\u008e\u0004\u008f\t\u008f\u0004", + "\u0090\t\u0090\u0004\u0091\t\u0091\u0004\u0092\t\u0092\u0004\u0093\t", + "\u0093\u0004\u0094\t\u0094\u0004\u0095\t\u0095\u0004\u0096\t\u0096\u0004", + "\u0097\t\u0097\u0004\u0098\t\u0098\u0004\u0099\t\u0099\u0004\u009a\t", + "\u009a\u0004\u009b\t\u009b\u0004\u009c\t\u009c\u0004\u009d\t\u009d\u0004", + "\u009e\t\u009e\u0004\u009f\t\u009f\u0004\u00a0\t\u00a0\u0004\u00a1\t", + "\u00a1\u0004\u00a2\t\u00a2\u0004\u00a3\t\u00a3\u0004\u00a4\t\u00a4\u0004", + "\u00a5\t\u00a5\u0004\u00a6\t\u00a6\u0004\u00a7\t\u00a7\u0004\u00a8\t", + "\u00a8\u0004\u00a9\t\u00a9\u0004\u00aa\t\u00aa\u0004\u00ab\t\u00ab\u0004", + "\u00ac\t\u00ac\u0004\u00ad\t\u00ad\u0004\u00ae\t\u00ae\u0004\u00af\t", + "\u00af\u0004\u00b0\t\u00b0\u0004\u00b1\t\u00b1\u0004\u00b2\t\u00b2\u0004", + "\u00b3\t\u00b3\u0004\u00b4\t\u00b4\u0004\u00b5\t\u00b5\u0004\u00b6\t", + "\u00b6\u0004\u00b7\t\u00b7\u0004\u00b8\t\u00b8\u0004\u00b9\t\u00b9\u0004", + "\u00ba\t\u00ba\u0004\u00bb\t\u00bb\u0004\u00bc\t\u00bc\u0004\u00bd\t", + "\u00bd\u0004\u00be\t\u00be\u0004\u00bf\t\u00bf\u0004\u00c0\t\u00c0\u0004", + "\u00c1\t\u00c1\u0004\u00c2\t\u00c2\u0004\u00c3\t\u00c3\u0004\u00c4\t", + "\u00c4\u0004\u00c5\t\u00c5\u0004\u00c6\t\u00c6\u0004\u00c7\t\u00c7\u0004", + "\u00c8\t\u00c8\u0004\u00c9\t\u00c9\u0004\u00ca\t\u00ca\u0004\u00cb\t", + "\u00cb\u0004\u00cc\t\u00cc\u0004\u00cd\t\u00cd\u0004\u00ce\t\u00ce\u0004", + "\u00cf\t\u00cf\u0004\u00d0\t\u00d0\u0004\u00d1\t\u00d1\u0004\u00d2\t", + "\u00d2\u0004\u00d3\t\u00d3\u0004\u00d4\t\u00d4\u0004\u00d5\t\u00d5\u0004", + "\u00d6\t\u00d6\u0004\u00d7\t\u00d7\u0004\u00d8\t\u00d8\u0004\u00d9\t", + "\u00d9\u0004\u00da\t\u00da\u0004\u00db\t\u00db\u0004\u00dc\t\u00dc\u0004", + "\u00dd\t\u00dd\u0004\u00de\t\u00de\u0004\u00df\t\u00df\u0004\u00e0\t", + "\u00e0\u0004\u00e1\t\u00e1\u0004\u00e2\t\u00e2\u0004\u00e3\t\u00e3\u0004", + "\u00e4\t\u00e4\u0004\u00e5\t\u00e5\u0004\u00e6\t\u00e6\u0004\u00e7\t", + "\u00e7\u0004\u00e8\t\u00e8\u0004\u00e9\t\u00e9\u0004\u00ea\t\u00ea\u0004", + "\u00eb\t\u00eb\u0004\u00ec\t\u00ec\u0004\u00ed\t\u00ed\u0004\u00ee\t", + "\u00ee\u0004\u00ef\t\u00ef\u0004\u00f0\t\u00f0\u0004\u00f1\t\u00f1\u0004", + "\u00f2\t\u00f2\u0004\u00f3\t\u00f3\u0004\u00f4\t\u00f4\u0004\u00f5\t", + "\u00f5\u0004\u00f6\t\u00f6\u0004\u00f7\t\u00f7\u0004\u00f8\t\u00f8\u0004", + "\u00f9\t\u00f9\u0004\u00fa\t\u00fa\u0004\u00fb\t\u00fb\u0004\u00fc\t", + "\u00fc\u0004\u00fd\t\u00fd\u0004\u00fe\t\u00fe\u0004\u00ff\t\u00ff\u0004", + "\u0100\t\u0100\u0004\u0101\t\u0101\u0004\u0102\t\u0102\u0004\u0103\t", + "\u0103\u0004\u0104\t\u0104\u0003\u0002\u0003\u0002\u0003\u0003\u0003", + "\u0003\u0003\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003\u0006\u0003", + "\u0006\u0003\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\u0007\u0003", + "\b\u0003\b\u0003\b\u0003\t\u0003\t\u0003\n\u0003\n\u0003\u000b\u0003", + "\u000b\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003", + "\r\u0003\r\u0003\r\u0003\r\u0003\r\u0003\u000e\u0003\u000e\u0003\u000e", + "\u0003\u000e\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u0010\u0003\u0010", + "\u0003\u0010\u0003\u0010\u0003\u0011\u0003\u0011\u0003\u0011\u0003\u0011", + "\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0012", + "\u0003\u0012\u0003\u0012\u0003\u0012\u0003\u0013\u0003\u0013\u0003\u0013", + "\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0014\u0003\u0014\u0003\u0014", + "\u0003\u0014\u0003\u0014\u0003\u0014\u0003\u0015\u0003\u0015\u0003\u0015", + "\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016", + "\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0017\u0003\u0017\u0003\u0017", + "\u0003\u0017\u0003\u0017\u0003\u0018\u0003\u0018\u0003\u0018\u0003\u0018", + "\u0003\u0018\u0003\u0019\u0003\u0019\u0003\u0019\u0003\u0019\u0003\u0019", + "\u0003\u0019\u0003\u0019\u0003\u001a\u0003\u001a\u0003\u001a\u0003\u001a", + "\u0003\u001a\u0003\u001a\u0003\u001b\u0003\u001b\u0003\u001b\u0003\u001b", + "\u0003\u001b\u0003\u001b\u0003\u001b\u0003\u001c\u0003\u001c\u0003\u001c", + "\u0003\u001c\u0003\u001c\u0003\u001c\u0003\u001d\u0003\u001d\u0003\u001d", + "\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001f\u0003\u001f\u0003\u001f", + "\u0003\u001f\u0003 \u0003 \u0003 \u0003!\u0003!\u0003!\u0003!\u0005", + "!\u0293\n!\u0003\"\u0003\"\u0003\"\u0003#\u0003#\u0003#\u0003#\u0003", + "#\u0003#\u0003#\u0003$\u0003$\u0003$\u0003$\u0003$\u0003$\u0003$\u0003", + "$\u0003%\u0003%\u0003%\u0003%\u0003%\u0003&\u0003&\u0003&\u0003&\u0003", + "&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0005&\u02b7\n&\u0003\'", + "\u0003\'\u0003\'\u0003(\u0003(\u0003(\u0003(\u0003(\u0003)\u0003)\u0003", + ")\u0003)\u0003)\u0003*\u0003*\u0003*\u0003*\u0003*\u0003*\u0003+\u0003", + "+\u0003+\u0003+\u0003+\u0003+\u0003,\u0003,\u0003,\u0003,\u0003-\u0003", + "-\u0003-\u0003-\u0003-\u0003.\u0003.\u0003.\u0003.\u0003/\u0003/\u0003", + "/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u00030\u00030\u00030\u0003", + "0\u00030\u00031\u00031\u00031\u00031\u00031\u00032\u00032\u00032\u0003", + "2\u00032\u00033\u00033\u00033\u00033\u00033\u00034\u00034\u00034\u0003", + "4\u00035\u00035\u00035\u00035\u00035\u00036\u00036\u00036\u00036\u0003", + "6\u00036\u00037\u00037\u00037\u00037\u00037\u00037\u00038\u00038\u0003", + "8\u00038\u00038\u00038\u00039\u00039\u00039\u00039\u00039\u0003:\u0003", + ":\u0003:\u0003:\u0003:\u0003;\u0003;\u0003;\u0003;\u0003;\u0003;\u0003", + "<\u0003<\u0003<\u0003<\u0003<\u0003=\u0003=\u0003=\u0003=\u0003=\u0003", + "=\u0003=\u0003=\u0003>\u0003>\u0003>\u0003?\u0003?\u0003?\u0003?\u0003", + "?\u0003?\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003@\u0003", + "A\u0003A\u0003A\u0003A\u0003A\u0003A\u0003A\u0003B\u0003B\u0003B\u0003", + "B\u0003B\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0003D\u0003D\u0003D\u0003D\u0003D\u0003D\u0003E\u0003E\u0003", + "E\u0003E\u0003E\u0003F\u0003F\u0003F\u0003F\u0003F\u0003F\u0003F\u0003", + "F\u0003F\u0003F\u0003G\u0003G\u0003G\u0003G\u0003G\u0003G\u0003G\u0003", + "G\u0003G\u0003G\u0003H\u0003H\u0003H\u0003H\u0003H\u0003H\u0003H\u0003", + "H\u0003H\u0003H\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003", + "I\u0003J\u0003J\u0003J\u0003J\u0003J\u0003J\u0003K\u0003K\u0003K\u0003", + "K\u0003K\u0003K\u0003L\u0003L\u0003L\u0003L\u0003L\u0003M\u0003M\u0003", + "M\u0003M\u0003N\u0003N\u0003N\u0003N\u0003N\u0003O\u0003O\u0003O\u0003", + "O\u0003O\u0003O\u0003O\u0003P\u0003P\u0003P\u0003P\u0003P\u0003P\u0003", + "P\u0003Q\u0003Q\u0003Q\u0003Q\u0003Q\u0003Q\u0003R\u0003R\u0003R\u0003", + "R\u0003R\u0003R\u0003R\u0003R\u0003R\u0003R\u0003S\u0003S\u0003S\u0003", + "S\u0003S\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003T\u0003", + "U\u0003U\u0003U\u0003U\u0003U\u0003U\u0003U\u0003V\u0003V\u0003V\u0003", + "V\u0003V\u0003V\u0003V\u0003W\u0003W\u0003W\u0003W\u0003W\u0003X\u0003", + "X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003X\u0003Y\u0003Y\u0003", + "Y\u0003Y\u0003Y\u0003Y\u0003Y\u0003Y\u0003Z\u0003Z\u0003Z\u0003Z\u0003", + "Z\u0003Z\u0003Z\u0003[\u0003[\u0003[\u0003[\u0003[\u0003[\u0003[\u0003", + "[\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003\\\u0003", + "]\u0003]\u0003]\u0003]\u0003]\u0003^\u0003^\u0003^\u0003^\u0003^\u0003", + "_\u0003_\u0003_\u0003_\u0003_\u0003`\u0003`\u0003`\u0003`\u0003`\u0003", + "`\u0003`\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003", + "b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003c\u0003c\u0003c\u0003", + "c\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003", + "d\u0003d\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003e\u0003", + "e\u0003e\u0003f\u0003f\u0003f\u0003f\u0003f\u0003g\u0003g\u0003g\u0003", + "g\u0003g\u0003g\u0003h\u0003h\u0003h\u0003h\u0003h\u0003h\u0003h\u0003", + "i\u0003i\u0003i\u0003i\u0003i\u0003i\u0003j\u0003j\u0003j\u0003j\u0003", + "j\u0003j\u0003j\u0003j\u0003j\u0003j\u0003k\u0003k\u0003k\u0003l\u0003", + "l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003l\u0003", + "l\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003m\u0003", + "n\u0003n\u0003n\u0003n\u0003n\u0003n\u0003o\u0003o\u0003o\u0003o\u0003", + "o\u0003o\u0003o\u0003p\u0003p\u0003p\u0003p\u0003p\u0003p\u0003q\u0003", + "q\u0003q\u0003q\u0003r\u0003r\u0003r\u0003r\u0003r\u0003r\u0003r\u0003", + "s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003s\u0003t\u0003t\u0003", + "t\u0003t\u0003u\u0003u\u0003u\u0003u\u0003u\u0003u\u0003v\u0003v\u0003", + "v\u0003v\u0003v\u0003w\u0003w\u0003w\u0003w\u0003w\u0003w\u0003x\u0003", + "x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003x\u0003", + "x\u0003y\u0003y\u0003y\u0003y\u0003y\u0003y\u0003y\u0003z\u0003z\u0003", + "z\u0003z\u0003z\u0003z\u0003z\u0003z\u0003z\u0003{\u0003{\u0003{\u0003", + "{\u0003{\u0003{\u0003|\u0003|\u0003|\u0003|\u0003|\u0003|\u0003|\u0003", + "}\u0003}\u0003}\u0003}\u0003}\u0003~\u0003~\u0003~\u0003~\u0003~\u0003", + "~\u0003~\u0003~\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003", + "\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u007f\u0003\u0080\u0003", + "\u0080\u0003\u0080\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003", + "\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0081\u0003\u0082\u0003", + "\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003\u0082\u0003", + "\u0082\u0003\u0083\u0003\u0083\u0003\u0083\u0005\u0083\u0515\n\u0083", + "\u0003\u0084\u0003\u0084\u0003\u0084\u0003\u0084\u0003\u0085\u0003\u0085", + "\u0003\u0085\u0003\u0086\u0003\u0086\u0003\u0086\u0003\u0087\u0003\u0087", + "\u0003\u0088\u0003\u0088\u0003\u0088\u0003\u0088\u0005\u0088\u0527\n", + "\u0088\u0003\u0089\u0003\u0089\u0003\u008a\u0003\u008a\u0003\u008a\u0003", + "\u008a\u0005\u008a\u052f\n\u008a\u0003\u008b\u0003\u008b\u0003\u008c", + "\u0003\u008c\u0003\u008d\u0003\u008d\u0003\u008e\u0003\u008e\u0003\u008f", + "\u0003\u008f\u0003\u0090\u0003\u0090\u0003\u0090\u0003\u0090\u0003\u0091", + "\u0003\u0091\u0003\u0092\u0003\u0092\u0003\u0093\u0003\u0093\u0003\u0094", + "\u0003\u0094\u0003\u0094\u0003\u0095\u0003\u0095\u0003\u0096\u0003\u0096", + "\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096\u0003\u0096", + "\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097\u0003\u0097", + "\u0003\u0097\u0003\u0098\u0003\u0098\u0003\u0098\u0003\u0098\u0003\u0099", + "\u0003\u0099\u0003\u0099\u0003\u009a\u0003\u009a\u0003\u009a\u0003\u009a", + "\u0003\u009a\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009b", + "\u0003\u009b\u0003\u009b\u0003\u009b\u0003\u009c\u0003\u009c\u0003\u009c", + "\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c\u0003\u009c", + "\u0003\u009c\u0003\u009c\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d", + "\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d\u0003\u009d", + "\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e", + "\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009e\u0003\u009f\u0003\u009f", + "\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u009f\u0003\u00a0", + "\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a0\u0003\u00a1", + "\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a1\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a2", + "\u0003\u00a2\u0003\u00a2\u0003\u00a2\u0003\u00a3\u0003\u00a3\u0003\u00a3", + "\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3", + "\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a3\u0003\u00a4\u0003\u00a4", + "\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4", + "\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a4\u0003\u00a5", + "\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a5", + "\u0003\u00a5\u0003\u00a5\u0003\u00a5\u0003\u00a6\u0003\u00a6\u0003\u00a6", + "\u0003\u00a6\u0003\u00a6\u0003\u00a6\u0003\u00a6\u0003\u00a7\u0003\u00a7", + "\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a7", + "\u0003\u00a7\u0003\u00a7\u0003\u00a7\u0003\u00a8\u0003\u00a8\u0003\u00a8", + "\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8\u0003\u00a8", + "\u0003\u00a8\u0003\u00a8\u0003\u00a9\u0003\u00a9\u0003\u00a9\u0003\u00a9", + "\u0003\u00a9\u0003\u00a9\u0003\u00aa\u0003\u00aa\u0003\u00aa\u0003\u00aa", + "\u0003\u00aa\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ab", + "\u0003\u00ab\u0003\u00ab\u0003\u00ab\u0003\u00ac\u0003\u00ac\u0003\u00ac", + "\u0003\u00ac\u0003\u00ac\u0003\u00ac\u0003\u00ad\u0003\u00ad\u0003\u00ad", + "\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad\u0003\u00ad", + "\u0003\u00ad\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae", + "\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00ae\u0003\u00af\u0003\u00af", + "\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af\u0003\u00af", + "\u0003\u00af\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b0", + "\u0003\u00b0\u0003\u00b0\u0003\u00b0\u0003\u00b1\u0003\u00b1\u0003\u00b1", + "\u0003\u00b1\u0003\u00b1\u0003\u00b1\u0003\u00b2\u0003\u00b2\u0003\u00b2", + "\u0003\u00b2\u0003\u00b2\u0003\u00b2\u0003\u00b3\u0003\u00b3\u0003\u00b3", + "\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b3\u0003\u00b4", + "\u0003\u00b4\u0003\u00b4\u0003\u00b4\u0003\u00b4\u0003\u00b5\u0003\u00b5", + "\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5\u0003\u00b5", + "\u0003\u00b5\u0003\u00b5\u0003\u00b6\u0003\u00b6\u0003\u00b6\u0003\u00b6", + "\u0003\u00b6\u0003\u00b6\u0003\u00b6\u0003\u00b7\u0003\u00b7\u0003\u00b7", + "\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7", + "\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0003\u00b7\u0005\u00b7\u0664\n", + "\u00b7\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b8\u0003", + "\u00b8\u0003\u00b8\u0003\u00b8\u0003\u00b9\u0003\u00b9\u0003\u00b9\u0003", + "\u00b9\u0003\u00b9\u0003\u00b9\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003", + "\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003", + "\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00ba\u0003\u00bb\u0003", + "\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003", + "\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003\u00bb\u0003", + "\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003\u00bc\u0003", + "\u00bc\u0003\u00bc\u0003\u00bd\u0003\u00bd\u0003\u00bd\u0003\u00bd\u0003", + "\u00bd\u0003\u00bd\u0003\u00bd\u0003\u00be\u0003\u00be\u0003\u00be\u0003", + "\u00be\u0003\u00be\u0003\u00be\u0003\u00be\u0003\u00bf\u0003\u00bf\u0003", + "\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003", + "\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00bf\u0003\u00c0\u0003\u00c0\u0003", + "\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003\u00c0\u0003", + "\u00c0\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003", + "\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c1\u0003\u00c2\u0003\u00c2\u0003", + "\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003\u00c2\u0003", + "\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003", + "\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c3\u0003\u00c4\u0003\u00c4\u0003", + "\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c4\u0003", + "\u00c4\u0003\u00c4\u0003\u00c4\u0003\u00c5\u0003\u00c5\u0003\u00c5\u0003", + "\u00c5\u0003\u00c5\u0003\u00c5\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003", + "\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c6\u0003\u00c7\u0003", + "\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003", + "\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c7\u0003\u00c8\u0003", + "\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003\u00c8\u0003", + "\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003\u00c9\u0003", + "\u00c9\u0003\u00c9\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003", + "\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00ca\u0003\u00cb\u0003", + "\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cb\u0003", + "\u00cb\u0003\u00cb\u0003\u00cb\u0003\u00cc\u0003\u00cc\u0003\u00cc\u0003", + "\u00cc\u0003\u00cc\u0003\u00cc\u0003\u00cc\u0003\u00cd\u0003\u00cd\u0003", + "\u00cd\u0003\u00cd\u0003\u00cd\u0003\u00cd\u0003\u00ce\u0003\u00ce\u0003", + "\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003", + "\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00ce\u0003\u00cf\u0003\u00cf\u0003", + "\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003", + "\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00cf\u0003\u00d0\u0003", + "\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003", + "\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003\u00d0\u0003", + "\u00d0\u0005\u00d0\u0750\n\u00d0\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1\u0003\u00d1", + "\u0003\u00d1\u0005\u00d1\u0762\n\u00d1\u0003\u00d2\u0003\u00d2\u0003", + "\u00d2\u0003\u00d2\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003", + "\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d3\u0003\u00d4\u0003", + "\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003\u00d4\u0003", + "\u00d4\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d5\u0003", + "\u00d5\u0003\u00d5\u0003\u00d5\u0003\u00d6\u0003\u00d6\u0003\u00d6\u0003", + "\u00d6\u0003\u00d6\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003", + "\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003\u00d7\u0003", + "\u00d7\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003", + "\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003\u00d8\u0003", + "\u00d8\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003", + "\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00d9\u0003\u00da\u0003\u00da\u0003", + "\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003\u00da\u0003", + "\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003\u00db\u0003", + "\u00db\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003\u00dc\u0003", + "\u00dc\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003\u00dd\u0003", + "\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003\u00de\u0003", + "\u00de\u0003\u00df\u0003\u00df\u0003\u00df\u0003\u00df\u0003\u00df\u0003", + "\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003\u00e0\u0003", + "\u00e0\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e1\u0003", + "\u00e1\u0003\u00e1\u0003\u00e1\u0003\u00e2\u0003\u00e2\u0003\u00e2\u0003", + "\u00e2\u0003\u00e2\u0003\u00e2\u0003\u00e2\u0003\u00e3\u0003\u00e3\u0003", + "\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e3\u0003\u00e4\u0003", + "\u00e4\u0003\u00e4\u0003\u00e4\u0003\u00e4\u0003\u00e5\u0003\u00e5\u0003", + "\u00e5\u0003\u00e5\u0003\u00e5\u0003\u00e6\u0003\u00e6\u0003\u00e6\u0003", + "\u00e6\u0003\u00e6\u0003\u00e6\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003", + "\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e7\u0003", + "\u00e7\u0003\u00e7\u0003\u00e7\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003", + "\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003\u00e8\u0003", + "\u00e8\u0003\u00e8\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003", + "\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00e9\u0003", + "\u00e9\u0003\u00e9\u0003\u00e9\u0003\u00ea\u0003\u00ea\u0003\u00ea\u0003", + "\u00ea\u0003\u00ea\u0003\u00ea\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003", + "\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00eb\u0003\u00ec\u0003", + "\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ec\u0003\u00ed\u0003", + "\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003\u00ed\u0003", + "\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ee\u0003\u00ef\u0003", + "\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00ef\u0003\u00f0\u0003", + "\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003\u00f0\u0003", + "\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003", + "\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f1\u0003\u00f2\u0003\u00f2\u0003", + "\u00f2\u0003\u00f2\u0007\u00f2\u0858\n\u00f2\f\u00f2\u000e\u00f2\u085b", + "\u000b\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2\u0003\u00f2", + "\u0007\u00f2\u0862\n\u00f2\f\u00f2\u000e\u00f2\u0865\u000b\u00f2\u0003", + "\u00f2\u0005\u00f2\u0868\n\u00f2\u0003\u00f3\u0006\u00f3\u086b\n\u00f3", + "\r\u00f3\u000e\u00f3\u086c\u0003\u00f3\u0003\u00f3\u0003\u00f4\u0006", + "\u00f4\u0872\n\u00f4\r\u00f4\u000e\u00f4\u0873\u0003\u00f4\u0003\u00f4", + "\u0003\u00f5\u0006\u00f5\u0879\n\u00f5\r\u00f5\u000e\u00f5\u087a\u0003", + "\u00f5\u0003\u00f5\u0003\u00f6\u0006\u00f6\u0880\n\u00f6\r\u00f6\u000e", + "\u00f6\u0881\u0003\u00f7\u0006\u00f7\u0885\n\u00f7\r\u00f7\u000e\u00f7", + "\u0886\u0003\u00f7\u0003\u00f7\u0003\u00f7\u0003\u00f7\u0005\u00f7\u088d", + "\n\u00f7\u0003\u00f7\u0003\u00f7\u0005\u00f7\u0891\n\u00f7\u0003\u00f8", + "\u0006\u00f8\u0894\n\u00f8\r\u00f8\u000e\u00f8\u0895\u0003\u00f8\u0005", + "\u00f8\u0899\n\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8", + "\u0005\u00f8\u089f\n\u00f8\u0003\u00f8\u0003\u00f8\u0003\u00f8\u0005", + "\u00f8\u08a4\n\u00f8\u0003\u00f9\u0006\u00f9\u08a7\n\u00f9\r\u00f9\u000e", + "\u00f9\u08a8\u0003\u00f9\u0005\u00f9\u08ac\n\u00f9\u0003\u00f9\u0003", + "\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0005\u00f9\u08b3\n\u00f9", + "\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0003\u00f9\u0005\u00f9", + "\u08ba\n\u00f9\u0003\u00fa\u0003\u00fa\u0003\u00fa\u0006\u00fa\u08bf", + "\n\u00fa\r\u00fa\u000e\u00fa\u08c0\u0003\u00fb\u0003\u00fb\u0003\u00fb", + "\u0003\u00fb\u0007\u00fb\u08c7\n\u00fb\f\u00fb\u000e\u00fb\u08ca\u000b", + "\u00fb\u0003\u00fb\u0003\u00fb\u0003\u00fc\u0006\u00fc\u08cf\n\u00fc", + "\r\u00fc\u000e\u00fc\u08d0\u0003\u00fc\u0003\u00fc\u0007\u00fc\u08d5", + "\n\u00fc\f\u00fc\u000e\u00fc\u08d8\u000b\u00fc\u0003\u00fc\u0003\u00fc", + "\u0006\u00fc\u08dc\n\u00fc\r\u00fc\u000e\u00fc\u08dd\u0005\u00fc\u08e0", + "\n\u00fc\u0003\u00fd\u0003\u00fd\u0005\u00fd\u08e4\n\u00fd\u0003\u00fd", + "\u0006\u00fd\u08e7\n\u00fd\r\u00fd\u000e\u00fd\u08e8\u0003\u00fe\u0003", + "\u00fe\u0003\u00ff\u0003\u00ff\u0003\u0100\u0003\u0100\u0003\u0100\u0003", + "\u0100\u0007\u0100\u08f3\n\u0100\f\u0100\u000e\u0100\u08f6\u000b\u0100", + "\u0003\u0100\u0005\u0100\u08f9\n\u0100\u0003\u0100\u0005\u0100\u08fc", + "\n\u0100\u0003\u0100\u0003\u0100\u0003\u0101\u0003\u0101\u0003\u0101", + "\u0003\u0101\u0003\u0101\u0003\u0101\u0003\u0101\u0003\u0102\u0003\u0102", + "\u0003\u0102\u0003\u0102\u0003\u0102\u0007\u0102\u090c\n\u0102\f\u0102", + "\u000e\u0102\u090f\u000b\u0102\u0003\u0102\u0003\u0102\u0003\u0102\u0003", + "\u0102\u0003\u0102\u0003\u0103\u0006\u0103\u0917\n\u0103\r\u0103\u000e", + "\u0103\u0918\u0003\u0103\u0003\u0103\u0003\u0104\u0003\u0104\u0003\u090d", + "\u0002\u0105\u0003\u0003\u0005\u0004\u0007\u0005\t\u0006\u000b\u0007", + "\r\b\u000f\t\u0011\n\u0013\u000b\u0015\f\u0017\r\u0019\u000e\u001b\u000f", + "\u001d\u0010\u001f\u0011!\u0012#\u0013%\u0014\'\u0015)\u0016+\u0017", + "-\u0018/\u00191\u001a3\u001b5\u001c7\u001d9\u001e;\u001f= ?!A\"C#E$", + "G%I&K\'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s;u{?}@\u007fA\u0081", + "B\u0083C\u0085D\u0087E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095", + "L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9", + "V\u00abW\u00adX\u00afY\u00b1Z\u00b3[\u00b5\\\u00b7]\u00b9^\u00bb_\u00bd", + "`\u00bfa\u00c1b\u00c3c\u00c5d\u00c7e\u00c9f\u00cbg\u00cdh\u00cfi\u00d1", + "j\u00d3k\u00d5l\u00d7m\u00d9n\u00dbo\u00ddp\u00dfq\u00e1r\u00e3s\u00e5", + "t\u00e7u\u00e9v\u00ebw\u00edx\u00efy\u00f1z\u00f3{\u00f5|\u00f7}\u00f9", + "~\u00fb\u007f\u00fd\u0080\u00ff\u0081\u0101\u0082\u0103\u0083\u0105", + "\u0084\u0107\u0085\u0109\u0086\u010b\u0087\u010d\u0088\u010f\u0089\u0111", + "\u008a\u0113\u008b\u0115\u008c\u0117\u008d\u0119\u008e\u011b\u008f\u011d", + "\u0090\u011f\u0091\u0121\u0092\u0123\u0093\u0125\u0094\u0127\u0095\u0129", + "\u0096\u012b\u0097\u012d\u0098\u012f\u0099\u0131\u009a\u0133\u009b\u0135", + "\u009c\u0137\u009d\u0139\u009e\u013b\u009f\u013d\u00a0\u013f\u00a1\u0141", + "\u00a2\u0143\u00a3\u0145\u00a4\u0147\u00a5\u0149\u00a6\u014b\u00a7\u014d", + "\u00a8\u014f\u00a9\u0151\u00aa\u0153\u00ab\u0155\u00ac\u0157\u00ad\u0159", + "\u00ae\u015b\u00af\u015d\u00b0\u015f\u00b1\u0161\u00b2\u0163\u00b3\u0165", + "\u00b4\u0167\u00b5\u0169\u00b6\u016b\u00b7\u016d\u00b8\u016f\u00b9\u0171", + "\u00ba\u0173\u00bb\u0175\u00bc\u0177\u00bd\u0179\u00be\u017b\u00bf\u017d", + "\u00c0\u017f\u00c1\u0181\u00c2\u0183\u00c3\u0185\u00c4\u0187\u00c5\u0189", + "\u00c6\u018b\u00c7\u018d\u00c8\u018f\u00c9\u0191\u00ca\u0193\u00cb\u0195", + "\u00cc\u0197\u00cd\u0199\u00ce\u019b\u00cf\u019d\u00d0\u019f\u00d1\u01a1", + "\u00d2\u01a3\u00d3\u01a5\u00d4\u01a7\u00d5\u01a9\u00d6\u01ab\u00d7\u01ad", + "\u00d8\u01af\u00d9\u01b1\u00da\u01b3\u00db\u01b5\u00dc\u01b7\u00dd\u01b9", + "\u00de\u01bb\u00df\u01bd\u00e0\u01bf\u00e1\u01c1\u00e2\u01c3\u00e3\u01c5", + "\u00e4\u01c7\u00e5\u01c9\u00e6\u01cb\u00e7\u01cd\u00e8\u01cf\u00e9\u01d1", + "\u00ea\u01d3\u00eb\u01d5\u00ec\u01d7\u00ed\u01d9\u00ee\u01db\u00ef\u01dd", + "\u00f0\u01df\u00f1\u01e1\u00f2\u01e3\u00f3\u01e5\u00f4\u01e7\u00f5\u01e9", + "\u00f6\u01eb\u00f7\u01ed\u00f8\u01ef\u00f9\u01f1\u00fa\u01f3\u00fb\u01f5", + "\u00fc\u01f7\u0002\u01f9\u0002\u01fb\u0002\u01fd\u0002\u01ff\u00fd\u0201", + "\u00fe\u0203\u00ff\u0205\u0100\u0207\u0101\u0003\u0002\u000b\u0004\u0002", + "))^^\u0004\u0002$$^^\u0003\u0002bb\u0004\u0002--//\u0003\u00022;\u0003", + "\u0002C\\\u0004\u0002\f\f\u000f\u000f\u0003\u0002--\u0005\u0002\u000b", + "\f\u000f\u000f\"\"\u0002\u0945\u0002\u0003\u0003\u0002\u0002\u0002\u0002", + "\u0005\u0003\u0002\u0002\u0002\u0002\u0007\u0003\u0002\u0002\u0002\u0002", + "\t\u0003\u0002\u0002\u0002\u0002\u000b\u0003\u0002\u0002\u0002\u0002", + "\r\u0003\u0002\u0002\u0002\u0002\u000f\u0003\u0002\u0002\u0002\u0002", + "\u0011\u0003\u0002\u0002\u0002\u0002\u0013\u0003\u0002\u0002\u0002\u0002", + "\u0015\u0003\u0002\u0002\u0002\u0002\u0017\u0003\u0002\u0002\u0002\u0002", + "\u0019\u0003\u0002\u0002\u0002\u0002\u001b\u0003\u0002\u0002\u0002\u0002", + "\u001d\u0003\u0002\u0002\u0002\u0002\u001f\u0003\u0002\u0002\u0002\u0002", + "!\u0003\u0002\u0002\u0002\u0002#\u0003\u0002\u0002\u0002\u0002%\u0003", + "\u0002\u0002\u0002\u0002\'\u0003\u0002\u0002\u0002\u0002)\u0003\u0002", + "\u0002\u0002\u0002+\u0003\u0002\u0002\u0002\u0002-\u0003\u0002\u0002", + "\u0002\u0002/\u0003\u0002\u0002\u0002\u00021\u0003\u0002\u0002\u0002", + "\u00023\u0003\u0002\u0002\u0002\u00025\u0003\u0002\u0002\u0002\u0002", + "7\u0003\u0002\u0002\u0002\u00029\u0003\u0002\u0002\u0002\u0002;\u0003", + "\u0002\u0002\u0002\u0002=\u0003\u0002\u0002\u0002\u0002?\u0003\u0002", + "\u0002\u0002\u0002A\u0003\u0002\u0002\u0002\u0002C\u0003\u0002\u0002", + "\u0002\u0002E\u0003\u0002\u0002\u0002\u0002G\u0003\u0002\u0002\u0002", + "\u0002I\u0003\u0002\u0002\u0002\u0002K\u0003\u0002\u0002\u0002\u0002", + "M\u0003\u0002\u0002\u0002\u0002O\u0003\u0002\u0002\u0002\u0002Q\u0003", + "\u0002\u0002\u0002\u0002S\u0003\u0002\u0002\u0002\u0002U\u0003\u0002", + "\u0002\u0002\u0002W\u0003\u0002\u0002\u0002\u0002Y\u0003\u0002\u0002", + "\u0002\u0002[\u0003\u0002\u0002\u0002\u0002]\u0003\u0002\u0002\u0002", + "\u0002_\u0003\u0002\u0002\u0002\u0002a\u0003\u0002\u0002\u0002\u0002", + "c\u0003\u0002\u0002\u0002\u0002e\u0003\u0002\u0002\u0002\u0002g\u0003", + "\u0002\u0002\u0002\u0002i\u0003\u0002\u0002\u0002\u0002k\u0003\u0002", + "\u0002\u0002\u0002m\u0003\u0002\u0002\u0002\u0002o\u0003\u0002\u0002", + "\u0002\u0002q\u0003\u0002\u0002\u0002\u0002s\u0003\u0002\u0002\u0002", + "\u0002u\u0003\u0002\u0002\u0002\u0002w\u0003\u0002\u0002\u0002\u0002", + "y\u0003\u0002\u0002\u0002\u0002{\u0003\u0002\u0002\u0002\u0002}\u0003", + "\u0002\u0002\u0002\u0002\u007f\u0003\u0002\u0002\u0002\u0002\u0081\u0003", + "\u0002\u0002\u0002\u0002\u0083\u0003\u0002\u0002\u0002\u0002\u0085\u0003", + "\u0002\u0002\u0002\u0002\u0087\u0003\u0002\u0002\u0002\u0002\u0089\u0003", + "\u0002\u0002\u0002\u0002\u008b\u0003\u0002\u0002\u0002\u0002\u008d\u0003", + "\u0002\u0002\u0002\u0002\u008f\u0003\u0002\u0002\u0002\u0002\u0091\u0003", + "\u0002\u0002\u0002\u0002\u0093\u0003\u0002\u0002\u0002\u0002\u0095\u0003", + "\u0002\u0002\u0002\u0002\u0097\u0003\u0002\u0002\u0002\u0002\u0099\u0003", + "\u0002\u0002\u0002\u0002\u009b\u0003\u0002\u0002\u0002\u0002\u009d\u0003", + "\u0002\u0002\u0002\u0002\u009f\u0003\u0002\u0002\u0002\u0002\u00a1\u0003", + "\u0002\u0002\u0002\u0002\u00a3\u0003\u0002\u0002\u0002\u0002\u00a5\u0003", + "\u0002\u0002\u0002\u0002\u00a7\u0003\u0002\u0002\u0002\u0002\u00a9\u0003", + "\u0002\u0002\u0002\u0002\u00ab\u0003\u0002\u0002\u0002\u0002\u00ad\u0003", + "\u0002\u0002\u0002\u0002\u00af\u0003\u0002\u0002\u0002\u0002\u00b1\u0003", + "\u0002\u0002\u0002\u0002\u00b3\u0003\u0002\u0002\u0002\u0002\u00b5\u0003", + "\u0002\u0002\u0002\u0002\u00b7\u0003\u0002\u0002\u0002\u0002\u00b9\u0003", + "\u0002\u0002\u0002\u0002\u00bb\u0003\u0002\u0002\u0002\u0002\u00bd\u0003", + "\u0002\u0002\u0002\u0002\u00bf\u0003\u0002\u0002\u0002\u0002\u00c1\u0003", + "\u0002\u0002\u0002\u0002\u00c3\u0003\u0002\u0002\u0002\u0002\u00c5\u0003", + "\u0002\u0002\u0002\u0002\u00c7\u0003\u0002\u0002\u0002\u0002\u00c9\u0003", + "\u0002\u0002\u0002\u0002\u00cb\u0003\u0002\u0002\u0002\u0002\u00cd\u0003", + "\u0002\u0002\u0002\u0002\u00cf\u0003\u0002\u0002\u0002\u0002\u00d1\u0003", + "\u0002\u0002\u0002\u0002\u00d3\u0003\u0002\u0002\u0002\u0002\u00d5\u0003", + "\u0002\u0002\u0002\u0002\u00d7\u0003\u0002\u0002\u0002\u0002\u00d9\u0003", + "\u0002\u0002\u0002\u0002\u00db\u0003\u0002\u0002\u0002\u0002\u00dd\u0003", + "\u0002\u0002\u0002\u0002\u00df\u0003\u0002\u0002\u0002\u0002\u00e1\u0003", + "\u0002\u0002\u0002\u0002\u00e3\u0003\u0002\u0002\u0002\u0002\u00e5\u0003", + "\u0002\u0002\u0002\u0002\u00e7\u0003\u0002\u0002\u0002\u0002\u00e9\u0003", + "\u0002\u0002\u0002\u0002\u00eb\u0003\u0002\u0002\u0002\u0002\u00ed\u0003", + "\u0002\u0002\u0002\u0002\u00ef\u0003\u0002\u0002\u0002\u0002\u00f1\u0003", + "\u0002\u0002\u0002\u0002\u00f3\u0003\u0002\u0002\u0002\u0002\u00f5\u0003", + "\u0002\u0002\u0002\u0002\u00f7\u0003\u0002\u0002\u0002\u0002\u00f9\u0003", + "\u0002\u0002\u0002\u0002\u00fb\u0003\u0002\u0002\u0002\u0002\u00fd\u0003", + "\u0002\u0002\u0002\u0002\u00ff\u0003\u0002\u0002\u0002\u0002\u0101\u0003", + "\u0002\u0002\u0002\u0002\u0103\u0003\u0002\u0002\u0002\u0002\u0105\u0003", + "\u0002\u0002\u0002\u0002\u0107\u0003\u0002\u0002\u0002\u0002\u0109\u0003", + "\u0002\u0002\u0002\u0002\u010b\u0003\u0002\u0002\u0002\u0002\u010d\u0003", + "\u0002\u0002\u0002\u0002\u010f\u0003\u0002\u0002\u0002\u0002\u0111\u0003", + "\u0002\u0002\u0002\u0002\u0113\u0003\u0002\u0002\u0002\u0002\u0115\u0003", + "\u0002\u0002\u0002\u0002\u0117\u0003\u0002\u0002\u0002\u0002\u0119\u0003", + "\u0002\u0002\u0002\u0002\u011b\u0003\u0002\u0002\u0002\u0002\u011d\u0003", + "\u0002\u0002\u0002\u0002\u011f\u0003\u0002\u0002\u0002\u0002\u0121\u0003", + "\u0002\u0002\u0002\u0002\u0123\u0003\u0002\u0002\u0002\u0002\u0125\u0003", + "\u0002\u0002\u0002\u0002\u0127\u0003\u0002\u0002\u0002\u0002\u0129\u0003", + "\u0002\u0002\u0002\u0002\u012b\u0003\u0002\u0002\u0002\u0002\u012d\u0003", + "\u0002\u0002\u0002\u0002\u012f\u0003\u0002\u0002\u0002\u0002\u0131\u0003", + "\u0002\u0002\u0002\u0002\u0133\u0003\u0002\u0002\u0002\u0002\u0135\u0003", + "\u0002\u0002\u0002\u0002\u0137\u0003\u0002\u0002\u0002\u0002\u0139\u0003", + "\u0002\u0002\u0002\u0002\u013b\u0003\u0002\u0002\u0002\u0002\u013d\u0003", + "\u0002\u0002\u0002\u0002\u013f\u0003\u0002\u0002\u0002\u0002\u0141\u0003", + "\u0002\u0002\u0002\u0002\u0143\u0003\u0002\u0002\u0002\u0002\u0145\u0003", + "\u0002\u0002\u0002\u0002\u0147\u0003\u0002\u0002\u0002\u0002\u0149\u0003", + "\u0002\u0002\u0002\u0002\u014b\u0003\u0002\u0002\u0002\u0002\u014d\u0003", + "\u0002\u0002\u0002\u0002\u014f\u0003\u0002\u0002\u0002\u0002\u0151\u0003", + "\u0002\u0002\u0002\u0002\u0153\u0003\u0002\u0002\u0002\u0002\u0155\u0003", + "\u0002\u0002\u0002\u0002\u0157\u0003\u0002\u0002\u0002\u0002\u0159\u0003", + "\u0002\u0002\u0002\u0002\u015b\u0003\u0002\u0002\u0002\u0002\u015d\u0003", + "\u0002\u0002\u0002\u0002\u015f\u0003\u0002\u0002\u0002\u0002\u0161\u0003", + "\u0002\u0002\u0002\u0002\u0163\u0003\u0002\u0002\u0002\u0002\u0165\u0003", + "\u0002\u0002\u0002\u0002\u0167\u0003\u0002\u0002\u0002\u0002\u0169\u0003", + "\u0002\u0002\u0002\u0002\u016b\u0003\u0002\u0002\u0002\u0002\u016d\u0003", + "\u0002\u0002\u0002\u0002\u016f\u0003\u0002\u0002\u0002\u0002\u0171\u0003", + "\u0002\u0002\u0002\u0002\u0173\u0003\u0002\u0002\u0002\u0002\u0175\u0003", + "\u0002\u0002\u0002\u0002\u0177\u0003\u0002\u0002\u0002\u0002\u0179\u0003", + "\u0002\u0002\u0002\u0002\u017b\u0003\u0002\u0002\u0002\u0002\u017d\u0003", + "\u0002\u0002\u0002\u0002\u017f\u0003\u0002\u0002\u0002\u0002\u0181\u0003", + "\u0002\u0002\u0002\u0002\u0183\u0003\u0002\u0002\u0002\u0002\u0185\u0003", + "\u0002\u0002\u0002\u0002\u0187\u0003\u0002\u0002\u0002\u0002\u0189\u0003", + "\u0002\u0002\u0002\u0002\u018b\u0003\u0002\u0002\u0002\u0002\u018d\u0003", + "\u0002\u0002\u0002\u0002\u018f\u0003\u0002\u0002\u0002\u0002\u0191\u0003", + "\u0002\u0002\u0002\u0002\u0193\u0003\u0002\u0002\u0002\u0002\u0195\u0003", + "\u0002\u0002\u0002\u0002\u0197\u0003\u0002\u0002\u0002\u0002\u0199\u0003", + "\u0002\u0002\u0002\u0002\u019b\u0003\u0002\u0002\u0002\u0002\u019d\u0003", + "\u0002\u0002\u0002\u0002\u019f\u0003\u0002\u0002\u0002\u0002\u01a1\u0003", + "\u0002\u0002\u0002\u0002\u01a3\u0003\u0002\u0002\u0002\u0002\u01a5\u0003", + "\u0002\u0002\u0002\u0002\u01a7\u0003\u0002\u0002\u0002\u0002\u01a9\u0003", + "\u0002\u0002\u0002\u0002\u01ab\u0003\u0002\u0002\u0002\u0002\u01ad\u0003", + "\u0002\u0002\u0002\u0002\u01af\u0003\u0002\u0002\u0002\u0002\u01b1\u0003", + "\u0002\u0002\u0002\u0002\u01b3\u0003\u0002\u0002\u0002\u0002\u01b5\u0003", + "\u0002\u0002\u0002\u0002\u01b7\u0003\u0002\u0002\u0002\u0002\u01b9\u0003", + "\u0002\u0002\u0002\u0002\u01bb\u0003\u0002\u0002\u0002\u0002\u01bd\u0003", + "\u0002\u0002\u0002\u0002\u01bf\u0003\u0002\u0002\u0002\u0002\u01c1\u0003", + "\u0002\u0002\u0002\u0002\u01c3\u0003\u0002\u0002\u0002\u0002\u01c5\u0003", + "\u0002\u0002\u0002\u0002\u01c7\u0003\u0002\u0002\u0002\u0002\u01c9\u0003", + "\u0002\u0002\u0002\u0002\u01cb\u0003\u0002\u0002\u0002\u0002\u01cd\u0003", + "\u0002\u0002\u0002\u0002\u01cf\u0003\u0002\u0002\u0002\u0002\u01d1\u0003", + "\u0002\u0002\u0002\u0002\u01d3\u0003\u0002\u0002\u0002\u0002\u01d5\u0003", + "\u0002\u0002\u0002\u0002\u01d7\u0003\u0002\u0002\u0002\u0002\u01d9\u0003", + "\u0002\u0002\u0002\u0002\u01db\u0003\u0002\u0002\u0002\u0002\u01dd\u0003", + "\u0002\u0002\u0002\u0002\u01df\u0003\u0002\u0002\u0002\u0002\u01e1\u0003", + "\u0002\u0002\u0002\u0002\u01e3\u0003\u0002\u0002\u0002\u0002\u01e5\u0003", + "\u0002\u0002\u0002\u0002\u01e7\u0003\u0002\u0002\u0002\u0002\u01e9\u0003", + "\u0002\u0002\u0002\u0002\u01eb\u0003\u0002\u0002\u0002\u0002\u01ed\u0003", + "\u0002\u0002\u0002\u0002\u01ef\u0003\u0002\u0002\u0002\u0002\u01f1\u0003", + "\u0002\u0002\u0002\u0002\u01f3\u0003\u0002\u0002\u0002\u0002\u01f5\u0003", + "\u0002\u0002\u0002\u0002\u01ff\u0003\u0002\u0002\u0002\u0002\u0201\u0003", + "\u0002\u0002\u0002\u0002\u0203\u0003\u0002\u0002\u0002\u0002\u0205\u0003", + "\u0002\u0002\u0002\u0002\u0207\u0003\u0002\u0002\u0002\u0003\u0209\u0003", + "\u0002\u0002\u0002\u0005\u020b\u0003\u0002\u0002\u0002\u0007\u020d\u0003", + "\u0002\u0002\u0002\t\u020f\u0003\u0002\u0002\u0002\u000b\u0211\u0003", + "\u0002\u0002\u0002\r\u0215\u0003\u0002\u0002\u0002\u000f\u0218\u0003", + "\u0002\u0002\u0002\u0011\u021b\u0003\u0002\u0002\u0002\u0013\u021d\u0003", + "\u0002\u0002\u0002\u0015\u021f\u0003\u0002\u0002\u0002\u0017\u0221\u0003", + "\u0002\u0002\u0002\u0019\u0228\u0003\u0002\u0002\u0002\u001b\u022d\u0003", + "\u0002\u0002\u0002\u001d\u0231\u0003\u0002\u0002\u0002\u001f\u0234\u0003", + "\u0002\u0002\u0002!\u0238\u0003\u0002\u0002\u0002#\u023c\u0003\u0002", + "\u0002\u0002%\u0245\u0003\u0002\u0002\u0002\'\u024b\u0003\u0002\u0002", + "\u0002)\u0251\u0003\u0002\u0002\u0002+\u0254\u0003\u0002\u0002\u0002", + "-\u025d\u0003\u0002\u0002\u0002/\u0262\u0003\u0002\u0002\u00021\u0267", + "\u0003\u0002\u0002\u00023\u026e\u0003\u0002\u0002\u00025\u0274\u0003", + "\u0002\u0002\u00027\u027b\u0003\u0002\u0002\u00029\u0281\u0003\u0002", + "\u0002\u0002;\u0284\u0003\u0002\u0002\u0002=\u0287\u0003\u0002\u0002", + "\u0002?\u028b\u0003\u0002\u0002\u0002A\u0292\u0003\u0002\u0002\u0002", + "C\u0294\u0003\u0002\u0002\u0002E\u0297\u0003\u0002\u0002\u0002G\u029e", + "\u0003\u0002\u0002\u0002I\u02a6\u0003\u0002\u0002\u0002K\u02b6\u0003", + "\u0002\u0002\u0002M\u02b8\u0003\u0002\u0002\u0002O\u02bb\u0003\u0002", + "\u0002\u0002Q\u02c0\u0003\u0002\u0002\u0002S\u02c5\u0003\u0002\u0002", + "\u0002U\u02cb\u0003\u0002\u0002\u0002W\u02d1\u0003\u0002\u0002\u0002", + "Y\u02d5\u0003\u0002\u0002\u0002[\u02da\u0003\u0002\u0002\u0002]\u02de", + "\u0003\u0002\u0002\u0002_\u02e7\u0003\u0002\u0002\u0002a\u02ec\u0003", + "\u0002\u0002\u0002c\u02f1\u0003\u0002\u0002\u0002e\u02f6\u0003\u0002", + "\u0002\u0002g\u02fb\u0003\u0002\u0002\u0002i\u02ff\u0003\u0002\u0002", + "\u0002k\u0304\u0003\u0002\u0002\u0002m\u030a\u0003\u0002\u0002\u0002", + "o\u0310\u0003\u0002\u0002\u0002q\u0316\u0003\u0002\u0002\u0002s\u031b", + "\u0003\u0002\u0002\u0002u\u0320\u0003\u0002\u0002\u0002w\u0326\u0003", + "\u0002\u0002\u0002y\u032b\u0003\u0002\u0002\u0002{\u0333\u0003\u0002", + "\u0002\u0002}\u0336\u0003\u0002\u0002\u0002\u007f\u033c\u0003\u0002", + "\u0002\u0002\u0081\u0344\u0003\u0002\u0002\u0002\u0083\u034b\u0003\u0002", + "\u0002\u0002\u0085\u0350\u0003\u0002\u0002\u0002\u0087\u035a\u0003\u0002", + "\u0002\u0002\u0089\u0360\u0003\u0002\u0002\u0002\u008b\u0365\u0003\u0002", + "\u0002\u0002\u008d\u036f\u0003\u0002\u0002\u0002\u008f\u0379\u0003\u0002", + "\u0002\u0002\u0091\u0383\u0003\u0002\u0002\u0002\u0093\u038b\u0003\u0002", + "\u0002\u0002\u0095\u0391\u0003\u0002\u0002\u0002\u0097\u0397\u0003\u0002", + "\u0002\u0002\u0099\u039c\u0003\u0002\u0002\u0002\u009b\u03a0\u0003\u0002", + "\u0002\u0002\u009d\u03a5\u0003\u0002\u0002\u0002\u009f\u03ac\u0003\u0002", + "\u0002\u0002\u00a1\u03b3\u0003\u0002\u0002\u0002\u00a3\u03b9\u0003\u0002", + "\u0002\u0002\u00a5\u03c3\u0003\u0002\u0002\u0002\u00a7\u03c8\u0003\u0002", + "\u0002\u0002\u00a9\u03d0\u0003\u0002\u0002\u0002\u00ab\u03d7\u0003\u0002", + "\u0002\u0002\u00ad\u03de\u0003\u0002\u0002\u0002\u00af\u03e3\u0003\u0002", + "\u0002\u0002\u00b1\u03ec\u0003\u0002\u0002\u0002\u00b3\u03f4\u0003\u0002", + "\u0002\u0002\u00b5\u03fb\u0003\u0002\u0002\u0002\u00b7\u0403\u0003\u0002", + "\u0002\u0002\u00b9\u040b\u0003\u0002\u0002\u0002\u00bb\u0410\u0003\u0002", + "\u0002\u0002\u00bd\u0415\u0003\u0002\u0002\u0002\u00bf\u041a\u0003\u0002", + "\u0002\u0002\u00c1\u0421\u0003\u0002\u0002\u0002\u00c3\u0429\u0003\u0002", + "\u0002\u0002\u00c5\u0430\u0003\u0002\u0002\u0002\u00c7\u0434\u0003\u0002", + "\u0002\u0002\u00c9\u043f\u0003\u0002\u0002\u0002\u00cb\u0449\u0003\u0002", + "\u0002\u0002\u00cd\u044e\u0003\u0002\u0002\u0002\u00cf\u0454\u0003\u0002", + "\u0002\u0002\u00d1\u045b\u0003\u0002\u0002\u0002\u00d3\u0461\u0003\u0002", + "\u0002\u0002\u00d5\u046b\u0003\u0002\u0002\u0002\u00d7\u046e\u0003\u0002", + "\u0002\u0002\u00d9\u047a\u0003\u0002\u0002\u0002\u00db\u0483\u0003\u0002", + "\u0002\u0002\u00dd\u0489\u0003\u0002\u0002\u0002\u00df\u0490\u0003\u0002", + "\u0002\u0002\u00e1\u0496\u0003\u0002\u0002\u0002\u00e3\u049a\u0003\u0002", + "\u0002\u0002\u00e5\u04a1\u0003\u0002\u0002\u0002\u00e7\u04a9\u0003\u0002", + "\u0002\u0002\u00e9\u04ad\u0003\u0002\u0002\u0002\u00eb\u04b3\u0003\u0002", + "\u0002\u0002\u00ed\u04b8\u0003\u0002\u0002\u0002\u00ef\u04be\u0003\u0002", + "\u0002\u0002\u00f1\u04ca\u0003\u0002\u0002\u0002\u00f3\u04d1\u0003\u0002", + "\u0002\u0002\u00f5\u04da\u0003\u0002\u0002\u0002\u00f7\u04e0\u0003\u0002", + "\u0002\u0002\u00f9\u04e7\u0003\u0002\u0002\u0002\u00fb\u04ec\u0003\u0002", + "\u0002\u0002\u00fd\u04f4\u0003\u0002\u0002\u0002\u00ff\u04fd\u0003\u0002", + "\u0002\u0002\u0101\u0500\u0003\u0002\u0002\u0002\u0103\u0509\u0003\u0002", + "\u0002\u0002\u0105\u0514\u0003\u0002\u0002\u0002\u0107\u0516\u0003\u0002", + "\u0002\u0002\u0109\u051a\u0003\u0002\u0002\u0002\u010b\u051d\u0003\u0002", + "\u0002\u0002\u010d\u0520\u0003\u0002\u0002\u0002\u010f\u0526\u0003\u0002", + "\u0002\u0002\u0111\u0528\u0003\u0002\u0002\u0002\u0113\u052e\u0003\u0002", + "\u0002\u0002\u0115\u0530\u0003\u0002\u0002\u0002\u0117\u0532\u0003\u0002", + "\u0002\u0002\u0119\u0534\u0003\u0002\u0002\u0002\u011b\u0536\u0003\u0002", + "\u0002\u0002\u011d\u0538\u0003\u0002\u0002\u0002\u011f\u053a\u0003\u0002", + "\u0002\u0002\u0121\u053e\u0003\u0002\u0002\u0002\u0123\u0540\u0003\u0002", + "\u0002\u0002\u0125\u0542\u0003\u0002\u0002\u0002\u0127\u0544\u0003\u0002", + "\u0002\u0002\u0129\u0547\u0003\u0002\u0002\u0002\u012b\u0549\u0003\u0002", + "\u0002\u0002\u012d\u0551\u0003\u0002\u0002\u0002\u012f\u0558\u0003\u0002", + "\u0002\u0002\u0131\u055c\u0003\u0002\u0002\u0002\u0133\u055f\u0003\u0002", + "\u0002\u0002\u0135\u0564\u0003\u0002\u0002\u0002\u0137\u056c\u0003\u0002", + "\u0002\u0002\u0139\u0577\u0003\u0002\u0002\u0002\u013b\u0581\u0003\u0002", + "\u0002\u0002\u013d\u058b\u0003\u0002\u0002\u0002\u013f\u0592\u0003\u0002", + "\u0002\u0002\u0141\u0598\u0003\u0002\u0002\u0002\u0143\u059e\u0003\u0002", + "\u0002\u0002\u0145\u05ae\u0003\u0002\u0002\u0002\u0147\u05bb\u0003\u0002", + "\u0002\u0002\u0149\u05c8\u0003\u0002\u0002\u0002\u014b\u05d2\u0003\u0002", + "\u0002\u0002\u014d\u05d9\u0003\u0002\u0002\u0002\u014f\u05e4\u0003\u0002", + "\u0002\u0002\u0151\u05ef\u0003\u0002\u0002\u0002\u0153\u05f5\u0003\u0002", + "\u0002\u0002\u0155\u05fa\u0003\u0002\u0002\u0002\u0157\u0602\u0003\u0002", + "\u0002\u0002\u0159\u0608\u0003\u0002\u0002\u0002\u015b\u0612\u0003\u0002", + "\u0002\u0002\u015d\u061b\u0003\u0002\u0002\u0002\u015f\u0624\u0003\u0002", + "\u0002\u0002\u0161\u062c\u0003\u0002\u0002\u0002\u0163\u0632\u0003\u0002", + "\u0002\u0002\u0165\u0638\u0003\u0002\u0002\u0002\u0167\u0640\u0003\u0002", + "\u0002\u0002\u0169\u0645\u0003\u0002\u0002\u0002\u016b\u064f\u0003\u0002", + "\u0002\u0002\u016d\u0663\u0003\u0002\u0002\u0002\u016f\u0665\u0003\u0002", + "\u0002\u0002\u0171\u066d\u0003\u0002\u0002\u0002\u0173\u0673\u0003\u0002", + "\u0002\u0002\u0175\u0681\u0003\u0002\u0002\u0002\u0177\u068e\u0003\u0002", + "\u0002\u0002\u0179\u0696\u0003\u0002\u0002\u0002\u017b\u069d\u0003\u0002", + "\u0002\u0002\u017d\u06a4\u0003\u0002\u0002\u0002\u017f\u06b0\u0003\u0002", + "\u0002\u0002\u0181\u06b9\u0003\u0002\u0002\u0002\u0183\u06c2\u0003\u0002", + "\u0002\u0002\u0185\u06ca\u0003\u0002\u0002\u0002\u0187\u06d4\u0003\u0002", + "\u0002\u0002\u0189\u06df\u0003\u0002\u0002\u0002\u018b\u06e5\u0003\u0002", + "\u0002\u0002\u018d\u06ed\u0003\u0002\u0002\u0002\u018f\u06f9\u0003\u0002", + "\u0002\u0002\u0191\u0700\u0003\u0002\u0002\u0002\u0193\u0708\u0003\u0002", + "\u0002\u0002\u0195\u0711\u0003\u0002\u0002\u0002\u0197\u071b\u0003\u0002", + "\u0002\u0002\u0199\u0722\u0003\u0002\u0002\u0002\u019b\u0728\u0003\u0002", + "\u0002\u0002\u019d\u0734\u0003\u0002\u0002\u0002\u019f\u074f\u0003\u0002", + "\u0002\u0002\u01a1\u0761\u0003\u0002\u0002\u0002\u01a3\u0763\u0003\u0002", + "\u0002\u0002\u01a5\u0767\u0003\u0002\u0002\u0002\u01a7\u0770\u0003\u0002", + "\u0002\u0002\u01a9\u0778\u0003\u0002\u0002\u0002\u01ab\u0780\u0003\u0002", + "\u0002\u0002\u01ad\u0785\u0003\u0002\u0002\u0002\u01af\u0790\u0003\u0002", + "\u0002\u0002\u01b1\u079c\u0003\u0002\u0002\u0002\u01b3\u07a5\u0003\u0002", + "\u0002\u0002\u01b5\u07ad\u0003\u0002\u0002\u0002\u01b7\u07b4\u0003\u0002", + "\u0002\u0002\u01b9\u07ba\u0003\u0002\u0002\u0002\u01bb\u07bf\u0003\u0002", + "\u0002\u0002\u01bd\u07c6\u0003\u0002\u0002\u0002\u01bf\u07cb\u0003\u0002", + "\u0002\u0002\u01c1\u07d2\u0003\u0002\u0002\u0002\u01c3\u07da\u0003\u0002", + "\u0002\u0002\u01c5\u07e1\u0003\u0002\u0002\u0002\u01c7\u07e8\u0003\u0002", + "\u0002\u0002\u01c9\u07ed\u0003\u0002\u0002\u0002\u01cb\u07f2\u0003\u0002", + "\u0002\u0002\u01cd\u07f8\u0003\u0002\u0002\u0002\u01cf\u0804\u0003\u0002", + "\u0002\u0002\u01d1\u080f\u0003\u0002\u0002\u0002\u01d3\u081c\u0003\u0002", + "\u0002\u0002\u01d5\u0822\u0003\u0002\u0002\u0002\u01d7\u082a\u0003\u0002", + "\u0002\u0002\u01d9\u0830\u0003\u0002\u0002\u0002\u01db\u0837\u0003\u0002", + "\u0002\u0002\u01dd\u083c\u0003\u0002\u0002\u0002\u01df\u0842\u0003\u0002", + "\u0002\u0002\u01e1\u0849\u0003\u0002\u0002\u0002\u01e3\u0867\u0003\u0002", + "\u0002\u0002\u01e5\u086a\u0003\u0002\u0002\u0002\u01e7\u0871\u0003\u0002", + "\u0002\u0002\u01e9\u0878\u0003\u0002\u0002\u0002\u01eb\u087f\u0003\u0002", + "\u0002\u0002\u01ed\u0890\u0003\u0002\u0002\u0002\u01ef\u08a3\u0003\u0002", + "\u0002\u0002\u01f1\u08b9\u0003\u0002\u0002\u0002\u01f3\u08be\u0003\u0002", + "\u0002\u0002\u01f5\u08c2\u0003\u0002\u0002\u0002\u01f7\u08df\u0003\u0002", + "\u0002\u0002\u01f9\u08e1\u0003\u0002\u0002\u0002\u01fb\u08ea\u0003\u0002", + "\u0002\u0002\u01fd\u08ec\u0003\u0002\u0002\u0002\u01ff\u08ee\u0003\u0002", + "\u0002\u0002\u0201\u08ff\u0003\u0002\u0002\u0002\u0203\u0906\u0003\u0002", + "\u0002\u0002\u0205\u0916\u0003\u0002\u0002\u0002\u0207\u091c\u0003\u0002", + "\u0002\u0002\u0209\u020a\u0007*\u0002\u0002\u020a\u0004\u0003\u0002", + "\u0002\u0002\u020b\u020c\u0007+\u0002\u0002\u020c\u0006\u0003\u0002", + "\u0002\u0002\u020d\u020e\u00070\u0002\u0002\u020e\b\u0003\u0002\u0002", + "\u0002\u020f\u0210\u0007.\u0002\u0002\u0210\n\u0003\u0002\u0002\u0002", + "\u0211\u0212\u00071\u0002\u0002\u0212\u0213\u0007,\u0002\u0002\u0213", + "\u0214\u0007-\u0002\u0002\u0214\f\u0003\u0002\u0002\u0002\u0215\u0216", + "\u0007,\u0002\u0002\u0216\u0217\u00071\u0002\u0002\u0217\u000e\u0003", + "\u0002\u0002\u0002\u0218\u0219\u0007/\u0002\u0002\u0219\u021a\u0007", + "@\u0002\u0002\u021a\u0010\u0003\u0002\u0002\u0002\u021b\u021c\u0007", + "]\u0002\u0002\u021c\u0012\u0003\u0002\u0002\u0002\u021d\u021e\u0007", + "_\u0002\u0002\u021e\u0014\u0003\u0002\u0002\u0002\u021f\u0220\u0007", + "<\u0002\u0002\u0220\u0016\u0003\u0002\u0002\u0002\u0221\u0222\u0007", + "U\u0002\u0002\u0222\u0223\u0007G\u0002\u0002\u0223\u0224\u0007N\u0002", + "\u0002\u0224\u0225\u0007G\u0002\u0002\u0225\u0226\u0007E\u0002\u0002", + "\u0226\u0227\u0007V\u0002\u0002\u0227\u0018\u0003\u0002\u0002\u0002", + "\u0228\u0229\u0007H\u0002\u0002\u0229\u022a\u0007T\u0002\u0002\u022a", + "\u022b\u0007Q\u0002\u0002\u022b\u022c\u0007O\u0002\u0002\u022c\u001a", + "\u0003\u0002\u0002\u0002\u022d\u022e\u0007C\u0002\u0002\u022e\u022f", + "\u0007F\u0002\u0002\u022f\u0230\u0007F\u0002\u0002\u0230\u001c\u0003", + "\u0002\u0002\u0002\u0231\u0232\u0007C\u0002\u0002\u0232\u0233\u0007", + "U\u0002\u0002\u0233\u001e\u0003\u0002\u0002\u0002\u0234\u0235\u0007", + "C\u0002\u0002\u0235\u0236\u0007N\u0002\u0002\u0236\u0237\u0007N\u0002", + "\u0002\u0237 \u0003\u0002\u0002\u0002\u0238\u0239\u0007C\u0002\u0002", + "\u0239\u023a\u0007P\u0002\u0002\u023a\u023b\u0007[\u0002\u0002\u023b", + "\"\u0003\u0002\u0002\u0002\u023c\u023d\u0007F\u0002\u0002\u023d\u023e", + "\u0007K\u0002\u0002\u023e\u023f\u0007U\u0002\u0002\u023f\u0240\u0007", + "V\u0002\u0002\u0240\u0241\u0007K\u0002\u0002\u0241\u0242\u0007P\u0002", + "\u0002\u0242\u0243\u0007E\u0002\u0002\u0243\u0244\u0007V\u0002\u0002", + "\u0244$\u0003\u0002\u0002\u0002\u0245\u0246\u0007Y\u0002\u0002\u0246", + "\u0247\u0007J\u0002\u0002\u0247\u0248\u0007G\u0002\u0002\u0248\u0249", + "\u0007T\u0002\u0002\u0249\u024a\u0007G\u0002\u0002\u024a&\u0003\u0002", + "\u0002\u0002\u024b\u024c\u0007I\u0002\u0002\u024c\u024d\u0007T\u0002", + "\u0002\u024d\u024e\u0007Q\u0002\u0002\u024e\u024f\u0007W\u0002\u0002", + "\u024f\u0250\u0007R\u0002\u0002\u0250(\u0003\u0002\u0002\u0002\u0251", + "\u0252\u0007D\u0002\u0002\u0252\u0253\u0007[\u0002\u0002\u0253*\u0003", + "\u0002\u0002\u0002\u0254\u0255\u0007I\u0002\u0002\u0255\u0256\u0007", + "T\u0002\u0002\u0256\u0257\u0007Q\u0002\u0002\u0257\u0258\u0007W\u0002", + "\u0002\u0258\u0259\u0007R\u0002\u0002\u0259\u025a\u0007K\u0002\u0002", + "\u025a\u025b\u0007P\u0002\u0002\u025b\u025c\u0007I\u0002\u0002\u025c", + ",\u0003\u0002\u0002\u0002\u025d\u025e\u0007U\u0002\u0002\u025e\u025f", + "\u0007G\u0002\u0002\u025f\u0260\u0007V\u0002\u0002\u0260\u0261\u0007", + "U\u0002\u0002\u0261.\u0003\u0002\u0002\u0002\u0262\u0263\u0007E\u0002", + "\u0002\u0263\u0264\u0007W\u0002\u0002\u0264\u0265\u0007D\u0002\u0002", + "\u0265\u0266\u0007G\u0002\u0002\u02660\u0003\u0002\u0002\u0002\u0267", + "\u0268\u0007T\u0002\u0002\u0268\u0269\u0007Q\u0002\u0002\u0269\u026a", + "\u0007N\u0002\u0002\u026a\u026b\u0007N\u0002\u0002\u026b\u026c\u0007", + "W\u0002\u0002\u026c\u026d\u0007R\u0002\u0002\u026d2\u0003\u0002\u0002", + "\u0002\u026e\u026f\u0007Q\u0002\u0002\u026f\u0270\u0007T\u0002\u0002", + "\u0270\u0271\u0007F\u0002\u0002\u0271\u0272\u0007G\u0002\u0002\u0272", + "\u0273\u0007T\u0002\u0002\u02734\u0003\u0002\u0002\u0002\u0274\u0275", + "\u0007J\u0002\u0002\u0275\u0276\u0007C\u0002\u0002\u0276\u0277\u0007", + "X\u0002\u0002\u0277\u0278\u0007K\u0002\u0002\u0278\u0279\u0007P\u0002", + "\u0002\u0279\u027a\u0007I\u0002\u0002\u027a6\u0003\u0002\u0002\u0002", + "\u027b\u027c\u0007N\u0002\u0002\u027c\u027d\u0007K\u0002\u0002\u027d", + "\u027e\u0007O\u0002\u0002\u027e\u027f\u0007K\u0002\u0002\u027f\u0280", + "\u0007V\u0002\u0002\u02808\u0003\u0002\u0002\u0002\u0281\u0282\u0007", + "C\u0002\u0002\u0282\u0283\u0007V\u0002\u0002\u0283:\u0003\u0002\u0002", + "\u0002\u0284\u0285\u0007Q\u0002\u0002\u0285\u0286\u0007T\u0002\u0002", + "\u0286<\u0003\u0002\u0002\u0002\u0287\u0288\u0007C\u0002\u0002\u0288", + "\u0289\u0007P\u0002\u0002\u0289\u028a\u0007F\u0002\u0002\u028a>\u0003", + "\u0002\u0002\u0002\u028b\u028c\u0007K\u0002\u0002\u028c\u028d\u0007", + "P\u0002\u0002\u028d@\u0003\u0002\u0002\u0002\u028e\u028f\u0007P\u0002", + "\u0002\u028f\u0290\u0007Q\u0002\u0002\u0290\u0293\u0007V\u0002\u0002", + "\u0291\u0293\u0007#\u0002\u0002\u0292\u028e\u0003\u0002\u0002\u0002", + "\u0292\u0291\u0003\u0002\u0002\u0002\u0293B\u0003\u0002\u0002\u0002", + "\u0294\u0295\u0007P\u0002\u0002\u0295\u0296\u0007Q\u0002\u0002\u0296", + "D\u0003\u0002\u0002\u0002\u0297\u0298\u0007G\u0002\u0002\u0298\u0299", + "\u0007Z\u0002\u0002\u0299\u029a\u0007K\u0002\u0002\u029a\u029b\u0007", + "U\u0002\u0002\u029b\u029c\u0007V\u0002\u0002\u029c\u029d\u0007U\u0002", + "\u0002\u029dF\u0003\u0002\u0002\u0002\u029e\u029f\u0007D\u0002\u0002", + "\u029f\u02a0\u0007G\u0002\u0002\u02a0\u02a1\u0007V\u0002\u0002\u02a1", + "\u02a2\u0007Y\u0002\u0002\u02a2\u02a3\u0007G\u0002\u0002\u02a3\u02a4", + "\u0007G\u0002\u0002\u02a4\u02a5\u0007P\u0002\u0002\u02a5H\u0003\u0002", + "\u0002\u0002\u02a6\u02a7\u0007N\u0002\u0002\u02a7\u02a8\u0007K\u0002", + "\u0002\u02a8\u02a9\u0007M\u0002\u0002\u02a9\u02aa\u0007G\u0002\u0002", + "\u02aaJ\u0003\u0002\u0002\u0002\u02ab\u02ac\u0007T\u0002\u0002\u02ac", + "\u02ad\u0007N\u0002\u0002\u02ad\u02ae\u0007K\u0002\u0002\u02ae\u02af", + "\u0007M\u0002\u0002\u02af\u02b7\u0007G\u0002\u0002\u02b0\u02b1\u0007", + "T\u0002\u0002\u02b1\u02b2\u0007G\u0002\u0002\u02b2\u02b3\u0007I\u0002", + "\u0002\u02b3\u02b4\u0007G\u0002\u0002\u02b4\u02b5\u0007Z\u0002\u0002", + "\u02b5\u02b7\u0007R\u0002\u0002\u02b6\u02ab\u0003\u0002\u0002\u0002", + "\u02b6\u02b0\u0003\u0002\u0002\u0002\u02b7L\u0003\u0002\u0002\u0002", + "\u02b8\u02b9\u0007K\u0002\u0002\u02b9\u02ba\u0007U\u0002\u0002\u02ba", + "N\u0003\u0002\u0002\u0002\u02bb\u02bc\u0007P\u0002\u0002\u02bc\u02bd", + "\u0007W\u0002\u0002\u02bd\u02be\u0007N\u0002\u0002\u02be\u02bf\u0007", + "N\u0002\u0002\u02bfP\u0003\u0002\u0002\u0002\u02c0\u02c1\u0007V\u0002", + "\u0002\u02c1\u02c2\u0007T\u0002\u0002\u02c2\u02c3\u0007W\u0002\u0002", + "\u02c3\u02c4\u0007G\u0002\u0002\u02c4R\u0003\u0002\u0002\u0002\u02c5", + "\u02c6\u0007H\u0002\u0002\u02c6\u02c7\u0007C\u0002\u0002\u02c7\u02c8", + "\u0007N\u0002\u0002\u02c8\u02c9\u0007U\u0002\u0002\u02c9\u02ca\u0007", + "G\u0002\u0002\u02caT\u0003\u0002\u0002\u0002\u02cb\u02cc\u0007P\u0002", + "\u0002\u02cc\u02cd\u0007W\u0002\u0002\u02cd\u02ce\u0007N\u0002\u0002", + "\u02ce\u02cf\u0007N\u0002\u0002\u02cf\u02d0\u0007U\u0002\u0002\u02d0", + "V\u0003\u0002\u0002\u0002\u02d1\u02d2\u0007C\u0002\u0002\u02d2\u02d3", + "\u0007U\u0002\u0002\u02d3\u02d4\u0007E\u0002\u0002\u02d4X\u0003\u0002", + "\u0002\u0002\u02d5\u02d6\u0007F\u0002\u0002\u02d6\u02d7\u0007G\u0002", + "\u0002\u02d7\u02d8\u0007U\u0002\u0002\u02d8\u02d9\u0007E\u0002\u0002", + "\u02d9Z\u0003\u0002\u0002\u0002\u02da\u02db\u0007H\u0002\u0002\u02db", + "\u02dc\u0007Q\u0002\u0002\u02dc\u02dd\u0007T\u0002\u0002\u02dd\\\u0003", + "\u0002\u0002\u0002\u02de\u02df\u0007K\u0002\u0002\u02df\u02e0\u0007", + "P\u0002\u0002\u02e0\u02e1\u0007V\u0002\u0002\u02e1\u02e2\u0007G\u0002", + "\u0002\u02e2\u02e3\u0007T\u0002\u0002\u02e3\u02e4\u0007X\u0002\u0002", + "\u02e4\u02e5\u0007C\u0002\u0002\u02e5\u02e6\u0007N\u0002\u0002\u02e6", + "^\u0003\u0002\u0002\u0002\u02e7\u02e8\u0007E\u0002\u0002\u02e8\u02e9", + "\u0007C\u0002\u0002\u02e9\u02ea\u0007U\u0002\u0002\u02ea\u02eb\u0007", + "G\u0002\u0002\u02eb`\u0003\u0002\u0002\u0002\u02ec\u02ed\u0007Y\u0002", + "\u0002\u02ed\u02ee\u0007J\u0002\u0002\u02ee\u02ef\u0007G\u0002\u0002", + "\u02ef\u02f0\u0007P\u0002\u0002\u02f0b\u0003\u0002\u0002\u0002\u02f1", + "\u02f2\u0007V\u0002\u0002\u02f2\u02f3\u0007J\u0002\u0002\u02f3\u02f4", + "\u0007G\u0002\u0002\u02f4\u02f5\u0007P\u0002\u0002\u02f5d\u0003\u0002", + "\u0002\u0002\u02f6\u02f7\u0007G\u0002\u0002\u02f7\u02f8\u0007N\u0002", + "\u0002\u02f8\u02f9\u0007U\u0002\u0002\u02f9\u02fa\u0007G\u0002\u0002", + "\u02faf\u0003\u0002\u0002\u0002\u02fb\u02fc\u0007G\u0002\u0002\u02fc", + "\u02fd\u0007P\u0002\u0002\u02fd\u02fe\u0007F\u0002\u0002\u02feh\u0003", + "\u0002\u0002\u0002\u02ff\u0300\u0007L\u0002\u0002\u0300\u0301\u0007", + "Q\u0002\u0002\u0301\u0302\u0007K\u0002\u0002\u0302\u0303\u0007P\u0002", + "\u0002\u0303j\u0003\u0002\u0002\u0002\u0304\u0305\u0007E\u0002\u0002", + "\u0305\u0306\u0007T\u0002\u0002\u0306\u0307\u0007Q\u0002\u0002\u0307", + "\u0308\u0007U\u0002\u0002\u0308\u0309\u0007U\u0002\u0002\u0309l\u0003", + "\u0002\u0002\u0002\u030a\u030b\u0007Q\u0002\u0002\u030b\u030c\u0007", + "W\u0002\u0002\u030c\u030d\u0007V\u0002\u0002\u030d\u030e\u0007G\u0002", + "\u0002\u030e\u030f\u0007T\u0002\u0002\u030fn\u0003\u0002\u0002\u0002", + "\u0310\u0311\u0007K\u0002\u0002\u0311\u0312\u0007P\u0002\u0002\u0312", + "\u0313\u0007P\u0002\u0002\u0313\u0314\u0007G\u0002\u0002\u0314\u0315", + "\u0007T\u0002\u0002\u0315p\u0003\u0002\u0002\u0002\u0316\u0317\u0007", + "N\u0002\u0002\u0317\u0318\u0007G\u0002\u0002\u0318\u0319\u0007H\u0002", + "\u0002\u0319\u031a\u0007V\u0002\u0002\u031ar\u0003\u0002\u0002\u0002", + "\u031b\u031c\u0007U\u0002\u0002\u031c\u031d\u0007G\u0002\u0002\u031d", + "\u031e\u0007O\u0002\u0002\u031e\u031f\u0007K\u0002\u0002\u031ft\u0003", + "\u0002\u0002\u0002\u0320\u0321\u0007T\u0002\u0002\u0321\u0322\u0007", + "K\u0002\u0002\u0322\u0323\u0007I\u0002\u0002\u0323\u0324\u0007J\u0002", + "\u0002\u0324\u0325\u0007V\u0002\u0002\u0325v\u0003\u0002\u0002\u0002", + "\u0326\u0327\u0007H\u0002\u0002\u0327\u0328\u0007W\u0002\u0002\u0328", + "\u0329\u0007N\u0002\u0002\u0329\u032a\u0007N\u0002\u0002\u032ax\u0003", + "\u0002\u0002\u0002\u032b\u032c\u0007P\u0002\u0002\u032c\u032d\u0007", + "C\u0002\u0002\u032d\u032e\u0007V\u0002\u0002\u032e\u032f\u0007W\u0002", + "\u0002\u032f\u0330\u0007T\u0002\u0002\u0330\u0331\u0007C\u0002\u0002", + "\u0331\u0332\u0007N\u0002\u0002\u0332z\u0003\u0002\u0002\u0002\u0333", + "\u0334\u0007Q\u0002\u0002\u0334\u0335\u0007P\u0002\u0002\u0335|\u0003", + "\u0002\u0002\u0002\u0336\u0337\u0007R\u0002\u0002\u0337\u0338\u0007", + "K\u0002\u0002\u0338\u0339\u0007X\u0002\u0002\u0339\u033a\u0007Q\u0002", + "\u0002\u033a\u033b\u0007V\u0002\u0002\u033b~\u0003\u0002\u0002\u0002", + "\u033c\u033d\u0007N\u0002\u0002\u033d\u033e\u0007C\u0002\u0002\u033e", + "\u033f\u0007V\u0002\u0002\u033f\u0340\u0007G\u0002\u0002\u0340\u0341", + "\u0007T\u0002\u0002\u0341\u0342\u0007C\u0002\u0002\u0342\u0343\u0007", + "N\u0002\u0002\u0343\u0080\u0003\u0002\u0002\u0002\u0344\u0345\u0007", + "Y\u0002\u0002\u0345\u0346\u0007K\u0002\u0002\u0346\u0347\u0007P\u0002", + "\u0002\u0347\u0348\u0007F\u0002\u0002\u0348\u0349\u0007Q\u0002\u0002", + "\u0349\u034a\u0007Y\u0002\u0002\u034a\u0082\u0003\u0002\u0002\u0002", + "\u034b\u034c\u0007Q\u0002\u0002\u034c\u034d\u0007X\u0002\u0002\u034d", + "\u034e\u0007G\u0002\u0002\u034e\u034f\u0007T\u0002\u0002\u034f\u0084", + "\u0003\u0002\u0002\u0002\u0350\u0351\u0007R\u0002\u0002\u0351\u0352", + "\u0007C\u0002\u0002\u0352\u0353\u0007T\u0002\u0002\u0353\u0354\u0007", + "V\u0002\u0002\u0354\u0355\u0007K\u0002\u0002\u0355\u0356\u0007V\u0002", + "\u0002\u0356\u0357\u0007K\u0002\u0002\u0357\u0358\u0007Q\u0002\u0002", + "\u0358\u0359\u0007P\u0002\u0002\u0359\u0086\u0003\u0002\u0002\u0002", + "\u035a\u035b\u0007T\u0002\u0002\u035b\u035c\u0007C\u0002\u0002\u035c", + "\u035d\u0007P\u0002\u0002\u035d\u035e\u0007I\u0002\u0002\u035e\u035f", + "\u0007G\u0002\u0002\u035f\u0088\u0003\u0002\u0002\u0002\u0360\u0361", + "\u0007T\u0002\u0002\u0361\u0362\u0007Q\u0002\u0002\u0362\u0363\u0007", + "Y\u0002\u0002\u0363\u0364\u0007U\u0002\u0002\u0364\u008a\u0003\u0002", + "\u0002\u0002\u0365\u0366\u0007W\u0002\u0002\u0366\u0367\u0007P\u0002", + "\u0002\u0367\u0368\u0007D\u0002\u0002\u0368\u0369\u0007Q\u0002\u0002", + "\u0369\u036a\u0007W\u0002\u0002\u036a\u036b\u0007P\u0002\u0002\u036b", + "\u036c\u0007F\u0002\u0002\u036c\u036d\u0007G\u0002\u0002\u036d\u036e", + "\u0007F\u0002\u0002\u036e\u008c\u0003\u0002\u0002\u0002\u036f\u0370", + "\u0007R\u0002\u0002\u0370\u0371\u0007T\u0002\u0002\u0371\u0372\u0007", + "G\u0002\u0002\u0372\u0373\u0007E\u0002\u0002\u0373\u0374\u0007G\u0002", + "\u0002\u0374\u0375\u0007F\u0002\u0002\u0375\u0376\u0007K\u0002\u0002", + "\u0376\u0377\u0007P\u0002\u0002\u0377\u0378\u0007I\u0002\u0002\u0378", + "\u008e\u0003\u0002\u0002\u0002\u0379\u037a\u0007H\u0002\u0002\u037a", + "\u037b\u0007Q\u0002\u0002\u037b\u037c\u0007N\u0002\u0002\u037c\u037d", + "\u0007N\u0002\u0002\u037d\u037e\u0007Q\u0002\u0002\u037e\u037f\u0007", + "Y\u0002\u0002\u037f\u0380\u0007K\u0002\u0002\u0380\u0381\u0007P\u0002", + "\u0002\u0381\u0382\u0007I\u0002\u0002\u0382\u0090\u0003\u0002\u0002", + "\u0002\u0383\u0384\u0007E\u0002\u0002\u0384\u0385\u0007W\u0002\u0002", + "\u0385\u0386\u0007T\u0002\u0002\u0386\u0387\u0007T\u0002\u0002\u0387", + "\u0388\u0007G\u0002\u0002\u0388\u0389\u0007P\u0002\u0002\u0389\u038a", + "\u0007V\u0002\u0002\u038a\u0092\u0003\u0002\u0002\u0002\u038b\u038c", + "\u0007H\u0002\u0002\u038c\u038d\u0007K\u0002\u0002\u038d\u038e\u0007", + "T\u0002\u0002\u038e\u038f\u0007U\u0002\u0002\u038f\u0390\u0007V\u0002", + "\u0002\u0390\u0094\u0003\u0002\u0002\u0002\u0391\u0392\u0007C\u0002", + "\u0002\u0392\u0393\u0007H\u0002\u0002\u0393\u0394\u0007V\u0002\u0002", + "\u0394\u0395\u0007G\u0002\u0002\u0395\u0396\u0007T\u0002\u0002\u0396", + "\u0096\u0003\u0002\u0002\u0002\u0397\u0398\u0007N\u0002\u0002\u0398", + "\u0399\u0007C\u0002\u0002\u0399\u039a\u0007U\u0002\u0002\u039a\u039b", + "\u0007V\u0002\u0002\u039b\u0098\u0003\u0002\u0002\u0002\u039c\u039d", + "\u0007T\u0002\u0002\u039d\u039e\u0007Q\u0002\u0002\u039e\u039f\u0007", + "Y\u0002\u0002\u039f\u009a\u0003\u0002\u0002\u0002\u03a0\u03a1\u0007", + "Y\u0002\u0002\u03a1\u03a2\u0007K\u0002\u0002\u03a2\u03a3\u0007V\u0002", + "\u0002\u03a3\u03a4\u0007J\u0002\u0002\u03a4\u009c\u0003\u0002\u0002", + "\u0002\u03a5\u03a6\u0007X\u0002\u0002\u03a6\u03a7\u0007C\u0002\u0002", + "\u03a7\u03a8\u0007N\u0002\u0002\u03a8\u03a9\u0007W\u0002\u0002\u03a9", + "\u03aa\u0007G\u0002\u0002\u03aa\u03ab\u0007U\u0002\u0002\u03ab\u009e", + "\u0003\u0002\u0002\u0002\u03ac\u03ad\u0007E\u0002\u0002\u03ad\u03ae", + "\u0007T\u0002\u0002\u03ae\u03af\u0007G\u0002\u0002\u03af\u03b0\u0007", + "C\u0002\u0002\u03b0\u03b1\u0007V\u0002\u0002\u03b1\u03b2\u0007G\u0002", + "\u0002\u03b2\u00a0\u0003\u0002\u0002\u0002\u03b3\u03b4\u0007V\u0002", + "\u0002\u03b4\u03b5\u0007C\u0002\u0002\u03b5\u03b6\u0007D\u0002\u0002", + "\u03b6\u03b7\u0007N\u0002\u0002\u03b7\u03b8\u0007G\u0002\u0002\u03b8", + "\u00a2\u0003\u0002\u0002\u0002\u03b9\u03ba\u0007F\u0002\u0002\u03ba", + "\u03bb\u0007K\u0002\u0002\u03bb\u03bc\u0007T\u0002\u0002\u03bc\u03bd", + "\u0007G\u0002\u0002\u03bd\u03be\u0007E\u0002\u0002\u03be\u03bf\u0007", + "V\u0002\u0002\u03bf\u03c0\u0007Q\u0002\u0002\u03c0\u03c1\u0007T\u0002", + "\u0002\u03c1\u03c2\u0007[\u0002\u0002\u03c2\u00a4\u0003\u0002\u0002", + "\u0002\u03c3\u03c4\u0007X\u0002\u0002\u03c4\u03c5\u0007K\u0002\u0002", + "\u03c5\u03c6\u0007G\u0002\u0002\u03c6\u03c7\u0007Y\u0002\u0002\u03c7", + "\u00a6\u0003\u0002\u0002\u0002\u03c8\u03c9\u0007T\u0002\u0002\u03c9", + "\u03ca\u0007G\u0002\u0002\u03ca\u03cb\u0007R\u0002\u0002\u03cb\u03cc", + "\u0007N\u0002\u0002\u03cc\u03cd\u0007C\u0002\u0002\u03cd\u03ce\u0007", + "E\u0002\u0002\u03ce\u03cf\u0007G\u0002\u0002\u03cf\u00a8\u0003\u0002", + "\u0002\u0002\u03d0\u03d1\u0007K\u0002\u0002\u03d1\u03d2\u0007P\u0002", + "\u0002\u03d2\u03d3\u0007U\u0002\u0002\u03d3\u03d4\u0007G\u0002\u0002", + "\u03d4\u03d5\u0007T\u0002\u0002\u03d5\u03d6\u0007V\u0002\u0002\u03d6", + "\u00aa\u0003\u0002\u0002\u0002\u03d7\u03d8\u0007F\u0002\u0002\u03d8", + "\u03d9\u0007G\u0002\u0002\u03d9\u03da\u0007N\u0002\u0002\u03da\u03db", + "\u0007G\u0002\u0002\u03db\u03dc\u0007V\u0002\u0002\u03dc\u03dd\u0007", + "G\u0002\u0002\u03dd\u00ac\u0003\u0002\u0002\u0002\u03de\u03df\u0007", + "K\u0002\u0002\u03df\u03e0\u0007P\u0002\u0002\u03e0\u03e1\u0007V\u0002", + "\u0002\u03e1\u03e2\u0007Q\u0002\u0002\u03e2\u00ae\u0003\u0002\u0002", + "\u0002\u03e3\u03e4\u0007F\u0002\u0002\u03e4\u03e5\u0007G\u0002\u0002", + "\u03e5\u03e6\u0007U\u0002\u0002\u03e6\u03e7\u0007E\u0002\u0002\u03e7", + "\u03e8\u0007T\u0002\u0002\u03e8\u03e9\u0007K\u0002\u0002\u03e9\u03ea", + "\u0007D\u0002\u0002\u03ea\u03eb\u0007G\u0002\u0002\u03eb\u00b0\u0003", + "\u0002\u0002\u0002\u03ec\u03ed\u0007G\u0002\u0002\u03ed\u03ee\u0007", + "Z\u0002\u0002\u03ee\u03ef\u0007R\u0002\u0002\u03ef\u03f0\u0007N\u0002", + "\u0002\u03f0\u03f1\u0007C\u0002\u0002\u03f1\u03f2\u0007K\u0002\u0002", + "\u03f2\u03f3\u0007P\u0002\u0002\u03f3\u00b2\u0003\u0002\u0002\u0002", + "\u03f4\u03f5\u0007H\u0002\u0002\u03f5\u03f6\u0007Q\u0002\u0002\u03f6", + "\u03f7\u0007T\u0002\u0002\u03f7\u03f8\u0007O\u0002\u0002\u03f8\u03f9", + "\u0007C\u0002\u0002\u03f9\u03fa\u0007V\u0002\u0002\u03fa\u00b4\u0003", + "\u0002\u0002\u0002\u03fb\u03fc\u0007N\u0002\u0002\u03fc\u03fd\u0007", + "Q\u0002\u0002\u03fd\u03fe\u0007I\u0002\u0002\u03fe\u03ff\u0007K\u0002", + "\u0002\u03ff\u0400\u0007E\u0002\u0002\u0400\u0401\u0007C\u0002\u0002", + "\u0401\u0402\u0007N\u0002\u0002\u0402\u00b6\u0003\u0002\u0002\u0002", + "\u0403\u0404\u0007E\u0002\u0002\u0404\u0405\u0007Q\u0002\u0002\u0405", + "\u0406\u0007F\u0002\u0002\u0406\u0407\u0007G\u0002\u0002\u0407\u0408", + "\u0007I\u0002\u0002\u0408\u0409\u0007G\u0002\u0002\u0409\u040a\u0007", + "P\u0002\u0002\u040a\u00b8\u0003\u0002\u0002\u0002\u040b\u040c\u0007", + "E\u0002\u0002\u040c\u040d\u0007Q\u0002\u0002\u040d\u040e\u0007U\u0002", + "\u0002\u040e\u040f\u0007V\u0002\u0002\u040f\u00ba\u0003\u0002\u0002", + "\u0002\u0410\u0411\u0007E\u0002\u0002\u0411\u0412\u0007C\u0002\u0002", + "\u0412\u0413\u0007U\u0002\u0002\u0413\u0414\u0007V\u0002\u0002\u0414", + "\u00bc\u0003\u0002\u0002\u0002\u0415\u0416\u0007U\u0002\u0002\u0416", + "\u0417\u0007J\u0002\u0002\u0417\u0418\u0007Q\u0002\u0002\u0418\u0419", + "\u0007Y\u0002\u0002\u0419\u00be\u0003\u0002\u0002\u0002\u041a\u041b", + "\u0007V\u0002\u0002\u041b\u041c\u0007C\u0002\u0002\u041c\u041d\u0007", + "D\u0002\u0002\u041d\u041e\u0007N\u0002\u0002\u041e\u041f\u0007G\u0002", + "\u0002\u041f\u0420\u0007U\u0002\u0002\u0420\u00c0\u0003\u0002\u0002", + "\u0002\u0421\u0422\u0007E\u0002\u0002\u0422\u0423\u0007Q\u0002\u0002", + "\u0423\u0424\u0007N\u0002\u0002\u0424\u0425\u0007W\u0002\u0002\u0425", + "\u0426\u0007O\u0002\u0002\u0426\u0427\u0007P\u0002\u0002\u0427\u0428", + "\u0007U\u0002\u0002\u0428\u00c2\u0003\u0002\u0002\u0002\u0429\u042a", + "\u0007E\u0002\u0002\u042a\u042b\u0007Q\u0002\u0002\u042b\u042c\u0007", + "N\u0002\u0002\u042c\u042d\u0007W\u0002\u0002\u042d\u042e\u0007O\u0002", + "\u0002\u042e\u042f\u0007P\u0002\u0002\u042f\u00c4\u0003\u0002\u0002", + "\u0002\u0430\u0431\u0007W\u0002\u0002\u0431\u0432\u0007U\u0002\u0002", + "\u0432\u0433\u0007G\u0002\u0002\u0433\u00c6\u0003\u0002\u0002\u0002", + "\u0434\u0435\u0007R\u0002\u0002\u0435\u0436\u0007C\u0002\u0002\u0436", + "\u0437\u0007T\u0002\u0002\u0437\u0438\u0007V\u0002\u0002\u0438\u0439", + "\u0007K\u0002\u0002\u0439\u043a\u0007V\u0002\u0002\u043a\u043b\u0007", + "K\u0002\u0002\u043b\u043c\u0007Q\u0002\u0002\u043c\u043d\u0007P\u0002", + "\u0002\u043d\u043e\u0007U\u0002\u0002\u043e\u00c8\u0003\u0002\u0002", + "\u0002\u043f\u0440\u0007H\u0002\u0002\u0440\u0441\u0007W\u0002\u0002", + "\u0441\u0442\u0007P\u0002\u0002\u0442\u0443\u0007E\u0002\u0002\u0443", + "\u0444\u0007V\u0002\u0002\u0444\u0445\u0007K\u0002\u0002\u0445\u0446", + "\u0007Q\u0002\u0002\u0446\u0447\u0007P\u0002\u0002\u0447\u0448\u0007", + "U\u0002\u0002\u0448\u00ca\u0003\u0002\u0002\u0002\u0449\u044a\u0007", + "F\u0002\u0002\u044a\u044b\u0007T\u0002\u0002\u044b\u044c\u0007Q\u0002", + "\u0002\u044c\u044d\u0007R\u0002\u0002\u044d\u00cc\u0003\u0002\u0002", + "\u0002\u044e\u044f\u0007W\u0002\u0002\u044f\u0450\u0007P\u0002\u0002", + "\u0450\u0451\u0007K\u0002\u0002\u0451\u0452\u0007Q\u0002\u0002\u0452", + "\u0453\u0007P\u0002\u0002\u0453\u00ce\u0003\u0002\u0002\u0002\u0454", + "\u0455\u0007G\u0002\u0002\u0455\u0456\u0007Z\u0002\u0002\u0456\u0457", + "\u0007E\u0002\u0002\u0457\u0458\u0007G\u0002\u0002\u0458\u0459\u0007", + "R\u0002\u0002\u0459\u045a\u0007V\u0002\u0002\u045a\u00d0\u0003\u0002", + "\u0002\u0002\u045b\u045c\u0007O\u0002\u0002\u045c\u045d\u0007K\u0002", + "\u0002\u045d\u045e\u0007P\u0002\u0002\u045e\u045f\u0007W\u0002\u0002", + "\u045f\u0460\u0007U\u0002\u0002\u0460\u00d2\u0003\u0002\u0002\u0002", + "\u0461\u0462\u0007K\u0002\u0002\u0462\u0463\u0007P\u0002\u0002\u0463", + "\u0464\u0007V\u0002\u0002\u0464\u0465\u0007G\u0002\u0002\u0465\u0466", + "\u0007T\u0002\u0002\u0466\u0467\u0007U\u0002\u0002\u0467\u0468\u0007", + "G\u0002\u0002\u0468\u0469\u0007E\u0002\u0002\u0469\u046a\u0007V\u0002", + "\u0002\u046a\u00d4\u0003\u0002\u0002\u0002\u046b\u046c\u0007V\u0002", + "\u0002\u046c\u046d\u0007Q\u0002\u0002\u046d\u00d6\u0003\u0002\u0002", + "\u0002\u046e\u046f\u0007V\u0002\u0002\u046f\u0470\u0007C\u0002\u0002", + "\u0470\u0471\u0007D\u0002\u0002\u0471\u0472\u0007N\u0002\u0002\u0472", + "\u0473\u0007G\u0002\u0002\u0473\u0474\u0007U\u0002\u0002\u0474\u0475", + "\u0007C\u0002\u0002\u0475\u0476\u0007O\u0002\u0002\u0476\u0477\u0007", + "R\u0002\u0002\u0477\u0478\u0007N\u0002\u0002\u0478\u0479\u0007G\u0002", + "\u0002\u0479\u00d8\u0003\u0002\u0002\u0002\u047a\u047b\u0007U\u0002", + "\u0002\u047b\u047c\u0007V\u0002\u0002\u047c\u047d\u0007T\u0002\u0002", + "\u047d\u047e\u0007C\u0002\u0002\u047e\u047f\u0007V\u0002\u0002\u047f", + "\u0480\u0007K\u0002\u0002\u0480\u0481\u0007H\u0002\u0002\u0481\u0482", + "\u0007[\u0002\u0002\u0482\u00da\u0003\u0002\u0002\u0002\u0483\u0484", + "\u0007C\u0002\u0002\u0484\u0485\u0007N\u0002\u0002\u0485\u0486\u0007", + "V\u0002\u0002\u0486\u0487\u0007G\u0002\u0002\u0487\u0488\u0007T\u0002", + "\u0002\u0488\u00dc\u0003\u0002\u0002\u0002\u0489\u048a\u0007T\u0002", + "\u0002\u048a\u048b\u0007G\u0002\u0002\u048b\u048c\u0007P\u0002\u0002", + "\u048c\u048d\u0007C\u0002\u0002\u048d\u048e\u0007O\u0002\u0002\u048e", + "\u048f\u0007G\u0002\u0002\u048f\u00de\u0003\u0002\u0002\u0002\u0490", + "\u0491\u0007C\u0002\u0002\u0491\u0492\u0007T\u0002\u0002\u0492\u0493", + "\u0007T\u0002\u0002\u0493\u0494\u0007C\u0002\u0002\u0494\u0495\u0007", + "[\u0002\u0002\u0495\u00e0\u0003\u0002\u0002\u0002\u0496\u0497\u0007", + "O\u0002\u0002\u0497\u0498\u0007C\u0002\u0002\u0498\u0499\u0007R\u0002", + "\u0002\u0499\u00e2\u0003\u0002\u0002\u0002\u049a\u049b\u0007U\u0002", + "\u0002\u049b\u049c\u0007V\u0002\u0002\u049c\u049d\u0007T\u0002\u0002", + "\u049d\u049e\u0007W\u0002\u0002\u049e\u049f\u0007E\u0002\u0002\u049f", + "\u04a0\u0007V\u0002\u0002\u04a0\u00e4\u0003\u0002\u0002\u0002\u04a1", + "\u04a2\u0007E\u0002\u0002\u04a2\u04a3\u0007Q\u0002\u0002\u04a3\u04a4", + "\u0007O\u0002\u0002\u04a4\u04a5\u0007O\u0002\u0002\u04a5\u04a6\u0007", + "G\u0002\u0002\u04a6\u04a7\u0007P\u0002\u0002\u04a7\u04a8\u0007V\u0002", + "\u0002\u04a8\u00e6\u0003\u0002\u0002\u0002\u04a9\u04aa\u0007U\u0002", + "\u0002\u04aa\u04ab\u0007G\u0002\u0002\u04ab\u04ac\u0007V\u0002\u0002", + "\u04ac\u00e8\u0003\u0002\u0002\u0002\u04ad\u04ae\u0007T\u0002\u0002", + "\u04ae\u04af\u0007G\u0002\u0002\u04af\u04b0\u0007U\u0002\u0002\u04b0", + "\u04b1\u0007G\u0002\u0002\u04b1\u04b2\u0007V\u0002\u0002\u04b2\u00ea", + "\u0003\u0002\u0002\u0002\u04b3\u04b4\u0007F\u0002\u0002\u04b4\u04b5", + "\u0007C\u0002\u0002\u04b5\u04b6\u0007V\u0002\u0002\u04b6\u04b7\u0007", + "C\u0002\u0002\u04b7\u00ec\u0003\u0002\u0002\u0002\u04b8\u04b9\u0007", + "U\u0002\u0002\u04b9\u04ba\u0007V\u0002\u0002\u04ba\u04bb\u0007C\u0002", + "\u0002\u04bb\u04bc\u0007T\u0002\u0002\u04bc\u04bd\u0007V\u0002\u0002", + "\u04bd\u00ee\u0003\u0002\u0002\u0002\u04be\u04bf\u0007V\u0002\u0002", + "\u04bf\u04c0\u0007T\u0002\u0002\u04c0\u04c1\u0007C\u0002\u0002\u04c1", + "\u04c2\u0007P\u0002\u0002\u04c2\u04c3\u0007U\u0002\u0002\u04c3\u04c4", + "\u0007C\u0002\u0002\u04c4\u04c5\u0007E\u0002\u0002\u04c5\u04c6\u0007", + "V\u0002\u0002\u04c6\u04c7\u0007K\u0002\u0002\u04c7\u04c8\u0007Q\u0002", + "\u0002\u04c8\u04c9\u0007P\u0002\u0002\u04c9\u00f0\u0003\u0002\u0002", + "\u0002\u04ca\u04cb\u0007E\u0002\u0002\u04cb\u04cc\u0007Q\u0002\u0002", + "\u04cc\u04cd\u0007O\u0002\u0002\u04cd\u04ce\u0007O\u0002\u0002\u04ce", + "\u04cf\u0007K\u0002\u0002\u04cf\u04d0\u0007V\u0002\u0002\u04d0\u00f2", + "\u0003\u0002\u0002\u0002\u04d1\u04d2\u0007T\u0002\u0002\u04d2\u04d3", + "\u0007Q\u0002\u0002\u04d3\u04d4\u0007N\u0002\u0002\u04d4\u04d5\u0007", + "N\u0002\u0002\u04d5\u04d6\u0007D\u0002\u0002\u04d6\u04d7\u0007C\u0002", + "\u0002\u04d7\u04d8\u0007E\u0002\u0002\u04d8\u04d9\u0007M\u0002\u0002", + "\u04d9\u00f4\u0003\u0002\u0002\u0002\u04da\u04db\u0007O\u0002\u0002", + "\u04db\u04dc\u0007C\u0002\u0002\u04dc\u04dd\u0007E\u0002\u0002\u04dd", + "\u04de\u0007T\u0002\u0002\u04de\u04df\u0007Q\u0002\u0002\u04df\u00f6", + "\u0003\u0002\u0002\u0002\u04e0\u04e1\u0007K\u0002\u0002\u04e1\u04e2", + "\u0007I\u0002\u0002\u04e2\u04e3\u0007P\u0002\u0002\u04e3\u04e4\u0007", + "Q\u0002\u0002\u04e4\u04e5\u0007T\u0002\u0002\u04e5\u04e6\u0007G\u0002", + "\u0002\u04e6\u00f8\u0003\u0002\u0002\u0002\u04e7\u04e8\u0007D\u0002", + "\u0002\u04e8\u04e9\u0007Q\u0002\u0002\u04e9\u04ea\u0007V\u0002\u0002", + "\u04ea\u04eb\u0007J\u0002\u0002\u04eb\u00fa\u0003\u0002\u0002\u0002", + "\u04ec\u04ed\u0007N\u0002\u0002\u04ed\u04ee\u0007G\u0002\u0002\u04ee", + "\u04ef\u0007C\u0002\u0002\u04ef\u04f0\u0007F\u0002\u0002\u04f0\u04f1", + "\u0007K\u0002\u0002\u04f1\u04f2\u0007P\u0002\u0002\u04f2\u04f3\u0007", + "I\u0002\u0002\u04f3\u00fc\u0003\u0002\u0002\u0002\u04f4\u04f5\u0007", + "V\u0002\u0002\u04f5\u04f6\u0007T\u0002\u0002\u04f6\u04f7\u0007C\u0002", + "\u0002\u04f7\u04f8\u0007K\u0002\u0002\u04f8\u04f9\u0007N\u0002\u0002", + "\u04f9\u04fa\u0007K\u0002\u0002\u04fa\u04fb\u0007P\u0002\u0002\u04fb", + "\u04fc\u0007I\u0002\u0002\u04fc\u00fe\u0003\u0002\u0002\u0002\u04fd", + "\u04fe\u0007K\u0002\u0002\u04fe\u04ff\u0007H\u0002\u0002\u04ff\u0100", + "\u0003\u0002\u0002\u0002\u0500\u0501\u0007R\u0002\u0002\u0501\u0502", + "\u0007Q\u0002\u0002\u0502\u0503\u0007U\u0002\u0002\u0503\u0504\u0007", + "K\u0002\u0002\u0504\u0505\u0007V\u0002\u0002\u0505\u0506\u0007K\u0002", + "\u0002\u0506\u0507\u0007Q\u0002\u0002\u0507\u0508\u0007P\u0002\u0002", + "\u0508\u0102\u0003\u0002\u0002\u0002\u0509\u050a\u0007G\u0002\u0002", + "\u050a\u050b\u0007Z\u0002\u0002\u050b\u050c\u0007V\u0002\u0002\u050c", + "\u050d\u0007T\u0002\u0002\u050d\u050e\u0007C\u0002\u0002\u050e\u050f", + "\u0007E\u0002\u0002\u050f\u0510\u0007V\u0002\u0002\u0510\u0104\u0003", + "\u0002\u0002\u0002\u0511\u0515\u0007?\u0002\u0002\u0512\u0513\u0007", + "?\u0002\u0002\u0513\u0515\u0007?\u0002\u0002\u0514\u0511\u0003\u0002", + "\u0002\u0002\u0514\u0512\u0003\u0002\u0002\u0002\u0515\u0106\u0003\u0002", + "\u0002\u0002\u0516\u0517\u0007>\u0002\u0002\u0517\u0518\u0007?\u0002", + "\u0002\u0518\u0519\u0007@\u0002\u0002\u0519\u0108\u0003\u0002\u0002", + "\u0002\u051a\u051b\u0007>\u0002\u0002\u051b\u051c\u0007@\u0002\u0002", + "\u051c\u010a\u0003\u0002\u0002\u0002\u051d\u051e\u0007#\u0002\u0002", + "\u051e\u051f\u0007?\u0002\u0002\u051f\u010c\u0003\u0002\u0002\u0002", + "\u0520\u0521\u0007>\u0002\u0002\u0521\u010e\u0003\u0002\u0002\u0002", + "\u0522\u0523\u0007>\u0002\u0002\u0523\u0527\u0007?\u0002\u0002\u0524", + "\u0525\u0007#\u0002\u0002\u0525\u0527\u0007@\u0002\u0002\u0526\u0522", + "\u0003\u0002\u0002\u0002\u0526\u0524\u0003\u0002\u0002\u0002\u0527\u0110", + "\u0003\u0002\u0002\u0002\u0528\u0529\u0007@\u0002\u0002\u0529\u0112", + "\u0003\u0002\u0002\u0002\u052a\u052b\u0007@\u0002\u0002\u052b\u052f", + "\u0007?\u0002\u0002\u052c\u052d\u0007#\u0002\u0002\u052d\u052f\u0007", + ">\u0002\u0002\u052e\u052a\u0003\u0002\u0002\u0002\u052e\u052c\u0003", + "\u0002\u0002\u0002\u052f\u0114\u0003\u0002\u0002\u0002\u0530\u0531\u0007", + "-\u0002\u0002\u0531\u0116\u0003\u0002\u0002\u0002\u0532\u0533\u0007", + "/\u0002\u0002\u0533\u0118\u0003\u0002\u0002\u0002\u0534\u0535\u0007", + ",\u0002\u0002\u0535\u011a\u0003\u0002\u0002\u0002\u0536\u0537\u0007", + "1\u0002\u0002\u0537\u011c\u0003\u0002\u0002\u0002\u0538\u0539\u0007", + "\'\u0002\u0002\u0539\u011e\u0003\u0002\u0002\u0002\u053a\u053b\u0007", + "F\u0002\u0002\u053b\u053c\u0007K\u0002\u0002\u053c\u053d\u0007X\u0002", + "\u0002\u053d\u0120\u0003\u0002\u0002\u0002\u053e\u053f\u0007\u0080\u0002", + "\u0002\u053f\u0122\u0003\u0002\u0002\u0002\u0540\u0541\u0007(\u0002", + "\u0002\u0541\u0124\u0003\u0002\u0002\u0002\u0542\u0543\u0007~\u0002", + "\u0002\u0543\u0126\u0003\u0002\u0002\u0002\u0544\u0545\u0007~\u0002", + "\u0002\u0545\u0546\u0007~\u0002\u0002\u0546\u0128\u0003\u0002\u0002", + "\u0002\u0547\u0548\u0007`\u0002\u0002\u0548\u012a\u0003\u0002\u0002", + "\u0002\u0549\u054a\u0007R\u0002\u0002\u054a\u054b\u0007G\u0002\u0002", + "\u054b\u054c\u0007T\u0002\u0002\u054c\u054d\u0007E\u0002\u0002\u054d", + "\u054e\u0007G\u0002\u0002\u054e\u054f\u0007P\u0002\u0002\u054f\u0550", + "\u0007V\u0002\u0002\u0550\u012c\u0003\u0002\u0002\u0002\u0551\u0552", + "\u0007D\u0002\u0002\u0552\u0553\u0007W\u0002\u0002\u0553\u0554\u0007", + "E\u0002\u0002\u0554\u0555\u0007M\u0002\u0002\u0555\u0556\u0007G\u0002", + "\u0002\u0556\u0557\u0007V\u0002\u0002\u0557\u012e\u0003\u0002\u0002", + "\u0002\u0558\u0559\u0007Q\u0002\u0002\u0559\u055a\u0007W\u0002\u0002", + "\u055a\u055b\u0007V\u0002\u0002\u055b\u0130\u0003\u0002\u0002\u0002", + "\u055c\u055d\u0007Q\u0002\u0002\u055d\u055e\u0007H\u0002\u0002\u055e", + "\u0132\u0003\u0002\u0002\u0002\u055f\u0560\u0007U\u0002\u0002\u0560", + "\u0561\u0007Q\u0002\u0002\u0561\u0562\u0007T\u0002\u0002\u0562\u0563", + "\u0007V\u0002\u0002\u0563\u0134\u0003\u0002\u0002\u0002\u0564\u0565", + "\u0007E\u0002\u0002\u0565\u0566\u0007N\u0002\u0002\u0566\u0567\u0007", + "W\u0002\u0002\u0567\u0568\u0007U\u0002\u0002\u0568\u0569\u0007V\u0002", + "\u0002\u0569\u056a\u0007G\u0002\u0002\u056a\u056b\u0007T\u0002\u0002", + "\u056b\u0136\u0003\u0002\u0002\u0002\u056c\u056d\u0007F\u0002\u0002", + "\u056d\u056e\u0007K\u0002\u0002\u056e\u056f\u0007U\u0002\u0002\u056f", + "\u0570\u0007V\u0002\u0002\u0570\u0571\u0007T\u0002\u0002\u0571\u0572", + "\u0007K\u0002\u0002\u0572\u0573\u0007D\u0002\u0002\u0573\u0574\u0007", + "W\u0002\u0002\u0574\u0575\u0007V\u0002\u0002\u0575\u0576\u0007G\u0002", + "\u0002\u0576\u0138\u0003\u0002\u0002\u0002\u0577\u0578\u0007Q\u0002", + "\u0002\u0578\u0579\u0007X\u0002\u0002\u0579\u057a\u0007G\u0002\u0002", + "\u057a\u057b\u0007T\u0002\u0002\u057b\u057c\u0007Y\u0002\u0002\u057c", + "\u057d\u0007T\u0002\u0002\u057d\u057e\u0007K\u0002\u0002\u057e\u057f", + "\u0007V\u0002\u0002\u057f\u0580\u0007G\u0002\u0002\u0580\u013a\u0003", + "\u0002\u0002\u0002\u0581\u0582\u0007V\u0002\u0002\u0582\u0583\u0007", + "T\u0002\u0002\u0583\u0584\u0007C\u0002\u0002\u0584\u0585\u0007P\u0002", + "\u0002\u0585\u0586\u0007U\u0002\u0002\u0586\u0587\u0007H\u0002\u0002", + "\u0587\u0588\u0007Q\u0002\u0002\u0588\u0589\u0007T\u0002\u0002\u0589", + "\u058a\u0007O\u0002\u0002\u058a\u013c\u0003\u0002\u0002\u0002\u058b", + "\u058c\u0007T\u0002\u0002\u058c\u058d\u0007G\u0002\u0002\u058d\u058e", + "\u0007F\u0002\u0002\u058e\u058f\u0007W\u0002\u0002\u058f\u0590\u0007", + "E\u0002\u0002\u0590\u0591\u0007G\u0002\u0002\u0591\u013e\u0003\u0002", + "\u0002\u0002\u0592\u0593\u0007W\u0002\u0002\u0593\u0594\u0007U\u0002", + "\u0002\u0594\u0595\u0007K\u0002\u0002\u0595\u0596\u0007P\u0002\u0002", + "\u0596\u0597\u0007I\u0002\u0002\u0597\u0140\u0003\u0002\u0002\u0002", + "\u0598\u0599\u0007U\u0002\u0002\u0599\u059a\u0007G\u0002\u0002\u059a", + "\u059b\u0007T\u0002\u0002\u059b\u059c\u0007F\u0002\u0002\u059c\u059d", + "\u0007G\u0002\u0002\u059d\u0142\u0003\u0002\u0002\u0002\u059e\u059f", + "\u0007U\u0002\u0002\u059f\u05a0\u0007G\u0002\u0002\u05a0\u05a1\u0007", + "T\u0002\u0002\u05a1\u05a2\u0007F\u0002\u0002\u05a2\u05a3\u0007G\u0002", + "\u0002\u05a3\u05a4\u0007R\u0002\u0002\u05a4\u05a5\u0007T\u0002\u0002", + "\u05a5\u05a6\u0007Q\u0002\u0002\u05a6\u05a7\u0007R\u0002\u0002\u05a7", + "\u05a8\u0007G\u0002\u0002\u05a8\u05a9\u0007T\u0002\u0002\u05a9\u05aa", + "\u0007V\u0002\u0002\u05aa\u05ab\u0007K\u0002\u0002\u05ab\u05ac\u0007", + "G\u0002\u0002\u05ac\u05ad\u0007U\u0002\u0002\u05ad\u0144\u0003\u0002", + "\u0002\u0002\u05ae\u05af\u0007T\u0002\u0002\u05af\u05b0\u0007G\u0002", + "\u0002\u05b0\u05b1\u0007E\u0002\u0002\u05b1\u05b2\u0007Q\u0002\u0002", + "\u05b2\u05b3\u0007T\u0002\u0002\u05b3\u05b4\u0007F\u0002\u0002\u05b4", + "\u05b5\u0007T\u0002\u0002\u05b5\u05b6\u0007G\u0002\u0002\u05b6\u05b7", + "\u0007C\u0002\u0002\u05b7\u05b8\u0007F\u0002\u0002\u05b8\u05b9\u0007", + "G\u0002\u0002\u05b9\u05ba\u0007T\u0002\u0002\u05ba\u0146\u0003\u0002", + "\u0002\u0002\u05bb\u05bc\u0007T\u0002\u0002\u05bc\u05bd\u0007G\u0002", + "\u0002\u05bd\u05be\u0007E\u0002\u0002\u05be\u05bf\u0007Q\u0002\u0002", + "\u05bf\u05c0\u0007T\u0002\u0002\u05c0\u05c1\u0007F\u0002\u0002\u05c1", + "\u05c2\u0007Y\u0002\u0002\u05c2\u05c3\u0007T\u0002\u0002\u05c3\u05c4", + "\u0007K\u0002\u0002\u05c4\u05c5\u0007V\u0002\u0002\u05c5\u05c6\u0007", + "G\u0002\u0002\u05c6\u05c7\u0007T\u0002\u0002\u05c7\u0148\u0003\u0002", + "\u0002\u0002\u05c8\u05c9\u0007F\u0002\u0002\u05c9\u05ca\u0007G\u0002", + "\u0002\u05ca\u05cb\u0007N\u0002\u0002\u05cb\u05cc\u0007K\u0002\u0002", + "\u05cc\u05cd\u0007O\u0002\u0002\u05cd\u05ce\u0007K\u0002\u0002\u05ce", + "\u05cf\u0007V\u0002\u0002\u05cf\u05d0\u0007G\u0002\u0002\u05d0\u05d1", + "\u0007F\u0002\u0002\u05d1\u014a\u0003\u0002\u0002\u0002\u05d2\u05d3", + "\u0007H\u0002\u0002\u05d3\u05d4\u0007K\u0002\u0002\u05d4\u05d5\u0007", + "G\u0002\u0002\u05d5\u05d6\u0007N\u0002\u0002\u05d6\u05d7\u0007F\u0002", + "\u0002\u05d7\u05d8\u0007U\u0002\u0002\u05d8\u014c\u0003\u0002\u0002", + "\u0002\u05d9\u05da\u0007V\u0002\u0002\u05da\u05db\u0007G\u0002\u0002", + "\u05db\u05dc\u0007T\u0002\u0002\u05dc\u05dd\u0007O\u0002\u0002\u05dd", + "\u05de\u0007K\u0002\u0002\u05de\u05df\u0007P\u0002\u0002\u05df\u05e0", + "\u0007C\u0002\u0002\u05e0\u05e1\u0007V\u0002\u0002\u05e1\u05e2\u0007", + "G\u0002\u0002\u05e2\u05e3\u0007F\u0002\u0002\u05e3\u014e\u0003\u0002", + "\u0002\u0002\u05e4\u05e5\u0007E\u0002\u0002\u05e5\u05e6\u0007Q\u0002", + "\u0002\u05e6\u05e7\u0007N\u0002\u0002\u05e7\u05e8\u0007N\u0002\u0002", + "\u05e8\u05e9\u0007G\u0002\u0002\u05e9\u05ea\u0007E\u0002\u0002\u05ea", + "\u05eb\u0007V\u0002\u0002\u05eb\u05ec\u0007K\u0002\u0002\u05ec\u05ed", + "\u0007Q\u0002\u0002\u05ed\u05ee\u0007P\u0002\u0002\u05ee\u0150\u0003", + "\u0002\u0002\u0002\u05ef\u05f0\u0007K\u0002\u0002\u05f0\u05f1\u0007", + "V\u0002\u0002\u05f1\u05f2\u0007G\u0002\u0002\u05f2\u05f3\u0007O\u0002", + "\u0002\u05f3\u05f4\u0007U\u0002\u0002\u05f4\u0152\u0003\u0002\u0002", + "\u0002\u05f5\u05f6\u0007M\u0002\u0002\u05f6\u05f7\u0007G\u0002\u0002", + "\u05f7\u05f8\u0007[\u0002\u0002\u05f8\u05f9\u0007U\u0002\u0002\u05f9", + "\u0154\u0003\u0002\u0002\u0002\u05fa\u05fb\u0007G\u0002\u0002\u05fb", + "\u05fc\u0007U\u0002\u0002\u05fc\u05fd\u0007E\u0002\u0002\u05fd\u05fe", + "\u0007C\u0002\u0002\u05fe\u05ff\u0007R\u0002\u0002\u05ff\u0600\u0007", + "G\u0002\u0002\u0600\u0601\u0007F\u0002\u0002\u0601\u0156\u0003\u0002", + "\u0002\u0002\u0602\u0603\u0007N\u0002\u0002\u0603\u0604\u0007K\u0002", + "\u0002\u0604\u0605\u0007P\u0002\u0002\u0605\u0606\u0007G\u0002\u0002", + "\u0606\u0607\u0007U\u0002\u0002\u0607\u0158\u0003\u0002\u0002\u0002", + "\u0608\u0609\u0007U\u0002\u0002\u0609\u060a\u0007G\u0002\u0002\u060a", + "\u060b\u0007R\u0002\u0002\u060b\u060c\u0007C\u0002\u0002\u060c\u060d", + "\u0007T\u0002\u0002\u060d\u060e\u0007C\u0002\u0002\u060e\u060f\u0007", + "V\u0002\u0002\u060f\u0610\u0007G\u0002\u0002\u0610\u0611\u0007F\u0002", + "\u0002\u0611\u015a\u0003\u0002\u0002\u0002\u0612\u0613\u0007H\u0002", + "\u0002\u0613\u0614\u0007W\u0002\u0002\u0614\u0615\u0007P\u0002\u0002", + "\u0615\u0616\u0007E\u0002\u0002\u0616\u0617\u0007V\u0002\u0002\u0617", + "\u0618\u0007K\u0002\u0002\u0618\u0619\u0007Q\u0002\u0002\u0619\u061a", + "\u0007P\u0002\u0002\u061a\u015c\u0003\u0002\u0002\u0002\u061b\u061c", + "\u0007G\u0002\u0002\u061c\u061d\u0007Z\u0002\u0002\u061d\u061e\u0007", + "V\u0002\u0002\u061e\u061f\u0007G\u0002\u0002\u061f\u0620\u0007P\u0002", + "\u0002\u0620\u0621\u0007F\u0002\u0002\u0621\u0622\u0007G\u0002\u0002", + "\u0622\u0623\u0007F\u0002\u0002\u0623\u015e\u0003\u0002\u0002\u0002", + "\u0624\u0625\u0007T\u0002\u0002\u0625\u0626\u0007G\u0002\u0002\u0626", + "\u0627\u0007H\u0002\u0002\u0627\u0628\u0007T\u0002\u0002\u0628\u0629", + "\u0007G\u0002\u0002\u0629\u062a\u0007U\u0002\u0002\u062a\u062b\u0007", + "J\u0002\u0002\u062b\u0160\u0003\u0002\u0002\u0002\u062c\u062d\u0007", + "E\u0002\u0002\u062d\u062e\u0007N\u0002\u0002\u062e\u062f\u0007G\u0002", + "\u0002\u062f\u0630\u0007C\u0002\u0002\u0630\u0631\u0007T\u0002\u0002", + "\u0631\u0162\u0003\u0002\u0002\u0002\u0632\u0633\u0007E\u0002\u0002", + "\u0633\u0634\u0007C\u0002\u0002\u0634\u0635\u0007E\u0002\u0002\u0635", + "\u0636\u0007J\u0002\u0002\u0636\u0637\u0007G\u0002\u0002\u0637\u0164", + "\u0003\u0002\u0002\u0002\u0638\u0639\u0007W\u0002\u0002\u0639\u063a", + "\u0007P\u0002\u0002\u063a\u063b\u0007E\u0002\u0002\u063b\u063c\u0007", + "C\u0002\u0002\u063c\u063d\u0007E\u0002\u0002\u063d\u063e\u0007J\u0002", + "\u0002\u063e\u063f\u0007G\u0002\u0002\u063f\u0166\u0003\u0002\u0002", + "\u0002\u0640\u0641\u0007N\u0002\u0002\u0641\u0642\u0007C\u0002\u0002", + "\u0642\u0643\u0007\\\u0002\u0002\u0643\u0644\u0007[\u0002\u0002\u0644", + "\u0168\u0003\u0002\u0002\u0002\u0645\u0646\u0007H\u0002\u0002\u0646", + "\u0647\u0007Q\u0002\u0002\u0647\u0648\u0007T\u0002\u0002\u0648\u0649", + "\u0007O\u0002\u0002\u0649\u064a\u0007C\u0002\u0002\u064a\u064b\u0007", + "V\u0002\u0002\u064b\u064c\u0007V\u0002\u0002\u064c\u064d\u0007G\u0002", + "\u0002\u064d\u064e\u0007F\u0002\u0002\u064e\u016a\u0003\u0002\u0002", + "\u0002\u064f\u0650\u0007I\u0002\u0002\u0650\u0651\u0007N\u0002\u0002", + "\u0651\u0652\u0007Q\u0002\u0002\u0652\u0653\u0007D\u0002\u0002\u0653", + "\u0654\u0007C\u0002\u0002\u0654\u0655\u0007N\u0002\u0002\u0655\u016c", + "\u0003\u0002\u0002\u0002\u0656\u0657\u0007V\u0002\u0002\u0657\u0658", + "\u0007G\u0002\u0002\u0658\u0659\u0007O\u0002\u0002\u0659\u065a\u0007", + "R\u0002\u0002\u065a\u065b\u0007Q\u0002\u0002\u065b\u065c\u0007T\u0002", + "\u0002\u065c\u065d\u0007C\u0002\u0002\u065d\u065e\u0007T\u0002\u0002", + "\u065e\u0664\u0007[\u0002\u0002\u065f\u0660\u0007V\u0002\u0002\u0660", + "\u0661\u0007G\u0002\u0002\u0661\u0662\u0007O\u0002\u0002\u0662\u0664", + "\u0007R\u0002\u0002\u0663\u0656\u0003\u0002\u0002\u0002\u0663\u065f", + "\u0003\u0002\u0002\u0002\u0664\u016e\u0003\u0002\u0002\u0002\u0665\u0666", + "\u0007Q\u0002\u0002\u0666\u0667\u0007R\u0002\u0002\u0667\u0668\u0007", + "V\u0002\u0002\u0668\u0669\u0007K\u0002\u0002\u0669\u066a\u0007Q\u0002", + "\u0002\u066a\u066b\u0007P\u0002\u0002\u066b\u066c\u0007U\u0002\u0002", + "\u066c\u0170\u0003\u0002\u0002\u0002\u066d\u066e\u0007W\u0002\u0002", + "\u066e\u066f\u0007P\u0002\u0002\u066f\u0670\u0007U\u0002\u0002\u0670", + "\u0671\u0007G\u0002\u0002\u0671\u0672\u0007V\u0002\u0002\u0672\u0172", + "\u0003\u0002\u0002\u0002\u0673\u0674\u0007V\u0002\u0002\u0674\u0675", + "\u0007D\u0002\u0002\u0675\u0676\u0007N\u0002\u0002\u0676\u0677\u0007", + "R\u0002\u0002\u0677\u0678\u0007T\u0002\u0002\u0678\u0679\u0007Q\u0002", + "\u0002\u0679\u067a\u0007R\u0002\u0002\u067a\u067b\u0007G\u0002\u0002", + "\u067b\u067c\u0007T\u0002\u0002\u067c\u067d\u0007V\u0002\u0002\u067d", + "\u067e\u0007K\u0002\u0002\u067e\u067f\u0007G\u0002\u0002\u067f\u0680", + "\u0007U\u0002\u0002\u0680\u0174\u0003\u0002\u0002\u0002\u0681\u0682", + "\u0007F\u0002\u0002\u0682\u0683\u0007D\u0002\u0002\u0683\u0684\u0007", + "R\u0002\u0002\u0684\u0685\u0007T\u0002\u0002\u0685\u0686\u0007Q\u0002", + "\u0002\u0686\u0687\u0007R\u0002\u0002\u0687\u0688\u0007G\u0002\u0002", + "\u0688\u0689\u0007T\u0002\u0002\u0689\u068a\u0007V\u0002\u0002\u068a", + "\u068b\u0007K\u0002\u0002\u068b\u068c\u0007G\u0002\u0002\u068c\u068d", + "\u0007U\u0002\u0002\u068d\u0176\u0003\u0002\u0002\u0002\u068e\u068f", + "\u0007D\u0002\u0002\u068f\u0690\u0007W\u0002\u0002\u0690\u0691\u0007", + "E\u0002\u0002\u0691\u0692\u0007M\u0002\u0002\u0692\u0693\u0007G\u0002", + "\u0002\u0693\u0694\u0007V\u0002\u0002\u0694\u0695\u0007U\u0002\u0002", + "\u0695\u0178\u0003\u0002\u0002\u0002\u0696\u0697\u0007U\u0002\u0002", + "\u0697\u0698\u0007M\u0002\u0002\u0698\u0699\u0007G\u0002\u0002\u0699", + "\u069a\u0007Y\u0002\u0002\u069a\u069b\u0007G\u0002\u0002\u069b\u069c", + "\u0007F\u0002\u0002\u069c\u017a\u0003\u0002\u0002\u0002\u069d\u069e", + "\u0007U\u0002\u0002\u069e\u069f\u0007V\u0002\u0002\u069f\u06a0\u0007", + "Q\u0002\u0002\u06a0\u06a1\u0007T\u0002\u0002\u06a1\u06a2\u0007G\u0002", + "\u0002\u06a2\u06a3\u0007F\u0002\u0002\u06a3\u017c\u0003\u0002\u0002", + "\u0002\u06a4\u06a5\u0007F\u0002\u0002\u06a5\u06a6\u0007K\u0002\u0002", + "\u06a6\u06a7\u0007T\u0002\u0002\u06a7\u06a8\u0007G\u0002\u0002\u06a8", + "\u06a9\u0007E\u0002\u0002\u06a9\u06aa\u0007V\u0002\u0002\u06aa\u06ab", + "\u0007Q\u0002\u0002\u06ab\u06ac\u0007T\u0002\u0002\u06ac\u06ad\u0007", + "K\u0002\u0002\u06ad\u06ae\u0007G\u0002\u0002\u06ae\u06af\u0007U\u0002", + "\u0002\u06af\u017e\u0003\u0002\u0002\u0002\u06b0\u06b1\u0007N\u0002", + "\u0002\u06b1\u06b2\u0007Q\u0002\u0002\u06b2\u06b3\u0007E\u0002\u0002", + "\u06b3\u06b4\u0007C\u0002\u0002\u06b4\u06b5\u0007V\u0002\u0002\u06b5", + "\u06b6\u0007K\u0002\u0002\u06b6\u06b7\u0007Q\u0002\u0002\u06b7\u06b8", + "\u0007P\u0002\u0002\u06b8\u0180\u0003\u0002\u0002\u0002\u06b9\u06ba", + "\u0007G\u0002\u0002\u06ba\u06bb\u0007Z\u0002\u0002\u06bb\u06bc\u0007", + "E\u0002\u0002\u06bc\u06bd\u0007J\u0002\u0002\u06bd\u06be\u0007C\u0002", + "\u0002\u06be\u06bf\u0007P\u0002\u0002\u06bf\u06c0\u0007I\u0002\u0002", + "\u06c0\u06c1\u0007G\u0002\u0002\u06c1\u0182\u0003\u0002\u0002\u0002", + "\u06c2\u06c3\u0007C\u0002\u0002\u06c3\u06c4\u0007T\u0002\u0002\u06c4", + "\u06c5\u0007E\u0002\u0002\u06c5\u06c6\u0007J\u0002\u0002\u06c6\u06c7", + "\u0007K\u0002\u0002\u06c7\u06c8\u0007X\u0002\u0002\u06c8\u06c9\u0007", + "G\u0002\u0002\u06c9\u0184\u0003\u0002\u0002\u0002\u06ca\u06cb\u0007", + "W\u0002\u0002\u06cb\u06cc\u0007P\u0002\u0002\u06cc\u06cd\u0007C\u0002", + "\u0002\u06cd\u06ce\u0007T\u0002\u0002\u06ce\u06cf\u0007E\u0002\u0002", + "\u06cf\u06d0\u0007J\u0002\u0002\u06d0\u06d1\u0007K\u0002\u0002\u06d1", + "\u06d2\u0007X\u0002\u0002\u06d2\u06d3\u0007G\u0002\u0002\u06d3\u0186", + "\u0003\u0002\u0002\u0002\u06d4\u06d5\u0007H\u0002\u0002\u06d5\u06d6", + "\u0007K\u0002\u0002\u06d6\u06d7\u0007N\u0002\u0002\u06d7\u06d8\u0007", + "G\u0002\u0002\u06d8\u06d9\u0007H\u0002\u0002\u06d9\u06da\u0007Q\u0002", + "\u0002\u06da\u06db\u0007T\u0002\u0002\u06db\u06dc\u0007O\u0002\u0002", + "\u06dc\u06dd\u0007C\u0002\u0002\u06dd\u06de\u0007V\u0002\u0002\u06de", + "\u0188\u0003\u0002\u0002\u0002\u06df\u06e0\u0007V\u0002\u0002\u06e0", + "\u06e1\u0007Q\u0002\u0002\u06e1\u06e2\u0007W\u0002\u0002\u06e2\u06e3", + "\u0007E\u0002\u0002\u06e3\u06e4\u0007J\u0002\u0002\u06e4\u018a\u0003", + "\u0002\u0002\u0002\u06e5\u06e6\u0007E\u0002\u0002\u06e6\u06e7\u0007", + "Q\u0002\u0002\u06e7\u06e8\u0007O\u0002\u0002\u06e8\u06e9\u0007R\u0002", + "\u0002\u06e9\u06ea\u0007C\u0002\u0002\u06ea\u06eb\u0007E\u0002\u0002", + "\u06eb\u06ec\u0007V\u0002\u0002\u06ec\u018c\u0003\u0002\u0002\u0002", + "\u06ed\u06ee\u0007E\u0002\u0002\u06ee\u06ef\u0007Q\u0002\u0002\u06ef", + "\u06f0\u0007P\u0002\u0002\u06f0\u06f1\u0007E\u0002\u0002\u06f1\u06f2", + "\u0007C\u0002\u0002\u06f2\u06f3\u0007V\u0002\u0002\u06f3\u06f4\u0007", + "G\u0002\u0002\u06f4\u06f5\u0007P\u0002\u0002\u06f5\u06f6\u0007C\u0002", + "\u0002\u06f6\u06f7\u0007V\u0002\u0002\u06f7\u06f8\u0007G\u0002\u0002", + "\u06f8\u018e\u0003\u0002\u0002\u0002\u06f9\u06fa\u0007E\u0002\u0002", + "\u06fa\u06fb\u0007J\u0002\u0002\u06fb\u06fc\u0007C\u0002\u0002\u06fc", + "\u06fd\u0007P\u0002\u0002\u06fd\u06fe\u0007I\u0002\u0002\u06fe\u06ff", + "\u0007G\u0002\u0002\u06ff\u0190\u0003\u0002\u0002\u0002\u0700\u0701", + "\u0007E\u0002\u0002\u0701\u0702\u0007C\u0002\u0002\u0702\u0703\u0007", + "U\u0002\u0002\u0703\u0704\u0007E\u0002\u0002\u0704\u0705\u0007C\u0002", + "\u0002\u0705\u0706\u0007F\u0002\u0002\u0706\u0707\u0007G\u0002\u0002", + "\u0707\u0192\u0003\u0002\u0002\u0002\u0708\u0709\u0007T\u0002\u0002", + "\u0709\u070a\u0007G\u0002\u0002\u070a\u070b\u0007U\u0002\u0002\u070b", + "\u070c\u0007V\u0002\u0002\u070c\u070d\u0007T\u0002\u0002\u070d\u070e", + "\u0007K\u0002\u0002\u070e\u070f\u0007E\u0002\u0002\u070f\u0710\u0007", + "V\u0002\u0002\u0710\u0194\u0003\u0002\u0002\u0002\u0711\u0712\u0007", + "E\u0002\u0002\u0712\u0713\u0007N\u0002\u0002\u0713\u0714\u0007W\u0002", + "\u0002\u0714\u0715\u0007U\u0002\u0002\u0715\u0716\u0007V\u0002\u0002", + "\u0716\u0717\u0007G\u0002\u0002\u0717\u0718\u0007T\u0002\u0002\u0718", + "\u0719\u0007G\u0002\u0002\u0719\u071a\u0007F\u0002\u0002\u071a\u0196", + "\u0003\u0002\u0002\u0002\u071b\u071c\u0007U\u0002\u0002\u071c\u071d", + "\u0007Q\u0002\u0002\u071d\u071e\u0007T\u0002\u0002\u071e\u071f\u0007", + "V\u0002\u0002\u071f\u0720\u0007G\u0002\u0002\u0720\u0721\u0007F\u0002", + "\u0002\u0721\u0198\u0003\u0002\u0002\u0002\u0722\u0723\u0007R\u0002", + "\u0002\u0723\u0724\u0007W\u0002\u0002\u0724\u0725\u0007T\u0002\u0002", + "\u0725\u0726\u0007I\u0002\u0002\u0726\u0727\u0007G\u0002\u0002\u0727", + "\u019a\u0003\u0002\u0002\u0002\u0728\u0729\u0007K\u0002\u0002\u0729", + "\u072a\u0007P\u0002\u0002\u072a\u072b\u0007R\u0002\u0002\u072b\u072c", + "\u0007W\u0002\u0002\u072c\u072d\u0007V\u0002\u0002\u072d\u072e\u0007", + "H\u0002\u0002\u072e\u072f\u0007Q\u0002\u0002\u072f\u0730\u0007T\u0002", + "\u0002\u0730\u0731\u0007O\u0002\u0002\u0731\u0732\u0007C\u0002\u0002", + "\u0732\u0733\u0007V\u0002\u0002\u0733\u019c\u0003\u0002\u0002\u0002", + "\u0734\u0735\u0007Q\u0002\u0002\u0735\u0736\u0007W\u0002\u0002\u0736", + "\u0737\u0007V\u0002\u0002\u0737\u0738\u0007R\u0002\u0002\u0738\u0739", + "\u0007W\u0002\u0002\u0739\u073a\u0007V\u0002\u0002\u073a\u073b\u0007", + "H\u0002\u0002\u073b\u073c\u0007Q\u0002\u0002\u073c\u073d\u0007T\u0002", + "\u0002\u073d\u073e\u0007O\u0002\u0002\u073e\u073f\u0007C\u0002\u0002", + "\u073f\u0740\u0007V\u0002\u0002\u0740\u019e\u0003\u0002\u0002\u0002", + "\u0741\u0742\u0007F\u0002\u0002\u0742\u0743\u0007C\u0002\u0002\u0743", + "\u0744\u0007V\u0002\u0002\u0744\u0745\u0007C\u0002\u0002\u0745\u0746", + "\u0007D\u0002\u0002\u0746\u0747\u0007C\u0002\u0002\u0747\u0748\u0007", + "U\u0002\u0002\u0748\u0750\u0007G\u0002\u0002\u0749\u074a\u0007U\u0002", + "\u0002\u074a\u074b\u0007E\u0002\u0002\u074b\u074c\u0007J\u0002\u0002", + "\u074c\u074d\u0007G\u0002\u0002\u074d\u074e\u0007O\u0002\u0002\u074e", + "\u0750\u0007C\u0002\u0002\u074f\u0741\u0003\u0002\u0002\u0002\u074f", + "\u0749\u0003\u0002\u0002\u0002\u0750\u01a0\u0003\u0002\u0002\u0002\u0751", + "\u0752\u0007F\u0002\u0002\u0752\u0753\u0007C\u0002\u0002\u0753\u0754", + "\u0007V\u0002\u0002\u0754\u0755\u0007C\u0002\u0002\u0755\u0756\u0007", + "D\u0002\u0002\u0756\u0757\u0007C\u0002\u0002\u0757\u0758\u0007U\u0002", + "\u0002\u0758\u0759\u0007G\u0002\u0002\u0759\u0762\u0007U\u0002\u0002", + "\u075a\u075b\u0007U\u0002\u0002\u075b\u075c\u0007E\u0002\u0002\u075c", + "\u075d\u0007J\u0002\u0002\u075d\u075e\u0007G\u0002\u0002\u075e\u075f", + "\u0007O\u0002\u0002\u075f\u0760\u0007C\u0002\u0002\u0760\u0762\u0007", + "U\u0002\u0002\u0761\u0751\u0003\u0002\u0002\u0002\u0761\u075a\u0003", + "\u0002\u0002\u0002\u0762\u01a2\u0003\u0002\u0002\u0002\u0763\u0764\u0007", + "F\u0002\u0002\u0764\u0765\u0007H\u0002\u0002\u0765\u0766\u0007U\u0002", + "\u0002\u0766\u01a4\u0003\u0002\u0002\u0002\u0767\u0768\u0007V\u0002", + "\u0002\u0768\u0769\u0007T\u0002\u0002\u0769\u076a\u0007W\u0002\u0002", + "\u076a\u076b\u0007P\u0002\u0002\u076b\u076c\u0007E\u0002\u0002\u076c", + "\u076d\u0007C\u0002\u0002\u076d\u076e\u0007V\u0002\u0002\u076e\u076f", + "\u0007G\u0002\u0002\u076f\u01a6\u0003\u0002\u0002\u0002\u0770\u0771", + "\u0007C\u0002\u0002\u0771\u0772\u0007P\u0002\u0002\u0772\u0773\u0007", + "C\u0002\u0002\u0773\u0774\u0007N\u0002\u0002\u0774\u0775\u0007[\u0002", + "\u0002\u0775\u0776\u0007\\\u0002\u0002\u0776\u0777\u0007G\u0002\u0002", + "\u0777\u01a8\u0003\u0002\u0002\u0002\u0778\u0779\u0007E\u0002\u0002", + "\u0779\u077a\u0007Q\u0002\u0002\u077a\u077b\u0007O\u0002\u0002\u077b", + "\u077c\u0007R\u0002\u0002\u077c\u077d\u0007W\u0002\u0002\u077d\u077e", + "\u0007V\u0002\u0002\u077e\u077f\u0007G\u0002\u0002\u077f\u01aa\u0003", + "\u0002\u0002\u0002\u0780\u0781\u0007N\u0002\u0002\u0781\u0782\u0007", + "K\u0002\u0002\u0782\u0783\u0007U\u0002\u0002\u0783\u0784\u0007V\u0002", + "\u0002\u0784\u01ac\u0003\u0002\u0002\u0002\u0785\u0786\u0007U\u0002", + "\u0002\u0786\u0787\u0007V\u0002\u0002\u0787\u0788\u0007C\u0002\u0002", + "\u0788\u0789\u0007V\u0002\u0002\u0789\u078a\u0007K\u0002\u0002\u078a", + "\u078b\u0007U\u0002\u0002\u078b\u078c\u0007V\u0002\u0002\u078c\u078d", + "\u0007K\u0002\u0002\u078d\u078e\u0007E\u0002\u0002\u078e\u078f\u0007", + "U\u0002\u0002\u078f\u01ae\u0003\u0002\u0002\u0002\u0790\u0791\u0007", + "R\u0002\u0002\u0791\u0792\u0007C\u0002\u0002\u0792\u0793\u0007T\u0002", + "\u0002\u0793\u0794\u0007V\u0002\u0002\u0794\u0795\u0007K\u0002\u0002", + "\u0795\u0796\u0007V\u0002\u0002\u0796\u0797\u0007K\u0002\u0002\u0797", + "\u0798\u0007Q\u0002\u0002\u0798\u0799\u0007P\u0002\u0002\u0799\u079a", + "\u0007G\u0002\u0002\u079a\u079b\u0007F\u0002\u0002\u079b\u01b0\u0003", + "\u0002\u0002\u0002\u079c\u079d\u0007G\u0002\u0002\u079d\u079e\u0007", + "Z\u0002\u0002\u079e\u079f\u0007V\u0002\u0002\u079f\u07a0\u0007G\u0002", + "\u0002\u07a0\u07a1\u0007T\u0002\u0002\u07a1\u07a2\u0007P\u0002\u0002", + "\u07a2\u07a3\u0007C\u0002\u0002\u07a3\u07a4\u0007N\u0002\u0002\u07a4", + "\u01b2\u0003\u0002\u0002\u0002\u07a5\u07a6\u0007F\u0002\u0002\u07a6", + "\u07a7\u0007G\u0002\u0002\u07a7\u07a8\u0007H\u0002\u0002\u07a8\u07a9", + "\u0007K\u0002\u0002\u07a9\u07aa\u0007P\u0002\u0002\u07aa\u07ab\u0007", + "G\u0002\u0002\u07ab\u07ac\u0007F\u0002\u0002\u07ac\u01b4\u0003\u0002", + "\u0002\u0002\u07ad\u07ae\u0007T\u0002\u0002\u07ae\u07af\u0007G\u0002", + "\u0002\u07af\u07b0\u0007X\u0002\u0002\u07b0\u07b1\u0007Q\u0002\u0002", + "\u07b1\u07b2\u0007M\u0002\u0002\u07b2\u07b3\u0007G\u0002\u0002\u07b3", + "\u01b6\u0003\u0002\u0002\u0002\u07b4\u07b5\u0007I\u0002\u0002\u07b5", + "\u07b6\u0007T\u0002\u0002\u07b6\u07b7\u0007C\u0002\u0002\u07b7\u07b8", + "\u0007P\u0002\u0002\u07b8\u07b9\u0007V\u0002\u0002\u07b9\u01b8\u0003", + "\u0002\u0002\u0002\u07ba\u07bb\u0007N\u0002\u0002\u07bb\u07bc\u0007", + "Q\u0002\u0002\u07bc\u07bd\u0007E\u0002\u0002\u07bd\u07be\u0007M\u0002", + "\u0002\u07be\u01ba\u0003\u0002\u0002\u0002\u07bf\u07c0\u0007W\u0002", + "\u0002\u07c0\u07c1\u0007P\u0002\u0002\u07c1\u07c2\u0007N\u0002\u0002", + "\u07c2\u07c3\u0007Q\u0002\u0002\u07c3\u07c4\u0007E\u0002\u0002\u07c4", + "\u07c5\u0007M\u0002\u0002\u07c5\u01bc\u0003\u0002\u0002\u0002\u07c6", + "\u07c7\u0007O\u0002\u0002\u07c7\u07c8\u0007U\u0002\u0002\u07c8\u07c9", + "\u0007E\u0002\u0002\u07c9\u07ca\u0007M\u0002\u0002\u07ca\u01be\u0003", + "\u0002\u0002\u0002\u07cb\u07cc\u0007T\u0002\u0002\u07cc\u07cd\u0007", + "G\u0002\u0002\u07cd\u07ce\u0007R\u0002\u0002\u07ce\u07cf\u0007C\u0002", + "\u0002\u07cf\u07d0\u0007K\u0002\u0002\u07d0\u07d1\u0007T\u0002\u0002", + "\u07d1\u01c0\u0003\u0002\u0002\u0002\u07d2\u07d3\u0007T\u0002\u0002", + "\u07d3\u07d4\u0007G\u0002\u0002\u07d4\u07d5\u0007E\u0002\u0002\u07d5", + "\u07d6\u0007Q\u0002\u0002\u07d6\u07d7\u0007X\u0002\u0002\u07d7\u07d8", + "\u0007G\u0002\u0002\u07d8\u07d9\u0007T\u0002\u0002\u07d9\u01c2\u0003", + "\u0002\u0002\u0002\u07da\u07db\u0007G\u0002\u0002\u07db\u07dc\u0007", + "Z\u0002\u0002\u07dc\u07dd\u0007R\u0002\u0002\u07dd\u07de\u0007Q\u0002", + "\u0002\u07de\u07df\u0007T\u0002\u0002\u07df\u07e0\u0007V\u0002\u0002", + "\u07e0\u01c4\u0003\u0002\u0002\u0002\u07e1\u07e2\u0007K\u0002\u0002", + "\u07e2\u07e3\u0007O\u0002\u0002\u07e3\u07e4\u0007R\u0002\u0002\u07e4", + "\u07e5\u0007Q\u0002\u0002\u07e5\u07e6\u0007T\u0002\u0002\u07e6\u07e7", + "\u0007V\u0002\u0002\u07e7\u01c6\u0003\u0002\u0002\u0002\u07e8\u07e9", + "\u0007N\u0002\u0002\u07e9\u07ea\u0007Q\u0002\u0002\u07ea\u07eb\u0007", + "C\u0002\u0002\u07eb\u07ec\u0007F\u0002\u0002\u07ec\u01c8\u0003\u0002", + "\u0002\u0002\u07ed\u07ee\u0007T\u0002\u0002\u07ee\u07ef\u0007Q\u0002", + "\u0002\u07ef\u07f0\u0007N\u0002\u0002\u07f0\u07f1\u0007G\u0002\u0002", + "\u07f1\u01ca\u0003\u0002\u0002\u0002\u07f2\u07f3\u0007T\u0002\u0002", + "\u07f3\u07f4\u0007Q\u0002\u0002\u07f4\u07f5\u0007N\u0002\u0002\u07f5", + "\u07f6\u0007G\u0002\u0002\u07f6\u07f7\u0007U\u0002\u0002\u07f7\u01cc", + "\u0003\u0002\u0002\u0002\u07f8\u07f9\u0007E\u0002\u0002\u07f9\u07fa", + "\u0007Q\u0002\u0002\u07fa\u07fb\u0007O\u0002\u0002\u07fb\u07fc\u0007", + "R\u0002\u0002\u07fc\u07fd\u0007C\u0002\u0002\u07fd\u07fe\u0007E\u0002", + "\u0002\u07fe\u07ff\u0007V\u0002\u0002\u07ff\u0800\u0007K\u0002\u0002", + "\u0800\u0801\u0007Q\u0002\u0002\u0801\u0802\u0007P\u0002\u0002\u0802", + "\u0803\u0007U\u0002\u0002\u0803\u01ce\u0003\u0002\u0002\u0002\u0804", + "\u0805\u0007R\u0002\u0002\u0805\u0806\u0007T\u0002\u0002\u0806\u0807", + "\u0007K\u0002\u0002\u0807\u0808\u0007P\u0002\u0002\u0808\u0809\u0007", + "E\u0002\u0002\u0809\u080a\u0007K\u0002\u0002\u080a\u080b\u0007R\u0002", + "\u0002\u080b\u080c\u0007C\u0002\u0002\u080c\u080d\u0007N\u0002\u0002", + "\u080d\u080e\u0007U\u0002\u0002\u080e\u01d0\u0003\u0002\u0002\u0002", + "\u080f\u0810\u0007V\u0002\u0002\u0810\u0811\u0007T\u0002\u0002\u0811", + "\u0812\u0007C\u0002\u0002\u0812\u0813\u0007P\u0002\u0002\u0813\u0814", + "\u0007U\u0002\u0002\u0814\u0815\u0007C\u0002\u0002\u0815\u0816\u0007", + "E\u0002\u0002\u0816\u0817\u0007V\u0002\u0002\u0817\u0818\u0007K\u0002", + "\u0002\u0818\u0819\u0007Q\u0002\u0002\u0819\u081a\u0007P\u0002\u0002", + "\u081a\u081b\u0007U\u0002\u0002\u081b\u01d2\u0003\u0002\u0002\u0002", + "\u081c\u081d\u0007K\u0002\u0002\u081d\u081e\u0007P\u0002\u0002\u081e", + "\u081f\u0007F\u0002\u0002\u081f\u0820\u0007G\u0002\u0002\u0820\u0821", + "\u0007Z\u0002\u0002\u0821\u01d4\u0003\u0002\u0002\u0002\u0822\u0823", + "\u0007K\u0002\u0002\u0823\u0824\u0007P\u0002\u0002\u0824\u0825\u0007", + "F\u0002\u0002\u0825\u0826\u0007G\u0002\u0002\u0826\u0827\u0007Z\u0002", + "\u0002\u0827\u0828\u0007G\u0002\u0002\u0828\u0829\u0007U\u0002\u0002", + "\u0829\u01d6\u0003\u0002\u0002\u0002\u082a\u082b\u0007N\u0002\u0002", + "\u082b\u082c\u0007Q\u0002\u0002\u082c\u082d\u0007E\u0002\u0002\u082d", + "\u082e\u0007M\u0002\u0002\u082e\u082f\u0007U\u0002\u0002\u082f\u01d8", + "\u0003\u0002\u0002\u0002\u0830\u0831\u0007Q\u0002\u0002\u0831\u0832", + "\u0007R\u0002\u0002\u0832\u0833\u0007V\u0002\u0002\u0833\u0834\u0007", + "K\u0002\u0002\u0834\u0835\u0007Q\u0002\u0002\u0835\u0836\u0007P\u0002", + "\u0002\u0836\u01da\u0003\u0002\u0002\u0002\u0837\u0838\u0007C\u0002", + "\u0002\u0838\u0839\u0007P\u0002\u0002\u0839\u083a\u0007V\u0002\u0002", + "\u083a\u083b\u0007K\u0002\u0002\u083b\u01dc\u0003\u0002\u0002\u0002", + "\u083c\u083d\u0007N\u0002\u0002\u083d\u083e\u0007Q\u0002\u0002\u083e", + "\u083f\u0007E\u0002\u0002\u083f\u0840\u0007C\u0002\u0002\u0840\u0841", + "\u0007N\u0002\u0002\u0841\u01de\u0003\u0002\u0002\u0002\u0842\u0843", + "\u0007K\u0002\u0002\u0843\u0844\u0007P\u0002\u0002\u0844\u0845\u0007", + "R\u0002\u0002\u0845\u0846\u0007C\u0002\u0002\u0846\u0847\u0007V\u0002", + "\u0002\u0847\u0848\u0007J\u0002\u0002\u0848\u01e0\u0003\u0002\u0002", + "\u0002\u0849\u084a\u0007Y\u0002\u0002\u084a\u084b\u0007C\u0002\u0002", + "\u084b\u084c\u0007V\u0002\u0002\u084c\u084d\u0007G\u0002\u0002\u084d", + "\u084e\u0007T\u0002\u0002\u084e\u084f\u0007O\u0002\u0002\u084f\u0850", + "\u0007C\u0002\u0002\u0850\u0851\u0007T\u0002\u0002\u0851\u0852\u0007", + "M\u0002\u0002\u0852\u01e2\u0003\u0002\u0002\u0002\u0853\u0859\u0007", + ")\u0002\u0002\u0854\u0858\n\u0002\u0002\u0002\u0855\u0856\u0007^\u0002", + "\u0002\u0856\u0858\u000b\u0002\u0002\u0002\u0857\u0854\u0003\u0002\u0002", + "\u0002\u0857\u0855\u0003\u0002\u0002\u0002\u0858\u085b\u0003\u0002\u0002", + "\u0002\u0859\u0857\u0003\u0002\u0002\u0002\u0859\u085a\u0003\u0002\u0002", + "\u0002\u085a\u085c\u0003\u0002\u0002\u0002\u085b\u0859\u0003\u0002\u0002", + "\u0002\u085c\u0868\u0007)\u0002\u0002\u085d\u0863\u0007$\u0002\u0002", + "\u085e\u0862\n\u0003\u0002\u0002\u085f\u0860\u0007^\u0002\u0002\u0860", + "\u0862\u000b\u0002\u0002\u0002\u0861\u085e\u0003\u0002\u0002\u0002\u0861", + "\u085f\u0003\u0002\u0002\u0002\u0862\u0865\u0003\u0002\u0002\u0002\u0863", + "\u0861\u0003\u0002\u0002\u0002\u0863\u0864\u0003\u0002\u0002\u0002\u0864", + "\u0866\u0003\u0002\u0002\u0002\u0865\u0863\u0003\u0002\u0002\u0002\u0866", + "\u0868\u0007$\u0002\u0002\u0867\u0853\u0003\u0002\u0002\u0002\u0867", + "\u085d\u0003\u0002\u0002\u0002\u0868\u01e4\u0003\u0002\u0002\u0002\u0869", + "\u086b\u0005\u01fb\u00fe\u0002\u086a\u0869\u0003\u0002\u0002\u0002\u086b", + "\u086c\u0003\u0002\u0002\u0002\u086c\u086a\u0003\u0002\u0002\u0002\u086c", + "\u086d\u0003\u0002\u0002\u0002\u086d\u086e\u0003\u0002\u0002\u0002\u086e", + "\u086f\u0007N\u0002\u0002\u086f\u01e6\u0003\u0002\u0002\u0002\u0870", + "\u0872\u0005\u01fb\u00fe\u0002\u0871\u0870\u0003\u0002\u0002\u0002\u0872", + "\u0873\u0003\u0002\u0002\u0002\u0873\u0871\u0003\u0002\u0002\u0002\u0873", + "\u0874\u0003\u0002\u0002\u0002\u0874\u0875\u0003\u0002\u0002\u0002\u0875", + "\u0876\u0007U\u0002\u0002\u0876\u01e8\u0003\u0002\u0002\u0002\u0877", + "\u0879\u0005\u01fb\u00fe\u0002\u0878\u0877\u0003\u0002\u0002\u0002\u0879", + "\u087a\u0003\u0002\u0002\u0002\u087a\u0878\u0003\u0002\u0002\u0002\u087a", + "\u087b\u0003\u0002\u0002\u0002\u087b\u087c\u0003\u0002\u0002\u0002\u087c", + "\u087d\u0007[\u0002\u0002\u087d\u01ea\u0003\u0002\u0002\u0002\u087e", + "\u0880\u0005\u01fb\u00fe\u0002\u087f\u087e\u0003\u0002\u0002\u0002\u0880", + "\u0881\u0003\u0002\u0002\u0002\u0881\u087f\u0003\u0002\u0002\u0002\u0881", + "\u0882\u0003\u0002\u0002\u0002\u0882\u01ec\u0003\u0002\u0002\u0002\u0883", + "\u0885\u0005\u01fb\u00fe\u0002\u0884\u0883\u0003\u0002\u0002\u0002\u0885", + "\u0886\u0003\u0002\u0002\u0002\u0886\u0884\u0003\u0002\u0002\u0002\u0886", + "\u0887\u0003\u0002\u0002\u0002\u0887\u0888\u0003\u0002\u0002\u0002\u0888", + "\u0889\u0005\u01f9\u00fd\u0002\u0889\u0891\u0003\u0002\u0002\u0002\u088a", + "\u088c\u0005\u01f7\u00fc\u0002\u088b\u088d\u0005\u01f9\u00fd\u0002\u088c", + "\u088b\u0003\u0002\u0002\u0002\u088c\u088d\u0003\u0002\u0002\u0002\u088d", + "\u088e\u0003\u0002\u0002\u0002\u088e\u088f\u0006\u00f7\u0002\u0002\u088f", + "\u0891\u0003\u0002\u0002\u0002\u0890\u0884\u0003\u0002\u0002\u0002\u0890", + "\u088a\u0003\u0002\u0002\u0002\u0891\u01ee\u0003\u0002\u0002\u0002\u0892", + "\u0894\u0005\u01fb\u00fe\u0002\u0893\u0892\u0003\u0002\u0002\u0002\u0894", + "\u0895\u0003\u0002\u0002\u0002\u0895\u0893\u0003\u0002\u0002\u0002\u0895", + "\u0896\u0003\u0002\u0002\u0002\u0896\u0898\u0003\u0002\u0002\u0002\u0897", + "\u0899\u0005\u01f9\u00fd\u0002\u0898\u0897\u0003\u0002\u0002\u0002\u0898", + "\u0899\u0003\u0002\u0002\u0002\u0899\u089a\u0003\u0002\u0002\u0002\u089a", + "\u089b\u0007F\u0002\u0002\u089b\u08a4\u0003\u0002\u0002\u0002\u089c", + "\u089e\u0005\u01f7\u00fc\u0002\u089d\u089f\u0005\u01f9\u00fd\u0002\u089e", + "\u089d\u0003\u0002\u0002\u0002\u089e\u089f\u0003\u0002\u0002\u0002\u089f", + "\u08a0\u0003\u0002\u0002\u0002\u08a0\u08a1\u0007F\u0002\u0002\u08a1", + "\u08a2\u0006\u00f8\u0003\u0002\u08a2\u08a4\u0003\u0002\u0002\u0002\u08a3", + "\u0893\u0003\u0002\u0002\u0002\u08a3\u089c\u0003\u0002\u0002\u0002\u08a4", + "\u01f0\u0003\u0002\u0002\u0002\u08a5\u08a7\u0005\u01fb\u00fe\u0002\u08a6", + "\u08a5\u0003\u0002\u0002\u0002\u08a7\u08a8\u0003\u0002\u0002\u0002\u08a8", + "\u08a6\u0003\u0002\u0002\u0002\u08a8\u08a9\u0003\u0002\u0002\u0002\u08a9", + "\u08ab\u0003\u0002\u0002\u0002\u08aa\u08ac\u0005\u01f9\u00fd\u0002\u08ab", + "\u08aa\u0003\u0002\u0002\u0002\u08ab\u08ac\u0003\u0002\u0002\u0002\u08ac", + "\u08ad\u0003\u0002\u0002\u0002\u08ad\u08ae\u0007D\u0002\u0002\u08ae", + "\u08af\u0007F\u0002\u0002\u08af\u08ba\u0003\u0002\u0002\u0002\u08b0", + "\u08b2\u0005\u01f7\u00fc\u0002\u08b1\u08b3\u0005\u01f9\u00fd\u0002\u08b2", + "\u08b1\u0003\u0002\u0002\u0002\u08b2\u08b3\u0003\u0002\u0002\u0002\u08b3", + "\u08b4\u0003\u0002\u0002\u0002\u08b4\u08b5\u0007D\u0002\u0002\u08b5", + "\u08b6\u0007F\u0002\u0002\u08b6\u08b7\u0003\u0002\u0002\u0002\u08b7", + "\u08b8\u0006\u00f9\u0004\u0002\u08b8\u08ba\u0003\u0002\u0002\u0002\u08b9", + "\u08a6\u0003\u0002\u0002\u0002\u08b9\u08b0\u0003\u0002\u0002\u0002\u08ba", + "\u01f2\u0003\u0002\u0002\u0002\u08bb\u08bf\u0005\u01fd\u00ff\u0002\u08bc", + "\u08bf\u0005\u01fb\u00fe\u0002\u08bd\u08bf\u0007a\u0002\u0002\u08be", + "\u08bb\u0003\u0002\u0002\u0002\u08be\u08bc\u0003\u0002\u0002\u0002\u08be", + "\u08bd\u0003\u0002\u0002\u0002\u08bf\u08c0\u0003\u0002\u0002\u0002\u08c0", + "\u08be\u0003\u0002\u0002\u0002\u08c0\u08c1\u0003\u0002\u0002\u0002\u08c1", + "\u01f4\u0003\u0002\u0002\u0002\u08c2\u08c8\u0007b\u0002\u0002\u08c3", + "\u08c7\n\u0004\u0002\u0002\u08c4\u08c5\u0007b\u0002\u0002\u08c5\u08c7", + "\u0007b\u0002\u0002\u08c6\u08c3\u0003\u0002\u0002\u0002\u08c6\u08c4", + "\u0003\u0002\u0002\u0002\u08c7\u08ca\u0003\u0002\u0002\u0002\u08c8\u08c6", + "\u0003\u0002\u0002\u0002\u08c8\u08c9\u0003\u0002\u0002\u0002\u08c9\u08cb", + "\u0003\u0002\u0002\u0002\u08ca\u08c8\u0003\u0002\u0002\u0002\u08cb\u08cc", + "\u0007b\u0002\u0002\u08cc\u01f6\u0003\u0002\u0002\u0002\u08cd\u08cf", + "\u0005\u01fb\u00fe\u0002\u08ce\u08cd\u0003\u0002\u0002\u0002\u08cf\u08d0", + "\u0003\u0002\u0002\u0002\u08d0\u08ce\u0003\u0002\u0002\u0002\u08d0\u08d1", + "\u0003\u0002\u0002\u0002\u08d1\u08d2\u0003\u0002\u0002\u0002\u08d2\u08d6", + "\u00070\u0002\u0002\u08d3\u08d5\u0005\u01fb\u00fe\u0002\u08d4\u08d3", + "\u0003\u0002\u0002\u0002\u08d5\u08d8\u0003\u0002\u0002\u0002\u08d6\u08d4", + "\u0003\u0002\u0002\u0002\u08d6\u08d7\u0003\u0002\u0002\u0002\u08d7\u08e0", + "\u0003\u0002\u0002\u0002\u08d8\u08d6\u0003\u0002\u0002\u0002\u08d9\u08db", + "\u00070\u0002\u0002\u08da\u08dc\u0005\u01fb\u00fe\u0002\u08db\u08da", + "\u0003\u0002\u0002\u0002\u08dc\u08dd\u0003\u0002\u0002\u0002\u08dd\u08db", + "\u0003\u0002\u0002\u0002\u08dd\u08de\u0003\u0002\u0002\u0002\u08de\u08e0", + "\u0003\u0002\u0002\u0002\u08df\u08ce\u0003\u0002\u0002\u0002\u08df\u08d9", + "\u0003\u0002\u0002\u0002\u08e0\u01f8\u0003\u0002\u0002\u0002\u08e1\u08e3", + "\u0007G\u0002\u0002\u08e2\u08e4\t\u0005\u0002\u0002\u08e3\u08e2\u0003", + "\u0002\u0002\u0002\u08e3\u08e4\u0003\u0002\u0002\u0002\u08e4\u08e6\u0003", + "\u0002\u0002\u0002\u08e5\u08e7\u0005\u01fb\u00fe\u0002\u08e6\u08e5\u0003", + "\u0002\u0002\u0002\u08e7\u08e8\u0003\u0002\u0002\u0002\u08e8\u08e6\u0003", + "\u0002\u0002\u0002\u08e8\u08e9\u0003\u0002\u0002\u0002\u08e9\u01fa\u0003", + "\u0002\u0002\u0002\u08ea\u08eb\t\u0006\u0002\u0002\u08eb\u01fc\u0003", + "\u0002\u0002\u0002\u08ec\u08ed\t\u0007\u0002\u0002\u08ed\u01fe\u0003", + "\u0002\u0002\u0002\u08ee\u08ef\u0007/\u0002\u0002\u08ef\u08f0\u0007", + "/\u0002\u0002\u08f0\u08f4\u0003\u0002\u0002\u0002\u08f1\u08f3\n\b\u0002", + "\u0002\u08f2\u08f1\u0003\u0002\u0002\u0002\u08f3\u08f6\u0003\u0002\u0002", + "\u0002\u08f4\u08f2\u0003\u0002\u0002\u0002\u08f4\u08f5\u0003\u0002\u0002", + "\u0002\u08f5\u08f8\u0003\u0002\u0002\u0002\u08f6\u08f4\u0003\u0002\u0002", + "\u0002\u08f7\u08f9\u0007\u000f\u0002\u0002\u08f8\u08f7\u0003\u0002\u0002", + "\u0002\u08f8\u08f9\u0003\u0002\u0002\u0002\u08f9\u08fb\u0003\u0002\u0002", + "\u0002\u08fa\u08fc\u0007\f\u0002\u0002\u08fb\u08fa\u0003\u0002\u0002", + "\u0002\u08fb\u08fc\u0003\u0002\u0002\u0002\u08fc\u08fd\u0003\u0002\u0002", + "\u0002\u08fd\u08fe\b\u0100\u0002\u0002\u08fe\u0200\u0003\u0002\u0002", + "\u0002\u08ff\u0900\u00071\u0002\u0002\u0900\u0901\u0007,\u0002\u0002", + "\u0901\u0902\u0007,\u0002\u0002\u0902\u0903\u00071\u0002\u0002\u0903", + "\u0904\u0003\u0002\u0002\u0002\u0904\u0905\b\u0101\u0002\u0002\u0905", + "\u0202\u0003\u0002\u0002\u0002\u0906\u0907\u00071\u0002\u0002\u0907", + "\u0908\u0007,\u0002\u0002\u0908\u0909\u0003\u0002\u0002\u0002\u0909", + "\u090d\n\t\u0002\u0002\u090a\u090c\u000b\u0002\u0002\u0002\u090b\u090a", + "\u0003\u0002\u0002\u0002\u090c\u090f\u0003\u0002\u0002\u0002\u090d\u090e", + "\u0003\u0002\u0002\u0002\u090d\u090b\u0003\u0002\u0002\u0002\u090e\u0910", + "\u0003\u0002\u0002\u0002\u090f\u090d\u0003\u0002\u0002\u0002\u0910\u0911", + "\u0007,\u0002\u0002\u0911\u0912\u00071\u0002\u0002\u0912\u0913\u0003", + "\u0002\u0002\u0002\u0913\u0914\b\u0102\u0002\u0002\u0914\u0204\u0003", + "\u0002\u0002\u0002\u0915\u0917\t\n\u0002\u0002\u0916\u0915\u0003\u0002", + "\u0002\u0002\u0917\u0918\u0003\u0002\u0002\u0002\u0918\u0916\u0003\u0002", + "\u0002\u0002\u0918\u0919\u0003\u0002\u0002\u0002\u0919\u091a\u0003\u0002", + "\u0002\u0002\u091a\u091b\b\u0103\u0002\u0002\u091b\u0206\u0003\u0002", + "\u0002\u0002\u091c\u091d\u000b\u0002\u0002\u0002\u091d\u0208\u0003\u0002", + "\u0002\u0002.\u0002\u0292\u02b6\u0514\u0526\u052e\u0663\u074f\u0761", + "\u0857\u0859\u0861\u0863\u0867\u086c\u0873\u087a\u0881\u0886\u088c\u0890", + "\u0895\u0898\u089e\u08a3\u08a8\u08ab\u08b2\u08b9\u08be\u08c0\u08c6\u08c8", + "\u08d0\u08d6\u08dd\u08df\u08e3\u08e8\u08f4\u08f8\u08fb\u090d\u0918\u0003", + "\u0002\u0003\u0002"].join(""); + + +var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); + +var decisionsToDFA = atn.decisionToState.map( function(ds, index) { return new antlr4.dfa.DFA(ds, index); }); + +function sqlLexer(input) { + antlr4.Lexer.call(this, input); + this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.PredictionContextCache()); + return this; +} + +sqlLexer.prototype = Object.create(antlr4.Lexer.prototype); +sqlLexer.prototype.constructor = sqlLexer; + +Object.defineProperty(sqlLexer.prototype, "atn", { + get : function() { + return atn; + } +}); + +sqlLexer.EOF = antlr4.Token.EOF; +sqlLexer.T__0 = 1; +sqlLexer.T__1 = 2; +sqlLexer.T__2 = 3; +sqlLexer.T__3 = 4; +sqlLexer.T__4 = 5; +sqlLexer.T__5 = 6; +sqlLexer.T__6 = 7; +sqlLexer.T__7 = 8; +sqlLexer.T__8 = 9; +sqlLexer.T__9 = 10; +sqlLexer.SELECT = 11; +sqlLexer.FROM = 12; +sqlLexer.ADD = 13; +sqlLexer.AS = 14; +sqlLexer.ALL = 15; +sqlLexer.ANY = 16; +sqlLexer.DISTINCT = 17; +sqlLexer.WHERE = 18; +sqlLexer.GROUP = 19; +sqlLexer.BY = 20; +sqlLexer.GROUPING = 21; +sqlLexer.SETS = 22; +sqlLexer.CUBE = 23; +sqlLexer.ROLLUP = 24; +sqlLexer.ORDER = 25; +sqlLexer.HAVING = 26; +sqlLexer.LIMIT = 27; +sqlLexer.AT = 28; +sqlLexer.OR = 29; +sqlLexer.AND = 30; +sqlLexer.IN = 31; +sqlLexer.NOT = 32; +sqlLexer.NO = 33; +sqlLexer.EXISTS = 34; +sqlLexer.BETWEEN = 35; +sqlLexer.LIKE = 36; +sqlLexer.RLIKE = 37; +sqlLexer.IS = 38; +sqlLexer.NULL = 39; +sqlLexer.TRUE = 40; +sqlLexer.FALSE = 41; +sqlLexer.NULLS = 42; +sqlLexer.ASC = 43; +sqlLexer.DESC = 44; +sqlLexer.FOR = 45; +sqlLexer.INTERVAL = 46; +sqlLexer.CASE = 47; +sqlLexer.WHEN = 48; +sqlLexer.THEN = 49; +sqlLexer.ELSE = 50; +sqlLexer.END = 51; +sqlLexer.JOIN = 52; +sqlLexer.CROSS = 53; +sqlLexer.OUTER = 54; +sqlLexer.INNER = 55; +sqlLexer.LEFT = 56; +sqlLexer.SEMI = 57; +sqlLexer.RIGHT = 58; +sqlLexer.FULL = 59; +sqlLexer.NATURAL = 60; +sqlLexer.ON = 61; +sqlLexer.PIVOT = 62; +sqlLexer.LATERAL = 63; +sqlLexer.WINDOW = 64; +sqlLexer.OVER = 65; +sqlLexer.PARTITION = 66; +sqlLexer.RANGE = 67; +sqlLexer.ROWS = 68; +sqlLexer.UNBOUNDED = 69; +sqlLexer.PRECEDING = 70; +sqlLexer.FOLLOWING = 71; +sqlLexer.CURRENT = 72; +sqlLexer.FIRST = 73; +sqlLexer.AFTER = 74; +sqlLexer.LAST = 75; +sqlLexer.ROW = 76; +sqlLexer.WITH = 77; +sqlLexer.VALUES = 78; +sqlLexer.CREATE = 79; +sqlLexer.TABLE = 80; +sqlLexer.DIRECTORY = 81; +sqlLexer.VIEW = 82; +sqlLexer.REPLACE = 83; +sqlLexer.INSERT = 84; +sqlLexer.DELETE = 85; +sqlLexer.INTO = 86; +sqlLexer.DESCRIBE = 87; +sqlLexer.EXPLAIN = 88; +sqlLexer.FORMAT = 89; +sqlLexer.LOGICAL = 90; +sqlLexer.CODEGEN = 91; +sqlLexer.COST = 92; +sqlLexer.CAST = 93; +sqlLexer.SHOW = 94; +sqlLexer.TABLES = 95; +sqlLexer.COLUMNS = 96; +sqlLexer.COLUMN = 97; +sqlLexer.USE = 98; +sqlLexer.PARTITIONS = 99; +sqlLexer.FUNCTIONS = 100; +sqlLexer.DROP = 101; +sqlLexer.UNION = 102; +sqlLexer.EXCEPT = 103; +sqlLexer.SETMINUS = 104; +sqlLexer.INTERSECT = 105; +sqlLexer.TO = 106; +sqlLexer.TABLESAMPLE = 107; +sqlLexer.STRATIFY = 108; +sqlLexer.ALTER = 109; +sqlLexer.RENAME = 110; +sqlLexer.ARRAY = 111; +sqlLexer.MAP = 112; +sqlLexer.STRUCT = 113; +sqlLexer.COMMENT = 114; +sqlLexer.SET = 115; +sqlLexer.RESET = 116; +sqlLexer.DATA = 117; +sqlLexer.START = 118; +sqlLexer.TRANSACTION = 119; +sqlLexer.COMMIT = 120; +sqlLexer.ROLLBACK = 121; +sqlLexer.MACRO = 122; +sqlLexer.IGNORE = 123; +sqlLexer.BOTH = 124; +sqlLexer.LEADING = 125; +sqlLexer.TRAILING = 126; +sqlLexer.IF = 127; +sqlLexer.POSITION = 128; +sqlLexer.EXTRACT = 129; +sqlLexer.EQ = 130; +sqlLexer.NSEQ = 131; +sqlLexer.NEQ = 132; +sqlLexer.NEQJ = 133; +sqlLexer.LT = 134; +sqlLexer.LTE = 135; +sqlLexer.GT = 136; +sqlLexer.GTE = 137; +sqlLexer.PLUS = 138; +sqlLexer.MINUS = 139; +sqlLexer.ASTERISK = 140; +sqlLexer.SLASH = 141; +sqlLexer.PERCENT = 142; +sqlLexer.DIV = 143; +sqlLexer.TILDE = 144; +sqlLexer.AMPERSAND = 145; +sqlLexer.PIPE = 146; +sqlLexer.CONCAT_PIPE = 147; +sqlLexer.HAT = 148; +sqlLexer.PERCENTLIT = 149; +sqlLexer.BUCKET = 150; +sqlLexer.OUT = 151; +sqlLexer.OF = 152; +sqlLexer.SORT = 153; +sqlLexer.CLUSTER = 154; +sqlLexer.DISTRIBUTE = 155; +sqlLexer.OVERWRITE = 156; +sqlLexer.TRANSFORM = 157; +sqlLexer.REDUCE = 158; +sqlLexer.USING = 159; +sqlLexer.SERDE = 160; +sqlLexer.SERDEPROPERTIES = 161; +sqlLexer.RECORDREADER = 162; +sqlLexer.RECORDWRITER = 163; +sqlLexer.DELIMITED = 164; +sqlLexer.FIELDS = 165; +sqlLexer.TERMINATED = 166; +sqlLexer.COLLECTION = 167; +sqlLexer.ITEMS = 168; +sqlLexer.KEYS = 169; +sqlLexer.ESCAPED = 170; +sqlLexer.LINES = 171; +sqlLexer.SEPARATED = 172; +sqlLexer.FUNCTION = 173; +sqlLexer.EXTENDED = 174; +sqlLexer.REFRESH = 175; +sqlLexer.CLEAR = 176; +sqlLexer.CACHE = 177; +sqlLexer.UNCACHE = 178; +sqlLexer.LAZY = 179; +sqlLexer.FORMATTED = 180; +sqlLexer.GLOBAL = 181; +sqlLexer.TEMPORARY = 182; +sqlLexer.OPTIONS = 183; +sqlLexer.UNSET = 184; +sqlLexer.TBLPROPERTIES = 185; +sqlLexer.DBPROPERTIES = 186; +sqlLexer.BUCKETS = 187; +sqlLexer.SKEWED = 188; +sqlLexer.STORED = 189; +sqlLexer.DIRECTORIES = 190; +sqlLexer.LOCATION = 191; +sqlLexer.EXCHANGE = 192; +sqlLexer.ARCHIVE = 193; +sqlLexer.UNARCHIVE = 194; +sqlLexer.FILEFORMAT = 195; +sqlLexer.TOUCH = 196; +sqlLexer.COMPACT = 197; +sqlLexer.CONCATENATE = 198; +sqlLexer.CHANGE = 199; +sqlLexer.CASCADE = 200; +sqlLexer.RESTRICT = 201; +sqlLexer.CLUSTERED = 202; +sqlLexer.SORTED = 203; +sqlLexer.PURGE = 204; +sqlLexer.INPUTFORMAT = 205; +sqlLexer.OUTPUTFORMAT = 206; +sqlLexer.DATABASE = 207; +sqlLexer.DATABASES = 208; +sqlLexer.DFS = 209; +sqlLexer.TRUNCATE = 210; +sqlLexer.ANALYZE = 211; +sqlLexer.COMPUTE = 212; +sqlLexer.LIST = 213; +sqlLexer.STATISTICS = 214; +sqlLexer.PARTITIONED = 215; +sqlLexer.EXTERNAL = 216; +sqlLexer.DEFINED = 217; +sqlLexer.REVOKE = 218; +sqlLexer.GRANT = 219; +sqlLexer.LOCK = 220; +sqlLexer.UNLOCK = 221; +sqlLexer.MSCK = 222; +sqlLexer.REPAIR = 223; +sqlLexer.RECOVER = 224; +sqlLexer.EXPORT = 225; +sqlLexer.IMPORT = 226; +sqlLexer.LOAD = 227; +sqlLexer.ROLE = 228; +sqlLexer.ROLES = 229; +sqlLexer.COMPACTIONS = 230; +sqlLexer.PRINCIPALS = 231; +sqlLexer.TRANSACTIONS = 232; +sqlLexer.INDEX = 233; +sqlLexer.INDEXES = 234; +sqlLexer.LOCKS = 235; +sqlLexer.OPTION = 236; +sqlLexer.ANTI = 237; +sqlLexer.LOCAL = 238; +sqlLexer.INPATH = 239; +sqlLexer.WATERMARK = 240; +sqlLexer.STRING = 241; +sqlLexer.BIGINT_LITERAL = 242; +sqlLexer.SMALLINT_LITERAL = 243; +sqlLexer.TINYINT_LITERAL = 244; +sqlLexer.INTEGER_VALUE = 245; +sqlLexer.DECIMAL_VALUE = 246; +sqlLexer.DOUBLE_LITERAL = 247; +sqlLexer.BIGDECIMAL_LITERAL = 248; +sqlLexer.IDENTIFIER = 249; +sqlLexer.BACKQUOTED_IDENTIFIER = 250; +sqlLexer.SIMPLE_COMMENT = 251; +sqlLexer.BRACKETED_EMPTY_COMMENT = 252; +sqlLexer.BRACKETED_COMMENT = 253; +sqlLexer.WS = 254; +sqlLexer.UNRECOGNIZED = 255; + +sqlLexer.prototype.channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ]; + +sqlLexer.prototype.modeNames = [ "DEFAULT_MODE" ]; + +sqlLexer.prototype.literalNames = [ null, "'('", "')'", "'.'", "','", "'/*+'", + "'*/'", "'->'", "'['", "']'", "':'", + "'SELECT'", "'FROM'", "'ADD'", "'AS'", + "'ALL'", "'ANY'", "'DISTINCT'", "'WHERE'", + "'GROUP'", "'BY'", "'GROUPING'", "'SETS'", + "'CUBE'", "'ROLLUP'", "'ORDER'", "'HAVING'", + "'LIMIT'", "'AT'", "'OR'", "'AND'", + "'IN'", null, "'NO'", "'EXISTS'", "'BETWEEN'", + "'LIKE'", null, "'IS'", "'NULL'", "'TRUE'", + "'FALSE'", "'NULLS'", "'ASC'", "'DESC'", + "'FOR'", "'INTERVAL'", "'CASE'", "'WHEN'", + "'THEN'", "'ELSE'", "'END'", "'JOIN'", + "'CROSS'", "'OUTER'", "'INNER'", "'LEFT'", + "'SEMI'", "'RIGHT'", "'FULL'", "'NATURAL'", + "'ON'", "'PIVOT'", "'LATERAL'", "'WINDOW'", + "'OVER'", "'PARTITION'", "'RANGE'", + "'ROWS'", "'UNBOUNDED'", "'PRECEDING'", + "'FOLLOWING'", "'CURRENT'", "'FIRST'", + "'AFTER'", "'LAST'", "'ROW'", "'WITH'", + "'VALUES'", "'CREATE'", "'TABLE'", "'DIRECTORY'", + "'VIEW'", "'REPLACE'", "'INSERT'", "'DELETE'", + "'INTO'", "'DESCRIBE'", "'EXPLAIN'", + "'FORMAT'", "'LOGICAL'", "'CODEGEN'", + "'COST'", "'CAST'", "'SHOW'", "'TABLES'", + "'COLUMNS'", "'COLUMN'", "'USE'", "'PARTITIONS'", + "'FUNCTIONS'", "'DROP'", "'UNION'", + "'EXCEPT'", "'MINUS'", "'INTERSECT'", + "'TO'", "'TABLESAMPLE'", "'STRATIFY'", + "'ALTER'", "'RENAME'", "'ARRAY'", "'MAP'", + "'STRUCT'", "'COMMENT'", "'SET'", "'RESET'", + "'DATA'", "'START'", "'TRANSACTION'", + "'COMMIT'", "'ROLLBACK'", "'MACRO'", + "'IGNORE'", "'BOTH'", "'LEADING'", "'TRAILING'", + "'IF'", "'POSITION'", "'EXTRACT'", null, + "'<=>'", "'<>'", "'!='", "'<'", null, + "'>'", null, "'+'", "'-'", "'*'", "'/'", + "'%'", "'DIV'", "'~'", "'&'", "'|'", + "'||'", "'^'", "'PERCENT'", "'BUCKET'", + "'OUT'", "'OF'", "'SORT'", "'CLUSTER'", + "'DISTRIBUTE'", "'OVERWRITE'", "'TRANSFORM'", + "'REDUCE'", "'USING'", "'SERDE'", "'SERDEPROPERTIES'", + "'RECORDREADER'", "'RECORDWRITER'", + "'DELIMITED'", "'FIELDS'", "'TERMINATED'", + "'COLLECTION'", "'ITEMS'", "'KEYS'", + "'ESCAPED'", "'LINES'", "'SEPARATED'", + "'FUNCTION'", "'EXTENDED'", "'REFRESH'", + "'CLEAR'", "'CACHE'", "'UNCACHE'", "'LAZY'", + "'FORMATTED'", "'GLOBAL'", null, "'OPTIONS'", + "'UNSET'", "'TBLPROPERTIES'", "'DBPROPERTIES'", + "'BUCKETS'", "'SKEWED'", "'STORED'", + "'DIRECTORIES'", "'LOCATION'", "'EXCHANGE'", + "'ARCHIVE'", "'UNARCHIVE'", "'FILEFORMAT'", + "'TOUCH'", "'COMPACT'", "'CONCATENATE'", + "'CHANGE'", "'CASCADE'", "'RESTRICT'", + "'CLUSTERED'", "'SORTED'", "'PURGE'", + "'INPUTFORMAT'", "'OUTPUTFORMAT'", null, + null, "'DFS'", "'TRUNCATE'", "'ANALYZE'", + "'COMPUTE'", "'LIST'", "'STATISTICS'", + "'PARTITIONED'", "'EXTERNAL'", "'DEFINED'", + "'REVOKE'", "'GRANT'", "'LOCK'", "'UNLOCK'", + "'MSCK'", "'REPAIR'", "'RECOVER'", "'EXPORT'", + "'IMPORT'", "'LOAD'", "'ROLE'", "'ROLES'", + "'COMPACTIONS'", "'PRINCIPALS'", "'TRANSACTIONS'", + "'INDEX'", "'INDEXES'", "'LOCKS'", "'OPTION'", + "'ANTI'", "'LOCAL'", "'INPATH'", "'WATERMARK'", + null, null, null, null, null, null, + null, null, null, null, null, "'/**/'" ]; + +sqlLexer.prototype.symbolicNames = [ null, null, null, null, null, null, + null, null, null, null, null, "SELECT", + "FROM", "ADD", "AS", "ALL", "ANY", + "DISTINCT", "WHERE", "GROUP", "BY", + "GROUPING", "SETS", "CUBE", "ROLLUP", + "ORDER", "HAVING", "LIMIT", "AT", "OR", + "AND", "IN", "NOT", "NO", "EXISTS", + "BETWEEN", "LIKE", "RLIKE", "IS", "NULL", + "TRUE", "FALSE", "NULLS", "ASC", "DESC", + "FOR", "INTERVAL", "CASE", "WHEN", + "THEN", "ELSE", "END", "JOIN", "CROSS", + "OUTER", "INNER", "LEFT", "SEMI", "RIGHT", + "FULL", "NATURAL", "ON", "PIVOT", "LATERAL", + "WINDOW", "OVER", "PARTITION", "RANGE", + "ROWS", "UNBOUNDED", "PRECEDING", "FOLLOWING", + "CURRENT", "FIRST", "AFTER", "LAST", + "ROW", "WITH", "VALUES", "CREATE", + "TABLE", "DIRECTORY", "VIEW", "REPLACE", + "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", + "COST", "CAST", "SHOW", "TABLES", "COLUMNS", + "COLUMN", "USE", "PARTITIONS", "FUNCTIONS", + "DROP", "UNION", "EXCEPT", "SETMINUS", + "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", + "STRUCT", "COMMENT", "SET", "RESET", + "DATA", "START", "TRANSACTION", "COMMIT", + "ROLLBACK", "MACRO", "IGNORE", "BOTH", + "LEADING", "TRAILING", "IF", "POSITION", + "EXTRACT", "EQ", "NSEQ", "NEQ", "NEQJ", + "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", + "ASTERISK", "SLASH", "PERCENT", "DIV", + "TILDE", "AMPERSAND", "PIPE", "CONCAT_PIPE", + "HAT", "PERCENTLIT", "BUCKET", "OUT", + "OF", "SORT", "CLUSTER", "DISTRIBUTE", + "OVERWRITE", "TRANSFORM", "REDUCE", + "USING", "SERDE", "SERDEPROPERTIES", + "RECORDREADER", "RECORDWRITER", "DELIMITED", + "FIELDS", "TERMINATED", "COLLECTION", + "ITEMS", "KEYS", "ESCAPED", "LINES", + "SEPARATED", "FUNCTION", "EXTENDED", + "REFRESH", "CLEAR", "CACHE", "UNCACHE", + "LAZY", "FORMATTED", "GLOBAL", "TEMPORARY", + "OPTIONS", "UNSET", "TBLPROPERTIES", + "DBPROPERTIES", "BUCKETS", "SKEWED", + "STORED", "DIRECTORIES", "LOCATION", + "EXCHANGE", "ARCHIVE", "UNARCHIVE", + "FILEFORMAT", "TOUCH", "COMPACT", "CONCATENATE", + "CHANGE", "CASCADE", "RESTRICT", "CLUSTERED", + "SORTED", "PURGE", "INPUTFORMAT", "OUTPUTFORMAT", + "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", + "PARTITIONED", "EXTERNAL", "DEFINED", + "REVOKE", "GRANT", "LOCK", "UNLOCK", + "MSCK", "REPAIR", "RECOVER", "EXPORT", + "IMPORT", "LOAD", "ROLE", "ROLES", + "COMPACTIONS", "PRINCIPALS", "TRANSACTIONS", + "INDEX", "INDEXES", "LOCKS", "OPTION", + "ANTI", "LOCAL", "INPATH", "WATERMARK", + "STRING", "BIGINT_LITERAL", "SMALLINT_LITERAL", + "TINYINT_LITERAL", "INTEGER_VALUE", + "DECIMAL_VALUE", "DOUBLE_LITERAL", + "BIGDECIMAL_LITERAL", "IDENTIFIER", + "BACKQUOTED_IDENTIFIER", "SIMPLE_COMMENT", + "BRACKETED_EMPTY_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED" ]; + +sqlLexer.prototype.ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", + "T__5", "T__6", "T__7", "T__8", "T__9", + "SELECT", "FROM", "ADD", "AS", "ALL", "ANY", + "DISTINCT", "WHERE", "GROUP", "BY", "GROUPING", + "SETS", "CUBE", "ROLLUP", "ORDER", "HAVING", + "LIMIT", "AT", "OR", "AND", "IN", "NOT", + "NO", "EXISTS", "BETWEEN", "LIKE", "RLIKE", + "IS", "NULL", "TRUE", "FALSE", "NULLS", + "ASC", "DESC", "FOR", "INTERVAL", "CASE", + "WHEN", "THEN", "ELSE", "END", "JOIN", + "CROSS", "OUTER", "INNER", "LEFT", "SEMI", + "RIGHT", "FULL", "NATURAL", "ON", "PIVOT", + "LATERAL", "WINDOW", "OVER", "PARTITION", + "RANGE", "ROWS", "UNBOUNDED", "PRECEDING", + "FOLLOWING", "CURRENT", "FIRST", "AFTER", + "LAST", "ROW", "WITH", "VALUES", "CREATE", + "TABLE", "DIRECTORY", "VIEW", "REPLACE", + "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", + "COST", "CAST", "SHOW", "TABLES", "COLUMNS", + "COLUMN", "USE", "PARTITIONS", "FUNCTIONS", + "DROP", "UNION", "EXCEPT", "SETMINUS", + "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", "STRUCT", + "COMMENT", "SET", "RESET", "DATA", "START", + "TRANSACTION", "COMMIT", "ROLLBACK", "MACRO", + "IGNORE", "BOTH", "LEADING", "TRAILING", + "IF", "POSITION", "EXTRACT", "EQ", "NSEQ", + "NEQ", "NEQJ", "LT", "LTE", "GT", "GTE", + "PLUS", "MINUS", "ASTERISK", "SLASH", "PERCENT", + "DIV", "TILDE", "AMPERSAND", "PIPE", "CONCAT_PIPE", + "HAT", "PERCENTLIT", "BUCKET", "OUT", "OF", + "SORT", "CLUSTER", "DISTRIBUTE", "OVERWRITE", + "TRANSFORM", "REDUCE", "USING", "SERDE", + "SERDEPROPERTIES", "RECORDREADER", "RECORDWRITER", + "DELIMITED", "FIELDS", "TERMINATED", "COLLECTION", + "ITEMS", "KEYS", "ESCAPED", "LINES", "SEPARATED", + "FUNCTION", "EXTENDED", "REFRESH", "CLEAR", + "CACHE", "UNCACHE", "LAZY", "FORMATTED", + "GLOBAL", "TEMPORARY", "OPTIONS", "UNSET", + "TBLPROPERTIES", "DBPROPERTIES", "BUCKETS", + "SKEWED", "STORED", "DIRECTORIES", "LOCATION", + "EXCHANGE", "ARCHIVE", "UNARCHIVE", "FILEFORMAT", + "TOUCH", "COMPACT", "CONCATENATE", "CHANGE", + "CASCADE", "RESTRICT", "CLUSTERED", "SORTED", + "PURGE", "INPUTFORMAT", "OUTPUTFORMAT", + "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", + "PARTITIONED", "EXTERNAL", "DEFINED", "REVOKE", + "GRANT", "LOCK", "UNLOCK", "MSCK", "REPAIR", + "RECOVER", "EXPORT", "IMPORT", "LOAD", + "ROLE", "ROLES", "COMPACTIONS", "PRINCIPALS", + "TRANSACTIONS", "INDEX", "INDEXES", "LOCKS", + "OPTION", "ANTI", "LOCAL", "INPATH", "WATERMARK", + "STRING", "BIGINT_LITERAL", "SMALLINT_LITERAL", + "TINYINT_LITERAL", "INTEGER_VALUE", "DECIMAL_VALUE", + "DOUBLE_LITERAL", "BIGDECIMAL_LITERAL", + "IDENTIFIER", "BACKQUOTED_IDENTIFIER", + "DECIMAL_DIGITS", "EXPONENT", "DIGIT", + "LETTER", "SIMPLE_COMMENT", "BRACKETED_EMPTY_COMMENT", + "BRACKETED_COMMENT", "WS", "UNRECOGNIZED" ]; + +sqlLexer.prototype.grammarFileName = "sql.g4"; + + + /** + * When false, INTERSECT is given the greater precedence over the other set + * operations (UNION, EXCEPT and MINUS) as per the SQL standard. + */ + sqlLexer.prototype.legacy_setops_precedence_enbled = false; + + /** + * Verify whether current token is a valid decimal token (which contains dot). + * Returns true if the character that follows the token is not a digit or letter or underscore. + * + * For example: + * For char stream "2.3", "2." is not a valid decimal token, because it is followed by digit '3'. + * For char stream "2.3_", "2.3" is not a valid decimal token, because it is followed by '_'. + * For char stream "2.3W", "2.3" is not a valid decimal token, because it is followed by 'W'. + * For char stream "12.0D 34.E2+0.12 " 12.0D is a valid decimal token because it is followed + * by a space. 34.E2 is a valid decimal token because it is followed by symbol '+' + * which is not a digit or letter or underscore. + */ + sqlLexer.prototype.isValidDecimal=function() { + var nextChar = this._input.LA(1); + if (nextChar >= 'A' && nextChar <= 'Z' || nextChar >= '0' && nextChar <= '9' || + nextChar == '_') { + return false; + } else { + return true; + } + } + + +sqlLexer.prototype.sempred = function(localctx, ruleIndex, predIndex) { + switch (ruleIndex) { + case 245: + return this.DECIMAL_VALUE_sempred(localctx, predIndex); + case 246: + return this.DOUBLE_LITERAL_sempred(localctx, predIndex); + case 247: + return this.BIGDECIMAL_LITERAL_sempred(localctx, predIndex); + default: + throw "No registered predicate for:" + ruleIndex; + } +}; + +sqlLexer.prototype.DECIMAL_VALUE_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 0: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; + +sqlLexer.prototype.DOUBLE_LITERAL_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 1: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; + +sqlLexer.prototype.BIGDECIMAL_LITERAL_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 2: + return this.isValidDecimal(); + default: + throw "No predicate with index:" + predIndex; + } +}; + + + +exports.sqlLexer = sqlLexer; + diff --git a/src/antlr4/flinksql/sqlLexer.tokens b/src/antlr4/flinksql/sqlLexer.tokens new file mode 100644 index 0000000..8f217b0 --- /dev/null +++ b/src/antlr4/flinksql/sqlLexer.tokens @@ -0,0 +1,488 @@ +T__0=1 +T__1=2 +T__2=3 +T__3=4 +T__4=5 +T__5=6 +T__6=7 +T__7=8 +T__8=9 +T__9=10 +SELECT=11 +FROM=12 +ADD=13 +AS=14 +ALL=15 +ANY=16 +DISTINCT=17 +WHERE=18 +GROUP=19 +BY=20 +GROUPING=21 +SETS=22 +CUBE=23 +ROLLUP=24 +ORDER=25 +HAVING=26 +LIMIT=27 +AT=28 +OR=29 +AND=30 +IN=31 +NOT=32 +NO=33 +EXISTS=34 +BETWEEN=35 +LIKE=36 +RLIKE=37 +IS=38 +NULL=39 +TRUE=40 +FALSE=41 +NULLS=42 +ASC=43 +DESC=44 +FOR=45 +INTERVAL=46 +CASE=47 +WHEN=48 +THEN=49 +ELSE=50 +END=51 +JOIN=52 +CROSS=53 +OUTER=54 +INNER=55 +LEFT=56 +SEMI=57 +RIGHT=58 +FULL=59 +NATURAL=60 +ON=61 +PIVOT=62 +LATERAL=63 +WINDOW=64 +OVER=65 +PARTITION=66 +RANGE=67 +ROWS=68 +UNBOUNDED=69 +PRECEDING=70 +FOLLOWING=71 +CURRENT=72 +FIRST=73 +AFTER=74 +LAST=75 +ROW=76 +WITH=77 +VALUES=78 +CREATE=79 +TABLE=80 +DIRECTORY=81 +VIEW=82 +REPLACE=83 +INSERT=84 +DELETE=85 +INTO=86 +DESCRIBE=87 +EXPLAIN=88 +FORMAT=89 +LOGICAL=90 +CODEGEN=91 +COST=92 +CAST=93 +SHOW=94 +TABLES=95 +COLUMNS=96 +COLUMN=97 +USE=98 +PARTITIONS=99 +FUNCTIONS=100 +DROP=101 +UNION=102 +EXCEPT=103 +SETMINUS=104 +INTERSECT=105 +TO=106 +TABLESAMPLE=107 +STRATIFY=108 +ALTER=109 +RENAME=110 +ARRAY=111 +MAP=112 +STRUCT=113 +COMMENT=114 +SET=115 +RESET=116 +DATA=117 +START=118 +TRANSACTION=119 +COMMIT=120 +ROLLBACK=121 +MACRO=122 +IGNORE=123 +BOTH=124 +LEADING=125 +TRAILING=126 +IF=127 +POSITION=128 +EXTRACT=129 +EQ=130 +NSEQ=131 +NEQ=132 +NEQJ=133 +LT=134 +LTE=135 +GT=136 +GTE=137 +PLUS=138 +MINUS=139 +ASTERISK=140 +SLASH=141 +PERCENT=142 +DIV=143 +TILDE=144 +AMPERSAND=145 +PIPE=146 +CONCAT_PIPE=147 +HAT=148 +PERCENTLIT=149 +BUCKET=150 +OUT=151 +OF=152 +SORT=153 +CLUSTER=154 +DISTRIBUTE=155 +OVERWRITE=156 +TRANSFORM=157 +REDUCE=158 +USING=159 +SERDE=160 +SERDEPROPERTIES=161 +RECORDREADER=162 +RECORDWRITER=163 +DELIMITED=164 +FIELDS=165 +TERMINATED=166 +COLLECTION=167 +ITEMS=168 +KEYS=169 +ESCAPED=170 +LINES=171 +SEPARATED=172 +FUNCTION=173 +EXTENDED=174 +REFRESH=175 +CLEAR=176 +CACHE=177 +UNCACHE=178 +LAZY=179 +FORMATTED=180 +GLOBAL=181 +TEMPORARY=182 +OPTIONS=183 +UNSET=184 +TBLPROPERTIES=185 +DBPROPERTIES=186 +BUCKETS=187 +SKEWED=188 +STORED=189 +DIRECTORIES=190 +LOCATION=191 +EXCHANGE=192 +ARCHIVE=193 +UNARCHIVE=194 +FILEFORMAT=195 +TOUCH=196 +COMPACT=197 +CONCATENATE=198 +CHANGE=199 +CASCADE=200 +RESTRICT=201 +CLUSTERED=202 +SORTED=203 +PURGE=204 +INPUTFORMAT=205 +OUTPUTFORMAT=206 +DATABASE=207 +DATABASES=208 +DFS=209 +TRUNCATE=210 +ANALYZE=211 +COMPUTE=212 +LIST=213 +STATISTICS=214 +PARTITIONED=215 +EXTERNAL=216 +DEFINED=217 +REVOKE=218 +GRANT=219 +LOCK=220 +UNLOCK=221 +MSCK=222 +REPAIR=223 +RECOVER=224 +EXPORT=225 +IMPORT=226 +LOAD=227 +ROLE=228 +ROLES=229 +COMPACTIONS=230 +PRINCIPALS=231 +TRANSACTIONS=232 +INDEX=233 +INDEXES=234 +LOCKS=235 +OPTION=236 +ANTI=237 +LOCAL=238 +INPATH=239 +WATERMARK=240 +STRING=241 +BIGINT_LITERAL=242 +SMALLINT_LITERAL=243 +TINYINT_LITERAL=244 +INTEGER_VALUE=245 +DECIMAL_VALUE=246 +DOUBLE_LITERAL=247 +BIGDECIMAL_LITERAL=248 +IDENTIFIER=249 +BACKQUOTED_IDENTIFIER=250 +SIMPLE_COMMENT=251 +BRACKETED_EMPTY_COMMENT=252 +BRACKETED_COMMENT=253 +WS=254 +UNRECOGNIZED=255 +'('=1 +')'=2 +'.'=3 +','=4 +'/*+'=5 +'*/'=6 +'->'=7 +'['=8 +']'=9 +':'=10 +'SELECT'=11 +'FROM'=12 +'ADD'=13 +'AS'=14 +'ALL'=15 +'ANY'=16 +'DISTINCT'=17 +'WHERE'=18 +'GROUP'=19 +'BY'=20 +'GROUPING'=21 +'SETS'=22 +'CUBE'=23 +'ROLLUP'=24 +'ORDER'=25 +'HAVING'=26 +'LIMIT'=27 +'AT'=28 +'OR'=29 +'AND'=30 +'IN'=31 +'NO'=33 +'EXISTS'=34 +'BETWEEN'=35 +'LIKE'=36 +'IS'=38 +'NULL'=39 +'TRUE'=40 +'FALSE'=41 +'NULLS'=42 +'ASC'=43 +'DESC'=44 +'FOR'=45 +'INTERVAL'=46 +'CASE'=47 +'WHEN'=48 +'THEN'=49 +'ELSE'=50 +'END'=51 +'JOIN'=52 +'CROSS'=53 +'OUTER'=54 +'INNER'=55 +'LEFT'=56 +'SEMI'=57 +'RIGHT'=58 +'FULL'=59 +'NATURAL'=60 +'ON'=61 +'PIVOT'=62 +'LATERAL'=63 +'WINDOW'=64 +'OVER'=65 +'PARTITION'=66 +'RANGE'=67 +'ROWS'=68 +'UNBOUNDED'=69 +'PRECEDING'=70 +'FOLLOWING'=71 +'CURRENT'=72 +'FIRST'=73 +'AFTER'=74 +'LAST'=75 +'ROW'=76 +'WITH'=77 +'VALUES'=78 +'CREATE'=79 +'TABLE'=80 +'DIRECTORY'=81 +'VIEW'=82 +'REPLACE'=83 +'INSERT'=84 +'DELETE'=85 +'INTO'=86 +'DESCRIBE'=87 +'EXPLAIN'=88 +'FORMAT'=89 +'LOGICAL'=90 +'CODEGEN'=91 +'COST'=92 +'CAST'=93 +'SHOW'=94 +'TABLES'=95 +'COLUMNS'=96 +'COLUMN'=97 +'USE'=98 +'PARTITIONS'=99 +'FUNCTIONS'=100 +'DROP'=101 +'UNION'=102 +'EXCEPT'=103 +'MINUS'=104 +'INTERSECT'=105 +'TO'=106 +'TABLESAMPLE'=107 +'STRATIFY'=108 +'ALTER'=109 +'RENAME'=110 +'ARRAY'=111 +'MAP'=112 +'STRUCT'=113 +'COMMENT'=114 +'SET'=115 +'RESET'=116 +'DATA'=117 +'START'=118 +'TRANSACTION'=119 +'COMMIT'=120 +'ROLLBACK'=121 +'MACRO'=122 +'IGNORE'=123 +'BOTH'=124 +'LEADING'=125 +'TRAILING'=126 +'IF'=127 +'POSITION'=128 +'EXTRACT'=129 +'<=>'=131 +'<>'=132 +'!='=133 +'<'=134 +'>'=136 +'+'=138 +'-'=139 +'*'=140 +'/'=141 +'%'=142 +'DIV'=143 +'~'=144 +'&'=145 +'|'=146 +'||'=147 +'^'=148 +'PERCENT'=149 +'BUCKET'=150 +'OUT'=151 +'OF'=152 +'SORT'=153 +'CLUSTER'=154 +'DISTRIBUTE'=155 +'OVERWRITE'=156 +'TRANSFORM'=157 +'REDUCE'=158 +'USING'=159 +'SERDE'=160 +'SERDEPROPERTIES'=161 +'RECORDREADER'=162 +'RECORDWRITER'=163 +'DELIMITED'=164 +'FIELDS'=165 +'TERMINATED'=166 +'COLLECTION'=167 +'ITEMS'=168 +'KEYS'=169 +'ESCAPED'=170 +'LINES'=171 +'SEPARATED'=172 +'FUNCTION'=173 +'EXTENDED'=174 +'REFRESH'=175 +'CLEAR'=176 +'CACHE'=177 +'UNCACHE'=178 +'LAZY'=179 +'FORMATTED'=180 +'GLOBAL'=181 +'OPTIONS'=183 +'UNSET'=184 +'TBLPROPERTIES'=185 +'DBPROPERTIES'=186 +'BUCKETS'=187 +'SKEWED'=188 +'STORED'=189 +'DIRECTORIES'=190 +'LOCATION'=191 +'EXCHANGE'=192 +'ARCHIVE'=193 +'UNARCHIVE'=194 +'FILEFORMAT'=195 +'TOUCH'=196 +'COMPACT'=197 +'CONCATENATE'=198 +'CHANGE'=199 +'CASCADE'=200 +'RESTRICT'=201 +'CLUSTERED'=202 +'SORTED'=203 +'PURGE'=204 +'INPUTFORMAT'=205 +'OUTPUTFORMAT'=206 +'DFS'=209 +'TRUNCATE'=210 +'ANALYZE'=211 +'COMPUTE'=212 +'LIST'=213 +'STATISTICS'=214 +'PARTITIONED'=215 +'EXTERNAL'=216 +'DEFINED'=217 +'REVOKE'=218 +'GRANT'=219 +'LOCK'=220 +'UNLOCK'=221 +'MSCK'=222 +'REPAIR'=223 +'RECOVER'=224 +'EXPORT'=225 +'IMPORT'=226 +'LOAD'=227 +'ROLE'=228 +'ROLES'=229 +'COMPACTIONS'=230 +'PRINCIPALS'=231 +'TRANSACTIONS'=232 +'INDEX'=233 +'INDEXES'=234 +'LOCKS'=235 +'OPTION'=236 +'ANTI'=237 +'LOCAL'=238 +'INPATH'=239 +'WATERMARK'=240 +'/**/'=252 diff --git a/src/antlr4/flinksql/sqlListener.js b/src/antlr4/flinksql/sqlListener.js new file mode 100644 index 0000000..7ac0b25 --- /dev/null +++ b/src/antlr4/flinksql/sqlListener.js @@ -0,0 +1,1878 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); + +// This class defines a complete listener for a parse tree produced by sqlParser. +function sqlListener() { + antlr4.tree.ParseTreeListener.call(this); + return this; +} + +sqlListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype); +sqlListener.prototype.constructor = sqlListener; + +// Enter a parse tree produced by sqlParser#singleStatement. +sqlListener.prototype.enterSingleStatement = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleStatement. +sqlListener.prototype.exitSingleStatement = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleExpression. +sqlListener.prototype.enterSingleExpression = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleExpression. +sqlListener.prototype.exitSingleExpression = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleTableIdentifier. +sqlListener.prototype.enterSingleTableIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleTableIdentifier. +sqlListener.prototype.exitSingleTableIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlListener.prototype.enterSingleFunctionIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlListener.prototype.exitSingleFunctionIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleDataType. +sqlListener.prototype.enterSingleDataType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleDataType. +sqlListener.prototype.exitSingleDataType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleTableSchema. +sqlListener.prototype.enterSingleTableSchema = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleTableSchema. +sqlListener.prototype.exitSingleTableSchema = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#statementDefault. +sqlListener.prototype.enterStatementDefault = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#statementDefault. +sqlListener.prototype.exitStatementDefault = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#use. +sqlListener.prototype.enterUse = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#use. +sqlListener.prototype.exitUse = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createDatabase. +sqlListener.prototype.enterCreateDatabase = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createDatabase. +sqlListener.prototype.exitCreateDatabase = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setDatabaseProperties. +sqlListener.prototype.enterSetDatabaseProperties = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setDatabaseProperties. +sqlListener.prototype.exitSetDatabaseProperties = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dropDatabase. +sqlListener.prototype.enterDropDatabase = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dropDatabase. +sqlListener.prototype.exitDropDatabase = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createTable. +sqlListener.prototype.enterCreateTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createTable. +sqlListener.prototype.exitCreateTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createHiveTable. +sqlListener.prototype.enterCreateHiveTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createHiveTable. +sqlListener.prototype.exitCreateHiveTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createFlinkTable. +sqlListener.prototype.enterCreateFlinkTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createFlinkTable. +sqlListener.prototype.exitCreateFlinkTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createTableLike. +sqlListener.prototype.enterCreateTableLike = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createTableLike. +sqlListener.prototype.exitCreateTableLike = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#analyze. +sqlListener.prototype.enterAnalyze = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#analyze. +sqlListener.prototype.exitAnalyze = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#addTableColumns. +sqlListener.prototype.enterAddTableColumns = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#addTableColumns. +sqlListener.prototype.exitAddTableColumns = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#renameTable. +sqlListener.prototype.enterRenameTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#renameTable. +sqlListener.prototype.exitRenameTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setTableProperties. +sqlListener.prototype.enterSetTableProperties = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setTableProperties. +sqlListener.prototype.exitSetTableProperties = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#unsetTableProperties. +sqlListener.prototype.enterUnsetTableProperties = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#unsetTableProperties. +sqlListener.prototype.exitUnsetTableProperties = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#changeColumn. +sqlListener.prototype.enterChangeColumn = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#changeColumn. +sqlListener.prototype.exitChangeColumn = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setTableSerDe. +sqlListener.prototype.enterSetTableSerDe = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setTableSerDe. +sqlListener.prototype.exitSetTableSerDe = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#addTablePartition. +sqlListener.prototype.enterAddTablePartition = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#addTablePartition. +sqlListener.prototype.exitAddTablePartition = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#renameTablePartition. +sqlListener.prototype.enterRenameTablePartition = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#renameTablePartition. +sqlListener.prototype.exitRenameTablePartition = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dropTablePartitions. +sqlListener.prototype.enterDropTablePartitions = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dropTablePartitions. +sqlListener.prototype.exitDropTablePartitions = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setTableLocation. +sqlListener.prototype.enterSetTableLocation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setTableLocation. +sqlListener.prototype.exitSetTableLocation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#recoverPartitions. +sqlListener.prototype.enterRecoverPartitions = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#recoverPartitions. +sqlListener.prototype.exitRecoverPartitions = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dropTable. +sqlListener.prototype.enterDropTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dropTable. +sqlListener.prototype.exitDropTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createView. +sqlListener.prototype.enterCreateView = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createView. +sqlListener.prototype.exitCreateView = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createTempViewUsing. +sqlListener.prototype.enterCreateTempViewUsing = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createTempViewUsing. +sqlListener.prototype.exitCreateTempViewUsing = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#alterViewQuery. +sqlListener.prototype.enterAlterViewQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#alterViewQuery. +sqlListener.prototype.exitAlterViewQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createFunction. +sqlListener.prototype.enterCreateFunction = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createFunction. +sqlListener.prototype.exitCreateFunction = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dropFunction. +sqlListener.prototype.enterDropFunction = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dropFunction. +sqlListener.prototype.exitDropFunction = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#explain. +sqlListener.prototype.enterExplain = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#explain. +sqlListener.prototype.exitExplain = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showTables. +sqlListener.prototype.enterShowTables = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showTables. +sqlListener.prototype.exitShowTables = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showTable. +sqlListener.prototype.enterShowTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showTable. +sqlListener.prototype.exitShowTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showDatabases. +sqlListener.prototype.enterShowDatabases = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showDatabases. +sqlListener.prototype.exitShowDatabases = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showTblProperties. +sqlListener.prototype.enterShowTblProperties = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showTblProperties. +sqlListener.prototype.exitShowTblProperties = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showColumns. +sqlListener.prototype.enterShowColumns = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showColumns. +sqlListener.prototype.exitShowColumns = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showPartitions. +sqlListener.prototype.enterShowPartitions = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showPartitions. +sqlListener.prototype.exitShowPartitions = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showFunctions. +sqlListener.prototype.enterShowFunctions = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showFunctions. +sqlListener.prototype.exitShowFunctions = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#showCreateTable. +sqlListener.prototype.enterShowCreateTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#showCreateTable. +sqlListener.prototype.exitShowCreateTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#describeFunction. +sqlListener.prototype.enterDescribeFunction = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#describeFunction. +sqlListener.prototype.exitDescribeFunction = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#describeDatabase. +sqlListener.prototype.enterDescribeDatabase = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#describeDatabase. +sqlListener.prototype.exitDescribeDatabase = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#describeTable. +sqlListener.prototype.enterDescribeTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#describeTable. +sqlListener.prototype.exitDescribeTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#refreshTable. +sqlListener.prototype.enterRefreshTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#refreshTable. +sqlListener.prototype.exitRefreshTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#refreshResource. +sqlListener.prototype.enterRefreshResource = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#refreshResource. +sqlListener.prototype.exitRefreshResource = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#cacheTable. +sqlListener.prototype.enterCacheTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#cacheTable. +sqlListener.prototype.exitCacheTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#uncacheTable. +sqlListener.prototype.enterUncacheTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#uncacheTable. +sqlListener.prototype.exitUncacheTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#clearCache. +sqlListener.prototype.enterClearCache = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#clearCache. +sqlListener.prototype.exitClearCache = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#loadData. +sqlListener.prototype.enterLoadData = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#loadData. +sqlListener.prototype.exitLoadData = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#truncateTable. +sqlListener.prototype.enterTruncateTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#truncateTable. +sqlListener.prototype.exitTruncateTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#repairTable. +sqlListener.prototype.enterRepairTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#repairTable. +sqlListener.prototype.exitRepairTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#manageResource. +sqlListener.prototype.enterManageResource = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#manageResource. +sqlListener.prototype.exitManageResource = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#failNativeCommand. +sqlListener.prototype.enterFailNativeCommand = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#failNativeCommand. +sqlListener.prototype.exitFailNativeCommand = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setConfiguration. +sqlListener.prototype.enterSetConfiguration = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setConfiguration. +sqlListener.prototype.exitSetConfiguration = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#resetConfiguration. +sqlListener.prototype.enterResetConfiguration = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#resetConfiguration. +sqlListener.prototype.exitResetConfiguration = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlListener.prototype.enterUnsupportedHiveNativeCommands = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlListener.prototype.exitUnsupportedHiveNativeCommands = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createTableHeader. +sqlListener.prototype.enterCreateTableHeader = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createTableHeader. +sqlListener.prototype.exitCreateTableHeader = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#bucketSpec. +sqlListener.prototype.enterBucketSpec = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#bucketSpec. +sqlListener.prototype.exitBucketSpec = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#skewSpec. +sqlListener.prototype.enterSkewSpec = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#skewSpec. +sqlListener.prototype.exitSkewSpec = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#locationSpec. +sqlListener.prototype.enterLocationSpec = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#locationSpec. +sqlListener.prototype.exitLocationSpec = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#query. +sqlListener.prototype.enterQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#query. +sqlListener.prototype.exitQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#insertOverwriteTable. +sqlListener.prototype.enterInsertOverwriteTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#insertOverwriteTable. +sqlListener.prototype.exitInsertOverwriteTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#insertIntoTable. +sqlListener.prototype.enterInsertIntoTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#insertIntoTable. +sqlListener.prototype.exitInsertIntoTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlListener.prototype.enterInsertOverwriteHiveDir = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlListener.prototype.exitInsertOverwriteHiveDir = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#insertOverwriteDir. +sqlListener.prototype.enterInsertOverwriteDir = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#insertOverwriteDir. +sqlListener.prototype.exitInsertOverwriteDir = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#partitionSpecLocation. +sqlListener.prototype.enterPartitionSpecLocation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#partitionSpecLocation. +sqlListener.prototype.exitPartitionSpecLocation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#partitionSpec. +sqlListener.prototype.enterPartitionSpec = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#partitionSpec. +sqlListener.prototype.exitPartitionSpec = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#partitionVal. +sqlListener.prototype.enterPartitionVal = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#partitionVal. +sqlListener.prototype.exitPartitionVal = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#describeFuncName. +sqlListener.prototype.enterDescribeFuncName = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#describeFuncName. +sqlListener.prototype.exitDescribeFuncName = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#describeColName. +sqlListener.prototype.enterDescribeColName = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#describeColName. +sqlListener.prototype.exitDescribeColName = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#ctes. +sqlListener.prototype.enterCtes = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#ctes. +sqlListener.prototype.exitCtes = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#namedQuery. +sqlListener.prototype.enterNamedQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#namedQuery. +sqlListener.prototype.exitNamedQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableProvider. +sqlListener.prototype.enterTableProvider = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableProvider. +sqlListener.prototype.exitTableProvider = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tablePropertyList. +sqlListener.prototype.enterTablePropertyList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tablePropertyList. +sqlListener.prototype.exitTablePropertyList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableProperty. +sqlListener.prototype.enterTableProperty = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableProperty. +sqlListener.prototype.exitTableProperty = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tablePropertyKey. +sqlListener.prototype.enterTablePropertyKey = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tablePropertyKey. +sqlListener.prototype.exitTablePropertyKey = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tablePropertyValue. +sqlListener.prototype.enterTablePropertyValue = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tablePropertyValue. +sqlListener.prototype.exitTablePropertyValue = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#constantList. +sqlListener.prototype.enterConstantList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#constantList. +sqlListener.prototype.exitConstantList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#nestedConstantList. +sqlListener.prototype.enterNestedConstantList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#nestedConstantList. +sqlListener.prototype.exitNestedConstantList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#createFileFormat. +sqlListener.prototype.enterCreateFileFormat = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#createFileFormat. +sqlListener.prototype.exitCreateFileFormat = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableFileFormat. +sqlListener.prototype.enterTableFileFormat = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableFileFormat. +sqlListener.prototype.exitTableFileFormat = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#genericFileFormat. +sqlListener.prototype.enterGenericFileFormat = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#genericFileFormat. +sqlListener.prototype.exitGenericFileFormat = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#storageHandler. +sqlListener.prototype.enterStorageHandler = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#storageHandler. +sqlListener.prototype.exitStorageHandler = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#resource. +sqlListener.prototype.enterResource = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#resource. +sqlListener.prototype.exitResource = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#singleInsertQuery. +sqlListener.prototype.enterSingleInsertQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#singleInsertQuery. +sqlListener.prototype.exitSingleInsertQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#multiInsertQuery. +sqlListener.prototype.enterMultiInsertQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#multiInsertQuery. +sqlListener.prototype.exitMultiInsertQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#queryOrganization. +sqlListener.prototype.enterQueryOrganization = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#queryOrganization. +sqlListener.prototype.exitQueryOrganization = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#multiInsertQueryBody. +sqlListener.prototype.enterMultiInsertQueryBody = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#multiInsertQueryBody. +sqlListener.prototype.exitMultiInsertQueryBody = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#queryTermDefault. +sqlListener.prototype.enterQueryTermDefault = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#queryTermDefault. +sqlListener.prototype.exitQueryTermDefault = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setOperation. +sqlListener.prototype.enterSetOperation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setOperation. +sqlListener.prototype.exitSetOperation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#queryPrimaryDefault. +sqlListener.prototype.enterQueryPrimaryDefault = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#queryPrimaryDefault. +sqlListener.prototype.exitQueryPrimaryDefault = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#table. +sqlListener.prototype.enterTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#table. +sqlListener.prototype.exitTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#inlineTableDefault1. +sqlListener.prototype.enterInlineTableDefault1 = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#inlineTableDefault1. +sqlListener.prototype.exitInlineTableDefault1 = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#subquery. +sqlListener.prototype.enterSubquery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#subquery. +sqlListener.prototype.exitSubquery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sortItem. +sqlListener.prototype.enterSortItem = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sortItem. +sqlListener.prototype.exitSortItem = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#querySpecification. +sqlListener.prototype.enterQuerySpecification = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#querySpecification. +sqlListener.prototype.exitQuerySpecification = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#hint. +sqlListener.prototype.enterHint = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#hint. +sqlListener.prototype.exitHint = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#hintStatement. +sqlListener.prototype.enterHintStatement = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#hintStatement. +sqlListener.prototype.exitHintStatement = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#fromClause. +sqlListener.prototype.enterFromClause = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#fromClause. +sqlListener.prototype.exitFromClause = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#aggregation. +sqlListener.prototype.enterAggregation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#aggregation. +sqlListener.prototype.exitAggregation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#groupingSet. +sqlListener.prototype.enterGroupingSet = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#groupingSet. +sqlListener.prototype.exitGroupingSet = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#pivotClause. +sqlListener.prototype.enterPivotClause = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#pivotClause. +sqlListener.prototype.exitPivotClause = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#pivotColumn. +sqlListener.prototype.enterPivotColumn = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#pivotColumn. +sqlListener.prototype.exitPivotColumn = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#pivotValue. +sqlListener.prototype.enterPivotValue = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#pivotValue. +sqlListener.prototype.exitPivotValue = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#lateralView. +sqlListener.prototype.enterLateralView = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#lateralView. +sqlListener.prototype.exitLateralView = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#setQuantifier. +sqlListener.prototype.enterSetQuantifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#setQuantifier. +sqlListener.prototype.exitSetQuantifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#relation. +sqlListener.prototype.enterRelation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#relation. +sqlListener.prototype.exitRelation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#joinRelation. +sqlListener.prototype.enterJoinRelation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#joinRelation. +sqlListener.prototype.exitJoinRelation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#joinType. +sqlListener.prototype.enterJoinType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#joinType. +sqlListener.prototype.exitJoinType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#joinCriteria. +sqlListener.prototype.enterJoinCriteria = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#joinCriteria. +sqlListener.prototype.exitJoinCriteria = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sample. +sqlListener.prototype.enterSample = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sample. +sqlListener.prototype.exitSample = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sampleByPercentile. +sqlListener.prototype.enterSampleByPercentile = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sampleByPercentile. +sqlListener.prototype.exitSampleByPercentile = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sampleByRows. +sqlListener.prototype.enterSampleByRows = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sampleByRows. +sqlListener.prototype.exitSampleByRows = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sampleByBucket. +sqlListener.prototype.enterSampleByBucket = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sampleByBucket. +sqlListener.prototype.exitSampleByBucket = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#sampleByBytes. +sqlListener.prototype.enterSampleByBytes = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#sampleByBytes. +sqlListener.prototype.exitSampleByBytes = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#identifierList. +sqlListener.prototype.enterIdentifierList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#identifierList. +sqlListener.prototype.exitIdentifierList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#identifierSeq. +sqlListener.prototype.enterIdentifierSeq = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#identifierSeq. +sqlListener.prototype.exitIdentifierSeq = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#orderedIdentifierList. +sqlListener.prototype.enterOrderedIdentifierList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#orderedIdentifierList. +sqlListener.prototype.exitOrderedIdentifierList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#orderedIdentifier. +sqlListener.prototype.enterOrderedIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#orderedIdentifier. +sqlListener.prototype.exitOrderedIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#identifierCommentList. +sqlListener.prototype.enterIdentifierCommentList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#identifierCommentList. +sqlListener.prototype.exitIdentifierCommentList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#identifierComment. +sqlListener.prototype.enterIdentifierComment = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#identifierComment. +sqlListener.prototype.exitIdentifierComment = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableName. +sqlListener.prototype.enterTableName = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableName. +sqlListener.prototype.exitTableName = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#aliasedQuery. +sqlListener.prototype.enterAliasedQuery = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#aliasedQuery. +sqlListener.prototype.exitAliasedQuery = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#aliasedRelation. +sqlListener.prototype.enterAliasedRelation = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#aliasedRelation. +sqlListener.prototype.exitAliasedRelation = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#inlineTableDefault2. +sqlListener.prototype.enterInlineTableDefault2 = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#inlineTableDefault2. +sqlListener.prototype.exitInlineTableDefault2 = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableValuedFunction. +sqlListener.prototype.enterTableValuedFunction = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableValuedFunction. +sqlListener.prototype.exitTableValuedFunction = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#inlineTable. +sqlListener.prototype.enterInlineTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#inlineTable. +sqlListener.prototype.exitInlineTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#functionTable. +sqlListener.prototype.enterFunctionTable = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#functionTable. +sqlListener.prototype.exitFunctionTable = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableAlias. +sqlListener.prototype.enterTableAlias = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableAlias. +sqlListener.prototype.exitTableAlias = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#rowFormatSerde. +sqlListener.prototype.enterRowFormatSerde = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#rowFormatSerde. +sqlListener.prototype.exitRowFormatSerde = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#rowFormatDelimited. +sqlListener.prototype.enterRowFormatDelimited = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#rowFormatDelimited. +sqlListener.prototype.exitRowFormatDelimited = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tableIdentifier. +sqlListener.prototype.enterTableIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tableIdentifier. +sqlListener.prototype.exitTableIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#functionIdentifier. +sqlListener.prototype.enterFunctionIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#functionIdentifier. +sqlListener.prototype.exitFunctionIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#namedExpression. +sqlListener.prototype.enterNamedExpression = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#namedExpression. +sqlListener.prototype.exitNamedExpression = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#namedExpressionSeq. +sqlListener.prototype.enterNamedExpressionSeq = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#namedExpressionSeq. +sqlListener.prototype.exitNamedExpressionSeq = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#expression. +sqlListener.prototype.enterExpression = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#expression. +sqlListener.prototype.exitExpression = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#logicalNot. +sqlListener.prototype.enterLogicalNot = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#logicalNot. +sqlListener.prototype.exitLogicalNot = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#predicated. +sqlListener.prototype.enterPredicated = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#predicated. +sqlListener.prototype.exitPredicated = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#exists. +sqlListener.prototype.enterExists = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#exists. +sqlListener.prototype.exitExists = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#logicalBinary. +sqlListener.prototype.enterLogicalBinary = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#logicalBinary. +sqlListener.prototype.exitLogicalBinary = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#predicate. +sqlListener.prototype.enterPredicate = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#predicate. +sqlListener.prototype.exitPredicate = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#valueExpressionDefault. +sqlListener.prototype.enterValueExpressionDefault = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#valueExpressionDefault. +sqlListener.prototype.exitValueExpressionDefault = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#comparison. +sqlListener.prototype.enterComparison = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#comparison. +sqlListener.prototype.exitComparison = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#arithmeticBinary. +sqlListener.prototype.enterArithmeticBinary = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#arithmeticBinary. +sqlListener.prototype.exitArithmeticBinary = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#arithmeticUnary. +sqlListener.prototype.enterArithmeticUnary = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#arithmeticUnary. +sqlListener.prototype.exitArithmeticUnary = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#struct. +sqlListener.prototype.enterStruct = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#struct. +sqlListener.prototype.exitStruct = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dereference. +sqlListener.prototype.enterDereference = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dereference. +sqlListener.prototype.exitDereference = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#simpleCase. +sqlListener.prototype.enterSimpleCase = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#simpleCase. +sqlListener.prototype.exitSimpleCase = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#columnReference. +sqlListener.prototype.enterColumnReference = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#columnReference. +sqlListener.prototype.exitColumnReference = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#rowConstructor. +sqlListener.prototype.enterRowConstructor = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#rowConstructor. +sqlListener.prototype.exitRowConstructor = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#last. +sqlListener.prototype.enterLast = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#last. +sqlListener.prototype.exitLast = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#star. +sqlListener.prototype.enterStar = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#star. +sqlListener.prototype.exitStar = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#subscript. +sqlListener.prototype.enterSubscript = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#subscript. +sqlListener.prototype.exitSubscript = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#subqueryExpression. +sqlListener.prototype.enterSubqueryExpression = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#subqueryExpression. +sqlListener.prototype.exitSubqueryExpression = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#cast. +sqlListener.prototype.enterCast = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#cast. +sqlListener.prototype.exitCast = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#constantDefault. +sqlListener.prototype.enterConstantDefault = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#constantDefault. +sqlListener.prototype.exitConstantDefault = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#lambda. +sqlListener.prototype.enterLambda = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#lambda. +sqlListener.prototype.exitLambda = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#parenthesizedExpression. +sqlListener.prototype.enterParenthesizedExpression = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#parenthesizedExpression. +sqlListener.prototype.exitParenthesizedExpression = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#extract. +sqlListener.prototype.enterExtract = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#extract. +sqlListener.prototype.exitExtract = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#functionCall. +sqlListener.prototype.enterFunctionCall = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#functionCall. +sqlListener.prototype.exitFunctionCall = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#searchedCase. +sqlListener.prototype.enterSearchedCase = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#searchedCase. +sqlListener.prototype.exitSearchedCase = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#position. +sqlListener.prototype.enterPosition = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#position. +sqlListener.prototype.exitPosition = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#first. +sqlListener.prototype.enterFirst = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#first. +sqlListener.prototype.exitFirst = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#nullLiteral. +sqlListener.prototype.enterNullLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#nullLiteral. +sqlListener.prototype.exitNullLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#intervalLiteral. +sqlListener.prototype.enterIntervalLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#intervalLiteral. +sqlListener.prototype.exitIntervalLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#typeConstructor. +sqlListener.prototype.enterTypeConstructor = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#typeConstructor. +sqlListener.prototype.exitTypeConstructor = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#numericLiteral. +sqlListener.prototype.enterNumericLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#numericLiteral. +sqlListener.prototype.exitNumericLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#booleanLiteral. +sqlListener.prototype.enterBooleanLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#booleanLiteral. +sqlListener.prototype.exitBooleanLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#stringLiteral. +sqlListener.prototype.enterStringLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#stringLiteral. +sqlListener.prototype.exitStringLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#comparisonOperator. +sqlListener.prototype.enterComparisonOperator = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#comparisonOperator. +sqlListener.prototype.exitComparisonOperator = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#arithmeticOperator. +sqlListener.prototype.enterArithmeticOperator = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#arithmeticOperator. +sqlListener.prototype.exitArithmeticOperator = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#predicateOperator. +sqlListener.prototype.enterPredicateOperator = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#predicateOperator. +sqlListener.prototype.exitPredicateOperator = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#booleanValue. +sqlListener.prototype.enterBooleanValue = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#booleanValue. +sqlListener.prototype.exitBooleanValue = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#interval. +sqlListener.prototype.enterInterval = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#interval. +sqlListener.prototype.exitInterval = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#intervalField. +sqlListener.prototype.enterIntervalField = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#intervalField. +sqlListener.prototype.exitIntervalField = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#intervalValue. +sqlListener.prototype.enterIntervalValue = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#intervalValue. +sqlListener.prototype.exitIntervalValue = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#colPosition. +sqlListener.prototype.enterColPosition = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#colPosition. +sqlListener.prototype.exitColPosition = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#complexDataType. +sqlListener.prototype.enterComplexDataType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#complexDataType. +sqlListener.prototype.exitComplexDataType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#primitiveDataType. +sqlListener.prototype.enterPrimitiveDataType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#primitiveDataType. +sqlListener.prototype.exitPrimitiveDataType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#colTypeList. +sqlListener.prototype.enterColTypeList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#colTypeList. +sqlListener.prototype.exitColTypeList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#colType. +sqlListener.prototype.enterColType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#colType. +sqlListener.prototype.exitColType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dtColTypeList. +sqlListener.prototype.enterDtColTypeList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dtColTypeList. +sqlListener.prototype.exitDtColTypeList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#dtColType. +sqlListener.prototype.enterDtColType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#dtColType. +sqlListener.prototype.exitDtColType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#complexColTypeList. +sqlListener.prototype.enterComplexColTypeList = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#complexColTypeList. +sqlListener.prototype.exitComplexColTypeList = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#complexColType. +sqlListener.prototype.enterComplexColType = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#complexColType. +sqlListener.prototype.exitComplexColType = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#whenClause. +sqlListener.prototype.enterWhenClause = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#whenClause. +sqlListener.prototype.exitWhenClause = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#windows. +sqlListener.prototype.enterWindows = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#windows. +sqlListener.prototype.exitWindows = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#namedWindow. +sqlListener.prototype.enterNamedWindow = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#namedWindow. +sqlListener.prototype.exitNamedWindow = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#windowRef. +sqlListener.prototype.enterWindowRef = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#windowRef. +sqlListener.prototype.exitWindowRef = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#windowDef. +sqlListener.prototype.enterWindowDef = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#windowDef. +sqlListener.prototype.exitWindowDef = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#windowFrame. +sqlListener.prototype.enterWindowFrame = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#windowFrame. +sqlListener.prototype.exitWindowFrame = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#frameBound. +sqlListener.prototype.enterFrameBound = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#frameBound. +sqlListener.prototype.exitFrameBound = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#qualifiedName. +sqlListener.prototype.enterQualifiedName = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#qualifiedName. +sqlListener.prototype.exitQualifiedName = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#identifier. +sqlListener.prototype.enterIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#identifier. +sqlListener.prototype.exitIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#unquotedIdentifier. +sqlListener.prototype.enterUnquotedIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#unquotedIdentifier. +sqlListener.prototype.exitUnquotedIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlListener.prototype.enterQuotedIdentifierAlternative = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlListener.prototype.exitQuotedIdentifierAlternative = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#quotedIdentifier. +sqlListener.prototype.enterQuotedIdentifier = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#quotedIdentifier. +sqlListener.prototype.exitQuotedIdentifier = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#decimalLiteral. +sqlListener.prototype.enterDecimalLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#decimalLiteral. +sqlListener.prototype.exitDecimalLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#integerLiteral. +sqlListener.prototype.enterIntegerLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#integerLiteral. +sqlListener.prototype.exitIntegerLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#bigIntLiteral. +sqlListener.prototype.enterBigIntLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#bigIntLiteral. +sqlListener.prototype.exitBigIntLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#smallIntLiteral. +sqlListener.prototype.enterSmallIntLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#smallIntLiteral. +sqlListener.prototype.exitSmallIntLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#tinyIntLiteral. +sqlListener.prototype.enterTinyIntLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#tinyIntLiteral. +sqlListener.prototype.exitTinyIntLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#doubleLiteral. +sqlListener.prototype.enterDoubleLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#doubleLiteral. +sqlListener.prototype.exitDoubleLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#bigDecimalLiteral. +sqlListener.prototype.enterBigDecimalLiteral = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#bigDecimalLiteral. +sqlListener.prototype.exitBigDecimalLiteral = function(ctx) { +}; + + +// Enter a parse tree produced by sqlParser#nonReserved. +sqlListener.prototype.enterNonReserved = function(ctx) { +}; + +// Exit a parse tree produced by sqlParser#nonReserved. +sqlListener.prototype.exitNonReserved = function(ctx) { +}; + + + +exports.sqlListener = sqlListener; \ No newline at end of file diff --git a/src/antlr4/flinksql/sqlParser.js b/src/antlr4/flinksql/sqlParser.js new file mode 100644 index 0000000..e78aa45 --- /dev/null +++ b/src/antlr4/flinksql/sqlParser.js @@ -0,0 +1,25744 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); +var sqlListener = require('./sqlListener').sqlListener; +var sqlVisitor = require('./sqlVisitor').sqlVisitor; + +var grammarFileName = "sql.g4"; + +var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", + "\u0003\u0101\u09d1\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004\u0004", + "\t\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t\u0007", + "\u0004\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004\f\t\f", + "\u0004\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010\t\u0010", + "\u0004\u0011\t\u0011\u0004\u0012\t\u0012\u0004\u0013\t\u0013\u0004\u0014", + "\t\u0014\u0004\u0015\t\u0015\u0004\u0016\t\u0016\u0004\u0017\t\u0017", + "\u0004\u0018\t\u0018\u0004\u0019\t\u0019\u0004\u001a\t\u001a\u0004\u001b", + "\t\u001b\u0004\u001c\t\u001c\u0004\u001d\t\u001d\u0004\u001e\t\u001e", + "\u0004\u001f\t\u001f\u0004 \t \u0004!\t!\u0004\"\t\"\u0004#\t#\u0004", + "$\t$\u0004%\t%\u0004&\t&\u0004\'\t\'\u0004(\t(\u0004)\t)\u0004*\t*\u0004", + "+\t+\u0004,\t,\u0004-\t-\u0004.\t.\u0004/\t/\u00040\t0\u00041\t1\u0004", + "2\t2\u00043\t3\u00044\t4\u00045\t5\u00046\t6\u00047\t7\u00048\t8\u0004", + "9\t9\u0004:\t:\u0004;\t;\u0004<\t<\u0004=\t=\u0004>\t>\u0004?\t?\u0004", + "@\t@\u0004A\tA\u0004B\tB\u0004C\tC\u0004D\tD\u0004E\tE\u0004F\tF\u0004", + "G\tG\u0004H\tH\u0004I\tI\u0004J\tJ\u0004K\tK\u0004L\tL\u0004M\tM\u0004", + "N\tN\u0004O\tO\u0004P\tP\u0004Q\tQ\u0004R\tR\u0004S\tS\u0004T\tT\u0004", + "U\tU\u0004V\tV\u0004W\tW\u0004X\tX\u0004Y\tY\u0004Z\tZ\u0004[\t[\u0004", + "\\\t\\\u0004]\t]\u0004^\t^\u0004_\t_\u0004`\t`\u0004a\ta\u0004b\tb\u0004", + "c\tc\u0004d\td\u0004e\te\u0004f\tf\u0004g\tg\u0004h\th\u0003\u0002\u0003", + "\u0002\u0003\u0002\u0003\u0003\u0003\u0003\u0003\u0003\u0003\u0004\u0003", + "\u0004\u0003\u0004\u0003\u0005\u0003\u0005\u0003\u0005\u0003\u0006\u0003", + "\u0006\u0003\u0006\u0003\u0007\u0003\u0007\u0003\u0007\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u00eb\n\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u00f0\n\b\u0003\b\u0005\b\u00f3\n\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u00f8\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0105", + "\n\b\u0003\b\u0003\b\u0005\b\u0109\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u0110\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u011e", + "\n\b\f\b\u000e\b\u0121\u000b\b\u0003\b\u0005\b\u0124\n\b\u0003\b\u0005", + "\b\u0127\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u012e\n", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u013f\n\b", + "\f\b\u000e\b\u0142\u000b\b\u0003\b\u0005\b\u0145\n\b\u0003\b\u0005\b", + "\u0148\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u014f\n\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0156\n\b\u0003\b\u0003", + "\b\u0005\b\u015a\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0005\b\u0162\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u016c\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u0172\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0178\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u0183\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01a3\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01ab\n\b\u0003\b\u0003", + "\b\u0005\b\u01af\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u01b4\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0005\b\u01ba\n\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u01c2\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u01c8\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01d5\n\b\u0003\b\u0006", + "\b\u01d8\n\b\r\b\u000e\b\u01d9\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0005\b\u01e3\n\b\u0003\b\u0006\b\u01e6\n\b\r\b\u000e", + "\b\u01e7\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u01f8\n\b", + "\u0003\b\u0003\b\u0003\b\u0007\b\u01fd\n\b\f\b\u000e\b\u0200\u000b\b", + "\u0003\b\u0005\b\u0203\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u020b\n\b\u0003\b\u0003\b\u0003\b\u0007\b\u0210\n\b\f\b\u000e", + "\b\u0213\u000b\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0219\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0005\b\u0228\n\b\u0003\b\u0003\b\u0005\b", + "\u022c\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0232\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u0238\n\b\u0003\b\u0005\b\u023b\n\b", + "\u0003\b\u0005\b\u023e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0244", + "\n\b\u0003\b\u0003\b\u0005\b\u0248\n\b\u0003\b\u0003\b\u0005\b\u024c", + "\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u0251\n\b\u0003\b\u0003\b\u0005", + "\b\u0255\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u025d\n\b\u0003\b\u0005\b\u0260\n\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u0269\n\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u026e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0274\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u027b\n\b\u0003\b\u0005\b", + "\u027e\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0284\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u028d\n\b\f", + "\b\u000e\b\u0290\u000b\b\u0005\b\u0292\n\b\u0003\b\u0003\b\u0005\b\u0296", + "\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u029b\n\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u02a0\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b", + "\u02a7\n\b\u0003\b\u0005\b\u02aa\n\b\u0003\b\u0005\b\u02ad\n\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02b4\n\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u02b9\n\b\u0003\b\u0003\b\u0003\b\u0005\b\u02be\n\b", + "\u0003\b\u0005\b\u02c1\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0005\b\u02ca\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u02d2\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02d8", + "\n\b\u0003\b\u0003\b\u0005\b\u02dc\n\b\u0003\b\u0003\b\u0005\b\u02e0", + "\n\b\u0003\b\u0003\b\u0005\b\u02e4\n\b\u0005\b\u02e6\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u02ef\n\b\u0003\b", + "\u0003\b\u0003\b\u0003\b\u0005\b\u02f5\n\b\u0003\b\u0003\b\u0003\b\u0005", + "\b\u02fa\n\b\u0003\b\u0005\b\u02fd\n\b\u0003\b\u0003\b\u0005\b\u0301", + "\n\b\u0003\b\u0005\b\u0304\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0003\b\u0007\b\u030c\n\b\f\b\u000e\b\u030f\u000b\b\u0005\b\u0311", + "\n\b\u0003\b\u0003\b\u0005\b\u0315\n\b\u0003\b\u0003\b\u0003\b\u0003", + "\b\u0005\b\u031b\n\b\u0003\b\u0005\b\u031e\n\b\u0003\b\u0005\b\u0321", + "\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0327\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u032f\n\b\u0003\b\u0003\b", + "\u0003\b\u0005\b\u0334\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u033a", + "\n\b\u0003\b\u0003\b\u0003\b\u0003\b\u0005\b\u0340\n\b\u0003\b\u0003", + "\b\u0003\b\u0003\b\u0003\b\u0003\b\u0003\b\u0007\b\u0349\n\b\f\b\u000e", + "\b\u034c\u000b\b\u0003\b\u0003\b\u0003\b\u0007\b\u0351\n\b\f\b\u000e", + "\b\u0354\u000b\b\u0003\b\u0003\b\u0007\b\u0358\n\b\f\b\u000e\b\u035b", + "\u000b\b\u0003\b\u0003\b\u0003\b\u0007\b\u0360\n\b\f\b\u000e\b\u0363", + "\u000b\b\u0005\b\u0365\n\b\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0005\t\u036d\n\t\u0003\t\u0003\t\u0005\t\u0371\n\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0005\t\u0378\n\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0005\t\u03ec\n\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0005\t\u03f4\n\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0005\t\u03fc\n\t\u0003\t\u0003\t\u0003\t\u0003\t", + "\u0003\t\u0003\t\u0003\t\u0005\t\u0405\n\t\u0003\t\u0003\t\u0003\t\u0003", + "\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0003\t\u0005\t\u0411\n\t", + "\u0003\n\u0003\n\u0005\n\u0415\n\n\u0003\n\u0005\n\u0418\n\n\u0003\n", + "\u0003\n\u0003\n\u0003\n\u0005\n\u041e\n\n\u0003\n\u0003\n\u0003\u000b", + "\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0005\u000b", + "\u0428\n\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003\u000b\u0003", + "\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0005\f\u0434\n\f\u0003\f", + "\u0003\f\u0003\f\u0005\f\u0439\n\f\u0003\r\u0003\r\u0003\r\u0003\u000e", + "\u0005\u000e\u043f\n\u000e\u0003\u000e\u0003\u000e\u0003\u000f\u0003", + "\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u044b\n\u000f\u0005\u000f\u044d\n\u000f\u0003\u000f", + "\u0003\u000f\u0003\u000f\u0005\u000f\u0452\n\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u0456\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f", + "\u0005\u000f\u045b\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f\u0005", + "\u000f\u0460\n\u000f\u0003\u000f\u0005\u000f\u0463\n\u000f\u0003\u000f", + "\u0003\u000f\u0003\u000f\u0005\u000f\u0468\n\u000f\u0003\u000f\u0003", + "\u000f\u0005\u000f\u046c\n\u000f\u0003\u000f\u0003\u000f\u0003\u000f", + "\u0005\u000f\u0471\n\u000f\u0005\u000f\u0473\n\u000f\u0003\u0010\u0003", + "\u0010\u0005\u0010\u0477\n\u0010\u0003\u0011\u0003\u0011\u0003\u0011", + "\u0003\u0011\u0003\u0011\u0007\u0011\u047e\n\u0011\f\u0011\u000e\u0011", + "\u0481\u000b\u0011\u0003\u0011\u0003\u0011\u0003\u0012\u0003\u0012\u0003", + "\u0012\u0005\u0012\u0488\n\u0012\u0003\u0013\u0003\u0013\u0003\u0013", + "\u0003\u0013\u0003\u0013\u0005\u0013\u048f\n\u0013\u0003\u0014\u0003", + "\u0014\u0003\u0014\u0007\u0014\u0494\n\u0014\f\u0014\u000e\u0014\u0497", + "\u000b\u0014\u0003\u0015\u0003\u0015\u0003\u0015\u0003\u0015\u0007\u0015", + "\u049d\n\u0015\f\u0015\u000e\u0015\u04a0\u000b\u0015\u0003\u0016\u0003", + "\u0016\u0005\u0016\u04a4\n\u0016\u0003\u0016\u0003\u0016\u0003\u0016", + "\u0003\u0016\u0003\u0017\u0003\u0017\u0003\u0017\u0003\u0018\u0003\u0018", + "\u0003\u0018\u0003\u0018\u0007\u0018\u04b1\n\u0018\f\u0018\u000e\u0018", + "\u04b4\u000b\u0018\u0003\u0018\u0003\u0018\u0003\u0019\u0003\u0019\u0005", + "\u0019\u04ba\n\u0019\u0003\u0019\u0005\u0019\u04bd\n\u0019\u0003\u001a", + "\u0003\u001a\u0003\u001a\u0007\u001a\u04c2\n\u001a\f\u001a\u000e\u001a", + "\u04c5\u000b\u001a\u0003\u001a\u0005\u001a\u04c8\n\u001a\u0003\u001b", + "\u0003\u001b\u0003\u001b\u0003\u001b\u0005\u001b\u04ce\n\u001b\u0003", + "\u001c\u0003\u001c\u0003\u001c\u0003\u001c\u0007\u001c\u04d4\n\u001c", + "\f\u001c\u000e\u001c\u04d7\u000b\u001c\u0003\u001c\u0003\u001c\u0003", + "\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0007\u001d\u04df\n\u001d", + "\f\u001d\u000e\u001d\u04e2\u000b\u001d\u0003\u001d\u0003\u001d\u0003", + "\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0003\u001e\u0005", + "\u001e\u04ec\n\u001e\u0003\u001f\u0003\u001f\u0003\u001f\u0003\u001f", + "\u0003\u001f\u0005\u001f\u04f3\n\u001f\u0003 \u0003 \u0003 \u0003 \u0005", + " \u04f9\n \u0003!\u0003!\u0003!\u0003\"\u0005\"\u04ff\n\"\u0003\"\u0003", + "\"\u0003\"\u0003\"\u0003\"\u0006\"\u0506\n\"\r\"\u000e\"\u0507\u0005", + "\"\u050a\n\"\u0003#\u0003#\u0003#\u0003#\u0003#\u0007#\u0511\n#\f#\u000e", + "#\u0514\u000b#\u0005#\u0516\n#\u0003#\u0003#\u0003#\u0003#\u0003#\u0007", + "#\u051d\n#\f#\u000e#\u0520\u000b#\u0005#\u0522\n#\u0003#\u0003#\u0003", + "#\u0003#\u0003#\u0007#\u0529\n#\f#\u000e#\u052c\u000b#\u0005#\u052e", + "\n#\u0003#\u0003#\u0003#\u0003#\u0003#\u0007#\u0535\n#\f#\u000e#\u0538", + "\u000b#\u0005#\u053a\n#\u0003#\u0005#\u053d\n#\u0003#\u0003#\u0003#", + "\u0005#\u0542\n#\u0005#\u0544\n#\u0003$\u0005$\u0547\n$\u0003$\u0003", + "$\u0003$\u0003%\u0003%\u0003%\u0003%\u0003%\u0003%\u0003%\u0005%\u0553", + "\n%\u0003%\u0003%\u0003%\u0003%\u0003%\u0005%\u055a\n%\u0003%\u0003", + "%\u0003%\u0003%\u0003%\u0005%\u0561\n%\u0003%\u0007%\u0564\n%\f%\u000e", + "%\u0567\u000b%\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003&\u0003", + "&\u0005&\u0571\n&\u0003\'\u0003\'\u0005\'\u0575\n\'\u0003\'\u0003\'", + "\u0005\'\u0579\n\'\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(", + "\u0003(\u0003(\u0003(\u0005(\u0585\n(\u0003(\u0005(\u0588\n(\u0003(", + "\u0003(\u0005(\u058c\n(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003(\u0003", + "(\u0003(\u0005(\u0596\n(\u0003(\u0003(\u0005(\u059a\n(\u0005(\u059c", + "\n(\u0003(\u0005(\u059f\n(\u0003(\u0003(\u0005(\u05a3\n(\u0003(\u0005", + "(\u05a6\n(\u0003(\u0003(\u0005(\u05aa\n(\u0003(\u0003(\u0007(\u05ae", + "\n(\f(\u000e(\u05b1\u000b(\u0003(\u0005(\u05b4\n(\u0003(\u0003(\u0005", + "(\u05b8\n(\u0003(\u0003(\u0003(\u0005(\u05bd\n(\u0003(\u0005(\u05c0", + "\n(\u0005(\u05c2\n(\u0003(\u0007(\u05c5\n(\f(\u000e(\u05c8\u000b(\u0003", + "(\u0003(\u0005(\u05cc\n(\u0003(\u0005(\u05cf\n(\u0003(\u0003(\u0005", + "(\u05d3\n(\u0003(\u0005(\u05d6\n(\u0005(\u05d8\n(\u0003)\u0003)\u0003", + ")\u0005)\u05dd\n)\u0003)\u0007)\u05e0\n)\f)\u000e)\u05e3\u000b)\u0003", + ")\u0003)\u0003*\u0003*\u0003*\u0003*\u0003*\u0003*\u0007*\u05ed\n*\f", + "*\u000e*\u05f0\u000b*\u0003*\u0003*\u0005*\u05f4\n*\u0003+\u0003+\u0003", + "+\u0003+\u0007+\u05fa\n+\f+\u000e+\u05fd\u000b+\u0003+\u0007+\u0600", + "\n+\f+\u000e+\u0603\u000b+\u0003+\u0005+\u0606\n+\u0003,\u0003,\u0003", + ",\u0003,\u0003,\u0007,\u060d\n,\f,\u000e,\u0610\u000b,\u0003,\u0003", + ",\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0007,\u061c", + "\n,\f,\u000e,\u061f\u000b,\u0003,\u0003,\u0005,\u0623\n,\u0003,\u0003", + ",\u0003,\u0003,\u0003,\u0003,\u0003,\u0003,\u0007,\u062d\n,\f,\u000e", + ",\u0630\u000b,\u0003,\u0003,\u0005,\u0634\n,\u0003-\u0003-\u0003-\u0003", + "-\u0007-\u063a\n-\f-\u000e-\u063d\u000b-\u0005-\u063f\n-\u0003-\u0003", + "-\u0005-\u0643\n-\u0003.\u0003.\u0003.\u0003.\u0003.\u0003.\u0003.\u0003", + ".\u0003.\u0003.\u0007.\u064f\n.\f.\u000e.\u0652\u000b.\u0003.\u0003", + ".\u0003.\u0003/\u0003/\u0003/\u0003/\u0003/\u0007/\u065c\n/\f/\u000e", + "/\u065f\u000b/\u0003/\u0003/\u0005/\u0663\n/\u00030\u00030\u00050\u0667", + "\n0\u00030\u00050\u066a\n0\u00031\u00031\u00031\u00051\u066f\n1\u0003", + "1\u00031\u00031\u00031\u00031\u00071\u0676\n1\f1\u000e1\u0679\u000b", + "1\u00051\u067b\n1\u00031\u00031\u00031\u00051\u0680\n1\u00031\u0003", + "1\u00031\u00071\u0685\n1\f1\u000e1\u0688\u000b1\u00051\u068a\n1\u0003", + "2\u00032\u00033\u00033\u00073\u0690\n3\f3\u000e3\u0693\u000b3\u0003", + "4\u00034\u00034\u00034\u00054\u0699\n4\u00034\u00034\u00034\u00034\u0003", + "4\u00054\u06a0\n4\u00035\u00055\u06a3\n5\u00035\u00035\u00035\u0005", + "5\u06a8\n5\u00035\u00035\u00035\u00035\u00055\u06ae\n5\u00035\u0003", + "5\u00055\u06b2\n5\u00035\u00055\u06b5\n5\u00035\u00055\u06b8\n5\u0003", + "6\u00036\u00036\u00036\u00056\u06be\n6\u00037\u00037\u00037\u00057\u06c3", + "\n7\u00037\u00037\u00038\u00058\u06c8\n8\u00038\u00038\u00038\u0003", + "8\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u0003", + "8\u00038\u00038\u00058\u06da\n8\u00058\u06dc\n8\u00038\u00058\u06df", + "\n8\u00039\u00039\u00039\u00039\u0003:\u0003:\u0003:\u0007:\u06e8\n", + ":\f:\u000e:\u06eb\u000b:\u0003;\u0003;\u0003;\u0003;\u0007;\u06f1\n", + ";\f;\u000e;\u06f4\u000b;\u0003;\u0003;\u0003<\u0003<\u0005<\u06fa\n", + "<\u0003=\u0003=\u0003=\u0003=\u0007=\u0700\n=\f=\u000e=\u0703\u000b", + "=\u0003=\u0003=\u0003>\u0003>\u0003>\u0005>\u070a\n>\u0003?\u0003?\u0005", + "?\u070e\n?\u0003?\u0003?\u0003?\u0003?\u0003?\u0003?\u0005?\u0716\n", + "?\u0003?\u0003?\u0003?\u0003?\u0003?\u0003?\u0005?\u071e\n?\u0003?\u0003", + "?\u0003?\u0003?\u0005?\u0724\n?\u0003@\u0003@\u0003@\u0003@\u0007@\u072a", + "\n@\f@\u000e@\u072d\u000b@\u0003@\u0003@\u0003A\u0003A\u0003A\u0003", + "A\u0003A\u0007A\u0736\nA\fA\u000eA\u0739\u000bA\u0005A\u073b\nA\u0003", + "A\u0003A\u0003A\u0003B\u0005B\u0741\nB\u0003B\u0003B\u0005B\u0745\n", + "B\u0005B\u0747\nB\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0005", + "C\u0750\nC\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u075c\nC\u0005C\u075e\nC\u0003C\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u0765\nC\u0003C\u0003C\u0003C\u0003C\u0003C\u0005C\u076c", + "\nC\u0003C\u0003C\u0003C\u0003C\u0005C\u0772\nC\u0003C\u0003C\u0003", + "C\u0003C\u0005C\u0778\nC\u0005C\u077a\nC\u0003D\u0003D\u0003D\u0005", + "D\u077f\nD\u0003D\u0003D\u0003E\u0003E\u0003E\u0005E\u0786\nE\u0003", + "E\u0003E\u0003F\u0003F\u0005F\u078c\nF\u0003F\u0003F\u0005F\u0790\n", + "F\u0005F\u0792\nF\u0003G\u0003G\u0003G\u0007G\u0797\nG\fG\u000eG\u079a", + "\u000bG\u0003H\u0003H\u0003I\u0003I\u0003I\u0003I\u0003I\u0003I\u0003", + "I\u0003I\u0003I\u0003I\u0005I\u07a8\nI\u0005I\u07aa\nI\u0003I\u0003", + "I\u0003I\u0003I\u0003I\u0003I\u0007I\u07b2\nI\fI\u000eI\u07b5\u000b", + "I\u0003J\u0005J\u07b8\nJ\u0003J\u0003J\u0003J\u0003J\u0003J\u0003J\u0005", + "J\u07c0\nJ\u0003J\u0003J\u0003J\u0003J\u0003J\u0007J\u07c7\nJ\fJ\u000e", + "J\u07ca\u000bJ\u0003J\u0003J\u0003J\u0005J\u07cf\nJ\u0003J\u0003J\u0003", + "J\u0003J\u0003J\u0003J\u0005J\u07d7\nJ\u0003J\u0003J\u0003J\u0003J\u0005", + "J\u07dd\nJ\u0003J\u0003J\u0003J\u0005J\u07e2\nJ\u0003J\u0003J\u0003", + "J\u0005J\u07e7\nJ\u0003K\u0003K\u0003K\u0003K\u0005K\u07ed\nK\u0003", + "K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003", + "K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0003K\u0007K\u0802", + "\nK\fK\u000eK\u0805\u000bK\u0003L\u0003L\u0003L\u0006L\u080a\nL\rL\u000e", + "L\u080b\u0003L\u0003L\u0005L\u0810\nL\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0006L\u0817\nL\rL\u000eL\u0818\u0003L\u0003L\u0005L\u081d\nL\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0007L\u082d\nL\fL\u000eL\u0830\u000bL\u0005", + "L\u0832\nL\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u083a\n", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u0843\nL\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0006L\u0858", + "\nL\rL\u000eL\u0859\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0005L\u0865\nL\u0003L\u0003L\u0003L\u0007L\u086a\n", + "L\fL\u000eL\u086d\u000bL\u0005L\u086f\nL\u0003L\u0003L\u0003L\u0005", + "L\u0874\nL\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0006L\u0885\nL\rL\u000e", + "L\u0886\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0005L\u0898\nL\u0003L\u0003", + "L\u0003L\u0003L\u0003L\u0003L\u0003L\u0003L\u0007L\u08a2\nL\fL\u000e", + "L\u08a5\u000bL\u0003M\u0003M\u0003M\u0003M\u0003M\u0003M\u0003M\u0003", + "M\u0006M\u08af\nM\rM\u000eM\u08b0\u0005M\u08b3\nM\u0003N\u0003N\u0003", + "O\u0003O\u0003P\u0003P\u0003Q\u0003Q\u0003R\u0003R\u0007R\u08bf\nR\f", + "R\u000eR\u08c2\u000bR\u0003S\u0003S\u0003S\u0003S\u0005S\u08c8\nS\u0003", + "T\u0005T\u08cb\nT\u0003T\u0003T\u0005T\u08cf\nT\u0003U\u0003U\u0003", + "U\u0005U\u08d4\nU\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003", + "V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0003V\u0005V\u08e5\nV\u0003", + "V\u0003V\u0005V\u08e9\nV\u0003V\u0003V\u0003V\u0003V\u0003V\u0007V\u08f0", + "\nV\fV\u000eV\u08f3\u000bV\u0003V\u0005V\u08f6\nV\u0005V\u08f8\nV\u0003", + "W\u0003W\u0003W\u0007W\u08fd\nW\fW\u000eW\u0900\u000bW\u0003X\u0003", + "X\u0003X\u0003X\u0005X\u0906\nX\u0003Y\u0003Y\u0003Y\u0007Y\u090b\n", + "Y\fY\u000eY\u090e\u000bY\u0003Z\u0003Z\u0003Z\u0007Z\u0913\nZ\fZ\u000e", + "Z\u0916\u000bZ\u0003Z\u0003Z\u0003Z\u0005Z\u091b\nZ\u0003Z\u0003Z\u0005", + "Z\u091f\nZ\u0003Z\u0003Z\u0003Z\u0003Z\u0003Z\u0003Z\u0005Z\u0927\n", + "Z\u0003[\u0003[\u0003[\u0007[\u092c\n[\f[\u000e[\u092f\u000b[\u0003", + "\\\u0003\\\u0003\\\u0003\\\u0003\\\u0005\\\u0936\n\\\u0003]\u0003]\u0003", + "]\u0003]\u0003]\u0003^\u0003^\u0003^\u0003^\u0007^\u0941\n^\f^\u000e", + "^\u0944\u000b^\u0003_\u0003_\u0003_\u0003_\u0003`\u0003`\u0003`\u0003", + "`\u0003`\u0003`\u0003`\u0007`\u0951\n`\f`\u000e`\u0954\u000b`\u0003", + "`\u0003`\u0003`\u0003`\u0003`\u0007`\u095b\n`\f`\u000e`\u095e\u000b", + "`\u0005`\u0960\n`\u0003`\u0003`\u0003`\u0003`\u0003`\u0007`\u0967\n", + "`\f`\u000e`\u096a\u000b`\u0005`\u096c\n`\u0005`\u096e\n`\u0003`\u0005", + "`\u0971\n`\u0003`\u0005`\u0974\n`\u0003a\u0003a\u0003a\u0003a\u0003", + "a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003a\u0003", + "a\u0003a\u0005a\u0986\na\u0003b\u0003b\u0003b\u0003b\u0003b\u0003b\u0003", + "b\u0005b\u098f\nb\u0003c\u0003c\u0003c\u0007c\u0994\nc\fc\u000ec\u0997", + "\u000bc\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003", + "d\u0003d\u0003d\u0003d\u0003d\u0003d\u0003d\u0005d\u09a8\nd\u0003e\u0003", + "e\u0003e\u0005e\u09ad\ne\u0003f\u0003f\u0003g\u0005g\u09b2\ng\u0003", + "g\u0003g\u0005g\u09b6\ng\u0003g\u0003g\u0005g\u09ba\ng\u0003g\u0003", + "g\u0005g\u09be\ng\u0003g\u0003g\u0005g\u09c2\ng\u0003g\u0003g\u0005", + "g\u09c6\ng\u0003g\u0003g\u0005g\u09ca\ng\u0003g\u0005g\u09cd\ng\u0003", + "h\u0003h\u0003h\u0007\u030d\u034a\u0352\u0359\u0361\u0006H\u0090\u0094", + "\u0096i\u0002\u0004\u0006\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018", + "\u001a\u001c\u001e \"$&(*,.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|", + "~\u0080\u0082\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094", + "\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6\u00a8\u00aa\u00ac", + "\u00ae\u00b0\u00b2\u00b4\u00b6\u00b8\u00ba\u00bc\u00be\u00c0\u00c2\u00c4", + "\u00c6\u00c8\u00ca\u00cc\u00ce\u0002\u001d\u0003\u0002\u00ca\u00cb\u0004", + "\u0002RRTT\u0005\u0002\\^\u00b0\u00b0\u00b6\u00b6\u0004\u0002\u000e", + "\u000e!!\u0004\u0002..YY\u0004\u0002\u00b0\u00b0\u00b6\u00b6\u0004\u0002", + "\u000f\u000f\u00d7\u00d7\u0003\u0002hk\u0003\u0002hj\u0003\u0002-.\u0004", + "\u0002KKMM\u0004\u0002\u0011\u0011\u0013\u0013\u0003\u0002\u00f7\u00f8", + "\u0003\u0002&\'\u0004\u0002\u008c\u008d\u0092\u0092\u0003\u0002\u008e", + "\u0091\u0004\u0002\u008c\u008d\u0095\u0095\u0003\u0002~\u0080\u0003", + "\u0002\u0084\u008b\u0003\u0002\u008c\u0096\u0003\u0002\u001f\"\u0003", + "\u0002*+\u0003\u0002\u008c\u008d\u0004\u0002DD\u009d\u009d\u0004\u0002", + "\u001b\u001b\u009b\u009b\u0003\u0002HI\n\u0002\r588@gl\u0083\u0091\u0091", + "\u0097\u00a0\u00a2\u00ee\u00f0\u00f1\u0002\u0b73\u0002\u00d0\u0003\u0002", + "\u0002\u0002\u0004\u00d3\u0003\u0002\u0002\u0002\u0006\u00d6\u0003\u0002", + "\u0002\u0002\b\u00d9\u0003\u0002\u0002\u0002\n\u00dc\u0003\u0002\u0002", + "\u0002\f\u00df\u0003\u0002\u0002\u0002\u000e\u0364\u0003\u0002\u0002", + "\u0002\u0010\u0410\u0003\u0002\u0002\u0002\u0012\u0412\u0003\u0002\u0002", + "\u0002\u0014\u0421\u0003\u0002\u0002\u0002\u0016\u042d\u0003\u0002\u0002", + "\u0002\u0018\u043a\u0003\u0002\u0002\u0002\u001a\u043e\u0003\u0002\u0002", + "\u0002\u001c\u0472\u0003\u0002\u0002\u0002\u001e\u0474\u0003\u0002\u0002", + "\u0002 \u0478\u0003\u0002\u0002\u0002\"\u0484\u0003\u0002\u0002\u0002", + "$\u048e\u0003\u0002\u0002\u0002&\u0490\u0003\u0002\u0002\u0002(\u0498", + "\u0003\u0002\u0002\u0002*\u04a1\u0003\u0002\u0002\u0002,\u04a9\u0003", + "\u0002\u0002\u0002.\u04ac\u0003\u0002\u0002\u00020\u04b7\u0003\u0002", + "\u0002\u00022\u04c7\u0003\u0002\u0002\u00024\u04cd\u0003\u0002\u0002", + "\u00026\u04cf\u0003\u0002\u0002\u00028\u04da\u0003\u0002\u0002\u0002", + ":\u04eb\u0003\u0002\u0002\u0002<\u04f2\u0003\u0002\u0002\u0002>\u04f4", + "\u0003\u0002\u0002\u0002@\u04fa\u0003\u0002\u0002\u0002B\u0509\u0003", + "\u0002\u0002\u0002D\u0515\u0003\u0002\u0002\u0002F\u0546\u0003\u0002", + "\u0002\u0002H\u054b\u0003\u0002\u0002\u0002J\u0570\u0003\u0002\u0002", + "\u0002L\u0572\u0003\u0002\u0002\u0002N\u05d7\u0003\u0002\u0002\u0002", + "P\u05d9\u0003\u0002\u0002\u0002R\u05f3\u0003\u0002\u0002\u0002T\u05f5", + "\u0003\u0002\u0002\u0002V\u0633\u0003\u0002\u0002\u0002X\u0642\u0003", + "\u0002\u0002\u0002Z\u0644\u0003\u0002\u0002\u0002\\\u0662\u0003\u0002", + "\u0002\u0002^\u0664\u0003\u0002\u0002\u0002`\u066b\u0003\u0002\u0002", + "\u0002b\u068b\u0003\u0002\u0002\u0002d\u068d\u0003\u0002\u0002\u0002", + "f\u069f\u0003\u0002\u0002\u0002h\u06b7\u0003\u0002\u0002\u0002j\u06bd", + "\u0003\u0002\u0002\u0002l\u06bf\u0003\u0002\u0002\u0002n\u06de\u0003", + "\u0002\u0002\u0002p\u06e0\u0003\u0002\u0002\u0002r\u06e4\u0003\u0002", + "\u0002\u0002t\u06ec\u0003\u0002\u0002\u0002v\u06f7\u0003\u0002\u0002", + "\u0002x\u06fb\u0003\u0002\u0002\u0002z\u0706\u0003\u0002\u0002\u0002", + "|\u0723\u0003\u0002\u0002\u0002~\u0725\u0003\u0002\u0002\u0002\u0080", + "\u0730\u0003\u0002\u0002\u0002\u0082\u0746\u0003\u0002\u0002\u0002\u0084", + "\u0779\u0003\u0002\u0002\u0002\u0086\u077e\u0003\u0002\u0002\u0002\u0088", + "\u0785\u0003\u0002\u0002\u0002\u008a\u0789\u0003\u0002\u0002\u0002\u008c", + "\u0793\u0003\u0002\u0002\u0002\u008e\u079b\u0003\u0002\u0002\u0002\u0090", + "\u07a9\u0003\u0002\u0002\u0002\u0092\u07e6\u0003\u0002\u0002\u0002\u0094", + "\u07ec\u0003\u0002\u0002\u0002\u0096\u0897\u0003\u0002\u0002\u0002\u0098", + "\u08b2\u0003\u0002\u0002\u0002\u009a\u08b4\u0003\u0002\u0002\u0002\u009c", + "\u08b6\u0003\u0002\u0002\u0002\u009e\u08b8\u0003\u0002\u0002\u0002\u00a0", + "\u08ba\u0003\u0002\u0002\u0002\u00a2\u08bc\u0003\u0002\u0002\u0002\u00a4", + "\u08c3\u0003\u0002\u0002\u0002\u00a6\u08ce\u0003\u0002\u0002\u0002\u00a8", + "\u08d3\u0003\u0002\u0002\u0002\u00aa\u08f7\u0003\u0002\u0002\u0002\u00ac", + "\u08f9\u0003\u0002\u0002\u0002\u00ae\u0901\u0003\u0002\u0002\u0002\u00b0", + "\u0907\u0003\u0002\u0002\u0002\u00b2\u0926\u0003\u0002\u0002\u0002\u00b4", + "\u0928\u0003\u0002\u0002\u0002\u00b6\u0930\u0003\u0002\u0002\u0002\u00b8", + "\u0937\u0003\u0002\u0002\u0002\u00ba\u093c\u0003\u0002\u0002\u0002\u00bc", + "\u0945\u0003\u0002\u0002\u0002\u00be\u0973\u0003\u0002\u0002\u0002\u00c0", + "\u0985\u0003\u0002\u0002\u0002\u00c2\u098e\u0003\u0002\u0002\u0002\u00c4", + "\u0990\u0003\u0002\u0002\u0002\u00c6\u09a7\u0003\u0002\u0002\u0002\u00c8", + "\u09ac\u0003\u0002\u0002\u0002\u00ca\u09ae\u0003\u0002\u0002\u0002\u00cc", + "\u09cc\u0003\u0002\u0002\u0002\u00ce\u09ce\u0003\u0002\u0002\u0002\u00d0", + "\u00d1\u0005\u000e\b\u0002\u00d1\u00d2\u0007\u0002\u0002\u0003\u00d2", + "\u0003\u0003\u0002\u0002\u0002\u00d3\u00d4\u0005\u008aF\u0002\u00d4", + "\u00d5\u0007\u0002\u0002\u0003\u00d5\u0005\u0003\u0002\u0002\u0002\u00d6", + "\u00d7\u0005\u0086D\u0002\u00d7\u00d8\u0007\u0002\u0002\u0003\u00d8", + "\u0007\u0003\u0002\u0002\u0002\u00d9\u00da\u0005\u0088E\u0002\u00da", + "\u00db\u0007\u0002\u0002\u0003\u00db\t\u0003\u0002\u0002\u0002\u00dc", + "\u00dd\u0005\u00aaV\u0002\u00dd\u00de\u0007\u0002\u0002\u0003\u00de", + "\u000b\u0003\u0002\u0002\u0002\u00df\u00e0\u0005\u00acW\u0002\u00e0", + "\u00e1\u0007\u0002\u0002\u0003\u00e1\r\u0003\u0002\u0002\u0002\u00e2", + "\u0365\u0005\u001a\u000e\u0002\u00e3\u00e4\u0007d\u0002\u0002\u00e4", + "\u0365\u0005\u00c6d\u0002\u00e5\u00e6\u0007Q\u0002\u0002\u00e6\u00ea", + "\u0007\u00d1\u0002\u0002\u00e7\u00e8\u0007\u0081\u0002\u0002\u00e8\u00e9", + "\u0007\"\u0002\u0002\u00e9\u00eb\u0007$\u0002\u0002\u00ea\u00e7\u0003", + "\u0002\u0002\u0002\u00ea\u00eb\u0003\u0002\u0002\u0002\u00eb\u00ec\u0003", + "\u0002\u0002\u0002\u00ec\u00ef\u0005\u00c6d\u0002\u00ed\u00ee\u0007", + "t\u0002\u0002\u00ee\u00f0\u0007\u00f3\u0002\u0002\u00ef\u00ed\u0003", + "\u0002\u0002\u0002\u00ef\u00f0\u0003\u0002\u0002\u0002\u00f0\u00f2\u0003", + "\u0002\u0002\u0002\u00f1\u00f3\u0005\u0018\r\u0002\u00f2\u00f1\u0003", + "\u0002\u0002\u0002\u00f2\u00f3\u0003\u0002\u0002\u0002\u00f3\u00f7\u0003", + "\u0002\u0002\u0002\u00f4\u00f5\u0007O\u0002\u0002\u00f5\u00f6\u0007", + "\u00bc\u0002\u0002\u00f6\u00f8\u0005.\u0018\u0002\u00f7\u00f4\u0003", + "\u0002\u0002\u0002\u00f7\u00f8\u0003\u0002\u0002\u0002\u00f8\u0365\u0003", + "\u0002\u0002\u0002\u00f9\u00fa\u0007o\u0002\u0002\u00fa\u00fb\u0007", + "\u00d1\u0002\u0002\u00fb\u00fc\u0005\u00c6d\u0002\u00fc\u00fd\u0007", + "u\u0002\u0002\u00fd\u00fe\u0007\u00bc\u0002\u0002\u00fe\u00ff\u0005", + ".\u0018\u0002\u00ff\u0365\u0003\u0002\u0002\u0002\u0100\u0101\u0007", + "g\u0002\u0002\u0101\u0104\u0007\u00d1\u0002\u0002\u0102\u0103\u0007", + "\u0081\u0002\u0002\u0103\u0105\u0007$\u0002\u0002\u0104\u0102\u0003", + "\u0002\u0002\u0002\u0104\u0105\u0003\u0002\u0002\u0002\u0105\u0106\u0003", + "\u0002\u0002\u0002\u0106\u0108\u0005\u00c6d\u0002\u0107\u0109\t\u0002", + "\u0002\u0002\u0108\u0107\u0003\u0002\u0002\u0002\u0108\u0109\u0003\u0002", + "\u0002\u0002\u0109\u0365\u0003\u0002\u0002\u0002\u010a\u010f\u0005\u0012", + "\n\u0002\u010b\u010c\u0007\u0003\u0002\u0002\u010c\u010d\u0005\u00ac", + "W\u0002\u010d\u010e\u0007\u0004\u0002\u0002\u010e\u0110\u0003\u0002", + "\u0002\u0002\u010f\u010b\u0003\u0002\u0002\u0002\u010f\u0110\u0003\u0002", + "\u0002\u0002\u0110\u0111\u0003\u0002\u0002\u0002\u0111\u011f\u0005,", + "\u0017\u0002\u0112\u0113\u0007\u00b9\u0002\u0002\u0113\u011e\u0005.", + "\u0018\u0002\u0114\u0115\u0007\u00d9\u0002\u0002\u0115\u0116\u0007\u0016", + "\u0002\u0002\u0116\u011e\u0005p9\u0002\u0117\u011e\u0005\u0014\u000b", + "\u0002\u0118\u011e\u0005\u0018\r\u0002\u0119\u011a\u0007t\u0002\u0002", + "\u011a\u011e\u0007\u00f3\u0002\u0002\u011b\u011c\u0007\u00bb\u0002\u0002", + "\u011c\u011e\u0005.\u0018\u0002\u011d\u0112\u0003\u0002\u0002\u0002", + "\u011d\u0114\u0003\u0002\u0002\u0002\u011d\u0117\u0003\u0002\u0002\u0002", + "\u011d\u0118\u0003\u0002\u0002\u0002\u011d\u0119\u0003\u0002\u0002\u0002", + "\u011d\u011b\u0003\u0002\u0002\u0002\u011e\u0121\u0003\u0002\u0002\u0002", + "\u011f\u011d\u0003\u0002\u0002\u0002\u011f\u0120\u0003\u0002\u0002\u0002", + "\u0120\u0126\u0003\u0002\u0002\u0002\u0121\u011f\u0003\u0002\u0002\u0002", + "\u0122\u0124\u0007\u0010\u0002\u0002\u0123\u0122\u0003\u0002\u0002\u0002", + "\u0123\u0124\u0003\u0002\u0002\u0002\u0124\u0125\u0003\u0002\u0002\u0002", + "\u0125\u0127\u0005\u001a\u000e\u0002\u0126\u0123\u0003\u0002\u0002\u0002", + "\u0126\u0127\u0003\u0002\u0002\u0002\u0127\u0365\u0003\u0002\u0002\u0002", + "\u0128\u012d\u0005\u0012\n\u0002\u0129\u012a\u0007\u0003\u0002\u0002", + "\u012a\u012b\u0005\u00acW\u0002\u012b\u012c\u0007\u0004\u0002\u0002", + "\u012c\u012e\u0003\u0002\u0002\u0002\u012d\u0129\u0003\u0002\u0002\u0002", + "\u012d\u012e\u0003\u0002\u0002\u0002\u012e\u0140\u0003\u0002\u0002\u0002", + "\u012f\u0130\u0007t\u0002\u0002\u0130\u013f\u0007\u00f3\u0002\u0002", + "\u0131\u0132\u0007\u00d9\u0002\u0002\u0132\u0133\u0007\u0016\u0002\u0002", + "\u0133\u0134\u0007\u0003\u0002\u0002\u0134\u0135\u0005\u00acW\u0002", + "\u0135\u0136\u0007\u0004\u0002\u0002\u0136\u013f\u0003\u0002\u0002\u0002", + "\u0137\u013f\u0005\u0014\u000b\u0002\u0138\u013f\u0005\u0016\f\u0002", + "\u0139\u013f\u0005\u0084C\u0002\u013a\u013f\u0005:\u001e\u0002\u013b", + "\u013f\u0005\u0018\r\u0002\u013c\u013d\u0007\u00bb\u0002\u0002\u013d", + "\u013f\u0005.\u0018\u0002\u013e\u012f\u0003\u0002\u0002\u0002\u013e", + "\u0131\u0003\u0002\u0002\u0002\u013e\u0137\u0003\u0002\u0002\u0002\u013e", + "\u0138\u0003\u0002\u0002\u0002\u013e\u0139\u0003\u0002\u0002\u0002\u013e", + "\u013a\u0003\u0002\u0002\u0002\u013e\u013b\u0003\u0002\u0002\u0002\u013e", + "\u013c\u0003\u0002\u0002\u0002\u013f\u0142\u0003\u0002\u0002\u0002\u0140", + "\u013e\u0003\u0002\u0002\u0002\u0140\u0141\u0003\u0002\u0002\u0002\u0141", + "\u0147\u0003\u0002\u0002\u0002\u0142\u0140\u0003\u0002\u0002\u0002\u0143", + "\u0145\u0007\u0010\u0002\u0002\u0144\u0143\u0003\u0002\u0002\u0002\u0144", + "\u0145\u0003\u0002\u0002\u0002\u0145\u0146\u0003\u0002\u0002\u0002\u0146", + "\u0148\u0005\u001a\u000e\u0002\u0147\u0144\u0003\u0002\u0002\u0002\u0147", + "\u0148\u0003\u0002\u0002\u0002\u0148\u0365\u0003\u0002\u0002\u0002\u0149", + "\u014a\u0007Q\u0002\u0002\u014a\u014e\u0007R\u0002\u0002\u014b\u014c", + "\u0005\u00c6d\u0002\u014c\u014d\u0007\u0005\u0002\u0002\u014d\u014f", + "\u0003\u0002\u0002\u0002\u014e\u014b\u0003\u0002\u0002\u0002\u014e\u014f", + "\u0003\u0002\u0002\u0002\u014f\u0150\u0003\u0002\u0002\u0002\u0150\u0155", + "\u0005\u0086D\u0002\u0151\u0152\u0007\u0003\u0002\u0002\u0152\u0153", + "\u0005\u00b0Y\u0002\u0153\u0154\u0007\u0004\u0002\u0002\u0154\u0156", + "\u0003\u0002\u0002\u0002\u0155\u0151\u0003\u0002\u0002\u0002\u0155\u0156", + "\u0003\u0002\u0002\u0002\u0156\u0159\u0003\u0002\u0002\u0002\u0157\u0158", + "\u0007t\u0002\u0002\u0158\u015a\u0007\u00f3\u0002\u0002\u0159\u0157", + "\u0003\u0002\u0002\u0002\u0159\u015a\u0003\u0002\u0002\u0002\u015a\u0161", + "\u0003\u0002\u0002\u0002\u015b\u015c\u0007\u00d9\u0002\u0002\u015c\u015d", + "\u0007\u0016\u0002\u0002\u015d\u015e\u0007\u0003\u0002\u0002\u015e\u015f", + "\u0005p9\u0002\u015f\u0160\u0007\u0004\u0002\u0002\u0160\u0162\u0003", + "\u0002\u0002\u0002\u0161\u015b\u0003\u0002\u0002\u0002\u0161\u0162\u0003", + "\u0002\u0002\u0002\u0162\u0163\u0003\u0002\u0002\u0002\u0163\u0164\u0007", + "O\u0002\u0002\u0164\u0165\u0005.\u0018\u0002\u0165\u0365\u0003\u0002", + "\u0002\u0002\u0166\u0167\u0007Q\u0002\u0002\u0167\u016b\u0007R\u0002", + "\u0002\u0168\u0169\u0007\u0081\u0002\u0002\u0169\u016a\u0007\"\u0002", + "\u0002\u016a\u016c\u0007$\u0002\u0002\u016b\u0168\u0003\u0002\u0002", + "\u0002\u016b\u016c\u0003\u0002\u0002\u0002\u016c\u016d\u0003\u0002\u0002", + "\u0002\u016d\u016e\u0005\u0086D\u0002\u016e\u016f\u0007&\u0002\u0002", + "\u016f\u0171\u0005\u0086D\u0002\u0170\u0172\u0005\u0018\r\u0002\u0171", + "\u0170\u0003\u0002\u0002\u0002\u0171\u0172\u0003\u0002\u0002\u0002\u0172", + "\u0365\u0003\u0002\u0002\u0002\u0173\u0174\u0007\u00d5\u0002\u0002\u0174", + "\u0175\u0007R\u0002\u0002\u0175\u0177\u0005\u0086D\u0002\u0176\u0178", + "\u0005 \u0011\u0002\u0177\u0176\u0003\u0002\u0002\u0002\u0177\u0178", + "\u0003\u0002\u0002\u0002\u0178\u0179\u0003\u0002\u0002\u0002\u0179\u017a", + "\u0007\u00d6\u0002\u0002\u017a\u0182\u0007\u00d8\u0002\u0002\u017b\u0183", + "\u0005\u00c6d\u0002\u017c\u017d\u0007/\u0002\u0002\u017d\u017e\u0007", + "b\u0002\u0002\u017e\u0183\u0005r:\u0002\u017f\u0180\u0007/\u0002\u0002", + "\u0180\u0181\u0007\u0011\u0002\u0002\u0181\u0183\u0007b\u0002\u0002", + "\u0182\u017b\u0003\u0002\u0002\u0002\u0182\u017c\u0003\u0002\u0002\u0002", + "\u0182\u017f\u0003\u0002\u0002\u0002\u0182\u0183\u0003\u0002\u0002\u0002", + "\u0183\u0365\u0003\u0002\u0002\u0002\u0184\u0185\u0007o\u0002\u0002", + "\u0185\u0186\u0007R\u0002\u0002\u0186\u0187\u0005\u0086D\u0002\u0187", + "\u0188\u0007\u000f\u0002\u0002\u0188\u0189\u0007b\u0002\u0002\u0189", + "\u018a\u0007\u0003\u0002\u0002\u018a\u018b\u0005\u00acW\u0002\u018b", + "\u018c\u0007\u0004\u0002\u0002\u018c\u0365\u0003\u0002\u0002\u0002\u018d", + "\u018e\u0007o\u0002\u0002\u018e\u018f\t\u0003\u0002\u0002\u018f\u0190", + "\u0005\u0086D\u0002\u0190\u0191\u0007p\u0002\u0002\u0191\u0192\u0007", + "l\u0002\u0002\u0192\u0193\u0005\u0086D\u0002\u0193\u0365\u0003\u0002", + "\u0002\u0002\u0194\u0195\u0007o\u0002\u0002\u0195\u0196\t\u0003\u0002", + "\u0002\u0196\u0197\u0005\u0086D\u0002\u0197\u0198\u0007u\u0002\u0002", + "\u0198\u0199\u0007\u00bb\u0002\u0002\u0199\u019a\u0005.\u0018\u0002", + "\u019a\u0365\u0003\u0002\u0002\u0002\u019b\u019c\u0007o\u0002\u0002", + "\u019c\u019d\t\u0003\u0002\u0002\u019d\u019e\u0005\u0086D\u0002\u019e", + "\u019f\u0007\u00ba\u0002\u0002\u019f\u01a2\u0007\u00bb\u0002\u0002\u01a0", + "\u01a1\u0007\u0081\u0002\u0002\u01a1\u01a3\u0007$\u0002\u0002\u01a2", + "\u01a0\u0003\u0002\u0002\u0002\u01a2\u01a3\u0003\u0002\u0002\u0002\u01a3", + "\u01a4\u0003\u0002\u0002\u0002\u01a4\u01a5\u0005.\u0018\u0002\u01a5", + "\u0365\u0003\u0002\u0002\u0002\u01a6\u01a7\u0007o\u0002\u0002\u01a7", + "\u01a8\u0007R\u0002\u0002\u01a8\u01aa\u0005\u0086D\u0002\u01a9\u01ab", + "\u0005 \u0011\u0002\u01aa\u01a9\u0003\u0002\u0002\u0002\u01aa\u01ab", + "\u0003\u0002\u0002\u0002\u01ab\u01ac\u0003\u0002\u0002\u0002\u01ac\u01ae", + "\u0007\u00c9\u0002\u0002\u01ad\u01af\u0007c\u0002\u0002\u01ae\u01ad", + "\u0003\u0002\u0002\u0002\u01ae\u01af\u0003\u0002\u0002\u0002\u01af\u01b0", + "\u0003\u0002\u0002\u0002\u01b0\u01b1\u0005\u00c6d\u0002\u01b1\u01b3", + "\u0005\u00aeX\u0002\u01b2\u01b4\u0005\u00a8U\u0002\u01b3\u01b2\u0003", + "\u0002\u0002\u0002\u01b3\u01b4\u0003\u0002\u0002\u0002\u01b4\u0365\u0003", + "\u0002\u0002\u0002\u01b5\u01b6\u0007o\u0002\u0002\u01b6\u01b7\u0007", + "R\u0002\u0002\u01b7\u01b9\u0005\u0086D\u0002\u01b8\u01ba\u0005 \u0011", + "\u0002\u01b9\u01b8\u0003\u0002\u0002\u0002\u01b9\u01ba\u0003\u0002\u0002", + "\u0002\u01ba\u01bb\u0003\u0002\u0002\u0002\u01bb\u01bc\u0007u\u0002", + "\u0002\u01bc\u01bd\u0007\u00a2\u0002\u0002\u01bd\u01c1\u0007\u00f3\u0002", + "\u0002\u01be\u01bf\u0007O\u0002\u0002\u01bf\u01c0\u0007\u00a3\u0002", + "\u0002\u01c0\u01c2\u0005.\u0018\u0002\u01c1\u01be\u0003\u0002\u0002", + "\u0002\u01c1\u01c2\u0003\u0002\u0002\u0002\u01c2\u0365\u0003\u0002\u0002", + "\u0002\u01c3\u01c4\u0007o\u0002\u0002\u01c4\u01c5\u0007R\u0002\u0002", + "\u01c5\u01c7\u0005\u0086D\u0002\u01c6\u01c8\u0005 \u0011\u0002\u01c7", + "\u01c6\u0003\u0002\u0002\u0002\u01c7\u01c8\u0003\u0002\u0002\u0002\u01c8", + "\u01c9\u0003\u0002\u0002\u0002\u01c9\u01ca\u0007u\u0002\u0002\u01ca", + "\u01cb\u0007\u00a3\u0002\u0002\u01cb\u01cc\u0005.\u0018\u0002\u01cc", + "\u0365\u0003\u0002\u0002\u0002\u01cd\u01ce\u0007o\u0002\u0002\u01ce", + "\u01cf\u0007R\u0002\u0002\u01cf\u01d0\u0005\u0086D\u0002\u01d0\u01d4", + "\u0007\u000f\u0002\u0002\u01d1\u01d2\u0007\u0081\u0002\u0002\u01d2\u01d3", + "\u0007\"\u0002\u0002\u01d3\u01d5\u0007$\u0002\u0002\u01d4\u01d1\u0003", + "\u0002\u0002\u0002\u01d4\u01d5\u0003\u0002\u0002\u0002\u01d5\u01d7\u0003", + "\u0002\u0002\u0002\u01d6\u01d8\u0005\u001e\u0010\u0002\u01d7\u01d6\u0003", + "\u0002\u0002\u0002\u01d8\u01d9\u0003\u0002\u0002\u0002\u01d9\u01d7\u0003", + "\u0002\u0002\u0002\u01d9\u01da\u0003\u0002\u0002\u0002\u01da\u0365\u0003", + "\u0002\u0002\u0002\u01db\u01dc\u0007o\u0002\u0002\u01dc\u01dd\u0007", + "T\u0002\u0002\u01dd\u01de\u0005\u0086D\u0002\u01de\u01e2\u0007\u000f", + "\u0002\u0002\u01df\u01e0\u0007\u0081\u0002\u0002\u01e0\u01e1\u0007\"", + "\u0002\u0002\u01e1\u01e3\u0007$\u0002\u0002\u01e2\u01df\u0003\u0002", + "\u0002\u0002\u01e2\u01e3\u0003\u0002\u0002\u0002\u01e3\u01e5\u0003\u0002", + "\u0002\u0002\u01e4\u01e6\u0005 \u0011\u0002\u01e5\u01e4\u0003\u0002", + "\u0002\u0002\u01e6\u01e7\u0003\u0002\u0002\u0002\u01e7\u01e5\u0003\u0002", + "\u0002\u0002\u01e7\u01e8\u0003\u0002\u0002\u0002\u01e8\u0365\u0003\u0002", + "\u0002\u0002\u01e9\u01ea\u0007o\u0002\u0002\u01ea\u01eb\u0007R\u0002", + "\u0002\u01eb\u01ec\u0005\u0086D\u0002\u01ec\u01ed\u0005 \u0011\u0002", + "\u01ed\u01ee\u0007p\u0002\u0002\u01ee\u01ef\u0007l\u0002\u0002\u01ef", + "\u01f0\u0005 \u0011\u0002\u01f0\u0365\u0003\u0002\u0002\u0002\u01f1", + "\u01f2\u0007o\u0002\u0002\u01f2\u01f3\u0007R\u0002\u0002\u01f3\u01f4", + "\u0005\u0086D\u0002\u01f4\u01f7\u0007g\u0002\u0002\u01f5\u01f6\u0007", + "\u0081\u0002\u0002\u01f6\u01f8\u0007$\u0002\u0002\u01f7\u01f5\u0003", + "\u0002\u0002\u0002\u01f7\u01f8\u0003\u0002\u0002\u0002\u01f8\u01f9\u0003", + "\u0002\u0002\u0002\u01f9\u01fe\u0005 \u0011\u0002\u01fa\u01fb\u0007", + "\u0006\u0002\u0002\u01fb\u01fd\u0005 \u0011\u0002\u01fc\u01fa\u0003", + "\u0002\u0002\u0002\u01fd\u0200\u0003\u0002\u0002\u0002\u01fe\u01fc\u0003", + "\u0002\u0002\u0002\u01fe\u01ff\u0003\u0002\u0002\u0002\u01ff\u0202\u0003", + "\u0002\u0002\u0002\u0200\u01fe\u0003\u0002\u0002\u0002\u0201\u0203\u0007", + "\u00ce\u0002\u0002\u0202\u0201\u0003\u0002\u0002\u0002\u0202\u0203\u0003", + "\u0002\u0002\u0002\u0203\u0365\u0003\u0002\u0002\u0002\u0204\u0205\u0007", + "o\u0002\u0002\u0205\u0206\u0007T\u0002\u0002\u0206\u0207\u0005\u0086", + "D\u0002\u0207\u020a\u0007g\u0002\u0002\u0208\u0209\u0007\u0081\u0002", + "\u0002\u0209\u020b\u0007$\u0002\u0002\u020a\u0208\u0003\u0002\u0002", + "\u0002\u020a\u020b\u0003\u0002\u0002\u0002\u020b\u020c\u0003\u0002\u0002", + "\u0002\u020c\u0211\u0005 \u0011\u0002\u020d\u020e\u0007\u0006\u0002", + "\u0002\u020e\u0210\u0005 \u0011\u0002\u020f\u020d\u0003\u0002\u0002", + "\u0002\u0210\u0213\u0003\u0002\u0002\u0002\u0211\u020f\u0003\u0002\u0002", + "\u0002\u0211\u0212\u0003\u0002\u0002\u0002\u0212\u0365\u0003\u0002\u0002", + "\u0002\u0213\u0211\u0003\u0002\u0002\u0002\u0214\u0215\u0007o\u0002", + "\u0002\u0215\u0216\u0007R\u0002\u0002\u0216\u0218\u0005\u0086D\u0002", + "\u0217\u0219\u0005 \u0011\u0002\u0218\u0217\u0003\u0002\u0002\u0002", + "\u0218\u0219\u0003\u0002\u0002\u0002\u0219\u021a\u0003\u0002\u0002\u0002", + "\u021a\u021b\u0007u\u0002\u0002\u021b\u021c\u0005\u0018\r\u0002\u021c", + "\u0365\u0003\u0002\u0002\u0002\u021d\u021e\u0007o\u0002\u0002\u021e", + "\u021f\u0007R\u0002\u0002\u021f\u0220\u0005\u0086D\u0002\u0220\u0221", + "\u0007\u00e2\u0002\u0002\u0221\u0222\u0007e\u0002\u0002\u0222\u0365", + "\u0003\u0002\u0002\u0002\u0223\u0224\u0007g\u0002\u0002\u0224\u0227", + "\u0007R\u0002\u0002\u0225\u0226\u0007\u0081\u0002\u0002\u0226\u0228", + "\u0007$\u0002\u0002\u0227\u0225\u0003\u0002\u0002\u0002\u0227\u0228", + "\u0003\u0002\u0002\u0002\u0228\u0229\u0003\u0002\u0002\u0002\u0229\u022b", + "\u0005\u0086D\u0002\u022a\u022c\u0007\u00ce\u0002\u0002\u022b\u022a", + "\u0003\u0002\u0002\u0002\u022b\u022c\u0003\u0002\u0002\u0002\u022c\u0365", + "\u0003\u0002\u0002\u0002\u022d\u022e\u0007g\u0002\u0002\u022e\u0231", + "\u0007T\u0002\u0002\u022f\u0230\u0007\u0081\u0002\u0002\u0230\u0232", + "\u0007$\u0002\u0002\u0231\u022f\u0003\u0002\u0002\u0002\u0231\u0232", + "\u0003\u0002\u0002\u0002\u0232\u0233\u0003\u0002\u0002\u0002\u0233\u0365", + "\u0005\u0086D\u0002\u0234\u0237\u0007Q\u0002\u0002\u0235\u0236\u0007", + "\u001f\u0002\u0002\u0236\u0238\u0007U\u0002\u0002\u0237\u0235\u0003", + "\u0002\u0002\u0002\u0237\u0238\u0003\u0002\u0002\u0002\u0238\u023d\u0003", + "\u0002\u0002\u0002\u0239\u023b\u0007\u00b7\u0002\u0002\u023a\u0239\u0003", + "\u0002\u0002\u0002\u023a\u023b\u0003\u0002\u0002\u0002\u023b\u023c\u0003", + "\u0002\u0002\u0002\u023c\u023e\u0007\u00b8\u0002\u0002\u023d\u023a\u0003", + "\u0002\u0002\u0002\u023d\u023e\u0003\u0002\u0002\u0002\u023e\u023f\u0003", + "\u0002\u0002\u0002\u023f\u0243\u0007T\u0002\u0002\u0240\u0241\u0007", + "\u0081\u0002\u0002\u0241\u0242\u0007\"\u0002\u0002\u0242\u0244\u0007", + "$\u0002\u0002\u0243\u0240\u0003\u0002\u0002\u0002\u0243\u0244\u0003", + "\u0002\u0002\u0002\u0244\u0245\u0003\u0002\u0002\u0002\u0245\u0247\u0005", + "\u0086D\u0002\u0246\u0248\u0005x=\u0002\u0247\u0246\u0003\u0002\u0002", + "\u0002\u0247\u0248\u0003\u0002\u0002\u0002\u0248\u024b\u0003\u0002\u0002", + "\u0002\u0249\u024a\u0007t\u0002\u0002\u024a\u024c\u0007\u00f3\u0002", + "\u0002\u024b\u0249\u0003\u0002\u0002\u0002\u024b\u024c\u0003\u0002\u0002", + "\u0002\u024c\u0250\u0003\u0002\u0002\u0002\u024d\u024e\u0007\u00d9\u0002", + "\u0002\u024e\u024f\u0007?\u0002\u0002\u024f\u0251\u0005p9\u0002\u0250", + "\u024d\u0003\u0002\u0002\u0002\u0250\u0251\u0003\u0002\u0002\u0002\u0251", + "\u0254\u0003\u0002\u0002\u0002\u0252\u0253\u0007\u00bb\u0002\u0002\u0253", + "\u0255\u0005.\u0018\u0002\u0254\u0252\u0003\u0002\u0002\u0002\u0254", + "\u0255\u0003\u0002\u0002\u0002\u0255\u0256\u0003\u0002\u0002\u0002\u0256", + "\u0257\u0007\u0010\u0002\u0002\u0257\u0258\u0005\u001a\u000e\u0002\u0258", + "\u0365\u0003\u0002\u0002\u0002\u0259\u025c\u0007Q\u0002\u0002\u025a", + "\u025b\u0007\u001f\u0002\u0002\u025b\u025d\u0007U\u0002\u0002\u025c", + "\u025a\u0003\u0002\u0002\u0002\u025c\u025d\u0003\u0002\u0002\u0002\u025d", + "\u025f\u0003\u0002\u0002\u0002\u025e\u0260\u0007\u00b7\u0002\u0002\u025f", + "\u025e\u0003\u0002\u0002\u0002\u025f\u0260\u0003\u0002\u0002\u0002\u0260", + "\u0261\u0003\u0002\u0002\u0002\u0261\u0262\u0007\u00b8\u0002\u0002\u0262", + "\u0263\u0007T\u0002\u0002\u0263\u0268\u0005\u0086D\u0002\u0264\u0265", + "\u0007\u0003\u0002\u0002\u0265\u0266\u0005\u00acW\u0002\u0266\u0267", + "\u0007\u0004\u0002\u0002\u0267\u0269\u0003\u0002\u0002\u0002\u0268\u0264", + "\u0003\u0002\u0002\u0002\u0268\u0269\u0003\u0002\u0002\u0002\u0269\u026a", + "\u0003\u0002\u0002\u0002\u026a\u026d\u0005,\u0017\u0002\u026b\u026c", + "\u0007\u00b9\u0002\u0002\u026c\u026e\u0005.\u0018\u0002\u026d\u026b", + "\u0003\u0002\u0002\u0002\u026d\u026e\u0003\u0002\u0002\u0002\u026e\u0365", + "\u0003\u0002\u0002\u0002\u026f\u0270\u0007o\u0002\u0002\u0270\u0271", + "\u0007T\u0002\u0002\u0271\u0273\u0005\u0086D\u0002\u0272\u0274\u0007", + "\u0010\u0002\u0002\u0273\u0272\u0003\u0002\u0002\u0002\u0273\u0274\u0003", + "\u0002\u0002\u0002\u0274\u0275\u0003\u0002\u0002\u0002\u0275\u0276\u0005", + "\u001a\u000e\u0002\u0276\u0365\u0003\u0002\u0002\u0002\u0277\u027a\u0007", + "Q\u0002\u0002\u0278\u0279\u0007\u001f\u0002\u0002\u0279\u027b\u0007", + "U\u0002\u0002\u027a\u0278\u0003\u0002\u0002\u0002\u027a\u027b\u0003", + "\u0002\u0002\u0002\u027b\u027d\u0003\u0002\u0002\u0002\u027c\u027e\u0007", + "\u00b8\u0002\u0002\u027d\u027c\u0003\u0002\u0002\u0002\u027d\u027e\u0003", + "\u0002\u0002\u0002\u027e\u027f\u0003\u0002\u0002\u0002\u027f\u0283\u0007", + "\u00af\u0002\u0002\u0280\u0281\u0007\u0081\u0002\u0002\u0281\u0282\u0007", + "\"\u0002\u0002\u0282\u0284\u0007$\u0002\u0002\u0283\u0280\u0003\u0002", + "\u0002\u0002\u0283\u0284\u0003\u0002\u0002\u0002\u0284\u0285\u0003\u0002", + "\u0002\u0002\u0285\u0286\u0005\u00c4c\u0002\u0286\u0287\u0007\u0010", + "\u0002\u0002\u0287\u0291\u0007\u00f3\u0002\u0002\u0288\u0289\u0007\u00a1", + "\u0002\u0002\u0289\u028e\u0005@!\u0002\u028a\u028b\u0007\u0006\u0002", + "\u0002\u028b\u028d\u0005@!\u0002\u028c\u028a\u0003\u0002\u0002\u0002", + "\u028d\u0290\u0003\u0002\u0002\u0002\u028e\u028c\u0003\u0002\u0002\u0002", + "\u028e\u028f\u0003\u0002\u0002\u0002\u028f\u0292\u0003\u0002\u0002\u0002", + "\u0290\u028e\u0003\u0002\u0002\u0002\u0291\u0288\u0003\u0002\u0002\u0002", + "\u0291\u0292\u0003\u0002\u0002\u0002\u0292\u0365\u0003\u0002\u0002\u0002", + "\u0293\u0295\u0007g\u0002\u0002\u0294\u0296\u0007\u00b8\u0002\u0002", + "\u0295\u0294\u0003\u0002\u0002\u0002\u0295\u0296\u0003\u0002\u0002\u0002", + "\u0296\u0297\u0003\u0002\u0002\u0002\u0297\u029a\u0007\u00af\u0002\u0002", + "\u0298\u0299\u0007\u0081\u0002\u0002\u0299\u029b\u0007$\u0002\u0002", + "\u029a\u0298\u0003\u0002\u0002\u0002\u029a\u029b\u0003\u0002\u0002\u0002", + "\u029b\u029c\u0003\u0002\u0002\u0002\u029c\u0365\u0005\u00c4c\u0002", + "\u029d\u029f\u0007Z\u0002\u0002\u029e\u02a0\t\u0004\u0002\u0002\u029f", + "\u029e\u0003\u0002\u0002\u0002\u029f\u02a0\u0003\u0002\u0002\u0002\u02a0", + "\u02a1\u0003\u0002\u0002\u0002\u02a1\u0365\u0005\u000e\b\u0002\u02a2", + "\u02a3\u0007`\u0002\u0002\u02a3\u02a6\u0007a\u0002\u0002\u02a4\u02a5", + "\t\u0005\u0002\u0002\u02a5\u02a7\u0005\u00c6d\u0002\u02a6\u02a4\u0003", + "\u0002\u0002\u0002\u02a6\u02a7\u0003\u0002\u0002\u0002\u02a7\u02ac\u0003", + "\u0002\u0002\u0002\u02a8\u02aa\u0007&\u0002\u0002\u02a9\u02a8\u0003", + "\u0002\u0002\u0002\u02a9\u02aa\u0003\u0002\u0002\u0002\u02aa\u02ab\u0003", + "\u0002\u0002\u0002\u02ab\u02ad\u0007\u00f3\u0002\u0002\u02ac\u02a9\u0003", + "\u0002\u0002\u0002\u02ac\u02ad\u0003\u0002\u0002\u0002\u02ad\u0365\u0003", + "\u0002\u0002\u0002\u02ae\u02af\u0007`\u0002\u0002\u02af\u02b0\u0007", + "R\u0002\u0002\u02b0\u02b3\u0007\u00b0\u0002\u0002\u02b1\u02b2\t\u0005", + "\u0002\u0002\u02b2\u02b4\u0005\u00c6d\u0002\u02b3\u02b1\u0003\u0002", + "\u0002\u0002\u02b3\u02b4\u0003\u0002\u0002\u0002\u02b4\u02b5\u0003\u0002", + "\u0002\u0002\u02b5\u02b6\u0007&\u0002\u0002\u02b6\u02b8\u0007\u00f3", + "\u0002\u0002\u02b7\u02b9\u0005 \u0011\u0002\u02b8\u02b7\u0003\u0002", + "\u0002\u0002\u02b8\u02b9\u0003\u0002\u0002\u0002\u02b9\u0365\u0003\u0002", + "\u0002\u0002\u02ba\u02bb\u0007`\u0002\u0002\u02bb\u02c0\u0007\u00d2", + "\u0002\u0002\u02bc\u02be\u0007&\u0002\u0002\u02bd\u02bc\u0003\u0002", + "\u0002\u0002\u02bd\u02be\u0003\u0002\u0002\u0002\u02be\u02bf\u0003\u0002", + "\u0002\u0002\u02bf\u02c1\u0007\u00f3\u0002\u0002\u02c0\u02bd\u0003\u0002", + "\u0002\u0002\u02c0\u02c1\u0003\u0002\u0002\u0002\u02c1\u0365\u0003\u0002", + "\u0002\u0002\u02c2\u02c3\u0007`\u0002\u0002\u02c3\u02c4\u0007\u00bb", + "\u0002\u0002\u02c4\u02c9\u0005\u0086D\u0002\u02c5\u02c6\u0007\u0003", + "\u0002\u0002\u02c6\u02c7\u00052\u001a\u0002\u02c7\u02c8\u0007\u0004", + "\u0002\u0002\u02c8\u02ca\u0003\u0002\u0002\u0002\u02c9\u02c5\u0003\u0002", + "\u0002\u0002\u02c9\u02ca\u0003\u0002\u0002\u0002\u02ca\u0365\u0003\u0002", + "\u0002\u0002\u02cb\u02cc\u0007`\u0002\u0002\u02cc\u02cd\u0007b\u0002", + "\u0002\u02cd\u02ce\t\u0005\u0002\u0002\u02ce\u02d1\u0005\u0086D\u0002", + "\u02cf\u02d0\t\u0005\u0002\u0002\u02d0\u02d2\u0005\u00c6d\u0002\u02d1", + "\u02cf\u0003\u0002\u0002\u0002\u02d1\u02d2\u0003\u0002\u0002\u0002\u02d2", + "\u0365\u0003\u0002\u0002\u0002\u02d3\u02d4\u0007`\u0002\u0002\u02d4", + "\u02d5\u0007e\u0002\u0002\u02d5\u02d7\u0005\u0086D\u0002\u02d6\u02d8", + "\u0005 \u0011\u0002\u02d7\u02d6\u0003\u0002\u0002\u0002\u02d7\u02d8", + "\u0003\u0002\u0002\u0002\u02d8\u0365\u0003\u0002\u0002\u0002\u02d9\u02db", + "\u0007`\u0002\u0002\u02da\u02dc\u0005\u00c6d\u0002\u02db\u02da\u0003", + "\u0002\u0002\u0002\u02db\u02dc\u0003\u0002\u0002\u0002\u02dc\u02dd\u0003", + "\u0002\u0002\u0002\u02dd\u02e5\u0007f\u0002\u0002\u02de\u02e0\u0007", + "&\u0002\u0002\u02df\u02de\u0003\u0002\u0002\u0002\u02df\u02e0\u0003", + "\u0002\u0002\u0002\u02e0\u02e3\u0003\u0002\u0002\u0002\u02e1\u02e4\u0005", + "\u00c4c\u0002\u02e2\u02e4\u0007\u00f3\u0002\u0002\u02e3\u02e1\u0003", + "\u0002\u0002\u0002\u02e3\u02e2\u0003\u0002\u0002\u0002\u02e4\u02e6\u0003", + "\u0002\u0002\u0002\u02e5\u02df\u0003\u0002\u0002\u0002\u02e5\u02e6\u0003", + "\u0002\u0002\u0002\u02e6\u0365\u0003\u0002\u0002\u0002\u02e7\u02e8\u0007", + "`\u0002\u0002\u02e8\u02e9\u0007Q\u0002\u0002\u02e9\u02ea\u0007R\u0002", + "\u0002\u02ea\u0365\u0005\u0086D\u0002\u02eb\u02ec\t\u0006\u0002\u0002", + "\u02ec\u02ee\u0007\u00af\u0002\u0002\u02ed\u02ef\u0007\u00b0\u0002\u0002", + "\u02ee\u02ed\u0003\u0002\u0002\u0002\u02ee\u02ef\u0003\u0002\u0002\u0002", + "\u02ef\u02f0\u0003\u0002\u0002\u0002\u02f0\u0365\u0005$\u0013\u0002", + "\u02f1\u02f2\t\u0006\u0002\u0002\u02f2\u02f4\u0007\u00d1\u0002\u0002", + "\u02f3\u02f5\u0007\u00b0\u0002\u0002\u02f4\u02f3\u0003\u0002\u0002\u0002", + "\u02f4\u02f5\u0003\u0002\u0002\u0002\u02f5\u02f6\u0003\u0002\u0002\u0002", + "\u02f6\u0365\u0005\u00c6d\u0002\u02f7\u02f9\t\u0006\u0002\u0002\u02f8", + "\u02fa\u0007R\u0002\u0002\u02f9\u02f8\u0003\u0002\u0002\u0002\u02f9", + "\u02fa\u0003\u0002\u0002\u0002\u02fa\u02fc\u0003\u0002\u0002\u0002\u02fb", + "\u02fd\t\u0007\u0002\u0002\u02fc\u02fb\u0003\u0002\u0002\u0002\u02fc", + "\u02fd\u0003\u0002\u0002\u0002\u02fd\u02fe\u0003\u0002\u0002\u0002\u02fe", + "\u0300\u0005\u0086D\u0002\u02ff\u0301\u0005 \u0011\u0002\u0300\u02ff", + "\u0003\u0002\u0002\u0002\u0300\u0301\u0003\u0002\u0002\u0002\u0301\u0303", + "\u0003\u0002\u0002\u0002\u0302\u0304\u0005&\u0014\u0002\u0303\u0302", + "\u0003\u0002\u0002\u0002\u0303\u0304\u0003\u0002\u0002\u0002\u0304\u0365", + "\u0003\u0002\u0002\u0002\u0305\u0306\u0007\u00b1\u0002\u0002\u0306\u0307", + "\u0007R\u0002\u0002\u0307\u0365\u0005\u0086D\u0002\u0308\u0310\u0007", + "\u00b1\u0002\u0002\u0309\u0311\u0007\u00f3\u0002\u0002\u030a\u030c\u000b", + "\u0002\u0002\u0002\u030b\u030a\u0003\u0002\u0002\u0002\u030c\u030f\u0003", + "\u0002\u0002\u0002\u030d\u030e\u0003\u0002\u0002\u0002\u030d\u030b\u0003", + "\u0002\u0002\u0002\u030e\u0311\u0003\u0002\u0002\u0002\u030f\u030d\u0003", + "\u0002\u0002\u0002\u0310\u0309\u0003\u0002\u0002\u0002\u0310\u030d\u0003", + "\u0002\u0002\u0002\u0311\u0365\u0003\u0002\u0002\u0002\u0312\u0314\u0007", + "\u00b3\u0002\u0002\u0313\u0315\u0007\u00b5\u0002\u0002\u0314\u0313\u0003", + "\u0002\u0002\u0002\u0314\u0315\u0003\u0002\u0002\u0002\u0315\u0316\u0003", + "\u0002\u0002\u0002\u0316\u0317\u0007R\u0002\u0002\u0317\u031a\u0005", + "\u0086D\u0002\u0318\u0319\u0007\u00b9\u0002\u0002\u0319\u031b\u0005", + ".\u0018\u0002\u031a\u0318\u0003\u0002\u0002\u0002\u031a\u031b\u0003", + "\u0002\u0002\u0002\u031b\u0320\u0003\u0002\u0002\u0002\u031c\u031e\u0007", + "\u0010\u0002\u0002\u031d\u031c\u0003\u0002\u0002\u0002\u031d\u031e\u0003", + "\u0002\u0002\u0002\u031e\u031f\u0003\u0002\u0002\u0002\u031f\u0321\u0005", + "\u001a\u000e\u0002\u0320\u031d\u0003\u0002\u0002\u0002\u0320\u0321\u0003", + "\u0002\u0002\u0002\u0321\u0365\u0003\u0002\u0002\u0002\u0322\u0323\u0007", + "\u00b4\u0002\u0002\u0323\u0326\u0007R\u0002\u0002\u0324\u0325\u0007", + "\u0081\u0002\u0002\u0325\u0327\u0007$\u0002\u0002\u0326\u0324\u0003", + "\u0002\u0002\u0002\u0326\u0327\u0003\u0002\u0002\u0002\u0327\u0328\u0003", + "\u0002\u0002\u0002\u0328\u0365\u0005\u0086D\u0002\u0329\u032a\u0007", + "\u00b2\u0002\u0002\u032a\u0365\u0007\u00b3\u0002\u0002\u032b\u032c\u0007", + "\u00e5\u0002\u0002\u032c\u032e\u0007w\u0002\u0002\u032d\u032f\u0007", + "\u00f0\u0002\u0002\u032e\u032d\u0003\u0002\u0002\u0002\u032e\u032f\u0003", + "\u0002\u0002\u0002\u032f\u0330\u0003\u0002\u0002\u0002\u0330\u0331\u0007", + "\u00f1\u0002\u0002\u0331\u0333\u0007\u00f3\u0002\u0002\u0332\u0334\u0007", + "\u009e\u0002\u0002\u0333\u0332\u0003\u0002\u0002\u0002\u0333\u0334\u0003", + "\u0002\u0002\u0002\u0334\u0335\u0003\u0002\u0002\u0002\u0335\u0336\u0007", + "X\u0002\u0002\u0336\u0337\u0007R\u0002\u0002\u0337\u0339\u0005\u0086", + "D\u0002\u0338\u033a\u0005 \u0011\u0002\u0339\u0338\u0003\u0002\u0002", + "\u0002\u0339\u033a\u0003\u0002\u0002\u0002\u033a\u0365\u0003\u0002\u0002", + "\u0002\u033b\u033c\u0007\u00d4\u0002\u0002\u033c\u033d\u0007R\u0002", + "\u0002\u033d\u033f\u0005\u0086D\u0002\u033e\u0340\u0005 \u0011\u0002", + "\u033f\u033e\u0003\u0002\u0002\u0002\u033f\u0340\u0003\u0002\u0002\u0002", + "\u0340\u0365\u0003\u0002\u0002\u0002\u0341\u0342\u0007\u00e0\u0002\u0002", + "\u0342\u0343\u0007\u00e1\u0002\u0002\u0343\u0344\u0007R\u0002\u0002", + "\u0344\u0365\u0005\u0086D\u0002\u0345\u0346\t\b\u0002\u0002\u0346\u034a", + "\u0005\u00c6d\u0002\u0347\u0349\u000b\u0002\u0002\u0002\u0348\u0347", + "\u0003\u0002\u0002\u0002\u0349\u034c\u0003\u0002\u0002\u0002\u034a\u034b", + "\u0003\u0002\u0002\u0002\u034a\u0348\u0003\u0002\u0002\u0002\u034b\u0365", + "\u0003\u0002\u0002\u0002\u034c\u034a\u0003\u0002\u0002\u0002\u034d\u034e", + "\u0007u\u0002\u0002\u034e\u0352\u0007\u00e6\u0002\u0002\u034f\u0351", + "\u000b\u0002\u0002\u0002\u0350\u034f\u0003\u0002\u0002\u0002\u0351\u0354", + "\u0003\u0002\u0002\u0002\u0352\u0353\u0003\u0002\u0002\u0002\u0352\u0350", + "\u0003\u0002\u0002\u0002\u0353\u0365\u0003\u0002\u0002\u0002\u0354\u0352", + "\u0003\u0002\u0002\u0002\u0355\u0359\u0007u\u0002\u0002\u0356\u0358", + "\u000b\u0002\u0002\u0002\u0357\u0356\u0003\u0002\u0002\u0002\u0358\u035b", + "\u0003\u0002\u0002\u0002\u0359\u035a\u0003\u0002\u0002\u0002\u0359\u0357", + "\u0003\u0002\u0002\u0002\u035a\u0365\u0003\u0002\u0002\u0002\u035b\u0359", + "\u0003\u0002\u0002\u0002\u035c\u0365\u0007v\u0002\u0002\u035d\u0361", + "\u0005\u0010\t\u0002\u035e\u0360\u000b\u0002\u0002\u0002\u035f\u035e", + "\u0003\u0002\u0002\u0002\u0360\u0363\u0003\u0002\u0002\u0002\u0361\u0362", + "\u0003\u0002\u0002\u0002\u0361\u035f\u0003\u0002\u0002\u0002\u0362\u0365", + "\u0003\u0002\u0002\u0002\u0363\u0361\u0003\u0002\u0002\u0002\u0364\u00e2", + "\u0003\u0002\u0002\u0002\u0364\u00e3\u0003\u0002\u0002\u0002\u0364\u00e5", + "\u0003\u0002\u0002\u0002\u0364\u00f9\u0003\u0002\u0002\u0002\u0364\u0100", + "\u0003\u0002\u0002\u0002\u0364\u010a\u0003\u0002\u0002\u0002\u0364\u0128", + "\u0003\u0002\u0002\u0002\u0364\u0149\u0003\u0002\u0002\u0002\u0364\u0166", + "\u0003\u0002\u0002\u0002\u0364\u0173\u0003\u0002\u0002\u0002\u0364\u0184", + "\u0003\u0002\u0002\u0002\u0364\u018d\u0003\u0002\u0002\u0002\u0364\u0194", + "\u0003\u0002\u0002\u0002\u0364\u019b\u0003\u0002\u0002\u0002\u0364\u01a6", + "\u0003\u0002\u0002\u0002\u0364\u01b5\u0003\u0002\u0002\u0002\u0364\u01c3", + "\u0003\u0002\u0002\u0002\u0364\u01cd\u0003\u0002\u0002\u0002\u0364\u01db", + "\u0003\u0002\u0002\u0002\u0364\u01e9\u0003\u0002\u0002\u0002\u0364\u01f1", + "\u0003\u0002\u0002\u0002\u0364\u0204\u0003\u0002\u0002\u0002\u0364\u0214", + "\u0003\u0002\u0002\u0002\u0364\u021d\u0003\u0002\u0002\u0002\u0364\u0223", + "\u0003\u0002\u0002\u0002\u0364\u022d\u0003\u0002\u0002\u0002\u0364\u0234", + "\u0003\u0002\u0002\u0002\u0364\u0259\u0003\u0002\u0002\u0002\u0364\u026f", + "\u0003\u0002\u0002\u0002\u0364\u0277\u0003\u0002\u0002\u0002\u0364\u0293", + "\u0003\u0002\u0002\u0002\u0364\u029d\u0003\u0002\u0002\u0002\u0364\u02a2", + "\u0003\u0002\u0002\u0002\u0364\u02ae\u0003\u0002\u0002\u0002\u0364\u02ba", + "\u0003\u0002\u0002\u0002\u0364\u02c2\u0003\u0002\u0002\u0002\u0364\u02cb", + "\u0003\u0002\u0002\u0002\u0364\u02d3\u0003\u0002\u0002\u0002\u0364\u02d9", + "\u0003\u0002\u0002\u0002\u0364\u02e7\u0003\u0002\u0002\u0002\u0364\u02eb", + "\u0003\u0002\u0002\u0002\u0364\u02f1\u0003\u0002\u0002\u0002\u0364\u02f7", + "\u0003\u0002\u0002\u0002\u0364\u0305\u0003\u0002\u0002\u0002\u0364\u0308", + "\u0003\u0002\u0002\u0002\u0364\u0312\u0003\u0002\u0002\u0002\u0364\u0322", + "\u0003\u0002\u0002\u0002\u0364\u0329\u0003\u0002\u0002\u0002\u0364\u032b", + "\u0003\u0002\u0002\u0002\u0364\u033b\u0003\u0002\u0002\u0002\u0364\u0341", + "\u0003\u0002\u0002\u0002\u0364\u0345\u0003\u0002\u0002\u0002\u0364\u034d", + "\u0003\u0002\u0002\u0002\u0364\u0355\u0003\u0002\u0002\u0002\u0364\u035c", + "\u0003\u0002\u0002\u0002\u0364\u035d\u0003\u0002\u0002\u0002\u0365\u000f", + "\u0003\u0002\u0002\u0002\u0366\u0367\u0007Q\u0002\u0002\u0367\u0411", + "\u0007\u00e6\u0002\u0002\u0368\u0369\u0007g\u0002\u0002\u0369\u0411", + "\u0007\u00e6\u0002\u0002\u036a\u036c\u0007\u00dd\u0002\u0002\u036b\u036d", + "\u0007\u00e6\u0002\u0002\u036c\u036b\u0003\u0002\u0002\u0002\u036c\u036d", + "\u0003\u0002\u0002\u0002\u036d\u0411\u0003\u0002\u0002\u0002\u036e\u0370", + "\u0007\u00dc\u0002\u0002\u036f\u0371\u0007\u00e6\u0002\u0002\u0370\u036f", + "\u0003\u0002\u0002\u0002\u0370\u0371\u0003\u0002\u0002\u0002\u0371\u0411", + "\u0003\u0002\u0002\u0002\u0372\u0373\u0007`\u0002\u0002\u0373\u0411", + "\u0007\u00dd\u0002\u0002\u0374\u0375\u0007`\u0002\u0002\u0375\u0377", + "\u0007\u00e6\u0002\u0002\u0376\u0378\u0007\u00dd\u0002\u0002\u0377\u0376", + "\u0003\u0002\u0002\u0002\u0377\u0378\u0003\u0002\u0002\u0002\u0378\u0411", + "\u0003\u0002\u0002\u0002\u0379\u037a\u0007`\u0002\u0002\u037a\u0411", + "\u0007\u00e9\u0002\u0002\u037b\u037c\u0007`\u0002\u0002\u037c\u0411", + "\u0007\u00e7\u0002\u0002\u037d\u037e\u0007`\u0002\u0002\u037e\u037f", + "\u0007J\u0002\u0002\u037f\u0411\u0007\u00e7\u0002\u0002\u0380\u0381", + "\u0007\u00e3\u0002\u0002\u0381\u0411\u0007R\u0002\u0002\u0382\u0383", + "\u0007\u00e4\u0002\u0002\u0383\u0411\u0007R\u0002\u0002\u0384\u0385", + "\u0007`\u0002\u0002\u0385\u0411\u0007\u00e8\u0002\u0002\u0386\u0387", + "\u0007`\u0002\u0002\u0387\u0388\u0007Q\u0002\u0002\u0388\u0411\u0007", + "R\u0002\u0002\u0389\u038a\u0007`\u0002\u0002\u038a\u0411\u0007\u00ea", + "\u0002\u0002\u038b\u038c\u0007`\u0002\u0002\u038c\u0411\u0007\u00ec", + "\u0002\u0002\u038d\u038e\u0007`\u0002\u0002\u038e\u0411\u0007\u00ed", + "\u0002\u0002\u038f\u0390\u0007Q\u0002\u0002\u0390\u0411\u0007\u00eb", + "\u0002\u0002\u0391\u0392\u0007g\u0002\u0002\u0392\u0411\u0007\u00eb", + "\u0002\u0002\u0393\u0394\u0007o\u0002\u0002\u0394\u0411\u0007\u00eb", + "\u0002\u0002\u0395\u0396\u0007\u00de\u0002\u0002\u0396\u0411\u0007R", + "\u0002\u0002\u0397\u0398\u0007\u00de\u0002\u0002\u0398\u0411\u0007\u00d1", + "\u0002\u0002\u0399\u039a\u0007\u00df\u0002\u0002\u039a\u0411\u0007R", + "\u0002\u0002\u039b\u039c\u0007\u00df\u0002\u0002\u039c\u0411\u0007\u00d1", + "\u0002\u0002\u039d\u039e\u0007Q\u0002\u0002\u039e\u039f\u0007\u00b8", + "\u0002\u0002\u039f\u0411\u0007|\u0002\u0002\u03a0\u03a1\u0007g\u0002", + "\u0002\u03a1\u03a2\u0007\u00b8\u0002\u0002\u03a2\u0411\u0007|\u0002", + "\u0002\u03a3\u03a4\u0007o\u0002\u0002\u03a4\u03a5\u0007R\u0002\u0002", + "\u03a5\u03a6\u0005\u0086D\u0002\u03a6\u03a7\u0007\"\u0002\u0002\u03a7", + "\u03a8\u0007\u00cc\u0002\u0002\u03a8\u0411\u0003\u0002\u0002\u0002\u03a9", + "\u03aa\u0007o\u0002\u0002\u03aa\u03ab\u0007R\u0002\u0002\u03ab\u03ac", + "\u0005\u0086D\u0002\u03ac\u03ad\u0007\u00cc\u0002\u0002\u03ad\u03ae", + "\u0007\u0016\u0002\u0002\u03ae\u0411\u0003\u0002\u0002\u0002\u03af\u03b0", + "\u0007o\u0002\u0002\u03b0\u03b1\u0007R\u0002\u0002\u03b1\u03b2\u0005", + "\u0086D\u0002\u03b2\u03b3\u0007\"\u0002\u0002\u03b3\u03b4\u0007\u00cd", + "\u0002\u0002\u03b4\u0411\u0003\u0002\u0002\u0002\u03b5\u03b6\u0007o", + "\u0002\u0002\u03b6\u03b7\u0007R\u0002\u0002\u03b7\u03b8\u0005\u0086", + "D\u0002\u03b8\u03b9\u0007\u00be\u0002\u0002\u03b9\u03ba\u0007\u0016", + "\u0002\u0002\u03ba\u0411\u0003\u0002\u0002\u0002\u03bb\u03bc\u0007o", + "\u0002\u0002\u03bc\u03bd\u0007R\u0002\u0002\u03bd\u03be\u0005\u0086", + "D\u0002\u03be\u03bf\u0007\"\u0002\u0002\u03bf\u03c0\u0007\u00be\u0002", + "\u0002\u03c0\u0411\u0003\u0002\u0002\u0002\u03c1\u03c2\u0007o\u0002", + "\u0002\u03c2\u03c3\u0007R\u0002\u0002\u03c3\u03c4\u0005\u0086D\u0002", + "\u03c4\u03c5\u0007\"\u0002\u0002\u03c5\u03c6\u0007\u00bf\u0002\u0002", + "\u03c6\u03c7\u0007\u0010\u0002\u0002\u03c7\u03c8\u0007\u00c0\u0002\u0002", + "\u03c8\u0411\u0003\u0002\u0002\u0002\u03c9\u03ca\u0007o\u0002\u0002", + "\u03ca\u03cb\u0007R\u0002\u0002\u03cb\u03cc\u0005\u0086D\u0002\u03cc", + "\u03cd\u0007u\u0002\u0002\u03cd\u03ce\u0007\u00be\u0002\u0002\u03ce", + "\u03cf\u0007\u00c1\u0002\u0002\u03cf\u0411\u0003\u0002\u0002\u0002\u03d0", + "\u03d1\u0007o\u0002\u0002\u03d1\u03d2\u0007R\u0002\u0002\u03d2\u03d3", + "\u0005\u0086D\u0002\u03d3\u03d4\u0007\u00c2\u0002\u0002\u03d4\u03d5", + "\u0007D\u0002\u0002\u03d5\u0411\u0003\u0002\u0002\u0002\u03d6\u03d7", + "\u0007o\u0002\u0002\u03d7\u03d8\u0007R\u0002\u0002\u03d8\u03d9\u0005", + "\u0086D\u0002\u03d9\u03da\u0007\u00c3\u0002\u0002\u03da\u03db\u0007", + "D\u0002\u0002\u03db\u0411\u0003\u0002\u0002\u0002\u03dc\u03dd\u0007", + "o\u0002\u0002\u03dd\u03de\u0007R\u0002\u0002\u03de\u03df\u0005\u0086", + "D\u0002\u03df\u03e0\u0007\u00c4\u0002\u0002\u03e0\u03e1\u0007D\u0002", + "\u0002\u03e1\u0411\u0003\u0002\u0002\u0002\u03e2\u03e3\u0007o\u0002", + "\u0002\u03e3\u03e4\u0007R\u0002\u0002\u03e4\u03e5\u0005\u0086D\u0002", + "\u03e5\u03e6\u0007\u00c6\u0002\u0002\u03e6\u0411\u0003\u0002\u0002\u0002", + "\u03e7\u03e8\u0007o\u0002\u0002\u03e8\u03e9\u0007R\u0002\u0002\u03e9", + "\u03eb\u0005\u0086D\u0002\u03ea\u03ec\u0005 \u0011\u0002\u03eb\u03ea", + "\u0003\u0002\u0002\u0002\u03eb\u03ec\u0003\u0002\u0002\u0002\u03ec\u03ed", + "\u0003\u0002\u0002\u0002\u03ed\u03ee\u0007\u00c7\u0002\u0002\u03ee\u0411", + "\u0003\u0002\u0002\u0002\u03ef\u03f0\u0007o\u0002\u0002\u03f0\u03f1", + "\u0007R\u0002\u0002\u03f1\u03f3\u0005\u0086D\u0002\u03f2\u03f4\u0005", + " \u0011\u0002\u03f3\u03f2\u0003\u0002\u0002\u0002\u03f3\u03f4\u0003", + "\u0002\u0002\u0002\u03f4\u03f5\u0003\u0002\u0002\u0002\u03f5\u03f6\u0007", + "\u00c8\u0002\u0002\u03f6\u0411\u0003\u0002\u0002\u0002\u03f7\u03f8\u0007", + "o\u0002\u0002\u03f8\u03f9\u0007R\u0002\u0002\u03f9\u03fb\u0005\u0086", + "D\u0002\u03fa\u03fc\u0005 \u0011\u0002\u03fb\u03fa\u0003\u0002\u0002", + "\u0002\u03fb\u03fc\u0003\u0002\u0002\u0002\u03fc\u03fd\u0003\u0002\u0002", + "\u0002\u03fd\u03fe\u0007u\u0002\u0002\u03fe\u03ff\u0007\u00c5\u0002", + "\u0002\u03ff\u0411\u0003\u0002\u0002\u0002\u0400\u0401\u0007o\u0002", + "\u0002\u0401\u0402\u0007R\u0002\u0002\u0402\u0404\u0005\u0086D\u0002", + "\u0403\u0405\u0005 \u0011\u0002\u0404\u0403\u0003\u0002\u0002\u0002", + "\u0404\u0405\u0003\u0002\u0002\u0002\u0405\u0406\u0003\u0002\u0002\u0002", + "\u0406\u0407\u0007U\u0002\u0002\u0407\u0408\u0007b\u0002\u0002\u0408", + "\u0411\u0003\u0002\u0002\u0002\u0409\u040a\u0007x\u0002\u0002\u040a", + "\u0411\u0007y\u0002\u0002\u040b\u0411\u0007z\u0002\u0002\u040c\u0411", + "\u0007{\u0002\u0002\u040d\u0411\u0007\u00d3\u0002\u0002\u040e\u040f", + "\u0007W\u0002\u0002\u040f\u0411\u0007\u000e\u0002\u0002\u0410\u0366", + "\u0003\u0002\u0002\u0002\u0410\u0368\u0003\u0002\u0002\u0002\u0410\u036a", + "\u0003\u0002\u0002\u0002\u0410\u036e\u0003\u0002\u0002\u0002\u0410\u0372", + "\u0003\u0002\u0002\u0002\u0410\u0374\u0003\u0002\u0002\u0002\u0410\u0379", + "\u0003\u0002\u0002\u0002\u0410\u037b\u0003\u0002\u0002\u0002\u0410\u037d", + "\u0003\u0002\u0002\u0002\u0410\u0380\u0003\u0002\u0002\u0002\u0410\u0382", + "\u0003\u0002\u0002\u0002\u0410\u0384\u0003\u0002\u0002\u0002\u0410\u0386", + "\u0003\u0002\u0002\u0002\u0410\u0389\u0003\u0002\u0002\u0002\u0410\u038b", + "\u0003\u0002\u0002\u0002\u0410\u038d\u0003\u0002\u0002\u0002\u0410\u038f", + "\u0003\u0002\u0002\u0002\u0410\u0391\u0003\u0002\u0002\u0002\u0410\u0393", + "\u0003\u0002\u0002\u0002\u0410\u0395\u0003\u0002\u0002\u0002\u0410\u0397", + "\u0003\u0002\u0002\u0002\u0410\u0399\u0003\u0002\u0002\u0002\u0410\u039b", + "\u0003\u0002\u0002\u0002\u0410\u039d\u0003\u0002\u0002\u0002\u0410\u03a0", + "\u0003\u0002\u0002\u0002\u0410\u03a3\u0003\u0002\u0002\u0002\u0410\u03a9", + "\u0003\u0002\u0002\u0002\u0410\u03af\u0003\u0002\u0002\u0002\u0410\u03b5", + "\u0003\u0002\u0002\u0002\u0410\u03bb\u0003\u0002\u0002\u0002\u0410\u03c1", + "\u0003\u0002\u0002\u0002\u0410\u03c9\u0003\u0002\u0002\u0002\u0410\u03d0", + "\u0003\u0002\u0002\u0002\u0410\u03d6\u0003\u0002\u0002\u0002\u0410\u03dc", + "\u0003\u0002\u0002\u0002\u0410\u03e2\u0003\u0002\u0002\u0002\u0410\u03e7", + "\u0003\u0002\u0002\u0002\u0410\u03ef\u0003\u0002\u0002\u0002\u0410\u03f7", + "\u0003\u0002\u0002\u0002\u0410\u0400\u0003\u0002\u0002\u0002\u0410\u0409", + "\u0003\u0002\u0002\u0002\u0410\u040b\u0003\u0002\u0002\u0002\u0410\u040c", + "\u0003\u0002\u0002\u0002\u0410\u040d\u0003\u0002\u0002\u0002\u0410\u040e", + "\u0003\u0002\u0002\u0002\u0411\u0011\u0003\u0002\u0002\u0002\u0412\u0414", + "\u0007Q\u0002\u0002\u0413\u0415\u0007\u00b8\u0002\u0002\u0414\u0413", + "\u0003\u0002\u0002\u0002\u0414\u0415\u0003\u0002\u0002\u0002\u0415\u0417", + "\u0003\u0002\u0002\u0002\u0416\u0418\u0007\u00da\u0002\u0002\u0417\u0416", + "\u0003\u0002\u0002\u0002\u0417\u0418\u0003\u0002\u0002\u0002\u0418\u0419", + "\u0003\u0002\u0002\u0002\u0419\u041d\u0007R\u0002\u0002\u041a\u041b", + "\u0007\u0081\u0002\u0002\u041b\u041c\u0007\"\u0002\u0002\u041c\u041e", + "\u0007$\u0002\u0002\u041d\u041a\u0003\u0002\u0002\u0002\u041d\u041e", + "\u0003\u0002\u0002\u0002\u041e\u041f\u0003\u0002\u0002\u0002\u041f\u0420", + "\u0005\u0086D\u0002\u0420\u0013\u0003\u0002\u0002\u0002\u0421\u0422", + "\u0007\u00cc\u0002\u0002\u0422\u0423\u0007\u0016\u0002\u0002\u0423\u0427", + "\u0005p9\u0002\u0424\u0425\u0007\u00cd\u0002\u0002\u0425\u0426\u0007", + "\u0016\u0002\u0002\u0426\u0428\u0005t;\u0002\u0427\u0424\u0003\u0002", + "\u0002\u0002\u0427\u0428\u0003\u0002\u0002\u0002\u0428\u0429\u0003\u0002", + "\u0002\u0002\u0429\u042a\u0007X\u0002\u0002\u042a\u042b\u0007\u00f7", + "\u0002\u0002\u042b\u042c\u0007\u00bd\u0002\u0002\u042c\u0015\u0003\u0002", + "\u0002\u0002\u042d\u042e\u0007\u00be\u0002\u0002\u042e\u042f\u0007\u0016", + "\u0002\u0002\u042f\u0430\u0005p9\u0002\u0430\u0433\u0007?\u0002\u0002", + "\u0431\u0434\u00056\u001c\u0002\u0432\u0434\u00058\u001d\u0002\u0433", + "\u0431\u0003\u0002\u0002\u0002\u0433\u0432\u0003\u0002\u0002\u0002\u0434", + "\u0438\u0003\u0002\u0002\u0002\u0435\u0436\u0007\u00bf\u0002\u0002\u0436", + "\u0437\u0007\u0010\u0002\u0002\u0437\u0439\u0007\u00c0\u0002\u0002\u0438", + "\u0435\u0003\u0002\u0002\u0002\u0438\u0439\u0003\u0002\u0002\u0002\u0439", + "\u0017\u0003\u0002\u0002\u0002\u043a\u043b\u0007\u00c1\u0002\u0002\u043b", + "\u043c\u0007\u00f3\u0002\u0002\u043c\u0019\u0003\u0002\u0002\u0002\u043d", + "\u043f\u0005(\u0015\u0002\u043e\u043d\u0003\u0002\u0002\u0002\u043e", + "\u043f\u0003\u0002\u0002\u0002\u043f\u0440\u0003\u0002\u0002\u0002\u0440", + "\u0441\u0005B\"\u0002\u0441\u001b\u0003\u0002\u0002\u0002\u0442\u0443", + "\u0007V\u0002\u0002\u0443\u0444\u0007\u009e\u0002\u0002\u0444\u0445", + "\u0007R\u0002\u0002\u0445\u044c\u0005\u0086D\u0002\u0446\u044a\u0005", + " \u0011\u0002\u0447\u0448\u0007\u0081\u0002\u0002\u0448\u0449\u0007", + "\"\u0002\u0002\u0449\u044b\u0007$\u0002\u0002\u044a\u0447\u0003\u0002", + "\u0002\u0002\u044a\u044b\u0003\u0002\u0002\u0002\u044b\u044d\u0003\u0002", + "\u0002\u0002\u044c\u0446\u0003\u0002\u0002\u0002\u044c\u044d\u0003\u0002", + "\u0002\u0002\u044d\u0473\u0003\u0002\u0002\u0002\u044e\u044f\u0007V", + "\u0002\u0002\u044f\u0451\u0007X\u0002\u0002\u0450\u0452\u0007R\u0002", + "\u0002\u0451\u0450\u0003\u0002\u0002\u0002\u0451\u0452\u0003\u0002\u0002", + "\u0002\u0452\u0453\u0003\u0002\u0002\u0002\u0453\u0455\u0005\u0086D", + "\u0002\u0454\u0456\u0005 \u0011\u0002\u0455\u0454\u0003\u0002\u0002", + "\u0002\u0455\u0456\u0003\u0002\u0002\u0002\u0456\u0473\u0003\u0002\u0002", + "\u0002\u0457\u0458\u0007V\u0002\u0002\u0458\u045a\u0007\u009e\u0002", + "\u0002\u0459\u045b\u0007\u00f0\u0002\u0002\u045a\u0459\u0003\u0002\u0002", + "\u0002\u045a\u045b\u0003\u0002\u0002\u0002\u045b\u045c\u0003\u0002\u0002", + "\u0002\u045c\u045d\u0007S\u0002\u0002\u045d\u045f\u0007\u00f3\u0002", + "\u0002\u045e\u0460\u0005\u0084C\u0002\u045f\u045e\u0003\u0002\u0002", + "\u0002\u045f\u0460\u0003\u0002\u0002\u0002\u0460\u0462\u0003\u0002\u0002", + "\u0002\u0461\u0463\u0005:\u001e\u0002\u0462\u0461\u0003\u0002\u0002", + "\u0002\u0462\u0463\u0003\u0002\u0002\u0002\u0463\u0473\u0003\u0002\u0002", + "\u0002\u0464\u0465\u0007V\u0002\u0002\u0465\u0467\u0007\u009e\u0002", + "\u0002\u0466\u0468\u0007\u00f0\u0002\u0002\u0467\u0466\u0003\u0002\u0002", + "\u0002\u0467\u0468\u0003\u0002\u0002\u0002\u0468\u0469\u0003\u0002\u0002", + "\u0002\u0469\u046b\u0007S\u0002\u0002\u046a\u046c\u0007\u00f3\u0002", + "\u0002\u046b\u046a\u0003\u0002\u0002\u0002\u046b\u046c\u0003\u0002\u0002", + "\u0002\u046c\u046d\u0003\u0002\u0002\u0002\u046d\u0470\u0005,\u0017", + "\u0002\u046e\u046f\u0007\u00b9\u0002\u0002\u046f\u0471\u0005.\u0018", + "\u0002\u0470\u046e\u0003\u0002\u0002\u0002\u0470\u0471\u0003\u0002\u0002", + "\u0002\u0471\u0473\u0003\u0002\u0002\u0002\u0472\u0442\u0003\u0002\u0002", + "\u0002\u0472\u044e\u0003\u0002\u0002\u0002\u0472\u0457\u0003\u0002\u0002", + "\u0002\u0472\u0464\u0003\u0002\u0002\u0002\u0473\u001d\u0003\u0002\u0002", + "\u0002\u0474\u0476\u0005 \u0011\u0002\u0475\u0477\u0005\u0018\r\u0002", + "\u0476\u0475\u0003\u0002\u0002\u0002\u0476\u0477\u0003\u0002\u0002\u0002", + "\u0477\u001f\u0003\u0002\u0002\u0002\u0478\u0479\u0007D\u0002\u0002", + "\u0479\u047a\u0007\u0003\u0002\u0002\u047a\u047f\u0005\"\u0012\u0002", + "\u047b\u047c\u0007\u0006\u0002\u0002\u047c\u047e\u0005\"\u0012\u0002", + "\u047d\u047b\u0003\u0002\u0002\u0002\u047e\u0481\u0003\u0002\u0002\u0002", + "\u047f\u047d\u0003\u0002\u0002\u0002\u047f\u0480\u0003\u0002\u0002\u0002", + "\u0480\u0482\u0003\u0002\u0002\u0002\u0481\u047f\u0003\u0002\u0002\u0002", + "\u0482\u0483\u0007\u0004\u0002\u0002\u0483!\u0003\u0002\u0002\u0002", + "\u0484\u0487\u0005\u00c6d\u0002\u0485\u0486\u0007\u0084\u0002\u0002", + "\u0486\u0488\u0005\u0098M\u0002\u0487\u0485\u0003\u0002\u0002\u0002", + "\u0487\u0488\u0003\u0002\u0002\u0002\u0488#\u0003\u0002\u0002\u0002", + "\u0489\u048f\u0005\u00c4c\u0002\u048a\u048f\u0007\u00f3\u0002\u0002", + "\u048b\u048f\u0005\u009aN\u0002\u048c\u048f\u0005\u009cO\u0002\u048d", + "\u048f\u0005\u009eP\u0002\u048e\u0489\u0003\u0002\u0002\u0002\u048e", + "\u048a\u0003\u0002\u0002\u0002\u048e\u048b\u0003\u0002\u0002\u0002\u048e", + "\u048c\u0003\u0002\u0002\u0002\u048e\u048d\u0003\u0002\u0002\u0002\u048f", + "%\u0003\u0002\u0002\u0002\u0490\u0495\u0005\u00c6d\u0002\u0491\u0492", + "\u0007\u0005\u0002\u0002\u0492\u0494\u0005\u00c6d\u0002\u0493\u0491", + "\u0003\u0002\u0002\u0002\u0494\u0497\u0003\u0002\u0002\u0002\u0495\u0493", + "\u0003\u0002\u0002\u0002\u0495\u0496\u0003\u0002\u0002\u0002\u0496\'", + "\u0003\u0002\u0002\u0002\u0497\u0495\u0003\u0002\u0002\u0002\u0498\u0499", + "\u0007O\u0002\u0002\u0499\u049e\u0005*\u0016\u0002\u049a\u049b\u0007", + "\u0006\u0002\u0002\u049b\u049d\u0005*\u0016\u0002\u049c\u049a\u0003", + "\u0002\u0002\u0002\u049d\u04a0\u0003\u0002\u0002\u0002\u049e\u049c\u0003", + "\u0002\u0002\u0002\u049e\u049f\u0003\u0002\u0002\u0002\u049f)\u0003", + "\u0002\u0002\u0002\u04a0\u049e\u0003\u0002\u0002\u0002\u04a1\u04a3\u0005", + "\u00c6d\u0002\u04a2\u04a4\u0007\u0010\u0002\u0002\u04a3\u04a2\u0003", + "\u0002\u0002\u0002\u04a3\u04a4\u0003\u0002\u0002\u0002\u04a4\u04a5\u0003", + "\u0002\u0002\u0002\u04a5\u04a6\u0007\u0003\u0002\u0002\u04a6\u04a7\u0005", + "\u001a\u000e\u0002\u04a7\u04a8\u0007\u0004\u0002\u0002\u04a8+\u0003", + "\u0002\u0002\u0002\u04a9\u04aa\u0007\u00a1\u0002\u0002\u04aa\u04ab\u0005", + "\u00c4c\u0002\u04ab-\u0003\u0002\u0002\u0002\u04ac\u04ad\u0007\u0003", + "\u0002\u0002\u04ad\u04b2\u00050\u0019\u0002\u04ae\u04af\u0007\u0006", + "\u0002\u0002\u04af\u04b1\u00050\u0019\u0002\u04b0\u04ae\u0003\u0002", + "\u0002\u0002\u04b1\u04b4\u0003\u0002\u0002\u0002\u04b2\u04b0\u0003\u0002", + "\u0002\u0002\u04b2\u04b3\u0003\u0002\u0002\u0002\u04b3\u04b5\u0003\u0002", + "\u0002\u0002\u04b4\u04b2\u0003\u0002\u0002\u0002\u04b5\u04b6\u0007\u0004", + "\u0002\u0002\u04b6/\u0003\u0002\u0002\u0002\u04b7\u04bc\u00052\u001a", + "\u0002\u04b8\u04ba\u0007\u0084\u0002\u0002\u04b9\u04b8\u0003\u0002\u0002", + "\u0002\u04b9\u04ba\u0003\u0002\u0002\u0002\u04ba\u04bb\u0003\u0002\u0002", + "\u0002\u04bb\u04bd\u00054\u001b\u0002\u04bc\u04b9\u0003\u0002\u0002", + "\u0002\u04bc\u04bd\u0003\u0002\u0002\u0002\u04bd1\u0003\u0002\u0002", + "\u0002\u04be\u04c3\u0005\u00c6d\u0002\u04bf\u04c0\u0007\u0005\u0002", + "\u0002\u04c0\u04c2\u0005\u00c6d\u0002\u04c1\u04bf\u0003\u0002\u0002", + "\u0002\u04c2\u04c5\u0003\u0002\u0002\u0002\u04c3\u04c1\u0003\u0002\u0002", + "\u0002\u04c3\u04c4\u0003\u0002\u0002\u0002\u04c4\u04c8\u0003\u0002\u0002", + "\u0002\u04c5\u04c3\u0003\u0002\u0002\u0002\u04c6\u04c8\u0007\u00f3\u0002", + "\u0002\u04c7\u04be\u0003\u0002\u0002\u0002\u04c7\u04c6\u0003\u0002\u0002", + "\u0002\u04c83\u0003\u0002\u0002\u0002\u04c9\u04ce\u0007\u00f7\u0002", + "\u0002\u04ca\u04ce\u0007\u00f8\u0002\u0002\u04cb\u04ce\u0005\u00a0Q", + "\u0002\u04cc\u04ce\u0007\u00f3\u0002\u0002\u04cd\u04c9\u0003\u0002\u0002", + "\u0002\u04cd\u04ca\u0003\u0002\u0002\u0002\u04cd\u04cb\u0003\u0002\u0002", + "\u0002\u04cd\u04cc\u0003\u0002\u0002\u0002\u04ce5\u0003\u0002\u0002", + "\u0002\u04cf\u04d0\u0007\u0003\u0002\u0002\u04d0\u04d5\u0005\u0098M", + "\u0002\u04d1\u04d2\u0007\u0006\u0002\u0002\u04d2\u04d4\u0005\u0098M", + "\u0002\u04d3\u04d1\u0003\u0002\u0002\u0002\u04d4\u04d7\u0003\u0002\u0002", + "\u0002\u04d5\u04d3\u0003\u0002\u0002\u0002\u04d5\u04d6\u0003\u0002\u0002", + "\u0002\u04d6\u04d8\u0003\u0002\u0002\u0002\u04d7\u04d5\u0003\u0002\u0002", + "\u0002\u04d8\u04d9\u0007\u0004\u0002\u0002\u04d97\u0003\u0002\u0002", + "\u0002\u04da\u04db\u0007\u0003\u0002\u0002\u04db\u04e0\u00056\u001c", + "\u0002\u04dc\u04dd\u0007\u0006\u0002\u0002\u04dd\u04df\u00056\u001c", + "\u0002\u04de\u04dc\u0003\u0002\u0002\u0002\u04df\u04e2\u0003\u0002\u0002", + "\u0002\u04e0\u04de\u0003\u0002\u0002\u0002\u04e0\u04e1\u0003\u0002\u0002", + "\u0002\u04e1\u04e3\u0003\u0002\u0002\u0002\u04e2\u04e0\u0003\u0002\u0002", + "\u0002\u04e3\u04e4\u0007\u0004\u0002\u0002\u04e49\u0003\u0002\u0002", + "\u0002\u04e5\u04e6\u0007\u00bf\u0002\u0002\u04e6\u04e7\u0007\u0010\u0002", + "\u0002\u04e7\u04ec\u0005<\u001f\u0002\u04e8\u04e9\u0007\u00bf\u0002", + "\u0002\u04e9\u04ea\u0007\u0016\u0002\u0002\u04ea\u04ec\u0005> \u0002", + "\u04eb\u04e5\u0003\u0002\u0002\u0002\u04eb\u04e8\u0003\u0002\u0002\u0002", + "\u04ec;\u0003\u0002\u0002\u0002\u04ed\u04ee\u0007\u00cf\u0002\u0002", + "\u04ee\u04ef\u0007\u00f3\u0002\u0002\u04ef\u04f0\u0007\u00d0\u0002\u0002", + "\u04f0\u04f3\u0007\u00f3\u0002\u0002\u04f1\u04f3\u0005\u00c6d\u0002", + "\u04f2\u04ed\u0003\u0002\u0002\u0002\u04f2\u04f1\u0003\u0002\u0002\u0002", + "\u04f3=\u0003\u0002\u0002\u0002\u04f4\u04f8\u0007\u00f3\u0002\u0002", + "\u04f5\u04f6\u0007O\u0002\u0002\u04f6\u04f7\u0007\u00a3\u0002\u0002", + "\u04f7\u04f9\u0005.\u0018\u0002\u04f8\u04f5\u0003\u0002\u0002\u0002", + "\u04f8\u04f9\u0003\u0002\u0002\u0002\u04f9?\u0003\u0002\u0002\u0002", + "\u04fa\u04fb\u0005\u00c6d\u0002\u04fb\u04fc\u0007\u00f3\u0002\u0002", + "\u04fcA\u0003\u0002\u0002\u0002\u04fd\u04ff\u0005\u001c\u000f\u0002", + "\u04fe\u04fd\u0003\u0002\u0002\u0002\u04fe\u04ff\u0003\u0002\u0002\u0002", + "\u04ff\u0500\u0003\u0002\u0002\u0002\u0500\u0501\u0005H%\u0002\u0501", + "\u0502\u0005D#\u0002\u0502\u050a\u0003\u0002\u0002\u0002\u0503\u0505", + "\u0005T+\u0002\u0504\u0506\u0005F$\u0002\u0505\u0504\u0003\u0002\u0002", + "\u0002\u0506\u0507\u0003\u0002\u0002\u0002\u0507\u0505\u0003\u0002\u0002", + "\u0002\u0507\u0508\u0003\u0002\u0002\u0002\u0508\u050a\u0003\u0002\u0002", + "\u0002\u0509\u04fe\u0003\u0002\u0002\u0002\u0509\u0503\u0003\u0002\u0002", + "\u0002\u050aC\u0003\u0002\u0002\u0002\u050b\u050c\u0007\u001b\u0002", + "\u0002\u050c\u050d\u0007\u0016\u0002\u0002\u050d\u0512\u0005L\'\u0002", + "\u050e\u050f\u0007\u0006\u0002\u0002\u050f\u0511\u0005L\'\u0002\u0510", + "\u050e\u0003\u0002\u0002\u0002\u0511\u0514\u0003\u0002\u0002\u0002\u0512", + "\u0510\u0003\u0002\u0002\u0002\u0512\u0513\u0003\u0002\u0002\u0002\u0513", + "\u0516\u0003\u0002\u0002\u0002\u0514\u0512\u0003\u0002\u0002\u0002\u0515", + "\u050b\u0003\u0002\u0002\u0002\u0515\u0516\u0003\u0002\u0002\u0002\u0516", + "\u0521\u0003\u0002\u0002\u0002\u0517\u0518\u0007\u009c\u0002\u0002\u0518", + "\u0519\u0007\u0016\u0002\u0002\u0519\u051e\u0005\u008eH\u0002\u051a", + "\u051b\u0007\u0006\u0002\u0002\u051b\u051d\u0005\u008eH\u0002\u051c", + "\u051a\u0003\u0002\u0002\u0002\u051d\u0520\u0003\u0002\u0002\u0002\u051e", + "\u051c\u0003\u0002\u0002\u0002\u051e\u051f\u0003\u0002\u0002\u0002\u051f", + "\u0522\u0003\u0002\u0002\u0002\u0520\u051e\u0003\u0002\u0002\u0002\u0521", + "\u0517\u0003\u0002\u0002\u0002\u0521\u0522\u0003\u0002\u0002\u0002\u0522", + "\u052d\u0003\u0002\u0002\u0002\u0523\u0524\u0007\u009d\u0002\u0002\u0524", + "\u0525\u0007\u0016\u0002\u0002\u0525\u052a\u0005\u008eH\u0002\u0526", + "\u0527\u0007\u0006\u0002\u0002\u0527\u0529\u0005\u008eH\u0002\u0528", + "\u0526\u0003\u0002\u0002\u0002\u0529\u052c\u0003\u0002\u0002\u0002\u052a", + "\u0528\u0003\u0002\u0002\u0002\u052a\u052b\u0003\u0002\u0002\u0002\u052b", + "\u052e\u0003\u0002\u0002\u0002\u052c\u052a\u0003\u0002\u0002\u0002\u052d", + "\u0523\u0003\u0002\u0002\u0002\u052d\u052e\u0003\u0002\u0002\u0002\u052e", + "\u0539\u0003\u0002\u0002\u0002\u052f\u0530\u0007\u009b\u0002\u0002\u0530", + "\u0531\u0007\u0016\u0002\u0002\u0531\u0536\u0005L\'\u0002\u0532\u0533", + "\u0007\u0006\u0002\u0002\u0533\u0535\u0005L\'\u0002\u0534\u0532\u0003", + "\u0002\u0002\u0002\u0535\u0538\u0003\u0002\u0002\u0002\u0536\u0534\u0003", + "\u0002\u0002\u0002\u0536\u0537\u0003\u0002\u0002\u0002\u0537\u053a\u0003", + "\u0002\u0002\u0002\u0538\u0536\u0003\u0002\u0002\u0002\u0539\u052f\u0003", + "\u0002\u0002\u0002\u0539\u053a\u0003\u0002\u0002\u0002\u053a\u053c\u0003", + "\u0002\u0002\u0002\u053b\u053d\u0005\u00ba^\u0002\u053c\u053b\u0003", + "\u0002\u0002\u0002\u053c\u053d\u0003\u0002\u0002\u0002\u053d\u0543\u0003", + "\u0002\u0002\u0002\u053e\u0541\u0007\u001d\u0002\u0002\u053f\u0542\u0007", + "\u0011\u0002\u0002\u0540\u0542\u0005\u008eH\u0002\u0541\u053f\u0003", + "\u0002\u0002\u0002\u0541\u0540\u0003\u0002\u0002\u0002\u0542\u0544\u0003", + "\u0002\u0002\u0002\u0543\u053e\u0003\u0002\u0002\u0002\u0543\u0544\u0003", + "\u0002\u0002\u0002\u0544E\u0003\u0002\u0002\u0002\u0545\u0547\u0005", + "\u001c\u000f\u0002\u0546\u0545\u0003\u0002\u0002\u0002\u0546\u0547\u0003", + "\u0002\u0002\u0002\u0547\u0548\u0003\u0002\u0002\u0002\u0548\u0549\u0005", + "N(\u0002\u0549\u054a\u0005D#\u0002\u054aG\u0003\u0002\u0002\u0002\u054b", + "\u054c\b%\u0001\u0002\u054c\u054d\u0005J&\u0002\u054d\u0565\u0003\u0002", + "\u0002\u0002\u054e\u054f\f\u0005\u0002\u0002\u054f\u0550\u0006%\u0003", + "\u0002\u0550\u0552\t\t\u0002\u0002\u0551\u0553\u0005b2\u0002\u0552\u0551", + "\u0003\u0002\u0002\u0002\u0552\u0553\u0003\u0002\u0002\u0002\u0553\u0554", + "\u0003\u0002\u0002\u0002\u0554\u0564\u0005H%\u0006\u0555\u0556\f\u0004", + "\u0002\u0002\u0556\u0557\u0006%\u0005\u0002\u0557\u0559\u0007k\u0002", + "\u0002\u0558\u055a\u0005b2\u0002\u0559\u0558\u0003\u0002\u0002\u0002", + "\u0559\u055a\u0003\u0002\u0002\u0002\u055a\u055b\u0003\u0002\u0002\u0002", + "\u055b\u0564\u0005H%\u0005\u055c\u055d\f\u0003\u0002\u0002\u055d\u055e", + "\u0006%\u0007\u0002\u055e\u0560\t\n\u0002\u0002\u055f\u0561\u0005b2", + "\u0002\u0560\u055f\u0003\u0002\u0002\u0002\u0560\u0561\u0003\u0002\u0002", + "\u0002\u0561\u0562\u0003\u0002\u0002\u0002\u0562\u0564\u0005H%\u0004", + "\u0563\u054e\u0003\u0002\u0002\u0002\u0563\u0555\u0003\u0002\u0002\u0002", + "\u0563\u055c\u0003\u0002\u0002\u0002\u0564\u0567\u0003\u0002\u0002\u0002", + "\u0565\u0563\u0003\u0002\u0002\u0002\u0565\u0566\u0003\u0002\u0002\u0002", + "\u0566I\u0003\u0002\u0002\u0002\u0567\u0565\u0003\u0002\u0002\u0002", + "\u0568\u0571\u0005N(\u0002\u0569\u056a\u0007R\u0002\u0002\u056a\u0571", + "\u0005\u0086D\u0002\u056b\u0571\u0005~@\u0002\u056c\u056d\u0007\u0003", + "\u0002\u0002\u056d\u056e\u0005B\"\u0002\u056e\u056f\u0007\u0004\u0002", + "\u0002\u056f\u0571\u0003\u0002\u0002\u0002\u0570\u0568\u0003\u0002\u0002", + "\u0002\u0570\u0569\u0003\u0002\u0002\u0002\u0570\u056b\u0003\u0002\u0002", + "\u0002\u0570\u056c\u0003\u0002\u0002\u0002\u0571K\u0003\u0002\u0002", + "\u0002\u0572\u0574\u0005\u008eH\u0002\u0573\u0575\t\u000b\u0002\u0002", + "\u0574\u0573\u0003\u0002\u0002\u0002\u0574\u0575\u0003\u0002\u0002\u0002", + "\u0575\u0578\u0003\u0002\u0002\u0002\u0576\u0577\u0007,\u0002\u0002", + "\u0577\u0579\t\f\u0002\u0002\u0578\u0576\u0003\u0002\u0002\u0002\u0578", + "\u0579\u0003\u0002\u0002\u0002\u0579M\u0003\u0002\u0002\u0002\u057a", + "\u057b\u0007\r\u0002\u0002\u057b\u057c\u0007\u009f\u0002\u0002\u057c", + "\u057d\u0007\u0003\u0002\u0002\u057d\u057e\u0005\u008cG\u0002\u057e", + "\u057f\u0007\u0004\u0002\u0002\u057f\u0585\u0003\u0002\u0002\u0002\u0580", + "\u0581\u0007r\u0002\u0002\u0581\u0585\u0005\u008cG\u0002\u0582\u0583", + "\u0007\u00a0\u0002\u0002\u0583\u0585\u0005\u008cG\u0002\u0584\u057a", + "\u0003\u0002\u0002\u0002\u0584\u0580\u0003\u0002\u0002\u0002\u0584\u0582", + "\u0003\u0002\u0002\u0002\u0585\u0587\u0003\u0002\u0002\u0002\u0586\u0588", + "\u0005\u0084C\u0002\u0587\u0586\u0003\u0002\u0002\u0002\u0587\u0588", + "\u0003\u0002\u0002\u0002\u0588\u058b\u0003\u0002\u0002\u0002\u0589\u058a", + "\u0007\u00a5\u0002\u0002\u058a\u058c\u0007\u00f3\u0002\u0002\u058b\u0589", + "\u0003\u0002\u0002\u0002\u058b\u058c\u0003\u0002\u0002\u0002\u058c\u058d", + "\u0003\u0002\u0002\u0002\u058d\u058e\u0007\u00a1\u0002\u0002\u058e\u059b", + "\u0007\u00f3\u0002\u0002\u058f\u0599\u0007\u0010\u0002\u0002\u0590\u059a", + "\u0005r:\u0002\u0591\u059a\u0005\u00acW\u0002\u0592\u0595\u0007\u0003", + "\u0002\u0002\u0593\u0596\u0005r:\u0002\u0594\u0596\u0005\u00acW\u0002", + "\u0595\u0593\u0003\u0002\u0002\u0002\u0595\u0594\u0003\u0002\u0002\u0002", + "\u0596\u0597\u0003\u0002\u0002\u0002\u0597\u0598\u0007\u0004\u0002\u0002", + "\u0598\u059a\u0003\u0002\u0002\u0002\u0599\u0590\u0003\u0002\u0002\u0002", + "\u0599\u0591\u0003\u0002\u0002\u0002\u0599\u0592\u0003\u0002\u0002\u0002", + "\u059a\u059c\u0003\u0002\u0002\u0002\u059b\u058f\u0003\u0002\u0002\u0002", + "\u059b\u059c\u0003\u0002\u0002\u0002\u059c\u059e\u0003\u0002\u0002\u0002", + "\u059d\u059f\u0005\u0084C\u0002\u059e\u059d\u0003\u0002\u0002\u0002", + "\u059e\u059f\u0003\u0002\u0002\u0002\u059f\u05a2\u0003\u0002\u0002\u0002", + "\u05a0\u05a1\u0007\u00a4\u0002\u0002\u05a1\u05a3\u0007\u00f3\u0002\u0002", + "\u05a2\u05a0\u0003\u0002\u0002\u0002\u05a2\u05a3\u0003\u0002\u0002\u0002", + "\u05a3\u05a5\u0003\u0002\u0002\u0002\u05a4\u05a6\u0005T+\u0002\u05a5", + "\u05a4\u0003\u0002\u0002\u0002\u05a5\u05a6\u0003\u0002\u0002\u0002\u05a6", + "\u05a9\u0003\u0002\u0002\u0002\u05a7\u05a8\u0007\u0014\u0002\u0002\u05a8", + "\u05aa\u0005\u0090I\u0002\u05a9\u05a7\u0003\u0002\u0002\u0002\u05a9", + "\u05aa\u0003\u0002\u0002\u0002\u05aa\u05d8\u0003\u0002\u0002\u0002\u05ab", + "\u05af\u0007\r\u0002\u0002\u05ac\u05ae\u0005P)\u0002\u05ad\u05ac\u0003", + "\u0002\u0002\u0002\u05ae\u05b1\u0003\u0002\u0002\u0002\u05af\u05ad\u0003", + "\u0002\u0002\u0002\u05af\u05b0\u0003\u0002\u0002\u0002\u05b0\u05b3\u0003", + "\u0002\u0002\u0002\u05b1\u05af\u0003\u0002\u0002\u0002\u05b2\u05b4\u0005", + "b2\u0002\u05b3\u05b2\u0003\u0002\u0002\u0002\u05b3\u05b4\u0003\u0002", + "\u0002\u0002\u05b4\u05b5\u0003\u0002\u0002\u0002\u05b5\u05b7\u0005\u008c", + "G\u0002\u05b6\u05b8\u0005T+\u0002\u05b7\u05b6\u0003\u0002\u0002\u0002", + "\u05b7\u05b8\u0003\u0002\u0002\u0002\u05b8\u05c2\u0003\u0002\u0002\u0002", + "\u05b9\u05bf\u0005T+\u0002\u05ba\u05bc\u0007\r\u0002\u0002\u05bb\u05bd", + "\u0005b2\u0002\u05bc\u05bb\u0003\u0002\u0002\u0002\u05bc\u05bd\u0003", + "\u0002\u0002\u0002\u05bd\u05be\u0003\u0002\u0002\u0002\u05be\u05c0\u0005", + "\u008cG\u0002\u05bf\u05ba\u0003\u0002\u0002\u0002\u05bf\u05c0\u0003", + "\u0002\u0002\u0002\u05c0\u05c2\u0003\u0002\u0002\u0002\u05c1\u05ab\u0003", + "\u0002\u0002\u0002\u05c1\u05b9\u0003\u0002\u0002\u0002\u05c2\u05c6\u0003", + "\u0002\u0002\u0002\u05c3\u05c5\u0005`1\u0002\u05c4\u05c3\u0003\u0002", + "\u0002\u0002\u05c5\u05c8\u0003\u0002\u0002\u0002\u05c6\u05c4\u0003\u0002", + "\u0002\u0002\u05c6\u05c7\u0003\u0002\u0002\u0002\u05c7\u05cb\u0003\u0002", + "\u0002\u0002\u05c8\u05c6\u0003\u0002\u0002\u0002\u05c9\u05ca\u0007\u0014", + "\u0002\u0002\u05ca\u05cc\u0005\u0090I\u0002\u05cb\u05c9\u0003\u0002", + "\u0002\u0002\u05cb\u05cc\u0003\u0002\u0002\u0002\u05cc\u05ce\u0003\u0002", + "\u0002\u0002\u05cd\u05cf\u0005V,\u0002\u05ce\u05cd\u0003\u0002\u0002", + "\u0002\u05ce\u05cf\u0003\u0002\u0002\u0002\u05cf\u05d2\u0003\u0002\u0002", + "\u0002\u05d0\u05d1\u0007\u001c\u0002\u0002\u05d1\u05d3\u0005\u0090I", + "\u0002\u05d2\u05d0\u0003\u0002\u0002\u0002\u05d2\u05d3\u0003\u0002\u0002", + "\u0002\u05d3\u05d5\u0003\u0002\u0002\u0002\u05d4\u05d6\u0005\u00ba^", + "\u0002\u05d5\u05d4\u0003\u0002\u0002\u0002\u05d5\u05d6\u0003\u0002\u0002", + "\u0002\u05d6\u05d8\u0003\u0002\u0002\u0002\u05d7\u0584\u0003\u0002\u0002", + "\u0002\u05d7\u05c1\u0003\u0002\u0002\u0002\u05d8O\u0003\u0002\u0002", + "\u0002\u05d9\u05da\u0007\u0007\u0002\u0002\u05da\u05e1\u0005R*\u0002", + "\u05db\u05dd\u0007\u0006\u0002\u0002\u05dc\u05db\u0003\u0002\u0002\u0002", + "\u05dc\u05dd\u0003\u0002\u0002\u0002\u05dd\u05de\u0003\u0002\u0002\u0002", + "\u05de\u05e0\u0005R*\u0002\u05df\u05dc\u0003\u0002\u0002\u0002\u05e0", + "\u05e3\u0003\u0002\u0002\u0002\u05e1\u05df\u0003\u0002\u0002\u0002\u05e1", + "\u05e2\u0003\u0002\u0002\u0002\u05e2\u05e4\u0003\u0002\u0002\u0002\u05e3", + "\u05e1\u0003\u0002\u0002\u0002\u05e4\u05e5\u0007\b\u0002\u0002\u05e5", + "Q\u0003\u0002\u0002\u0002\u05e6\u05f4\u0005\u00c6d\u0002\u05e7\u05e8", + "\u0005\u00c6d\u0002\u05e8\u05e9\u0007\u0003\u0002\u0002\u05e9\u05ee", + "\u0005\u0096L\u0002\u05ea\u05eb\u0007\u0006\u0002\u0002\u05eb\u05ed", + "\u0005\u0096L\u0002\u05ec\u05ea\u0003\u0002\u0002\u0002\u05ed\u05f0", + "\u0003\u0002\u0002\u0002\u05ee\u05ec\u0003\u0002\u0002\u0002\u05ee\u05ef", + "\u0003\u0002\u0002\u0002\u05ef\u05f1\u0003\u0002\u0002\u0002\u05f0\u05ee", + "\u0003\u0002\u0002\u0002\u05f1\u05f2\u0007\u0004\u0002\u0002\u05f2\u05f4", + "\u0003\u0002\u0002\u0002\u05f3\u05e6\u0003\u0002\u0002\u0002\u05f3\u05e7", + "\u0003\u0002\u0002\u0002\u05f4S\u0003\u0002\u0002\u0002\u05f5\u05f6", + "\u0007\u000e\u0002\u0002\u05f6\u05fb\u0005d3\u0002\u05f7\u05f8\u0007", + "\u0006\u0002\u0002\u05f8\u05fa\u0005d3\u0002\u05f9\u05f7\u0003\u0002", + "\u0002\u0002\u05fa\u05fd\u0003\u0002\u0002\u0002\u05fb\u05f9\u0003\u0002", + "\u0002\u0002\u05fb\u05fc\u0003\u0002\u0002\u0002\u05fc\u0601\u0003\u0002", + "\u0002\u0002\u05fd\u05fb\u0003\u0002\u0002\u0002\u05fe\u0600\u0005`", + "1\u0002\u05ff\u05fe\u0003\u0002\u0002\u0002\u0600\u0603\u0003\u0002", + "\u0002\u0002\u0601\u05ff\u0003\u0002\u0002\u0002\u0601\u0602\u0003\u0002", + "\u0002\u0002\u0602\u0605\u0003\u0002\u0002\u0002\u0603\u0601\u0003\u0002", + "\u0002\u0002\u0604\u0606\u0005Z.\u0002\u0605\u0604\u0003\u0002\u0002", + "\u0002\u0605\u0606\u0003\u0002\u0002\u0002\u0606U\u0003\u0002\u0002", + "\u0002\u0607\u0608\u0007\u0015\u0002\u0002\u0608\u0609\u0007\u0016\u0002", + "\u0002\u0609\u060e\u0005\u008eH\u0002\u060a\u060b\u0007\u0006\u0002", + "\u0002\u060b\u060d\u0005\u008eH\u0002\u060c\u060a\u0003\u0002\u0002", + "\u0002\u060d\u0610\u0003\u0002\u0002\u0002\u060e\u060c\u0003\u0002\u0002", + "\u0002\u060e\u060f\u0003\u0002\u0002\u0002\u060f\u0622\u0003\u0002\u0002", + "\u0002\u0610\u060e\u0003\u0002\u0002\u0002\u0611\u0612\u0007O\u0002", + "\u0002\u0612\u0623\u0007\u001a\u0002\u0002\u0613\u0614\u0007O\u0002", + "\u0002\u0614\u0623\u0007\u0019\u0002\u0002\u0615\u0616\u0007\u0017\u0002", + "\u0002\u0616\u0617\u0007\u0018\u0002\u0002\u0617\u0618\u0007\u0003\u0002", + "\u0002\u0618\u061d\u0005X-\u0002\u0619\u061a\u0007\u0006\u0002\u0002", + "\u061a\u061c\u0005X-\u0002\u061b\u0619\u0003\u0002\u0002\u0002\u061c", + "\u061f\u0003\u0002\u0002\u0002\u061d\u061b\u0003\u0002\u0002\u0002\u061d", + "\u061e\u0003\u0002\u0002\u0002\u061e\u0620\u0003\u0002\u0002\u0002\u061f", + "\u061d\u0003\u0002\u0002\u0002\u0620\u0621\u0007\u0004\u0002\u0002\u0621", + "\u0623\u0003\u0002\u0002\u0002\u0622\u0611\u0003\u0002\u0002\u0002\u0622", + "\u0613\u0003\u0002\u0002\u0002\u0622\u0615\u0003\u0002\u0002\u0002\u0622", + "\u0623\u0003\u0002\u0002\u0002\u0623\u0634\u0003\u0002\u0002\u0002\u0624", + "\u0625\u0007\u0015\u0002\u0002\u0625\u0626\u0007\u0016\u0002\u0002\u0626", + "\u0627\u0007\u0017\u0002\u0002\u0627\u0628\u0007\u0018\u0002\u0002\u0628", + "\u0629\u0007\u0003\u0002\u0002\u0629\u062e\u0005X-\u0002\u062a\u062b", + "\u0007\u0006\u0002\u0002\u062b\u062d\u0005X-\u0002\u062c\u062a\u0003", + "\u0002\u0002\u0002\u062d\u0630\u0003\u0002\u0002\u0002\u062e\u062c\u0003", + "\u0002\u0002\u0002\u062e\u062f\u0003\u0002\u0002\u0002\u062f\u0631\u0003", + "\u0002\u0002\u0002\u0630\u062e\u0003\u0002\u0002\u0002\u0631\u0632\u0007", + "\u0004\u0002\u0002\u0632\u0634\u0003\u0002\u0002\u0002\u0633\u0607\u0003", + "\u0002\u0002\u0002\u0633\u0624\u0003\u0002\u0002\u0002\u0634W\u0003", + "\u0002\u0002\u0002\u0635\u063e\u0007\u0003\u0002\u0002\u0636\u063b\u0005", + "\u008eH\u0002\u0637\u0638\u0007\u0006\u0002\u0002\u0638\u063a\u0005", + "\u008eH\u0002\u0639\u0637\u0003\u0002\u0002\u0002\u063a\u063d\u0003", + "\u0002\u0002\u0002\u063b\u0639\u0003\u0002\u0002\u0002\u063b\u063c\u0003", + "\u0002\u0002\u0002\u063c\u063f\u0003\u0002\u0002\u0002\u063d\u063b\u0003", + "\u0002\u0002\u0002\u063e\u0636\u0003\u0002\u0002\u0002\u063e\u063f\u0003", + "\u0002\u0002\u0002\u063f\u0640\u0003\u0002\u0002\u0002\u0640\u0643\u0007", + "\u0004\u0002\u0002\u0641\u0643\u0005\u008eH\u0002\u0642\u0635\u0003", + "\u0002\u0002\u0002\u0642\u0641\u0003\u0002\u0002\u0002\u0643Y\u0003", + "\u0002\u0002\u0002\u0644\u0645\u0007@\u0002\u0002\u0645\u0646\u0007", + "\u0003\u0002\u0002\u0646\u0647\u0005\u008cG\u0002\u0647\u0648\u0007", + "/\u0002\u0002\u0648\u0649\u0005\\/\u0002\u0649\u064a\u0007!\u0002\u0002", + "\u064a\u064b\u0007\u0003\u0002\u0002\u064b\u0650\u0005^0\u0002\u064c", + "\u064d\u0007\u0006\u0002\u0002\u064d\u064f\u0005^0\u0002\u064e\u064c", + "\u0003\u0002\u0002\u0002\u064f\u0652\u0003\u0002\u0002\u0002\u0650\u064e", + "\u0003\u0002\u0002\u0002\u0650\u0651\u0003\u0002\u0002\u0002\u0651\u0653", + "\u0003\u0002\u0002\u0002\u0652\u0650\u0003\u0002\u0002\u0002\u0653\u0654", + "\u0007\u0004\u0002\u0002\u0654\u0655\u0007\u0004\u0002\u0002\u0655[", + "\u0003\u0002\u0002\u0002\u0656\u0663\u0005\u00c6d\u0002\u0657\u0658", + "\u0007\u0003\u0002\u0002\u0658\u065d\u0005\u00c6d\u0002\u0659\u065a", + "\u0007\u0006\u0002\u0002\u065a\u065c\u0005\u00c6d\u0002\u065b\u0659", + "\u0003\u0002\u0002\u0002\u065c\u065f\u0003\u0002\u0002\u0002\u065d\u065b", + "\u0003\u0002\u0002\u0002\u065d\u065e\u0003\u0002\u0002\u0002\u065e\u0660", + "\u0003\u0002\u0002\u0002\u065f\u065d\u0003\u0002\u0002\u0002\u0660\u0661", + "\u0007\u0004\u0002\u0002\u0661\u0663\u0003\u0002\u0002\u0002\u0662\u0656", + "\u0003\u0002\u0002\u0002\u0662\u0657\u0003\u0002\u0002\u0002\u0663]", + "\u0003\u0002\u0002\u0002\u0664\u0669\u0005\u008eH\u0002\u0665\u0667", + "\u0007\u0010\u0002\u0002\u0666\u0665\u0003\u0002\u0002\u0002\u0666\u0667", + "\u0003\u0002\u0002\u0002\u0667\u0668\u0003\u0002\u0002\u0002\u0668\u066a", + "\u0005\u00c6d\u0002\u0669\u0666\u0003\u0002\u0002\u0002\u0669\u066a", + "\u0003\u0002\u0002\u0002\u066a_\u0003\u0002\u0002\u0002\u066b\u066c", + "\u0007A\u0002\u0002\u066c\u066e\u0007T\u0002\u0002\u066d\u066f\u0007", + "8\u0002\u0002\u066e\u066d\u0003\u0002\u0002\u0002\u066e\u066f\u0003", + "\u0002\u0002\u0002\u066f\u0670\u0003\u0002\u0002\u0002\u0670\u0671\u0005", + "\u00c4c\u0002\u0671\u067a\u0007\u0003\u0002\u0002\u0672\u0677\u0005", + "\u008eH\u0002\u0673\u0674\u0007\u0006\u0002\u0002\u0674\u0676\u0005", + "\u008eH\u0002\u0675\u0673\u0003\u0002\u0002\u0002\u0676\u0679\u0003", + "\u0002\u0002\u0002\u0677\u0675\u0003\u0002\u0002\u0002\u0677\u0678\u0003", + "\u0002\u0002\u0002\u0678\u067b\u0003\u0002\u0002\u0002\u0679\u0677\u0003", + "\u0002\u0002\u0002\u067a\u0672\u0003\u0002\u0002\u0002\u067a\u067b\u0003", + "\u0002\u0002\u0002\u067b\u067c\u0003\u0002\u0002\u0002\u067c\u067d\u0007", + "\u0004\u0002\u0002\u067d\u0689\u0005\u00c6d\u0002\u067e\u0680\u0007", + "\u0010\u0002\u0002\u067f\u067e\u0003\u0002\u0002\u0002\u067f\u0680\u0003", + "\u0002\u0002\u0002\u0680\u0681\u0003\u0002\u0002\u0002\u0681\u0686\u0005", + "\u00c6d\u0002\u0682\u0683\u0007\u0006\u0002\u0002\u0683\u0685\u0005", + "\u00c6d\u0002\u0684\u0682\u0003\u0002\u0002\u0002\u0685\u0688\u0003", + "\u0002\u0002\u0002\u0686\u0684\u0003\u0002\u0002\u0002\u0686\u0687\u0003", + "\u0002\u0002\u0002\u0687\u068a\u0003\u0002\u0002\u0002\u0688\u0686\u0003", + "\u0002\u0002\u0002\u0689\u067f\u0003\u0002\u0002\u0002\u0689\u068a\u0003", + "\u0002\u0002\u0002\u068aa\u0003\u0002\u0002\u0002\u068b\u068c\t\r\u0002", + "\u0002\u068cc\u0003\u0002\u0002\u0002\u068d\u0691\u0005|?\u0002\u068e", + "\u0690\u0005f4\u0002\u068f\u068e\u0003\u0002\u0002\u0002\u0690\u0693", + "\u0003\u0002\u0002\u0002\u0691\u068f\u0003\u0002\u0002\u0002\u0691\u0692", + "\u0003\u0002\u0002\u0002\u0692e\u0003\u0002\u0002\u0002\u0693\u0691", + "\u0003\u0002\u0002\u0002\u0694\u0695\u0005h5\u0002\u0695\u0696\u0007", + "6\u0002\u0002\u0696\u0698\u0005|?\u0002\u0697\u0699\u0005j6\u0002\u0698", + "\u0697\u0003\u0002\u0002\u0002\u0698\u0699\u0003\u0002\u0002\u0002\u0699", + "\u06a0\u0003\u0002\u0002\u0002\u069a\u069b\u0007>\u0002\u0002\u069b", + "\u069c\u0005h5\u0002\u069c\u069d\u00076\u0002\u0002\u069d\u069e\u0005", + "|?\u0002\u069e\u06a0\u0003\u0002\u0002\u0002\u069f\u0694\u0003\u0002", + "\u0002\u0002\u069f\u069a\u0003\u0002\u0002\u0002\u06a0g\u0003\u0002", + "\u0002\u0002\u06a1\u06a3\u00079\u0002\u0002\u06a2\u06a1\u0003\u0002", + "\u0002\u0002\u06a2\u06a3\u0003\u0002\u0002\u0002\u06a3\u06b8\u0003\u0002", + "\u0002\u0002\u06a4\u06b8\u00077\u0002\u0002\u06a5\u06a7\u0007:\u0002", + "\u0002\u06a6\u06a8\u00078\u0002\u0002\u06a7\u06a6\u0003\u0002\u0002", + "\u0002\u06a7\u06a8\u0003\u0002\u0002\u0002\u06a8\u06b8\u0003\u0002\u0002", + "\u0002\u06a9\u06aa\u0007:\u0002\u0002\u06aa\u06b8\u0007;\u0002\u0002", + "\u06ab\u06ad\u0007<\u0002\u0002\u06ac\u06ae\u00078\u0002\u0002\u06ad", + "\u06ac\u0003\u0002\u0002\u0002\u06ad\u06ae\u0003\u0002\u0002\u0002\u06ae", + "\u06b8\u0003\u0002\u0002\u0002\u06af\u06b1\u0007=\u0002\u0002\u06b0", + "\u06b2\u00078\u0002\u0002\u06b1\u06b0\u0003\u0002\u0002\u0002\u06b1", + "\u06b2\u0003\u0002\u0002\u0002\u06b2\u06b8\u0003\u0002\u0002\u0002\u06b3", + "\u06b5\u0007:\u0002\u0002\u06b4\u06b3\u0003\u0002\u0002\u0002\u06b4", + "\u06b5\u0003\u0002\u0002\u0002\u06b5\u06b6\u0003\u0002\u0002\u0002\u06b6", + "\u06b8\u0007\u00ef\u0002\u0002\u06b7\u06a2\u0003\u0002\u0002\u0002\u06b7", + "\u06a4\u0003\u0002\u0002\u0002\u06b7\u06a5\u0003\u0002\u0002\u0002\u06b7", + "\u06a9\u0003\u0002\u0002\u0002\u06b7\u06ab\u0003\u0002\u0002\u0002\u06b7", + "\u06af\u0003\u0002\u0002\u0002\u06b7\u06b4\u0003\u0002\u0002\u0002\u06b8", + "i\u0003\u0002\u0002\u0002\u06b9\u06ba\u0007?\u0002\u0002\u06ba\u06be", + "\u0005\u0090I\u0002\u06bb\u06bc\u0007\u00a1\u0002\u0002\u06bc\u06be", + "\u0005p9\u0002\u06bd\u06b9\u0003\u0002\u0002\u0002\u06bd\u06bb\u0003", + "\u0002\u0002\u0002\u06bek\u0003\u0002\u0002\u0002\u06bf\u06c0\u0007", + "m\u0002\u0002\u06c0\u06c2\u0007\u0003\u0002\u0002\u06c1\u06c3\u0005", + "n8\u0002\u06c2\u06c1\u0003\u0002\u0002\u0002\u06c2\u06c3\u0003\u0002", + "\u0002\u0002\u06c3\u06c4\u0003\u0002\u0002\u0002\u06c4\u06c5\u0007\u0004", + "\u0002\u0002\u06c5m\u0003\u0002\u0002\u0002\u06c6\u06c8\u0007\u008d", + "\u0002\u0002\u06c7\u06c6\u0003\u0002\u0002\u0002\u06c7\u06c8\u0003\u0002", + "\u0002\u0002\u06c8\u06c9\u0003\u0002\u0002\u0002\u06c9\u06ca\t\u000e", + "\u0002\u0002\u06ca\u06df\u0007\u0097\u0002\u0002\u06cb\u06cc\u0005\u008e", + "H\u0002\u06cc\u06cd\u0007F\u0002\u0002\u06cd\u06df\u0003\u0002\u0002", + "\u0002\u06ce\u06cf\u0007\u0098\u0002\u0002\u06cf\u06d0\u0007\u00f7\u0002", + "\u0002\u06d0\u06d1\u0007\u0099\u0002\u0002\u06d1\u06d2\u0007\u009a\u0002", + "\u0002\u06d2\u06db\u0007\u00f7\u0002\u0002\u06d3\u06d9\u0007?\u0002", + "\u0002\u06d4\u06da\u0005\u00c6d\u0002\u06d5\u06d6\u0005\u00c4c\u0002", + "\u06d6\u06d7\u0007\u0003\u0002\u0002\u06d7\u06d8\u0007\u0004\u0002\u0002", + "\u06d8\u06da\u0003\u0002\u0002\u0002\u06d9\u06d4\u0003\u0002\u0002\u0002", + "\u06d9\u06d5\u0003\u0002\u0002\u0002\u06da\u06dc\u0003\u0002\u0002\u0002", + "\u06db\u06d3\u0003\u0002\u0002\u0002\u06db\u06dc\u0003\u0002\u0002\u0002", + "\u06dc\u06df\u0003\u0002\u0002\u0002\u06dd\u06df\u0005\u008eH\u0002", + "\u06de\u06c7\u0003\u0002\u0002\u0002\u06de\u06cb\u0003\u0002\u0002\u0002", + "\u06de\u06ce\u0003\u0002\u0002\u0002\u06de\u06dd\u0003\u0002\u0002\u0002", + "\u06dfo\u0003\u0002\u0002\u0002\u06e0\u06e1\u0007\u0003\u0002\u0002", + "\u06e1\u06e2\u0005r:\u0002\u06e2\u06e3\u0007\u0004\u0002\u0002\u06e3", + "q\u0003\u0002\u0002\u0002\u06e4\u06e9\u0005\u00c6d\u0002\u06e5\u06e6", + "\u0007\u0006\u0002\u0002\u06e6\u06e8\u0005\u00c6d\u0002\u06e7\u06e5", + "\u0003\u0002\u0002\u0002\u06e8\u06eb\u0003\u0002\u0002\u0002\u06e9\u06e7", + "\u0003\u0002\u0002\u0002\u06e9\u06ea\u0003\u0002\u0002\u0002\u06eas", + "\u0003\u0002\u0002\u0002\u06eb\u06e9\u0003\u0002\u0002\u0002\u06ec\u06ed", + "\u0007\u0003\u0002\u0002\u06ed\u06f2\u0005v<\u0002\u06ee\u06ef\u0007", + "\u0006\u0002\u0002\u06ef\u06f1\u0005v<\u0002\u06f0\u06ee\u0003\u0002", + "\u0002\u0002\u06f1\u06f4\u0003\u0002\u0002\u0002\u06f2\u06f0\u0003\u0002", + "\u0002\u0002\u06f2\u06f3\u0003\u0002\u0002\u0002\u06f3\u06f5\u0003\u0002", + "\u0002\u0002\u06f4\u06f2\u0003\u0002\u0002\u0002\u06f5\u06f6\u0007\u0004", + "\u0002\u0002\u06f6u\u0003\u0002\u0002\u0002\u06f7\u06f9\u0005\u00c6", + "d\u0002\u06f8\u06fa\t\u000b\u0002\u0002\u06f9\u06f8\u0003\u0002\u0002", + "\u0002\u06f9\u06fa\u0003\u0002\u0002\u0002\u06faw\u0003\u0002\u0002", + "\u0002\u06fb\u06fc\u0007\u0003\u0002\u0002\u06fc\u0701\u0005z>\u0002", + "\u06fd\u06fe\u0007\u0006\u0002\u0002\u06fe\u0700\u0005z>\u0002\u06ff", + "\u06fd\u0003\u0002\u0002\u0002\u0700\u0703\u0003\u0002\u0002\u0002\u0701", + "\u06ff\u0003\u0002\u0002\u0002\u0701\u0702\u0003\u0002\u0002\u0002\u0702", + "\u0704\u0003\u0002\u0002\u0002\u0703\u0701\u0003\u0002\u0002\u0002\u0704", + "\u0705\u0007\u0004\u0002\u0002\u0705y\u0003\u0002\u0002\u0002\u0706", + "\u0709\u0005\u00c6d\u0002\u0707\u0708\u0007t\u0002\u0002\u0708\u070a", + "\u0007\u00f3\u0002\u0002\u0709\u0707\u0003\u0002\u0002\u0002\u0709\u070a", + "\u0003\u0002\u0002\u0002\u070a{\u0003\u0002\u0002\u0002\u070b\u070d", + "\u0005\u0086D\u0002\u070c\u070e\u0005l7\u0002\u070d\u070c\u0003\u0002", + "\u0002\u0002\u070d\u070e\u0003\u0002\u0002\u0002\u070e\u070f\u0003\u0002", + "\u0002\u0002\u070f\u0710\u0005\u0082B\u0002\u0710\u0724\u0003\u0002", + "\u0002\u0002\u0711\u0712\u0007\u0003\u0002\u0002\u0712\u0713\u0005B", + "\"\u0002\u0713\u0715\u0007\u0004\u0002\u0002\u0714\u0716\u0005l7\u0002", + "\u0715\u0714\u0003\u0002\u0002\u0002\u0715\u0716\u0003\u0002\u0002\u0002", + "\u0716\u0717\u0003\u0002\u0002\u0002\u0717\u0718\u0005\u0082B\u0002", + "\u0718\u0724\u0003\u0002\u0002\u0002\u0719\u071a\u0007\u0003\u0002\u0002", + "\u071a\u071b\u0005d3\u0002\u071b\u071d\u0007\u0004\u0002\u0002\u071c", + "\u071e\u0005l7\u0002\u071d\u071c\u0003\u0002\u0002\u0002\u071d\u071e", + "\u0003\u0002\u0002\u0002\u071e\u071f\u0003\u0002\u0002\u0002\u071f\u0720", + "\u0005\u0082B\u0002\u0720\u0724\u0003\u0002\u0002\u0002\u0721\u0724", + "\u0005~@\u0002\u0722\u0724\u0005\u0080A\u0002\u0723\u070b\u0003\u0002", + "\u0002\u0002\u0723\u0711\u0003\u0002\u0002\u0002\u0723\u0719\u0003\u0002", + "\u0002\u0002\u0723\u0721\u0003\u0002\u0002\u0002\u0723\u0722\u0003\u0002", + "\u0002\u0002\u0724}\u0003\u0002\u0002\u0002\u0725\u0726\u0007P\u0002", + "\u0002\u0726\u072b\u0005\u008eH\u0002\u0727\u0728\u0007\u0006\u0002", + "\u0002\u0728\u072a\u0005\u008eH\u0002\u0729\u0727\u0003\u0002\u0002", + "\u0002\u072a\u072d\u0003\u0002\u0002\u0002\u072b\u0729\u0003\u0002\u0002", + "\u0002\u072b\u072c\u0003\u0002\u0002\u0002\u072c\u072e\u0003\u0002\u0002", + "\u0002\u072d\u072b\u0003\u0002\u0002\u0002\u072e\u072f\u0005\u0082B", + "\u0002\u072f\u007f\u0003\u0002\u0002\u0002\u0730\u0731\u0005\u00c6d", + "\u0002\u0731\u073a\u0007\u0003\u0002\u0002\u0732\u0737\u0005\u008eH", + "\u0002\u0733\u0734\u0007\u0006\u0002\u0002\u0734\u0736\u0005\u008eH", + "\u0002\u0735\u0733\u0003\u0002\u0002\u0002\u0736\u0739\u0003\u0002\u0002", + "\u0002\u0737\u0735\u0003\u0002\u0002\u0002\u0737\u0738\u0003\u0002\u0002", + "\u0002\u0738\u073b\u0003\u0002\u0002\u0002\u0739\u0737\u0003\u0002\u0002", + "\u0002\u073a\u0732\u0003\u0002\u0002\u0002\u073a\u073b\u0003\u0002\u0002", + "\u0002\u073b\u073c\u0003\u0002\u0002\u0002\u073c\u073d\u0007\u0004\u0002", + "\u0002\u073d\u073e\u0005\u0082B\u0002\u073e\u0081\u0003\u0002\u0002", + "\u0002\u073f\u0741\u0007\u0010\u0002\u0002\u0740\u073f\u0003\u0002\u0002", + "\u0002\u0740\u0741\u0003\u0002\u0002\u0002\u0741\u0742\u0003\u0002\u0002", + "\u0002\u0742\u0744\u0005\u00c8e\u0002\u0743\u0745\u0005p9\u0002\u0744", + "\u0743\u0003\u0002\u0002\u0002\u0744\u0745\u0003\u0002\u0002\u0002\u0745", + "\u0747\u0003\u0002\u0002\u0002\u0746\u0740\u0003\u0002\u0002\u0002\u0746", + "\u0747\u0003\u0002\u0002\u0002\u0747\u0083\u0003\u0002\u0002\u0002\u0748", + "\u0749\u0007N\u0002\u0002\u0749\u074a\u0007[\u0002\u0002\u074a\u074b", + "\u0007\u00a2\u0002\u0002\u074b\u074f\u0007\u00f3\u0002\u0002\u074c\u074d", + "\u0007O\u0002\u0002\u074d\u074e\u0007\u00a3\u0002\u0002\u074e\u0750", + "\u0005.\u0018\u0002\u074f\u074c\u0003\u0002\u0002\u0002\u074f\u0750", + "\u0003\u0002\u0002\u0002\u0750\u077a\u0003\u0002\u0002\u0002\u0751\u0752", + "\u0007N\u0002\u0002\u0752\u0753\u0007[\u0002\u0002\u0753\u075d\u0007", + "\u00a6\u0002\u0002\u0754\u0755\u0007\u00a7\u0002\u0002\u0755\u0756\u0007", + "\u00a8\u0002\u0002\u0756\u0757\u0007\u0016\u0002\u0002\u0757\u075b\u0007", + "\u00f3\u0002\u0002\u0758\u0759\u0007\u00ac\u0002\u0002\u0759\u075a\u0007", + "\u0016\u0002\u0002\u075a\u075c\u0007\u00f3\u0002\u0002\u075b\u0758\u0003", + "\u0002\u0002\u0002\u075b\u075c\u0003\u0002\u0002\u0002\u075c\u075e\u0003", + "\u0002\u0002\u0002\u075d\u0754\u0003\u0002\u0002\u0002\u075d\u075e\u0003", + "\u0002\u0002\u0002\u075e\u0764\u0003\u0002\u0002\u0002\u075f\u0760\u0007", + "\u00a9\u0002\u0002\u0760\u0761\u0007\u00aa\u0002\u0002\u0761\u0762\u0007", + "\u00a8\u0002\u0002\u0762\u0763\u0007\u0016\u0002\u0002\u0763\u0765\u0007", + "\u00f3\u0002\u0002\u0764\u075f\u0003\u0002\u0002\u0002\u0764\u0765\u0003", + "\u0002\u0002\u0002\u0765\u076b\u0003\u0002\u0002\u0002\u0766\u0767\u0007", + "r\u0002\u0002\u0767\u0768\u0007\u00ab\u0002\u0002\u0768\u0769\u0007", + "\u00a8\u0002\u0002\u0769\u076a\u0007\u0016\u0002\u0002\u076a\u076c\u0007", + "\u00f3\u0002\u0002\u076b\u0766\u0003\u0002\u0002\u0002\u076b\u076c\u0003", + "\u0002\u0002\u0002\u076c\u0771\u0003\u0002\u0002\u0002\u076d\u076e\u0007", + "\u00ad\u0002\u0002\u076e\u076f\u0007\u00a8\u0002\u0002\u076f\u0770\u0007", + "\u0016\u0002\u0002\u0770\u0772\u0007\u00f3\u0002\u0002\u0771\u076d\u0003", + "\u0002\u0002\u0002\u0771\u0772\u0003\u0002\u0002\u0002\u0772\u0777\u0003", + "\u0002\u0002\u0002\u0773\u0774\u0007)\u0002\u0002\u0774\u0775\u0007", + "\u00db\u0002\u0002\u0775\u0776\u0007\u0010\u0002\u0002\u0776\u0778\u0007", + "\u00f3\u0002\u0002\u0777\u0773\u0003\u0002\u0002\u0002\u0777\u0778\u0003", + "\u0002\u0002\u0002\u0778\u077a\u0003\u0002\u0002\u0002\u0779\u0748\u0003", + "\u0002\u0002\u0002\u0779\u0751\u0003\u0002\u0002\u0002\u077a\u0085\u0003", + "\u0002\u0002\u0002\u077b\u077c\u0005\u00c6d\u0002\u077c\u077d\u0007", + "\u0005\u0002\u0002\u077d\u077f\u0003\u0002\u0002\u0002\u077e\u077b\u0003", + "\u0002\u0002\u0002\u077e\u077f\u0003\u0002\u0002\u0002\u077f\u0780\u0003", + "\u0002\u0002\u0002\u0780\u0781\u0005\u00c6d\u0002\u0781\u0087\u0003", + "\u0002\u0002\u0002\u0782\u0783\u0005\u00c6d\u0002\u0783\u0784\u0007", + "\u0005\u0002\u0002\u0784\u0786\u0003\u0002\u0002\u0002\u0785\u0782\u0003", + "\u0002\u0002\u0002\u0785\u0786\u0003\u0002\u0002\u0002\u0786\u0787\u0003", + "\u0002\u0002\u0002\u0787\u0788\u0005\u00c6d\u0002\u0788\u0089\u0003", + "\u0002\u0002\u0002\u0789\u0791\u0005\u008eH\u0002\u078a\u078c\u0007", + "\u0010\u0002\u0002\u078b\u078a\u0003\u0002\u0002\u0002\u078b\u078c\u0003", + "\u0002\u0002\u0002\u078c\u078f\u0003\u0002\u0002\u0002\u078d\u0790\u0005", + "\u00c6d\u0002\u078e\u0790\u0005p9\u0002\u078f\u078d\u0003\u0002\u0002", + "\u0002\u078f\u078e\u0003\u0002\u0002\u0002\u0790\u0792\u0003\u0002\u0002", + "\u0002\u0791\u078b\u0003\u0002\u0002\u0002\u0791\u0792\u0003\u0002\u0002", + "\u0002\u0792\u008b\u0003\u0002\u0002\u0002\u0793\u0798\u0005\u008aF", + "\u0002\u0794\u0795\u0007\u0006\u0002\u0002\u0795\u0797\u0005\u008aF", + "\u0002\u0796\u0794\u0003\u0002\u0002\u0002\u0797\u079a\u0003\u0002\u0002", + "\u0002\u0798\u0796\u0003\u0002\u0002\u0002\u0798\u0799\u0003\u0002\u0002", + "\u0002\u0799\u008d\u0003\u0002\u0002\u0002\u079a\u0798\u0003\u0002\u0002", + "\u0002\u079b\u079c\u0005\u0090I\u0002\u079c\u008f\u0003\u0002\u0002", + "\u0002\u079d\u079e\bI\u0001\u0002\u079e\u079f\u0007\"\u0002\u0002\u079f", + "\u07aa\u0005\u0090I\u0007\u07a0\u07a1\u0007$\u0002\u0002\u07a1\u07a2", + "\u0007\u0003\u0002\u0002\u07a2\u07a3\u0005\u001a\u000e\u0002\u07a3\u07a4", + "\u0007\u0004\u0002\u0002\u07a4\u07aa\u0003\u0002\u0002\u0002\u07a5\u07a7", + "\u0005\u0094K\u0002\u07a6\u07a8\u0005\u0092J\u0002\u07a7\u07a6\u0003", + "\u0002\u0002\u0002\u07a7\u07a8\u0003\u0002\u0002\u0002\u07a8\u07aa\u0003", + "\u0002\u0002\u0002\u07a9\u079d\u0003\u0002\u0002\u0002\u07a9\u07a0\u0003", + "\u0002\u0002\u0002\u07a9\u07a5\u0003\u0002\u0002\u0002\u07aa\u07b3\u0003", + "\u0002\u0002\u0002\u07ab\u07ac\f\u0004\u0002\u0002\u07ac\u07ad\u0007", + " \u0002\u0002\u07ad\u07b2\u0005\u0090I\u0005\u07ae\u07af\f\u0003\u0002", + "\u0002\u07af\u07b0\u0007\u001f\u0002\u0002\u07b0\u07b2\u0005\u0090I", + "\u0004\u07b1\u07ab\u0003\u0002\u0002\u0002\u07b1\u07ae\u0003\u0002\u0002", + "\u0002\u07b2\u07b5\u0003\u0002\u0002\u0002\u07b3\u07b1\u0003\u0002\u0002", + "\u0002\u07b3\u07b4\u0003\u0002\u0002\u0002\u07b4\u0091\u0003\u0002\u0002", + "\u0002\u07b5\u07b3\u0003\u0002\u0002\u0002\u07b6\u07b8\u0007\"\u0002", + "\u0002\u07b7\u07b6\u0003\u0002\u0002\u0002\u07b7\u07b8\u0003\u0002\u0002", + "\u0002\u07b8\u07b9\u0003\u0002\u0002\u0002\u07b9\u07ba\u0007%\u0002", + "\u0002\u07ba\u07bb\u0005\u0094K\u0002\u07bb\u07bc\u0007 \u0002\u0002", + "\u07bc\u07bd\u0005\u0094K\u0002\u07bd\u07e7\u0003\u0002\u0002\u0002", + "\u07be\u07c0\u0007\"\u0002\u0002\u07bf\u07be\u0003\u0002\u0002\u0002", + "\u07bf\u07c0\u0003\u0002\u0002\u0002\u07c0\u07c1\u0003\u0002\u0002\u0002", + "\u07c1\u07c2\u0007!\u0002\u0002\u07c2\u07c3\u0007\u0003\u0002\u0002", + "\u07c3\u07c8\u0005\u008eH\u0002\u07c4\u07c5\u0007\u0006\u0002\u0002", + "\u07c5\u07c7\u0005\u008eH\u0002\u07c6\u07c4\u0003\u0002\u0002\u0002", + "\u07c7\u07ca\u0003\u0002\u0002\u0002\u07c8\u07c6\u0003\u0002\u0002\u0002", + "\u07c8\u07c9\u0003\u0002\u0002\u0002\u07c9\u07cb\u0003\u0002\u0002\u0002", + "\u07ca\u07c8\u0003\u0002\u0002\u0002\u07cb\u07cc\u0007\u0004\u0002\u0002", + "\u07cc\u07e7\u0003\u0002\u0002\u0002\u07cd\u07cf\u0007\"\u0002\u0002", + "\u07ce\u07cd\u0003\u0002\u0002\u0002\u07ce\u07cf\u0003\u0002\u0002\u0002", + "\u07cf\u07d0\u0003\u0002\u0002\u0002\u07d0\u07d1\u0007!\u0002\u0002", + "\u07d1\u07d2\u0007\u0003\u0002\u0002\u07d2\u07d3\u0005\u001a\u000e\u0002", + "\u07d3\u07d4\u0007\u0004\u0002\u0002\u07d4\u07e7\u0003\u0002\u0002\u0002", + "\u07d5\u07d7\u0007\"\u0002\u0002\u07d6\u07d5\u0003\u0002\u0002\u0002", + "\u07d6\u07d7\u0003\u0002\u0002\u0002\u07d7\u07d8\u0003\u0002\u0002\u0002", + "\u07d8\u07d9\t\u000f\u0002\u0002\u07d9\u07e7\u0005\u0094K\u0002\u07da", + "\u07dc\u0007(\u0002\u0002\u07db\u07dd\u0007\"\u0002\u0002\u07dc\u07db", + "\u0003\u0002\u0002\u0002\u07dc\u07dd\u0003\u0002\u0002\u0002\u07dd\u07de", + "\u0003\u0002\u0002\u0002\u07de\u07e7\u0007)\u0002\u0002\u07df\u07e1", + "\u0007(\u0002\u0002\u07e0\u07e2\u0007\"\u0002\u0002\u07e1\u07e0\u0003", + "\u0002\u0002\u0002\u07e1\u07e2\u0003\u0002\u0002\u0002\u07e2\u07e3\u0003", + "\u0002\u0002\u0002\u07e3\u07e4\u0007\u0013\u0002\u0002\u07e4\u07e5\u0007", + "\u000e\u0002\u0002\u07e5\u07e7\u0005\u0094K\u0002\u07e6\u07b7\u0003", + "\u0002\u0002\u0002\u07e6\u07bf\u0003\u0002\u0002\u0002\u07e6\u07ce\u0003", + "\u0002\u0002\u0002\u07e6\u07d6\u0003\u0002\u0002\u0002\u07e6\u07da\u0003", + "\u0002\u0002\u0002\u07e6\u07df\u0003\u0002\u0002\u0002\u07e7\u0093\u0003", + "\u0002\u0002\u0002\u07e8\u07e9\bK\u0001\u0002\u07e9\u07ed\u0005\u0096", + "L\u0002\u07ea\u07eb\t\u0010\u0002\u0002\u07eb\u07ed\u0005\u0094K\t\u07ec", + "\u07e8\u0003\u0002\u0002\u0002\u07ec\u07ea\u0003\u0002\u0002\u0002\u07ed", + "\u0803\u0003\u0002\u0002\u0002\u07ee\u07ef\f\b\u0002\u0002\u07ef\u07f0", + "\t\u0011\u0002\u0002\u07f0\u0802\u0005\u0094K\t\u07f1\u07f2\f\u0007", + "\u0002\u0002\u07f2\u07f3\t\u0012\u0002\u0002\u07f3\u0802\u0005\u0094", + "K\b\u07f4\u07f5\f\u0006\u0002\u0002\u07f5\u07f6\u0007\u0093\u0002\u0002", + "\u07f6\u0802\u0005\u0094K\u0007\u07f7\u07f8\f\u0005\u0002\u0002\u07f8", + "\u07f9\u0007\u0096\u0002\u0002\u07f9\u0802\u0005\u0094K\u0006\u07fa", + "\u07fb\f\u0004\u0002\u0002\u07fb\u07fc\u0007\u0094\u0002\u0002\u07fc", + "\u0802\u0005\u0094K\u0005\u07fd\u07fe\f\u0003\u0002\u0002\u07fe\u07ff", + "\u0005\u009aN\u0002\u07ff\u0800\u0005\u0094K\u0004\u0800\u0802\u0003", + "\u0002\u0002\u0002\u0801\u07ee\u0003\u0002\u0002\u0002\u0801\u07f1\u0003", + "\u0002\u0002\u0002\u0801\u07f4\u0003\u0002\u0002\u0002\u0801\u07f7\u0003", + "\u0002\u0002\u0002\u0801\u07fa\u0003\u0002\u0002\u0002\u0801\u07fd\u0003", + "\u0002\u0002\u0002\u0802\u0805\u0003\u0002\u0002\u0002\u0803\u0801\u0003", + "\u0002\u0002\u0002\u0803\u0804\u0003\u0002\u0002\u0002\u0804\u0095\u0003", + "\u0002\u0002\u0002\u0805\u0803\u0003\u0002\u0002\u0002\u0806\u0807\b", + "L\u0001\u0002\u0807\u0809\u00071\u0002\u0002\u0808\u080a\u0005\u00b8", + "]\u0002\u0809\u0808\u0003\u0002\u0002\u0002\u080a\u080b\u0003\u0002", + "\u0002\u0002\u080b\u0809\u0003\u0002\u0002\u0002\u080b\u080c\u0003\u0002", + "\u0002\u0002\u080c\u080f\u0003\u0002\u0002\u0002\u080d\u080e\u00074", + "\u0002\u0002\u080e\u0810\u0005\u008eH\u0002\u080f\u080d\u0003\u0002", + "\u0002\u0002\u080f\u0810\u0003\u0002\u0002\u0002\u0810\u0811\u0003\u0002", + "\u0002\u0002\u0811\u0812\u00075\u0002\u0002\u0812\u0898\u0003\u0002", + "\u0002\u0002\u0813\u0814\u00071\u0002\u0002\u0814\u0816\u0005\u008e", + "H\u0002\u0815\u0817\u0005\u00b8]\u0002\u0816\u0815\u0003\u0002\u0002", + "\u0002\u0817\u0818\u0003\u0002\u0002\u0002\u0818\u0816\u0003\u0002\u0002", + "\u0002\u0818\u0819\u0003\u0002\u0002\u0002\u0819\u081c\u0003\u0002\u0002", + "\u0002\u081a\u081b\u00074\u0002\u0002\u081b\u081d\u0005\u008eH\u0002", + "\u081c\u081a\u0003\u0002\u0002\u0002\u081c\u081d\u0003\u0002\u0002\u0002", + "\u081d\u081e\u0003\u0002\u0002\u0002\u081e\u081f\u00075\u0002\u0002", + "\u081f\u0898\u0003\u0002\u0002\u0002\u0820\u0821\u0007_\u0002\u0002", + "\u0821\u0822\u0007\u0003\u0002\u0002\u0822\u0823\u0005\u008eH\u0002", + "\u0823\u0824\u0007\u0010\u0002\u0002\u0824\u0825\u0005\u00aaV\u0002", + "\u0825\u0826\u0007\u0004\u0002\u0002\u0826\u0898\u0003\u0002\u0002\u0002", + "\u0827\u0828\u0007s\u0002\u0002\u0828\u0831\u0007\u0003\u0002\u0002", + "\u0829\u082e\u0005\u008aF\u0002\u082a\u082b\u0007\u0006\u0002\u0002", + "\u082b\u082d\u0005\u008aF\u0002\u082c\u082a\u0003\u0002\u0002\u0002", + "\u082d\u0830\u0003\u0002\u0002\u0002\u082e\u082c\u0003\u0002\u0002\u0002", + "\u082e\u082f\u0003\u0002\u0002\u0002\u082f\u0832\u0003\u0002\u0002\u0002", + "\u0830\u082e\u0003\u0002\u0002\u0002\u0831\u0829\u0003\u0002\u0002\u0002", + "\u0831\u0832\u0003\u0002\u0002\u0002\u0832\u0833\u0003\u0002\u0002\u0002", + "\u0833\u0898\u0007\u0004\u0002\u0002\u0834\u0835\u0007K\u0002\u0002", + "\u0835\u0836\u0007\u0003\u0002\u0002\u0836\u0839\u0005\u008eH\u0002", + "\u0837\u0838\u0007}\u0002\u0002\u0838\u083a\u0007,\u0002\u0002\u0839", + "\u0837\u0003\u0002\u0002\u0002\u0839\u083a\u0003\u0002\u0002\u0002\u083a", + "\u083b\u0003\u0002\u0002\u0002\u083b\u083c\u0007\u0004\u0002\u0002\u083c", + "\u0898\u0003\u0002\u0002\u0002\u083d\u083e\u0007M\u0002\u0002\u083e", + "\u083f\u0007\u0003\u0002\u0002\u083f\u0842\u0005\u008eH\u0002\u0840", + "\u0841\u0007}\u0002\u0002\u0841\u0843\u0007,\u0002\u0002\u0842\u0840", + "\u0003\u0002\u0002\u0002\u0842\u0843\u0003\u0002\u0002\u0002\u0843\u0844", + "\u0003\u0002\u0002\u0002\u0844\u0845\u0007\u0004\u0002\u0002\u0845\u0898", + "\u0003\u0002\u0002\u0002\u0846\u0847\u0007\u0082\u0002\u0002\u0847\u0848", + "\u0007\u0003\u0002\u0002\u0848\u0849\u0005\u0094K\u0002\u0849\u084a", + "\u0007!\u0002\u0002\u084a\u084b\u0005\u0094K\u0002\u084b\u084c\u0007", + "\u0004\u0002\u0002\u084c\u0898\u0003\u0002\u0002\u0002\u084d\u0898\u0005", + "\u0098M\u0002\u084e\u0898\u0007\u008e\u0002\u0002\u084f\u0850\u0005", + "\u00c4c\u0002\u0850\u0851\u0007\u0005\u0002\u0002\u0851\u0852\u0007", + "\u008e\u0002\u0002\u0852\u0898\u0003\u0002\u0002\u0002\u0853\u0854\u0007", + "\u0003\u0002\u0002\u0854\u0857\u0005\u008aF\u0002\u0855\u0856\u0007", + "\u0006\u0002\u0002\u0856\u0858\u0005\u008aF\u0002\u0857\u0855\u0003", + "\u0002\u0002\u0002\u0858\u0859\u0003\u0002\u0002\u0002\u0859\u0857\u0003", + "\u0002\u0002\u0002\u0859\u085a\u0003\u0002\u0002\u0002\u085a\u085b\u0003", + "\u0002\u0002\u0002\u085b\u085c\u0007\u0004\u0002\u0002\u085c\u0898\u0003", + "\u0002\u0002\u0002\u085d\u085e\u0007\u0003\u0002\u0002\u085e\u085f\u0005", + "\u001a\u000e\u0002\u085f\u0860\u0007\u0004\u0002\u0002\u0860\u0898\u0003", + "\u0002\u0002\u0002\u0861\u0862\u0005\u00c4c\u0002\u0862\u086e\u0007", + "\u0003\u0002\u0002\u0863\u0865\u0005b2\u0002\u0864\u0863\u0003\u0002", + "\u0002\u0002\u0864\u0865\u0003\u0002\u0002\u0002\u0865\u0866\u0003\u0002", + "\u0002\u0002\u0866\u086b\u0005\u008eH\u0002\u0867\u0868\u0007\u0006", + "\u0002\u0002\u0868\u086a\u0005\u008eH\u0002\u0869\u0867\u0003\u0002", + "\u0002\u0002\u086a\u086d\u0003\u0002\u0002\u0002\u086b\u0869\u0003\u0002", + "\u0002\u0002\u086b\u086c\u0003\u0002\u0002\u0002\u086c\u086f\u0003\u0002", + "\u0002\u0002\u086d\u086b\u0003\u0002\u0002\u0002\u086e\u0864\u0003\u0002", + "\u0002\u0002\u086e\u086f\u0003\u0002\u0002\u0002\u086f\u0870\u0003\u0002", + "\u0002\u0002\u0870\u0873\u0007\u0004\u0002\u0002\u0871\u0872\u0007C", + "\u0002\u0002\u0872\u0874\u0005\u00be`\u0002\u0873\u0871\u0003\u0002", + "\u0002\u0002\u0873\u0874\u0003\u0002\u0002\u0002\u0874\u0898\u0003\u0002", + "\u0002\u0002\u0875\u0876\u0005\u00c4c\u0002\u0876\u0877\u0007\u0003", + "\u0002\u0002\u0877\u0878\t\u0013\u0002\u0002\u0878\u0879\u0005\u008e", + "H\u0002\u0879\u087a\u0007\u000e\u0002\u0002\u087a\u087b\u0005\u008e", + "H\u0002\u087b\u087c\u0007\u0004\u0002\u0002\u087c\u0898\u0003\u0002", + "\u0002\u0002\u087d\u087e\u0007\u00fb\u0002\u0002\u087e\u087f\u0007\t", + "\u0002\u0002\u087f\u0898\u0005\u008eH\u0002\u0880\u0881\u0007\u0003", + "\u0002\u0002\u0881\u0884\u0007\u00fb\u0002\u0002\u0882\u0883\u0007\u0006", + "\u0002\u0002\u0883\u0885\u0007\u00fb\u0002\u0002\u0884\u0882\u0003\u0002", + "\u0002\u0002\u0885\u0886\u0003\u0002\u0002\u0002\u0886\u0884\u0003\u0002", + "\u0002\u0002\u0886\u0887\u0003\u0002\u0002\u0002\u0887\u0888\u0003\u0002", + "\u0002\u0002\u0888\u0889\u0007\u0004\u0002\u0002\u0889\u088a\u0007\t", + "\u0002\u0002\u088a\u0898\u0005\u008eH\u0002\u088b\u0898\u0005\u00c6", + "d\u0002\u088c\u088d\u0007\u0003\u0002\u0002\u088d\u088e\u0005\u008e", + "H\u0002\u088e\u088f\u0007\u0004\u0002\u0002\u088f\u0898\u0003\u0002", + "\u0002\u0002\u0890\u0891\u0007\u0083\u0002\u0002\u0891\u0892\u0007\u0003", + "\u0002\u0002\u0892\u0893\u0005\u00c6d\u0002\u0893\u0894\u0007\u000e", + "\u0002\u0002\u0894\u0895\u0005\u0094K\u0002\u0895\u0896\u0007\u0004", + "\u0002\u0002\u0896\u0898\u0003\u0002\u0002\u0002\u0897\u0806\u0003\u0002", + "\u0002\u0002\u0897\u0813\u0003\u0002\u0002\u0002\u0897\u0820\u0003\u0002", + "\u0002\u0002\u0897\u0827\u0003\u0002\u0002\u0002\u0897\u0834\u0003\u0002", + "\u0002\u0002\u0897\u083d\u0003\u0002\u0002\u0002\u0897\u0846\u0003\u0002", + "\u0002\u0002\u0897\u084d\u0003\u0002\u0002\u0002\u0897\u084e\u0003\u0002", + "\u0002\u0002\u0897\u084f\u0003\u0002\u0002\u0002\u0897\u0853\u0003\u0002", + "\u0002\u0002\u0897\u085d\u0003\u0002\u0002\u0002\u0897\u0861\u0003\u0002", + "\u0002\u0002\u0897\u0875\u0003\u0002\u0002\u0002\u0897\u087d\u0003\u0002", + "\u0002\u0002\u0897\u0880\u0003\u0002\u0002\u0002\u0897\u088b\u0003\u0002", + "\u0002\u0002\u0897\u088c\u0003\u0002\u0002\u0002\u0897\u0890\u0003\u0002", + "\u0002\u0002\u0898\u08a3\u0003\u0002\u0002\u0002\u0899\u089a\f\u0007", + "\u0002\u0002\u089a\u089b\u0007\n\u0002\u0002\u089b\u089c\u0005\u0094", + "K\u0002\u089c\u089d\u0007\u000b\u0002\u0002\u089d\u08a2\u0003\u0002", + "\u0002\u0002\u089e\u089f\f\u0005\u0002\u0002\u089f\u08a0\u0007\u0005", + "\u0002\u0002\u08a0\u08a2\u0005\u00c6d\u0002\u08a1\u0899\u0003\u0002", + "\u0002\u0002\u08a1\u089e\u0003\u0002\u0002\u0002\u08a2\u08a5\u0003\u0002", + "\u0002\u0002\u08a3\u08a1\u0003\u0002\u0002\u0002\u08a3\u08a4\u0003\u0002", + "\u0002\u0002\u08a4\u0097\u0003\u0002\u0002\u0002\u08a5\u08a3\u0003\u0002", + "\u0002\u0002\u08a6\u08b3\u0007)\u0002\u0002\u08a7\u08b3\u0005\u00a2", + "R\u0002\u08a8\u08a9\u0005\u00c6d\u0002\u08a9\u08aa\u0007\u00f3\u0002", + "\u0002\u08aa\u08b3\u0003\u0002\u0002\u0002\u08ab\u08b3\u0005\u00ccg", + "\u0002\u08ac\u08b3\u0005\u00a0Q\u0002\u08ad\u08af\u0007\u00f3\u0002", + "\u0002\u08ae\u08ad\u0003\u0002\u0002\u0002\u08af\u08b0\u0003\u0002\u0002", + "\u0002\u08b0\u08ae\u0003\u0002\u0002\u0002\u08b0\u08b1\u0003\u0002\u0002", + "\u0002\u08b1\u08b3\u0003\u0002\u0002\u0002\u08b2\u08a6\u0003\u0002\u0002", + "\u0002\u08b2\u08a7\u0003\u0002\u0002\u0002\u08b2\u08a8\u0003\u0002\u0002", + "\u0002\u08b2\u08ab\u0003\u0002\u0002\u0002\u08b2\u08ac\u0003\u0002\u0002", + "\u0002\u08b2\u08ae\u0003\u0002\u0002\u0002\u08b3\u0099\u0003\u0002\u0002", + "\u0002\u08b4\u08b5\t\u0014\u0002\u0002\u08b5\u009b\u0003\u0002\u0002", + "\u0002\u08b6\u08b7\t\u0015\u0002\u0002\u08b7\u009d\u0003\u0002\u0002", + "\u0002\u08b8\u08b9\t\u0016\u0002\u0002\u08b9\u009f\u0003\u0002\u0002", + "\u0002\u08ba\u08bb\t\u0017\u0002\u0002\u08bb\u00a1\u0003\u0002\u0002", + "\u0002\u08bc\u08c0\u00070\u0002\u0002\u08bd\u08bf\u0005\u00a4S\u0002", + "\u08be\u08bd\u0003\u0002\u0002\u0002\u08bf\u08c2\u0003\u0002\u0002\u0002", + "\u08c0\u08be\u0003\u0002\u0002\u0002\u08c0\u08c1\u0003\u0002\u0002\u0002", + "\u08c1\u00a3\u0003\u0002\u0002\u0002\u08c2\u08c0\u0003\u0002\u0002\u0002", + "\u08c3\u08c4\u0005\u00a6T\u0002\u08c4\u08c7\u0005\u00c6d\u0002\u08c5", + "\u08c6\u0007l\u0002\u0002\u08c6\u08c8\u0005\u00c6d\u0002\u08c7\u08c5", + "\u0003\u0002\u0002\u0002\u08c7\u08c8\u0003\u0002\u0002\u0002\u08c8\u00a5", + "\u0003\u0002\u0002\u0002\u08c9\u08cb\t\u0018\u0002\u0002\u08ca\u08c9", + "\u0003\u0002\u0002\u0002\u08ca\u08cb\u0003\u0002\u0002\u0002\u08cb\u08cc", + "\u0003\u0002\u0002\u0002\u08cc\u08cf\t\u000e\u0002\u0002\u08cd\u08cf", + "\u0007\u00f3\u0002\u0002\u08ce\u08ca\u0003\u0002\u0002\u0002\u08ce\u08cd", + "\u0003\u0002\u0002\u0002\u08cf\u00a7\u0003\u0002\u0002\u0002\u08d0\u08d4", + "\u0007K\u0002\u0002\u08d1\u08d2\u0007L\u0002\u0002\u08d2\u08d4\u0005", + "\u00c6d\u0002\u08d3\u08d0\u0003\u0002\u0002\u0002\u08d3\u08d1\u0003", + "\u0002\u0002\u0002\u08d4\u00a9\u0003\u0002\u0002\u0002\u08d5\u08d6\u0007", + "q\u0002\u0002\u08d6\u08d7\u0007\u0088\u0002\u0002\u08d7\u08d8\u0005", + "\u00aaV\u0002\u08d8\u08d9\u0007\u008a\u0002\u0002\u08d9\u08f8\u0003", + "\u0002\u0002\u0002\u08da\u08db\u0007r\u0002\u0002\u08db\u08dc\u0007", + "\u0088\u0002\u0002\u08dc\u08dd\u0005\u00aaV\u0002\u08dd\u08de\u0007", + "\u0006\u0002\u0002\u08de\u08df\u0005\u00aaV\u0002\u08df\u08e0\u0007", + "\u008a\u0002\u0002\u08e0\u08f8\u0003\u0002\u0002\u0002\u08e1\u08e8\u0007", + "s\u0002\u0002\u08e2\u08e4\u0007\u0088\u0002\u0002\u08e3\u08e5\u0005", + "\u00b4[\u0002\u08e4\u08e3\u0003\u0002\u0002\u0002\u08e4\u08e5\u0003", + "\u0002\u0002\u0002\u08e5\u08e6\u0003\u0002\u0002\u0002\u08e6\u08e9\u0007", + "\u008a\u0002\u0002\u08e7\u08e9\u0007\u0086\u0002\u0002\u08e8\u08e2\u0003", + "\u0002\u0002\u0002\u08e8\u08e7\u0003\u0002\u0002\u0002\u08e9\u08f8\u0003", + "\u0002\u0002\u0002\u08ea\u08f5\u0005\u00c6d\u0002\u08eb\u08ec\u0007", + "\u0003\u0002\u0002\u08ec\u08f1\u0007\u00f7\u0002\u0002\u08ed\u08ee\u0007", + "\u0006\u0002\u0002\u08ee\u08f0\u0007\u00f7\u0002\u0002\u08ef\u08ed\u0003", + "\u0002\u0002\u0002\u08f0\u08f3\u0003\u0002\u0002\u0002\u08f1\u08ef\u0003", + "\u0002\u0002\u0002\u08f1\u08f2\u0003\u0002\u0002\u0002\u08f2\u08f4\u0003", + "\u0002\u0002\u0002\u08f3\u08f1\u0003\u0002\u0002\u0002\u08f4\u08f6\u0007", + "\u0004\u0002\u0002\u08f5\u08eb\u0003\u0002\u0002\u0002\u08f5\u08f6\u0003", + "\u0002\u0002\u0002\u08f6\u08f8\u0003\u0002\u0002\u0002\u08f7\u08d5\u0003", + "\u0002\u0002\u0002\u08f7\u08da\u0003\u0002\u0002\u0002\u08f7\u08e1\u0003", + "\u0002\u0002\u0002\u08f7\u08ea\u0003\u0002\u0002\u0002\u08f8\u00ab\u0003", + "\u0002\u0002\u0002\u08f9\u08fe\u0005\u00aeX\u0002\u08fa\u08fb\u0007", + "\u0006\u0002\u0002\u08fb\u08fd\u0005\u00aeX\u0002\u08fc\u08fa\u0003", + "\u0002\u0002\u0002\u08fd\u0900\u0003\u0002\u0002\u0002\u08fe\u08fc\u0003", + "\u0002\u0002\u0002\u08fe\u08ff\u0003\u0002\u0002\u0002\u08ff\u00ad\u0003", + "\u0002\u0002\u0002\u0900\u08fe\u0003\u0002\u0002\u0002\u0901\u0902\u0005", + "\u00c6d\u0002\u0902\u0905\u0005\u00aaV\u0002\u0903\u0904\u0007t\u0002", + "\u0002\u0904\u0906\u0007\u00f3\u0002\u0002\u0905\u0903\u0003\u0002\u0002", + "\u0002\u0905\u0906\u0003\u0002\u0002\u0002\u0906\u00af\u0003\u0002\u0002", + "\u0002\u0907\u090c\u0005\u00b2Z\u0002\u0908\u0909\u0007\u0006\u0002", + "\u0002\u0909\u090b\u0005\u00b2Z\u0002\u090a\u0908\u0003\u0002\u0002", + "\u0002\u090b\u090e\u0003\u0002\u0002\u0002\u090c\u090a\u0003\u0002\u0002", + "\u0002\u090c\u090d\u0003\u0002\u0002\u0002\u090d\u00b1\u0003\u0002\u0002", + "\u0002\u090e\u090c\u0003\u0002\u0002\u0002\u090f\u0914\u0005\u00c6d", + "\u0002\u0910\u0911\u0007\u0005\u0002\u0002\u0911\u0913\u0005\u00c6d", + "\u0002\u0912\u0910\u0003\u0002\u0002\u0002\u0913\u0916\u0003\u0002\u0002", + "\u0002\u0914\u0912\u0003\u0002\u0002\u0002\u0914\u0915\u0003\u0002\u0002", + "\u0002\u0915\u0917\u0003\u0002\u0002\u0002\u0916\u0914\u0003\u0002\u0002", + "\u0002\u0917\u091a\u0005\u00aaV\u0002\u0918\u0919\u0007\u0010\u0002", + "\u0002\u0919\u091b\u0005\u00c6d\u0002\u091a\u0918\u0003\u0002\u0002", + "\u0002\u091a\u091b\u0003\u0002\u0002\u0002\u091b\u091e\u0003\u0002\u0002", + "\u0002\u091c\u091d\u0007t\u0002\u0002\u091d\u091f\u0007\u00f3\u0002", + "\u0002\u091e\u091c\u0003\u0002\u0002\u0002\u091e\u091f\u0003\u0002\u0002", + "\u0002\u091f\u0927\u0003\u0002\u0002\u0002\u0920\u0921\u0007\u00f2\u0002", + "\u0002\u0921\u0922\u0007/\u0002\u0002\u0922\u0923\u0005\u00c6d\u0002", + "\u0923\u0924\u0007\u0010\u0002\u0002\u0924\u0925\u0005\u0096L\u0002", + "\u0925\u0927\u0003\u0002\u0002\u0002\u0926\u090f\u0003\u0002\u0002\u0002", + "\u0926\u0920\u0003\u0002\u0002\u0002\u0927\u00b3\u0003\u0002\u0002\u0002", + "\u0928\u092d\u0005\u00b6\\\u0002\u0929\u092a\u0007\u0006\u0002\u0002", + "\u092a\u092c\u0005\u00b6\\\u0002\u092b\u0929\u0003\u0002\u0002\u0002", + "\u092c\u092f\u0003\u0002\u0002\u0002\u092d\u092b\u0003\u0002\u0002\u0002", + "\u092d\u092e\u0003\u0002\u0002\u0002\u092e\u00b5\u0003\u0002\u0002\u0002", + "\u092f\u092d\u0003\u0002\u0002\u0002\u0930\u0931\u0005\u00c6d\u0002", + "\u0931\u0932\u0007\f\u0002\u0002\u0932\u0935\u0005\u00aaV\u0002\u0933", + "\u0934\u0007t\u0002\u0002\u0934\u0936\u0007\u00f3\u0002\u0002\u0935", + "\u0933\u0003\u0002\u0002\u0002\u0935\u0936\u0003\u0002\u0002\u0002\u0936", + "\u00b7\u0003\u0002\u0002\u0002\u0937\u0938\u00072\u0002\u0002\u0938", + "\u0939\u0005\u008eH\u0002\u0939\u093a\u00073\u0002\u0002\u093a\u093b", + "\u0005\u008eH\u0002\u093b\u00b9\u0003\u0002\u0002\u0002\u093c\u093d", + "\u0007B\u0002\u0002\u093d\u0942\u0005\u00bc_\u0002\u093e\u093f\u0007", + "\u0006\u0002\u0002\u093f\u0941\u0005\u00bc_\u0002\u0940\u093e\u0003", + "\u0002\u0002\u0002\u0941\u0944\u0003\u0002\u0002\u0002\u0942\u0940\u0003", + "\u0002\u0002\u0002\u0942\u0943\u0003\u0002\u0002\u0002\u0943\u00bb\u0003", + "\u0002\u0002\u0002\u0944\u0942\u0003\u0002\u0002\u0002\u0945\u0946\u0005", + "\u00c6d\u0002\u0946\u0947\u0007\u0010\u0002\u0002\u0947\u0948\u0005", + "\u00be`\u0002\u0948\u00bd\u0003\u0002\u0002\u0002\u0949\u0974\u0005", + "\u00c6d\u0002\u094a\u096d\u0007\u0003\u0002\u0002\u094b\u094c\u0007", + "\u009c\u0002\u0002\u094c\u094d\u0007\u0016\u0002\u0002\u094d\u0952\u0005", + "\u008eH\u0002\u094e\u094f\u0007\u0006\u0002\u0002\u094f\u0951\u0005", + "\u008eH\u0002\u0950\u094e\u0003\u0002\u0002\u0002\u0951\u0954\u0003", + "\u0002\u0002\u0002\u0952\u0950\u0003\u0002\u0002\u0002\u0952\u0953\u0003", + "\u0002\u0002\u0002\u0953\u096e\u0003\u0002\u0002\u0002\u0954\u0952\u0003", + "\u0002\u0002\u0002\u0955\u0956\t\u0019\u0002\u0002\u0956\u0957\u0007", + "\u0016\u0002\u0002\u0957\u095c\u0005\u008eH\u0002\u0958\u0959\u0007", + "\u0006\u0002\u0002\u0959\u095b\u0005\u008eH\u0002\u095a\u0958\u0003", + "\u0002\u0002\u0002\u095b\u095e\u0003\u0002\u0002\u0002\u095c\u095a\u0003", + "\u0002\u0002\u0002\u095c\u095d\u0003\u0002\u0002\u0002\u095d\u0960\u0003", + "\u0002\u0002\u0002\u095e\u095c\u0003\u0002\u0002\u0002\u095f\u0955\u0003", + "\u0002\u0002\u0002\u095f\u0960\u0003\u0002\u0002\u0002\u0960\u096b\u0003", + "\u0002\u0002\u0002\u0961\u0962\t\u001a\u0002\u0002\u0962\u0963\u0007", + "\u0016\u0002\u0002\u0963\u0968\u0005L\'\u0002\u0964\u0965\u0007\u0006", + "\u0002\u0002\u0965\u0967\u0005L\'\u0002\u0966\u0964\u0003\u0002\u0002", + "\u0002\u0967\u096a\u0003\u0002\u0002\u0002\u0968\u0966\u0003\u0002\u0002", + "\u0002\u0968\u0969\u0003\u0002\u0002\u0002\u0969\u096c\u0003\u0002\u0002", + "\u0002\u096a\u0968\u0003\u0002\u0002\u0002\u096b\u0961\u0003\u0002\u0002", + "\u0002\u096b\u096c\u0003\u0002\u0002\u0002\u096c\u096e\u0003\u0002\u0002", + "\u0002\u096d\u094b\u0003\u0002\u0002\u0002\u096d\u095f\u0003\u0002\u0002", + "\u0002\u096e\u0970\u0003\u0002\u0002\u0002\u096f\u0971\u0005\u00c0a", + "\u0002\u0970\u096f\u0003\u0002\u0002\u0002\u0970\u0971\u0003\u0002\u0002", + "\u0002\u0971\u0972\u0003\u0002\u0002\u0002\u0972\u0974\u0007\u0004\u0002", + "\u0002\u0973\u0949\u0003\u0002\u0002\u0002\u0973\u094a\u0003\u0002\u0002", + "\u0002\u0974\u00bf\u0003\u0002\u0002\u0002\u0975\u0976\u0007E\u0002", + "\u0002\u0976\u0986\u0005\u00c2b\u0002\u0977\u0978\u0007F\u0002\u0002", + "\u0978\u0986\u0005\u00c2b\u0002\u0979\u097a\u0007E\u0002\u0002\u097a", + "\u097b\u0007%\u0002\u0002\u097b\u097c\u0005\u00c2b\u0002\u097c\u097d", + "\u0007 \u0002\u0002\u097d\u097e\u0005\u00c2b\u0002\u097e\u0986\u0003", + "\u0002\u0002\u0002\u097f\u0980\u0007F\u0002\u0002\u0980\u0981\u0007", + "%\u0002\u0002\u0981\u0982\u0005\u00c2b\u0002\u0982\u0983\u0007 \u0002", + "\u0002\u0983\u0984\u0005\u00c2b\u0002\u0984\u0986\u0003\u0002\u0002", + "\u0002\u0985\u0975\u0003\u0002\u0002\u0002\u0985\u0977\u0003\u0002\u0002", + "\u0002\u0985\u0979\u0003\u0002\u0002\u0002\u0985\u097f\u0003\u0002\u0002", + "\u0002\u0986\u00c1\u0003\u0002\u0002\u0002\u0987\u0988\u0007G\u0002", + "\u0002\u0988\u098f\t\u001b\u0002\u0002\u0989\u098a\u0007J\u0002\u0002", + "\u098a\u098f\u0007N\u0002\u0002\u098b\u098c\u0005\u008eH\u0002\u098c", + "\u098d\t\u001b\u0002\u0002\u098d\u098f\u0003\u0002\u0002\u0002\u098e", + "\u0987\u0003\u0002\u0002\u0002\u098e\u0989\u0003\u0002\u0002\u0002\u098e", + "\u098b\u0003\u0002\u0002\u0002\u098f\u00c3\u0003\u0002\u0002\u0002\u0990", + "\u0995\u0005\u00c6d\u0002\u0991\u0992\u0007\u0005\u0002\u0002\u0992", + "\u0994\u0005\u00c6d\u0002\u0993\u0991\u0003\u0002\u0002\u0002\u0994", + "\u0997\u0003\u0002\u0002\u0002\u0995\u0993\u0003\u0002\u0002\u0002\u0995", + "\u0996\u0003\u0002\u0002\u0002\u0996\u00c5\u0003\u0002\u0002\u0002\u0997", + "\u0995\u0003\u0002\u0002\u0002\u0998\u09a8\u0005\u00c8e\u0002\u0999", + "\u09a8\u0007\u00ef\u0002\u0002\u099a\u09a8\u0007=\u0002\u0002\u099b", + "\u09a8\u00079\u0002\u0002\u099c\u09a8\u0007:\u0002\u0002\u099d\u09a8", + "\u0007;\u0002\u0002\u099e\u09a8\u0007<\u0002\u0002\u099f\u09a8\u0007", + ">\u0002\u0002\u09a0\u09a8\u00076\u0002\u0002\u09a1\u09a8\u00077\u0002", + "\u0002\u09a2\u09a8\u0007?\u0002\u0002\u09a3\u09a8\u0007h\u0002\u0002", + "\u09a4\u09a8\u0007k\u0002\u0002\u09a5\u09a8\u0007i\u0002\u0002\u09a6", + "\u09a8\u0007j\u0002\u0002\u09a7\u0998\u0003\u0002\u0002\u0002\u09a7", + "\u0999\u0003\u0002\u0002\u0002\u09a7\u099a\u0003\u0002\u0002\u0002\u09a7", + "\u099b\u0003\u0002\u0002\u0002\u09a7\u099c\u0003\u0002\u0002\u0002\u09a7", + "\u099d\u0003\u0002\u0002\u0002\u09a7\u099e\u0003\u0002\u0002\u0002\u09a7", + "\u099f\u0003\u0002\u0002\u0002\u09a7\u09a0\u0003\u0002\u0002\u0002\u09a7", + "\u09a1\u0003\u0002\u0002\u0002\u09a7\u09a2\u0003\u0002\u0002\u0002\u09a7", + "\u09a3\u0003\u0002\u0002\u0002\u09a7\u09a4\u0003\u0002\u0002\u0002\u09a7", + "\u09a5\u0003\u0002\u0002\u0002\u09a7\u09a6\u0003\u0002\u0002\u0002\u09a8", + "\u00c7\u0003\u0002\u0002\u0002\u09a9\u09ad\u0007\u00fb\u0002\u0002\u09aa", + "\u09ad\u0005\u00caf\u0002\u09ab\u09ad\u0005\u00ceh\u0002\u09ac\u09a9", + "\u0003\u0002\u0002\u0002\u09ac\u09aa\u0003\u0002\u0002\u0002\u09ac\u09ab", + "\u0003\u0002\u0002\u0002\u09ad\u00c9\u0003\u0002\u0002\u0002\u09ae\u09af", + "\u0007\u00fc\u0002\u0002\u09af\u00cb\u0003\u0002\u0002\u0002\u09b0\u09b2", + "\u0007\u008d\u0002\u0002\u09b1\u09b0\u0003\u0002\u0002\u0002\u09b1\u09b2", + "\u0003\u0002\u0002\u0002\u09b2\u09b3\u0003\u0002\u0002\u0002\u09b3\u09cd", + "\u0007\u00f8\u0002\u0002\u09b4\u09b6\u0007\u008d\u0002\u0002\u09b5\u09b4", + "\u0003\u0002\u0002\u0002\u09b5\u09b6\u0003\u0002\u0002\u0002\u09b6\u09b7", + "\u0003\u0002\u0002\u0002\u09b7\u09cd\u0007\u00f7\u0002\u0002\u09b8\u09ba", + "\u0007\u008d\u0002\u0002\u09b9\u09b8\u0003\u0002\u0002\u0002\u09b9\u09ba", + "\u0003\u0002\u0002\u0002\u09ba\u09bb\u0003\u0002\u0002\u0002\u09bb\u09cd", + "\u0007\u00f4\u0002\u0002\u09bc\u09be\u0007\u008d\u0002\u0002\u09bd\u09bc", + "\u0003\u0002\u0002\u0002\u09bd\u09be\u0003\u0002\u0002\u0002\u09be\u09bf", + "\u0003\u0002\u0002\u0002\u09bf\u09cd\u0007\u00f5\u0002\u0002\u09c0\u09c2", + "\u0007\u008d\u0002\u0002\u09c1\u09c0\u0003\u0002\u0002\u0002\u09c1\u09c2", + "\u0003\u0002\u0002\u0002\u09c2\u09c3\u0003\u0002\u0002\u0002\u09c3\u09cd", + "\u0007\u00f6\u0002\u0002\u09c4\u09c6\u0007\u008d\u0002\u0002\u09c5\u09c4", + "\u0003\u0002\u0002\u0002\u09c5\u09c6\u0003\u0002\u0002\u0002\u09c6\u09c7", + "\u0003\u0002\u0002\u0002\u09c7\u09cd\u0007\u00f9\u0002\u0002\u09c8\u09ca", + "\u0007\u008d\u0002\u0002\u09c9\u09c8\u0003\u0002\u0002\u0002\u09c9\u09ca", + "\u0003\u0002\u0002\u0002\u09ca\u09cb\u0003\u0002\u0002\u0002\u09cb\u09cd", + "\u0007\u00fa\u0002\u0002\u09cc\u09b1\u0003\u0002\u0002\u0002\u09cc\u09b5", + "\u0003\u0002\u0002\u0002\u09cc\u09b9\u0003\u0002\u0002\u0002\u09cc\u09bd", + "\u0003\u0002\u0002\u0002\u09cc\u09c1\u0003\u0002\u0002\u0002\u09cc\u09c5", + "\u0003\u0002\u0002\u0002\u09cc\u09c9\u0003\u0002\u0002\u0002\u09cd\u00cd", + "\u0003\u0002\u0002\u0002\u09ce\u09cf\t\u001c\u0002\u0002\u09cf\u00cf", + "\u0003\u0002\u0002\u0002\u0151\u00ea\u00ef\u00f2\u00f7\u0104\u0108\u010f", + "\u011d\u011f\u0123\u0126\u012d\u013e\u0140\u0144\u0147\u014e\u0155\u0159", + "\u0161\u016b\u0171\u0177\u0182\u01a2\u01aa\u01ae\u01b3\u01b9\u01c1\u01c7", + "\u01d4\u01d9\u01e2\u01e7\u01f7\u01fe\u0202\u020a\u0211\u0218\u0227\u022b", + "\u0231\u0237\u023a\u023d\u0243\u0247\u024b\u0250\u0254\u025c\u025f\u0268", + "\u026d\u0273\u027a\u027d\u0283\u028e\u0291\u0295\u029a\u029f\u02a6\u02a9", + "\u02ac\u02b3\u02b8\u02bd\u02c0\u02c9\u02d1\u02d7\u02db\u02df\u02e3\u02e5", + "\u02ee\u02f4\u02f9\u02fc\u0300\u0303\u030d\u0310\u0314\u031a\u031d\u0320", + "\u0326\u032e\u0333\u0339\u033f\u034a\u0352\u0359\u0361\u0364\u036c\u0370", + "\u0377\u03eb\u03f3\u03fb\u0404\u0410\u0414\u0417\u041d\u0427\u0433\u0438", + "\u043e\u044a\u044c\u0451\u0455\u045a\u045f\u0462\u0467\u046b\u0470\u0472", + "\u0476\u047f\u0487\u048e\u0495\u049e\u04a3\u04b2\u04b9\u04bc\u04c3\u04c7", + "\u04cd\u04d5\u04e0\u04eb\u04f2\u04f8\u04fe\u0507\u0509\u0512\u0515\u051e", + "\u0521\u052a\u052d\u0536\u0539\u053c\u0541\u0543\u0546\u0552\u0559\u0560", + "\u0563\u0565\u0570\u0574\u0578\u0584\u0587\u058b\u0595\u0599\u059b\u059e", + "\u05a2\u05a5\u05a9\u05af\u05b3\u05b7\u05bc\u05bf\u05c1\u05c6\u05cb\u05ce", + "\u05d2\u05d5\u05d7\u05dc\u05e1\u05ee\u05f3\u05fb\u0601\u0605\u060e\u061d", + "\u0622\u062e\u0633\u063b\u063e\u0642\u0650\u065d\u0662\u0666\u0669\u066e", + "\u0677\u067a\u067f\u0686\u0689\u0691\u0698\u069f\u06a2\u06a7\u06ad\u06b1", + "\u06b4\u06b7\u06bd\u06c2\u06c7\u06d9\u06db\u06de\u06e9\u06f2\u06f9\u0701", + "\u0709\u070d\u0715\u071d\u0723\u072b\u0737\u073a\u0740\u0744\u0746\u074f", + "\u075b\u075d\u0764\u076b\u0771\u0777\u0779\u077e\u0785\u078b\u078f\u0791", + "\u0798\u07a7\u07a9\u07b1\u07b3\u07b7\u07bf\u07c8\u07ce\u07d6\u07dc\u07e1", + "\u07e6\u07ec\u0801\u0803\u080b\u080f\u0818\u081c\u082e\u0831\u0839\u0842", + "\u0859\u0864\u086b\u086e\u0873\u0886\u0897\u08a1\u08a3\u08b0\u08b2\u08c0", + "\u08c7\u08ca\u08ce\u08d3\u08e4\u08e8\u08f1\u08f5\u08f7\u08fe\u0905\u090c", + "\u0914\u091a\u091e\u0926\u092d\u0935\u0942\u0952\u095c\u095f\u0968\u096b", + "\u096d\u0970\u0973\u0985\u098e\u0995\u09a7\u09ac\u09b1\u09b5\u09b9\u09bd", + "\u09c1\u09c5\u09c9\u09cc"].join(""); + + +var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN); + +var decisionsToDFA = atn.decisionToState.map( function(ds, index) { return new antlr4.dfa.DFA(ds, index); }); + +var sharedContextCache = new antlr4.PredictionContextCache(); + +var literalNames = [ null, "'('", "')'", "'.'", "','", "'/*+'", "'*/'", + "'->'", "'['", "']'", "':'", "'SELECT'", "'FROM'", + "'ADD'", "'AS'", "'ALL'", "'ANY'", "'DISTINCT'", "'WHERE'", + "'GROUP'", "'BY'", "'GROUPING'", "'SETS'", "'CUBE'", + "'ROLLUP'", "'ORDER'", "'HAVING'", "'LIMIT'", "'AT'", + "'OR'", "'AND'", "'IN'", null, "'NO'", "'EXISTS'", + "'BETWEEN'", "'LIKE'", null, "'IS'", "'NULL'", "'TRUE'", + "'FALSE'", "'NULLS'", "'ASC'", "'DESC'", "'FOR'", "'INTERVAL'", + "'CASE'", "'WHEN'", "'THEN'", "'ELSE'", "'END'", "'JOIN'", + "'CROSS'", "'OUTER'", "'INNER'", "'LEFT'", "'SEMI'", + "'RIGHT'", "'FULL'", "'NATURAL'", "'ON'", "'PIVOT'", + "'LATERAL'", "'WINDOW'", "'OVER'", "'PARTITION'", "'RANGE'", + "'ROWS'", "'UNBOUNDED'", "'PRECEDING'", "'FOLLOWING'", + "'CURRENT'", "'FIRST'", "'AFTER'", "'LAST'", "'ROW'", + "'WITH'", "'VALUES'", "'CREATE'", "'TABLE'", "'DIRECTORY'", + "'VIEW'", "'REPLACE'", "'INSERT'", "'DELETE'", "'INTO'", + "'DESCRIBE'", "'EXPLAIN'", "'FORMAT'", "'LOGICAL'", + "'CODEGEN'", "'COST'", "'CAST'", "'SHOW'", "'TABLES'", + "'COLUMNS'", "'COLUMN'", "'USE'", "'PARTITIONS'", "'FUNCTIONS'", + "'DROP'", "'UNION'", "'EXCEPT'", "'MINUS'", "'INTERSECT'", + "'TO'", "'TABLESAMPLE'", "'STRATIFY'", "'ALTER'", "'RENAME'", + "'ARRAY'", "'MAP'", "'STRUCT'", "'COMMENT'", "'SET'", + "'RESET'", "'DATA'", "'START'", "'TRANSACTION'", "'COMMIT'", + "'ROLLBACK'", "'MACRO'", "'IGNORE'", "'BOTH'", "'LEADING'", + "'TRAILING'", "'IF'", "'POSITION'", "'EXTRACT'", null, + "'<=>'", "'<>'", "'!='", "'<'", null, "'>'", null, + "'+'", "'-'", "'*'", "'/'", "'%'", "'DIV'", "'~'", + "'&'", "'|'", "'||'", "'^'", "'PERCENT'", "'BUCKET'", + "'OUT'", "'OF'", "'SORT'", "'CLUSTER'", "'DISTRIBUTE'", + "'OVERWRITE'", "'TRANSFORM'", "'REDUCE'", "'USING'", + "'SERDE'", "'SERDEPROPERTIES'", "'RECORDREADER'", "'RECORDWRITER'", + "'DELIMITED'", "'FIELDS'", "'TERMINATED'", "'COLLECTION'", + "'ITEMS'", "'KEYS'", "'ESCAPED'", "'LINES'", "'SEPARATED'", + "'FUNCTION'", "'EXTENDED'", "'REFRESH'", "'CLEAR'", + "'CACHE'", "'UNCACHE'", "'LAZY'", "'FORMATTED'", "'GLOBAL'", + null, "'OPTIONS'", "'UNSET'", "'TBLPROPERTIES'", "'DBPROPERTIES'", + "'BUCKETS'", "'SKEWED'", "'STORED'", "'DIRECTORIES'", + "'LOCATION'", "'EXCHANGE'", "'ARCHIVE'", "'UNARCHIVE'", + "'FILEFORMAT'", "'TOUCH'", "'COMPACT'", "'CONCATENATE'", + "'CHANGE'", "'CASCADE'", "'RESTRICT'", "'CLUSTERED'", + "'SORTED'", "'PURGE'", "'INPUTFORMAT'", "'OUTPUTFORMAT'", + null, null, "'DFS'", "'TRUNCATE'", "'ANALYZE'", "'COMPUTE'", + "'LIST'", "'STATISTICS'", "'PARTITIONED'", "'EXTERNAL'", + "'DEFINED'", "'REVOKE'", "'GRANT'", "'LOCK'", "'UNLOCK'", + "'MSCK'", "'REPAIR'", "'RECOVER'", "'EXPORT'", "'IMPORT'", + "'LOAD'", "'ROLE'", "'ROLES'", "'COMPACTIONS'", "'PRINCIPALS'", + "'TRANSACTIONS'", "'INDEX'", "'INDEXES'", "'LOCKS'", + "'OPTION'", "'ANTI'", "'LOCAL'", "'INPATH'", "'WATERMARK'", + null, null, null, null, null, null, null, null, null, + null, null, "'/**/'" ]; + +var symbolicNames = [ null, null, null, null, null, null, null, null, null, + null, null, "SELECT", "FROM", "ADD", "AS", "ALL", + "ANY", "DISTINCT", "WHERE", "GROUP", "BY", "GROUPING", + "SETS", "CUBE", "ROLLUP", "ORDER", "HAVING", "LIMIT", + "AT", "OR", "AND", "IN", "NOT", "NO", "EXISTS", "BETWEEN", + "LIKE", "RLIKE", "IS", "NULL", "TRUE", "FALSE", "NULLS", + "ASC", "DESC", "FOR", "INTERVAL", "CASE", "WHEN", + "THEN", "ELSE", "END", "JOIN", "CROSS", "OUTER", "INNER", + "LEFT", "SEMI", "RIGHT", "FULL", "NATURAL", "ON", + "PIVOT", "LATERAL", "WINDOW", "OVER", "PARTITION", + "RANGE", "ROWS", "UNBOUNDED", "PRECEDING", "FOLLOWING", + "CURRENT", "FIRST", "AFTER", "LAST", "ROW", "WITH", + "VALUES", "CREATE", "TABLE", "DIRECTORY", "VIEW", + "REPLACE", "INSERT", "DELETE", "INTO", "DESCRIBE", + "EXPLAIN", "FORMAT", "LOGICAL", "CODEGEN", "COST", + "CAST", "SHOW", "TABLES", "COLUMNS", "COLUMN", "USE", + "PARTITIONS", "FUNCTIONS", "DROP", "UNION", "EXCEPT", + "SETMINUS", "INTERSECT", "TO", "TABLESAMPLE", "STRATIFY", + "ALTER", "RENAME", "ARRAY", "MAP", "STRUCT", "COMMENT", + "SET", "RESET", "DATA", "START", "TRANSACTION", "COMMIT", + "ROLLBACK", "MACRO", "IGNORE", "BOTH", "LEADING", + "TRAILING", "IF", "POSITION", "EXTRACT", "EQ", "NSEQ", + "NEQ", "NEQJ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", + "ASTERISK", "SLASH", "PERCENT", "DIV", "TILDE", "AMPERSAND", + "PIPE", "CONCAT_PIPE", "HAT", "PERCENTLIT", "BUCKET", + "OUT", "OF", "SORT", "CLUSTER", "DISTRIBUTE", "OVERWRITE", + "TRANSFORM", "REDUCE", "USING", "SERDE", "SERDEPROPERTIES", + "RECORDREADER", "RECORDWRITER", "DELIMITED", "FIELDS", + "TERMINATED", "COLLECTION", "ITEMS", "KEYS", "ESCAPED", + "LINES", "SEPARATED", "FUNCTION", "EXTENDED", "REFRESH", + "CLEAR", "CACHE", "UNCACHE", "LAZY", "FORMATTED", + "GLOBAL", "TEMPORARY", "OPTIONS", "UNSET", "TBLPROPERTIES", + "DBPROPERTIES", "BUCKETS", "SKEWED", "STORED", "DIRECTORIES", + "LOCATION", "EXCHANGE", "ARCHIVE", "UNARCHIVE", "FILEFORMAT", + "TOUCH", "COMPACT", "CONCATENATE", "CHANGE", "CASCADE", + "RESTRICT", "CLUSTERED", "SORTED", "PURGE", "INPUTFORMAT", + "OUTPUTFORMAT", "DATABASE", "DATABASES", "DFS", "TRUNCATE", + "ANALYZE", "COMPUTE", "LIST", "STATISTICS", "PARTITIONED", + "EXTERNAL", "DEFINED", "REVOKE", "GRANT", "LOCK", + "UNLOCK", "MSCK", "REPAIR", "RECOVER", "EXPORT", "IMPORT", + "LOAD", "ROLE", "ROLES", "COMPACTIONS", "PRINCIPALS", + "TRANSACTIONS", "INDEX", "INDEXES", "LOCKS", "OPTION", + "ANTI", "LOCAL", "INPATH", "WATERMARK", "STRING", + "BIGINT_LITERAL", "SMALLINT_LITERAL", "TINYINT_LITERAL", + "INTEGER_VALUE", "DECIMAL_VALUE", "DOUBLE_LITERAL", + "BIGDECIMAL_LITERAL", "IDENTIFIER", "BACKQUOTED_IDENTIFIER", + "SIMPLE_COMMENT", "BRACKETED_EMPTY_COMMENT", "BRACKETED_COMMENT", + "WS", "UNRECOGNIZED" ]; + +var ruleNames = [ "singleStatement", "singleExpression", "singleTableIdentifier", + "singleFunctionIdentifier", "singleDataType", "singleTableSchema", + "statement", "unsupportedHiveNativeCommands", "createTableHeader", + "bucketSpec", "skewSpec", "locationSpec", "query", "insertInto", + "partitionSpecLocation", "partitionSpec", "partitionVal", + "describeFuncName", "describeColName", "ctes", "namedQuery", + "tableProvider", "tablePropertyList", "tableProperty", + "tablePropertyKey", "tablePropertyValue", "constantList", + "nestedConstantList", "createFileFormat", "fileFormat", + "storageHandler", "resource", "queryNoWith", "queryOrganization", + "multiInsertQueryBody", "queryTerm", "queryPrimary", + "sortItem", "querySpecification", "hint", "hintStatement", + "fromClause", "aggregation", "groupingSet", "pivotClause", + "pivotColumn", "pivotValue", "lateralView", "setQuantifier", + "relation", "joinRelation", "joinType", "joinCriteria", + "sample", "sampleMethod", "identifierList", "identifierSeq", + "orderedIdentifierList", "orderedIdentifier", "identifierCommentList", + "identifierComment", "relationPrimary", "inlineTable", + "functionTable", "tableAlias", "rowFormat", "tableIdentifier", + "functionIdentifier", "namedExpression", "namedExpressionSeq", + "expression", "booleanExpression", "predicate", "valueExpression", + "primaryExpression", "constant", "comparisonOperator", + "arithmeticOperator", "predicateOperator", "booleanValue", + "interval", "intervalField", "intervalValue", "colPosition", + "dataType", "colTypeList", "colType", "dtColTypeList", + "dtColType", "complexColTypeList", "complexColType", + "whenClause", "windows", "namedWindow", "windowSpec", + "windowFrame", "frameBound", "qualifiedName", "identifier", + "strictIdentifier", "quotedIdentifier", "number", "nonReserved" ]; + +function sqlParser (input) { + antlr4.Parser.call(this, input); + this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache); + this.ruleNames = ruleNames; + this.literalNames = literalNames; + this.symbolicNames = symbolicNames; + return this; +} + +sqlParser.prototype = Object.create(antlr4.Parser.prototype); +sqlParser.prototype.constructor = sqlParser; + +Object.defineProperty(sqlParser.prototype, "atn", { + get : function() { + return atn; + } +}); + +sqlParser.EOF = antlr4.Token.EOF; +sqlParser.T__0 = 1; +sqlParser.T__1 = 2; +sqlParser.T__2 = 3; +sqlParser.T__3 = 4; +sqlParser.T__4 = 5; +sqlParser.T__5 = 6; +sqlParser.T__6 = 7; +sqlParser.T__7 = 8; +sqlParser.T__8 = 9; +sqlParser.T__9 = 10; +sqlParser.SELECT = 11; +sqlParser.FROM = 12; +sqlParser.ADD = 13; +sqlParser.AS = 14; +sqlParser.ALL = 15; +sqlParser.ANY = 16; +sqlParser.DISTINCT = 17; +sqlParser.WHERE = 18; +sqlParser.GROUP = 19; +sqlParser.BY = 20; +sqlParser.GROUPING = 21; +sqlParser.SETS = 22; +sqlParser.CUBE = 23; +sqlParser.ROLLUP = 24; +sqlParser.ORDER = 25; +sqlParser.HAVING = 26; +sqlParser.LIMIT = 27; +sqlParser.AT = 28; +sqlParser.OR = 29; +sqlParser.AND = 30; +sqlParser.IN = 31; +sqlParser.NOT = 32; +sqlParser.NO = 33; +sqlParser.EXISTS = 34; +sqlParser.BETWEEN = 35; +sqlParser.LIKE = 36; +sqlParser.RLIKE = 37; +sqlParser.IS = 38; +sqlParser.NULL = 39; +sqlParser.TRUE = 40; +sqlParser.FALSE = 41; +sqlParser.NULLS = 42; +sqlParser.ASC = 43; +sqlParser.DESC = 44; +sqlParser.FOR = 45; +sqlParser.INTERVAL = 46; +sqlParser.CASE = 47; +sqlParser.WHEN = 48; +sqlParser.THEN = 49; +sqlParser.ELSE = 50; +sqlParser.END = 51; +sqlParser.JOIN = 52; +sqlParser.CROSS = 53; +sqlParser.OUTER = 54; +sqlParser.INNER = 55; +sqlParser.LEFT = 56; +sqlParser.SEMI = 57; +sqlParser.RIGHT = 58; +sqlParser.FULL = 59; +sqlParser.NATURAL = 60; +sqlParser.ON = 61; +sqlParser.PIVOT = 62; +sqlParser.LATERAL = 63; +sqlParser.WINDOW = 64; +sqlParser.OVER = 65; +sqlParser.PARTITION = 66; +sqlParser.RANGE = 67; +sqlParser.ROWS = 68; +sqlParser.UNBOUNDED = 69; +sqlParser.PRECEDING = 70; +sqlParser.FOLLOWING = 71; +sqlParser.CURRENT = 72; +sqlParser.FIRST = 73; +sqlParser.AFTER = 74; +sqlParser.LAST = 75; +sqlParser.ROW = 76; +sqlParser.WITH = 77; +sqlParser.VALUES = 78; +sqlParser.CREATE = 79; +sqlParser.TABLE = 80; +sqlParser.DIRECTORY = 81; +sqlParser.VIEW = 82; +sqlParser.REPLACE = 83; +sqlParser.INSERT = 84; +sqlParser.DELETE = 85; +sqlParser.INTO = 86; +sqlParser.DESCRIBE = 87; +sqlParser.EXPLAIN = 88; +sqlParser.FORMAT = 89; +sqlParser.LOGICAL = 90; +sqlParser.CODEGEN = 91; +sqlParser.COST = 92; +sqlParser.CAST = 93; +sqlParser.SHOW = 94; +sqlParser.TABLES = 95; +sqlParser.COLUMNS = 96; +sqlParser.COLUMN = 97; +sqlParser.USE = 98; +sqlParser.PARTITIONS = 99; +sqlParser.FUNCTIONS = 100; +sqlParser.DROP = 101; +sqlParser.UNION = 102; +sqlParser.EXCEPT = 103; +sqlParser.SETMINUS = 104; +sqlParser.INTERSECT = 105; +sqlParser.TO = 106; +sqlParser.TABLESAMPLE = 107; +sqlParser.STRATIFY = 108; +sqlParser.ALTER = 109; +sqlParser.RENAME = 110; +sqlParser.ARRAY = 111; +sqlParser.MAP = 112; +sqlParser.STRUCT = 113; +sqlParser.COMMENT = 114; +sqlParser.SET = 115; +sqlParser.RESET = 116; +sqlParser.DATA = 117; +sqlParser.START = 118; +sqlParser.TRANSACTION = 119; +sqlParser.COMMIT = 120; +sqlParser.ROLLBACK = 121; +sqlParser.MACRO = 122; +sqlParser.IGNORE = 123; +sqlParser.BOTH = 124; +sqlParser.LEADING = 125; +sqlParser.TRAILING = 126; +sqlParser.IF = 127; +sqlParser.POSITION = 128; +sqlParser.EXTRACT = 129; +sqlParser.EQ = 130; +sqlParser.NSEQ = 131; +sqlParser.NEQ = 132; +sqlParser.NEQJ = 133; +sqlParser.LT = 134; +sqlParser.LTE = 135; +sqlParser.GT = 136; +sqlParser.GTE = 137; +sqlParser.PLUS = 138; +sqlParser.MINUS = 139; +sqlParser.ASTERISK = 140; +sqlParser.SLASH = 141; +sqlParser.PERCENT = 142; +sqlParser.DIV = 143; +sqlParser.TILDE = 144; +sqlParser.AMPERSAND = 145; +sqlParser.PIPE = 146; +sqlParser.CONCAT_PIPE = 147; +sqlParser.HAT = 148; +sqlParser.PERCENTLIT = 149; +sqlParser.BUCKET = 150; +sqlParser.OUT = 151; +sqlParser.OF = 152; +sqlParser.SORT = 153; +sqlParser.CLUSTER = 154; +sqlParser.DISTRIBUTE = 155; +sqlParser.OVERWRITE = 156; +sqlParser.TRANSFORM = 157; +sqlParser.REDUCE = 158; +sqlParser.USING = 159; +sqlParser.SERDE = 160; +sqlParser.SERDEPROPERTIES = 161; +sqlParser.RECORDREADER = 162; +sqlParser.RECORDWRITER = 163; +sqlParser.DELIMITED = 164; +sqlParser.FIELDS = 165; +sqlParser.TERMINATED = 166; +sqlParser.COLLECTION = 167; +sqlParser.ITEMS = 168; +sqlParser.KEYS = 169; +sqlParser.ESCAPED = 170; +sqlParser.LINES = 171; +sqlParser.SEPARATED = 172; +sqlParser.FUNCTION = 173; +sqlParser.EXTENDED = 174; +sqlParser.REFRESH = 175; +sqlParser.CLEAR = 176; +sqlParser.CACHE = 177; +sqlParser.UNCACHE = 178; +sqlParser.LAZY = 179; +sqlParser.FORMATTED = 180; +sqlParser.GLOBAL = 181; +sqlParser.TEMPORARY = 182; +sqlParser.OPTIONS = 183; +sqlParser.UNSET = 184; +sqlParser.TBLPROPERTIES = 185; +sqlParser.DBPROPERTIES = 186; +sqlParser.BUCKETS = 187; +sqlParser.SKEWED = 188; +sqlParser.STORED = 189; +sqlParser.DIRECTORIES = 190; +sqlParser.LOCATION = 191; +sqlParser.EXCHANGE = 192; +sqlParser.ARCHIVE = 193; +sqlParser.UNARCHIVE = 194; +sqlParser.FILEFORMAT = 195; +sqlParser.TOUCH = 196; +sqlParser.COMPACT = 197; +sqlParser.CONCATENATE = 198; +sqlParser.CHANGE = 199; +sqlParser.CASCADE = 200; +sqlParser.RESTRICT = 201; +sqlParser.CLUSTERED = 202; +sqlParser.SORTED = 203; +sqlParser.PURGE = 204; +sqlParser.INPUTFORMAT = 205; +sqlParser.OUTPUTFORMAT = 206; +sqlParser.DATABASE = 207; +sqlParser.DATABASES = 208; +sqlParser.DFS = 209; +sqlParser.TRUNCATE = 210; +sqlParser.ANALYZE = 211; +sqlParser.COMPUTE = 212; +sqlParser.LIST = 213; +sqlParser.STATISTICS = 214; +sqlParser.PARTITIONED = 215; +sqlParser.EXTERNAL = 216; +sqlParser.DEFINED = 217; +sqlParser.REVOKE = 218; +sqlParser.GRANT = 219; +sqlParser.LOCK = 220; +sqlParser.UNLOCK = 221; +sqlParser.MSCK = 222; +sqlParser.REPAIR = 223; +sqlParser.RECOVER = 224; +sqlParser.EXPORT = 225; +sqlParser.IMPORT = 226; +sqlParser.LOAD = 227; +sqlParser.ROLE = 228; +sqlParser.ROLES = 229; +sqlParser.COMPACTIONS = 230; +sqlParser.PRINCIPALS = 231; +sqlParser.TRANSACTIONS = 232; +sqlParser.INDEX = 233; +sqlParser.INDEXES = 234; +sqlParser.LOCKS = 235; +sqlParser.OPTION = 236; +sqlParser.ANTI = 237; +sqlParser.LOCAL = 238; +sqlParser.INPATH = 239; +sqlParser.WATERMARK = 240; +sqlParser.STRING = 241; +sqlParser.BIGINT_LITERAL = 242; +sqlParser.SMALLINT_LITERAL = 243; +sqlParser.TINYINT_LITERAL = 244; +sqlParser.INTEGER_VALUE = 245; +sqlParser.DECIMAL_VALUE = 246; +sqlParser.DOUBLE_LITERAL = 247; +sqlParser.BIGDECIMAL_LITERAL = 248; +sqlParser.IDENTIFIER = 249; +sqlParser.BACKQUOTED_IDENTIFIER = 250; +sqlParser.SIMPLE_COMMENT = 251; +sqlParser.BRACKETED_EMPTY_COMMENT = 252; +sqlParser.BRACKETED_COMMENT = 253; +sqlParser.WS = 254; +sqlParser.UNRECOGNIZED = 255; + +sqlParser.RULE_singleStatement = 0; +sqlParser.RULE_singleExpression = 1; +sqlParser.RULE_singleTableIdentifier = 2; +sqlParser.RULE_singleFunctionIdentifier = 3; +sqlParser.RULE_singleDataType = 4; +sqlParser.RULE_singleTableSchema = 5; +sqlParser.RULE_statement = 6; +sqlParser.RULE_unsupportedHiveNativeCommands = 7; +sqlParser.RULE_createTableHeader = 8; +sqlParser.RULE_bucketSpec = 9; +sqlParser.RULE_skewSpec = 10; +sqlParser.RULE_locationSpec = 11; +sqlParser.RULE_query = 12; +sqlParser.RULE_insertInto = 13; +sqlParser.RULE_partitionSpecLocation = 14; +sqlParser.RULE_partitionSpec = 15; +sqlParser.RULE_partitionVal = 16; +sqlParser.RULE_describeFuncName = 17; +sqlParser.RULE_describeColName = 18; +sqlParser.RULE_ctes = 19; +sqlParser.RULE_namedQuery = 20; +sqlParser.RULE_tableProvider = 21; +sqlParser.RULE_tablePropertyList = 22; +sqlParser.RULE_tableProperty = 23; +sqlParser.RULE_tablePropertyKey = 24; +sqlParser.RULE_tablePropertyValue = 25; +sqlParser.RULE_constantList = 26; +sqlParser.RULE_nestedConstantList = 27; +sqlParser.RULE_createFileFormat = 28; +sqlParser.RULE_fileFormat = 29; +sqlParser.RULE_storageHandler = 30; +sqlParser.RULE_resource = 31; +sqlParser.RULE_queryNoWith = 32; +sqlParser.RULE_queryOrganization = 33; +sqlParser.RULE_multiInsertQueryBody = 34; +sqlParser.RULE_queryTerm = 35; +sqlParser.RULE_queryPrimary = 36; +sqlParser.RULE_sortItem = 37; +sqlParser.RULE_querySpecification = 38; +sqlParser.RULE_hint = 39; +sqlParser.RULE_hintStatement = 40; +sqlParser.RULE_fromClause = 41; +sqlParser.RULE_aggregation = 42; +sqlParser.RULE_groupingSet = 43; +sqlParser.RULE_pivotClause = 44; +sqlParser.RULE_pivotColumn = 45; +sqlParser.RULE_pivotValue = 46; +sqlParser.RULE_lateralView = 47; +sqlParser.RULE_setQuantifier = 48; +sqlParser.RULE_relation = 49; +sqlParser.RULE_joinRelation = 50; +sqlParser.RULE_joinType = 51; +sqlParser.RULE_joinCriteria = 52; +sqlParser.RULE_sample = 53; +sqlParser.RULE_sampleMethod = 54; +sqlParser.RULE_identifierList = 55; +sqlParser.RULE_identifierSeq = 56; +sqlParser.RULE_orderedIdentifierList = 57; +sqlParser.RULE_orderedIdentifier = 58; +sqlParser.RULE_identifierCommentList = 59; +sqlParser.RULE_identifierComment = 60; +sqlParser.RULE_relationPrimary = 61; +sqlParser.RULE_inlineTable = 62; +sqlParser.RULE_functionTable = 63; +sqlParser.RULE_tableAlias = 64; +sqlParser.RULE_rowFormat = 65; +sqlParser.RULE_tableIdentifier = 66; +sqlParser.RULE_functionIdentifier = 67; +sqlParser.RULE_namedExpression = 68; +sqlParser.RULE_namedExpressionSeq = 69; +sqlParser.RULE_expression = 70; +sqlParser.RULE_booleanExpression = 71; +sqlParser.RULE_predicate = 72; +sqlParser.RULE_valueExpression = 73; +sqlParser.RULE_primaryExpression = 74; +sqlParser.RULE_constant = 75; +sqlParser.RULE_comparisonOperator = 76; +sqlParser.RULE_arithmeticOperator = 77; +sqlParser.RULE_predicateOperator = 78; +sqlParser.RULE_booleanValue = 79; +sqlParser.RULE_interval = 80; +sqlParser.RULE_intervalField = 81; +sqlParser.RULE_intervalValue = 82; +sqlParser.RULE_colPosition = 83; +sqlParser.RULE_dataType = 84; +sqlParser.RULE_colTypeList = 85; +sqlParser.RULE_colType = 86; +sqlParser.RULE_dtColTypeList = 87; +sqlParser.RULE_dtColType = 88; +sqlParser.RULE_complexColTypeList = 89; +sqlParser.RULE_complexColType = 90; +sqlParser.RULE_whenClause = 91; +sqlParser.RULE_windows = 92; +sqlParser.RULE_namedWindow = 93; +sqlParser.RULE_windowSpec = 94; +sqlParser.RULE_windowFrame = 95; +sqlParser.RULE_frameBound = 96; +sqlParser.RULE_qualifiedName = 97; +sqlParser.RULE_identifier = 98; +sqlParser.RULE_strictIdentifier = 99; +sqlParser.RULE_quotedIdentifier = 100; +sqlParser.RULE_number = 101; +sqlParser.RULE_nonReserved = 102; + +function SingleStatementContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleStatement; + return this; +} + +SingleStatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleStatementContext.prototype.constructor = SingleStatementContext; + +SingleStatementContext.prototype.statement = function() { + return this.getTypedRuleContext(StatementContext,0); +}; + +SingleStatementContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleStatementContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleStatement(this); + } +}; + +SingleStatementContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleStatement(this); + } +}; + +SingleStatementContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleStatement(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleStatementContext = SingleStatementContext; + +sqlParser.prototype.singleStatement = function() { + + var localctx = new SingleStatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 0, sqlParser.RULE_singleStatement); + try { + this.enterOuterAlt(localctx, 1); + this.state = 206; + this.statement(); + this.state = 207; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SingleExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleExpression; + return this; +} + +SingleExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleExpressionContext.prototype.constructor = SingleExpressionContext; + +SingleExpressionContext.prototype.namedExpression = function() { + return this.getTypedRuleContext(NamedExpressionContext,0); +}; + +SingleExpressionContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleExpressionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleExpression(this); + } +}; + +SingleExpressionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleExpression(this); + } +}; + +SingleExpressionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleExpression(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleExpressionContext = SingleExpressionContext; + +sqlParser.prototype.singleExpression = function() { + + var localctx = new SingleExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 2, sqlParser.RULE_singleExpression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 209; + this.namedExpression(); + this.state = 210; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SingleTableIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleTableIdentifier; + return this; +} + +SingleTableIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleTableIdentifierContext.prototype.constructor = SingleTableIdentifierContext; + +SingleTableIdentifierContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +SingleTableIdentifierContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleTableIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleTableIdentifier(this); + } +}; + +SingleTableIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleTableIdentifier(this); + } +}; + +SingleTableIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleTableIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleTableIdentifierContext = SingleTableIdentifierContext; + +sqlParser.prototype.singleTableIdentifier = function() { + + var localctx = new SingleTableIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 4, sqlParser.RULE_singleTableIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 212; + this.tableIdentifier(); + this.state = 213; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SingleFunctionIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleFunctionIdentifier; + return this; +} + +SingleFunctionIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleFunctionIdentifierContext.prototype.constructor = SingleFunctionIdentifierContext; + +SingleFunctionIdentifierContext.prototype.functionIdentifier = function() { + return this.getTypedRuleContext(FunctionIdentifierContext,0); +}; + +SingleFunctionIdentifierContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleFunctionIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleFunctionIdentifier(this); + } +}; + +SingleFunctionIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleFunctionIdentifier(this); + } +}; + +SingleFunctionIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleFunctionIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleFunctionIdentifierContext = SingleFunctionIdentifierContext; + +sqlParser.prototype.singleFunctionIdentifier = function() { + + var localctx = new SingleFunctionIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 6, sqlParser.RULE_singleFunctionIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 215; + this.functionIdentifier(); + this.state = 216; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SingleDataTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleDataType; + return this; +} + +SingleDataTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleDataTypeContext.prototype.constructor = SingleDataTypeContext; + +SingleDataTypeContext.prototype.dataType = function() { + return this.getTypedRuleContext(DataTypeContext,0); +}; + +SingleDataTypeContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleDataTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleDataType(this); + } +}; + +SingleDataTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleDataType(this); + } +}; + +SingleDataTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleDataType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleDataTypeContext = SingleDataTypeContext; + +sqlParser.prototype.singleDataType = function() { + + var localctx = new SingleDataTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 8, sqlParser.RULE_singleDataType); + try { + this.enterOuterAlt(localctx, 1); + this.state = 218; + this.dataType(); + this.state = 219; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SingleTableSchemaContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_singleTableSchema; + return this; +} + +SingleTableSchemaContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SingleTableSchemaContext.prototype.constructor = SingleTableSchemaContext; + +SingleTableSchemaContext.prototype.colTypeList = function() { + return this.getTypedRuleContext(ColTypeListContext,0); +}; + +SingleTableSchemaContext.prototype.EOF = function() { + return this.getToken(sqlParser.EOF, 0); +}; + +SingleTableSchemaContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleTableSchema(this); + } +}; + +SingleTableSchemaContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleTableSchema(this); + } +}; + +SingleTableSchemaContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleTableSchema(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SingleTableSchemaContext = SingleTableSchemaContext; + +sqlParser.prototype.singleTableSchema = function() { + + var localctx = new SingleTableSchemaContext(this, this._ctx, this.state); + this.enterRule(localctx, 10, sqlParser.RULE_singleTableSchema); + try { + this.enterOuterAlt(localctx, 1); + this.state = 221; + this.colTypeList(); + this.state = 222; + this.match(sqlParser.EOF); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function StatementContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_statement; + return this; +} + +StatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StatementContext.prototype.constructor = StatementContext; + + + +StatementContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function ExplainContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ExplainContext.prototype = Object.create(StatementContext.prototype); +ExplainContext.prototype.constructor = ExplainContext; + +sqlParser.ExplainContext = ExplainContext; + +ExplainContext.prototype.EXPLAIN = function() { + return this.getToken(sqlParser.EXPLAIN, 0); +}; + +ExplainContext.prototype.statement = function() { + return this.getTypedRuleContext(StatementContext,0); +}; + +ExplainContext.prototype.LOGICAL = function() { + return this.getToken(sqlParser.LOGICAL, 0); +}; + +ExplainContext.prototype.FORMATTED = function() { + return this.getToken(sqlParser.FORMATTED, 0); +}; + +ExplainContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; + +ExplainContext.prototype.CODEGEN = function() { + return this.getToken(sqlParser.CODEGEN, 0); +}; + +ExplainContext.prototype.COST = function() { + return this.getToken(sqlParser.COST, 0); +}; +ExplainContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterExplain(this); + } +}; + +ExplainContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitExplain(this); + } +}; + +ExplainContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitExplain(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DropDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DropDatabaseContext.prototype = Object.create(StatementContext.prototype); +DropDatabaseContext.prototype.constructor = DropDatabaseContext; + +sqlParser.DropDatabaseContext = DropDatabaseContext; + +DropDatabaseContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +DropDatabaseContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +DropDatabaseContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +DropDatabaseContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +DropDatabaseContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +DropDatabaseContext.prototype.RESTRICT = function() { + return this.getToken(sqlParser.RESTRICT, 0); +}; + +DropDatabaseContext.prototype.CASCADE = function() { + return this.getToken(sqlParser.CASCADE, 0); +}; +DropDatabaseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDropDatabase(this); + } +}; + +DropDatabaseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDropDatabase(this); + } +}; + +DropDatabaseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDropDatabase(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ResetConfigurationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ResetConfigurationContext.prototype = Object.create(StatementContext.prototype); +ResetConfigurationContext.prototype.constructor = ResetConfigurationContext; + +sqlParser.ResetConfigurationContext = ResetConfigurationContext; + +ResetConfigurationContext.prototype.RESET = function() { + return this.getToken(sqlParser.RESET, 0); +}; +ResetConfigurationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterResetConfiguration(this); + } +}; + +ResetConfigurationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitResetConfiguration(this); + } +}; + +ResetConfigurationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitResetConfiguration(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DescribeDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DescribeDatabaseContext.prototype = Object.create(StatementContext.prototype); +DescribeDatabaseContext.prototype.constructor = DescribeDatabaseContext; + +sqlParser.DescribeDatabaseContext = DescribeDatabaseContext; + +DescribeDatabaseContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +DescribeDatabaseContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +DescribeDatabaseContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +DescribeDatabaseContext.prototype.DESCRIBE = function() { + return this.getToken(sqlParser.DESCRIBE, 0); +}; + +DescribeDatabaseContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; +DescribeDatabaseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDescribeDatabase(this); + } +}; + +DescribeDatabaseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDescribeDatabase(this); + } +}; + +DescribeDatabaseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDescribeDatabase(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AlterViewQueryContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AlterViewQueryContext.prototype = Object.create(StatementContext.prototype); +AlterViewQueryContext.prototype.constructor = AlterViewQueryContext; + +sqlParser.AlterViewQueryContext = AlterViewQueryContext; + +AlterViewQueryContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +AlterViewQueryContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +AlterViewQueryContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +AlterViewQueryContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +AlterViewQueryContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; +AlterViewQueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAlterViewQuery(this); + } +}; + +AlterViewQueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAlterViewQuery(this); + } +}; + +AlterViewQueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAlterViewQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function UseContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +UseContext.prototype = Object.create(StatementContext.prototype); +UseContext.prototype.constructor = UseContext; + +sqlParser.UseContext = UseContext; + +UseContext.prototype.USE = function() { + return this.getToken(sqlParser.USE, 0); +}; + +UseContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +UseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterUse(this); + } +}; + +UseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitUse(this); + } +}; + +UseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitUse(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateTempViewUsingContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateTempViewUsingContext.prototype = Object.create(StatementContext.prototype); +CreateTempViewUsingContext.prototype.constructor = CreateTempViewUsingContext; + +sqlParser.CreateTempViewUsingContext = CreateTempViewUsingContext; + +CreateTempViewUsingContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateTempViewUsingContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +CreateTempViewUsingContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +CreateTempViewUsingContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +CreateTempViewUsingContext.prototype.tableProvider = function() { + return this.getTypedRuleContext(TableProviderContext,0); +}; + +CreateTempViewUsingContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; + +CreateTempViewUsingContext.prototype.REPLACE = function() { + return this.getToken(sqlParser.REPLACE, 0); +}; + +CreateTempViewUsingContext.prototype.GLOBAL = function() { + return this.getToken(sqlParser.GLOBAL, 0); +}; + +CreateTempViewUsingContext.prototype.colTypeList = function() { + return this.getTypedRuleContext(ColTypeListContext,0); +}; + +CreateTempViewUsingContext.prototype.OPTIONS = function() { + return this.getToken(sqlParser.OPTIONS, 0); +}; + +CreateTempViewUsingContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; +CreateTempViewUsingContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateTempViewUsing(this); + } +}; + +CreateTempViewUsingContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateTempViewUsing(this); + } +}; + +CreateTempViewUsingContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateTempViewUsing(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RenameTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.from = null; // TableIdentifierContext; + this.to = null; // TableIdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RenameTableContext.prototype = Object.create(StatementContext.prototype); +RenameTableContext.prototype.constructor = RenameTableContext; + +sqlParser.RenameTableContext = RenameTableContext; + +RenameTableContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +RenameTableContext.prototype.RENAME = function() { + return this.getToken(sqlParser.RENAME, 0); +}; + +RenameTableContext.prototype.TO = function() { + return this.getToken(sqlParser.TO, 0); +}; + +RenameTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +RenameTableContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +RenameTableContext.prototype.tableIdentifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(TableIdentifierContext); + } else { + return this.getTypedRuleContext(TableIdentifierContext,i); + } +}; +RenameTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRenameTable(this); + } +}; + +RenameTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRenameTable(this); + } +}; + +RenameTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRenameTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function FailNativeCommandContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +FailNativeCommandContext.prototype = Object.create(StatementContext.prototype); +FailNativeCommandContext.prototype.constructor = FailNativeCommandContext; + +sqlParser.FailNativeCommandContext = FailNativeCommandContext; + +FailNativeCommandContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +FailNativeCommandContext.prototype.ROLE = function() { + return this.getToken(sqlParser.ROLE, 0); +}; + +FailNativeCommandContext.prototype.unsupportedHiveNativeCommands = function() { + return this.getTypedRuleContext(UnsupportedHiveNativeCommandsContext,0); +}; +FailNativeCommandContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFailNativeCommand(this); + } +}; + +FailNativeCommandContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFailNativeCommand(this); + } +}; + +FailNativeCommandContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFailNativeCommand(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ClearCacheContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ClearCacheContext.prototype = Object.create(StatementContext.prototype); +ClearCacheContext.prototype.constructor = ClearCacheContext; + +sqlParser.ClearCacheContext = ClearCacheContext; + +ClearCacheContext.prototype.CLEAR = function() { + return this.getToken(sqlParser.CLEAR, 0); +}; + +ClearCacheContext.prototype.CACHE = function() { + return this.getToken(sqlParser.CACHE, 0); +}; +ClearCacheContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterClearCache(this); + } +}; + +ClearCacheContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitClearCache(this); + } +}; + +ClearCacheContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitClearCache(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowTablesContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowTablesContext.prototype = Object.create(StatementContext.prototype); +ShowTablesContext.prototype.constructor = ShowTablesContext; + +sqlParser.ShowTablesContext = ShowTablesContext; + +ShowTablesContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowTablesContext.prototype.TABLES = function() { + return this.getToken(sqlParser.TABLES, 0); +}; + +ShowTablesContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +ShowTablesContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +ShowTablesContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ShowTablesContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ShowTablesContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowTablesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowTables(this); + } +}; + +ShowTablesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowTables(this); + } +}; + +ShowTablesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowTables(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RecoverPartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RecoverPartitionsContext.prototype = Object.create(StatementContext.prototype); +RecoverPartitionsContext.prototype.constructor = RecoverPartitionsContext; + +sqlParser.RecoverPartitionsContext = RecoverPartitionsContext; + +RecoverPartitionsContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +RecoverPartitionsContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +RecoverPartitionsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +RecoverPartitionsContext.prototype.RECOVER = function() { + return this.getToken(sqlParser.RECOVER, 0); +}; + +RecoverPartitionsContext.prototype.PARTITIONS = function() { + return this.getToken(sqlParser.PARTITIONS, 0); +}; +RecoverPartitionsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRecoverPartitions(this); + } +}; + +RecoverPartitionsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRecoverPartitions(this); + } +}; + +RecoverPartitionsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRecoverPartitions(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RenameTablePartitionContext(parser, ctx) { + StatementContext.call(this, parser); + this.from = null; // PartitionSpecContext; + this.to = null; // PartitionSpecContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RenameTablePartitionContext.prototype = Object.create(StatementContext.prototype); +RenameTablePartitionContext.prototype.constructor = RenameTablePartitionContext; + +sqlParser.RenameTablePartitionContext = RenameTablePartitionContext; + +RenameTablePartitionContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +RenameTablePartitionContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +RenameTablePartitionContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +RenameTablePartitionContext.prototype.RENAME = function() { + return this.getToken(sqlParser.RENAME, 0); +}; + +RenameTablePartitionContext.prototype.TO = function() { + return this.getToken(sqlParser.TO, 0); +}; + +RenameTablePartitionContext.prototype.partitionSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } else { + return this.getTypedRuleContext(PartitionSpecContext,i); + } +}; +RenameTablePartitionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRenameTablePartition(this); + } +}; + +RenameTablePartitionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRenameTablePartition(this); + } +}; + +RenameTablePartitionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRenameTablePartition(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RepairTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RepairTableContext.prototype = Object.create(StatementContext.prototype); +RepairTableContext.prototype.constructor = RepairTableContext; + +sqlParser.RepairTableContext = RepairTableContext; + +RepairTableContext.prototype.MSCK = function() { + return this.getToken(sqlParser.MSCK, 0); +}; + +RepairTableContext.prototype.REPAIR = function() { + return this.getToken(sqlParser.REPAIR, 0); +}; + +RepairTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +RepairTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; +RepairTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRepairTable(this); + } +}; + +RepairTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRepairTable(this); + } +}; + +RepairTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRepairTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RefreshResourceContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RefreshResourceContext.prototype = Object.create(StatementContext.prototype); +RefreshResourceContext.prototype.constructor = RefreshResourceContext; + +sqlParser.RefreshResourceContext = RefreshResourceContext; + +RefreshResourceContext.prototype.REFRESH = function() { + return this.getToken(sqlParser.REFRESH, 0); +}; + +RefreshResourceContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; +RefreshResourceContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRefreshResource(this); + } +}; + +RefreshResourceContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRefreshResource(this); + } +}; + +RefreshResourceContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRefreshResource(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowCreateTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowCreateTableContext.prototype = Object.create(StatementContext.prototype); +ShowCreateTableContext.prototype.constructor = ShowCreateTableContext; + +sqlParser.ShowCreateTableContext = ShowCreateTableContext; + +ShowCreateTableContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowCreateTableContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +ShowCreateTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +ShowCreateTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; +ShowCreateTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowCreateTable(this); + } +}; + +ShowCreateTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowCreateTable(this); + } +}; + +ShowCreateTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowCreateTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowColumnsContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowColumnsContext.prototype = Object.create(StatementContext.prototype); +ShowColumnsContext.prototype.constructor = ShowColumnsContext; + +sqlParser.ShowColumnsContext = ShowColumnsContext; + +ShowColumnsContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowColumnsContext.prototype.COLUMNS = function() { + return this.getToken(sqlParser.COLUMNS, 0); +}; + +ShowColumnsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +ShowColumnsContext.prototype.FROM = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.FROM); + } else { + return this.getToken(sqlParser.FROM, i); + } +}; + + +ShowColumnsContext.prototype.IN = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.IN); + } else { + return this.getToken(sqlParser.IN, i); + } +}; + + +ShowColumnsContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +ShowColumnsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowColumns(this); + } +}; + +ShowColumnsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowColumns(this); + } +}; + +ShowColumnsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowColumns(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AddTablePartitionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AddTablePartitionContext.prototype = Object.create(StatementContext.prototype); +AddTablePartitionContext.prototype.constructor = AddTablePartitionContext; + +sqlParser.AddTablePartitionContext = AddTablePartitionContext; + +AddTablePartitionContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +AddTablePartitionContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +AddTablePartitionContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +AddTablePartitionContext.prototype.ADD = function() { + return this.getToken(sqlParser.ADD, 0); +}; + +AddTablePartitionContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +AddTablePartitionContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +AddTablePartitionContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +AddTablePartitionContext.prototype.partitionSpecLocation = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PartitionSpecLocationContext); + } else { + return this.getTypedRuleContext(PartitionSpecLocationContext,i); + } +}; + +AddTablePartitionContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +AddTablePartitionContext.prototype.partitionSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } else { + return this.getTypedRuleContext(PartitionSpecContext,i); + } +}; +AddTablePartitionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAddTablePartition(this); + } +}; + +AddTablePartitionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAddTablePartition(this); + } +}; + +AddTablePartitionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAddTablePartition(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RefreshTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RefreshTableContext.prototype = Object.create(StatementContext.prototype); +RefreshTableContext.prototype.constructor = RefreshTableContext; + +sqlParser.RefreshTableContext = RefreshTableContext; + +RefreshTableContext.prototype.REFRESH = function() { + return this.getToken(sqlParser.REFRESH, 0); +}; + +RefreshTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +RefreshTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; +RefreshTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRefreshTable(this); + } +}; + +RefreshTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRefreshTable(this); + } +}; + +RefreshTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRefreshTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ManageResourceContext(parser, ctx) { + StatementContext.call(this, parser); + this.op = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ManageResourceContext.prototype = Object.create(StatementContext.prototype); +ManageResourceContext.prototype.constructor = ManageResourceContext; + +sqlParser.ManageResourceContext = ManageResourceContext; + +ManageResourceContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ManageResourceContext.prototype.ADD = function() { + return this.getToken(sqlParser.ADD, 0); +}; + +ManageResourceContext.prototype.LIST = function() { + return this.getToken(sqlParser.LIST, 0); +}; +ManageResourceContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterManageResource(this); + } +}; + +ManageResourceContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitManageResource(this); + } +}; + +ManageResourceContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitManageResource(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateDatabaseContext(parser, ctx) { + StatementContext.call(this, parser); + this.comment = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateDatabaseContext.prototype = Object.create(StatementContext.prototype); +CreateDatabaseContext.prototype.constructor = CreateDatabaseContext; + +sqlParser.CreateDatabaseContext = CreateDatabaseContext; + +CreateDatabaseContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateDatabaseContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +CreateDatabaseContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +CreateDatabaseContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +CreateDatabaseContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +CreateDatabaseContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +CreateDatabaseContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +CreateDatabaseContext.prototype.locationSpec = function() { + return this.getTypedRuleContext(LocationSpecContext,0); +}; + +CreateDatabaseContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +CreateDatabaseContext.prototype.DBPROPERTIES = function() { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; + +CreateDatabaseContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +CreateDatabaseContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; +CreateDatabaseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateDatabase(this); + } +}; + +CreateDatabaseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateDatabase(this); + } +}; + +CreateDatabaseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateDatabase(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AnalyzeContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AnalyzeContext.prototype = Object.create(StatementContext.prototype); +AnalyzeContext.prototype.constructor = AnalyzeContext; + +sqlParser.AnalyzeContext = AnalyzeContext; + +AnalyzeContext.prototype.ANALYZE = function() { + return this.getToken(sqlParser.ANALYZE, 0); +}; + +AnalyzeContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +AnalyzeContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +AnalyzeContext.prototype.COMPUTE = function() { + return this.getToken(sqlParser.COMPUTE, 0); +}; + +AnalyzeContext.prototype.STATISTICS = function() { + return this.getToken(sqlParser.STATISTICS, 0); +}; + +AnalyzeContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +AnalyzeContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +AnalyzeContext.prototype.FOR = function() { + return this.getToken(sqlParser.FOR, 0); +}; + +AnalyzeContext.prototype.COLUMNS = function() { + return this.getToken(sqlParser.COLUMNS, 0); +}; + +AnalyzeContext.prototype.identifierSeq = function() { + return this.getTypedRuleContext(IdentifierSeqContext,0); +}; + +AnalyzeContext.prototype.ALL = function() { + return this.getToken(sqlParser.ALL, 0); +}; +AnalyzeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAnalyze(this); + } +}; + +AnalyzeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAnalyze(this); + } +}; + +AnalyzeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAnalyze(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateHiveTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.columns = null; // ColTypeListContext; + this.comment = null; // Token; + this.partitionColumns = null; // ColTypeListContext; + this.tableProps = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateHiveTableContext.prototype = Object.create(StatementContext.prototype); +CreateHiveTableContext.prototype.constructor = CreateHiveTableContext; + +sqlParser.CreateHiveTableContext = CreateHiveTableContext; + +CreateHiveTableContext.prototype.createTableHeader = function() { + return this.getTypedRuleContext(CreateTableHeaderContext,0); +}; + +CreateHiveTableContext.prototype.bucketSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(BucketSpecContext); + } else { + return this.getTypedRuleContext(BucketSpecContext,i); + } +}; + +CreateHiveTableContext.prototype.skewSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(SkewSpecContext); + } else { + return this.getTypedRuleContext(SkewSpecContext,i); + } +}; + +CreateHiveTableContext.prototype.rowFormat = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(RowFormatContext); + } else { + return this.getTypedRuleContext(RowFormatContext,i); + } +}; + +CreateHiveTableContext.prototype.createFileFormat = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(CreateFileFormatContext); + } else { + return this.getTypedRuleContext(CreateFileFormatContext,i); + } +}; + +CreateHiveTableContext.prototype.locationSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(LocationSpecContext); + } else { + return this.getTypedRuleContext(LocationSpecContext,i); + } +}; + +CreateHiveTableContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +CreateHiveTableContext.prototype.colTypeList = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ColTypeListContext); + } else { + return this.getTypedRuleContext(ColTypeListContext,i); + } +}; + +CreateHiveTableContext.prototype.COMMENT = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.COMMENT); + } else { + return this.getToken(sqlParser.COMMENT, i); + } +}; + + +CreateHiveTableContext.prototype.PARTITIONED = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.PARTITIONED); + } else { + return this.getToken(sqlParser.PARTITIONED, i); + } +}; + + +CreateHiveTableContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +CreateHiveTableContext.prototype.TBLPROPERTIES = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.TBLPROPERTIES); + } else { + return this.getToken(sqlParser.TBLPROPERTIES, i); + } +}; + + +CreateHiveTableContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + + +CreateHiveTableContext.prototype.tablePropertyList = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(TablePropertyListContext); + } else { + return this.getTypedRuleContext(TablePropertyListContext,i); + } +}; + +CreateHiveTableContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; +CreateHiveTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateHiveTable(this); + } +}; + +CreateHiveTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateHiveTable(this); + } +}; + +CreateHiveTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateHiveTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + this.className = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateFunctionContext.prototype = Object.create(StatementContext.prototype); +CreateFunctionContext.prototype.constructor = CreateFunctionContext; + +sqlParser.CreateFunctionContext = CreateFunctionContext; + +CreateFunctionContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateFunctionContext.prototype.FUNCTION = function() { + return this.getToken(sqlParser.FUNCTION, 0); +}; + +CreateFunctionContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +CreateFunctionContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +CreateFunctionContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +CreateFunctionContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; + +CreateFunctionContext.prototype.REPLACE = function() { + return this.getToken(sqlParser.REPLACE, 0); +}; + +CreateFunctionContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +CreateFunctionContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +CreateFunctionContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +CreateFunctionContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +CreateFunctionContext.prototype.USING = function() { + return this.getToken(sqlParser.USING, 0); +}; + +CreateFunctionContext.prototype.resource = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ResourceContext); + } else { + return this.getTypedRuleContext(ResourceContext,i); + } +}; +CreateFunctionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateFunction(this); + } +}; + +CreateFunctionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateFunction(this); + } +}; + +CreateFunctionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateFunction(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.db = null; // IdentifierContext; + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowTableContext.prototype = Object.create(StatementContext.prototype); +ShowTableContext.prototype.constructor = ShowTableContext; + +sqlParser.ShowTableContext = ShowTableContext; + +ShowTableContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +ShowTableContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; + +ShowTableContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; + +ShowTableContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ShowTableContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +ShowTableContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +ShowTableContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +ShowTableContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +ShowTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowTable(this); + } +}; + +ShowTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowTable(this); + } +}; + +ShowTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetDatabasePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetDatabasePropertiesContext.prototype = Object.create(StatementContext.prototype); +SetDatabasePropertiesContext.prototype.constructor = SetDatabasePropertiesContext; + +sqlParser.SetDatabasePropertiesContext = SetDatabasePropertiesContext; + +SetDatabasePropertiesContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +SetDatabasePropertiesContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +SetDatabasePropertiesContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +SetDatabasePropertiesContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +SetDatabasePropertiesContext.prototype.DBPROPERTIES = function() { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; + +SetDatabasePropertiesContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; +SetDatabasePropertiesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetDatabaseProperties(this); + } +}; + +SetDatabasePropertiesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetDatabaseProperties(this); + } +}; + +SetDatabasePropertiesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetDatabaseProperties(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.options = null; // TablePropertyListContext; + this.partitionColumnNames = null; // IdentifierListContext; + this.comment = null; // Token; + this.tableProps = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateTableContext.prototype = Object.create(StatementContext.prototype); +CreateTableContext.prototype.constructor = CreateTableContext; + +sqlParser.CreateTableContext = CreateTableContext; + +CreateTableContext.prototype.createTableHeader = function() { + return this.getTypedRuleContext(CreateTableHeaderContext,0); +}; + +CreateTableContext.prototype.tableProvider = function() { + return this.getTypedRuleContext(TableProviderContext,0); +}; + +CreateTableContext.prototype.colTypeList = function() { + return this.getTypedRuleContext(ColTypeListContext,0); +}; + +CreateTableContext.prototype.bucketSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(BucketSpecContext); + } else { + return this.getTypedRuleContext(BucketSpecContext,i); + } +}; + +CreateTableContext.prototype.locationSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(LocationSpecContext); + } else { + return this.getTypedRuleContext(LocationSpecContext,i); + } +}; + +CreateTableContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +CreateTableContext.prototype.OPTIONS = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.OPTIONS); + } else { + return this.getToken(sqlParser.OPTIONS, i); + } +}; + + +CreateTableContext.prototype.PARTITIONED = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.PARTITIONED); + } else { + return this.getToken(sqlParser.PARTITIONED, i); + } +}; + + +CreateTableContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +CreateTableContext.prototype.COMMENT = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.COMMENT); + } else { + return this.getToken(sqlParser.COMMENT, i); + } +}; + + +CreateTableContext.prototype.TBLPROPERTIES = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.TBLPROPERTIES); + } else { + return this.getToken(sqlParser.TBLPROPERTIES, i); + } +}; + + +CreateTableContext.prototype.tablePropertyList = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(TablePropertyListContext); + } else { + return this.getTypedRuleContext(TablePropertyListContext,i); + } +}; + +CreateTableContext.prototype.identifierList = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierListContext); + } else { + return this.getTypedRuleContext(IdentifierListContext,i); + } +}; + +CreateTableContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + + +CreateTableContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; +CreateTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateTable(this); + } +}; + +CreateTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateTable(this); + } +}; + +CreateTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DescribeTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.option = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DescribeTableContext.prototype = Object.create(StatementContext.prototype); +DescribeTableContext.prototype.constructor = DescribeTableContext; + +sqlParser.DescribeTableContext = DescribeTableContext; + +DescribeTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +DescribeTableContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +DescribeTableContext.prototype.DESCRIBE = function() { + return this.getToken(sqlParser.DESCRIBE, 0); +}; + +DescribeTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +DescribeTableContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +DescribeTableContext.prototype.describeColName = function() { + return this.getTypedRuleContext(DescribeColNameContext,0); +}; + +DescribeTableContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; + +DescribeTableContext.prototype.FORMATTED = function() { + return this.getToken(sqlParser.FORMATTED, 0); +}; +DescribeTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDescribeTable(this); + } +}; + +DescribeTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDescribeTable(this); + } +}; + +DescribeTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDescribeTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateTableLikeContext(parser, ctx) { + StatementContext.call(this, parser); + this.target = null; // TableIdentifierContext; + this.source = null; // TableIdentifierContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateTableLikeContext.prototype = Object.create(StatementContext.prototype); +CreateTableLikeContext.prototype.constructor = CreateTableLikeContext; + +sqlParser.CreateTableLikeContext = CreateTableLikeContext; + +CreateTableLikeContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateTableLikeContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +CreateTableLikeContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; + +CreateTableLikeContext.prototype.tableIdentifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(TableIdentifierContext); + } else { + return this.getTypedRuleContext(TableIdentifierContext,i); + } +}; + +CreateTableLikeContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +CreateTableLikeContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +CreateTableLikeContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +CreateTableLikeContext.prototype.locationSpec = function() { + return this.getTypedRuleContext(LocationSpecContext,0); +}; +CreateTableLikeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateTableLike(this); + } +}; + +CreateTableLikeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateTableLike(this); + } +}; + +CreateTableLikeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateTableLike(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function UncacheTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +UncacheTableContext.prototype = Object.create(StatementContext.prototype); +UncacheTableContext.prototype.constructor = UncacheTableContext; + +sqlParser.UncacheTableContext = UncacheTableContext; + +UncacheTableContext.prototype.UNCACHE = function() { + return this.getToken(sqlParser.UNCACHE, 0); +}; + +UncacheTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +UncacheTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +UncacheTableContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +UncacheTableContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; +UncacheTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterUncacheTable(this); + } +}; + +UncacheTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitUncacheTable(this); + } +}; + +UncacheTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitUncacheTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DropFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DropFunctionContext.prototype = Object.create(StatementContext.prototype); +DropFunctionContext.prototype.constructor = DropFunctionContext; + +sqlParser.DropFunctionContext = DropFunctionContext; + +DropFunctionContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +DropFunctionContext.prototype.FUNCTION = function() { + return this.getToken(sqlParser.FUNCTION, 0); +}; + +DropFunctionContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +DropFunctionContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +DropFunctionContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +DropFunctionContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; +DropFunctionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDropFunction(this); + } +}; + +DropFunctionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDropFunction(this); + } +}; + +DropFunctionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDropFunction(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function LoadDataContext(parser, ctx) { + StatementContext.call(this, parser); + this.path = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +LoadDataContext.prototype = Object.create(StatementContext.prototype); +LoadDataContext.prototype.constructor = LoadDataContext; + +sqlParser.LoadDataContext = LoadDataContext; + +LoadDataContext.prototype.LOAD = function() { + return this.getToken(sqlParser.LOAD, 0); +}; + +LoadDataContext.prototype.DATA = function() { + return this.getToken(sqlParser.DATA, 0); +}; + +LoadDataContext.prototype.INPATH = function() { + return this.getToken(sqlParser.INPATH, 0); +}; + +LoadDataContext.prototype.INTO = function() { + return this.getToken(sqlParser.INTO, 0); +}; + +LoadDataContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +LoadDataContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +LoadDataContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +LoadDataContext.prototype.LOCAL = function() { + return this.getToken(sqlParser.LOCAL, 0); +}; + +LoadDataContext.prototype.OVERWRITE = function() { + return this.getToken(sqlParser.OVERWRITE, 0); +}; + +LoadDataContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; +LoadDataContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLoadData(this); + } +}; + +LoadDataContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLoadData(this); + } +}; + +LoadDataContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLoadData(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowPartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowPartitionsContext.prototype = Object.create(StatementContext.prototype); +ShowPartitionsContext.prototype.constructor = ShowPartitionsContext; + +sqlParser.ShowPartitionsContext = ShowPartitionsContext; + +ShowPartitionsContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowPartitionsContext.prototype.PARTITIONS = function() { + return this.getToken(sqlParser.PARTITIONS, 0); +}; + +ShowPartitionsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +ShowPartitionsContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; +ShowPartitionsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowPartitions(this); + } +}; + +ShowPartitionsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowPartitions(this); + } +}; + +ShowPartitionsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowPartitions(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DescribeFunctionContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DescribeFunctionContext.prototype = Object.create(StatementContext.prototype); +DescribeFunctionContext.prototype.constructor = DescribeFunctionContext; + +sqlParser.DescribeFunctionContext = DescribeFunctionContext; + +DescribeFunctionContext.prototype.FUNCTION = function() { + return this.getToken(sqlParser.FUNCTION, 0); +}; + +DescribeFunctionContext.prototype.describeFuncName = function() { + return this.getTypedRuleContext(DescribeFuncNameContext,0); +}; + +DescribeFunctionContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +DescribeFunctionContext.prototype.DESCRIBE = function() { + return this.getToken(sqlParser.DESCRIBE, 0); +}; + +DescribeFunctionContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; +DescribeFunctionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDescribeFunction(this); + } +}; + +DescribeFunctionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDescribeFunction(this); + } +}; + +DescribeFunctionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDescribeFunction(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ChangeColumnContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ChangeColumnContext.prototype = Object.create(StatementContext.prototype); +ChangeColumnContext.prototype.constructor = ChangeColumnContext; + +sqlParser.ChangeColumnContext = ChangeColumnContext; + +ChangeColumnContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +ChangeColumnContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +ChangeColumnContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +ChangeColumnContext.prototype.CHANGE = function() { + return this.getToken(sqlParser.CHANGE, 0); +}; + +ChangeColumnContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ChangeColumnContext.prototype.colType = function() { + return this.getTypedRuleContext(ColTypeContext,0); +}; + +ChangeColumnContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +ChangeColumnContext.prototype.COLUMN = function() { + return this.getToken(sqlParser.COLUMN, 0); +}; + +ChangeColumnContext.prototype.colPosition = function() { + return this.getTypedRuleContext(ColPositionContext,0); +}; +ChangeColumnContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterChangeColumn(this); + } +}; + +ChangeColumnContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitChangeColumn(this); + } +}; + +ChangeColumnContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitChangeColumn(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function StatementDefaultContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +StatementDefaultContext.prototype = Object.create(StatementContext.prototype); +StatementDefaultContext.prototype.constructor = StatementDefaultContext; + +sqlParser.StatementDefaultContext = StatementDefaultContext; + +StatementDefaultContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; +StatementDefaultContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterStatementDefault(this); + } +}; + +StatementDefaultContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitStatementDefault(this); + } +}; + +StatementDefaultContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitStatementDefault(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function TruncateTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TruncateTableContext.prototype = Object.create(StatementContext.prototype); +TruncateTableContext.prototype.constructor = TruncateTableContext; + +sqlParser.TruncateTableContext = TruncateTableContext; + +TruncateTableContext.prototype.TRUNCATE = function() { + return this.getToken(sqlParser.TRUNCATE, 0); +}; + +TruncateTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +TruncateTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +TruncateTableContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; +TruncateTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTruncateTable(this); + } +}; + +TruncateTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTruncateTable(this); + } +}; + +TruncateTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTruncateTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetTableSerDeContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetTableSerDeContext.prototype = Object.create(StatementContext.prototype); +SetTableSerDeContext.prototype.constructor = SetTableSerDeContext; + +sqlParser.SetTableSerDeContext = SetTableSerDeContext; + +SetTableSerDeContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +SetTableSerDeContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +SetTableSerDeContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +SetTableSerDeContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +SetTableSerDeContext.prototype.SERDE = function() { + return this.getToken(sqlParser.SERDE, 0); +}; + +SetTableSerDeContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +SetTableSerDeContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +SetTableSerDeContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +SetTableSerDeContext.prototype.SERDEPROPERTIES = function() { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; + +SetTableSerDeContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; +SetTableSerDeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetTableSerDe(this); + } +}; + +SetTableSerDeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetTableSerDe(this); + } +}; + +SetTableSerDeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetTableSerDe(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateViewContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateViewContext.prototype = Object.create(StatementContext.prototype); +CreateViewContext.prototype.constructor = CreateViewContext; + +sqlParser.CreateViewContext = CreateViewContext; + +CreateViewContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateViewContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +CreateViewContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +CreateViewContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +CreateViewContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +CreateViewContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; + +CreateViewContext.prototype.REPLACE = function() { + return this.getToken(sqlParser.REPLACE, 0); +}; + +CreateViewContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +CreateViewContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +CreateViewContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +CreateViewContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +CreateViewContext.prototype.identifierCommentList = function() { + return this.getTypedRuleContext(IdentifierCommentListContext,0); +}; + +CreateViewContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +CreateViewContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +CreateViewContext.prototype.PARTITIONED = function() { + return this.getToken(sqlParser.PARTITIONED, 0); +}; + +CreateViewContext.prototype.ON = function() { + return this.getToken(sqlParser.ON, 0); +}; + +CreateViewContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +CreateViewContext.prototype.TBLPROPERTIES = function() { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; + +CreateViewContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +CreateViewContext.prototype.GLOBAL = function() { + return this.getToken(sqlParser.GLOBAL, 0); +}; +CreateViewContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateView(this); + } +}; + +CreateViewContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateView(this); + } +}; + +CreateViewContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateView(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DropTablePartitionsContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DropTablePartitionsContext.prototype = Object.create(StatementContext.prototype); +DropTablePartitionsContext.prototype.constructor = DropTablePartitionsContext; + +sqlParser.DropTablePartitionsContext = DropTablePartitionsContext; + +DropTablePartitionsContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +DropTablePartitionsContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +DropTablePartitionsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +DropTablePartitionsContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +DropTablePartitionsContext.prototype.partitionSpec = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PartitionSpecContext); + } else { + return this.getTypedRuleContext(PartitionSpecContext,i); + } +}; + +DropTablePartitionsContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +DropTablePartitionsContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +DropTablePartitionsContext.prototype.PURGE = function() { + return this.getToken(sqlParser.PURGE, 0); +}; + +DropTablePartitionsContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; +DropTablePartitionsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDropTablePartitions(this); + } +}; + +DropTablePartitionsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDropTablePartitions(this); + } +}; + +DropTablePartitionsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDropTablePartitions(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetConfigurationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetConfigurationContext.prototype = Object.create(StatementContext.prototype); +SetConfigurationContext.prototype.constructor = SetConfigurationContext; + +sqlParser.SetConfigurationContext = SetConfigurationContext; + +SetConfigurationContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; +SetConfigurationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetConfiguration(this); + } +}; + +SetConfigurationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetConfiguration(this); + } +}; + +SetConfigurationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetConfiguration(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DropTableContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DropTableContext.prototype = Object.create(StatementContext.prototype); +DropTableContext.prototype.constructor = DropTableContext; + +sqlParser.DropTableContext = DropTableContext; + +DropTableContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +DropTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +DropTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +DropTableContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +DropTableContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +DropTableContext.prototype.PURGE = function() { + return this.getToken(sqlParser.PURGE, 0); +}; + +DropTableContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; +DropTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDropTable(this); + } +}; + +DropTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDropTable(this); + } +}; + +DropTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDropTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowDatabasesContext(parser, ctx) { + StatementContext.call(this, parser); + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowDatabasesContext.prototype = Object.create(StatementContext.prototype); +ShowDatabasesContext.prototype.constructor = ShowDatabasesContext; + +sqlParser.ShowDatabasesContext = ShowDatabasesContext; + +ShowDatabasesContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowDatabasesContext.prototype.DATABASES = function() { + return this.getToken(sqlParser.DATABASES, 0); +}; + +ShowDatabasesContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ShowDatabasesContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; +ShowDatabasesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowDatabases(this); + } +}; + +ShowDatabasesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowDatabases(this); + } +}; + +ShowDatabasesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowDatabases(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowTblPropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + this.table = null; // TableIdentifierContext; + this.key = null; // TablePropertyKeyContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowTblPropertiesContext.prototype = Object.create(StatementContext.prototype); +ShowTblPropertiesContext.prototype.constructor = ShowTblPropertiesContext; + +sqlParser.ShowTblPropertiesContext = ShowTblPropertiesContext; + +ShowTblPropertiesContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowTblPropertiesContext.prototype.TBLPROPERTIES = function() { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; + +ShowTblPropertiesContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +ShowTblPropertiesContext.prototype.tablePropertyKey = function() { + return this.getTypedRuleContext(TablePropertyKeyContext,0); +}; +ShowTblPropertiesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowTblProperties(this); + } +}; + +ShowTblPropertiesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowTblProperties(this); + } +}; + +ShowTblPropertiesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowTblProperties(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CreateFlinkTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.catcatalogName = null; // IdentifierContext; + this.columns = null; // DtColTypeListContext; + this.comment = null; // Token; + this.partitionColumnNames = null; // IdentifierListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CreateFlinkTableContext.prototype = Object.create(StatementContext.prototype); +CreateFlinkTableContext.prototype.constructor = CreateFlinkTableContext; + +sqlParser.CreateFlinkTableContext = CreateFlinkTableContext; + +CreateFlinkTableContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateFlinkTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +CreateFlinkTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +CreateFlinkTableContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +CreateFlinkTableContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +CreateFlinkTableContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +CreateFlinkTableContext.prototype.PARTITIONED = function() { + return this.getToken(sqlParser.PARTITIONED, 0); +}; + +CreateFlinkTableContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +CreateFlinkTableContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +CreateFlinkTableContext.prototype.dtColTypeList = function() { + return this.getTypedRuleContext(DtColTypeListContext,0); +}; + +CreateFlinkTableContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +CreateFlinkTableContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; +CreateFlinkTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateFlinkTable(this); + } +}; + +CreateFlinkTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateFlinkTable(this); + } +}; + +CreateFlinkTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateFlinkTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function UnsetTablePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +UnsetTablePropertiesContext.prototype = Object.create(StatementContext.prototype); +UnsetTablePropertiesContext.prototype.constructor = UnsetTablePropertiesContext; + +sqlParser.UnsetTablePropertiesContext = UnsetTablePropertiesContext; + +UnsetTablePropertiesContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +UnsetTablePropertiesContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +UnsetTablePropertiesContext.prototype.UNSET = function() { + return this.getToken(sqlParser.UNSET, 0); +}; + +UnsetTablePropertiesContext.prototype.TBLPROPERTIES = function() { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; + +UnsetTablePropertiesContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +UnsetTablePropertiesContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +UnsetTablePropertiesContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +UnsetTablePropertiesContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +UnsetTablePropertiesContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; +UnsetTablePropertiesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterUnsetTableProperties(this); + } +}; + +UnsetTablePropertiesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitUnsetTableProperties(this); + } +}; + +UnsetTablePropertiesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitUnsetTableProperties(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetTableLocationContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetTableLocationContext.prototype = Object.create(StatementContext.prototype); +SetTableLocationContext.prototype.constructor = SetTableLocationContext; + +sqlParser.SetTableLocationContext = SetTableLocationContext; + +SetTableLocationContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +SetTableLocationContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +SetTableLocationContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +SetTableLocationContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +SetTableLocationContext.prototype.locationSpec = function() { + return this.getTypedRuleContext(LocationSpecContext,0); +}; + +SetTableLocationContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; +SetTableLocationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetTableLocation(this); + } +}; + +SetTableLocationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetTableLocation(this); + } +}; + +SetTableLocationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetTableLocation(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ShowFunctionsContext(parser, ctx) { + StatementContext.call(this, parser); + this.pattern = null; // Token; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ShowFunctionsContext.prototype = Object.create(StatementContext.prototype); +ShowFunctionsContext.prototype.constructor = ShowFunctionsContext; + +sqlParser.ShowFunctionsContext = ShowFunctionsContext; + +ShowFunctionsContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +ShowFunctionsContext.prototype.FUNCTIONS = function() { + return this.getToken(sqlParser.FUNCTIONS, 0); +}; + +ShowFunctionsContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ShowFunctionsContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +ShowFunctionsContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; + +ShowFunctionsContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; +ShowFunctionsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterShowFunctions(this); + } +}; + +ShowFunctionsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitShowFunctions(this); + } +}; + +ShowFunctionsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitShowFunctions(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CacheTableContext(parser, ctx) { + StatementContext.call(this, parser); + this.options = null; // TablePropertyListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CacheTableContext.prototype = Object.create(StatementContext.prototype); +CacheTableContext.prototype.constructor = CacheTableContext; + +sqlParser.CacheTableContext = CacheTableContext; + +CacheTableContext.prototype.CACHE = function() { + return this.getToken(sqlParser.CACHE, 0); +}; + +CacheTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +CacheTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +CacheTableContext.prototype.LAZY = function() { + return this.getToken(sqlParser.LAZY, 0); +}; + +CacheTableContext.prototype.OPTIONS = function() { + return this.getToken(sqlParser.OPTIONS, 0); +}; + +CacheTableContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +CacheTableContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +CacheTableContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; +CacheTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCacheTable(this); + } +}; + +CacheTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCacheTable(this); + } +}; + +CacheTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCacheTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AddTableColumnsContext(parser, ctx) { + StatementContext.call(this, parser); + this.columns = null; // ColTypeListContext; + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AddTableColumnsContext.prototype = Object.create(StatementContext.prototype); +AddTableColumnsContext.prototype.constructor = AddTableColumnsContext; + +sqlParser.AddTableColumnsContext = AddTableColumnsContext; + +AddTableColumnsContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +AddTableColumnsContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +AddTableColumnsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +AddTableColumnsContext.prototype.ADD = function() { + return this.getToken(sqlParser.ADD, 0); +}; + +AddTableColumnsContext.prototype.COLUMNS = function() { + return this.getToken(sqlParser.COLUMNS, 0); +}; + +AddTableColumnsContext.prototype.colTypeList = function() { + return this.getTypedRuleContext(ColTypeListContext,0); +}; +AddTableColumnsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAddTableColumns(this); + } +}; + +AddTableColumnsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAddTableColumns(this); + } +}; + +AddTableColumnsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAddTableColumns(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetTablePropertiesContext(parser, ctx) { + StatementContext.call(this, parser); + StatementContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetTablePropertiesContext.prototype = Object.create(StatementContext.prototype); +SetTablePropertiesContext.prototype.constructor = SetTablePropertiesContext; + +sqlParser.SetTablePropertiesContext = SetTablePropertiesContext; + +SetTablePropertiesContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +SetTablePropertiesContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +SetTablePropertiesContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +SetTablePropertiesContext.prototype.TBLPROPERTIES = function() { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; + +SetTablePropertiesContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +SetTablePropertiesContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +SetTablePropertiesContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; +SetTablePropertiesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetTableProperties(this); + } +}; + +SetTablePropertiesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetTableProperties(this); + } +}; + +SetTablePropertiesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetTableProperties(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.StatementContext = StatementContext; + +sqlParser.prototype.statement = function() { + + var localctx = new StatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 12, sqlParser.RULE_statement); + var _la = 0; // Token type + try { + this.state = 866; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,100,this._ctx); + switch(la_) { + case 1: + localctx = new StatementDefaultContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 224; + this.query(); + break; + + case 2: + localctx = new UseContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 225; + this.match(sqlParser.USE); + this.state = 226; + localctx.db = this.identifier(); + break; + + case 3: + localctx = new CreateDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 227; + this.match(sqlParser.CREATE); + this.state = 228; + this.match(sqlParser.DATABASE); + this.state = 232; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,0,this._ctx); + if(la_===1) { + this.state = 229; + this.match(sqlParser.IF); + this.state = 230; + this.match(sqlParser.NOT); + this.state = 231; + this.match(sqlParser.EXISTS); + + } + this.state = 234; + this.identifier(); + this.state = 237; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 235; + this.match(sqlParser.COMMENT); + this.state = 236; + localctx.comment = this.match(sqlParser.STRING); + } + + this.state = 240; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCATION) { + this.state = 239; + this.locationSpec(); + } + + this.state = 245; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.WITH) { + this.state = 242; + this.match(sqlParser.WITH); + this.state = 243; + this.match(sqlParser.DBPROPERTIES); + this.state = 244; + this.tablePropertyList(); + } + + break; + + case 4: + localctx = new SetDatabasePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 247; + this.match(sqlParser.ALTER); + this.state = 248; + this.match(sqlParser.DATABASE); + this.state = 249; + this.identifier(); + this.state = 250; + this.match(sqlParser.SET); + this.state = 251; + this.match(sqlParser.DBPROPERTIES); + this.state = 252; + this.tablePropertyList(); + break; + + case 5: + localctx = new DropDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 254; + this.match(sqlParser.DROP); + this.state = 255; + this.match(sqlParser.DATABASE); + this.state = 258; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,4,this._ctx); + if(la_===1) { + this.state = 256; + this.match(sqlParser.IF); + this.state = 257; + this.match(sqlParser.EXISTS); + + } + this.state = 260; + this.identifier(); + this.state = 262; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.CASCADE || _la===sqlParser.RESTRICT) { + this.state = 261; + _la = this._input.LA(1); + if(!(_la===sqlParser.CASCADE || _la===sqlParser.RESTRICT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + break; + + case 6: + localctx = new CreateTableContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 264; + this.createTableHeader(); + this.state = 269; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__0) { + this.state = 265; + this.match(sqlParser.T__0); + this.state = 266; + this.colTypeList(); + this.state = 267; + this.match(sqlParser.T__1); + } + + this.state = 271; + this.tableProvider(); + this.state = 285; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.COMMENT || ((((_la - 183)) & ~0x1f) == 0 && ((1 << (_la - 183)) & ((1 << (sqlParser.OPTIONS - 183)) | (1 << (sqlParser.TBLPROPERTIES - 183)) | (1 << (sqlParser.LOCATION - 183)) | (1 << (sqlParser.CLUSTERED - 183)))) !== 0) || _la===sqlParser.PARTITIONED) { + this.state = 283; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.OPTIONS: + this.state = 272; + this.match(sqlParser.OPTIONS); + this.state = 273; + localctx.options = this.tablePropertyList(); + break; + case sqlParser.PARTITIONED: + this.state = 274; + this.match(sqlParser.PARTITIONED); + this.state = 275; + this.match(sqlParser.BY); + this.state = 276; + localctx.partitionColumnNames = this.identifierList(); + break; + case sqlParser.CLUSTERED: + this.state = 277; + this.bucketSpec(); + break; + case sqlParser.LOCATION: + this.state = 278; + this.locationSpec(); + break; + case sqlParser.COMMENT: + this.state = 279; + this.match(sqlParser.COMMENT); + this.state = 280; + localctx.comment = this.match(sqlParser.STRING); + break; + case sqlParser.TBLPROPERTIES: + this.state = 281; + this.match(sqlParser.TBLPROPERTIES); + this.state = 282; + localctx.tableProps = this.tablePropertyList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 287; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 292; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la===sqlParser.MAP || _la===sqlParser.REDUCE) { + this.state = 289; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 288; + this.match(sqlParser.AS); + } + + this.state = 291; + this.query(); + } + + break; + + case 7: + localctx = new CreateHiveTableContext(this, localctx); + this.enterOuterAlt(localctx, 7); + this.state = 294; + this.createTableHeader(); + this.state = 299; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,11,this._ctx); + if(la_===1) { + this.state = 295; + this.match(sqlParser.T__0); + this.state = 296; + localctx.columns = this.colTypeList(); + this.state = 297; + this.match(sqlParser.T__1); + + } + this.state = 318; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.ROW || _la===sqlParser.COMMENT || ((((_la - 185)) & ~0x1f) == 0 && ((1 << (_la - 185)) & ((1 << (sqlParser.TBLPROPERTIES - 185)) | (1 << (sqlParser.SKEWED - 185)) | (1 << (sqlParser.STORED - 185)) | (1 << (sqlParser.LOCATION - 185)) | (1 << (sqlParser.CLUSTERED - 185)) | (1 << (sqlParser.PARTITIONED - 185)))) !== 0)) { + this.state = 316; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.COMMENT: + this.state = 301; + this.match(sqlParser.COMMENT); + this.state = 302; + localctx.comment = this.match(sqlParser.STRING); + break; + case sqlParser.PARTITIONED: + this.state = 303; + this.match(sqlParser.PARTITIONED); + this.state = 304; + this.match(sqlParser.BY); + this.state = 305; + this.match(sqlParser.T__0); + this.state = 306; + localctx.partitionColumns = this.colTypeList(); + this.state = 307; + this.match(sqlParser.T__1); + break; + case sqlParser.CLUSTERED: + this.state = 309; + this.bucketSpec(); + break; + case sqlParser.SKEWED: + this.state = 310; + this.skewSpec(); + break; + case sqlParser.ROW: + this.state = 311; + this.rowFormat(); + break; + case sqlParser.STORED: + this.state = 312; + this.createFileFormat(); + break; + case sqlParser.LOCATION: + this.state = 313; + this.locationSpec(); + break; + case sqlParser.TBLPROPERTIES: + this.state = 314; + this.match(sqlParser.TBLPROPERTIES); + this.state = 315; + localctx.tableProps = this.tablePropertyList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 320; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 325; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la===sqlParser.MAP || _la===sqlParser.REDUCE) { + this.state = 322; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 321; + this.match(sqlParser.AS); + } + + this.state = 324; + this.query(); + } + + break; + + case 8: + localctx = new CreateFlinkTableContext(this, localctx); + this.enterOuterAlt(localctx, 8); + this.state = 327; + this.match(sqlParser.CREATE); + this.state = 328; + this.match(sqlParser.TABLE); + this.state = 332; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,16,this._ctx); + if(la_===1) { + this.state = 329; + localctx.catcatalogName = this.identifier(); + this.state = 330; + this.match(sqlParser.T__2); + + } + this.state = 334; + this.tableIdentifier(); + this.state = 339; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__0) { + this.state = 335; + this.match(sqlParser.T__0); + this.state = 336; + localctx.columns = this.dtColTypeList(); + this.state = 337; + this.match(sqlParser.T__1); + } + + this.state = 343; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 341; + this.match(sqlParser.COMMENT); + this.state = 342; + localctx.comment = this.match(sqlParser.STRING); + } + + this.state = 351; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITIONED) { + this.state = 345; + this.match(sqlParser.PARTITIONED); + this.state = 346; + this.match(sqlParser.BY); + this.state = 347; + this.match(sqlParser.T__0); + this.state = 348; + localctx.partitionColumnNames = this.identifierList(); + this.state = 349; + this.match(sqlParser.T__1); + } + + this.state = 353; + this.match(sqlParser.WITH); + this.state = 354; + this.tablePropertyList(); + break; + + case 9: + localctx = new CreateTableLikeContext(this, localctx); + this.enterOuterAlt(localctx, 9); + this.state = 356; + this.match(sqlParser.CREATE); + this.state = 357; + this.match(sqlParser.TABLE); + this.state = 361; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,20,this._ctx); + if(la_===1) { + this.state = 358; + this.match(sqlParser.IF); + this.state = 359; + this.match(sqlParser.NOT); + this.state = 360; + this.match(sqlParser.EXISTS); + + } + this.state = 363; + localctx.target = this.tableIdentifier(); + this.state = 364; + this.match(sqlParser.LIKE); + this.state = 365; + localctx.source = this.tableIdentifier(); + this.state = 367; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCATION) { + this.state = 366; + this.locationSpec(); + } + + break; + + case 10: + localctx = new AnalyzeContext(this, localctx); + this.enterOuterAlt(localctx, 10); + this.state = 369; + this.match(sqlParser.ANALYZE); + this.state = 370; + this.match(sqlParser.TABLE); + this.state = 371; + this.tableIdentifier(); + this.state = 373; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 372; + this.partitionSpec(); + } + + this.state = 375; + this.match(sqlParser.COMPUTE); + this.state = 376; + this.match(sqlParser.STATISTICS); + this.state = 384; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,23,this._ctx); + if(la_===1) { + this.state = 377; + this.identifier(); + + } else if(la_===2) { + this.state = 378; + this.match(sqlParser.FOR); + this.state = 379; + this.match(sqlParser.COLUMNS); + this.state = 380; + this.identifierSeq(); + + } else if(la_===3) { + this.state = 381; + this.match(sqlParser.FOR); + this.state = 382; + this.match(sqlParser.ALL); + this.state = 383; + this.match(sqlParser.COLUMNS); + + } + break; + + case 11: + localctx = new AddTableColumnsContext(this, localctx); + this.enterOuterAlt(localctx, 11); + this.state = 386; + this.match(sqlParser.ALTER); + this.state = 387; + this.match(sqlParser.TABLE); + this.state = 388; + this.tableIdentifier(); + this.state = 389; + this.match(sqlParser.ADD); + this.state = 390; + this.match(sqlParser.COLUMNS); + this.state = 391; + this.match(sqlParser.T__0); + this.state = 392; + localctx.columns = this.colTypeList(); + this.state = 393; + this.match(sqlParser.T__1); + break; + + case 12: + localctx = new RenameTableContext(this, localctx); + this.enterOuterAlt(localctx, 12); + this.state = 395; + this.match(sqlParser.ALTER); + this.state = 396; + _la = this._input.LA(1); + if(!(_la===sqlParser.TABLE || _la===sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 397; + localctx.from = this.tableIdentifier(); + this.state = 398; + this.match(sqlParser.RENAME); + this.state = 399; + this.match(sqlParser.TO); + this.state = 400; + localctx.to = this.tableIdentifier(); + break; + + case 13: + localctx = new SetTablePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 13); + this.state = 402; + this.match(sqlParser.ALTER); + this.state = 403; + _la = this._input.LA(1); + if(!(_la===sqlParser.TABLE || _la===sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 404; + this.tableIdentifier(); + this.state = 405; + this.match(sqlParser.SET); + this.state = 406; + this.match(sqlParser.TBLPROPERTIES); + this.state = 407; + this.tablePropertyList(); + break; + + case 14: + localctx = new UnsetTablePropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 14); + this.state = 409; + this.match(sqlParser.ALTER); + this.state = 410; + _la = this._input.LA(1); + if(!(_la===sqlParser.TABLE || _la===sqlParser.VIEW)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 411; + this.tableIdentifier(); + this.state = 412; + this.match(sqlParser.UNSET); + this.state = 413; + this.match(sqlParser.TBLPROPERTIES); + this.state = 416; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 414; + this.match(sqlParser.IF); + this.state = 415; + this.match(sqlParser.EXISTS); + } + + this.state = 418; + this.tablePropertyList(); + break; + + case 15: + localctx = new ChangeColumnContext(this, localctx); + this.enterOuterAlt(localctx, 15); + this.state = 420; + this.match(sqlParser.ALTER); + this.state = 421; + this.match(sqlParser.TABLE); + this.state = 422; + this.tableIdentifier(); + this.state = 424; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 423; + this.partitionSpec(); + } + + this.state = 426; + this.match(sqlParser.CHANGE); + this.state = 428; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,26,this._ctx); + if(la_===1) { + this.state = 427; + this.match(sqlParser.COLUMN); + + } + this.state = 430; + this.identifier(); + this.state = 431; + this.colType(); + this.state = 433; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.FIRST || _la===sqlParser.AFTER) { + this.state = 432; + this.colPosition(); + } + + break; + + case 16: + localctx = new SetTableSerDeContext(this, localctx); + this.enterOuterAlt(localctx, 16); + this.state = 435; + this.match(sqlParser.ALTER); + this.state = 436; + this.match(sqlParser.TABLE); + this.state = 437; + this.tableIdentifier(); + this.state = 439; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 438; + this.partitionSpec(); + } + + this.state = 441; + this.match(sqlParser.SET); + this.state = 442; + this.match(sqlParser.SERDE); + this.state = 443; + this.match(sqlParser.STRING); + this.state = 447; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.WITH) { + this.state = 444; + this.match(sqlParser.WITH); + this.state = 445; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 446; + this.tablePropertyList(); + } + + break; + + case 17: + localctx = new SetTableSerDeContext(this, localctx); + this.enterOuterAlt(localctx, 17); + this.state = 449; + this.match(sqlParser.ALTER); + this.state = 450; + this.match(sqlParser.TABLE); + this.state = 451; + this.tableIdentifier(); + this.state = 453; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 452; + this.partitionSpec(); + } + + this.state = 455; + this.match(sqlParser.SET); + this.state = 456; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 457; + this.tablePropertyList(); + break; + + case 18: + localctx = new AddTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 18); + this.state = 459; + this.match(sqlParser.ALTER); + this.state = 460; + this.match(sqlParser.TABLE); + this.state = 461; + this.tableIdentifier(); + this.state = 462; + this.match(sqlParser.ADD); + this.state = 466; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 463; + this.match(sqlParser.IF); + this.state = 464; + this.match(sqlParser.NOT); + this.state = 465; + this.match(sqlParser.EXISTS); + } + + this.state = 469; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 468; + this.partitionSpecLocation(); + this.state = 471; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.PARTITION); + break; + + case 19: + localctx = new AddTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 19); + this.state = 473; + this.match(sqlParser.ALTER); + this.state = 474; + this.match(sqlParser.VIEW); + this.state = 475; + this.tableIdentifier(); + this.state = 476; + this.match(sqlParser.ADD); + this.state = 480; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 477; + this.match(sqlParser.IF); + this.state = 478; + this.match(sqlParser.NOT); + this.state = 479; + this.match(sqlParser.EXISTS); + } + + this.state = 483; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 482; + this.partitionSpec(); + this.state = 485; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.PARTITION); + break; + + case 20: + localctx = new RenameTablePartitionContext(this, localctx); + this.enterOuterAlt(localctx, 20); + this.state = 487; + this.match(sqlParser.ALTER); + this.state = 488; + this.match(sqlParser.TABLE); + this.state = 489; + this.tableIdentifier(); + this.state = 490; + localctx.from = this.partitionSpec(); + this.state = 491; + this.match(sqlParser.RENAME); + this.state = 492; + this.match(sqlParser.TO); + this.state = 493; + localctx.to = this.partitionSpec(); + break; + + case 21: + localctx = new DropTablePartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 21); + this.state = 495; + this.match(sqlParser.ALTER); + this.state = 496; + this.match(sqlParser.TABLE); + this.state = 497; + this.tableIdentifier(); + this.state = 498; + this.match(sqlParser.DROP); + this.state = 501; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 499; + this.match(sqlParser.IF); + this.state = 500; + this.match(sqlParser.EXISTS); + } + + this.state = 503; + this.partitionSpec(); + this.state = 508; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 504; + this.match(sqlParser.T__3); + this.state = 505; + this.partitionSpec(); + this.state = 510; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 512; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PURGE) { + this.state = 511; + this.match(sqlParser.PURGE); + } + + break; + + case 22: + localctx = new DropTablePartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 22); + this.state = 514; + this.match(sqlParser.ALTER); + this.state = 515; + this.match(sqlParser.VIEW); + this.state = 516; + this.tableIdentifier(); + this.state = 517; + this.match(sqlParser.DROP); + this.state = 520; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 518; + this.match(sqlParser.IF); + this.state = 519; + this.match(sqlParser.EXISTS); + } + + this.state = 522; + this.partitionSpec(); + this.state = 527; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 523; + this.match(sqlParser.T__3); + this.state = 524; + this.partitionSpec(); + this.state = 529; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + + case 23: + localctx = new SetTableLocationContext(this, localctx); + this.enterOuterAlt(localctx, 23); + this.state = 530; + this.match(sqlParser.ALTER); + this.state = 531; + this.match(sqlParser.TABLE); + this.state = 532; + this.tableIdentifier(); + this.state = 534; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 533; + this.partitionSpec(); + } + + this.state = 536; + this.match(sqlParser.SET); + this.state = 537; + this.locationSpec(); + break; + + case 24: + localctx = new RecoverPartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 24); + this.state = 539; + this.match(sqlParser.ALTER); + this.state = 540; + this.match(sqlParser.TABLE); + this.state = 541; + this.tableIdentifier(); + this.state = 542; + this.match(sqlParser.RECOVER); + this.state = 543; + this.match(sqlParser.PARTITIONS); + break; + + case 25: + localctx = new DropTableContext(this, localctx); + this.enterOuterAlt(localctx, 25); + this.state = 545; + this.match(sqlParser.DROP); + this.state = 546; + this.match(sqlParser.TABLE); + this.state = 549; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,41,this._ctx); + if(la_===1) { + this.state = 547; + this.match(sqlParser.IF); + this.state = 548; + this.match(sqlParser.EXISTS); + + } + this.state = 551; + this.tableIdentifier(); + this.state = 553; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PURGE) { + this.state = 552; + this.match(sqlParser.PURGE); + } + + break; + + case 26: + localctx = new DropTableContext(this, localctx); + this.enterOuterAlt(localctx, 26); + this.state = 555; + this.match(sqlParser.DROP); + this.state = 556; + this.match(sqlParser.VIEW); + this.state = 559; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,43,this._ctx); + if(la_===1) { + this.state = 557; + this.match(sqlParser.IF); + this.state = 558; + this.match(sqlParser.EXISTS); + + } + this.state = 561; + this.tableIdentifier(); + break; + + case 27: + localctx = new CreateViewContext(this, localctx); + this.enterOuterAlt(localctx, 27); + this.state = 562; + this.match(sqlParser.CREATE); + this.state = 565; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OR) { + this.state = 563; + this.match(sqlParser.OR); + this.state = 564; + this.match(sqlParser.REPLACE); + } + + this.state = 571; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.GLOBAL || _la===sqlParser.TEMPORARY) { + this.state = 568; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.GLOBAL) { + this.state = 567; + this.match(sqlParser.GLOBAL); + } + + this.state = 570; + this.match(sqlParser.TEMPORARY); + } + + this.state = 573; + this.match(sqlParser.VIEW); + this.state = 577; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,47,this._ctx); + if(la_===1) { + this.state = 574; + this.match(sqlParser.IF); + this.state = 575; + this.match(sqlParser.NOT); + this.state = 576; + this.match(sqlParser.EXISTS); + + } + this.state = 579; + this.tableIdentifier(); + this.state = 581; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__0) { + this.state = 580; + this.identifierCommentList(); + } + + this.state = 585; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 583; + this.match(sqlParser.COMMENT); + this.state = 584; + this.match(sqlParser.STRING); + } + + this.state = 590; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITIONED) { + this.state = 587; + this.match(sqlParser.PARTITIONED); + this.state = 588; + this.match(sqlParser.ON); + this.state = 589; + this.identifierList(); + } + + this.state = 594; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.TBLPROPERTIES) { + this.state = 592; + this.match(sqlParser.TBLPROPERTIES); + this.state = 593; + this.tablePropertyList(); + } + + this.state = 596; + this.match(sqlParser.AS); + this.state = 597; + this.query(); + break; + + case 28: + localctx = new CreateTempViewUsingContext(this, localctx); + this.enterOuterAlt(localctx, 28); + this.state = 599; + this.match(sqlParser.CREATE); + this.state = 602; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OR) { + this.state = 600; + this.match(sqlParser.OR); + this.state = 601; + this.match(sqlParser.REPLACE); + } + + this.state = 605; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.GLOBAL) { + this.state = 604; + this.match(sqlParser.GLOBAL); + } + + this.state = 607; + this.match(sqlParser.TEMPORARY); + this.state = 608; + this.match(sqlParser.VIEW); + this.state = 609; + this.tableIdentifier(); + this.state = 614; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__0) { + this.state = 610; + this.match(sqlParser.T__0); + this.state = 611; + this.colTypeList(); + this.state = 612; + this.match(sqlParser.T__1); + } + + this.state = 616; + this.tableProvider(); + this.state = 619; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OPTIONS) { + this.state = 617; + this.match(sqlParser.OPTIONS); + this.state = 618; + this.tablePropertyList(); + } + + break; + + case 29: + localctx = new AlterViewQueryContext(this, localctx); + this.enterOuterAlt(localctx, 29); + this.state = 621; + this.match(sqlParser.ALTER); + this.state = 622; + this.match(sqlParser.VIEW); + this.state = 623; + this.tableIdentifier(); + this.state = 625; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 624; + this.match(sqlParser.AS); + } + + this.state = 627; + this.query(); + break; + + case 30: + localctx = new CreateFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 30); + this.state = 629; + this.match(sqlParser.CREATE); + this.state = 632; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OR) { + this.state = 630; + this.match(sqlParser.OR); + this.state = 631; + this.match(sqlParser.REPLACE); + } + + this.state = 635; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.TEMPORARY) { + this.state = 634; + this.match(sqlParser.TEMPORARY); + } + + this.state = 637; + this.match(sqlParser.FUNCTION); + this.state = 641; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,59,this._ctx); + if(la_===1) { + this.state = 638; + this.match(sqlParser.IF); + this.state = 639; + this.match(sqlParser.NOT); + this.state = 640; + this.match(sqlParser.EXISTS); + + } + this.state = 643; + this.qualifiedName(); + this.state = 644; + this.match(sqlParser.AS); + this.state = 645; + localctx.className = this.match(sqlParser.STRING); + this.state = 655; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.USING) { + this.state = 646; + this.match(sqlParser.USING); + this.state = 647; + this.resource(); + this.state = 652; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 648; + this.match(sqlParser.T__3); + this.state = 649; + this.resource(); + this.state = 654; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + break; + + case 31: + localctx = new DropFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 31); + this.state = 657; + this.match(sqlParser.DROP); + this.state = 659; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.TEMPORARY) { + this.state = 658; + this.match(sqlParser.TEMPORARY); + } + + this.state = 661; + this.match(sqlParser.FUNCTION); + this.state = 664; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,63,this._ctx); + if(la_===1) { + this.state = 662; + this.match(sqlParser.IF); + this.state = 663; + this.match(sqlParser.EXISTS); + + } + this.state = 666; + this.qualifiedName(); + break; + + case 32: + localctx = new ExplainContext(this, localctx); + this.enterOuterAlt(localctx, 32); + this.state = 667; + this.match(sqlParser.EXPLAIN); + this.state = 669; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(((((_la - 90)) & ~0x1f) == 0 && ((1 << (_la - 90)) & ((1 << (sqlParser.LOGICAL - 90)) | (1 << (sqlParser.CODEGEN - 90)) | (1 << (sqlParser.COST - 90)))) !== 0) || _la===sqlParser.EXTENDED || _la===sqlParser.FORMATTED) { + this.state = 668; + _la = this._input.LA(1); + if(!(((((_la - 90)) & ~0x1f) == 0 && ((1 << (_la - 90)) & ((1 << (sqlParser.LOGICAL - 90)) | (1 << (sqlParser.CODEGEN - 90)) | (1 << (sqlParser.COST - 90)))) !== 0) || _la===sqlParser.EXTENDED || _la===sqlParser.FORMATTED)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + this.state = 671; + this.statement(); + break; + + case 33: + localctx = new ShowTablesContext(this, localctx); + this.enterOuterAlt(localctx, 33); + this.state = 672; + this.match(sqlParser.SHOW); + this.state = 673; + this.match(sqlParser.TABLES); + this.state = 676; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.FROM || _la===sqlParser.IN) { + this.state = 674; + _la = this._input.LA(1); + if(!(_la===sqlParser.FROM || _la===sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 675; + localctx.db = this.identifier(); + } + + this.state = 682; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LIKE || _la===sqlParser.STRING) { + this.state = 679; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LIKE) { + this.state = 678; + this.match(sqlParser.LIKE); + } + + this.state = 681; + localctx.pattern = this.match(sqlParser.STRING); + } + + break; + + case 34: + localctx = new ShowTableContext(this, localctx); + this.enterOuterAlt(localctx, 34); + this.state = 684; + this.match(sqlParser.SHOW); + this.state = 685; + this.match(sqlParser.TABLE); + this.state = 686; + this.match(sqlParser.EXTENDED); + this.state = 689; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.FROM || _la===sqlParser.IN) { + this.state = 687; + _la = this._input.LA(1); + if(!(_la===sqlParser.FROM || _la===sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 688; + localctx.db = this.identifier(); + } + + this.state = 691; + this.match(sqlParser.LIKE); + this.state = 692; + localctx.pattern = this.match(sqlParser.STRING); + this.state = 694; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 693; + this.partitionSpec(); + } + + break; + + case 35: + localctx = new ShowDatabasesContext(this, localctx); + this.enterOuterAlt(localctx, 35); + this.state = 696; + this.match(sqlParser.SHOW); + this.state = 697; + this.match(sqlParser.DATABASES); + this.state = 702; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LIKE || _la===sqlParser.STRING) { + this.state = 699; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LIKE) { + this.state = 698; + this.match(sqlParser.LIKE); + } + + this.state = 701; + localctx.pattern = this.match(sqlParser.STRING); + } + + break; + + case 36: + localctx = new ShowTblPropertiesContext(this, localctx); + this.enterOuterAlt(localctx, 36); + this.state = 704; + this.match(sqlParser.SHOW); + this.state = 705; + this.match(sqlParser.TBLPROPERTIES); + this.state = 706; + localctx.table = this.tableIdentifier(); + this.state = 711; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__0) { + this.state = 707; + this.match(sqlParser.T__0); + this.state = 708; + localctx.key = this.tablePropertyKey(); + this.state = 709; + this.match(sqlParser.T__1); + } + + break; + + case 37: + localctx = new ShowColumnsContext(this, localctx); + this.enterOuterAlt(localctx, 37); + this.state = 713; + this.match(sqlParser.SHOW); + this.state = 714; + this.match(sqlParser.COLUMNS); + this.state = 715; + _la = this._input.LA(1); + if(!(_la===sqlParser.FROM || _la===sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 716; + this.tableIdentifier(); + this.state = 719; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.FROM || _la===sqlParser.IN) { + this.state = 717; + _la = this._input.LA(1); + if(!(_la===sqlParser.FROM || _la===sqlParser.IN)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 718; + localctx.db = this.identifier(); + } + + break; + + case 38: + localctx = new ShowPartitionsContext(this, localctx); + this.enterOuterAlt(localctx, 38); + this.state = 721; + this.match(sqlParser.SHOW); + this.state = 722; + this.match(sqlParser.PARTITIONS); + this.state = 723; + this.tableIdentifier(); + this.state = 725; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 724; + this.partitionSpec(); + } + + break; + + case 39: + localctx = new ShowFunctionsContext(this, localctx); + this.enterOuterAlt(localctx, 39); + this.state = 727; + this.match(sqlParser.SHOW); + this.state = 729; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,75,this._ctx); + if(la_===1) { + this.state = 728; + this.identifier(); + + } + this.state = 731; + this.match(sqlParser.FUNCTIONS); + this.state = 739; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 733; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,76,this._ctx); + if(la_===1) { + this.state = 732; + this.match(sqlParser.LIKE); + + } + this.state = 737; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.state = 735; + this.qualifiedName(); + break; + case sqlParser.STRING: + this.state = 736; + localctx.pattern = this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } + + break; + + case 40: + localctx = new ShowCreateTableContext(this, localctx); + this.enterOuterAlt(localctx, 40); + this.state = 741; + this.match(sqlParser.SHOW); + this.state = 742; + this.match(sqlParser.CREATE); + this.state = 743; + this.match(sqlParser.TABLE); + this.state = 744; + this.tableIdentifier(); + break; + + case 41: + localctx = new DescribeFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 41); + this.state = 745; + _la = this._input.LA(1); + if(!(_la===sqlParser.DESC || _la===sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 746; + this.match(sqlParser.FUNCTION); + this.state = 748; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,79,this._ctx); + if(la_===1) { + this.state = 747; + this.match(sqlParser.EXTENDED); + + } + this.state = 750; + this.describeFuncName(); + break; + + case 42: + localctx = new DescribeDatabaseContext(this, localctx); + this.enterOuterAlt(localctx, 42); + this.state = 751; + _la = this._input.LA(1); + if(!(_la===sqlParser.DESC || _la===sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 752; + this.match(sqlParser.DATABASE); + this.state = 754; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,80,this._ctx); + if(la_===1) { + this.state = 753; + this.match(sqlParser.EXTENDED); + + } + this.state = 756; + this.identifier(); + break; + + case 43: + localctx = new DescribeTableContext(this, localctx); + this.enterOuterAlt(localctx, 43); + this.state = 757; + _la = this._input.LA(1); + if(!(_la===sqlParser.DESC || _la===sqlParser.DESCRIBE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 759; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,81,this._ctx); + if(la_===1) { + this.state = 758; + this.match(sqlParser.TABLE); + + } + this.state = 762; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,82,this._ctx); + if(la_===1) { + this.state = 761; + localctx.option = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.EXTENDED || _la===sqlParser.FORMATTED)) { + localctx.option = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + + } + this.state = 764; + this.tableIdentifier(); + this.state = 766; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,83,this._ctx); + if(la_===1) { + this.state = 765; + this.partitionSpec(); + + } + this.state = 769; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 768; + this.describeColName(); + } + + break; + + case 44: + localctx = new RefreshTableContext(this, localctx); + this.enterOuterAlt(localctx, 44); + this.state = 771; + this.match(sqlParser.REFRESH); + this.state = 772; + this.match(sqlParser.TABLE); + this.state = 773; + this.tableIdentifier(); + break; + + case 45: + localctx = new RefreshResourceContext(this, localctx); + this.enterOuterAlt(localctx, 45); + this.state = 774; + this.match(sqlParser.REFRESH); + this.state = 782; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,86,this._ctx); + switch(la_) { + case 1: + this.state = 775; + this.match(sqlParser.STRING); + break; + + case 2: + this.state = 779; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,85,this._ctx) + while(_alt!=1 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1+1) { + this.state = 776; + this.matchWildcard(); + } + this.state = 781; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,85,this._ctx); + } + + break; + + } + break; + + case 46: + localctx = new CacheTableContext(this, localctx); + this.enterOuterAlt(localctx, 46); + this.state = 784; + this.match(sqlParser.CACHE); + this.state = 786; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LAZY) { + this.state = 785; + this.match(sqlParser.LAZY); + } + + this.state = 788; + this.match(sqlParser.TABLE); + this.state = 789; + this.tableIdentifier(); + this.state = 792; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OPTIONS) { + this.state = 790; + this.match(sqlParser.OPTIONS); + this.state = 791; + localctx.options = this.tablePropertyList(); + } + + this.state = 798; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.AS))) !== 0) || ((((_la - 77)) & ~0x1f) == 0 && ((1 << (_la - 77)) & ((1 << (sqlParser.WITH - 77)) | (1 << (sqlParser.VALUES - 77)) | (1 << (sqlParser.TABLE - 77)) | (1 << (sqlParser.INSERT - 77)))) !== 0) || _la===sqlParser.MAP || _la===sqlParser.REDUCE) { + this.state = 795; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 794; + this.match(sqlParser.AS); + } + + this.state = 797; + this.query(); + } + + break; + + case 47: + localctx = new UncacheTableContext(this, localctx); + this.enterOuterAlt(localctx, 47); + this.state = 800; + this.match(sqlParser.UNCACHE); + this.state = 801; + this.match(sqlParser.TABLE); + this.state = 804; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,91,this._ctx); + if(la_===1) { + this.state = 802; + this.match(sqlParser.IF); + this.state = 803; + this.match(sqlParser.EXISTS); + + } + this.state = 806; + this.tableIdentifier(); + break; + + case 48: + localctx = new ClearCacheContext(this, localctx); + this.enterOuterAlt(localctx, 48); + this.state = 807; + this.match(sqlParser.CLEAR); + this.state = 808; + this.match(sqlParser.CACHE); + break; + + case 49: + localctx = new LoadDataContext(this, localctx); + this.enterOuterAlt(localctx, 49); + this.state = 809; + this.match(sqlParser.LOAD); + this.state = 810; + this.match(sqlParser.DATA); + this.state = 812; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCAL) { + this.state = 811; + this.match(sqlParser.LOCAL); + } + + this.state = 814; + this.match(sqlParser.INPATH); + this.state = 815; + localctx.path = this.match(sqlParser.STRING); + this.state = 817; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OVERWRITE) { + this.state = 816; + this.match(sqlParser.OVERWRITE); + } + + this.state = 819; + this.match(sqlParser.INTO); + this.state = 820; + this.match(sqlParser.TABLE); + this.state = 821; + this.tableIdentifier(); + this.state = 823; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 822; + this.partitionSpec(); + } + + break; + + case 50: + localctx = new TruncateTableContext(this, localctx); + this.enterOuterAlt(localctx, 50); + this.state = 825; + this.match(sqlParser.TRUNCATE); + this.state = 826; + this.match(sqlParser.TABLE); + this.state = 827; + this.tableIdentifier(); + this.state = 829; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 828; + this.partitionSpec(); + } + + break; + + case 51: + localctx = new RepairTableContext(this, localctx); + this.enterOuterAlt(localctx, 51); + this.state = 831; + this.match(sqlParser.MSCK); + this.state = 832; + this.match(sqlParser.REPAIR); + this.state = 833; + this.match(sqlParser.TABLE); + this.state = 834; + this.tableIdentifier(); + break; + + case 52: + localctx = new ManageResourceContext(this, localctx); + this.enterOuterAlt(localctx, 52); + this.state = 835; + localctx.op = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.ADD || _la===sqlParser.LIST)) { + localctx.op = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 836; + this.identifier(); + this.state = 840; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,96,this._ctx) + while(_alt!=1 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1+1) { + this.state = 837; + this.matchWildcard(); + } + this.state = 842; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,96,this._ctx); + } + + break; + + case 53: + localctx = new FailNativeCommandContext(this, localctx); + this.enterOuterAlt(localctx, 53); + this.state = 843; + this.match(sqlParser.SET); + this.state = 844; + this.match(sqlParser.ROLE); + this.state = 848; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,97,this._ctx) + while(_alt!=1 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1+1) { + this.state = 845; + this.matchWildcard(); + } + this.state = 850; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,97,this._ctx); + } + + break; + + case 54: + localctx = new SetConfigurationContext(this, localctx); + this.enterOuterAlt(localctx, 54); + this.state = 851; + this.match(sqlParser.SET); + this.state = 855; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,98,this._ctx) + while(_alt!=1 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1+1) { + this.state = 852; + this.matchWildcard(); + } + this.state = 857; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,98,this._ctx); + } + + break; + + case 55: + localctx = new ResetConfigurationContext(this, localctx); + this.enterOuterAlt(localctx, 55); + this.state = 858; + this.match(sqlParser.RESET); + break; + + case 56: + localctx = new FailNativeCommandContext(this, localctx); + this.enterOuterAlt(localctx, 56); + this.state = 859; + this.unsupportedHiveNativeCommands(); + this.state = 863; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,99,this._ctx) + while(_alt!=1 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1+1) { + this.state = 860; + this.matchWildcard(); + } + this.state = 865; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,99,this._ctx); + } + + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function UnsupportedHiveNativeCommandsContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_unsupportedHiveNativeCommands; + this.kw1 = null; // Token + this.kw2 = null; // Token + this.kw3 = null; // Token + this.kw4 = null; // Token + this.kw5 = null; // Token + this.kw6 = null; // Token + return this; +} + +UnsupportedHiveNativeCommandsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +UnsupportedHiveNativeCommandsContext.prototype.constructor = UnsupportedHiveNativeCommandsContext; + +UnsupportedHiveNativeCommandsContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.ROLE = function() { + return this.getToken(sqlParser.ROLE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.GRANT = function() { + return this.getToken(sqlParser.GRANT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.REVOKE = function() { + return this.getToken(sqlParser.REVOKE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.PRINCIPALS = function() { + return this.getToken(sqlParser.PRINCIPALS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.ROLES = function() { + return this.getToken(sqlParser.ROLES, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.CURRENT = function() { + return this.getToken(sqlParser.CURRENT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.EXPORT = function() { + return this.getToken(sqlParser.EXPORT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.IMPORT = function() { + return this.getToken(sqlParser.IMPORT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.COMPACTIONS = function() { + return this.getToken(sqlParser.COMPACTIONS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.TRANSACTIONS = function() { + return this.getToken(sqlParser.TRANSACTIONS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.INDEXES = function() { + return this.getToken(sqlParser.INDEXES, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.LOCKS = function() { + return this.getToken(sqlParser.LOCKS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.INDEX = function() { + return this.getToken(sqlParser.INDEX, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.LOCK = function() { + return this.getToken(sqlParser.LOCK, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.UNLOCK = function() { + return this.getToken(sqlParser.UNLOCK, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.MACRO = function() { + return this.getToken(sqlParser.MACRO, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.CLUSTERED = function() { + return this.getToken(sqlParser.CLUSTERED, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.SORTED = function() { + return this.getToken(sqlParser.SORTED, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.SKEWED = function() { + return this.getToken(sqlParser.SKEWED, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.STORED = function() { + return this.getToken(sqlParser.STORED, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.DIRECTORIES = function() { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.LOCATION = function() { + return this.getToken(sqlParser.LOCATION, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.EXCHANGE = function() { + return this.getToken(sqlParser.EXCHANGE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.PARTITION = function() { + return this.getToken(sqlParser.PARTITION, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.ARCHIVE = function() { + return this.getToken(sqlParser.ARCHIVE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.UNARCHIVE = function() { + return this.getToken(sqlParser.UNARCHIVE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.TOUCH = function() { + return this.getToken(sqlParser.TOUCH, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.COMPACT = function() { + return this.getToken(sqlParser.COMPACT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.CONCATENATE = function() { + return this.getToken(sqlParser.CONCATENATE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.FILEFORMAT = function() { + return this.getToken(sqlParser.FILEFORMAT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.REPLACE = function() { + return this.getToken(sqlParser.REPLACE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.COLUMNS = function() { + return this.getToken(sqlParser.COLUMNS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.START = function() { + return this.getToken(sqlParser.START, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.TRANSACTION = function() { + return this.getToken(sqlParser.TRANSACTION, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.COMMIT = function() { + return this.getToken(sqlParser.COMMIT, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.ROLLBACK = function() { + return this.getToken(sqlParser.ROLLBACK, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.DFS = function() { + return this.getToken(sqlParser.DFS, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.DELETE = function() { + return this.getToken(sqlParser.DELETE, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +UnsupportedHiveNativeCommandsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterUnsupportedHiveNativeCommands(this); + } +}; + +UnsupportedHiveNativeCommandsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitUnsupportedHiveNativeCommands(this); + } +}; + +UnsupportedHiveNativeCommandsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitUnsupportedHiveNativeCommands(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.UnsupportedHiveNativeCommandsContext = UnsupportedHiveNativeCommandsContext; + +sqlParser.prototype.unsupportedHiveNativeCommands = function() { + + var localctx = new UnsupportedHiveNativeCommandsContext(this, this._ctx, this.state); + this.enterRule(localctx, 14, sqlParser.RULE_unsupportedHiveNativeCommands); + var _la = 0; // Token type + try { + this.state = 1038; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,108,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 868; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 869; + localctx.kw2 = this.match(sqlParser.ROLE); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 870; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 871; + localctx.kw2 = this.match(sqlParser.ROLE); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 872; + localctx.kw1 = this.match(sqlParser.GRANT); + this.state = 874; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,101,this._ctx); + if(la_===1) { + this.state = 873; + localctx.kw2 = this.match(sqlParser.ROLE); + + } + break; + + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 876; + localctx.kw1 = this.match(sqlParser.REVOKE); + this.state = 878; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,102,this._ctx); + if(la_===1) { + this.state = 877; + localctx.kw2 = this.match(sqlParser.ROLE); + + } + break; + + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 880; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 881; + localctx.kw2 = this.match(sqlParser.GRANT); + break; + + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 882; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 883; + localctx.kw2 = this.match(sqlParser.ROLE); + this.state = 885; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,103,this._ctx); + if(la_===1) { + this.state = 884; + localctx.kw3 = this.match(sqlParser.GRANT); + + } + break; + + case 7: + this.enterOuterAlt(localctx, 7); + this.state = 887; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 888; + localctx.kw2 = this.match(sqlParser.PRINCIPALS); + break; + + case 8: + this.enterOuterAlt(localctx, 8); + this.state = 889; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 890; + localctx.kw2 = this.match(sqlParser.ROLES); + break; + + case 9: + this.enterOuterAlt(localctx, 9); + this.state = 891; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 892; + localctx.kw2 = this.match(sqlParser.CURRENT); + this.state = 893; + localctx.kw3 = this.match(sqlParser.ROLES); + break; + + case 10: + this.enterOuterAlt(localctx, 10); + this.state = 894; + localctx.kw1 = this.match(sqlParser.EXPORT); + this.state = 895; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + + case 11: + this.enterOuterAlt(localctx, 11); + this.state = 896; + localctx.kw1 = this.match(sqlParser.IMPORT); + this.state = 897; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + + case 12: + this.enterOuterAlt(localctx, 12); + this.state = 898; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 899; + localctx.kw2 = this.match(sqlParser.COMPACTIONS); + break; + + case 13: + this.enterOuterAlt(localctx, 13); + this.state = 900; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 901; + localctx.kw2 = this.match(sqlParser.CREATE); + this.state = 902; + localctx.kw3 = this.match(sqlParser.TABLE); + break; + + case 14: + this.enterOuterAlt(localctx, 14); + this.state = 903; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 904; + localctx.kw2 = this.match(sqlParser.TRANSACTIONS); + break; + + case 15: + this.enterOuterAlt(localctx, 15); + this.state = 905; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 906; + localctx.kw2 = this.match(sqlParser.INDEXES); + break; + + case 16: + this.enterOuterAlt(localctx, 16); + this.state = 907; + localctx.kw1 = this.match(sqlParser.SHOW); + this.state = 908; + localctx.kw2 = this.match(sqlParser.LOCKS); + break; + + case 17: + this.enterOuterAlt(localctx, 17); + this.state = 909; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 910; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + + case 18: + this.enterOuterAlt(localctx, 18); + this.state = 911; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 912; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + + case 19: + this.enterOuterAlt(localctx, 19); + this.state = 913; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 914; + localctx.kw2 = this.match(sqlParser.INDEX); + break; + + case 20: + this.enterOuterAlt(localctx, 20); + this.state = 915; + localctx.kw1 = this.match(sqlParser.LOCK); + this.state = 916; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + + case 21: + this.enterOuterAlt(localctx, 21); + this.state = 917; + localctx.kw1 = this.match(sqlParser.LOCK); + this.state = 918; + localctx.kw2 = this.match(sqlParser.DATABASE); + break; + + case 22: + this.enterOuterAlt(localctx, 22); + this.state = 919; + localctx.kw1 = this.match(sqlParser.UNLOCK); + this.state = 920; + localctx.kw2 = this.match(sqlParser.TABLE); + break; + + case 23: + this.enterOuterAlt(localctx, 23); + this.state = 921; + localctx.kw1 = this.match(sqlParser.UNLOCK); + this.state = 922; + localctx.kw2 = this.match(sqlParser.DATABASE); + break; + + case 24: + this.enterOuterAlt(localctx, 24); + this.state = 923; + localctx.kw1 = this.match(sqlParser.CREATE); + this.state = 924; + localctx.kw2 = this.match(sqlParser.TEMPORARY); + this.state = 925; + localctx.kw3 = this.match(sqlParser.MACRO); + break; + + case 25: + this.enterOuterAlt(localctx, 25); + this.state = 926; + localctx.kw1 = this.match(sqlParser.DROP); + this.state = 927; + localctx.kw2 = this.match(sqlParser.TEMPORARY); + this.state = 928; + localctx.kw3 = this.match(sqlParser.MACRO); + break; + + case 26: + this.enterOuterAlt(localctx, 26); + this.state = 929; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 930; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 931; + this.tableIdentifier(); + this.state = 932; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 933; + localctx.kw4 = this.match(sqlParser.CLUSTERED); + break; + + case 27: + this.enterOuterAlt(localctx, 27); + this.state = 935; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 936; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 937; + this.tableIdentifier(); + this.state = 938; + localctx.kw3 = this.match(sqlParser.CLUSTERED); + this.state = 939; + localctx.kw4 = this.match(sqlParser.BY); + break; + + case 28: + this.enterOuterAlt(localctx, 28); + this.state = 941; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 942; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 943; + this.tableIdentifier(); + this.state = 944; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 945; + localctx.kw4 = this.match(sqlParser.SORTED); + break; + + case 29: + this.enterOuterAlt(localctx, 29); + this.state = 947; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 948; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 949; + this.tableIdentifier(); + this.state = 950; + localctx.kw3 = this.match(sqlParser.SKEWED); + this.state = 951; + localctx.kw4 = this.match(sqlParser.BY); + break; + + case 30: + this.enterOuterAlt(localctx, 30); + this.state = 953; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 954; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 955; + this.tableIdentifier(); + this.state = 956; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 957; + localctx.kw4 = this.match(sqlParser.SKEWED); + break; + + case 31: + this.enterOuterAlt(localctx, 31); + this.state = 959; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 960; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 961; + this.tableIdentifier(); + this.state = 962; + localctx.kw3 = this.match(sqlParser.NOT); + this.state = 963; + localctx.kw4 = this.match(sqlParser.STORED); + this.state = 964; + localctx.kw5 = this.match(sqlParser.AS); + this.state = 965; + localctx.kw6 = this.match(sqlParser.DIRECTORIES); + break; + + case 32: + this.enterOuterAlt(localctx, 32); + this.state = 967; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 968; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 969; + this.tableIdentifier(); + this.state = 970; + localctx.kw3 = this.match(sqlParser.SET); + this.state = 971; + localctx.kw4 = this.match(sqlParser.SKEWED); + this.state = 972; + localctx.kw5 = this.match(sqlParser.LOCATION); + break; + + case 33: + this.enterOuterAlt(localctx, 33); + this.state = 974; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 975; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 976; + this.tableIdentifier(); + this.state = 977; + localctx.kw3 = this.match(sqlParser.EXCHANGE); + this.state = 978; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + + case 34: + this.enterOuterAlt(localctx, 34); + this.state = 980; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 981; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 982; + this.tableIdentifier(); + this.state = 983; + localctx.kw3 = this.match(sqlParser.ARCHIVE); + this.state = 984; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + + case 35: + this.enterOuterAlt(localctx, 35); + this.state = 986; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 987; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 988; + this.tableIdentifier(); + this.state = 989; + localctx.kw3 = this.match(sqlParser.UNARCHIVE); + this.state = 990; + localctx.kw4 = this.match(sqlParser.PARTITION); + break; + + case 36: + this.enterOuterAlt(localctx, 36); + this.state = 992; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 993; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 994; + this.tableIdentifier(); + this.state = 995; + localctx.kw3 = this.match(sqlParser.TOUCH); + break; + + case 37: + this.enterOuterAlt(localctx, 37); + this.state = 997; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 998; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 999; + this.tableIdentifier(); + this.state = 1001; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1000; + this.partitionSpec(); + } + + this.state = 1003; + localctx.kw3 = this.match(sqlParser.COMPACT); + break; + + case 38: + this.enterOuterAlt(localctx, 38); + this.state = 1005; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1006; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1007; + this.tableIdentifier(); + this.state = 1009; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1008; + this.partitionSpec(); + } + + this.state = 1011; + localctx.kw3 = this.match(sqlParser.CONCATENATE); + break; + + case 39: + this.enterOuterAlt(localctx, 39); + this.state = 1013; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1014; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1015; + this.tableIdentifier(); + this.state = 1017; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1016; + this.partitionSpec(); + } + + this.state = 1019; + localctx.kw3 = this.match(sqlParser.SET); + this.state = 1020; + localctx.kw4 = this.match(sqlParser.FILEFORMAT); + break; + + case 40: + this.enterOuterAlt(localctx, 40); + this.state = 1022; + localctx.kw1 = this.match(sqlParser.ALTER); + this.state = 1023; + localctx.kw2 = this.match(sqlParser.TABLE); + this.state = 1024; + this.tableIdentifier(); + this.state = 1026; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1025; + this.partitionSpec(); + } + + this.state = 1028; + localctx.kw3 = this.match(sqlParser.REPLACE); + this.state = 1029; + localctx.kw4 = this.match(sqlParser.COLUMNS); + break; + + case 41: + this.enterOuterAlt(localctx, 41); + this.state = 1031; + localctx.kw1 = this.match(sqlParser.START); + this.state = 1032; + localctx.kw2 = this.match(sqlParser.TRANSACTION); + break; + + case 42: + this.enterOuterAlt(localctx, 42); + this.state = 1033; + localctx.kw1 = this.match(sqlParser.COMMIT); + break; + + case 43: + this.enterOuterAlt(localctx, 43); + this.state = 1034; + localctx.kw1 = this.match(sqlParser.ROLLBACK); + break; + + case 44: + this.enterOuterAlt(localctx, 44); + this.state = 1035; + localctx.kw1 = this.match(sqlParser.DFS); + break; + + case 45: + this.enterOuterAlt(localctx, 45); + this.state = 1036; + localctx.kw1 = this.match(sqlParser.DELETE); + this.state = 1037; + localctx.kw2 = this.match(sqlParser.FROM); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function CreateTableHeaderContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_createTableHeader; + return this; +} + +CreateTableHeaderContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CreateTableHeaderContext.prototype.constructor = CreateTableHeaderContext; + +CreateTableHeaderContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +CreateTableHeaderContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +CreateTableHeaderContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +CreateTableHeaderContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +CreateTableHeaderContext.prototype.EXTERNAL = function() { + return this.getToken(sqlParser.EXTERNAL, 0); +}; + +CreateTableHeaderContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +CreateTableHeaderContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +CreateTableHeaderContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +CreateTableHeaderContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateTableHeader(this); + } +}; + +CreateTableHeaderContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateTableHeader(this); + } +}; + +CreateTableHeaderContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateTableHeader(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.CreateTableHeaderContext = CreateTableHeaderContext; + +sqlParser.prototype.createTableHeader = function() { + + var localctx = new CreateTableHeaderContext(this, this._ctx, this.state); + this.enterRule(localctx, 16, sqlParser.RULE_createTableHeader); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1040; + this.match(sqlParser.CREATE); + this.state = 1042; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.TEMPORARY) { + this.state = 1041; + this.match(sqlParser.TEMPORARY); + } + + this.state = 1045; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.EXTERNAL) { + this.state = 1044; + this.match(sqlParser.EXTERNAL); + } + + this.state = 1047; + this.match(sqlParser.TABLE); + this.state = 1051; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,111,this._ctx); + if(la_===1) { + this.state = 1048; + this.match(sqlParser.IF); + this.state = 1049; + this.match(sqlParser.NOT); + this.state = 1050; + this.match(sqlParser.EXISTS); + + } + this.state = 1053; + this.tableIdentifier(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function BucketSpecContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_bucketSpec; + return this; +} + +BucketSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BucketSpecContext.prototype.constructor = BucketSpecContext; + +BucketSpecContext.prototype.CLUSTERED = function() { + return this.getToken(sqlParser.CLUSTERED, 0); +}; + +BucketSpecContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +BucketSpecContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +BucketSpecContext.prototype.INTO = function() { + return this.getToken(sqlParser.INTO, 0); +}; + +BucketSpecContext.prototype.INTEGER_VALUE = function() { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; + +BucketSpecContext.prototype.BUCKETS = function() { + return this.getToken(sqlParser.BUCKETS, 0); +}; + +BucketSpecContext.prototype.SORTED = function() { + return this.getToken(sqlParser.SORTED, 0); +}; + +BucketSpecContext.prototype.orderedIdentifierList = function() { + return this.getTypedRuleContext(OrderedIdentifierListContext,0); +}; + +BucketSpecContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterBucketSpec(this); + } +}; + +BucketSpecContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitBucketSpec(this); + } +}; + +BucketSpecContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitBucketSpec(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.BucketSpecContext = BucketSpecContext; + +sqlParser.prototype.bucketSpec = function() { + + var localctx = new BucketSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 18, sqlParser.RULE_bucketSpec); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1055; + this.match(sqlParser.CLUSTERED); + this.state = 1056; + this.match(sqlParser.BY); + this.state = 1057; + this.identifierList(); + this.state = 1061; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.SORTED) { + this.state = 1058; + this.match(sqlParser.SORTED); + this.state = 1059; + this.match(sqlParser.BY); + this.state = 1060; + this.orderedIdentifierList(); + } + + this.state = 1063; + this.match(sqlParser.INTO); + this.state = 1064; + this.match(sqlParser.INTEGER_VALUE); + this.state = 1065; + this.match(sqlParser.BUCKETS); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SkewSpecContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_skewSpec; + return this; +} + +SkewSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SkewSpecContext.prototype.constructor = SkewSpecContext; + +SkewSpecContext.prototype.SKEWED = function() { + return this.getToken(sqlParser.SKEWED, 0); +}; + +SkewSpecContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +SkewSpecContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +SkewSpecContext.prototype.ON = function() { + return this.getToken(sqlParser.ON, 0); +}; + +SkewSpecContext.prototype.constantList = function() { + return this.getTypedRuleContext(ConstantListContext,0); +}; + +SkewSpecContext.prototype.nestedConstantList = function() { + return this.getTypedRuleContext(NestedConstantListContext,0); +}; + +SkewSpecContext.prototype.STORED = function() { + return this.getToken(sqlParser.STORED, 0); +}; + +SkewSpecContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +SkewSpecContext.prototype.DIRECTORIES = function() { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; + +SkewSpecContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSkewSpec(this); + } +}; + +SkewSpecContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSkewSpec(this); + } +}; + +SkewSpecContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSkewSpec(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SkewSpecContext = SkewSpecContext; + +sqlParser.prototype.skewSpec = function() { + + var localctx = new SkewSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 20, sqlParser.RULE_skewSpec); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1067; + this.match(sqlParser.SKEWED); + this.state = 1068; + this.match(sqlParser.BY); + this.state = 1069; + this.identifierList(); + this.state = 1070; + this.match(sqlParser.ON); + this.state = 1073; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,113,this._ctx); + switch(la_) { + case 1: + this.state = 1071; + this.constantList(); + break; + + case 2: + this.state = 1072; + this.nestedConstantList(); + break; + + } + this.state = 1078; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,114,this._ctx); + if(la_===1) { + this.state = 1075; + this.match(sqlParser.STORED); + this.state = 1076; + this.match(sqlParser.AS); + this.state = 1077; + this.match(sqlParser.DIRECTORIES); + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function LocationSpecContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_locationSpec; + return this; +} + +LocationSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +LocationSpecContext.prototype.constructor = LocationSpecContext; + +LocationSpecContext.prototype.LOCATION = function() { + return this.getToken(sqlParser.LOCATION, 0); +}; + +LocationSpecContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +LocationSpecContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLocationSpec(this); + } +}; + +LocationSpecContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLocationSpec(this); + } +}; + +LocationSpecContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLocationSpec(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.LocationSpecContext = LocationSpecContext; + +sqlParser.prototype.locationSpec = function() { + + var localctx = new LocationSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 22, sqlParser.RULE_locationSpec); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1080; + this.match(sqlParser.LOCATION); + this.state = 1081; + this.match(sqlParser.STRING); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QueryContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_query; + return this; +} + +QueryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryContext.prototype.constructor = QueryContext; + +QueryContext.prototype.queryNoWith = function() { + return this.getTypedRuleContext(QueryNoWithContext,0); +}; + +QueryContext.prototype.ctes = function() { + return this.getTypedRuleContext(CtesContext,0); +}; + +QueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQuery(this); + } +}; + +QueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQuery(this); + } +}; + +QueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.QueryContext = QueryContext; + +sqlParser.prototype.query = function() { + + var localctx = new QueryContext(this, this._ctx, this.state); + this.enterRule(localctx, 24, sqlParser.RULE_query); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1084; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.WITH) { + this.state = 1083; + this.ctes(); + } + + this.state = 1086; + this.queryNoWith(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function InsertIntoContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_insertInto; + return this; +} + +InsertIntoContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +InsertIntoContext.prototype.constructor = InsertIntoContext; + + + +InsertIntoContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function InsertOverwriteHiveDirContext(parser, ctx) { + InsertIntoContext.call(this, parser); + this.path = null; // Token; + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InsertOverwriteHiveDirContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteHiveDirContext.prototype.constructor = InsertOverwriteHiveDirContext; + +sqlParser.InsertOverwriteHiveDirContext = InsertOverwriteHiveDirContext; + +InsertOverwriteHiveDirContext.prototype.INSERT = function() { + return this.getToken(sqlParser.INSERT, 0); +}; + +InsertOverwriteHiveDirContext.prototype.OVERWRITE = function() { + return this.getToken(sqlParser.OVERWRITE, 0); +}; + +InsertOverwriteHiveDirContext.prototype.DIRECTORY = function() { + return this.getToken(sqlParser.DIRECTORY, 0); +}; + +InsertOverwriteHiveDirContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +InsertOverwriteHiveDirContext.prototype.LOCAL = function() { + return this.getToken(sqlParser.LOCAL, 0); +}; + +InsertOverwriteHiveDirContext.prototype.rowFormat = function() { + return this.getTypedRuleContext(RowFormatContext,0); +}; + +InsertOverwriteHiveDirContext.prototype.createFileFormat = function() { + return this.getTypedRuleContext(CreateFileFormatContext,0); +}; +InsertOverwriteHiveDirContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInsertOverwriteHiveDir(this); + } +}; + +InsertOverwriteHiveDirContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInsertOverwriteHiveDir(this); + } +}; + +InsertOverwriteHiveDirContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInsertOverwriteHiveDir(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function InsertOverwriteDirContext(parser, ctx) { + InsertIntoContext.call(this, parser); + this.path = null; // Token; + this.options = null; // TablePropertyListContext; + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InsertOverwriteDirContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteDirContext.prototype.constructor = InsertOverwriteDirContext; + +sqlParser.InsertOverwriteDirContext = InsertOverwriteDirContext; + +InsertOverwriteDirContext.prototype.INSERT = function() { + return this.getToken(sqlParser.INSERT, 0); +}; + +InsertOverwriteDirContext.prototype.OVERWRITE = function() { + return this.getToken(sqlParser.OVERWRITE, 0); +}; + +InsertOverwriteDirContext.prototype.DIRECTORY = function() { + return this.getToken(sqlParser.DIRECTORY, 0); +}; + +InsertOverwriteDirContext.prototype.tableProvider = function() { + return this.getTypedRuleContext(TableProviderContext,0); +}; + +InsertOverwriteDirContext.prototype.LOCAL = function() { + return this.getToken(sqlParser.LOCAL, 0); +}; + +InsertOverwriteDirContext.prototype.OPTIONS = function() { + return this.getToken(sqlParser.OPTIONS, 0); +}; + +InsertOverwriteDirContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +InsertOverwriteDirContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; +InsertOverwriteDirContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInsertOverwriteDir(this); + } +}; + +InsertOverwriteDirContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInsertOverwriteDir(this); + } +}; + +InsertOverwriteDirContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInsertOverwriteDir(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function InsertOverwriteTableContext(parser, ctx) { + InsertIntoContext.call(this, parser); + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InsertOverwriteTableContext.prototype = Object.create(InsertIntoContext.prototype); +InsertOverwriteTableContext.prototype.constructor = InsertOverwriteTableContext; + +sqlParser.InsertOverwriteTableContext = InsertOverwriteTableContext; + +InsertOverwriteTableContext.prototype.INSERT = function() { + return this.getToken(sqlParser.INSERT, 0); +}; + +InsertOverwriteTableContext.prototype.OVERWRITE = function() { + return this.getToken(sqlParser.OVERWRITE, 0); +}; + +InsertOverwriteTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +InsertOverwriteTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +InsertOverwriteTableContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +InsertOverwriteTableContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +InsertOverwriteTableContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +InsertOverwriteTableContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; +InsertOverwriteTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInsertOverwriteTable(this); + } +}; + +InsertOverwriteTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInsertOverwriteTable(this); + } +}; + +InsertOverwriteTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInsertOverwriteTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function InsertIntoTableContext(parser, ctx) { + InsertIntoContext.call(this, parser); + InsertIntoContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InsertIntoTableContext.prototype = Object.create(InsertIntoContext.prototype); +InsertIntoTableContext.prototype.constructor = InsertIntoTableContext; + +sqlParser.InsertIntoTableContext = InsertIntoTableContext; + +InsertIntoTableContext.prototype.INSERT = function() { + return this.getToken(sqlParser.INSERT, 0); +}; + +InsertIntoTableContext.prototype.INTO = function() { + return this.getToken(sqlParser.INTO, 0); +}; + +InsertIntoTableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +InsertIntoTableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +InsertIntoTableContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; +InsertIntoTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInsertIntoTable(this); + } +}; + +InsertIntoTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInsertIntoTable(this); + } +}; + +InsertIntoTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInsertIntoTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.InsertIntoContext = InsertIntoContext; + +sqlParser.prototype.insertInto = function() { + + var localctx = new InsertIntoContext(this, this._ctx, this.state); + this.enterRule(localctx, 26, sqlParser.RULE_insertInto); + var _la = 0; // Token type + try { + this.state = 1136; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,126,this._ctx); + switch(la_) { + case 1: + localctx = new InsertOverwriteTableContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1088; + this.match(sqlParser.INSERT); + this.state = 1089; + this.match(sqlParser.OVERWRITE); + this.state = 1090; + this.match(sqlParser.TABLE); + this.state = 1091; + this.tableIdentifier(); + this.state = 1098; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1092; + this.partitionSpec(); + this.state = 1096; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IF) { + this.state = 1093; + this.match(sqlParser.IF); + this.state = 1094; + this.match(sqlParser.NOT); + this.state = 1095; + this.match(sqlParser.EXISTS); + } + + } + + break; + + case 2: + localctx = new InsertIntoTableContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1100; + this.match(sqlParser.INSERT); + this.state = 1101; + this.match(sqlParser.INTO); + this.state = 1103; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,118,this._ctx); + if(la_===1) { + this.state = 1102; + this.match(sqlParser.TABLE); + + } + this.state = 1105; + this.tableIdentifier(); + this.state = 1107; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION) { + this.state = 1106; + this.partitionSpec(); + } + + break; + + case 3: + localctx = new InsertOverwriteHiveDirContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1109; + this.match(sqlParser.INSERT); + this.state = 1110; + this.match(sqlParser.OVERWRITE); + this.state = 1112; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCAL) { + this.state = 1111; + this.match(sqlParser.LOCAL); + } + + this.state = 1114; + this.match(sqlParser.DIRECTORY); + this.state = 1115; + localctx.path = this.match(sqlParser.STRING); + this.state = 1117; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ROW) { + this.state = 1116; + this.rowFormat(); + } + + this.state = 1120; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.STORED) { + this.state = 1119; + this.createFileFormat(); + } + + break; + + case 4: + localctx = new InsertOverwriteDirContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1122; + this.match(sqlParser.INSERT); + this.state = 1123; + this.match(sqlParser.OVERWRITE); + this.state = 1125; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCAL) { + this.state = 1124; + this.match(sqlParser.LOCAL); + } + + this.state = 1127; + this.match(sqlParser.DIRECTORY); + this.state = 1129; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.STRING) { + this.state = 1128; + localctx.path = this.match(sqlParser.STRING); + } + + this.state = 1131; + this.tableProvider(); + this.state = 1134; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OPTIONS) { + this.state = 1132; + this.match(sqlParser.OPTIONS); + this.state = 1133; + localctx.options = this.tablePropertyList(); + } + + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PartitionSpecLocationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionSpecLocation; + return this; +} + +PartitionSpecLocationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionSpecLocationContext.prototype.constructor = PartitionSpecLocationContext; + +PartitionSpecLocationContext.prototype.partitionSpec = function() { + return this.getTypedRuleContext(PartitionSpecContext,0); +}; + +PartitionSpecLocationContext.prototype.locationSpec = function() { + return this.getTypedRuleContext(LocationSpecContext,0); +}; + +PartitionSpecLocationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPartitionSpecLocation(this); + } +}; + +PartitionSpecLocationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPartitionSpecLocation(this); + } +}; + +PartitionSpecLocationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPartitionSpecLocation(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PartitionSpecLocationContext = PartitionSpecLocationContext; + +sqlParser.prototype.partitionSpecLocation = function() { + + var localctx = new PartitionSpecLocationContext(this, this._ctx, this.state); + this.enterRule(localctx, 28, sqlParser.RULE_partitionSpecLocation); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1138; + this.partitionSpec(); + this.state = 1140; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LOCATION) { + this.state = 1139; + this.locationSpec(); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PartitionSpecContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionSpec; + return this; +} + +PartitionSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionSpecContext.prototype.constructor = PartitionSpecContext; + +PartitionSpecContext.prototype.PARTITION = function() { + return this.getToken(sqlParser.PARTITION, 0); +}; + +PartitionSpecContext.prototype.partitionVal = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PartitionValContext); + } else { + return this.getTypedRuleContext(PartitionValContext,i); + } +}; + +PartitionSpecContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPartitionSpec(this); + } +}; + +PartitionSpecContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPartitionSpec(this); + } +}; + +PartitionSpecContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPartitionSpec(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PartitionSpecContext = PartitionSpecContext; + +sqlParser.prototype.partitionSpec = function() { + + var localctx = new PartitionSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 30, sqlParser.RULE_partitionSpec); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1142; + this.match(sqlParser.PARTITION); + this.state = 1143; + this.match(sqlParser.T__0); + this.state = 1144; + this.partitionVal(); + this.state = 1149; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1145; + this.match(sqlParser.T__3); + this.state = 1146; + this.partitionVal(); + this.state = 1151; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1152; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PartitionValContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_partitionVal; + return this; +} + +PartitionValContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PartitionValContext.prototype.constructor = PartitionValContext; + +PartitionValContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +PartitionValContext.prototype.EQ = function() { + return this.getToken(sqlParser.EQ, 0); +}; + +PartitionValContext.prototype.constant = function() { + return this.getTypedRuleContext(ConstantContext,0); +}; + +PartitionValContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPartitionVal(this); + } +}; + +PartitionValContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPartitionVal(this); + } +}; + +PartitionValContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPartitionVal(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PartitionValContext = PartitionValContext; + +sqlParser.prototype.partitionVal = function() { + + var localctx = new PartitionValContext(this, this._ctx, this.state); + this.enterRule(localctx, 32, sqlParser.RULE_partitionVal); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1154; + this.identifier(); + this.state = 1157; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.EQ) { + this.state = 1155; + this.match(sqlParser.EQ); + this.state = 1156; + this.constant(); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function DescribeFuncNameContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_describeFuncName; + return this; +} + +DescribeFuncNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DescribeFuncNameContext.prototype.constructor = DescribeFuncNameContext; + +DescribeFuncNameContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +DescribeFuncNameContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +DescribeFuncNameContext.prototype.comparisonOperator = function() { + return this.getTypedRuleContext(ComparisonOperatorContext,0); +}; + +DescribeFuncNameContext.prototype.arithmeticOperator = function() { + return this.getTypedRuleContext(ArithmeticOperatorContext,0); +}; + +DescribeFuncNameContext.prototype.predicateOperator = function() { + return this.getTypedRuleContext(PredicateOperatorContext,0); +}; + +DescribeFuncNameContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDescribeFuncName(this); + } +}; + +DescribeFuncNameContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDescribeFuncName(this); + } +}; + +DescribeFuncNameContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDescribeFuncName(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.DescribeFuncNameContext = DescribeFuncNameContext; + +sqlParser.prototype.describeFuncName = function() { + + var localctx = new DescribeFuncNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 34, sqlParser.RULE_describeFuncName); + try { + this.state = 1164; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,130,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1159; + this.qualifiedName(); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1160; + this.match(sqlParser.STRING); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1161; + this.comparisonOperator(); + break; + + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 1162; + this.arithmeticOperator(); + break; + + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 1163; + this.predicateOperator(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function DescribeColNameContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_describeColName; + this._identifier = null; // IdentifierContext + this.nameParts = []; // of IdentifierContexts + return this; +} + +DescribeColNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DescribeColNameContext.prototype.constructor = DescribeColNameContext; + +DescribeColNameContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +DescribeColNameContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDescribeColName(this); + } +}; + +DescribeColNameContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDescribeColName(this); + } +}; + +DescribeColNameContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDescribeColName(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.DescribeColNameContext = DescribeColNameContext; + +sqlParser.prototype.describeColName = function() { + + var localctx = new DescribeColNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 36, sqlParser.RULE_describeColName); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1166; + localctx._identifier = this.identifier(); + localctx.nameParts.push(localctx._identifier); + this.state = 1171; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__2) { + this.state = 1167; + this.match(sqlParser.T__2); + this.state = 1168; + localctx._identifier = this.identifier(); + localctx.nameParts.push(localctx._identifier); + this.state = 1173; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function CtesContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_ctes; + return this; +} + +CtesContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CtesContext.prototype.constructor = CtesContext; + +CtesContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +CtesContext.prototype.namedQuery = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(NamedQueryContext); + } else { + return this.getTypedRuleContext(NamedQueryContext,i); + } +}; + +CtesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCtes(this); + } +}; + +CtesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCtes(this); + } +}; + +CtesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCtes(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.CtesContext = CtesContext; + +sqlParser.prototype.ctes = function() { + + var localctx = new CtesContext(this, this._ctx, this.state); + this.enterRule(localctx, 38, sqlParser.RULE_ctes); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1174; + this.match(sqlParser.WITH); + this.state = 1175; + this.namedQuery(); + this.state = 1180; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1176; + this.match(sqlParser.T__3); + this.state = 1177; + this.namedQuery(); + this.state = 1182; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NamedQueryContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedQuery; + this.name = null; // IdentifierContext + return this; +} + +NamedQueryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedQueryContext.prototype.constructor = NamedQueryContext; + +NamedQueryContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +NamedQueryContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +NamedQueryContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +NamedQueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNamedQuery(this); + } +}; + +NamedQueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNamedQuery(this); + } +}; + +NamedQueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNamedQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NamedQueryContext = NamedQueryContext; + +sqlParser.prototype.namedQuery = function() { + + var localctx = new NamedQueryContext(this, this._ctx, this.state); + this.enterRule(localctx, 40, sqlParser.RULE_namedQuery); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1183; + localctx.name = this.identifier(); + this.state = 1185; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 1184; + this.match(sqlParser.AS); + } + + this.state = 1187; + this.match(sqlParser.T__0); + this.state = 1188; + this.query(); + this.state = 1189; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TableProviderContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableProvider; + return this; +} + +TableProviderContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableProviderContext.prototype.constructor = TableProviderContext; + +TableProviderContext.prototype.USING = function() { + return this.getToken(sqlParser.USING, 0); +}; + +TableProviderContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +TableProviderContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableProvider(this); + } +}; + +TableProviderContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableProvider(this); + } +}; + +TableProviderContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableProvider(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TableProviderContext = TableProviderContext; + +sqlParser.prototype.tableProvider = function() { + + var localctx = new TableProviderContext(this, this._ctx, this.state); + this.enterRule(localctx, 42, sqlParser.RULE_tableProvider); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1191; + this.match(sqlParser.USING); + this.state = 1192; + this.qualifiedName(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TablePropertyListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyList; + return this; +} + +TablePropertyListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyListContext.prototype.constructor = TablePropertyListContext; + +TablePropertyListContext.prototype.tableProperty = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(TablePropertyContext); + } else { + return this.getTypedRuleContext(TablePropertyContext,i); + } +}; + +TablePropertyListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTablePropertyList(this); + } +}; + +TablePropertyListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTablePropertyList(this); + } +}; + +TablePropertyListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTablePropertyList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TablePropertyListContext = TablePropertyListContext; + +sqlParser.prototype.tablePropertyList = function() { + + var localctx = new TablePropertyListContext(this, this._ctx, this.state); + this.enterRule(localctx, 44, sqlParser.RULE_tablePropertyList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1194; + this.match(sqlParser.T__0); + this.state = 1195; + this.tableProperty(); + this.state = 1200; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1196; + this.match(sqlParser.T__3); + this.state = 1197; + this.tableProperty(); + this.state = 1202; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1203; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TablePropertyContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableProperty; + this.key = null; // TablePropertyKeyContext + this.value = null; // TablePropertyValueContext + return this; +} + +TablePropertyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyContext.prototype.constructor = TablePropertyContext; + +TablePropertyContext.prototype.tablePropertyKey = function() { + return this.getTypedRuleContext(TablePropertyKeyContext,0); +}; + +TablePropertyContext.prototype.tablePropertyValue = function() { + return this.getTypedRuleContext(TablePropertyValueContext,0); +}; + +TablePropertyContext.prototype.EQ = function() { + return this.getToken(sqlParser.EQ, 0); +}; + +TablePropertyContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableProperty(this); + } +}; + +TablePropertyContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableProperty(this); + } +}; + +TablePropertyContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableProperty(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TablePropertyContext = TablePropertyContext; + +sqlParser.prototype.tableProperty = function() { + + var localctx = new TablePropertyContext(this, this._ctx, this.state); + this.enterRule(localctx, 46, sqlParser.RULE_tableProperty); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1205; + localctx.key = this.tablePropertyKey(); + this.state = 1210; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.TRUE || _la===sqlParser.FALSE || _la===sqlParser.EQ || ((((_la - 241)) & ~0x1f) == 0 && ((1 << (_la - 241)) & ((1 << (sqlParser.STRING - 241)) | (1 << (sqlParser.INTEGER_VALUE - 241)) | (1 << (sqlParser.DECIMAL_VALUE - 241)))) !== 0)) { + this.state = 1207; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.EQ) { + this.state = 1206; + this.match(sqlParser.EQ); + } + + this.state = 1209; + localctx.value = this.tablePropertyValue(); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TablePropertyKeyContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyKey; + return this; +} + +TablePropertyKeyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyKeyContext.prototype.constructor = TablePropertyKeyContext; + +TablePropertyKeyContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +TablePropertyKeyContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +TablePropertyKeyContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTablePropertyKey(this); + } +}; + +TablePropertyKeyContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTablePropertyKey(this); + } +}; + +TablePropertyKeyContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTablePropertyKey(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TablePropertyKeyContext = TablePropertyKeyContext; + +sqlParser.prototype.tablePropertyKey = function() { + + var localctx = new TablePropertyKeyContext(this, this._ctx, this.state); + this.enterRule(localctx, 48, sqlParser.RULE_tablePropertyKey); + var _la = 0; // Token type + try { + this.state = 1221; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 1212; + this.identifier(); + this.state = 1217; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__2) { + this.state = 1213; + this.match(sqlParser.T__2); + this.state = 1214; + this.identifier(); + this.state = 1219; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 2); + this.state = 1220; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TablePropertyValueContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tablePropertyValue; + return this; +} + +TablePropertyValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TablePropertyValueContext.prototype.constructor = TablePropertyValueContext; + +TablePropertyValueContext.prototype.INTEGER_VALUE = function() { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; + +TablePropertyValueContext.prototype.DECIMAL_VALUE = function() { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; + +TablePropertyValueContext.prototype.booleanValue = function() { + return this.getTypedRuleContext(BooleanValueContext,0); +}; + +TablePropertyValueContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +TablePropertyValueContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTablePropertyValue(this); + } +}; + +TablePropertyValueContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTablePropertyValue(this); + } +}; + +TablePropertyValueContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTablePropertyValue(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TablePropertyValueContext = TablePropertyValueContext; + +sqlParser.prototype.tablePropertyValue = function() { + + var localctx = new TablePropertyValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 50, sqlParser.RULE_tablePropertyValue); + try { + this.state = 1227; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.INTEGER_VALUE: + this.enterOuterAlt(localctx, 1); + this.state = 1223; + this.match(sqlParser.INTEGER_VALUE); + break; + case sqlParser.DECIMAL_VALUE: + this.enterOuterAlt(localctx, 2); + this.state = 1224; + this.match(sqlParser.DECIMAL_VALUE); + break; + case sqlParser.TRUE: + case sqlParser.FALSE: + this.enterOuterAlt(localctx, 3); + this.state = 1225; + this.booleanValue(); + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 4); + this.state = 1226; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ConstantListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_constantList; + return this; +} + +ConstantListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ConstantListContext.prototype.constructor = ConstantListContext; + +ConstantListContext.prototype.constant = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ConstantContext); + } else { + return this.getTypedRuleContext(ConstantContext,i); + } +}; + +ConstantListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterConstantList(this); + } +}; + +ConstantListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitConstantList(this); + } +}; + +ConstantListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitConstantList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ConstantListContext = ConstantListContext; + +sqlParser.prototype.constantList = function() { + + var localctx = new ConstantListContext(this, this._ctx, this.state); + this.enterRule(localctx, 52, sqlParser.RULE_constantList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1229; + this.match(sqlParser.T__0); + this.state = 1230; + this.constant(); + this.state = 1235; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1231; + this.match(sqlParser.T__3); + this.state = 1232; + this.constant(); + this.state = 1237; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1238; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NestedConstantListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_nestedConstantList; + return this; +} + +NestedConstantListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NestedConstantListContext.prototype.constructor = NestedConstantListContext; + +NestedConstantListContext.prototype.constantList = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ConstantListContext); + } else { + return this.getTypedRuleContext(ConstantListContext,i); + } +}; + +NestedConstantListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNestedConstantList(this); + } +}; + +NestedConstantListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNestedConstantList(this); + } +}; + +NestedConstantListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNestedConstantList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NestedConstantListContext = NestedConstantListContext; + +sqlParser.prototype.nestedConstantList = function() { + + var localctx = new NestedConstantListContext(this, this._ctx, this.state); + this.enterRule(localctx, 54, sqlParser.RULE_nestedConstantList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1240; + this.match(sqlParser.T__0); + this.state = 1241; + this.constantList(); + this.state = 1246; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1242; + this.match(sqlParser.T__3); + this.state = 1243; + this.constantList(); + this.state = 1248; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1249; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function CreateFileFormatContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_createFileFormat; + return this; +} + +CreateFileFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +CreateFileFormatContext.prototype.constructor = CreateFileFormatContext; + +CreateFileFormatContext.prototype.STORED = function() { + return this.getToken(sqlParser.STORED, 0); +}; + +CreateFileFormatContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +CreateFileFormatContext.prototype.fileFormat = function() { + return this.getTypedRuleContext(FileFormatContext,0); +}; + +CreateFileFormatContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +CreateFileFormatContext.prototype.storageHandler = function() { + return this.getTypedRuleContext(StorageHandlerContext,0); +}; + +CreateFileFormatContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCreateFileFormat(this); + } +}; + +CreateFileFormatContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCreateFileFormat(this); + } +}; + +CreateFileFormatContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCreateFileFormat(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.CreateFileFormatContext = CreateFileFormatContext; + +sqlParser.prototype.createFileFormat = function() { + + var localctx = new CreateFileFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 56, sqlParser.RULE_createFileFormat); + try { + this.state = 1257; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,142,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1251; + this.match(sqlParser.STORED); + this.state = 1252; + this.match(sqlParser.AS); + this.state = 1253; + this.fileFormat(); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1254; + this.match(sqlParser.STORED); + this.state = 1255; + this.match(sqlParser.BY); + this.state = 1256; + this.storageHandler(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function FileFormatContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_fileFormat; + return this; +} + +FileFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FileFormatContext.prototype.constructor = FileFormatContext; + + + +FileFormatContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function TableFileFormatContext(parser, ctx) { + FileFormatContext.call(this, parser); + this.inFmt = null; // Token; + this.outFmt = null; // Token; + FileFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TableFileFormatContext.prototype = Object.create(FileFormatContext.prototype); +TableFileFormatContext.prototype.constructor = TableFileFormatContext; + +sqlParser.TableFileFormatContext = TableFileFormatContext; + +TableFileFormatContext.prototype.INPUTFORMAT = function() { + return this.getToken(sqlParser.INPUTFORMAT, 0); +}; + +TableFileFormatContext.prototype.OUTPUTFORMAT = function() { + return this.getToken(sqlParser.OUTPUTFORMAT, 0); +}; + +TableFileFormatContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + +TableFileFormatContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableFileFormat(this); + } +}; + +TableFileFormatContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableFileFormat(this); + } +}; + +TableFileFormatContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableFileFormat(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function GenericFileFormatContext(parser, ctx) { + FileFormatContext.call(this, parser); + FileFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} + +GenericFileFormatContext.prototype = Object.create(FileFormatContext.prototype); +GenericFileFormatContext.prototype.constructor = GenericFileFormatContext; + +sqlParser.GenericFileFormatContext = GenericFileFormatContext; + +GenericFileFormatContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +GenericFileFormatContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterGenericFileFormat(this); + } +}; + +GenericFileFormatContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitGenericFileFormat(this); + } +}; + +GenericFileFormatContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitGenericFileFormat(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.FileFormatContext = FileFormatContext; + +sqlParser.prototype.fileFormat = function() { + + var localctx = new FileFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 58, sqlParser.RULE_fileFormat); + try { + this.state = 1264; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,143,this._ctx); + switch(la_) { + case 1: + localctx = new TableFileFormatContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1259; + this.match(sqlParser.INPUTFORMAT); + this.state = 1260; + localctx.inFmt = this.match(sqlParser.STRING); + this.state = 1261; + this.match(sqlParser.OUTPUTFORMAT); + this.state = 1262; + localctx.outFmt = this.match(sqlParser.STRING); + break; + + case 2: + localctx = new GenericFileFormatContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1263; + this.identifier(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function StorageHandlerContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_storageHandler; + return this; +} + +StorageHandlerContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StorageHandlerContext.prototype.constructor = StorageHandlerContext; + +StorageHandlerContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +StorageHandlerContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +StorageHandlerContext.prototype.SERDEPROPERTIES = function() { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; + +StorageHandlerContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; + +StorageHandlerContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterStorageHandler(this); + } +}; + +StorageHandlerContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitStorageHandler(this); + } +}; + +StorageHandlerContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitStorageHandler(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.StorageHandlerContext = StorageHandlerContext; + +sqlParser.prototype.storageHandler = function() { + + var localctx = new StorageHandlerContext(this, this._ctx, this.state); + this.enterRule(localctx, 60, sqlParser.RULE_storageHandler); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1266; + this.match(sqlParser.STRING); + this.state = 1270; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,144,this._ctx); + if(la_===1) { + this.state = 1267; + this.match(sqlParser.WITH); + this.state = 1268; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 1269; + this.tablePropertyList(); + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ResourceContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_resource; + return this; +} + +ResourceContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ResourceContext.prototype.constructor = ResourceContext; + +ResourceContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ResourceContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ResourceContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterResource(this); + } +}; + +ResourceContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitResource(this); + } +}; + +ResourceContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitResource(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ResourceContext = ResourceContext; + +sqlParser.prototype.resource = function() { + + var localctx = new ResourceContext(this, this._ctx, this.state); + this.enterRule(localctx, 62, sqlParser.RULE_resource); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1272; + this.identifier(); + this.state = 1273; + this.match(sqlParser.STRING); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QueryNoWithContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryNoWith; + return this; +} + +QueryNoWithContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryNoWithContext.prototype.constructor = QueryNoWithContext; + + + +QueryNoWithContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function SingleInsertQueryContext(parser, ctx) { + QueryNoWithContext.call(this, parser); + QueryNoWithContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SingleInsertQueryContext.prototype = Object.create(QueryNoWithContext.prototype); +SingleInsertQueryContext.prototype.constructor = SingleInsertQueryContext; + +sqlParser.SingleInsertQueryContext = SingleInsertQueryContext; + +SingleInsertQueryContext.prototype.queryTerm = function() { + return this.getTypedRuleContext(QueryTermContext,0); +}; + +SingleInsertQueryContext.prototype.queryOrganization = function() { + return this.getTypedRuleContext(QueryOrganizationContext,0); +}; + +SingleInsertQueryContext.prototype.insertInto = function() { + return this.getTypedRuleContext(InsertIntoContext,0); +}; +SingleInsertQueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSingleInsertQuery(this); + } +}; + +SingleInsertQueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSingleInsertQuery(this); + } +}; + +SingleInsertQueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSingleInsertQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function MultiInsertQueryContext(parser, ctx) { + QueryNoWithContext.call(this, parser); + QueryNoWithContext.prototype.copyFrom.call(this, ctx); + return this; +} + +MultiInsertQueryContext.prototype = Object.create(QueryNoWithContext.prototype); +MultiInsertQueryContext.prototype.constructor = MultiInsertQueryContext; + +sqlParser.MultiInsertQueryContext = MultiInsertQueryContext; + +MultiInsertQueryContext.prototype.fromClause = function() { + return this.getTypedRuleContext(FromClauseContext,0); +}; + +MultiInsertQueryContext.prototype.multiInsertQueryBody = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(MultiInsertQueryBodyContext); + } else { + return this.getTypedRuleContext(MultiInsertQueryBodyContext,i); + } +}; +MultiInsertQueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterMultiInsertQuery(this); + } +}; + +MultiInsertQueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitMultiInsertQuery(this); + } +}; + +MultiInsertQueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitMultiInsertQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.QueryNoWithContext = QueryNoWithContext; + +sqlParser.prototype.queryNoWith = function() { + + var localctx = new QueryNoWithContext(this, this._ctx, this.state); + this.enterRule(localctx, 64, sqlParser.RULE_queryNoWith); + var _la = 0; // Token type + try { + this.state = 1287; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,147,this._ctx); + switch(la_) { + case 1: + localctx = new SingleInsertQueryContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1276; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.INSERT) { + this.state = 1275; + this.insertInto(); + } + + this.state = 1278; + this.queryTerm(0); + this.state = 1279; + this.queryOrganization(); + break; + + case 2: + localctx = new MultiInsertQueryContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1281; + this.fromClause(); + this.state = 1283; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 1282; + this.multiInsertQueryBody(); + this.state = 1285; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.SELECT || _la===sqlParser.FROM || _la===sqlParser.INSERT || _la===sqlParser.MAP || _la===sqlParser.REDUCE); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QueryOrganizationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryOrganization; + this._sortItem = null; // SortItemContext + this.order = []; // of SortItemContexts + this._expression = null; // ExpressionContext + this.clusterBy = []; // of ExpressionContexts + this.distributeBy = []; // of ExpressionContexts + this.sort = []; // of SortItemContexts + this.limit = null; // ExpressionContext + return this; +} + +QueryOrganizationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryOrganizationContext.prototype.constructor = QueryOrganizationContext; + +QueryOrganizationContext.prototype.ORDER = function() { + return this.getToken(sqlParser.ORDER, 0); +}; + +QueryOrganizationContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +QueryOrganizationContext.prototype.CLUSTER = function() { + return this.getToken(sqlParser.CLUSTER, 0); +}; + +QueryOrganizationContext.prototype.DISTRIBUTE = function() { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; + +QueryOrganizationContext.prototype.SORT = function() { + return this.getToken(sqlParser.SORT, 0); +}; + +QueryOrganizationContext.prototype.windows = function() { + return this.getTypedRuleContext(WindowsContext,0); +}; + +QueryOrganizationContext.prototype.LIMIT = function() { + return this.getToken(sqlParser.LIMIT, 0); +}; + +QueryOrganizationContext.prototype.sortItem = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(SortItemContext); + } else { + return this.getTypedRuleContext(SortItemContext,i); + } +}; + +QueryOrganizationContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +QueryOrganizationContext.prototype.ALL = function() { + return this.getToken(sqlParser.ALL, 0); +}; + +QueryOrganizationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQueryOrganization(this); + } +}; + +QueryOrganizationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQueryOrganization(this); + } +}; + +QueryOrganizationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQueryOrganization(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.QueryOrganizationContext = QueryOrganizationContext; + +sqlParser.prototype.queryOrganization = function() { + + var localctx = new QueryOrganizationContext(this, this._ctx, this.state); + this.enterRule(localctx, 66, sqlParser.RULE_queryOrganization); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1299; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ORDER) { + this.state = 1289; + this.match(sqlParser.ORDER); + this.state = 1290; + this.match(sqlParser.BY); + this.state = 1291; + localctx._sortItem = this.sortItem(); + localctx.order.push(localctx._sortItem); + this.state = 1296; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1292; + this.match(sqlParser.T__3); + this.state = 1293; + localctx._sortItem = this.sortItem(); + localctx.order.push(localctx._sortItem); + this.state = 1298; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1311; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.CLUSTER) { + this.state = 1301; + this.match(sqlParser.CLUSTER); + this.state = 1302; + this.match(sqlParser.BY); + this.state = 1303; + localctx._expression = this.expression(); + localctx.clusterBy.push(localctx._expression); + this.state = 1308; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1304; + this.match(sqlParser.T__3); + this.state = 1305; + localctx._expression = this.expression(); + localctx.clusterBy.push(localctx._expression); + this.state = 1310; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1323; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.DISTRIBUTE) { + this.state = 1313; + this.match(sqlParser.DISTRIBUTE); + this.state = 1314; + this.match(sqlParser.BY); + this.state = 1315; + localctx._expression = this.expression(); + localctx.distributeBy.push(localctx._expression); + this.state = 1320; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1316; + this.match(sqlParser.T__3); + this.state = 1317; + localctx._expression = this.expression(); + localctx.distributeBy.push(localctx._expression); + this.state = 1322; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1335; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.SORT) { + this.state = 1325; + this.match(sqlParser.SORT); + this.state = 1326; + this.match(sqlParser.BY); + this.state = 1327; + localctx._sortItem = this.sortItem(); + localctx.sort.push(localctx._sortItem); + this.state = 1332; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1328; + this.match(sqlParser.T__3); + this.state = 1329; + localctx._sortItem = this.sortItem(); + localctx.sort.push(localctx._sortItem); + this.state = 1334; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1338; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.WINDOW) { + this.state = 1337; + this.windows(); + } + + this.state = 1345; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LIMIT) { + this.state = 1340; + this.match(sqlParser.LIMIT); + this.state = 1343; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,157,this._ctx); + switch(la_) { + case 1: + this.state = 1341; + this.match(sqlParser.ALL); + break; + + case 2: + this.state = 1342; + localctx.limit = this.expression(); + break; + + } + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function MultiInsertQueryBodyContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_multiInsertQueryBody; + return this; +} + +MultiInsertQueryBodyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +MultiInsertQueryBodyContext.prototype.constructor = MultiInsertQueryBodyContext; + +MultiInsertQueryBodyContext.prototype.querySpecification = function() { + return this.getTypedRuleContext(QuerySpecificationContext,0); +}; + +MultiInsertQueryBodyContext.prototype.queryOrganization = function() { + return this.getTypedRuleContext(QueryOrganizationContext,0); +}; + +MultiInsertQueryBodyContext.prototype.insertInto = function() { + return this.getTypedRuleContext(InsertIntoContext,0); +}; + +MultiInsertQueryBodyContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterMultiInsertQueryBody(this); + } +}; + +MultiInsertQueryBodyContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitMultiInsertQueryBody(this); + } +}; + +MultiInsertQueryBodyContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitMultiInsertQueryBody(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.MultiInsertQueryBodyContext = MultiInsertQueryBodyContext; + +sqlParser.prototype.multiInsertQueryBody = function() { + + var localctx = new MultiInsertQueryBodyContext(this, this._ctx, this.state); + this.enterRule(localctx, 68, sqlParser.RULE_multiInsertQueryBody); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1348; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.INSERT) { + this.state = 1347; + this.insertInto(); + } + + this.state = 1350; + this.querySpecification(); + this.state = 1351; + this.queryOrganization(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QueryTermContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryTerm; + return this; +} + +QueryTermContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryTermContext.prototype.constructor = QueryTermContext; + + + +QueryTermContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + +function QueryTermDefaultContext(parser, ctx) { + QueryTermContext.call(this, parser); + QueryTermContext.prototype.copyFrom.call(this, ctx); + return this; +} + +QueryTermDefaultContext.prototype = Object.create(QueryTermContext.prototype); +QueryTermDefaultContext.prototype.constructor = QueryTermDefaultContext; + +sqlParser.QueryTermDefaultContext = QueryTermDefaultContext; + +QueryTermDefaultContext.prototype.queryPrimary = function() { + return this.getTypedRuleContext(QueryPrimaryContext,0); +}; +QueryTermDefaultContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQueryTermDefault(this); + } +}; + +QueryTermDefaultContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQueryTermDefault(this); + } +}; + +QueryTermDefaultContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQueryTermDefault(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SetOperationContext(parser, ctx) { + QueryTermContext.call(this, parser); + this.left = null; // QueryTermContext; + this.operator = null; // Token; + this.right = null; // QueryTermContext; + QueryTermContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SetOperationContext.prototype = Object.create(QueryTermContext.prototype); +SetOperationContext.prototype.constructor = SetOperationContext; + +sqlParser.SetOperationContext = SetOperationContext; + +SetOperationContext.prototype.queryTerm = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(QueryTermContext); + } else { + return this.getTypedRuleContext(QueryTermContext,i); + } +}; + +SetOperationContext.prototype.INTERSECT = function() { + return this.getToken(sqlParser.INTERSECT, 0); +}; + +SetOperationContext.prototype.UNION = function() { + return this.getToken(sqlParser.UNION, 0); +}; + +SetOperationContext.prototype.EXCEPT = function() { + return this.getToken(sqlParser.EXCEPT, 0); +}; + +SetOperationContext.prototype.SETMINUS = function() { + return this.getToken(sqlParser.SETMINUS, 0); +}; + +SetOperationContext.prototype.setQuantifier = function() { + return this.getTypedRuleContext(SetQuantifierContext,0); +}; +SetOperationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetOperation(this); + } +}; + +SetOperationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetOperation(this); + } +}; + +SetOperationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetOperation(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.prototype.queryTerm = function(_p) { + if(_p===undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new QueryTermContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 70; + this.enterRecursionRule(localctx, 70, sqlParser.RULE_queryTerm, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + localctx = new QueryTermDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + + this.state = 1354; + this.queryPrimary(); + this._ctx.stop = this._input.LT(-1); + this.state = 1379; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,164,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + if(this._parseListeners!==null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 1377; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,163,this._ctx); + switch(la_) { + case 1: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1356; + if (!( this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 1357; + if (!( this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "this.legacy_setops_precedence_enbled"); + } + this.state = 1358; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 102)) & ~0x1f) == 0 && ((1 << (_la - 102)) & ((1 << (sqlParser.UNION - 102)) | (1 << (sqlParser.EXCEPT - 102)) | (1 << (sqlParser.SETMINUS - 102)) | (1 << (sqlParser.INTERSECT - 102)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1360; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ALL || _la===sqlParser.DISTINCT) { + this.state = 1359; + this.setQuantifier(); + } + + this.state = 1362; + localctx.right = this.queryTerm(4); + break; + + case 2: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1363; + if (!( this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 1364; + if (!( !this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "!this.legacy_setops_precedence_enbled"); + } + this.state = 1365; + localctx.operator = this.match(sqlParser.INTERSECT); + this.state = 1367; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ALL || _la===sqlParser.DISTINCT) { + this.state = 1366; + this.setQuantifier(); + } + + this.state = 1369; + localctx.right = this.queryTerm(3); + break; + + case 3: + localctx = new SetOperationContext(this, new QueryTermContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_queryTerm); + this.state = 1370; + if (!( this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 1371; + if (!( !this.legacy_setops_precedence_enbled)) { + throw new antlr4.error.FailedPredicateException(this, "!this.legacy_setops_precedence_enbled"); + } + this.state = 1372; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 102)) & ~0x1f) == 0 && ((1 << (_la - 102)) & ((1 << (sqlParser.UNION - 102)) | (1 << (sqlParser.EXCEPT - 102)) | (1 << (sqlParser.SETMINUS - 102)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1374; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ALL || _la===sqlParser.DISTINCT) { + this.state = 1373; + this.setQuantifier(); + } + + this.state = 1376; + localctx.right = this.queryTerm(2); + break; + + } + } + this.state = 1381; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,164,this._ctx); + } + + } catch( error) { + if(error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } else { + throw error; + } + } finally { + this.unrollRecursionContexts(_parentctx) + } + return localctx; +}; + +function QueryPrimaryContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_queryPrimary; + return this; +} + +QueryPrimaryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QueryPrimaryContext.prototype.constructor = QueryPrimaryContext; + + + +QueryPrimaryContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function SubqueryContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SubqueryContext.prototype = Object.create(QueryPrimaryContext.prototype); +SubqueryContext.prototype.constructor = SubqueryContext; + +sqlParser.SubqueryContext = SubqueryContext; + +SubqueryContext.prototype.queryNoWith = function() { + return this.getTypedRuleContext(QueryNoWithContext,0); +}; +SubqueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSubquery(this); + } +}; + +SubqueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSubquery(this); + } +}; + +SubqueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSubquery(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function QueryPrimaryDefaultContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +QueryPrimaryDefaultContext.prototype = Object.create(QueryPrimaryContext.prototype); +QueryPrimaryDefaultContext.prototype.constructor = QueryPrimaryDefaultContext; + +sqlParser.QueryPrimaryDefaultContext = QueryPrimaryDefaultContext; + +QueryPrimaryDefaultContext.prototype.querySpecification = function() { + return this.getTypedRuleContext(QuerySpecificationContext,0); +}; +QueryPrimaryDefaultContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQueryPrimaryDefault(this); + } +}; + +QueryPrimaryDefaultContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQueryPrimaryDefault(this); + } +}; + +QueryPrimaryDefaultContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQueryPrimaryDefault(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function InlineTableDefault1Context(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InlineTableDefault1Context.prototype = Object.create(QueryPrimaryContext.prototype); +InlineTableDefault1Context.prototype.constructor = InlineTableDefault1Context; + +sqlParser.InlineTableDefault1Context = InlineTableDefault1Context; + +InlineTableDefault1Context.prototype.inlineTable = function() { + return this.getTypedRuleContext(InlineTableContext,0); +}; +InlineTableDefault1Context.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInlineTableDefault1(this); + } +}; + +InlineTableDefault1Context.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInlineTableDefault1(this); + } +}; + +InlineTableDefault1Context.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInlineTableDefault1(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function TableContext(parser, ctx) { + QueryPrimaryContext.call(this, parser); + QueryPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TableContext.prototype = Object.create(QueryPrimaryContext.prototype); +TableContext.prototype.constructor = TableContext; + +sqlParser.TableContext = TableContext; + +TableContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +TableContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; +TableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTable(this); + } +}; + +TableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTable(this); + } +}; + +TableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.QueryPrimaryContext = QueryPrimaryContext; + +sqlParser.prototype.queryPrimary = function() { + + var localctx = new QueryPrimaryContext(this, this._ctx, this.state); + this.enterRule(localctx, 72, sqlParser.RULE_queryPrimary); + try { + this.state = 1390; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.MAP: + case sqlParser.REDUCE: + localctx = new QueryPrimaryDefaultContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1382; + this.querySpecification(); + break; + case sqlParser.TABLE: + localctx = new TableContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1383; + this.match(sqlParser.TABLE); + this.state = 1384; + this.tableIdentifier(); + break; + case sqlParser.VALUES: + localctx = new InlineTableDefault1Context(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1385; + this.inlineTable(); + break; + case sqlParser.T__0: + localctx = new SubqueryContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1386; + this.match(sqlParser.T__0); + this.state = 1387; + this.queryNoWith(); + this.state = 1388; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SortItemContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sortItem; + this.ordering = null; // Token + this.nullOrder = null; // Token + return this; +} + +SortItemContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SortItemContext.prototype.constructor = SortItemContext; + +SortItemContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +SortItemContext.prototype.NULLS = function() { + return this.getToken(sqlParser.NULLS, 0); +}; + +SortItemContext.prototype.ASC = function() { + return this.getToken(sqlParser.ASC, 0); +}; + +SortItemContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +SortItemContext.prototype.LAST = function() { + return this.getToken(sqlParser.LAST, 0); +}; + +SortItemContext.prototype.FIRST = function() { + return this.getToken(sqlParser.FIRST, 0); +}; + +SortItemContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSortItem(this); + } +}; + +SortItemContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSortItem(this); + } +}; + +SortItemContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSortItem(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SortItemContext = SortItemContext; + +sqlParser.prototype.sortItem = function() { + + var localctx = new SortItemContext(this, this._ctx, this.state); + this.enterRule(localctx, 74, sqlParser.RULE_sortItem); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1392; + this.expression(); + this.state = 1394; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ASC || _la===sqlParser.DESC) { + this.state = 1393; + localctx.ordering = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.ASC || _la===sqlParser.DESC)) { + localctx.ordering = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + this.state = 1398; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NULLS) { + this.state = 1396; + this.match(sqlParser.NULLS); + this.state = 1397; + localctx.nullOrder = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.FIRST || _la===sqlParser.LAST)) { + localctx.nullOrder = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QuerySpecificationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_querySpecification; + this.kind = null; // Token + this.inRowFormat = null; // RowFormatContext + this.recordWriter = null; // Token + this.script = null; // Token + this.outRowFormat = null; // RowFormatContext + this.recordReader = null; // Token + this.where = null; // BooleanExpressionContext + this._hint = null; // HintContext + this.hints = []; // of HintContexts + this.having = null; // BooleanExpressionContext + return this; +} + +QuerySpecificationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QuerySpecificationContext.prototype.constructor = QuerySpecificationContext; + +QuerySpecificationContext.prototype.USING = function() { + return this.getToken(sqlParser.USING, 0); +}; + +QuerySpecificationContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + + +QuerySpecificationContext.prototype.RECORDWRITER = function() { + return this.getToken(sqlParser.RECORDWRITER, 0); +}; + +QuerySpecificationContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +QuerySpecificationContext.prototype.RECORDREADER = function() { + return this.getToken(sqlParser.RECORDREADER, 0); +}; + +QuerySpecificationContext.prototype.fromClause = function() { + return this.getTypedRuleContext(FromClauseContext,0); +}; + +QuerySpecificationContext.prototype.WHERE = function() { + return this.getToken(sqlParser.WHERE, 0); +}; + +QuerySpecificationContext.prototype.SELECT = function() { + return this.getToken(sqlParser.SELECT, 0); +}; + +QuerySpecificationContext.prototype.namedExpressionSeq = function() { + return this.getTypedRuleContext(NamedExpressionSeqContext,0); +}; + +QuerySpecificationContext.prototype.rowFormat = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(RowFormatContext); + } else { + return this.getTypedRuleContext(RowFormatContext,i); + } +}; + +QuerySpecificationContext.prototype.booleanExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(BooleanExpressionContext); + } else { + return this.getTypedRuleContext(BooleanExpressionContext,i); + } +}; + +QuerySpecificationContext.prototype.TRANSFORM = function() { + return this.getToken(sqlParser.TRANSFORM, 0); +}; + +QuerySpecificationContext.prototype.MAP = function() { + return this.getToken(sqlParser.MAP, 0); +}; + +QuerySpecificationContext.prototype.REDUCE = function() { + return this.getToken(sqlParser.REDUCE, 0); +}; + +QuerySpecificationContext.prototype.identifierSeq = function() { + return this.getTypedRuleContext(IdentifierSeqContext,0); +}; + +QuerySpecificationContext.prototype.colTypeList = function() { + return this.getTypedRuleContext(ColTypeListContext,0); +}; + +QuerySpecificationContext.prototype.lateralView = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(LateralViewContext); + } else { + return this.getTypedRuleContext(LateralViewContext,i); + } +}; + +QuerySpecificationContext.prototype.aggregation = function() { + return this.getTypedRuleContext(AggregationContext,0); +}; + +QuerySpecificationContext.prototype.HAVING = function() { + return this.getToken(sqlParser.HAVING, 0); +}; + +QuerySpecificationContext.prototype.windows = function() { + return this.getTypedRuleContext(WindowsContext,0); +}; + +QuerySpecificationContext.prototype.setQuantifier = function() { + return this.getTypedRuleContext(SetQuantifierContext,0); +}; + +QuerySpecificationContext.prototype.hint = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(HintContext); + } else { + return this.getTypedRuleContext(HintContext,i); + } +}; + +QuerySpecificationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQuerySpecification(this); + } +}; + +QuerySpecificationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQuerySpecification(this); + } +}; + +QuerySpecificationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQuerySpecification(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.QuerySpecificationContext = QuerySpecificationContext; + +sqlParser.prototype.querySpecification = function() { + + var localctx = new QuerySpecificationContext(this, this._ctx, this.state); + this.enterRule(localctx, 76, sqlParser.RULE_querySpecification); + var _la = 0; // Token type + try { + this.state = 1493; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,189,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1410; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + this.state = 1400; + this.match(sqlParser.SELECT); + this.state = 1401; + localctx.kind = this.match(sqlParser.TRANSFORM); + this.state = 1402; + this.match(sqlParser.T__0); + this.state = 1403; + this.namedExpressionSeq(); + this.state = 1404; + this.match(sqlParser.T__1); + break; + case sqlParser.MAP: + this.state = 1406; + localctx.kind = this.match(sqlParser.MAP); + this.state = 1407; + this.namedExpressionSeq(); + break; + case sqlParser.REDUCE: + this.state = 1408; + localctx.kind = this.match(sqlParser.REDUCE); + this.state = 1409; + this.namedExpressionSeq(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 1413; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ROW) { + this.state = 1412; + localctx.inRowFormat = this.rowFormat(); + } + + this.state = 1417; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.RECORDWRITER) { + this.state = 1415; + this.match(sqlParser.RECORDWRITER); + this.state = 1416; + localctx.recordWriter = this.match(sqlParser.STRING); + } + + this.state = 1419; + this.match(sqlParser.USING); + this.state = 1420; + localctx.script = this.match(sqlParser.STRING); + this.state = 1433; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,173,this._ctx); + if(la_===1) { + this.state = 1421; + this.match(sqlParser.AS); + this.state = 1431; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,172,this._ctx); + switch(la_) { + case 1: + this.state = 1422; + this.identifierSeq(); + break; + + case 2: + this.state = 1423; + this.colTypeList(); + break; + + case 3: + this.state = 1424; + this.match(sqlParser.T__0); + this.state = 1427; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,171,this._ctx); + switch(la_) { + case 1: + this.state = 1425; + this.identifierSeq(); + break; + + case 2: + this.state = 1426; + this.colTypeList(); + break; + + } + this.state = 1429; + this.match(sqlParser.T__1); + break; + + } + + } + this.state = 1436; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,174,this._ctx); + if(la_===1) { + this.state = 1435; + localctx.outRowFormat = this.rowFormat(); + + } + this.state = 1440; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,175,this._ctx); + if(la_===1) { + this.state = 1438; + this.match(sqlParser.RECORDREADER); + this.state = 1439; + localctx.recordReader = this.match(sqlParser.STRING); + + } + this.state = 1443; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,176,this._ctx); + if(la_===1) { + this.state = 1442; + this.fromClause(); + + } + this.state = 1447; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,177,this._ctx); + if(la_===1) { + this.state = 1445; + this.match(sqlParser.WHERE); + this.state = 1446; + localctx.where = this.booleanExpression(0); + + } + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1471; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + this.state = 1449; + localctx.kind = this.match(sqlParser.SELECT); + this.state = 1453; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__4) { + this.state = 1450; + localctx._hint = this.hint(); + localctx.hints.push(localctx._hint); + this.state = 1455; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1457; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,179,this._ctx); + if(la_===1) { + this.state = 1456; + this.setQuantifier(); + + } + this.state = 1459; + this.namedExpressionSeq(); + this.state = 1461; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,180,this._ctx); + if(la_===1) { + this.state = 1460; + this.fromClause(); + + } + break; + case sqlParser.FROM: + this.state = 1463; + this.fromClause(); + this.state = 1469; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,182,this._ctx); + if(la_===1) { + this.state = 1464; + localctx.kind = this.match(sqlParser.SELECT); + this.state = 1466; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,181,this._ctx); + if(la_===1) { + this.state = 1465; + this.setQuantifier(); + + } + this.state = 1468; + this.namedExpressionSeq(); + + } + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 1476; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,184,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1473; + this.lateralView(); + } + this.state = 1478; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,184,this._ctx); + } + + this.state = 1481; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,185,this._ctx); + if(la_===1) { + this.state = 1479; + this.match(sqlParser.WHERE); + this.state = 1480; + localctx.where = this.booleanExpression(0); + + } + this.state = 1484; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,186,this._ctx); + if(la_===1) { + this.state = 1483; + this.aggregation(); + + } + this.state = 1488; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,187,this._ctx); + if(la_===1) { + this.state = 1486; + this.match(sqlParser.HAVING); + this.state = 1487; + localctx.having = this.booleanExpression(0); + + } + this.state = 1491; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,188,this._ctx); + if(la_===1) { + this.state = 1490; + this.windows(); + + } + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function HintContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_hint; + this._hintStatement = null; // HintStatementContext + this.hintStatements = []; // of HintStatementContexts + return this; +} + +HintContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +HintContext.prototype.constructor = HintContext; + +HintContext.prototype.hintStatement = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(HintStatementContext); + } else { + return this.getTypedRuleContext(HintStatementContext,i); + } +}; + +HintContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterHint(this); + } +}; + +HintContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitHint(this); + } +}; + +HintContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitHint(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.HintContext = HintContext; + +sqlParser.prototype.hint = function() { + + var localctx = new HintContext(this, this._ctx, this.state); + this.enterRule(localctx, 78, sqlParser.RULE_hint); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1495; + this.match(sqlParser.T__4); + this.state = 1496; + localctx._hintStatement = this.hintStatement(); + localctx.hintStatements.push(localctx._hintStatement); + this.state = 1503; + this._errHandler.sync(this); + _la = this._input.LA(1); + while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__3) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1498; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.T__3) { + this.state = 1497; + this.match(sqlParser.T__3); + } + + this.state = 1500; + localctx._hintStatement = this.hintStatement(); + localctx.hintStatements.push(localctx._hintStatement); + this.state = 1505; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1506; + this.match(sqlParser.T__5); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function HintStatementContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_hintStatement; + this.hintName = null; // IdentifierContext + this._primaryExpression = null; // PrimaryExpressionContext + this.parameters = []; // of PrimaryExpressionContexts + return this; +} + +HintStatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +HintStatementContext.prototype.constructor = HintStatementContext; + +HintStatementContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +HintStatementContext.prototype.primaryExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PrimaryExpressionContext); + } else { + return this.getTypedRuleContext(PrimaryExpressionContext,i); + } +}; + +HintStatementContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterHintStatement(this); + } +}; + +HintStatementContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitHintStatement(this); + } +}; + +HintStatementContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitHintStatement(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.HintStatementContext = HintStatementContext; + +sqlParser.prototype.hintStatement = function() { + + var localctx = new HintStatementContext(this, this._ctx, this.state); + this.enterRule(localctx, 80, sqlParser.RULE_hintStatement); + var _la = 0; // Token type + try { + this.state = 1521; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,193,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1508; + localctx.hintName = this.identifier(); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1509; + localctx.hintName = this.identifier(); + this.state = 1510; + this.match(sqlParser.T__0); + this.state = 1511; + localctx._primaryExpression = this.primaryExpression(0); + localctx.parameters.push(localctx._primaryExpression); + this.state = 1516; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1512; + this.match(sqlParser.T__3); + this.state = 1513; + localctx._primaryExpression = this.primaryExpression(0); + localctx.parameters.push(localctx._primaryExpression); + this.state = 1518; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1519; + this.match(sqlParser.T__1); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function FromClauseContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_fromClause; + return this; +} + +FromClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FromClauseContext.prototype.constructor = FromClauseContext; + +FromClauseContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +FromClauseContext.prototype.relation = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(RelationContext); + } else { + return this.getTypedRuleContext(RelationContext,i); + } +}; + +FromClauseContext.prototype.lateralView = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(LateralViewContext); + } else { + return this.getTypedRuleContext(LateralViewContext,i); + } +}; + +FromClauseContext.prototype.pivotClause = function() { + return this.getTypedRuleContext(PivotClauseContext,0); +}; + +FromClauseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFromClause(this); + } +}; + +FromClauseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFromClause(this); + } +}; + +FromClauseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFromClause(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.FromClauseContext = FromClauseContext; + +sqlParser.prototype.fromClause = function() { + + var localctx = new FromClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 82, sqlParser.RULE_fromClause); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1523; + this.match(sqlParser.FROM); + this.state = 1524; + this.relation(); + this.state = 1529; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,194,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1525; + this.match(sqlParser.T__3); + this.state = 1526; + this.relation(); + } + this.state = 1531; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,194,this._ctx); + } + + this.state = 1535; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,195,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1532; + this.lateralView(); + } + this.state = 1537; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,195,this._ctx); + } + + this.state = 1539; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,196,this._ctx); + if(la_===1) { + this.state = 1538; + this.pivotClause(); + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function AggregationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_aggregation; + this._expression = null; // ExpressionContext + this.groupingExpressions = []; // of ExpressionContexts + this.kind = null; // Token + return this; +} + +AggregationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +AggregationContext.prototype.constructor = AggregationContext; + +AggregationContext.prototype.GROUP = function() { + return this.getToken(sqlParser.GROUP, 0); +}; + +AggregationContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +AggregationContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +AggregationContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +AggregationContext.prototype.SETS = function() { + return this.getToken(sqlParser.SETS, 0); +}; + +AggregationContext.prototype.groupingSet = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(GroupingSetContext); + } else { + return this.getTypedRuleContext(GroupingSetContext,i); + } +}; + +AggregationContext.prototype.ROLLUP = function() { + return this.getToken(sqlParser.ROLLUP, 0); +}; + +AggregationContext.prototype.CUBE = function() { + return this.getToken(sqlParser.CUBE, 0); +}; + +AggregationContext.prototype.GROUPING = function() { + return this.getToken(sqlParser.GROUPING, 0); +}; + +AggregationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAggregation(this); + } +}; + +AggregationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAggregation(this); + } +}; + +AggregationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAggregation(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.AggregationContext = AggregationContext; + +sqlParser.prototype.aggregation = function() { + + var localctx = new AggregationContext(this, this._ctx, this.state); + this.enterRule(localctx, 84, sqlParser.RULE_aggregation); + var _la = 0; // Token type + try { + this.state = 1585; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,201,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1541; + this.match(sqlParser.GROUP); + this.state = 1542; + this.match(sqlParser.BY); + this.state = 1543; + localctx._expression = this.expression(); + localctx.groupingExpressions.push(localctx._expression); + this.state = 1548; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,197,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1544; + this.match(sqlParser.T__3); + this.state = 1545; + localctx._expression = this.expression(); + localctx.groupingExpressions.push(localctx._expression); + } + this.state = 1550; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,197,this._ctx); + } + + this.state = 1568; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,199,this._ctx); + if(la_===1) { + this.state = 1551; + this.match(sqlParser.WITH); + this.state = 1552; + localctx.kind = this.match(sqlParser.ROLLUP); + + } else if(la_===2) { + this.state = 1553; + this.match(sqlParser.WITH); + this.state = 1554; + localctx.kind = this.match(sqlParser.CUBE); + + } else if(la_===3) { + this.state = 1555; + localctx.kind = this.match(sqlParser.GROUPING); + this.state = 1556; + this.match(sqlParser.SETS); + this.state = 1557; + this.match(sqlParser.T__0); + this.state = 1558; + this.groupingSet(); + this.state = 1563; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1559; + this.match(sqlParser.T__3); + this.state = 1560; + this.groupingSet(); + this.state = 1565; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1566; + this.match(sqlParser.T__1); + + } + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1570; + this.match(sqlParser.GROUP); + this.state = 1571; + this.match(sqlParser.BY); + this.state = 1572; + localctx.kind = this.match(sqlParser.GROUPING); + this.state = 1573; + this.match(sqlParser.SETS); + this.state = 1574; + this.match(sqlParser.T__0); + this.state = 1575; + this.groupingSet(); + this.state = 1580; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1576; + this.match(sqlParser.T__3); + this.state = 1577; + this.groupingSet(); + this.state = 1582; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1583; + this.match(sqlParser.T__1); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function GroupingSetContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_groupingSet; + return this; +} + +GroupingSetContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +GroupingSetContext.prototype.constructor = GroupingSetContext; + +GroupingSetContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +GroupingSetContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterGroupingSet(this); + } +}; + +GroupingSetContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitGroupingSet(this); + } +}; + +GroupingSetContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitGroupingSet(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.GroupingSetContext = GroupingSetContext; + +sqlParser.prototype.groupingSet = function() { + + var localctx = new GroupingSetContext(this, this._ctx, this.state); + this.enterRule(localctx, 86, sqlParser.RULE_groupingSet); + var _la = 0; // Token type + try { + this.state = 1600; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,204,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1587; + this.match(sqlParser.T__0); + this.state = 1596; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1588; + this.expression(); + this.state = 1593; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1589; + this.match(sqlParser.T__3); + this.state = 1590; + this.expression(); + this.state = 1595; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1598; + this.match(sqlParser.T__1); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1599; + this.expression(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PivotClauseContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotClause; + this.aggregates = null; // NamedExpressionSeqContext + this._pivotValue = null; // PivotValueContext + this.pivotValues = []; // of PivotValueContexts + return this; +} + +PivotClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotClauseContext.prototype.constructor = PivotClauseContext; + +PivotClauseContext.prototype.PIVOT = function() { + return this.getToken(sqlParser.PIVOT, 0); +}; + +PivotClauseContext.prototype.FOR = function() { + return this.getToken(sqlParser.FOR, 0); +}; + +PivotClauseContext.prototype.pivotColumn = function() { + return this.getTypedRuleContext(PivotColumnContext,0); +}; + +PivotClauseContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +PivotClauseContext.prototype.namedExpressionSeq = function() { + return this.getTypedRuleContext(NamedExpressionSeqContext,0); +}; + +PivotClauseContext.prototype.pivotValue = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(PivotValueContext); + } else { + return this.getTypedRuleContext(PivotValueContext,i); + } +}; + +PivotClauseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPivotClause(this); + } +}; + +PivotClauseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPivotClause(this); + } +}; + +PivotClauseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPivotClause(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PivotClauseContext = PivotClauseContext; + +sqlParser.prototype.pivotClause = function() { + + var localctx = new PivotClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 88, sqlParser.RULE_pivotClause); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1602; + this.match(sqlParser.PIVOT); + this.state = 1603; + this.match(sqlParser.T__0); + this.state = 1604; + localctx.aggregates = this.namedExpressionSeq(); + this.state = 1605; + this.match(sqlParser.FOR); + this.state = 1606; + this.pivotColumn(); + this.state = 1607; + this.match(sqlParser.IN); + this.state = 1608; + this.match(sqlParser.T__0); + this.state = 1609; + localctx._pivotValue = this.pivotValue(); + localctx.pivotValues.push(localctx._pivotValue); + this.state = 1614; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1610; + this.match(sqlParser.T__3); + this.state = 1611; + localctx._pivotValue = this.pivotValue(); + localctx.pivotValues.push(localctx._pivotValue); + this.state = 1616; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1617; + this.match(sqlParser.T__1); + this.state = 1618; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PivotColumnContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotColumn; + this._identifier = null; // IdentifierContext + this.identifiers = []; // of IdentifierContexts + return this; +} + +PivotColumnContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotColumnContext.prototype.constructor = PivotColumnContext; + +PivotColumnContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +PivotColumnContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPivotColumn(this); + } +}; + +PivotColumnContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPivotColumn(this); + } +}; + +PivotColumnContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPivotColumn(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PivotColumnContext = PivotColumnContext; + +sqlParser.prototype.pivotColumn = function() { + + var localctx = new PivotColumnContext(this, this._ctx, this.state); + this.enterRule(localctx, 90, sqlParser.RULE_pivotColumn); + var _la = 0; // Token type + try { + this.state = 1632; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 1620; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + break; + case sqlParser.T__0: + this.enterOuterAlt(localctx, 2); + this.state = 1621; + this.match(sqlParser.T__0); + this.state = 1622; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + this.state = 1627; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1623; + this.match(sqlParser.T__3); + this.state = 1624; + localctx._identifier = this.identifier(); + localctx.identifiers.push(localctx._identifier); + this.state = 1629; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1630; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PivotValueContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_pivotValue; + return this; +} + +PivotValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PivotValueContext.prototype.constructor = PivotValueContext; + +PivotValueContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +PivotValueContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +PivotValueContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +PivotValueContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPivotValue(this); + } +}; + +PivotValueContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPivotValue(this); + } +}; + +PivotValueContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPivotValue(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PivotValueContext = PivotValueContext; + +sqlParser.prototype.pivotValue = function() { + + var localctx = new PivotValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 92, sqlParser.RULE_pivotValue); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1634; + this.expression(); + this.state = 1639; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1636; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,208,this._ctx); + if(la_===1) { + this.state = 1635; + this.match(sqlParser.AS); + + } + this.state = 1638; + this.identifier(); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function LateralViewContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_lateralView; + this.tblName = null; // IdentifierContext + this._identifier = null; // IdentifierContext + this.colName = []; // of IdentifierContexts + return this; +} + +LateralViewContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +LateralViewContext.prototype.constructor = LateralViewContext; + +LateralViewContext.prototype.LATERAL = function() { + return this.getToken(sqlParser.LATERAL, 0); +}; + +LateralViewContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +LateralViewContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +LateralViewContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +LateralViewContext.prototype.OUTER = function() { + return this.getToken(sqlParser.OUTER, 0); +}; + +LateralViewContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +LateralViewContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +LateralViewContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLateralView(this); + } +}; + +LateralViewContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLateralView(this); + } +}; + +LateralViewContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLateralView(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.LateralViewContext = LateralViewContext; + +sqlParser.prototype.lateralView = function() { + + var localctx = new LateralViewContext(this, this._ctx, this.state); + this.enterRule(localctx, 94, sqlParser.RULE_lateralView); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1641; + this.match(sqlParser.LATERAL); + this.state = 1642; + this.match(sqlParser.VIEW); + this.state = 1644; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,210,this._ctx); + if(la_===1) { + this.state = 1643; + this.match(sqlParser.OUTER); + + } + this.state = 1646; + this.qualifiedName(); + this.state = 1647; + this.match(sqlParser.T__0); + this.state = 1656; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1648; + this.expression(); + this.state = 1653; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1649; + this.match(sqlParser.T__3); + this.state = 1650; + this.expression(); + this.state = 1655; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1658; + this.match(sqlParser.T__1); + this.state = 1659; + localctx.tblName = this.identifier(); + this.state = 1671; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,215,this._ctx); + if(la_===1) { + this.state = 1661; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,213,this._ctx); + if(la_===1) { + this.state = 1660; + this.match(sqlParser.AS); + + } + this.state = 1663; + localctx._identifier = this.identifier(); + localctx.colName.push(localctx._identifier); + this.state = 1668; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,214,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1664; + this.match(sqlParser.T__3); + this.state = 1665; + localctx._identifier = this.identifier(); + localctx.colName.push(localctx._identifier); + } + this.state = 1670; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,214,this._ctx); + } + + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SetQuantifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_setQuantifier; + return this; +} + +SetQuantifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SetQuantifierContext.prototype.constructor = SetQuantifierContext; + +SetQuantifierContext.prototype.DISTINCT = function() { + return this.getToken(sqlParser.DISTINCT, 0); +}; + +SetQuantifierContext.prototype.ALL = function() { + return this.getToken(sqlParser.ALL, 0); +}; + +SetQuantifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSetQuantifier(this); + } +}; + +SetQuantifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSetQuantifier(this); + } +}; + +SetQuantifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSetQuantifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SetQuantifierContext = SetQuantifierContext; + +sqlParser.prototype.setQuantifier = function() { + + var localctx = new SetQuantifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 96, sqlParser.RULE_setQuantifier); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1673; + _la = this._input.LA(1); + if(!(_la===sqlParser.ALL || _la===sqlParser.DISTINCT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function RelationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_relation; + return this; +} + +RelationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RelationContext.prototype.constructor = RelationContext; + +RelationContext.prototype.relationPrimary = function() { + return this.getTypedRuleContext(RelationPrimaryContext,0); +}; + +RelationContext.prototype.joinRelation = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(JoinRelationContext); + } else { + return this.getTypedRuleContext(JoinRelationContext,i); + } +}; + +RelationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRelation(this); + } +}; + +RelationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRelation(this); + } +}; + +RelationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRelation(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.RelationContext = RelationContext; + +sqlParser.prototype.relation = function() { + + var localctx = new RelationContext(this, this._ctx, this.state); + this.enterRule(localctx, 98, sqlParser.RULE_relation); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1675; + this.relationPrimary(); + this.state = 1679; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,216,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1676; + this.joinRelation(); + } + this.state = 1681; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,216,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function JoinRelationContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinRelation; + this.right = null; // RelationPrimaryContext + return this; +} + +JoinRelationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinRelationContext.prototype.constructor = JoinRelationContext; + +JoinRelationContext.prototype.JOIN = function() { + return this.getToken(sqlParser.JOIN, 0); +}; + +JoinRelationContext.prototype.relationPrimary = function() { + return this.getTypedRuleContext(RelationPrimaryContext,0); +}; + +JoinRelationContext.prototype.joinType = function() { + return this.getTypedRuleContext(JoinTypeContext,0); +}; + +JoinRelationContext.prototype.joinCriteria = function() { + return this.getTypedRuleContext(JoinCriteriaContext,0); +}; + +JoinRelationContext.prototype.NATURAL = function() { + return this.getToken(sqlParser.NATURAL, 0); +}; + +JoinRelationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterJoinRelation(this); + } +}; + +JoinRelationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitJoinRelation(this); + } +}; + +JoinRelationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitJoinRelation(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.JoinRelationContext = JoinRelationContext; + +sqlParser.prototype.joinRelation = function() { + + var localctx = new JoinRelationContext(this, this._ctx, this.state); + this.enterRule(localctx, 100, sqlParser.RULE_joinRelation); + try { + this.state = 1693; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.ANTI: + this.enterOuterAlt(localctx, 1); + this.state = 1682; + this.joinType(); + this.state = 1683; + this.match(sqlParser.JOIN); + this.state = 1684; + localctx.right = this.relationPrimary(); + this.state = 1686; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,217,this._ctx); + if(la_===1) { + this.state = 1685; + this.joinCriteria(); + + } + break; + case sqlParser.NATURAL: + this.enterOuterAlt(localctx, 2); + this.state = 1688; + this.match(sqlParser.NATURAL); + this.state = 1689; + this.joinType(); + this.state = 1690; + this.match(sqlParser.JOIN); + this.state = 1691; + localctx.right = this.relationPrimary(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function JoinTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinType; + return this; +} + +JoinTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinTypeContext.prototype.constructor = JoinTypeContext; + +JoinTypeContext.prototype.INNER = function() { + return this.getToken(sqlParser.INNER, 0); +}; + +JoinTypeContext.prototype.CROSS = function() { + return this.getToken(sqlParser.CROSS, 0); +}; + +JoinTypeContext.prototype.LEFT = function() { + return this.getToken(sqlParser.LEFT, 0); +}; + +JoinTypeContext.prototype.OUTER = function() { + return this.getToken(sqlParser.OUTER, 0); +}; + +JoinTypeContext.prototype.SEMI = function() { + return this.getToken(sqlParser.SEMI, 0); +}; + +JoinTypeContext.prototype.RIGHT = function() { + return this.getToken(sqlParser.RIGHT, 0); +}; + +JoinTypeContext.prototype.FULL = function() { + return this.getToken(sqlParser.FULL, 0); +}; + +JoinTypeContext.prototype.ANTI = function() { + return this.getToken(sqlParser.ANTI, 0); +}; + +JoinTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterJoinType(this); + } +}; + +JoinTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitJoinType(this); + } +}; + +JoinTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitJoinType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.JoinTypeContext = JoinTypeContext; + +sqlParser.prototype.joinType = function() { + + var localctx = new JoinTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 102, sqlParser.RULE_joinType); + var _la = 0; // Token type + try { + this.state = 1717; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,224,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1696; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.INNER) { + this.state = 1695; + this.match(sqlParser.INNER); + } + + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1698; + this.match(sqlParser.CROSS); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1699; + this.match(sqlParser.LEFT); + this.state = 1701; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OUTER) { + this.state = 1700; + this.match(sqlParser.OUTER); + } + + break; + + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 1703; + this.match(sqlParser.LEFT); + this.state = 1704; + this.match(sqlParser.SEMI); + break; + + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 1705; + this.match(sqlParser.RIGHT); + this.state = 1707; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OUTER) { + this.state = 1706; + this.match(sqlParser.OUTER); + } + + break; + + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 1709; + this.match(sqlParser.FULL); + this.state = 1711; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.OUTER) { + this.state = 1710; + this.match(sqlParser.OUTER); + } + + break; + + case 7: + this.enterOuterAlt(localctx, 7); + this.state = 1714; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.LEFT) { + this.state = 1713; + this.match(sqlParser.LEFT); + } + + this.state = 1716; + this.match(sqlParser.ANTI); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function JoinCriteriaContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_joinCriteria; + return this; +} + +JoinCriteriaContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +JoinCriteriaContext.prototype.constructor = JoinCriteriaContext; + +JoinCriteriaContext.prototype.ON = function() { + return this.getToken(sqlParser.ON, 0); +}; + +JoinCriteriaContext.prototype.booleanExpression = function() { + return this.getTypedRuleContext(BooleanExpressionContext,0); +}; + +JoinCriteriaContext.prototype.USING = function() { + return this.getToken(sqlParser.USING, 0); +}; + +JoinCriteriaContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +JoinCriteriaContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterJoinCriteria(this); + } +}; + +JoinCriteriaContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitJoinCriteria(this); + } +}; + +JoinCriteriaContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitJoinCriteria(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.JoinCriteriaContext = JoinCriteriaContext; + +sqlParser.prototype.joinCriteria = function() { + + var localctx = new JoinCriteriaContext(this, this._ctx, this.state); + this.enterRule(localctx, 104, sqlParser.RULE_joinCriteria); + try { + this.state = 1723; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.ON: + this.enterOuterAlt(localctx, 1); + this.state = 1719; + this.match(sqlParser.ON); + this.state = 1720; + this.booleanExpression(0); + break; + case sqlParser.USING: + this.enterOuterAlt(localctx, 2); + this.state = 1721; + this.match(sqlParser.USING); + this.state = 1722; + this.identifierList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SampleContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sample; + return this; +} + +SampleContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SampleContext.prototype.constructor = SampleContext; + +SampleContext.prototype.TABLESAMPLE = function() { + return this.getToken(sqlParser.TABLESAMPLE, 0); +}; + +SampleContext.prototype.sampleMethod = function() { + return this.getTypedRuleContext(SampleMethodContext,0); +}; + +SampleContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSample(this); + } +}; + +SampleContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSample(this); + } +}; + +SampleContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSample(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.SampleContext = SampleContext; + +sqlParser.prototype.sample = function() { + + var localctx = new SampleContext(this, this._ctx, this.state); + this.enterRule(localctx, 106, sqlParser.RULE_sample); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1725; + this.match(sqlParser.TABLESAMPLE); + this.state = 1726; + this.match(sqlParser.T__0); + this.state = 1728; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1727; + this.sampleMethod(); + } + + this.state = 1730; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function SampleMethodContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_sampleMethod; + return this; +} + +SampleMethodContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +SampleMethodContext.prototype.constructor = SampleMethodContext; + + + +SampleMethodContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function SampleByRowsContext(parser, ctx) { + SampleMethodContext.call(this, parser); + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SampleByRowsContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByRowsContext.prototype.constructor = SampleByRowsContext; + +sqlParser.SampleByRowsContext = SampleByRowsContext; + +SampleByRowsContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +SampleByRowsContext.prototype.ROWS = function() { + return this.getToken(sqlParser.ROWS, 0); +}; +SampleByRowsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSampleByRows(this); + } +}; + +SampleByRowsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSampleByRows(this); + } +}; + +SampleByRowsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSampleByRows(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SampleByPercentileContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.negativeSign = null; // Token; + this.percentage = null; // Token; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SampleByPercentileContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByPercentileContext.prototype.constructor = SampleByPercentileContext; + +sqlParser.SampleByPercentileContext = SampleByPercentileContext; + +SampleByPercentileContext.prototype.PERCENTLIT = function() { + return this.getToken(sqlParser.PERCENTLIT, 0); +}; + +SampleByPercentileContext.prototype.INTEGER_VALUE = function() { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; + +SampleByPercentileContext.prototype.DECIMAL_VALUE = function() { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; + +SampleByPercentileContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +SampleByPercentileContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSampleByPercentile(this); + } +}; + +SampleByPercentileContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSampleByPercentile(this); + } +}; + +SampleByPercentileContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSampleByPercentile(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SampleByBucketContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.sampleType = null; // Token; + this.numerator = null; // Token; + this.denominator = null; // Token; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SampleByBucketContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByBucketContext.prototype.constructor = SampleByBucketContext; + +sqlParser.SampleByBucketContext = SampleByBucketContext; + +SampleByBucketContext.prototype.OUT = function() { + return this.getToken(sqlParser.OUT, 0); +}; + +SampleByBucketContext.prototype.OF = function() { + return this.getToken(sqlParser.OF, 0); +}; + +SampleByBucketContext.prototype.BUCKET = function() { + return this.getToken(sqlParser.BUCKET, 0); +}; + +SampleByBucketContext.prototype.INTEGER_VALUE = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.INTEGER_VALUE); + } else { + return this.getToken(sqlParser.INTEGER_VALUE, i); + } +}; + + +SampleByBucketContext.prototype.ON = function() { + return this.getToken(sqlParser.ON, 0); +}; + +SampleByBucketContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +SampleByBucketContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; +SampleByBucketContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSampleByBucket(this); + } +}; + +SampleByBucketContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSampleByBucket(this); + } +}; + +SampleByBucketContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSampleByBucket(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SampleByBytesContext(parser, ctx) { + SampleMethodContext.call(this, parser); + this.bytes = null; // ExpressionContext; + SampleMethodContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SampleByBytesContext.prototype = Object.create(SampleMethodContext.prototype); +SampleByBytesContext.prototype.constructor = SampleByBytesContext; + +sqlParser.SampleByBytesContext = SampleByBytesContext; + +SampleByBytesContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; +SampleByBytesContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSampleByBytes(this); + } +}; + +SampleByBytesContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSampleByBytes(this); + } +}; + +SampleByBytesContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSampleByBytes(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.SampleMethodContext = SampleMethodContext; + +sqlParser.prototype.sampleMethod = function() { + + var localctx = new SampleMethodContext(this, this._ctx, this.state); + this.enterRule(localctx, 108, sqlParser.RULE_sampleMethod); + var _la = 0; // Token type + try { + this.state = 1756; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,230,this._ctx); + switch(la_) { + case 1: + localctx = new SampleByPercentileContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1733; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 1732; + localctx.negativeSign = this.match(sqlParser.MINUS); + } + + this.state = 1735; + localctx.percentage = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.INTEGER_VALUE || _la===sqlParser.DECIMAL_VALUE)) { + localctx.percentage = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 1736; + this.match(sqlParser.PERCENTLIT); + break; + + case 2: + localctx = new SampleByRowsContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1737; + this.expression(); + this.state = 1738; + this.match(sqlParser.ROWS); + break; + + case 3: + localctx = new SampleByBucketContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1740; + localctx.sampleType = this.match(sqlParser.BUCKET); + this.state = 1741; + localctx.numerator = this.match(sqlParser.INTEGER_VALUE); + this.state = 1742; + this.match(sqlParser.OUT); + this.state = 1743; + this.match(sqlParser.OF); + this.state = 1744; + localctx.denominator = this.match(sqlParser.INTEGER_VALUE); + this.state = 1753; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ON) { + this.state = 1745; + this.match(sqlParser.ON); + this.state = 1751; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,228,this._ctx); + switch(la_) { + case 1: + this.state = 1746; + this.identifier(); + break; + + case 2: + this.state = 1747; + this.qualifiedName(); + this.state = 1748; + this.match(sqlParser.T__0); + this.state = 1749; + this.match(sqlParser.T__1); + break; + + } + } + + break; + + case 4: + localctx = new SampleByBytesContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1755; + localctx.bytes = this.expression(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IdentifierListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierList; + return this; +} + +IdentifierListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierListContext.prototype.constructor = IdentifierListContext; + +IdentifierListContext.prototype.identifierSeq = function() { + return this.getTypedRuleContext(IdentifierSeqContext,0); +}; + +IdentifierListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIdentifierList(this); + } +}; + +IdentifierListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIdentifierList(this); + } +}; + +IdentifierListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIdentifierList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IdentifierListContext = IdentifierListContext; + +sqlParser.prototype.identifierList = function() { + + var localctx = new IdentifierListContext(this, this._ctx, this.state); + this.enterRule(localctx, 110, sqlParser.RULE_identifierList); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1758; + this.match(sqlParser.T__0); + this.state = 1759; + this.identifierSeq(); + this.state = 1760; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IdentifierSeqContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierSeq; + return this; +} + +IdentifierSeqContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierSeqContext.prototype.constructor = IdentifierSeqContext; + +IdentifierSeqContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +IdentifierSeqContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIdentifierSeq(this); + } +}; + +IdentifierSeqContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIdentifierSeq(this); + } +}; + +IdentifierSeqContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIdentifierSeq(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IdentifierSeqContext = IdentifierSeqContext; + +sqlParser.prototype.identifierSeq = function() { + + var localctx = new IdentifierSeqContext(this, this._ctx, this.state); + this.enterRule(localctx, 112, sqlParser.RULE_identifierSeq); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1762; + this.identifier(); + this.state = 1767; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,231,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1763; + this.match(sqlParser.T__3); + this.state = 1764; + this.identifier(); + } + this.state = 1769; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,231,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function OrderedIdentifierListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_orderedIdentifierList; + return this; +} + +OrderedIdentifierListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +OrderedIdentifierListContext.prototype.constructor = OrderedIdentifierListContext; + +OrderedIdentifierListContext.prototype.orderedIdentifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(OrderedIdentifierContext); + } else { + return this.getTypedRuleContext(OrderedIdentifierContext,i); + } +}; + +OrderedIdentifierListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterOrderedIdentifierList(this); + } +}; + +OrderedIdentifierListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitOrderedIdentifierList(this); + } +}; + +OrderedIdentifierListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitOrderedIdentifierList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.OrderedIdentifierListContext = OrderedIdentifierListContext; + +sqlParser.prototype.orderedIdentifierList = function() { + + var localctx = new OrderedIdentifierListContext(this, this._ctx, this.state); + this.enterRule(localctx, 114, sqlParser.RULE_orderedIdentifierList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1770; + this.match(sqlParser.T__0); + this.state = 1771; + this.orderedIdentifier(); + this.state = 1776; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1772; + this.match(sqlParser.T__3); + this.state = 1773; + this.orderedIdentifier(); + this.state = 1778; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1779; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function OrderedIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_orderedIdentifier; + this.ordering = null; // Token + return this; +} + +OrderedIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +OrderedIdentifierContext.prototype.constructor = OrderedIdentifierContext; + +OrderedIdentifierContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +OrderedIdentifierContext.prototype.ASC = function() { + return this.getToken(sqlParser.ASC, 0); +}; + +OrderedIdentifierContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +OrderedIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterOrderedIdentifier(this); + } +}; + +OrderedIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitOrderedIdentifier(this); + } +}; + +OrderedIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitOrderedIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.OrderedIdentifierContext = OrderedIdentifierContext; + +sqlParser.prototype.orderedIdentifier = function() { + + var localctx = new OrderedIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 116, sqlParser.RULE_orderedIdentifier); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1781; + this.identifier(); + this.state = 1783; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ASC || _la===sqlParser.DESC) { + this.state = 1782; + localctx.ordering = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.ASC || _la===sqlParser.DESC)) { + localctx.ordering = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IdentifierCommentListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierCommentList; + return this; +} + +IdentifierCommentListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierCommentListContext.prototype.constructor = IdentifierCommentListContext; + +IdentifierCommentListContext.prototype.identifierComment = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierCommentContext); + } else { + return this.getTypedRuleContext(IdentifierCommentContext,i); + } +}; + +IdentifierCommentListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIdentifierCommentList(this); + } +}; + +IdentifierCommentListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIdentifierCommentList(this); + } +}; + +IdentifierCommentListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIdentifierCommentList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IdentifierCommentListContext = IdentifierCommentListContext; + +sqlParser.prototype.identifierCommentList = function() { + + var localctx = new IdentifierCommentListContext(this, this._ctx, this.state); + this.enterRule(localctx, 118, sqlParser.RULE_identifierCommentList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1785; + this.match(sqlParser.T__0); + this.state = 1786; + this.identifierComment(); + this.state = 1791; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1787; + this.match(sqlParser.T__3); + this.state = 1788; + this.identifierComment(); + this.state = 1793; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1794; + this.match(sqlParser.T__1); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IdentifierCommentContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifierComment; + return this; +} + +IdentifierCommentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierCommentContext.prototype.constructor = IdentifierCommentContext; + +IdentifierCommentContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +IdentifierCommentContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +IdentifierCommentContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +IdentifierCommentContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIdentifierComment(this); + } +}; + +IdentifierCommentContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIdentifierComment(this); + } +}; + +IdentifierCommentContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIdentifierComment(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IdentifierCommentContext = IdentifierCommentContext; + +sqlParser.prototype.identifierComment = function() { + + var localctx = new IdentifierCommentContext(this, this._ctx, this.state); + this.enterRule(localctx, 120, sqlParser.RULE_identifierComment); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1796; + this.identifier(); + this.state = 1799; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 1797; + this.match(sqlParser.COMMENT); + this.state = 1798; + this.match(sqlParser.STRING); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function RelationPrimaryContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_relationPrimary; + return this; +} + +RelationPrimaryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RelationPrimaryContext.prototype.constructor = RelationPrimaryContext; + + + +RelationPrimaryContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function TableValuedFunctionContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TableValuedFunctionContext.prototype = Object.create(RelationPrimaryContext.prototype); +TableValuedFunctionContext.prototype.constructor = TableValuedFunctionContext; + +sqlParser.TableValuedFunctionContext = TableValuedFunctionContext; + +TableValuedFunctionContext.prototype.functionTable = function() { + return this.getTypedRuleContext(FunctionTableContext,0); +}; +TableValuedFunctionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableValuedFunction(this); + } +}; + +TableValuedFunctionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableValuedFunction(this); + } +}; + +TableValuedFunctionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableValuedFunction(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function InlineTableDefault2Context(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +InlineTableDefault2Context.prototype = Object.create(RelationPrimaryContext.prototype); +InlineTableDefault2Context.prototype.constructor = InlineTableDefault2Context; + +sqlParser.InlineTableDefault2Context = InlineTableDefault2Context; + +InlineTableDefault2Context.prototype.inlineTable = function() { + return this.getTypedRuleContext(InlineTableContext,0); +}; +InlineTableDefault2Context.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInlineTableDefault2(this); + } +}; + +InlineTableDefault2Context.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInlineTableDefault2(this); + } +}; + +InlineTableDefault2Context.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInlineTableDefault2(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AliasedRelationContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AliasedRelationContext.prototype = Object.create(RelationPrimaryContext.prototype); +AliasedRelationContext.prototype.constructor = AliasedRelationContext; + +sqlParser.AliasedRelationContext = AliasedRelationContext; + +AliasedRelationContext.prototype.relation = function() { + return this.getTypedRuleContext(RelationContext,0); +}; + +AliasedRelationContext.prototype.tableAlias = function() { + return this.getTypedRuleContext(TableAliasContext,0); +}; + +AliasedRelationContext.prototype.sample = function() { + return this.getTypedRuleContext(SampleContext,0); +}; +AliasedRelationContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAliasedRelation(this); + } +}; + +AliasedRelationContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAliasedRelation(this); + } +}; + +AliasedRelationContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAliasedRelation(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function AliasedQueryContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +AliasedQueryContext.prototype = Object.create(RelationPrimaryContext.prototype); +AliasedQueryContext.prototype.constructor = AliasedQueryContext; + +sqlParser.AliasedQueryContext = AliasedQueryContext; + +AliasedQueryContext.prototype.queryNoWith = function() { + return this.getTypedRuleContext(QueryNoWithContext,0); +}; + +AliasedQueryContext.prototype.tableAlias = function() { + return this.getTypedRuleContext(TableAliasContext,0); +}; + +AliasedQueryContext.prototype.sample = function() { + return this.getTypedRuleContext(SampleContext,0); +}; +AliasedQueryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterAliasedQuery(this); + } +}; + +AliasedQueryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitAliasedQuery(this); + } +}; + +AliasedQueryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitAliasedQuery(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function TableNameContext(parser, ctx) { + RelationPrimaryContext.call(this, parser); + RelationPrimaryContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TableNameContext.prototype = Object.create(RelationPrimaryContext.prototype); +TableNameContext.prototype.constructor = TableNameContext; + +sqlParser.TableNameContext = TableNameContext; + +TableNameContext.prototype.tableIdentifier = function() { + return this.getTypedRuleContext(TableIdentifierContext,0); +}; + +TableNameContext.prototype.tableAlias = function() { + return this.getTypedRuleContext(TableAliasContext,0); +}; + +TableNameContext.prototype.sample = function() { + return this.getTypedRuleContext(SampleContext,0); +}; +TableNameContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableName(this); + } +}; + +TableNameContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableName(this); + } +}; + +TableNameContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableName(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.RelationPrimaryContext = RelationPrimaryContext; + +sqlParser.prototype.relationPrimary = function() { + + var localctx = new RelationPrimaryContext(this, this._ctx, this.state); + this.enterRule(localctx, 122, sqlParser.RULE_relationPrimary); + try { + this.state = 1825; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,239,this._ctx); + switch(la_) { + case 1: + localctx = new TableNameContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1801; + this.tableIdentifier(); + this.state = 1803; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,236,this._ctx); + if(la_===1) { + this.state = 1802; + this.sample(); + + } + this.state = 1805; + this.tableAlias(); + break; + + case 2: + localctx = new AliasedQueryContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1807; + this.match(sqlParser.T__0); + this.state = 1808; + this.queryNoWith(); + this.state = 1809; + this.match(sqlParser.T__1); + this.state = 1811; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,237,this._ctx); + if(la_===1) { + this.state = 1810; + this.sample(); + + } + this.state = 1813; + this.tableAlias(); + break; + + case 3: + localctx = new AliasedRelationContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 1815; + this.match(sqlParser.T__0); + this.state = 1816; + this.relation(); + this.state = 1817; + this.match(sqlParser.T__1); + this.state = 1819; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,238,this._ctx); + if(la_===1) { + this.state = 1818; + this.sample(); + + } + this.state = 1821; + this.tableAlias(); + break; + + case 4: + localctx = new InlineTableDefault2Context(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 1823; + this.inlineTable(); + break; + + case 5: + localctx = new TableValuedFunctionContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 1824; + this.functionTable(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function InlineTableContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_inlineTable; + return this; +} + +InlineTableContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +InlineTableContext.prototype.constructor = InlineTableContext; + +InlineTableContext.prototype.VALUES = function() { + return this.getToken(sqlParser.VALUES, 0); +}; + +InlineTableContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +InlineTableContext.prototype.tableAlias = function() { + return this.getTypedRuleContext(TableAliasContext,0); +}; + +InlineTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInlineTable(this); + } +}; + +InlineTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInlineTable(this); + } +}; + +InlineTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInlineTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.InlineTableContext = InlineTableContext; + +sqlParser.prototype.inlineTable = function() { + + var localctx = new InlineTableContext(this, this._ctx, this.state); + this.enterRule(localctx, 124, sqlParser.RULE_inlineTable); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1827; + this.match(sqlParser.VALUES); + this.state = 1828; + this.expression(); + this.state = 1833; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,240,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1829; + this.match(sqlParser.T__3); + this.state = 1830; + this.expression(); + } + this.state = 1835; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,240,this._ctx); + } + + this.state = 1836; + this.tableAlias(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function FunctionTableContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_functionTable; + return this; +} + +FunctionTableContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FunctionTableContext.prototype.constructor = FunctionTableContext; + +FunctionTableContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +FunctionTableContext.prototype.tableAlias = function() { + return this.getTypedRuleContext(TableAliasContext,0); +}; + +FunctionTableContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +FunctionTableContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFunctionTable(this); + } +}; + +FunctionTableContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFunctionTable(this); + } +}; + +FunctionTableContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFunctionTable(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.FunctionTableContext = FunctionTableContext; + +sqlParser.prototype.functionTable = function() { + + var localctx = new FunctionTableContext(this, this._ctx, this.state); + this.enterRule(localctx, 126, sqlParser.RULE_functionTable); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 1838; + this.identifier(); + this.state = 1839; + this.match(sqlParser.T__0); + this.state = 1848; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 1840; + this.expression(); + this.state = 1845; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1841; + this.match(sqlParser.T__3); + this.state = 1842; + this.expression(); + this.state = 1847; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 1850; + this.match(sqlParser.T__1); + this.state = 1851; + this.tableAlias(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TableAliasContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableAlias; + return this; +} + +TableAliasContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableAliasContext.prototype.constructor = TableAliasContext; + +TableAliasContext.prototype.strictIdentifier = function() { + return this.getTypedRuleContext(StrictIdentifierContext,0); +}; + +TableAliasContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +TableAliasContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +TableAliasContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableAlias(this); + } +}; + +TableAliasContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableAlias(this); + } +}; + +TableAliasContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableAlias(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TableAliasContext = TableAliasContext; + +sqlParser.prototype.tableAlias = function() { + + var localctx = new TableAliasContext(this, this._ctx, this.state); + this.enterRule(localctx, 128, sqlParser.RULE_tableAlias); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1860; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,245,this._ctx); + if(la_===1) { + this.state = 1854; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,243,this._ctx); + if(la_===1) { + this.state = 1853; + this.match(sqlParser.AS); + + } + this.state = 1856; + this.strictIdentifier(); + this.state = 1858; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,244,this._ctx); + if(la_===1) { + this.state = 1857; + this.identifierList(); + + } + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function RowFormatContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_rowFormat; + return this; +} + +RowFormatContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +RowFormatContext.prototype.constructor = RowFormatContext; + + + +RowFormatContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function RowFormatSerdeContext(parser, ctx) { + RowFormatContext.call(this, parser); + this.name = null; // Token; + this.props = null; // TablePropertyListContext; + RowFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RowFormatSerdeContext.prototype = Object.create(RowFormatContext.prototype); +RowFormatSerdeContext.prototype.constructor = RowFormatSerdeContext; + +sqlParser.RowFormatSerdeContext = RowFormatSerdeContext; + +RowFormatSerdeContext.prototype.ROW = function() { + return this.getToken(sqlParser.ROW, 0); +}; + +RowFormatSerdeContext.prototype.FORMAT = function() { + return this.getToken(sqlParser.FORMAT, 0); +}; + +RowFormatSerdeContext.prototype.SERDE = function() { + return this.getToken(sqlParser.SERDE, 0); +}; + +RowFormatSerdeContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +RowFormatSerdeContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +RowFormatSerdeContext.prototype.SERDEPROPERTIES = function() { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; + +RowFormatSerdeContext.prototype.tablePropertyList = function() { + return this.getTypedRuleContext(TablePropertyListContext,0); +}; +RowFormatSerdeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRowFormatSerde(this); + } +}; + +RowFormatSerdeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRowFormatSerde(this); + } +}; + +RowFormatSerdeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRowFormatSerde(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RowFormatDelimitedContext(parser, ctx) { + RowFormatContext.call(this, parser); + this.fieldsTerminatedBy = null; // Token; + this.escapedBy = null; // Token; + this.collectionItemsTerminatedBy = null; // Token; + this.keysTerminatedBy = null; // Token; + this.linesSeparatedBy = null; // Token; + this.nullDefinedAs = null; // Token; + RowFormatContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RowFormatDelimitedContext.prototype = Object.create(RowFormatContext.prototype); +RowFormatDelimitedContext.prototype.constructor = RowFormatDelimitedContext; + +sqlParser.RowFormatDelimitedContext = RowFormatDelimitedContext; + +RowFormatDelimitedContext.prototype.ROW = function() { + return this.getToken(sqlParser.ROW, 0); +}; + +RowFormatDelimitedContext.prototype.FORMAT = function() { + return this.getToken(sqlParser.FORMAT, 0); +}; + +RowFormatDelimitedContext.prototype.DELIMITED = function() { + return this.getToken(sqlParser.DELIMITED, 0); +}; + +RowFormatDelimitedContext.prototype.FIELDS = function() { + return this.getToken(sqlParser.FIELDS, 0); +}; + +RowFormatDelimitedContext.prototype.TERMINATED = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.TERMINATED); + } else { + return this.getToken(sqlParser.TERMINATED, i); + } +}; + + +RowFormatDelimitedContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +RowFormatDelimitedContext.prototype.COLLECTION = function() { + return this.getToken(sqlParser.COLLECTION, 0); +}; + +RowFormatDelimitedContext.prototype.ITEMS = function() { + return this.getToken(sqlParser.ITEMS, 0); +}; + +RowFormatDelimitedContext.prototype.MAP = function() { + return this.getToken(sqlParser.MAP, 0); +}; + +RowFormatDelimitedContext.prototype.KEYS = function() { + return this.getToken(sqlParser.KEYS, 0); +}; + +RowFormatDelimitedContext.prototype.LINES = function() { + return this.getToken(sqlParser.LINES, 0); +}; + +RowFormatDelimitedContext.prototype.NULL = function() { + return this.getToken(sqlParser.NULL, 0); +}; + +RowFormatDelimitedContext.prototype.DEFINED = function() { + return this.getToken(sqlParser.DEFINED, 0); +}; + +RowFormatDelimitedContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +RowFormatDelimitedContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + + +RowFormatDelimitedContext.prototype.ESCAPED = function() { + return this.getToken(sqlParser.ESCAPED, 0); +}; +RowFormatDelimitedContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRowFormatDelimited(this); + } +}; + +RowFormatDelimitedContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRowFormatDelimited(this); + } +}; + +RowFormatDelimitedContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRowFormatDelimited(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.RowFormatContext = RowFormatContext; + +sqlParser.prototype.rowFormat = function() { + + var localctx = new RowFormatContext(this, this._ctx, this.state); + this.enterRule(localctx, 130, sqlParser.RULE_rowFormat); + try { + this.state = 1911; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,253,this._ctx); + switch(la_) { + case 1: + localctx = new RowFormatSerdeContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 1862; + this.match(sqlParser.ROW); + this.state = 1863; + this.match(sqlParser.FORMAT); + this.state = 1864; + this.match(sqlParser.SERDE); + this.state = 1865; + localctx.name = this.match(sqlParser.STRING); + this.state = 1869; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,246,this._ctx); + if(la_===1) { + this.state = 1866; + this.match(sqlParser.WITH); + this.state = 1867; + this.match(sqlParser.SERDEPROPERTIES); + this.state = 1868; + localctx.props = this.tablePropertyList(); + + } + break; + + case 2: + localctx = new RowFormatDelimitedContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 1871; + this.match(sqlParser.ROW); + this.state = 1872; + this.match(sqlParser.FORMAT); + this.state = 1873; + this.match(sqlParser.DELIMITED); + this.state = 1883; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,248,this._ctx); + if(la_===1) { + this.state = 1874; + this.match(sqlParser.FIELDS); + this.state = 1875; + this.match(sqlParser.TERMINATED); + this.state = 1876; + this.match(sqlParser.BY); + this.state = 1877; + localctx.fieldsTerminatedBy = this.match(sqlParser.STRING); + this.state = 1881; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,247,this._ctx); + if(la_===1) { + this.state = 1878; + this.match(sqlParser.ESCAPED); + this.state = 1879; + this.match(sqlParser.BY); + this.state = 1880; + localctx.escapedBy = this.match(sqlParser.STRING); + + } + + } + this.state = 1890; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,249,this._ctx); + if(la_===1) { + this.state = 1885; + this.match(sqlParser.COLLECTION); + this.state = 1886; + this.match(sqlParser.ITEMS); + this.state = 1887; + this.match(sqlParser.TERMINATED); + this.state = 1888; + this.match(sqlParser.BY); + this.state = 1889; + localctx.collectionItemsTerminatedBy = this.match(sqlParser.STRING); + + } + this.state = 1897; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,250,this._ctx); + if(la_===1) { + this.state = 1892; + this.match(sqlParser.MAP); + this.state = 1893; + this.match(sqlParser.KEYS); + this.state = 1894; + this.match(sqlParser.TERMINATED); + this.state = 1895; + this.match(sqlParser.BY); + this.state = 1896; + localctx.keysTerminatedBy = this.match(sqlParser.STRING); + + } + this.state = 1903; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,251,this._ctx); + if(la_===1) { + this.state = 1899; + this.match(sqlParser.LINES); + this.state = 1900; + this.match(sqlParser.TERMINATED); + this.state = 1901; + this.match(sqlParser.BY); + this.state = 1902; + localctx.linesSeparatedBy = this.match(sqlParser.STRING); + + } + this.state = 1909; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,252,this._ctx); + if(la_===1) { + this.state = 1905; + this.match(sqlParser.NULL); + this.state = 1906; + this.match(sqlParser.DEFINED); + this.state = 1907; + this.match(sqlParser.AS); + this.state = 1908; + localctx.nullDefinedAs = this.match(sqlParser.STRING); + + } + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function TableIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_tableIdentifier; + this.db = null; // IdentifierContext + this.table = null; // IdentifierContext + return this; +} + +TableIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +TableIdentifierContext.prototype.constructor = TableIdentifierContext; + +TableIdentifierContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +TableIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTableIdentifier(this); + } +}; + +TableIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTableIdentifier(this); + } +}; + +TableIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTableIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.TableIdentifierContext = TableIdentifierContext; + +sqlParser.prototype.tableIdentifier = function() { + + var localctx = new TableIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 132, sqlParser.RULE_tableIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1916; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,254,this._ctx); + if(la_===1) { + this.state = 1913; + localctx.db = this.identifier(); + this.state = 1914; + this.match(sqlParser.T__2); + + } + this.state = 1918; + localctx.table = this.identifier(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function FunctionIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_functionIdentifier; + this.db = null; // IdentifierContext + this.j_function = null; // IdentifierContext + return this; +} + +FunctionIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FunctionIdentifierContext.prototype.constructor = FunctionIdentifierContext; + +FunctionIdentifierContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +FunctionIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFunctionIdentifier(this); + } +}; + +FunctionIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFunctionIdentifier(this); + } +}; + +FunctionIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFunctionIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.FunctionIdentifierContext = FunctionIdentifierContext; + +sqlParser.prototype.functionIdentifier = function() { + + var localctx = new FunctionIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 134, sqlParser.RULE_functionIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1923; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,255,this._ctx); + if(la_===1) { + this.state = 1920; + localctx.db = this.identifier(); + this.state = 1921; + this.match(sqlParser.T__2); + + } + this.state = 1925; + localctx.j_function = this.identifier(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NamedExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedExpression; + return this; +} + +NamedExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedExpressionContext.prototype.constructor = NamedExpressionContext; + +NamedExpressionContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +NamedExpressionContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +NamedExpressionContext.prototype.identifierList = function() { + return this.getTypedRuleContext(IdentifierListContext,0); +}; + +NamedExpressionContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +NamedExpressionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNamedExpression(this); + } +}; + +NamedExpressionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNamedExpression(this); + } +}; + +NamedExpressionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNamedExpression(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NamedExpressionContext = NamedExpressionContext; + +sqlParser.prototype.namedExpression = function() { + + var localctx = new NamedExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 136, sqlParser.RULE_namedExpression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1927; + this.expression(); + this.state = 1935; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,258,this._ctx); + if(la_===1) { + this.state = 1929; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,256,this._ctx); + if(la_===1) { + this.state = 1928; + this.match(sqlParser.AS); + + } + this.state = 1933; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.state = 1931; + this.identifier(); + break; + case sqlParser.T__0: + this.state = 1932; + this.identifierList(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NamedExpressionSeqContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedExpressionSeq; + return this; +} + +NamedExpressionSeqContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedExpressionSeqContext.prototype.constructor = NamedExpressionSeqContext; + +NamedExpressionSeqContext.prototype.namedExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } else { + return this.getTypedRuleContext(NamedExpressionContext,i); + } +}; + +NamedExpressionSeqContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNamedExpressionSeq(this); + } +}; + +NamedExpressionSeqContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNamedExpressionSeq(this); + } +}; + +NamedExpressionSeqContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNamedExpressionSeq(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NamedExpressionSeqContext = NamedExpressionSeqContext; + +sqlParser.prototype.namedExpressionSeq = function() { + + var localctx = new NamedExpressionSeqContext(this, this._ctx, this.state); + this.enterRule(localctx, 138, sqlParser.RULE_namedExpressionSeq); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1937; + this.namedExpression(); + this.state = 1942; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,259,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 1938; + this.match(sqlParser.T__3); + this.state = 1939; + this.namedExpression(); + } + this.state = 1944; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,259,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_expression; + return this; +} + +ExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ExpressionContext.prototype.constructor = ExpressionContext; + +ExpressionContext.prototype.booleanExpression = function() { + return this.getTypedRuleContext(BooleanExpressionContext,0); +}; + +ExpressionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterExpression(this); + } +}; + +ExpressionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitExpression(this); + } +}; + +ExpressionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitExpression(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ExpressionContext = ExpressionContext; + +sqlParser.prototype.expression = function() { + + var localctx = new ExpressionContext(this, this._ctx, this.state); + this.enterRule(localctx, 140, sqlParser.RULE_expression); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1945; + this.booleanExpression(0); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function BooleanExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_booleanExpression; + return this; +} + +BooleanExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BooleanExpressionContext.prototype.constructor = BooleanExpressionContext; + + + +BooleanExpressionContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + +function LogicalNotContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +LogicalNotContext.prototype = Object.create(BooleanExpressionContext.prototype); +LogicalNotContext.prototype.constructor = LogicalNotContext; + +sqlParser.LogicalNotContext = LogicalNotContext; + +LogicalNotContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +LogicalNotContext.prototype.booleanExpression = function() { + return this.getTypedRuleContext(BooleanExpressionContext,0); +}; +LogicalNotContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLogicalNot(this); + } +}; + +LogicalNotContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLogicalNot(this); + } +}; + +LogicalNotContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLogicalNot(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function PredicatedContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +PredicatedContext.prototype = Object.create(BooleanExpressionContext.prototype); +PredicatedContext.prototype.constructor = PredicatedContext; + +sqlParser.PredicatedContext = PredicatedContext; + +PredicatedContext.prototype.valueExpression = function() { + return this.getTypedRuleContext(ValueExpressionContext,0); +}; + +PredicatedContext.prototype.predicate = function() { + return this.getTypedRuleContext(PredicateContext,0); +}; +PredicatedContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPredicated(this); + } +}; + +PredicatedContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPredicated(this); + } +}; + +PredicatedContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPredicated(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ExistsContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ExistsContext.prototype = Object.create(BooleanExpressionContext.prototype); +ExistsContext.prototype.constructor = ExistsContext; + +sqlParser.ExistsContext = ExistsContext; + +ExistsContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +ExistsContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; +ExistsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterExists(this); + } +}; + +ExistsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitExists(this); + } +}; + +ExistsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitExists(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function LogicalBinaryContext(parser, ctx) { + BooleanExpressionContext.call(this, parser); + this.left = null; // BooleanExpressionContext; + this.operator = null; // Token; + this.right = null; // BooleanExpressionContext; + BooleanExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +LogicalBinaryContext.prototype = Object.create(BooleanExpressionContext.prototype); +LogicalBinaryContext.prototype.constructor = LogicalBinaryContext; + +sqlParser.LogicalBinaryContext = LogicalBinaryContext; + +LogicalBinaryContext.prototype.booleanExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(BooleanExpressionContext); + } else { + return this.getTypedRuleContext(BooleanExpressionContext,i); + } +}; + +LogicalBinaryContext.prototype.AND = function() { + return this.getToken(sqlParser.AND, 0); +}; + +LogicalBinaryContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; +LogicalBinaryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLogicalBinary(this); + } +}; + +LogicalBinaryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLogicalBinary(this); + } +}; + +LogicalBinaryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLogicalBinary(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.prototype.booleanExpression = function(_p) { + if(_p===undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new BooleanExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 142; + this.enterRecursionRule(localctx, 142, sqlParser.RULE_booleanExpression, _p); + try { + this.enterOuterAlt(localctx, 1); + this.state = 1959; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,261,this._ctx); + switch(la_) { + case 1: + localctx = new LogicalNotContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + + this.state = 1948; + this.match(sqlParser.NOT); + this.state = 1949; + this.booleanExpression(5); + break; + + case 2: + localctx = new ExistsContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1950; + this.match(sqlParser.EXISTS); + this.state = 1951; + this.match(sqlParser.T__0); + this.state = 1952; + this.query(); + this.state = 1953; + this.match(sqlParser.T__1); + break; + + case 3: + localctx = new PredicatedContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 1955; + this.valueExpression(0); + this.state = 1957; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,260,this._ctx); + if(la_===1) { + this.state = 1956; + this.predicate(); + + } + break; + + } + this._ctx.stop = this._input.LT(-1); + this.state = 1969; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,263,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + if(this._parseListeners!==null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 1967; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,262,this._ctx); + switch(la_) { + case 1: + localctx = new LogicalBinaryContext(this, new BooleanExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_booleanExpression); + this.state = 1961; + if (!( this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 1962; + localctx.operator = this.match(sqlParser.AND); + this.state = 1963; + localctx.right = this.booleanExpression(3); + break; + + case 2: + localctx = new LogicalBinaryContext(this, new BooleanExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_booleanExpression); + this.state = 1964; + if (!( this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 1965; + localctx.operator = this.match(sqlParser.OR); + this.state = 1966; + localctx.right = this.booleanExpression(2); + break; + + } + } + this.state = 1971; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,263,this._ctx); + } + + } catch( error) { + if(error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } else { + throw error; + } + } finally { + this.unrollRecursionContexts(_parentctx) + } + return localctx; +}; + +function PredicateContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_predicate; + this.kind = null; // Token + this.lower = null; // ValueExpressionContext + this.upper = null; // ValueExpressionContext + this.pattern = null; // ValueExpressionContext + this.right = null; // ValueExpressionContext + return this; +} + +PredicateContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PredicateContext.prototype.constructor = PredicateContext; + +PredicateContext.prototype.AND = function() { + return this.getToken(sqlParser.AND, 0); +}; + +PredicateContext.prototype.BETWEEN = function() { + return this.getToken(sqlParser.BETWEEN, 0); +}; + +PredicateContext.prototype.valueExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } else { + return this.getTypedRuleContext(ValueExpressionContext,i); + } +}; + +PredicateContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +PredicateContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +PredicateContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +PredicateContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; + +PredicateContext.prototype.RLIKE = function() { + return this.getToken(sqlParser.RLIKE, 0); +}; + +PredicateContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; + +PredicateContext.prototype.IS = function() { + return this.getToken(sqlParser.IS, 0); +}; + +PredicateContext.prototype.NULL = function() { + return this.getToken(sqlParser.NULL, 0); +}; + +PredicateContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +PredicateContext.prototype.DISTINCT = function() { + return this.getToken(sqlParser.DISTINCT, 0); +}; + +PredicateContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPredicate(this); + } +}; + +PredicateContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPredicate(this); + } +}; + +PredicateContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPredicate(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PredicateContext = PredicateContext; + +sqlParser.prototype.predicate = function() { + + var localctx = new PredicateContext(this, this._ctx, this.state); + this.enterRule(localctx, 144, sqlParser.RULE_predicate); + var _la = 0; // Token type + try { + this.state = 2020; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,271,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 1973; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 1972; + this.match(sqlParser.NOT); + } + + this.state = 1975; + localctx.kind = this.match(sqlParser.BETWEEN); + this.state = 1976; + localctx.lower = this.valueExpression(0); + this.state = 1977; + this.match(sqlParser.AND); + this.state = 1978; + localctx.upper = this.valueExpression(0); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 1981; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 1980; + this.match(sqlParser.NOT); + } + + this.state = 1983; + localctx.kind = this.match(sqlParser.IN); + this.state = 1984; + this.match(sqlParser.T__0); + this.state = 1985; + this.expression(); + this.state = 1990; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 1986; + this.match(sqlParser.T__3); + this.state = 1987; + this.expression(); + this.state = 1992; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 1993; + this.match(sqlParser.T__1); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 1996; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 1995; + this.match(sqlParser.NOT); + } + + this.state = 1998; + localctx.kind = this.match(sqlParser.IN); + this.state = 1999; + this.match(sqlParser.T__0); + this.state = 2000; + this.query(); + this.state = 2001; + this.match(sqlParser.T__1); + break; + + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 2004; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 2003; + this.match(sqlParser.NOT); + } + + this.state = 2006; + localctx.kind = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.LIKE || _la===sqlParser.RLIKE)) { + localctx.kind = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2007; + localctx.pattern = this.valueExpression(0); + break; + + case 5: + this.enterOuterAlt(localctx, 5); + this.state = 2008; + this.match(sqlParser.IS); + this.state = 2010; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 2009; + this.match(sqlParser.NOT); + } + + this.state = 2012; + localctx.kind = this.match(sqlParser.NULL); + break; + + case 6: + this.enterOuterAlt(localctx, 6); + this.state = 2013; + this.match(sqlParser.IS); + this.state = 2015; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.NOT) { + this.state = 2014; + this.match(sqlParser.NOT); + } + + this.state = 2017; + localctx.kind = this.match(sqlParser.DISTINCT); + this.state = 2018; + this.match(sqlParser.FROM); + this.state = 2019; + localctx.right = this.valueExpression(0); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ValueExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_valueExpression; + return this; +} + +ValueExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ValueExpressionContext.prototype.constructor = ValueExpressionContext; + + + +ValueExpressionContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + +function ValueExpressionDefaultContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ValueExpressionDefaultContext.prototype = Object.create(ValueExpressionContext.prototype); +ValueExpressionDefaultContext.prototype.constructor = ValueExpressionDefaultContext; + +sqlParser.ValueExpressionDefaultContext = ValueExpressionDefaultContext; + +ValueExpressionDefaultContext.prototype.primaryExpression = function() { + return this.getTypedRuleContext(PrimaryExpressionContext,0); +}; +ValueExpressionDefaultContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterValueExpressionDefault(this); + } +}; + +ValueExpressionDefaultContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitValueExpressionDefault(this); + } +}; + +ValueExpressionDefaultContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitValueExpressionDefault(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ComparisonContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.left = null; // ValueExpressionContext; + this.right = null; // ValueExpressionContext; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ComparisonContext.prototype = Object.create(ValueExpressionContext.prototype); +ComparisonContext.prototype.constructor = ComparisonContext; + +sqlParser.ComparisonContext = ComparisonContext; + +ComparisonContext.prototype.comparisonOperator = function() { + return this.getTypedRuleContext(ComparisonOperatorContext,0); +}; + +ComparisonContext.prototype.valueExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } else { + return this.getTypedRuleContext(ValueExpressionContext,i); + } +}; +ComparisonContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterComparison(this); + } +}; + +ComparisonContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitComparison(this); + } +}; + +ComparisonContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitComparison(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ArithmeticBinaryContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.left = null; // ValueExpressionContext; + this.operator = null; // Token; + this.right = null; // ValueExpressionContext; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ArithmeticBinaryContext.prototype = Object.create(ValueExpressionContext.prototype); +ArithmeticBinaryContext.prototype.constructor = ArithmeticBinaryContext; + +sqlParser.ArithmeticBinaryContext = ArithmeticBinaryContext; + +ArithmeticBinaryContext.prototype.valueExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } else { + return this.getTypedRuleContext(ValueExpressionContext,i); + } +}; + +ArithmeticBinaryContext.prototype.ASTERISK = function() { + return this.getToken(sqlParser.ASTERISK, 0); +}; + +ArithmeticBinaryContext.prototype.SLASH = function() { + return this.getToken(sqlParser.SLASH, 0); +}; + +ArithmeticBinaryContext.prototype.PERCENT = function() { + return this.getToken(sqlParser.PERCENT, 0); +}; + +ArithmeticBinaryContext.prototype.DIV = function() { + return this.getToken(sqlParser.DIV, 0); +}; + +ArithmeticBinaryContext.prototype.PLUS = function() { + return this.getToken(sqlParser.PLUS, 0); +}; + +ArithmeticBinaryContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; + +ArithmeticBinaryContext.prototype.CONCAT_PIPE = function() { + return this.getToken(sqlParser.CONCAT_PIPE, 0); +}; + +ArithmeticBinaryContext.prototype.AMPERSAND = function() { + return this.getToken(sqlParser.AMPERSAND, 0); +}; + +ArithmeticBinaryContext.prototype.HAT = function() { + return this.getToken(sqlParser.HAT, 0); +}; + +ArithmeticBinaryContext.prototype.PIPE = function() { + return this.getToken(sqlParser.PIPE, 0); +}; +ArithmeticBinaryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterArithmeticBinary(this); + } +}; + +ArithmeticBinaryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitArithmeticBinary(this); + } +}; + +ArithmeticBinaryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitArithmeticBinary(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ArithmeticUnaryContext(parser, ctx) { + ValueExpressionContext.call(this, parser); + this.operator = null; // Token; + ValueExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ArithmeticUnaryContext.prototype = Object.create(ValueExpressionContext.prototype); +ArithmeticUnaryContext.prototype.constructor = ArithmeticUnaryContext; + +sqlParser.ArithmeticUnaryContext = ArithmeticUnaryContext; + +ArithmeticUnaryContext.prototype.valueExpression = function() { + return this.getTypedRuleContext(ValueExpressionContext,0); +}; + +ArithmeticUnaryContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; + +ArithmeticUnaryContext.prototype.PLUS = function() { + return this.getToken(sqlParser.PLUS, 0); +}; + +ArithmeticUnaryContext.prototype.TILDE = function() { + return this.getToken(sqlParser.TILDE, 0); +}; +ArithmeticUnaryContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterArithmeticUnary(this); + } +}; + +ArithmeticUnaryContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitArithmeticUnary(this); + } +}; + +ArithmeticUnaryContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitArithmeticUnary(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.prototype.valueExpression = function(_p) { + if(_p===undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new ValueExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 146; + this.enterRecursionRule(localctx, 146, sqlParser.RULE_valueExpression, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2026; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,272,this._ctx); + switch(la_) { + case 1: + localctx = new ValueExpressionDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + + this.state = 2023; + this.primaryExpression(0); + break; + + case 2: + localctx = new ArithmeticUnaryContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2024; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.TILDE - 138)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2025; + this.valueExpression(7); + break; + + } + this._ctx.stop = this._input.LT(-1); + this.state = 2049; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,274,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + if(this._parseListeners!==null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 2047; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,273,this._ctx); + switch(la_) { + case 1: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2028; + if (!( this.precpred(this._ctx, 6))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)"); + } + this.state = 2029; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 140)) & ~0x1f) == 0 && ((1 << (_la - 140)) & ((1 << (sqlParser.ASTERISK - 140)) | (1 << (sqlParser.SLASH - 140)) | (1 << (sqlParser.PERCENT - 140)) | (1 << (sqlParser.DIV - 140)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2030; + localctx.right = this.valueExpression(7); + break; + + case 2: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2031; + if (!( this.precpred(this._ctx, 5))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)"); + } + this.state = 2032; + localctx.operator = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.CONCAT_PIPE - 138)))) !== 0))) { + localctx.operator = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2033; + localctx.right = this.valueExpression(6); + break; + + case 3: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2034; + if (!( this.precpred(this._ctx, 4))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 4)"); + } + this.state = 2035; + localctx.operator = this.match(sqlParser.AMPERSAND); + this.state = 2036; + localctx.right = this.valueExpression(5); + break; + + case 4: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2037; + if (!( this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 2038; + localctx.operator = this.match(sqlParser.HAT); + this.state = 2039; + localctx.right = this.valueExpression(4); + break; + + case 5: + localctx = new ArithmeticBinaryContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2040; + if (!( this.precpred(this._ctx, 2))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); + } + this.state = 2041; + localctx.operator = this.match(sqlParser.PIPE); + this.state = 2042; + localctx.right = this.valueExpression(3); + break; + + case 6: + localctx = new ComparisonContext(this, new ValueExpressionContext(this, _parentctx, _parentState)); + localctx.left = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_valueExpression); + this.state = 2043; + if (!( this.precpred(this._ctx, 1))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)"); + } + this.state = 2044; + this.comparisonOperator(); + this.state = 2045; + localctx.right = this.valueExpression(2); + break; + + } + } + this.state = 2051; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,274,this._ctx); + } + + } catch( error) { + if(error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } else { + throw error; + } + } finally { + this.unrollRecursionContexts(_parentctx) + } + return localctx; +}; + +function PrimaryExpressionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_primaryExpression; + return this; +} + +PrimaryExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PrimaryExpressionContext.prototype.constructor = PrimaryExpressionContext; + + + +PrimaryExpressionContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + +function StructContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this._namedExpression = null; // NamedExpressionContext; + this.argument = []; // of NamedExpressionContexts; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +StructContext.prototype = Object.create(PrimaryExpressionContext.prototype); +StructContext.prototype.constructor = StructContext; + +sqlParser.StructContext = StructContext; + +StructContext.prototype.STRUCT = function() { + return this.getToken(sqlParser.STRUCT, 0); +}; + +StructContext.prototype.namedExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } else { + return this.getTypedRuleContext(NamedExpressionContext,i); + } +}; +StructContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterStruct(this); + } +}; + +StructContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitStruct(this); + } +}; + +StructContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitStruct(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DereferenceContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.base = null; // PrimaryExpressionContext; + this.fieldName = null; // IdentifierContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DereferenceContext.prototype = Object.create(PrimaryExpressionContext.prototype); +DereferenceContext.prototype.constructor = DereferenceContext; + +sqlParser.DereferenceContext = DereferenceContext; + +DereferenceContext.prototype.primaryExpression = function() { + return this.getTypedRuleContext(PrimaryExpressionContext,0); +}; + +DereferenceContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +DereferenceContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDereference(this); + } +}; + +DereferenceContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDereference(this); + } +}; + +DereferenceContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDereference(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SimpleCaseContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.value = null; // ExpressionContext; + this.elseExpression = null; // ExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SimpleCaseContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SimpleCaseContext.prototype.constructor = SimpleCaseContext; + +sqlParser.SimpleCaseContext = SimpleCaseContext; + +SimpleCaseContext.prototype.CASE = function() { + return this.getToken(sqlParser.CASE, 0); +}; + +SimpleCaseContext.prototype.END = function() { + return this.getToken(sqlParser.END, 0); +}; + +SimpleCaseContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +SimpleCaseContext.prototype.whenClause = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(WhenClauseContext); + } else { + return this.getTypedRuleContext(WhenClauseContext,i); + } +}; + +SimpleCaseContext.prototype.ELSE = function() { + return this.getToken(sqlParser.ELSE, 0); +}; +SimpleCaseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSimpleCase(this); + } +}; + +SimpleCaseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSimpleCase(this); + } +}; + +SimpleCaseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSimpleCase(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ColumnReferenceContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ColumnReferenceContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ColumnReferenceContext.prototype.constructor = ColumnReferenceContext; + +sqlParser.ColumnReferenceContext = ColumnReferenceContext; + +ColumnReferenceContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +ColumnReferenceContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterColumnReference(this); + } +}; + +ColumnReferenceContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitColumnReference(this); + } +}; + +ColumnReferenceContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitColumnReference(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function RowConstructorContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +RowConstructorContext.prototype = Object.create(PrimaryExpressionContext.prototype); +RowConstructorContext.prototype.constructor = RowConstructorContext; + +sqlParser.RowConstructorContext = RowConstructorContext; + +RowConstructorContext.prototype.namedExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(NamedExpressionContext); + } else { + return this.getTypedRuleContext(NamedExpressionContext,i); + } +}; +RowConstructorContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterRowConstructor(this); + } +}; + +RowConstructorContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitRowConstructor(this); + } +}; + +RowConstructorContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitRowConstructor(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function LastContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +LastContext.prototype = Object.create(PrimaryExpressionContext.prototype); +LastContext.prototype.constructor = LastContext; + +sqlParser.LastContext = LastContext; + +LastContext.prototype.LAST = function() { + return this.getToken(sqlParser.LAST, 0); +}; + +LastContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +LastContext.prototype.IGNORE = function() { + return this.getToken(sqlParser.IGNORE, 0); +}; + +LastContext.prototype.NULLS = function() { + return this.getToken(sqlParser.NULLS, 0); +}; +LastContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLast(this); + } +}; + +LastContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLast(this); + } +}; + +LastContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLast(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function StarContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +StarContext.prototype = Object.create(PrimaryExpressionContext.prototype); +StarContext.prototype.constructor = StarContext; + +sqlParser.StarContext = StarContext; + +StarContext.prototype.ASTERISK = function() { + return this.getToken(sqlParser.ASTERISK, 0); +}; + +StarContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; +StarContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterStar(this); + } +}; + +StarContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitStar(this); + } +}; + +StarContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitStar(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SubscriptContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.value = null; // PrimaryExpressionContext; + this.index = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SubscriptContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SubscriptContext.prototype.constructor = SubscriptContext; + +sqlParser.SubscriptContext = SubscriptContext; + +SubscriptContext.prototype.primaryExpression = function() { + return this.getTypedRuleContext(PrimaryExpressionContext,0); +}; + +SubscriptContext.prototype.valueExpression = function() { + return this.getTypedRuleContext(ValueExpressionContext,0); +}; +SubscriptContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSubscript(this); + } +}; + +SubscriptContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSubscript(this); + } +}; + +SubscriptContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSubscript(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SubqueryExpressionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SubqueryExpressionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SubqueryExpressionContext.prototype.constructor = SubqueryExpressionContext; + +sqlParser.SubqueryExpressionContext = SubqueryExpressionContext; + +SubqueryExpressionContext.prototype.query = function() { + return this.getTypedRuleContext(QueryContext,0); +}; +SubqueryExpressionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSubqueryExpression(this); + } +}; + +SubqueryExpressionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSubqueryExpression(this); + } +}; + +SubqueryExpressionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSubqueryExpression(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function CastContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +CastContext.prototype = Object.create(PrimaryExpressionContext.prototype); +CastContext.prototype.constructor = CastContext; + +sqlParser.CastContext = CastContext; + +CastContext.prototype.CAST = function() { + return this.getToken(sqlParser.CAST, 0); +}; + +CastContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +CastContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +CastContext.prototype.dataType = function() { + return this.getTypedRuleContext(DataTypeContext,0); +}; +CastContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterCast(this); + } +}; + +CastContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitCast(this); + } +}; + +CastContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitCast(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ConstantDefaultContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ConstantDefaultContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ConstantDefaultContext.prototype.constructor = ConstantDefaultContext; + +sqlParser.ConstantDefaultContext = ConstantDefaultContext; + +ConstantDefaultContext.prototype.constant = function() { + return this.getTypedRuleContext(ConstantContext,0); +}; +ConstantDefaultContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterConstantDefault(this); + } +}; + +ConstantDefaultContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitConstantDefault(this); + } +}; + +ConstantDefaultContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitConstantDefault(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function LambdaContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +LambdaContext.prototype = Object.create(PrimaryExpressionContext.prototype); +LambdaContext.prototype.constructor = LambdaContext; + +sqlParser.LambdaContext = LambdaContext; + +LambdaContext.prototype.IDENTIFIER = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.IDENTIFIER); + } else { + return this.getToken(sqlParser.IDENTIFIER, i); + } +}; + + +LambdaContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; +LambdaContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterLambda(this); + } +}; + +LambdaContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitLambda(this); + } +}; + +LambdaContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitLambda(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ParenthesizedExpressionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ParenthesizedExpressionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ParenthesizedExpressionContext.prototype.constructor = ParenthesizedExpressionContext; + +sqlParser.ParenthesizedExpressionContext = ParenthesizedExpressionContext; + +ParenthesizedExpressionContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; +ParenthesizedExpressionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterParenthesizedExpression(this); + } +}; + +ParenthesizedExpressionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitParenthesizedExpression(this); + } +}; + +ParenthesizedExpressionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitParenthesizedExpression(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function ExtractContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.field = null; // IdentifierContext; + this.source = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ExtractContext.prototype = Object.create(PrimaryExpressionContext.prototype); +ExtractContext.prototype.constructor = ExtractContext; + +sqlParser.ExtractContext = ExtractContext; + +ExtractContext.prototype.EXTRACT = function() { + return this.getToken(sqlParser.EXTRACT, 0); +}; + +ExtractContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +ExtractContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ExtractContext.prototype.valueExpression = function() { + return this.getTypedRuleContext(ValueExpressionContext,0); +}; +ExtractContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterExtract(this); + } +}; + +ExtractContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitExtract(this); + } +}; + +ExtractContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitExtract(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function FunctionCallContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this._expression = null; // ExpressionContext; + this.argument = []; // of ExpressionContexts; + this.trimOption = null; // Token; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +FunctionCallContext.prototype = Object.create(PrimaryExpressionContext.prototype); +FunctionCallContext.prototype.constructor = FunctionCallContext; + +sqlParser.FunctionCallContext = FunctionCallContext; + +FunctionCallContext.prototype.qualifiedName = function() { + return this.getTypedRuleContext(QualifiedNameContext,0); +}; + +FunctionCallContext.prototype.OVER = function() { + return this.getToken(sqlParser.OVER, 0); +}; + +FunctionCallContext.prototype.windowSpec = function() { + return this.getTypedRuleContext(WindowSpecContext,0); +}; + +FunctionCallContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +FunctionCallContext.prototype.setQuantifier = function() { + return this.getTypedRuleContext(SetQuantifierContext,0); +}; + +FunctionCallContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +FunctionCallContext.prototype.BOTH = function() { + return this.getToken(sqlParser.BOTH, 0); +}; + +FunctionCallContext.prototype.LEADING = function() { + return this.getToken(sqlParser.LEADING, 0); +}; + +FunctionCallContext.prototype.TRAILING = function() { + return this.getToken(sqlParser.TRAILING, 0); +}; +FunctionCallContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFunctionCall(this); + } +}; + +FunctionCallContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFunctionCall(this); + } +}; + +FunctionCallContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFunctionCall(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SearchedCaseContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.elseExpression = null; // ExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SearchedCaseContext.prototype = Object.create(PrimaryExpressionContext.prototype); +SearchedCaseContext.prototype.constructor = SearchedCaseContext; + +sqlParser.SearchedCaseContext = SearchedCaseContext; + +SearchedCaseContext.prototype.CASE = function() { + return this.getToken(sqlParser.CASE, 0); +}; + +SearchedCaseContext.prototype.END = function() { + return this.getToken(sqlParser.END, 0); +}; + +SearchedCaseContext.prototype.whenClause = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(WhenClauseContext); + } else { + return this.getTypedRuleContext(WhenClauseContext,i); + } +}; + +SearchedCaseContext.prototype.ELSE = function() { + return this.getToken(sqlParser.ELSE, 0); +}; + +SearchedCaseContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; +SearchedCaseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSearchedCase(this); + } +}; + +SearchedCaseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSearchedCase(this); + } +}; + +SearchedCaseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSearchedCase(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function PositionContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + this.substr = null; // ValueExpressionContext; + this.str = null; // ValueExpressionContext; + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +PositionContext.prototype = Object.create(PrimaryExpressionContext.prototype); +PositionContext.prototype.constructor = PositionContext; + +sqlParser.PositionContext = PositionContext; + +PositionContext.prototype.POSITION = function() { + return this.getToken(sqlParser.POSITION, 0); +}; + +PositionContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +PositionContext.prototype.valueExpression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ValueExpressionContext); + } else { + return this.getTypedRuleContext(ValueExpressionContext,i); + } +}; +PositionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPosition(this); + } +}; + +PositionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPosition(this); + } +}; + +PositionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPosition(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function FirstContext(parser, ctx) { + PrimaryExpressionContext.call(this, parser); + PrimaryExpressionContext.prototype.copyFrom.call(this, ctx); + return this; +} + +FirstContext.prototype = Object.create(PrimaryExpressionContext.prototype); +FirstContext.prototype.constructor = FirstContext; + +sqlParser.FirstContext = FirstContext; + +FirstContext.prototype.FIRST = function() { + return this.getToken(sqlParser.FIRST, 0); +}; + +FirstContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +FirstContext.prototype.IGNORE = function() { + return this.getToken(sqlParser.IGNORE, 0); +}; + +FirstContext.prototype.NULLS = function() { + return this.getToken(sqlParser.NULLS, 0); +}; +FirstContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFirst(this); + } +}; + +FirstContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFirst(this); + } +}; + +FirstContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFirst(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.prototype.primaryExpression = function(_p) { + if(_p===undefined) { + _p = 0; + } + var _parentctx = this._ctx; + var _parentState = this.state; + var localctx = new PrimaryExpressionContext(this, this._ctx, _parentState); + var _prevctx = localctx; + var _startState = 148; + this.enterRecursionRule(localctx, 148, sqlParser.RULE_primaryExpression, _p); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2197; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,289,this._ctx); + switch(la_) { + case 1: + localctx = new SearchedCaseContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + + this.state = 2053; + this.match(sqlParser.CASE); + this.state = 2055; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2054; + this.whenClause(); + this.state = 2057; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.WHEN); + this.state = 2061; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ELSE) { + this.state = 2059; + this.match(sqlParser.ELSE); + this.state = 2060; + localctx.elseExpression = this.expression(); + } + + this.state = 2063; + this.match(sqlParser.END); + break; + + case 2: + localctx = new SimpleCaseContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2065; + this.match(sqlParser.CASE); + this.state = 2066; + localctx.value = this.expression(); + this.state = 2068; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2067; + this.whenClause(); + this.state = 2070; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.WHEN); + this.state = 2074; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ELSE) { + this.state = 2072; + this.match(sqlParser.ELSE); + this.state = 2073; + localctx.elseExpression = this.expression(); + } + + this.state = 2076; + this.match(sqlParser.END); + break; + + case 3: + localctx = new CastContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2078; + this.match(sqlParser.CAST); + this.state = 2079; + this.match(sqlParser.T__0); + this.state = 2080; + this.expression(); + this.state = 2081; + this.match(sqlParser.AS); + this.state = 2082; + this.dataType(); + this.state = 2083; + this.match(sqlParser.T__1); + break; + + case 4: + localctx = new StructContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2085; + this.match(sqlParser.STRUCT); + this.state = 2086; + this.match(sqlParser.T__0); + this.state = 2095; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2087; + localctx._namedExpression = this.namedExpression(); + localctx.argument.push(localctx._namedExpression); + this.state = 2092; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2088; + this.match(sqlParser.T__3); + this.state = 2089; + localctx._namedExpression = this.namedExpression(); + localctx.argument.push(localctx._namedExpression); + this.state = 2094; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 2097; + this.match(sqlParser.T__1); + break; + + case 5: + localctx = new FirstContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2098; + this.match(sqlParser.FIRST); + this.state = 2099; + this.match(sqlParser.T__0); + this.state = 2100; + this.expression(); + this.state = 2103; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IGNORE) { + this.state = 2101; + this.match(sqlParser.IGNORE); + this.state = 2102; + this.match(sqlParser.NULLS); + } + + this.state = 2105; + this.match(sqlParser.T__1); + break; + + case 6: + localctx = new LastContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2107; + this.match(sqlParser.LAST); + this.state = 2108; + this.match(sqlParser.T__0); + this.state = 2109; + this.expression(); + this.state = 2112; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.IGNORE) { + this.state = 2110; + this.match(sqlParser.IGNORE); + this.state = 2111; + this.match(sqlParser.NULLS); + } + + this.state = 2114; + this.match(sqlParser.T__1); + break; + + case 7: + localctx = new PositionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2116; + this.match(sqlParser.POSITION); + this.state = 2117; + this.match(sqlParser.T__0); + this.state = 2118; + localctx.substr = this.valueExpression(0); + this.state = 2119; + this.match(sqlParser.IN); + this.state = 2120; + localctx.str = this.valueExpression(0); + this.state = 2121; + this.match(sqlParser.T__1); + break; + + case 8: + localctx = new ConstantDefaultContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2123; + this.constant(); + break; + + case 9: + localctx = new StarContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2124; + this.match(sqlParser.ASTERISK); + break; + + case 10: + localctx = new StarContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2125; + this.qualifiedName(); + this.state = 2126; + this.match(sqlParser.T__2); + this.state = 2127; + this.match(sqlParser.ASTERISK); + break; + + case 11: + localctx = new RowConstructorContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2129; + this.match(sqlParser.T__0); + this.state = 2130; + this.namedExpression(); + this.state = 2133; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2131; + this.match(sqlParser.T__3); + this.state = 2132; + this.namedExpression(); + this.state = 2135; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.T__3); + this.state = 2137; + this.match(sqlParser.T__1); + break; + + case 12: + localctx = new SubqueryExpressionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2139; + this.match(sqlParser.T__0); + this.state = 2140; + this.query(); + this.state = 2141; + this.match(sqlParser.T__1); + break; + + case 13: + localctx = new FunctionCallContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2143; + this.qualifiedName(); + this.state = 2144; + this.match(sqlParser.T__0); + this.state = 2156; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.T__0) | (1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.PLUS - 128)) | (1 << (sqlParser.MINUS - 128)) | (1 << (sqlParser.ASTERISK - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.TILDE - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.STRING - 224)) | (1 << (sqlParser.BIGINT_LITERAL - 224)) | (1 << (sqlParser.SMALLINT_LITERAL - 224)) | (1 << (sqlParser.TINYINT_LITERAL - 224)) | (1 << (sqlParser.INTEGER_VALUE - 224)) | (1 << (sqlParser.DECIMAL_VALUE - 224)) | (1 << (sqlParser.DOUBLE_LITERAL - 224)) | (1 << (sqlParser.BIGDECIMAL_LITERAL - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2146; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,284,this._ctx); + if(la_===1) { + this.state = 2145; + this.setQuantifier(); + + } + this.state = 2148; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2153; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2149; + this.match(sqlParser.T__3); + this.state = 2150; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2155; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 2158; + this.match(sqlParser.T__1); + this.state = 2161; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,287,this._ctx); + if(la_===1) { + this.state = 2159; + this.match(sqlParser.OVER); + this.state = 2160; + this.windowSpec(); + + } + break; + + case 14: + localctx = new FunctionCallContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2163; + this.qualifiedName(); + this.state = 2164; + this.match(sqlParser.T__0); + this.state = 2165; + localctx.trimOption = this._input.LT(1); + _la = this._input.LA(1); + if(!(((((_la - 124)) & ~0x1f) == 0 && ((1 << (_la - 124)) & ((1 << (sqlParser.BOTH - 124)) | (1 << (sqlParser.LEADING - 124)) | (1 << (sqlParser.TRAILING - 124)))) !== 0))) { + localctx.trimOption = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2166; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2167; + this.match(sqlParser.FROM); + this.state = 2168; + localctx._expression = this.expression(); + localctx.argument.push(localctx._expression); + this.state = 2169; + this.match(sqlParser.T__1); + break; + + case 15: + localctx = new LambdaContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2171; + this.match(sqlParser.IDENTIFIER); + this.state = 2172; + this.match(sqlParser.T__6); + this.state = 2173; + this.expression(); + break; + + case 16: + localctx = new LambdaContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2174; + this.match(sqlParser.T__0); + this.state = 2175; + this.match(sqlParser.IDENTIFIER); + this.state = 2178; + this._errHandler.sync(this); + _la = this._input.LA(1); + do { + this.state = 2176; + this.match(sqlParser.T__3); + this.state = 2177; + this.match(sqlParser.IDENTIFIER); + this.state = 2180; + this._errHandler.sync(this); + _la = this._input.LA(1); + } while(_la===sqlParser.T__3); + this.state = 2182; + this.match(sqlParser.T__1); + this.state = 2183; + this.match(sqlParser.T__6); + this.state = 2184; + this.expression(); + break; + + case 17: + localctx = new ColumnReferenceContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2185; + this.identifier(); + break; + + case 18: + localctx = new ParenthesizedExpressionContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2186; + this.match(sqlParser.T__0); + this.state = 2187; + this.expression(); + this.state = 2188; + this.match(sqlParser.T__1); + break; + + case 19: + localctx = new ExtractContext(this, localctx); + this._ctx = localctx; + _prevctx = localctx; + this.state = 2190; + this.match(sqlParser.EXTRACT); + this.state = 2191; + this.match(sqlParser.T__0); + this.state = 2192; + localctx.field = this.identifier(); + this.state = 2193; + this.match(sqlParser.FROM); + this.state = 2194; + localctx.source = this.valueExpression(0); + this.state = 2195; + this.match(sqlParser.T__1); + break; + + } + this._ctx.stop = this._input.LT(-1); + this.state = 2209; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,291,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + if(this._parseListeners!==null) { + this.triggerExitRuleEvent(); + } + _prevctx = localctx; + this.state = 2207; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,290,this._ctx); + switch(la_) { + case 1: + localctx = new SubscriptContext(this, new PrimaryExpressionContext(this, _parentctx, _parentState)); + localctx.value = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_primaryExpression); + this.state = 2199; + if (!( this.precpred(this._ctx, 5))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)"); + } + this.state = 2200; + this.match(sqlParser.T__7); + this.state = 2201; + localctx.index = this.valueExpression(0); + this.state = 2202; + this.match(sqlParser.T__8); + break; + + case 2: + localctx = new DereferenceContext(this, new PrimaryExpressionContext(this, _parentctx, _parentState)); + localctx.base = _prevctx; + this.pushNewRecursionContext(localctx, _startState, sqlParser.RULE_primaryExpression); + this.state = 2204; + if (!( this.precpred(this._ctx, 3))) { + throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)"); + } + this.state = 2205; + this.match(sqlParser.T__2); + this.state = 2206; + localctx.fieldName = this.identifier(); + break; + + } + } + this.state = 2211; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,291,this._ctx); + } + + } catch( error) { + if(error instanceof antlr4.error.RecognitionException) { + localctx.exception = error; + this._errHandler.reportError(this, error); + this._errHandler.recover(this, error); + } else { + throw error; + } + } finally { + this.unrollRecursionContexts(_parentctx) + } + return localctx; +}; + +function ConstantContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_constant; + return this; +} + +ConstantContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ConstantContext.prototype.constructor = ConstantContext; + + + +ConstantContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function NullLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +NullLiteralContext.prototype = Object.create(ConstantContext.prototype); +NullLiteralContext.prototype.constructor = NullLiteralContext; + +sqlParser.NullLiteralContext = NullLiteralContext; + +NullLiteralContext.prototype.NULL = function() { + return this.getToken(sqlParser.NULL, 0); +}; +NullLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNullLiteral(this); + } +}; + +NullLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNullLiteral(this); + } +}; + +NullLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNullLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function StringLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +StringLiteralContext.prototype = Object.create(ConstantContext.prototype); +StringLiteralContext.prototype.constructor = StringLiteralContext; + +sqlParser.StringLiteralContext = StringLiteralContext; + +StringLiteralContext.prototype.STRING = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.STRING); + } else { + return this.getToken(sqlParser.STRING, i); + } +}; + +StringLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterStringLiteral(this); + } +}; + +StringLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitStringLiteral(this); + } +}; + +StringLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitStringLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function TypeConstructorContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TypeConstructorContext.prototype = Object.create(ConstantContext.prototype); +TypeConstructorContext.prototype.constructor = TypeConstructorContext; + +sqlParser.TypeConstructorContext = TypeConstructorContext; + +TypeConstructorContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +TypeConstructorContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; +TypeConstructorContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTypeConstructor(this); + } +}; + +TypeConstructorContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTypeConstructor(this); + } +}; + +TypeConstructorContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTypeConstructor(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function IntervalLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +IntervalLiteralContext.prototype = Object.create(ConstantContext.prototype); +IntervalLiteralContext.prototype.constructor = IntervalLiteralContext; + +sqlParser.IntervalLiteralContext = IntervalLiteralContext; + +IntervalLiteralContext.prototype.interval = function() { + return this.getTypedRuleContext(IntervalContext,0); +}; +IntervalLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIntervalLiteral(this); + } +}; + +IntervalLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIntervalLiteral(this); + } +}; + +IntervalLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIntervalLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function NumericLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +NumericLiteralContext.prototype = Object.create(ConstantContext.prototype); +NumericLiteralContext.prototype.constructor = NumericLiteralContext; + +sqlParser.NumericLiteralContext = NumericLiteralContext; + +NumericLiteralContext.prototype.number = function() { + return this.getTypedRuleContext(NumberContext,0); +}; +NumericLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNumericLiteral(this); + } +}; + +NumericLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNumericLiteral(this); + } +}; + +NumericLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNumericLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function BooleanLiteralContext(parser, ctx) { + ConstantContext.call(this, parser); + ConstantContext.prototype.copyFrom.call(this, ctx); + return this; +} + +BooleanLiteralContext.prototype = Object.create(ConstantContext.prototype); +BooleanLiteralContext.prototype.constructor = BooleanLiteralContext; + +sqlParser.BooleanLiteralContext = BooleanLiteralContext; + +BooleanLiteralContext.prototype.booleanValue = function() { + return this.getTypedRuleContext(BooleanValueContext,0); +}; +BooleanLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterBooleanLiteral(this); + } +}; + +BooleanLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitBooleanLiteral(this); + } +}; + +BooleanLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitBooleanLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.ConstantContext = ConstantContext; + +sqlParser.prototype.constant = function() { + + var localctx = new ConstantContext(this, this._ctx, this.state); + this.enterRule(localctx, 150, sqlParser.RULE_constant); + try { + this.state = 2224; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,293,this._ctx); + switch(la_) { + case 1: + localctx = new NullLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2212; + this.match(sqlParser.NULL); + break; + + case 2: + localctx = new IntervalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2213; + this.interval(); + break; + + case 3: + localctx = new TypeConstructorContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2214; + this.identifier(); + this.state = 2215; + this.match(sqlParser.STRING); + break; + + case 4: + localctx = new NumericLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2217; + this.number(); + break; + + case 5: + localctx = new BooleanLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 2218; + this.booleanValue(); + break; + + case 6: + localctx = new StringLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 2220; + this._errHandler.sync(this); + var _alt = 1; + do { + switch (_alt) { + case 1: + this.state = 2219; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 2222; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,292, this._ctx); + } while ( _alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER ); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ComparisonOperatorContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_comparisonOperator; + return this; +} + +ComparisonOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComparisonOperatorContext.prototype.constructor = ComparisonOperatorContext; + +ComparisonOperatorContext.prototype.EQ = function() { + return this.getToken(sqlParser.EQ, 0); +}; + +ComparisonOperatorContext.prototype.NEQ = function() { + return this.getToken(sqlParser.NEQ, 0); +}; + +ComparisonOperatorContext.prototype.NEQJ = function() { + return this.getToken(sqlParser.NEQJ, 0); +}; + +ComparisonOperatorContext.prototype.LT = function() { + return this.getToken(sqlParser.LT, 0); +}; + +ComparisonOperatorContext.prototype.LTE = function() { + return this.getToken(sqlParser.LTE, 0); +}; + +ComparisonOperatorContext.prototype.GT = function() { + return this.getToken(sqlParser.GT, 0); +}; + +ComparisonOperatorContext.prototype.GTE = function() { + return this.getToken(sqlParser.GTE, 0); +}; + +ComparisonOperatorContext.prototype.NSEQ = function() { + return this.getToken(sqlParser.NSEQ, 0); +}; + +ComparisonOperatorContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterComparisonOperator(this); + } +}; + +ComparisonOperatorContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitComparisonOperator(this); + } +}; + +ComparisonOperatorContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitComparisonOperator(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ComparisonOperatorContext = ComparisonOperatorContext; + +sqlParser.prototype.comparisonOperator = function() { + + var localctx = new ComparisonOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 152, sqlParser.RULE_comparisonOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2226; + _la = this._input.LA(1); + if(!(((((_la - 130)) & ~0x1f) == 0 && ((1 << (_la - 130)) & ((1 << (sqlParser.EQ - 130)) | (1 << (sqlParser.NSEQ - 130)) | (1 << (sqlParser.NEQ - 130)) | (1 << (sqlParser.NEQJ - 130)) | (1 << (sqlParser.LT - 130)) | (1 << (sqlParser.LTE - 130)) | (1 << (sqlParser.GT - 130)) | (1 << (sqlParser.GTE - 130)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ArithmeticOperatorContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_arithmeticOperator; + return this; +} + +ArithmeticOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ArithmeticOperatorContext.prototype.constructor = ArithmeticOperatorContext; + +ArithmeticOperatorContext.prototype.PLUS = function() { + return this.getToken(sqlParser.PLUS, 0); +}; + +ArithmeticOperatorContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; + +ArithmeticOperatorContext.prototype.ASTERISK = function() { + return this.getToken(sqlParser.ASTERISK, 0); +}; + +ArithmeticOperatorContext.prototype.SLASH = function() { + return this.getToken(sqlParser.SLASH, 0); +}; + +ArithmeticOperatorContext.prototype.PERCENT = function() { + return this.getToken(sqlParser.PERCENT, 0); +}; + +ArithmeticOperatorContext.prototype.DIV = function() { + return this.getToken(sqlParser.DIV, 0); +}; + +ArithmeticOperatorContext.prototype.TILDE = function() { + return this.getToken(sqlParser.TILDE, 0); +}; + +ArithmeticOperatorContext.prototype.AMPERSAND = function() { + return this.getToken(sqlParser.AMPERSAND, 0); +}; + +ArithmeticOperatorContext.prototype.PIPE = function() { + return this.getToken(sqlParser.PIPE, 0); +}; + +ArithmeticOperatorContext.prototype.CONCAT_PIPE = function() { + return this.getToken(sqlParser.CONCAT_PIPE, 0); +}; + +ArithmeticOperatorContext.prototype.HAT = function() { + return this.getToken(sqlParser.HAT, 0); +}; + +ArithmeticOperatorContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterArithmeticOperator(this); + } +}; + +ArithmeticOperatorContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitArithmeticOperator(this); + } +}; + +ArithmeticOperatorContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitArithmeticOperator(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ArithmeticOperatorContext = ArithmeticOperatorContext; + +sqlParser.prototype.arithmeticOperator = function() { + + var localctx = new ArithmeticOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 154, sqlParser.RULE_arithmeticOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2228; + _la = this._input.LA(1); + if(!(((((_la - 138)) & ~0x1f) == 0 && ((1 << (_la - 138)) & ((1 << (sqlParser.PLUS - 138)) | (1 << (sqlParser.MINUS - 138)) | (1 << (sqlParser.ASTERISK - 138)) | (1 << (sqlParser.SLASH - 138)) | (1 << (sqlParser.PERCENT - 138)) | (1 << (sqlParser.DIV - 138)) | (1 << (sqlParser.TILDE - 138)) | (1 << (sqlParser.AMPERSAND - 138)) | (1 << (sqlParser.PIPE - 138)) | (1 << (sqlParser.CONCAT_PIPE - 138)) | (1 << (sqlParser.HAT - 138)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function PredicateOperatorContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_predicateOperator; + return this; +} + +PredicateOperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +PredicateOperatorContext.prototype.constructor = PredicateOperatorContext; + +PredicateOperatorContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; + +PredicateOperatorContext.prototype.AND = function() { + return this.getToken(sqlParser.AND, 0); +}; + +PredicateOperatorContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +PredicateOperatorContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +PredicateOperatorContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPredicateOperator(this); + } +}; + +PredicateOperatorContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPredicateOperator(this); + } +}; + +PredicateOperatorContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPredicateOperator(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.PredicateOperatorContext = PredicateOperatorContext; + +sqlParser.prototype.predicateOperator = function() { + + var localctx = new PredicateOperatorContext(this, this._ctx, this.state); + this.enterRule(localctx, 156, sqlParser.RULE_predicateOperator); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2230; + _la = this._input.LA(1); + if(!(((((_la - 29)) & ~0x1f) == 0 && ((1 << (_la - 29)) & ((1 << (sqlParser.OR - 29)) | (1 << (sqlParser.AND - 29)) | (1 << (sqlParser.IN - 29)) | (1 << (sqlParser.NOT - 29)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function BooleanValueContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_booleanValue; + return this; +} + +BooleanValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +BooleanValueContext.prototype.constructor = BooleanValueContext; + +BooleanValueContext.prototype.TRUE = function() { + return this.getToken(sqlParser.TRUE, 0); +}; + +BooleanValueContext.prototype.FALSE = function() { + return this.getToken(sqlParser.FALSE, 0); +}; + +BooleanValueContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterBooleanValue(this); + } +}; + +BooleanValueContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitBooleanValue(this); + } +}; + +BooleanValueContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitBooleanValue(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.BooleanValueContext = BooleanValueContext; + +sqlParser.prototype.booleanValue = function() { + + var localctx = new BooleanValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 158, sqlParser.RULE_booleanValue); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2232; + _la = this._input.LA(1); + if(!(_la===sqlParser.TRUE || _la===sqlParser.FALSE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IntervalContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_interval; + return this; +} + +IntervalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalContext.prototype.constructor = IntervalContext; + +IntervalContext.prototype.INTERVAL = function() { + return this.getToken(sqlParser.INTERVAL, 0); +}; + +IntervalContext.prototype.intervalField = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IntervalFieldContext); + } else { + return this.getTypedRuleContext(IntervalFieldContext,i); + } +}; + +IntervalContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterInterval(this); + } +}; + +IntervalContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitInterval(this); + } +}; + +IntervalContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitInterval(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IntervalContext = IntervalContext; + +sqlParser.prototype.interval = function() { + + var localctx = new IntervalContext(this, this._ctx, this.state); + this.enterRule(localctx, 160, sqlParser.RULE_interval); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2234; + this.match(sqlParser.INTERVAL); + this.state = 2238; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,294,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 2235; + this.intervalField(); + } + this.state = 2240; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,294,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IntervalFieldContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_intervalField; + this.value = null; // IntervalValueContext + this.unit = null; // IdentifierContext + this.to = null; // IdentifierContext + return this; +} + +IntervalFieldContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalFieldContext.prototype.constructor = IntervalFieldContext; + +IntervalFieldContext.prototype.intervalValue = function() { + return this.getTypedRuleContext(IntervalValueContext,0); +}; + +IntervalFieldContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +IntervalFieldContext.prototype.TO = function() { + return this.getToken(sqlParser.TO, 0); +}; + +IntervalFieldContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIntervalField(this); + } +}; + +IntervalFieldContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIntervalField(this); + } +}; + +IntervalFieldContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIntervalField(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IntervalFieldContext = IntervalFieldContext; + +sqlParser.prototype.intervalField = function() { + + var localctx = new IntervalFieldContext(this, this._ctx, this.state); + this.enterRule(localctx, 162, sqlParser.RULE_intervalField); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2241; + localctx.value = this.intervalValue(); + this.state = 2242; + localctx.unit = this.identifier(); + this.state = 2245; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,295,this._ctx); + if(la_===1) { + this.state = 2243; + this.match(sqlParser.TO); + this.state = 2244; + localctx.to = this.identifier(); + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IntervalValueContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_intervalValue; + return this; +} + +IntervalValueContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IntervalValueContext.prototype.constructor = IntervalValueContext; + +IntervalValueContext.prototype.INTEGER_VALUE = function() { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; + +IntervalValueContext.prototype.DECIMAL_VALUE = function() { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; + +IntervalValueContext.prototype.PLUS = function() { + return this.getToken(sqlParser.PLUS, 0); +}; + +IntervalValueContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; + +IntervalValueContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +IntervalValueContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIntervalValue(this); + } +}; + +IntervalValueContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIntervalValue(this); + } +}; + +IntervalValueContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIntervalValue(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IntervalValueContext = IntervalValueContext; + +sqlParser.prototype.intervalValue = function() { + + var localctx = new IntervalValueContext(this, this._ctx, this.state); + this.enterRule(localctx, 164, sqlParser.RULE_intervalValue); + var _la = 0; // Token type + try { + this.state = 2252; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.PLUS: + case sqlParser.MINUS: + case sqlParser.INTEGER_VALUE: + case sqlParser.DECIMAL_VALUE: + this.enterOuterAlt(localctx, 1); + this.state = 2248; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PLUS || _la===sqlParser.MINUS) { + this.state = 2247; + _la = this._input.LA(1); + if(!(_la===sqlParser.PLUS || _la===sqlParser.MINUS)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } + + this.state = 2250; + _la = this._input.LA(1); + if(!(_la===sqlParser.INTEGER_VALUE || _la===sqlParser.DECIMAL_VALUE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + case sqlParser.STRING: + this.enterOuterAlt(localctx, 2); + this.state = 2251; + this.match(sqlParser.STRING); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ColPositionContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colPosition; + return this; +} + +ColPositionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColPositionContext.prototype.constructor = ColPositionContext; + +ColPositionContext.prototype.FIRST = function() { + return this.getToken(sqlParser.FIRST, 0); +}; + +ColPositionContext.prototype.AFTER = function() { + return this.getToken(sqlParser.AFTER, 0); +}; + +ColPositionContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ColPositionContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterColPosition(this); + } +}; + +ColPositionContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitColPosition(this); + } +}; + +ColPositionContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitColPosition(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ColPositionContext = ColPositionContext; + +sqlParser.prototype.colPosition = function() { + + var localctx = new ColPositionContext(this, this._ctx, this.state); + this.enterRule(localctx, 166, sqlParser.RULE_colPosition); + try { + this.state = 2257; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.FIRST: + this.enterOuterAlt(localctx, 1); + this.state = 2254; + this.match(sqlParser.FIRST); + break; + case sqlParser.AFTER: + this.enterOuterAlt(localctx, 2); + this.state = 2255; + this.match(sqlParser.AFTER); + this.state = 2256; + this.identifier(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function DataTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dataType; + return this; +} + +DataTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DataTypeContext.prototype.constructor = DataTypeContext; + + + +DataTypeContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function ComplexDataTypeContext(parser, ctx) { + DataTypeContext.call(this, parser); + this.complex = null; // Token; + DataTypeContext.prototype.copyFrom.call(this, ctx); + return this; +} + +ComplexDataTypeContext.prototype = Object.create(DataTypeContext.prototype); +ComplexDataTypeContext.prototype.constructor = ComplexDataTypeContext; + +sqlParser.ComplexDataTypeContext = ComplexDataTypeContext; + +ComplexDataTypeContext.prototype.dataType = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(DataTypeContext); + } else { + return this.getTypedRuleContext(DataTypeContext,i); + } +}; + +ComplexDataTypeContext.prototype.ARRAY = function() { + return this.getToken(sqlParser.ARRAY, 0); +}; + +ComplexDataTypeContext.prototype.MAP = function() { + return this.getToken(sqlParser.MAP, 0); +}; + +ComplexDataTypeContext.prototype.STRUCT = function() { + return this.getToken(sqlParser.STRUCT, 0); +}; + +ComplexDataTypeContext.prototype.NEQ = function() { + return this.getToken(sqlParser.NEQ, 0); +}; + +ComplexDataTypeContext.prototype.complexColTypeList = function() { + return this.getTypedRuleContext(ComplexColTypeListContext,0); +}; +ComplexDataTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterComplexDataType(this); + } +}; + +ComplexDataTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitComplexDataType(this); + } +}; + +ComplexDataTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitComplexDataType(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function PrimitiveDataTypeContext(parser, ctx) { + DataTypeContext.call(this, parser); + DataTypeContext.prototype.copyFrom.call(this, ctx); + return this; +} + +PrimitiveDataTypeContext.prototype = Object.create(DataTypeContext.prototype); +PrimitiveDataTypeContext.prototype.constructor = PrimitiveDataTypeContext; + +sqlParser.PrimitiveDataTypeContext = PrimitiveDataTypeContext; + +PrimitiveDataTypeContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +PrimitiveDataTypeContext.prototype.INTEGER_VALUE = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.INTEGER_VALUE); + } else { + return this.getToken(sqlParser.INTEGER_VALUE, i); + } +}; + +PrimitiveDataTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterPrimitiveDataType(this); + } +}; + +PrimitiveDataTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitPrimitiveDataType(this); + } +}; + +PrimitiveDataTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitPrimitiveDataType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.DataTypeContext = DataTypeContext; + +sqlParser.prototype.dataType = function() { + + var localctx = new DataTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 168, sqlParser.RULE_dataType); + var _la = 0; // Token type + try { + this.state = 2293; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,303,this._ctx); + switch(la_) { + case 1: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2259; + localctx.complex = this.match(sqlParser.ARRAY); + this.state = 2260; + this.match(sqlParser.LT); + this.state = 2261; + this.dataType(); + this.state = 2262; + this.match(sqlParser.GT); + break; + + case 2: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2264; + localctx.complex = this.match(sqlParser.MAP); + this.state = 2265; + this.match(sqlParser.LT); + this.state = 2266; + this.dataType(); + this.state = 2267; + this.match(sqlParser.T__3); + this.state = 2268; + this.dataType(); + this.state = 2269; + this.match(sqlParser.GT); + break; + + case 3: + localctx = new ComplexDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2271; + localctx.complex = this.match(sqlParser.STRUCT); + this.state = 2278; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.LT: + this.state = 2272; + this.match(sqlParser.LT); + this.state = 2274; + this._errHandler.sync(this); + _la = this._input.LA(1); + if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.JOIN - 32)) | (1 << (sqlParser.CROSS - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.INNER - 32)) | (1 << (sqlParser.LEFT - 32)) | (1 << (sqlParser.SEMI - 32)) | (1 << (sqlParser.RIGHT - 32)) | (1 << (sqlParser.FULL - 32)) | (1 << (sqlParser.NATURAL - 32)) | (1 << (sqlParser.ON - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.UNION - 96)) | (1 << (sqlParser.EXCEPT - 96)) | (1 << (sqlParser.SETMINUS - 96)) | (1 << (sqlParser.INTERSECT - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.ANTI - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)) | (1 << (sqlParser.IDENTIFIER - 224)) | (1 << (sqlParser.BACKQUOTED_IDENTIFIER - 224)))) !== 0)) { + this.state = 2273; + this.complexColTypeList(); + } + + this.state = 2276; + this.match(sqlParser.GT); + break; + case sqlParser.NEQ: + this.state = 2277; + this.match(sqlParser.NEQ); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + break; + + case 4: + localctx = new PrimitiveDataTypeContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2280; + this.identifier(); + this.state = 2291; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,302,this._ctx); + if(la_===1) { + this.state = 2281; + this.match(sqlParser.T__0); + this.state = 2282; + this.match(sqlParser.INTEGER_VALUE); + this.state = 2287; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2283; + this.match(sqlParser.T__3); + this.state = 2284; + this.match(sqlParser.INTEGER_VALUE); + this.state = 2289; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 2290; + this.match(sqlParser.T__1); + + } + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ColTypeListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colTypeList; + return this; +} + +ColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColTypeListContext.prototype.constructor = ColTypeListContext; + +ColTypeListContext.prototype.colType = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ColTypeContext); + } else { + return this.getTypedRuleContext(ColTypeContext,i); + } +}; + +ColTypeListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterColTypeList(this); + } +}; + +ColTypeListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitColTypeList(this); + } +}; + +ColTypeListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitColTypeList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ColTypeListContext = ColTypeListContext; + +sqlParser.prototype.colTypeList = function() { + + var localctx = new ColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 170, sqlParser.RULE_colTypeList); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2295; + this.colType(); + this.state = 2300; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,304,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 2296; + this.match(sqlParser.T__3); + this.state = 2297; + this.colType(); + } + this.state = 2302; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,304,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ColTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_colType; + return this; +} + +ColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ColTypeContext.prototype.constructor = ColTypeContext; + +ColTypeContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ColTypeContext.prototype.dataType = function() { + return this.getTypedRuleContext(DataTypeContext,0); +}; + +ColTypeContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +ColTypeContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ColTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterColType(this); + } +}; + +ColTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitColType(this); + } +}; + +ColTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitColType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ColTypeContext = ColTypeContext; + +sqlParser.prototype.colType = function() { + + var localctx = new ColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 172, sqlParser.RULE_colType); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2303; + this.identifier(); + this.state = 2304; + this.dataType(); + this.state = 2307; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,305,this._ctx); + if(la_===1) { + this.state = 2305; + this.match(sqlParser.COMMENT); + this.state = 2306; + this.match(sqlParser.STRING); + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function DtColTypeListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dtColTypeList; + return this; +} + +DtColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DtColTypeListContext.prototype.constructor = DtColTypeListContext; + +DtColTypeListContext.prototype.dtColType = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(DtColTypeContext); + } else { + return this.getTypedRuleContext(DtColTypeContext,i); + } +}; + +DtColTypeListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDtColTypeList(this); + } +}; + +DtColTypeListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDtColTypeList(this); + } +}; + +DtColTypeListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDtColTypeList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.DtColTypeListContext = DtColTypeListContext; + +sqlParser.prototype.dtColTypeList = function() { + + var localctx = new DtColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 174, sqlParser.RULE_dtColTypeList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2309; + this.dtColType(); + this.state = 2314; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2310; + this.match(sqlParser.T__3); + this.state = 2311; + this.dtColType(); + this.state = 2316; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function DtColTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_dtColType; + return this; +} + +DtColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +DtColTypeContext.prototype.constructor = DtColTypeContext; + +DtColTypeContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +DtColTypeContext.prototype.dataType = function() { + return this.getTypedRuleContext(DataTypeContext,0); +}; + +DtColTypeContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +DtColTypeContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +DtColTypeContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +DtColTypeContext.prototype.WATERMARK = function() { + return this.getToken(sqlParser.WATERMARK, 0); +}; + +DtColTypeContext.prototype.FOR = function() { + return this.getToken(sqlParser.FOR, 0); +}; + +DtColTypeContext.prototype.primaryExpression = function() { + return this.getTypedRuleContext(PrimaryExpressionContext,0); +}; + +DtColTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDtColType(this); + } +}; + +DtColTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDtColType(this); + } +}; + +DtColTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDtColType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.DtColTypeContext = DtColTypeContext; + +sqlParser.prototype.dtColType = function() { + + var localctx = new DtColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 176, sqlParser.RULE_dtColType); + var _la = 0; // Token type + try { + this.state = 2340; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 2317; + this.identifier(); + this.state = 2322; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__2) { + this.state = 2318; + this.match(sqlParser.T__2); + this.state = 2319; + this.identifier(); + this.state = 2324; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + this.state = 2325; + this.dataType(); + this.state = 2328; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.AS) { + this.state = 2326; + this.match(sqlParser.AS); + this.state = 2327; + this.identifier(); + } + + this.state = 2332; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 2330; + this.match(sqlParser.COMMENT); + this.state = 2331; + this.match(sqlParser.STRING); + } + + break; + case sqlParser.WATERMARK: + this.enterOuterAlt(localctx, 2); + this.state = 2334; + this.match(sqlParser.WATERMARK); + this.state = 2335; + this.match(sqlParser.FOR); + this.state = 2336; + this.identifier(); + this.state = 2337; + this.match(sqlParser.AS); + this.state = 2338; + this.primaryExpression(0); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ComplexColTypeListContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_complexColTypeList; + return this; +} + +ComplexColTypeListContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComplexColTypeListContext.prototype.constructor = ComplexColTypeListContext; + +ComplexColTypeListContext.prototype.complexColType = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ComplexColTypeContext); + } else { + return this.getTypedRuleContext(ComplexColTypeContext,i); + } +}; + +ComplexColTypeListContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterComplexColTypeList(this); + } +}; + +ComplexColTypeListContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitComplexColTypeList(this); + } +}; + +ComplexColTypeListContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitComplexColTypeList(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ComplexColTypeListContext = ComplexColTypeListContext; + +sqlParser.prototype.complexColTypeList = function() { + + var localctx = new ComplexColTypeListContext(this, this._ctx, this.state); + this.enterRule(localctx, 178, sqlParser.RULE_complexColTypeList); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2342; + this.complexColType(); + this.state = 2347; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2343; + this.match(sqlParser.T__3); + this.state = 2344; + this.complexColType(); + this.state = 2349; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function ComplexColTypeContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_complexColType; + return this; +} + +ComplexColTypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +ComplexColTypeContext.prototype.constructor = ComplexColTypeContext; + +ComplexColTypeContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +ComplexColTypeContext.prototype.dataType = function() { + return this.getTypedRuleContext(DataTypeContext,0); +}; + +ComplexColTypeContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +ComplexColTypeContext.prototype.STRING = function() { + return this.getToken(sqlParser.STRING, 0); +}; + +ComplexColTypeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterComplexColType(this); + } +}; + +ComplexColTypeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitComplexColType(this); + } +}; + +ComplexColTypeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitComplexColType(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.ComplexColTypeContext = ComplexColTypeContext; + +sqlParser.prototype.complexColType = function() { + + var localctx = new ComplexColTypeContext(this, this._ctx, this.state); + this.enterRule(localctx, 180, sqlParser.RULE_complexColType); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2350; + this.identifier(); + this.state = 2351; + this.match(sqlParser.T__9); + this.state = 2352; + this.dataType(); + this.state = 2355; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.COMMENT) { + this.state = 2353; + this.match(sqlParser.COMMENT); + this.state = 2354; + this.match(sqlParser.STRING); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function WhenClauseContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_whenClause; + this.condition = null; // ExpressionContext + this.result = null; // ExpressionContext + return this; +} + +WhenClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WhenClauseContext.prototype.constructor = WhenClauseContext; + +WhenClauseContext.prototype.WHEN = function() { + return this.getToken(sqlParser.WHEN, 0); +}; + +WhenClauseContext.prototype.THEN = function() { + return this.getToken(sqlParser.THEN, 0); +}; + +WhenClauseContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +WhenClauseContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterWhenClause(this); + } +}; + +WhenClauseContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitWhenClause(this); + } +}; + +WhenClauseContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitWhenClause(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.WhenClauseContext = WhenClauseContext; + +sqlParser.prototype.whenClause = function() { + + var localctx = new WhenClauseContext(this, this._ctx, this.state); + this.enterRule(localctx, 182, sqlParser.RULE_whenClause); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2357; + this.match(sqlParser.WHEN); + this.state = 2358; + localctx.condition = this.expression(); + this.state = 2359; + this.match(sqlParser.THEN); + this.state = 2360; + localctx.result = this.expression(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function WindowsContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windows; + return this; +} + +WindowsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowsContext.prototype.constructor = WindowsContext; + +WindowsContext.prototype.WINDOW = function() { + return this.getToken(sqlParser.WINDOW, 0); +}; + +WindowsContext.prototype.namedWindow = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(NamedWindowContext); + } else { + return this.getTypedRuleContext(NamedWindowContext,i); + } +}; + +WindowsContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterWindows(this); + } +}; + +WindowsContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitWindows(this); + } +}; + +WindowsContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitWindows(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.WindowsContext = WindowsContext; + +sqlParser.prototype.windows = function() { + + var localctx = new WindowsContext(this, this._ctx, this.state); + this.enterRule(localctx, 184, sqlParser.RULE_windows); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2362; + this.match(sqlParser.WINDOW); + this.state = 2363; + this.namedWindow(); + this.state = 2368; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,313,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 2364; + this.match(sqlParser.T__3); + this.state = 2365; + this.namedWindow(); + } + this.state = 2370; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,313,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NamedWindowContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_namedWindow; + return this; +} + +NamedWindowContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NamedWindowContext.prototype.constructor = NamedWindowContext; + +NamedWindowContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; + +NamedWindowContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +NamedWindowContext.prototype.windowSpec = function() { + return this.getTypedRuleContext(WindowSpecContext,0); +}; + +NamedWindowContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNamedWindow(this); + } +}; + +NamedWindowContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNamedWindow(this); + } +}; + +NamedWindowContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNamedWindow(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NamedWindowContext = NamedWindowContext; + +sqlParser.prototype.namedWindow = function() { + + var localctx = new NamedWindowContext(this, this._ctx, this.state); + this.enterRule(localctx, 186, sqlParser.RULE_namedWindow); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2371; + this.identifier(); + this.state = 2372; + this.match(sqlParser.AS); + this.state = 2373; + this.windowSpec(); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function WindowSpecContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windowSpec; + return this; +} + +WindowSpecContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowSpecContext.prototype.constructor = WindowSpecContext; + + + +WindowSpecContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function WindowRefContext(parser, ctx) { + WindowSpecContext.call(this, parser); + this.name = null; // IdentifierContext; + WindowSpecContext.prototype.copyFrom.call(this, ctx); + return this; +} + +WindowRefContext.prototype = Object.create(WindowSpecContext.prototype); +WindowRefContext.prototype.constructor = WindowRefContext; + +sqlParser.WindowRefContext = WindowRefContext; + +WindowRefContext.prototype.identifier = function() { + return this.getTypedRuleContext(IdentifierContext,0); +}; +WindowRefContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterWindowRef(this); + } +}; + +WindowRefContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitWindowRef(this); + } +}; + +WindowRefContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitWindowRef(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function WindowDefContext(parser, ctx) { + WindowSpecContext.call(this, parser); + this._expression = null; // ExpressionContext; + this.partition = []; // of ExpressionContexts; + WindowSpecContext.prototype.copyFrom.call(this, ctx); + return this; +} + +WindowDefContext.prototype = Object.create(WindowSpecContext.prototype); +WindowDefContext.prototype.constructor = WindowDefContext; + +sqlParser.WindowDefContext = WindowDefContext; + +WindowDefContext.prototype.CLUSTER = function() { + return this.getToken(sqlParser.CLUSTER, 0); +}; + +WindowDefContext.prototype.BY = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTokens(sqlParser.BY); + } else { + return this.getToken(sqlParser.BY, i); + } +}; + + +WindowDefContext.prototype.expression = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(ExpressionContext); + } else { + return this.getTypedRuleContext(ExpressionContext,i); + } +}; + +WindowDefContext.prototype.windowFrame = function() { + return this.getTypedRuleContext(WindowFrameContext,0); +}; + +WindowDefContext.prototype.sortItem = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(SortItemContext); + } else { + return this.getTypedRuleContext(SortItemContext,i); + } +}; + +WindowDefContext.prototype.PARTITION = function() { + return this.getToken(sqlParser.PARTITION, 0); +}; + +WindowDefContext.prototype.DISTRIBUTE = function() { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; + +WindowDefContext.prototype.ORDER = function() { + return this.getToken(sqlParser.ORDER, 0); +}; + +WindowDefContext.prototype.SORT = function() { + return this.getToken(sqlParser.SORT, 0); +}; +WindowDefContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterWindowDef(this); + } +}; + +WindowDefContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitWindowDef(this); + } +}; + +WindowDefContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitWindowDef(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.WindowSpecContext = WindowSpecContext; + +sqlParser.prototype.windowSpec = function() { + + var localctx = new WindowSpecContext(this, this._ctx, this.state); + this.enterRule(localctx, 188, sqlParser.RULE_windowSpec); + var _la = 0; // Token type + try { + this.state = 2417; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.JOIN: + case sqlParser.CROSS: + case sqlParser.OUTER: + case sqlParser.INNER: + case sqlParser.LEFT: + case sqlParser.SEMI: + case sqlParser.RIGHT: + case sqlParser.FULL: + case sqlParser.NATURAL: + case sqlParser.ON: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.UNION: + case sqlParser.EXCEPT: + case sqlParser.SETMINUS: + case sqlParser.INTERSECT: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.ANTI: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + localctx = new WindowRefContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2375; + localctx.name = this.identifier(); + break; + case sqlParser.T__0: + localctx = new WindowDefContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2376; + this.match(sqlParser.T__0); + this.state = 2411; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.CLUSTER: + this.state = 2377; + this.match(sqlParser.CLUSTER); + this.state = 2378; + this.match(sqlParser.BY); + this.state = 2379; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2384; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2380; + this.match(sqlParser.T__3); + this.state = 2381; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2386; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + break; + case sqlParser.T__1: + case sqlParser.ORDER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.SORT: + case sqlParser.DISTRIBUTE: + this.state = 2397; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.PARTITION || _la===sqlParser.DISTRIBUTE) { + this.state = 2387; + _la = this._input.LA(1); + if(!(_la===sqlParser.PARTITION || _la===sqlParser.DISTRIBUTE)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2388; + this.match(sqlParser.BY); + this.state = 2389; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2394; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2390; + this.match(sqlParser.T__3); + this.state = 2391; + localctx._expression = this.expression(); + localctx.partition.push(localctx._expression); + this.state = 2396; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + this.state = 2409; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.ORDER || _la===sqlParser.SORT) { + this.state = 2399; + _la = this._input.LA(1); + if(!(_la===sqlParser.ORDER || _la===sqlParser.SORT)) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + this.state = 2400; + this.match(sqlParser.BY); + this.state = 2401; + this.sortItem(); + this.state = 2406; + this._errHandler.sync(this); + _la = this._input.LA(1); + while(_la===sqlParser.T__3) { + this.state = 2402; + this.match(sqlParser.T__3); + this.state = 2403; + this.sortItem(); + this.state = 2408; + this._errHandler.sync(this); + _la = this._input.LA(1); + } + } + + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + this.state = 2414; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.RANGE || _la===sqlParser.ROWS) { + this.state = 2413; + this.windowFrame(); + } + + this.state = 2416; + this.match(sqlParser.T__1); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function WindowFrameContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_windowFrame; + this.frameType = null; // Token + this.start = null; // FrameBoundContext + this.end = null; // FrameBoundContext + return this; +} + +WindowFrameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +WindowFrameContext.prototype.constructor = WindowFrameContext; + +WindowFrameContext.prototype.RANGE = function() { + return this.getToken(sqlParser.RANGE, 0); +}; + +WindowFrameContext.prototype.frameBound = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(FrameBoundContext); + } else { + return this.getTypedRuleContext(FrameBoundContext,i); + } +}; + +WindowFrameContext.prototype.ROWS = function() { + return this.getToken(sqlParser.ROWS, 0); +}; + +WindowFrameContext.prototype.BETWEEN = function() { + return this.getToken(sqlParser.BETWEEN, 0); +}; + +WindowFrameContext.prototype.AND = function() { + return this.getToken(sqlParser.AND, 0); +}; + +WindowFrameContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterWindowFrame(this); + } +}; + +WindowFrameContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitWindowFrame(this); + } +}; + +WindowFrameContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitWindowFrame(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.WindowFrameContext = WindowFrameContext; + +sqlParser.prototype.windowFrame = function() { + + var localctx = new WindowFrameContext(this, this._ctx, this.state); + this.enterRule(localctx, 190, sqlParser.RULE_windowFrame); + try { + this.state = 2435; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,322,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 2419; + localctx.frameType = this.match(sqlParser.RANGE); + this.state = 2420; + localctx.start = this.frameBound(); + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 2421; + localctx.frameType = this.match(sqlParser.ROWS); + this.state = 2422; + localctx.start = this.frameBound(); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 2423; + localctx.frameType = this.match(sqlParser.RANGE); + this.state = 2424; + this.match(sqlParser.BETWEEN); + this.state = 2425; + localctx.start = this.frameBound(); + this.state = 2426; + this.match(sqlParser.AND); + this.state = 2427; + localctx.end = this.frameBound(); + break; + + case 4: + this.enterOuterAlt(localctx, 4); + this.state = 2429; + localctx.frameType = this.match(sqlParser.ROWS); + this.state = 2430; + this.match(sqlParser.BETWEEN); + this.state = 2431; + localctx.start = this.frameBound(); + this.state = 2432; + this.match(sqlParser.AND); + this.state = 2433; + localctx.end = this.frameBound(); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function FrameBoundContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_frameBound; + this.boundType = null; // Token + return this; +} + +FrameBoundContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +FrameBoundContext.prototype.constructor = FrameBoundContext; + +FrameBoundContext.prototype.UNBOUNDED = function() { + return this.getToken(sqlParser.UNBOUNDED, 0); +}; + +FrameBoundContext.prototype.PRECEDING = function() { + return this.getToken(sqlParser.PRECEDING, 0); +}; + +FrameBoundContext.prototype.FOLLOWING = function() { + return this.getToken(sqlParser.FOLLOWING, 0); +}; + +FrameBoundContext.prototype.ROW = function() { + return this.getToken(sqlParser.ROW, 0); +}; + +FrameBoundContext.prototype.CURRENT = function() { + return this.getToken(sqlParser.CURRENT, 0); +}; + +FrameBoundContext.prototype.expression = function() { + return this.getTypedRuleContext(ExpressionContext,0); +}; + +FrameBoundContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterFrameBound(this); + } +}; + +FrameBoundContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitFrameBound(this); + } +}; + +FrameBoundContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitFrameBound(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.FrameBoundContext = FrameBoundContext; + +sqlParser.prototype.frameBound = function() { + + var localctx = new FrameBoundContext(this, this._ctx, this.state); + this.enterRule(localctx, 192, sqlParser.RULE_frameBound); + var _la = 0; // Token type + try { + this.state = 2444; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,323,this._ctx); + switch(la_) { + case 1: + this.enterOuterAlt(localctx, 1); + this.state = 2437; + this.match(sqlParser.UNBOUNDED); + this.state = 2438; + localctx.boundType = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.PRECEDING || _la===sqlParser.FOLLOWING)) { + localctx.boundType = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + + case 2: + this.enterOuterAlt(localctx, 2); + this.state = 2439; + localctx.boundType = this.match(sqlParser.CURRENT); + this.state = 2440; + this.match(sqlParser.ROW); + break; + + case 3: + this.enterOuterAlt(localctx, 3); + this.state = 2441; + this.expression(); + this.state = 2442; + localctx.boundType = this._input.LT(1); + _la = this._input.LA(1); + if(!(_la===sqlParser.PRECEDING || _la===sqlParser.FOLLOWING)) { + localctx.boundType = this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QualifiedNameContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_qualifiedName; + return this; +} + +QualifiedNameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QualifiedNameContext.prototype.constructor = QualifiedNameContext; + +QualifiedNameContext.prototype.identifier = function(i) { + if(i===undefined) { + i = null; + } + if(i===null) { + return this.getTypedRuleContexts(IdentifierContext); + } else { + return this.getTypedRuleContext(IdentifierContext,i); + } +}; + +QualifiedNameContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQualifiedName(this); + } +}; + +QualifiedNameContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQualifiedName(this); + } +}; + +QualifiedNameContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQualifiedName(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.QualifiedNameContext = QualifiedNameContext; + +sqlParser.prototype.qualifiedName = function() { + + var localctx = new QualifiedNameContext(this, this._ctx, this.state); + this.enterRule(localctx, 194, sqlParser.RULE_qualifiedName); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2446; + this.identifier(); + this.state = 2451; + this._errHandler.sync(this); + var _alt = this._interp.adaptivePredict(this._input,324,this._ctx) + while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { + if(_alt===1) { + this.state = 2447; + this.match(sqlParser.T__2); + this.state = 2448; + this.identifier(); + } + this.state = 2453; + this._errHandler.sync(this); + _alt = this._interp.adaptivePredict(this._input,324,this._ctx); + } + + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function IdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_identifier; + return this; +} + +IdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +IdentifierContext.prototype.constructor = IdentifierContext; + +IdentifierContext.prototype.strictIdentifier = function() { + return this.getTypedRuleContext(StrictIdentifierContext,0); +}; + +IdentifierContext.prototype.ANTI = function() { + return this.getToken(sqlParser.ANTI, 0); +}; + +IdentifierContext.prototype.FULL = function() { + return this.getToken(sqlParser.FULL, 0); +}; + +IdentifierContext.prototype.INNER = function() { + return this.getToken(sqlParser.INNER, 0); +}; + +IdentifierContext.prototype.LEFT = function() { + return this.getToken(sqlParser.LEFT, 0); +}; + +IdentifierContext.prototype.SEMI = function() { + return this.getToken(sqlParser.SEMI, 0); +}; + +IdentifierContext.prototype.RIGHT = function() { + return this.getToken(sqlParser.RIGHT, 0); +}; + +IdentifierContext.prototype.NATURAL = function() { + return this.getToken(sqlParser.NATURAL, 0); +}; + +IdentifierContext.prototype.JOIN = function() { + return this.getToken(sqlParser.JOIN, 0); +}; + +IdentifierContext.prototype.CROSS = function() { + return this.getToken(sqlParser.CROSS, 0); +}; + +IdentifierContext.prototype.ON = function() { + return this.getToken(sqlParser.ON, 0); +}; + +IdentifierContext.prototype.UNION = function() { + return this.getToken(sqlParser.UNION, 0); +}; + +IdentifierContext.prototype.INTERSECT = function() { + return this.getToken(sqlParser.INTERSECT, 0); +}; + +IdentifierContext.prototype.EXCEPT = function() { + return this.getToken(sqlParser.EXCEPT, 0); +}; + +IdentifierContext.prototype.SETMINUS = function() { + return this.getToken(sqlParser.SETMINUS, 0); +}; + +IdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIdentifier(this); + } +}; + +IdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIdentifier(this); + } +}; + +IdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.IdentifierContext = IdentifierContext; + +sqlParser.prototype.identifier = function() { + + var localctx = new IdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 196, sqlParser.RULE_identifier); + try { + this.state = 2469; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.OUTER: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.LOCAL: + case sqlParser.INPATH: + case sqlParser.IDENTIFIER: + case sqlParser.BACKQUOTED_IDENTIFIER: + this.enterOuterAlt(localctx, 1); + this.state = 2454; + this.strictIdentifier(); + break; + case sqlParser.ANTI: + this.enterOuterAlt(localctx, 2); + this.state = 2455; + this.match(sqlParser.ANTI); + break; + case sqlParser.FULL: + this.enterOuterAlt(localctx, 3); + this.state = 2456; + this.match(sqlParser.FULL); + break; + case sqlParser.INNER: + this.enterOuterAlt(localctx, 4); + this.state = 2457; + this.match(sqlParser.INNER); + break; + case sqlParser.LEFT: + this.enterOuterAlt(localctx, 5); + this.state = 2458; + this.match(sqlParser.LEFT); + break; + case sqlParser.SEMI: + this.enterOuterAlt(localctx, 6); + this.state = 2459; + this.match(sqlParser.SEMI); + break; + case sqlParser.RIGHT: + this.enterOuterAlt(localctx, 7); + this.state = 2460; + this.match(sqlParser.RIGHT); + break; + case sqlParser.NATURAL: + this.enterOuterAlt(localctx, 8); + this.state = 2461; + this.match(sqlParser.NATURAL); + break; + case sqlParser.JOIN: + this.enterOuterAlt(localctx, 9); + this.state = 2462; + this.match(sqlParser.JOIN); + break; + case sqlParser.CROSS: + this.enterOuterAlt(localctx, 10); + this.state = 2463; + this.match(sqlParser.CROSS); + break; + case sqlParser.ON: + this.enterOuterAlt(localctx, 11); + this.state = 2464; + this.match(sqlParser.ON); + break; + case sqlParser.UNION: + this.enterOuterAlt(localctx, 12); + this.state = 2465; + this.match(sqlParser.UNION); + break; + case sqlParser.INTERSECT: + this.enterOuterAlt(localctx, 13); + this.state = 2466; + this.match(sqlParser.INTERSECT); + break; + case sqlParser.EXCEPT: + this.enterOuterAlt(localctx, 14); + this.state = 2467; + this.match(sqlParser.EXCEPT); + break; + case sqlParser.SETMINUS: + this.enterOuterAlt(localctx, 15); + this.state = 2468; + this.match(sqlParser.SETMINUS); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function StrictIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_strictIdentifier; + return this; +} + +StrictIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +StrictIdentifierContext.prototype.constructor = StrictIdentifierContext; + + + +StrictIdentifierContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function QuotedIdentifierAlternativeContext(parser, ctx) { + StrictIdentifierContext.call(this, parser); + StrictIdentifierContext.prototype.copyFrom.call(this, ctx); + return this; +} + +QuotedIdentifierAlternativeContext.prototype = Object.create(StrictIdentifierContext.prototype); +QuotedIdentifierAlternativeContext.prototype.constructor = QuotedIdentifierAlternativeContext; + +sqlParser.QuotedIdentifierAlternativeContext = QuotedIdentifierAlternativeContext; + +QuotedIdentifierAlternativeContext.prototype.quotedIdentifier = function() { + return this.getTypedRuleContext(QuotedIdentifierContext,0); +}; +QuotedIdentifierAlternativeContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQuotedIdentifierAlternative(this); + } +}; + +QuotedIdentifierAlternativeContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQuotedIdentifierAlternative(this); + } +}; + +QuotedIdentifierAlternativeContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQuotedIdentifierAlternative(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function UnquotedIdentifierContext(parser, ctx) { + StrictIdentifierContext.call(this, parser); + StrictIdentifierContext.prototype.copyFrom.call(this, ctx); + return this; +} + +UnquotedIdentifierContext.prototype = Object.create(StrictIdentifierContext.prototype); +UnquotedIdentifierContext.prototype.constructor = UnquotedIdentifierContext; + +sqlParser.UnquotedIdentifierContext = UnquotedIdentifierContext; + +UnquotedIdentifierContext.prototype.IDENTIFIER = function() { + return this.getToken(sqlParser.IDENTIFIER, 0); +}; + +UnquotedIdentifierContext.prototype.nonReserved = function() { + return this.getTypedRuleContext(NonReservedContext,0); +}; +UnquotedIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterUnquotedIdentifier(this); + } +}; + +UnquotedIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitUnquotedIdentifier(this); + } +}; + +UnquotedIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitUnquotedIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.StrictIdentifierContext = StrictIdentifierContext; + +sqlParser.prototype.strictIdentifier = function() { + + var localctx = new StrictIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 198, sqlParser.RULE_strictIdentifier); + try { + this.state = 2474; + this._errHandler.sync(this); + switch(this._input.LA(1)) { + case sqlParser.IDENTIFIER: + localctx = new UnquotedIdentifierContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2471; + this.match(sqlParser.IDENTIFIER); + break; + case sqlParser.BACKQUOTED_IDENTIFIER: + localctx = new QuotedIdentifierAlternativeContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2472; + this.quotedIdentifier(); + break; + case sqlParser.SELECT: + case sqlParser.FROM: + case sqlParser.ADD: + case sqlParser.AS: + case sqlParser.ALL: + case sqlParser.ANY: + case sqlParser.DISTINCT: + case sqlParser.WHERE: + case sqlParser.GROUP: + case sqlParser.BY: + case sqlParser.GROUPING: + case sqlParser.SETS: + case sqlParser.CUBE: + case sqlParser.ROLLUP: + case sqlParser.ORDER: + case sqlParser.HAVING: + case sqlParser.LIMIT: + case sqlParser.AT: + case sqlParser.OR: + case sqlParser.AND: + case sqlParser.IN: + case sqlParser.NOT: + case sqlParser.NO: + case sqlParser.EXISTS: + case sqlParser.BETWEEN: + case sqlParser.LIKE: + case sqlParser.RLIKE: + case sqlParser.IS: + case sqlParser.NULL: + case sqlParser.TRUE: + case sqlParser.FALSE: + case sqlParser.NULLS: + case sqlParser.ASC: + case sqlParser.DESC: + case sqlParser.FOR: + case sqlParser.INTERVAL: + case sqlParser.CASE: + case sqlParser.WHEN: + case sqlParser.THEN: + case sqlParser.ELSE: + case sqlParser.END: + case sqlParser.OUTER: + case sqlParser.PIVOT: + case sqlParser.LATERAL: + case sqlParser.WINDOW: + case sqlParser.OVER: + case sqlParser.PARTITION: + case sqlParser.RANGE: + case sqlParser.ROWS: + case sqlParser.UNBOUNDED: + case sqlParser.PRECEDING: + case sqlParser.FOLLOWING: + case sqlParser.CURRENT: + case sqlParser.FIRST: + case sqlParser.AFTER: + case sqlParser.LAST: + case sqlParser.ROW: + case sqlParser.WITH: + case sqlParser.VALUES: + case sqlParser.CREATE: + case sqlParser.TABLE: + case sqlParser.DIRECTORY: + case sqlParser.VIEW: + case sqlParser.REPLACE: + case sqlParser.INSERT: + case sqlParser.DELETE: + case sqlParser.INTO: + case sqlParser.DESCRIBE: + case sqlParser.EXPLAIN: + case sqlParser.FORMAT: + case sqlParser.LOGICAL: + case sqlParser.CODEGEN: + case sqlParser.COST: + case sqlParser.CAST: + case sqlParser.SHOW: + case sqlParser.TABLES: + case sqlParser.COLUMNS: + case sqlParser.COLUMN: + case sqlParser.USE: + case sqlParser.PARTITIONS: + case sqlParser.FUNCTIONS: + case sqlParser.DROP: + case sqlParser.TO: + case sqlParser.TABLESAMPLE: + case sqlParser.STRATIFY: + case sqlParser.ALTER: + case sqlParser.RENAME: + case sqlParser.ARRAY: + case sqlParser.MAP: + case sqlParser.STRUCT: + case sqlParser.COMMENT: + case sqlParser.SET: + case sqlParser.RESET: + case sqlParser.DATA: + case sqlParser.START: + case sqlParser.TRANSACTION: + case sqlParser.COMMIT: + case sqlParser.ROLLBACK: + case sqlParser.MACRO: + case sqlParser.IGNORE: + case sqlParser.BOTH: + case sqlParser.LEADING: + case sqlParser.TRAILING: + case sqlParser.IF: + case sqlParser.POSITION: + case sqlParser.EXTRACT: + case sqlParser.DIV: + case sqlParser.PERCENTLIT: + case sqlParser.BUCKET: + case sqlParser.OUT: + case sqlParser.OF: + case sqlParser.SORT: + case sqlParser.CLUSTER: + case sqlParser.DISTRIBUTE: + case sqlParser.OVERWRITE: + case sqlParser.TRANSFORM: + case sqlParser.REDUCE: + case sqlParser.SERDE: + case sqlParser.SERDEPROPERTIES: + case sqlParser.RECORDREADER: + case sqlParser.RECORDWRITER: + case sqlParser.DELIMITED: + case sqlParser.FIELDS: + case sqlParser.TERMINATED: + case sqlParser.COLLECTION: + case sqlParser.ITEMS: + case sqlParser.KEYS: + case sqlParser.ESCAPED: + case sqlParser.LINES: + case sqlParser.SEPARATED: + case sqlParser.FUNCTION: + case sqlParser.EXTENDED: + case sqlParser.REFRESH: + case sqlParser.CLEAR: + case sqlParser.CACHE: + case sqlParser.UNCACHE: + case sqlParser.LAZY: + case sqlParser.FORMATTED: + case sqlParser.GLOBAL: + case sqlParser.TEMPORARY: + case sqlParser.OPTIONS: + case sqlParser.UNSET: + case sqlParser.TBLPROPERTIES: + case sqlParser.DBPROPERTIES: + case sqlParser.BUCKETS: + case sqlParser.SKEWED: + case sqlParser.STORED: + case sqlParser.DIRECTORIES: + case sqlParser.LOCATION: + case sqlParser.EXCHANGE: + case sqlParser.ARCHIVE: + case sqlParser.UNARCHIVE: + case sqlParser.FILEFORMAT: + case sqlParser.TOUCH: + case sqlParser.COMPACT: + case sqlParser.CONCATENATE: + case sqlParser.CHANGE: + case sqlParser.CASCADE: + case sqlParser.RESTRICT: + case sqlParser.CLUSTERED: + case sqlParser.SORTED: + case sqlParser.PURGE: + case sqlParser.INPUTFORMAT: + case sqlParser.OUTPUTFORMAT: + case sqlParser.DATABASE: + case sqlParser.DATABASES: + case sqlParser.DFS: + case sqlParser.TRUNCATE: + case sqlParser.ANALYZE: + case sqlParser.COMPUTE: + case sqlParser.LIST: + case sqlParser.STATISTICS: + case sqlParser.PARTITIONED: + case sqlParser.EXTERNAL: + case sqlParser.DEFINED: + case sqlParser.REVOKE: + case sqlParser.GRANT: + case sqlParser.LOCK: + case sqlParser.UNLOCK: + case sqlParser.MSCK: + case sqlParser.REPAIR: + case sqlParser.RECOVER: + case sqlParser.EXPORT: + case sqlParser.IMPORT: + case sqlParser.LOAD: + case sqlParser.ROLE: + case sqlParser.ROLES: + case sqlParser.COMPACTIONS: + case sqlParser.PRINCIPALS: + case sqlParser.TRANSACTIONS: + case sqlParser.INDEX: + case sqlParser.INDEXES: + case sqlParser.LOCKS: + case sqlParser.OPTION: + case sqlParser.LOCAL: + case sqlParser.INPATH: + localctx = new UnquotedIdentifierContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2473; + this.nonReserved(); + break; + default: + throw new antlr4.error.NoViableAltException(this); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function QuotedIdentifierContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_quotedIdentifier; + return this; +} + +QuotedIdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +QuotedIdentifierContext.prototype.constructor = QuotedIdentifierContext; + +QuotedIdentifierContext.prototype.BACKQUOTED_IDENTIFIER = function() { + return this.getToken(sqlParser.BACKQUOTED_IDENTIFIER, 0); +}; + +QuotedIdentifierContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterQuotedIdentifier(this); + } +}; + +QuotedIdentifierContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitQuotedIdentifier(this); + } +}; + +QuotedIdentifierContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitQuotedIdentifier(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.QuotedIdentifierContext = QuotedIdentifierContext; + +sqlParser.prototype.quotedIdentifier = function() { + + var localctx = new QuotedIdentifierContext(this, this._ctx, this.state); + this.enterRule(localctx, 200, sqlParser.RULE_quotedIdentifier); + try { + this.enterOuterAlt(localctx, 1); + this.state = 2476; + this.match(sqlParser.BACKQUOTED_IDENTIFIER); + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NumberContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_number; + return this; +} + +NumberContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NumberContext.prototype.constructor = NumberContext; + + + +NumberContext.prototype.copyFrom = function(ctx) { + antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx); +}; + + +function DecimalLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DecimalLiteralContext.prototype = Object.create(NumberContext.prototype); +DecimalLiteralContext.prototype.constructor = DecimalLiteralContext; + +sqlParser.DecimalLiteralContext = DecimalLiteralContext; + +DecimalLiteralContext.prototype.DECIMAL_VALUE = function() { + return this.getToken(sqlParser.DECIMAL_VALUE, 0); +}; + +DecimalLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +DecimalLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDecimalLiteral(this); + } +}; + +DecimalLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDecimalLiteral(this); + } +}; + +DecimalLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDecimalLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function BigIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +BigIntLiteralContext.prototype = Object.create(NumberContext.prototype); +BigIntLiteralContext.prototype.constructor = BigIntLiteralContext; + +sqlParser.BigIntLiteralContext = BigIntLiteralContext; + +BigIntLiteralContext.prototype.BIGINT_LITERAL = function() { + return this.getToken(sqlParser.BIGINT_LITERAL, 0); +}; + +BigIntLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +BigIntLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterBigIntLiteral(this); + } +}; + +BigIntLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitBigIntLiteral(this); + } +}; + +BigIntLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitBigIntLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function TinyIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +TinyIntLiteralContext.prototype = Object.create(NumberContext.prototype); +TinyIntLiteralContext.prototype.constructor = TinyIntLiteralContext; + +sqlParser.TinyIntLiteralContext = TinyIntLiteralContext; + +TinyIntLiteralContext.prototype.TINYINT_LITERAL = function() { + return this.getToken(sqlParser.TINYINT_LITERAL, 0); +}; + +TinyIntLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +TinyIntLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterTinyIntLiteral(this); + } +}; + +TinyIntLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitTinyIntLiteral(this); + } +}; + +TinyIntLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitTinyIntLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function BigDecimalLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +BigDecimalLiteralContext.prototype = Object.create(NumberContext.prototype); +BigDecimalLiteralContext.prototype.constructor = BigDecimalLiteralContext; + +sqlParser.BigDecimalLiteralContext = BigDecimalLiteralContext; + +BigDecimalLiteralContext.prototype.BIGDECIMAL_LITERAL = function() { + return this.getToken(sqlParser.BIGDECIMAL_LITERAL, 0); +}; + +BigDecimalLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +BigDecimalLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterBigDecimalLiteral(this); + } +}; + +BigDecimalLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitBigDecimalLiteral(this); + } +}; + +BigDecimalLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitBigDecimalLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function DoubleLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +DoubleLiteralContext.prototype = Object.create(NumberContext.prototype); +DoubleLiteralContext.prototype.constructor = DoubleLiteralContext; + +sqlParser.DoubleLiteralContext = DoubleLiteralContext; + +DoubleLiteralContext.prototype.DOUBLE_LITERAL = function() { + return this.getToken(sqlParser.DOUBLE_LITERAL, 0); +}; + +DoubleLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +DoubleLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterDoubleLiteral(this); + } +}; + +DoubleLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitDoubleLiteral(this); + } +}; + +DoubleLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitDoubleLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function IntegerLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +IntegerLiteralContext.prototype = Object.create(NumberContext.prototype); +IntegerLiteralContext.prototype.constructor = IntegerLiteralContext; + +sqlParser.IntegerLiteralContext = IntegerLiteralContext; + +IntegerLiteralContext.prototype.INTEGER_VALUE = function() { + return this.getToken(sqlParser.INTEGER_VALUE, 0); +}; + +IntegerLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +IntegerLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterIntegerLiteral(this); + } +}; + +IntegerLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitIntegerLiteral(this); + } +}; + +IntegerLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitIntegerLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + +function SmallIntLiteralContext(parser, ctx) { + NumberContext.call(this, parser); + NumberContext.prototype.copyFrom.call(this, ctx); + return this; +} + +SmallIntLiteralContext.prototype = Object.create(NumberContext.prototype); +SmallIntLiteralContext.prototype.constructor = SmallIntLiteralContext; + +sqlParser.SmallIntLiteralContext = SmallIntLiteralContext; + +SmallIntLiteralContext.prototype.SMALLINT_LITERAL = function() { + return this.getToken(sqlParser.SMALLINT_LITERAL, 0); +}; + +SmallIntLiteralContext.prototype.MINUS = function() { + return this.getToken(sqlParser.MINUS, 0); +}; +SmallIntLiteralContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterSmallIntLiteral(this); + } +}; + +SmallIntLiteralContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitSmallIntLiteral(this); + } +}; + +SmallIntLiteralContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitSmallIntLiteral(this); + } else { + return visitor.visitChildren(this); + } +}; + + + +sqlParser.NumberContext = NumberContext; + +sqlParser.prototype.number = function() { + + var localctx = new NumberContext(this, this._ctx, this.state); + this.enterRule(localctx, 202, sqlParser.RULE_number); + var _la = 0; // Token type + try { + this.state = 2506; + this._errHandler.sync(this); + var la_ = this._interp.adaptivePredict(this._input,334,this._ctx); + switch(la_) { + case 1: + localctx = new DecimalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 1); + this.state = 2479; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2478; + this.match(sqlParser.MINUS); + } + + this.state = 2481; + this.match(sqlParser.DECIMAL_VALUE); + break; + + case 2: + localctx = new IntegerLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 2); + this.state = 2483; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2482; + this.match(sqlParser.MINUS); + } + + this.state = 2485; + this.match(sqlParser.INTEGER_VALUE); + break; + + case 3: + localctx = new BigIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 3); + this.state = 2487; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2486; + this.match(sqlParser.MINUS); + } + + this.state = 2489; + this.match(sqlParser.BIGINT_LITERAL); + break; + + case 4: + localctx = new SmallIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 4); + this.state = 2491; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2490; + this.match(sqlParser.MINUS); + } + + this.state = 2493; + this.match(sqlParser.SMALLINT_LITERAL); + break; + + case 5: + localctx = new TinyIntLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 5); + this.state = 2495; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2494; + this.match(sqlParser.MINUS); + } + + this.state = 2497; + this.match(sqlParser.TINYINT_LITERAL); + break; + + case 6: + localctx = new DoubleLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 6); + this.state = 2499; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2498; + this.match(sqlParser.MINUS); + } + + this.state = 2501; + this.match(sqlParser.DOUBLE_LITERAL); + break; + + case 7: + localctx = new BigDecimalLiteralContext(this, localctx); + this.enterOuterAlt(localctx, 7); + this.state = 2503; + this._errHandler.sync(this); + _la = this._input.LA(1); + if(_la===sqlParser.MINUS) { + this.state = 2502; + this.match(sqlParser.MINUS); + } + + this.state = 2505; + this.match(sqlParser.BIGDECIMAL_LITERAL); + break; + + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + +function NonReservedContext(parser, parent, invokingState) { + if(parent===undefined) { + parent = null; + } + if(invokingState===undefined || invokingState===null) { + invokingState = -1; + } + antlr4.ParserRuleContext.call(this, parent, invokingState); + this.parser = parser; + this.ruleIndex = sqlParser.RULE_nonReserved; + return this; +} + +NonReservedContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); +NonReservedContext.prototype.constructor = NonReservedContext; + +NonReservedContext.prototype.SHOW = function() { + return this.getToken(sqlParser.SHOW, 0); +}; + +NonReservedContext.prototype.TABLES = function() { + return this.getToken(sqlParser.TABLES, 0); +}; + +NonReservedContext.prototype.COLUMNS = function() { + return this.getToken(sqlParser.COLUMNS, 0); +}; + +NonReservedContext.prototype.COLUMN = function() { + return this.getToken(sqlParser.COLUMN, 0); +}; + +NonReservedContext.prototype.PARTITIONS = function() { + return this.getToken(sqlParser.PARTITIONS, 0); +}; + +NonReservedContext.prototype.FUNCTIONS = function() { + return this.getToken(sqlParser.FUNCTIONS, 0); +}; + +NonReservedContext.prototype.DATABASES = function() { + return this.getToken(sqlParser.DATABASES, 0); +}; + +NonReservedContext.prototype.ADD = function() { + return this.getToken(sqlParser.ADD, 0); +}; + +NonReservedContext.prototype.OVER = function() { + return this.getToken(sqlParser.OVER, 0); +}; + +NonReservedContext.prototype.PARTITION = function() { + return this.getToken(sqlParser.PARTITION, 0); +}; + +NonReservedContext.prototype.RANGE = function() { + return this.getToken(sqlParser.RANGE, 0); +}; + +NonReservedContext.prototype.ROWS = function() { + return this.getToken(sqlParser.ROWS, 0); +}; + +NonReservedContext.prototype.PRECEDING = function() { + return this.getToken(sqlParser.PRECEDING, 0); +}; + +NonReservedContext.prototype.FOLLOWING = function() { + return this.getToken(sqlParser.FOLLOWING, 0); +}; + +NonReservedContext.prototype.CURRENT = function() { + return this.getToken(sqlParser.CURRENT, 0); +}; + +NonReservedContext.prototype.ROW = function() { + return this.getToken(sqlParser.ROW, 0); +}; + +NonReservedContext.prototype.LAST = function() { + return this.getToken(sqlParser.LAST, 0); +}; + +NonReservedContext.prototype.FIRST = function() { + return this.getToken(sqlParser.FIRST, 0); +}; + +NonReservedContext.prototype.AFTER = function() { + return this.getToken(sqlParser.AFTER, 0); +}; + +NonReservedContext.prototype.MAP = function() { + return this.getToken(sqlParser.MAP, 0); +}; + +NonReservedContext.prototype.ARRAY = function() { + return this.getToken(sqlParser.ARRAY, 0); +}; + +NonReservedContext.prototype.STRUCT = function() { + return this.getToken(sqlParser.STRUCT, 0); +}; + +NonReservedContext.prototype.PIVOT = function() { + return this.getToken(sqlParser.PIVOT, 0); +}; + +NonReservedContext.prototype.LATERAL = function() { + return this.getToken(sqlParser.LATERAL, 0); +}; + +NonReservedContext.prototype.WINDOW = function() { + return this.getToken(sqlParser.WINDOW, 0); +}; + +NonReservedContext.prototype.REDUCE = function() { + return this.getToken(sqlParser.REDUCE, 0); +}; + +NonReservedContext.prototype.TRANSFORM = function() { + return this.getToken(sqlParser.TRANSFORM, 0); +}; + +NonReservedContext.prototype.SERDE = function() { + return this.getToken(sqlParser.SERDE, 0); +}; + +NonReservedContext.prototype.SERDEPROPERTIES = function() { + return this.getToken(sqlParser.SERDEPROPERTIES, 0); +}; + +NonReservedContext.prototype.RECORDREADER = function() { + return this.getToken(sqlParser.RECORDREADER, 0); +}; + +NonReservedContext.prototype.DELIMITED = function() { + return this.getToken(sqlParser.DELIMITED, 0); +}; + +NonReservedContext.prototype.FIELDS = function() { + return this.getToken(sqlParser.FIELDS, 0); +}; + +NonReservedContext.prototype.TERMINATED = function() { + return this.getToken(sqlParser.TERMINATED, 0); +}; + +NonReservedContext.prototype.COLLECTION = function() { + return this.getToken(sqlParser.COLLECTION, 0); +}; + +NonReservedContext.prototype.ITEMS = function() { + return this.getToken(sqlParser.ITEMS, 0); +}; + +NonReservedContext.prototype.KEYS = function() { + return this.getToken(sqlParser.KEYS, 0); +}; + +NonReservedContext.prototype.ESCAPED = function() { + return this.getToken(sqlParser.ESCAPED, 0); +}; + +NonReservedContext.prototype.LINES = function() { + return this.getToken(sqlParser.LINES, 0); +}; + +NonReservedContext.prototype.SEPARATED = function() { + return this.getToken(sqlParser.SEPARATED, 0); +}; + +NonReservedContext.prototype.EXTENDED = function() { + return this.getToken(sqlParser.EXTENDED, 0); +}; + +NonReservedContext.prototype.REFRESH = function() { + return this.getToken(sqlParser.REFRESH, 0); +}; + +NonReservedContext.prototype.CLEAR = function() { + return this.getToken(sqlParser.CLEAR, 0); +}; + +NonReservedContext.prototype.CACHE = function() { + return this.getToken(sqlParser.CACHE, 0); +}; + +NonReservedContext.prototype.UNCACHE = function() { + return this.getToken(sqlParser.UNCACHE, 0); +}; + +NonReservedContext.prototype.LAZY = function() { + return this.getToken(sqlParser.LAZY, 0); +}; + +NonReservedContext.prototype.GLOBAL = function() { + return this.getToken(sqlParser.GLOBAL, 0); +}; + +NonReservedContext.prototype.TEMPORARY = function() { + return this.getToken(sqlParser.TEMPORARY, 0); +}; + +NonReservedContext.prototype.OPTIONS = function() { + return this.getToken(sqlParser.OPTIONS, 0); +}; + +NonReservedContext.prototype.GROUPING = function() { + return this.getToken(sqlParser.GROUPING, 0); +}; + +NonReservedContext.prototype.CUBE = function() { + return this.getToken(sqlParser.CUBE, 0); +}; + +NonReservedContext.prototype.ROLLUP = function() { + return this.getToken(sqlParser.ROLLUP, 0); +}; + +NonReservedContext.prototype.EXPLAIN = function() { + return this.getToken(sqlParser.EXPLAIN, 0); +}; + +NonReservedContext.prototype.FORMAT = function() { + return this.getToken(sqlParser.FORMAT, 0); +}; + +NonReservedContext.prototype.LOGICAL = function() { + return this.getToken(sqlParser.LOGICAL, 0); +}; + +NonReservedContext.prototype.FORMATTED = function() { + return this.getToken(sqlParser.FORMATTED, 0); +}; + +NonReservedContext.prototype.CODEGEN = function() { + return this.getToken(sqlParser.CODEGEN, 0); +}; + +NonReservedContext.prototype.COST = function() { + return this.getToken(sqlParser.COST, 0); +}; + +NonReservedContext.prototype.TABLESAMPLE = function() { + return this.getToken(sqlParser.TABLESAMPLE, 0); +}; + +NonReservedContext.prototype.USE = function() { + return this.getToken(sqlParser.USE, 0); +}; + +NonReservedContext.prototype.TO = function() { + return this.getToken(sqlParser.TO, 0); +}; + +NonReservedContext.prototype.BUCKET = function() { + return this.getToken(sqlParser.BUCKET, 0); +}; + +NonReservedContext.prototype.PERCENTLIT = function() { + return this.getToken(sqlParser.PERCENTLIT, 0); +}; + +NonReservedContext.prototype.OUT = function() { + return this.getToken(sqlParser.OUT, 0); +}; + +NonReservedContext.prototype.OF = function() { + return this.getToken(sqlParser.OF, 0); +}; + +NonReservedContext.prototype.SET = function() { + return this.getToken(sqlParser.SET, 0); +}; + +NonReservedContext.prototype.RESET = function() { + return this.getToken(sqlParser.RESET, 0); +}; + +NonReservedContext.prototype.VIEW = function() { + return this.getToken(sqlParser.VIEW, 0); +}; + +NonReservedContext.prototype.REPLACE = function() { + return this.getToken(sqlParser.REPLACE, 0); +}; + +NonReservedContext.prototype.IF = function() { + return this.getToken(sqlParser.IF, 0); +}; + +NonReservedContext.prototype.POSITION = function() { + return this.getToken(sqlParser.POSITION, 0); +}; + +NonReservedContext.prototype.EXTRACT = function() { + return this.getToken(sqlParser.EXTRACT, 0); +}; + +NonReservedContext.prototype.NO = function() { + return this.getToken(sqlParser.NO, 0); +}; + +NonReservedContext.prototype.DATA = function() { + return this.getToken(sqlParser.DATA, 0); +}; + +NonReservedContext.prototype.START = function() { + return this.getToken(sqlParser.START, 0); +}; + +NonReservedContext.prototype.TRANSACTION = function() { + return this.getToken(sqlParser.TRANSACTION, 0); +}; + +NonReservedContext.prototype.COMMIT = function() { + return this.getToken(sqlParser.COMMIT, 0); +}; + +NonReservedContext.prototype.ROLLBACK = function() { + return this.getToken(sqlParser.ROLLBACK, 0); +}; + +NonReservedContext.prototype.IGNORE = function() { + return this.getToken(sqlParser.IGNORE, 0); +}; + +NonReservedContext.prototype.SORT = function() { + return this.getToken(sqlParser.SORT, 0); +}; + +NonReservedContext.prototype.CLUSTER = function() { + return this.getToken(sqlParser.CLUSTER, 0); +}; + +NonReservedContext.prototype.DISTRIBUTE = function() { + return this.getToken(sqlParser.DISTRIBUTE, 0); +}; + +NonReservedContext.prototype.UNSET = function() { + return this.getToken(sqlParser.UNSET, 0); +}; + +NonReservedContext.prototype.TBLPROPERTIES = function() { + return this.getToken(sqlParser.TBLPROPERTIES, 0); +}; + +NonReservedContext.prototype.SKEWED = function() { + return this.getToken(sqlParser.SKEWED, 0); +}; + +NonReservedContext.prototype.STORED = function() { + return this.getToken(sqlParser.STORED, 0); +}; + +NonReservedContext.prototype.DIRECTORIES = function() { + return this.getToken(sqlParser.DIRECTORIES, 0); +}; + +NonReservedContext.prototype.LOCATION = function() { + return this.getToken(sqlParser.LOCATION, 0); +}; + +NonReservedContext.prototype.EXCHANGE = function() { + return this.getToken(sqlParser.EXCHANGE, 0); +}; + +NonReservedContext.prototype.ARCHIVE = function() { + return this.getToken(sqlParser.ARCHIVE, 0); +}; + +NonReservedContext.prototype.UNARCHIVE = function() { + return this.getToken(sqlParser.UNARCHIVE, 0); +}; + +NonReservedContext.prototype.FILEFORMAT = function() { + return this.getToken(sqlParser.FILEFORMAT, 0); +}; + +NonReservedContext.prototype.TOUCH = function() { + return this.getToken(sqlParser.TOUCH, 0); +}; + +NonReservedContext.prototype.COMPACT = function() { + return this.getToken(sqlParser.COMPACT, 0); +}; + +NonReservedContext.prototype.CONCATENATE = function() { + return this.getToken(sqlParser.CONCATENATE, 0); +}; + +NonReservedContext.prototype.CHANGE = function() { + return this.getToken(sqlParser.CHANGE, 0); +}; + +NonReservedContext.prototype.CASCADE = function() { + return this.getToken(sqlParser.CASCADE, 0); +}; + +NonReservedContext.prototype.RESTRICT = function() { + return this.getToken(sqlParser.RESTRICT, 0); +}; + +NonReservedContext.prototype.BUCKETS = function() { + return this.getToken(sqlParser.BUCKETS, 0); +}; + +NonReservedContext.prototype.CLUSTERED = function() { + return this.getToken(sqlParser.CLUSTERED, 0); +}; + +NonReservedContext.prototype.SORTED = function() { + return this.getToken(sqlParser.SORTED, 0); +}; + +NonReservedContext.prototype.PURGE = function() { + return this.getToken(sqlParser.PURGE, 0); +}; + +NonReservedContext.prototype.INPUTFORMAT = function() { + return this.getToken(sqlParser.INPUTFORMAT, 0); +}; + +NonReservedContext.prototype.OUTPUTFORMAT = function() { + return this.getToken(sqlParser.OUTPUTFORMAT, 0); +}; + +NonReservedContext.prototype.DBPROPERTIES = function() { + return this.getToken(sqlParser.DBPROPERTIES, 0); +}; + +NonReservedContext.prototype.DFS = function() { + return this.getToken(sqlParser.DFS, 0); +}; + +NonReservedContext.prototype.TRUNCATE = function() { + return this.getToken(sqlParser.TRUNCATE, 0); +}; + +NonReservedContext.prototype.COMPUTE = function() { + return this.getToken(sqlParser.COMPUTE, 0); +}; + +NonReservedContext.prototype.LIST = function() { + return this.getToken(sqlParser.LIST, 0); +}; + +NonReservedContext.prototype.STATISTICS = function() { + return this.getToken(sqlParser.STATISTICS, 0); +}; + +NonReservedContext.prototype.ANALYZE = function() { + return this.getToken(sqlParser.ANALYZE, 0); +}; + +NonReservedContext.prototype.PARTITIONED = function() { + return this.getToken(sqlParser.PARTITIONED, 0); +}; + +NonReservedContext.prototype.EXTERNAL = function() { + return this.getToken(sqlParser.EXTERNAL, 0); +}; + +NonReservedContext.prototype.DEFINED = function() { + return this.getToken(sqlParser.DEFINED, 0); +}; + +NonReservedContext.prototype.RECORDWRITER = function() { + return this.getToken(sqlParser.RECORDWRITER, 0); +}; + +NonReservedContext.prototype.REVOKE = function() { + return this.getToken(sqlParser.REVOKE, 0); +}; + +NonReservedContext.prototype.GRANT = function() { + return this.getToken(sqlParser.GRANT, 0); +}; + +NonReservedContext.prototype.LOCK = function() { + return this.getToken(sqlParser.LOCK, 0); +}; + +NonReservedContext.prototype.UNLOCK = function() { + return this.getToken(sqlParser.UNLOCK, 0); +}; + +NonReservedContext.prototype.MSCK = function() { + return this.getToken(sqlParser.MSCK, 0); +}; + +NonReservedContext.prototype.REPAIR = function() { + return this.getToken(sqlParser.REPAIR, 0); +}; + +NonReservedContext.prototype.RECOVER = function() { + return this.getToken(sqlParser.RECOVER, 0); +}; + +NonReservedContext.prototype.EXPORT = function() { + return this.getToken(sqlParser.EXPORT, 0); +}; + +NonReservedContext.prototype.IMPORT = function() { + return this.getToken(sqlParser.IMPORT, 0); +}; + +NonReservedContext.prototype.LOAD = function() { + return this.getToken(sqlParser.LOAD, 0); +}; + +NonReservedContext.prototype.VALUES = function() { + return this.getToken(sqlParser.VALUES, 0); +}; + +NonReservedContext.prototype.COMMENT = function() { + return this.getToken(sqlParser.COMMENT, 0); +}; + +NonReservedContext.prototype.ROLE = function() { + return this.getToken(sqlParser.ROLE, 0); +}; + +NonReservedContext.prototype.ROLES = function() { + return this.getToken(sqlParser.ROLES, 0); +}; + +NonReservedContext.prototype.COMPACTIONS = function() { + return this.getToken(sqlParser.COMPACTIONS, 0); +}; + +NonReservedContext.prototype.PRINCIPALS = function() { + return this.getToken(sqlParser.PRINCIPALS, 0); +}; + +NonReservedContext.prototype.TRANSACTIONS = function() { + return this.getToken(sqlParser.TRANSACTIONS, 0); +}; + +NonReservedContext.prototype.INDEX = function() { + return this.getToken(sqlParser.INDEX, 0); +}; + +NonReservedContext.prototype.INDEXES = function() { + return this.getToken(sqlParser.INDEXES, 0); +}; + +NonReservedContext.prototype.LOCKS = function() { + return this.getToken(sqlParser.LOCKS, 0); +}; + +NonReservedContext.prototype.OPTION = function() { + return this.getToken(sqlParser.OPTION, 0); +}; + +NonReservedContext.prototype.LOCAL = function() { + return this.getToken(sqlParser.LOCAL, 0); +}; + +NonReservedContext.prototype.INPATH = function() { + return this.getToken(sqlParser.INPATH, 0); +}; + +NonReservedContext.prototype.ASC = function() { + return this.getToken(sqlParser.ASC, 0); +}; + +NonReservedContext.prototype.DESC = function() { + return this.getToken(sqlParser.DESC, 0); +}; + +NonReservedContext.prototype.LIMIT = function() { + return this.getToken(sqlParser.LIMIT, 0); +}; + +NonReservedContext.prototype.RENAME = function() { + return this.getToken(sqlParser.RENAME, 0); +}; + +NonReservedContext.prototype.SETS = function() { + return this.getToken(sqlParser.SETS, 0); +}; + +NonReservedContext.prototype.AT = function() { + return this.getToken(sqlParser.AT, 0); +}; + +NonReservedContext.prototype.NULLS = function() { + return this.getToken(sqlParser.NULLS, 0); +}; + +NonReservedContext.prototype.OVERWRITE = function() { + return this.getToken(sqlParser.OVERWRITE, 0); +}; + +NonReservedContext.prototype.ALL = function() { + return this.getToken(sqlParser.ALL, 0); +}; + +NonReservedContext.prototype.ANY = function() { + return this.getToken(sqlParser.ANY, 0); +}; + +NonReservedContext.prototype.ALTER = function() { + return this.getToken(sqlParser.ALTER, 0); +}; + +NonReservedContext.prototype.AS = function() { + return this.getToken(sqlParser.AS, 0); +}; + +NonReservedContext.prototype.BETWEEN = function() { + return this.getToken(sqlParser.BETWEEN, 0); +}; + +NonReservedContext.prototype.BY = function() { + return this.getToken(sqlParser.BY, 0); +}; + +NonReservedContext.prototype.CREATE = function() { + return this.getToken(sqlParser.CREATE, 0); +}; + +NonReservedContext.prototype.DELETE = function() { + return this.getToken(sqlParser.DELETE, 0); +}; + +NonReservedContext.prototype.DESCRIBE = function() { + return this.getToken(sqlParser.DESCRIBE, 0); +}; + +NonReservedContext.prototype.DROP = function() { + return this.getToken(sqlParser.DROP, 0); +}; + +NonReservedContext.prototype.EXISTS = function() { + return this.getToken(sqlParser.EXISTS, 0); +}; + +NonReservedContext.prototype.FALSE = function() { + return this.getToken(sqlParser.FALSE, 0); +}; + +NonReservedContext.prototype.FOR = function() { + return this.getToken(sqlParser.FOR, 0); +}; + +NonReservedContext.prototype.GROUP = function() { + return this.getToken(sqlParser.GROUP, 0); +}; + +NonReservedContext.prototype.IN = function() { + return this.getToken(sqlParser.IN, 0); +}; + +NonReservedContext.prototype.INSERT = function() { + return this.getToken(sqlParser.INSERT, 0); +}; + +NonReservedContext.prototype.INTO = function() { + return this.getToken(sqlParser.INTO, 0); +}; + +NonReservedContext.prototype.IS = function() { + return this.getToken(sqlParser.IS, 0); +}; + +NonReservedContext.prototype.LIKE = function() { + return this.getToken(sqlParser.LIKE, 0); +}; + +NonReservedContext.prototype.NULL = function() { + return this.getToken(sqlParser.NULL, 0); +}; + +NonReservedContext.prototype.ORDER = function() { + return this.getToken(sqlParser.ORDER, 0); +}; + +NonReservedContext.prototype.OUTER = function() { + return this.getToken(sqlParser.OUTER, 0); +}; + +NonReservedContext.prototype.TABLE = function() { + return this.getToken(sqlParser.TABLE, 0); +}; + +NonReservedContext.prototype.TRUE = function() { + return this.getToken(sqlParser.TRUE, 0); +}; + +NonReservedContext.prototype.WITH = function() { + return this.getToken(sqlParser.WITH, 0); +}; + +NonReservedContext.prototype.RLIKE = function() { + return this.getToken(sqlParser.RLIKE, 0); +}; + +NonReservedContext.prototype.AND = function() { + return this.getToken(sqlParser.AND, 0); +}; + +NonReservedContext.prototype.CASE = function() { + return this.getToken(sqlParser.CASE, 0); +}; + +NonReservedContext.prototype.CAST = function() { + return this.getToken(sqlParser.CAST, 0); +}; + +NonReservedContext.prototype.DISTINCT = function() { + return this.getToken(sqlParser.DISTINCT, 0); +}; + +NonReservedContext.prototype.DIV = function() { + return this.getToken(sqlParser.DIV, 0); +}; + +NonReservedContext.prototype.ELSE = function() { + return this.getToken(sqlParser.ELSE, 0); +}; + +NonReservedContext.prototype.END = function() { + return this.getToken(sqlParser.END, 0); +}; + +NonReservedContext.prototype.FUNCTION = function() { + return this.getToken(sqlParser.FUNCTION, 0); +}; + +NonReservedContext.prototype.INTERVAL = function() { + return this.getToken(sqlParser.INTERVAL, 0); +}; + +NonReservedContext.prototype.MACRO = function() { + return this.getToken(sqlParser.MACRO, 0); +}; + +NonReservedContext.prototype.OR = function() { + return this.getToken(sqlParser.OR, 0); +}; + +NonReservedContext.prototype.STRATIFY = function() { + return this.getToken(sqlParser.STRATIFY, 0); +}; + +NonReservedContext.prototype.THEN = function() { + return this.getToken(sqlParser.THEN, 0); +}; + +NonReservedContext.prototype.UNBOUNDED = function() { + return this.getToken(sqlParser.UNBOUNDED, 0); +}; + +NonReservedContext.prototype.WHEN = function() { + return this.getToken(sqlParser.WHEN, 0); +}; + +NonReservedContext.prototype.DATABASE = function() { + return this.getToken(sqlParser.DATABASE, 0); +}; + +NonReservedContext.prototype.SELECT = function() { + return this.getToken(sqlParser.SELECT, 0); +}; + +NonReservedContext.prototype.FROM = function() { + return this.getToken(sqlParser.FROM, 0); +}; + +NonReservedContext.prototype.WHERE = function() { + return this.getToken(sqlParser.WHERE, 0); +}; + +NonReservedContext.prototype.HAVING = function() { + return this.getToken(sqlParser.HAVING, 0); +}; + +NonReservedContext.prototype.NOT = function() { + return this.getToken(sqlParser.NOT, 0); +}; + +NonReservedContext.prototype.DIRECTORY = function() { + return this.getToken(sqlParser.DIRECTORY, 0); +}; + +NonReservedContext.prototype.BOTH = function() { + return this.getToken(sqlParser.BOTH, 0); +}; + +NonReservedContext.prototype.LEADING = function() { + return this.getToken(sqlParser.LEADING, 0); +}; + +NonReservedContext.prototype.TRAILING = function() { + return this.getToken(sqlParser.TRAILING, 0); +}; + +NonReservedContext.prototype.enterRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.enterNonReserved(this); + } +}; + +NonReservedContext.prototype.exitRule = function(listener) { + if(listener instanceof sqlListener ) { + listener.exitNonReserved(this); + } +}; + +NonReservedContext.prototype.accept = function(visitor) { + if ( visitor instanceof sqlVisitor ) { + return visitor.visitNonReserved(this); + } else { + return visitor.visitChildren(this); + } +}; + + + + +sqlParser.NonReservedContext = NonReservedContext; + +sqlParser.prototype.nonReserved = function() { + + var localctx = new NonReservedContext(this, this._ctx, this.state); + this.enterRule(localctx, 204, sqlParser.RULE_nonReserved); + var _la = 0; // Token type + try { + this.enterOuterAlt(localctx, 1); + this.state = 2508; + _la = this._input.LA(1); + if(!((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << sqlParser.SELECT) | (1 << sqlParser.FROM) | (1 << sqlParser.ADD) | (1 << sqlParser.AS) | (1 << sqlParser.ALL) | (1 << sqlParser.ANY) | (1 << sqlParser.DISTINCT) | (1 << sqlParser.WHERE) | (1 << sqlParser.GROUP) | (1 << sqlParser.BY) | (1 << sqlParser.GROUPING) | (1 << sqlParser.SETS) | (1 << sqlParser.CUBE) | (1 << sqlParser.ROLLUP) | (1 << sqlParser.ORDER) | (1 << sqlParser.HAVING) | (1 << sqlParser.LIMIT) | (1 << sqlParser.AT) | (1 << sqlParser.OR) | (1 << sqlParser.AND) | (1 << sqlParser.IN))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (sqlParser.NOT - 32)) | (1 << (sqlParser.NO - 32)) | (1 << (sqlParser.EXISTS - 32)) | (1 << (sqlParser.BETWEEN - 32)) | (1 << (sqlParser.LIKE - 32)) | (1 << (sqlParser.RLIKE - 32)) | (1 << (sqlParser.IS - 32)) | (1 << (sqlParser.NULL - 32)) | (1 << (sqlParser.TRUE - 32)) | (1 << (sqlParser.FALSE - 32)) | (1 << (sqlParser.NULLS - 32)) | (1 << (sqlParser.ASC - 32)) | (1 << (sqlParser.DESC - 32)) | (1 << (sqlParser.FOR - 32)) | (1 << (sqlParser.INTERVAL - 32)) | (1 << (sqlParser.CASE - 32)) | (1 << (sqlParser.WHEN - 32)) | (1 << (sqlParser.THEN - 32)) | (1 << (sqlParser.ELSE - 32)) | (1 << (sqlParser.END - 32)) | (1 << (sqlParser.OUTER - 32)) | (1 << (sqlParser.PIVOT - 32)) | (1 << (sqlParser.LATERAL - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (sqlParser.WINDOW - 64)) | (1 << (sqlParser.OVER - 64)) | (1 << (sqlParser.PARTITION - 64)) | (1 << (sqlParser.RANGE - 64)) | (1 << (sqlParser.ROWS - 64)) | (1 << (sqlParser.UNBOUNDED - 64)) | (1 << (sqlParser.PRECEDING - 64)) | (1 << (sqlParser.FOLLOWING - 64)) | (1 << (sqlParser.CURRENT - 64)) | (1 << (sqlParser.FIRST - 64)) | (1 << (sqlParser.AFTER - 64)) | (1 << (sqlParser.LAST - 64)) | (1 << (sqlParser.ROW - 64)) | (1 << (sqlParser.WITH - 64)) | (1 << (sqlParser.VALUES - 64)) | (1 << (sqlParser.CREATE - 64)) | (1 << (sqlParser.TABLE - 64)) | (1 << (sqlParser.DIRECTORY - 64)) | (1 << (sqlParser.VIEW - 64)) | (1 << (sqlParser.REPLACE - 64)) | (1 << (sqlParser.INSERT - 64)) | (1 << (sqlParser.DELETE - 64)) | (1 << (sqlParser.INTO - 64)) | (1 << (sqlParser.DESCRIBE - 64)) | (1 << (sqlParser.EXPLAIN - 64)) | (1 << (sqlParser.FORMAT - 64)) | (1 << (sqlParser.LOGICAL - 64)) | (1 << (sqlParser.CODEGEN - 64)) | (1 << (sqlParser.COST - 64)) | (1 << (sqlParser.CAST - 64)) | (1 << (sqlParser.SHOW - 64)) | (1 << (sqlParser.TABLES - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (sqlParser.COLUMNS - 96)) | (1 << (sqlParser.COLUMN - 96)) | (1 << (sqlParser.USE - 96)) | (1 << (sqlParser.PARTITIONS - 96)) | (1 << (sqlParser.FUNCTIONS - 96)) | (1 << (sqlParser.DROP - 96)) | (1 << (sqlParser.TO - 96)) | (1 << (sqlParser.TABLESAMPLE - 96)) | (1 << (sqlParser.STRATIFY - 96)) | (1 << (sqlParser.ALTER - 96)) | (1 << (sqlParser.RENAME - 96)) | (1 << (sqlParser.ARRAY - 96)) | (1 << (sqlParser.MAP - 96)) | (1 << (sqlParser.STRUCT - 96)) | (1 << (sqlParser.COMMENT - 96)) | (1 << (sqlParser.SET - 96)) | (1 << (sqlParser.RESET - 96)) | (1 << (sqlParser.DATA - 96)) | (1 << (sqlParser.START - 96)) | (1 << (sqlParser.TRANSACTION - 96)) | (1 << (sqlParser.COMMIT - 96)) | (1 << (sqlParser.ROLLBACK - 96)) | (1 << (sqlParser.MACRO - 96)) | (1 << (sqlParser.IGNORE - 96)) | (1 << (sqlParser.BOTH - 96)) | (1 << (sqlParser.LEADING - 96)) | (1 << (sqlParser.TRAILING - 96)) | (1 << (sqlParser.IF - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (sqlParser.POSITION - 128)) | (1 << (sqlParser.EXTRACT - 128)) | (1 << (sqlParser.DIV - 128)) | (1 << (sqlParser.PERCENTLIT - 128)) | (1 << (sqlParser.BUCKET - 128)) | (1 << (sqlParser.OUT - 128)) | (1 << (sqlParser.OF - 128)) | (1 << (sqlParser.SORT - 128)) | (1 << (sqlParser.CLUSTER - 128)) | (1 << (sqlParser.DISTRIBUTE - 128)) | (1 << (sqlParser.OVERWRITE - 128)) | (1 << (sqlParser.TRANSFORM - 128)) | (1 << (sqlParser.REDUCE - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (sqlParser.SERDE - 160)) | (1 << (sqlParser.SERDEPROPERTIES - 160)) | (1 << (sqlParser.RECORDREADER - 160)) | (1 << (sqlParser.RECORDWRITER - 160)) | (1 << (sqlParser.DELIMITED - 160)) | (1 << (sqlParser.FIELDS - 160)) | (1 << (sqlParser.TERMINATED - 160)) | (1 << (sqlParser.COLLECTION - 160)) | (1 << (sqlParser.ITEMS - 160)) | (1 << (sqlParser.KEYS - 160)) | (1 << (sqlParser.ESCAPED - 160)) | (1 << (sqlParser.LINES - 160)) | (1 << (sqlParser.SEPARATED - 160)) | (1 << (sqlParser.FUNCTION - 160)) | (1 << (sqlParser.EXTENDED - 160)) | (1 << (sqlParser.REFRESH - 160)) | (1 << (sqlParser.CLEAR - 160)) | (1 << (sqlParser.CACHE - 160)) | (1 << (sqlParser.UNCACHE - 160)) | (1 << (sqlParser.LAZY - 160)) | (1 << (sqlParser.FORMATTED - 160)) | (1 << (sqlParser.GLOBAL - 160)) | (1 << (sqlParser.TEMPORARY - 160)) | (1 << (sqlParser.OPTIONS - 160)) | (1 << (sqlParser.UNSET - 160)) | (1 << (sqlParser.TBLPROPERTIES - 160)) | (1 << (sqlParser.DBPROPERTIES - 160)) | (1 << (sqlParser.BUCKETS - 160)) | (1 << (sqlParser.SKEWED - 160)) | (1 << (sqlParser.STORED - 160)) | (1 << (sqlParser.DIRECTORIES - 160)) | (1 << (sqlParser.LOCATION - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (sqlParser.EXCHANGE - 192)) | (1 << (sqlParser.ARCHIVE - 192)) | (1 << (sqlParser.UNARCHIVE - 192)) | (1 << (sqlParser.FILEFORMAT - 192)) | (1 << (sqlParser.TOUCH - 192)) | (1 << (sqlParser.COMPACT - 192)) | (1 << (sqlParser.CONCATENATE - 192)) | (1 << (sqlParser.CHANGE - 192)) | (1 << (sqlParser.CASCADE - 192)) | (1 << (sqlParser.RESTRICT - 192)) | (1 << (sqlParser.CLUSTERED - 192)) | (1 << (sqlParser.SORTED - 192)) | (1 << (sqlParser.PURGE - 192)) | (1 << (sqlParser.INPUTFORMAT - 192)) | (1 << (sqlParser.OUTPUTFORMAT - 192)) | (1 << (sqlParser.DATABASE - 192)) | (1 << (sqlParser.DATABASES - 192)) | (1 << (sqlParser.DFS - 192)) | (1 << (sqlParser.TRUNCATE - 192)) | (1 << (sqlParser.ANALYZE - 192)) | (1 << (sqlParser.COMPUTE - 192)) | (1 << (sqlParser.LIST - 192)) | (1 << (sqlParser.STATISTICS - 192)) | (1 << (sqlParser.PARTITIONED - 192)) | (1 << (sqlParser.EXTERNAL - 192)) | (1 << (sqlParser.DEFINED - 192)) | (1 << (sqlParser.REVOKE - 192)) | (1 << (sqlParser.GRANT - 192)) | (1 << (sqlParser.LOCK - 192)) | (1 << (sqlParser.UNLOCK - 192)) | (1 << (sqlParser.MSCK - 192)) | (1 << (sqlParser.REPAIR - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (sqlParser.RECOVER - 224)) | (1 << (sqlParser.EXPORT - 224)) | (1 << (sqlParser.IMPORT - 224)) | (1 << (sqlParser.LOAD - 224)) | (1 << (sqlParser.ROLE - 224)) | (1 << (sqlParser.ROLES - 224)) | (1 << (sqlParser.COMPACTIONS - 224)) | (1 << (sqlParser.PRINCIPALS - 224)) | (1 << (sqlParser.TRANSACTIONS - 224)) | (1 << (sqlParser.INDEX - 224)) | (1 << (sqlParser.INDEXES - 224)) | (1 << (sqlParser.LOCKS - 224)) | (1 << (sqlParser.OPTION - 224)) | (1 << (sqlParser.LOCAL - 224)) | (1 << (sqlParser.INPATH - 224)))) !== 0))) { + this._errHandler.recoverInline(this); + } + else { + this._errHandler.reportMatch(this); + this.consume(); + } + } catch (re) { + if(re instanceof antlr4.error.RecognitionException) { + localctx.exception = re; + this._errHandler.reportError(this, re); + this._errHandler.recover(this, re); + } else { + throw re; + } + } finally { + this.exitRule(); + } + return localctx; +}; + + +sqlParser.prototype.sempred = function(localctx, ruleIndex, predIndex) { + switch(ruleIndex) { + case 35: + return this.queryTerm_sempred(localctx, predIndex); + case 71: + return this.booleanExpression_sempred(localctx, predIndex); + case 73: + return this.valueExpression_sempred(localctx, predIndex); + case 74: + return this.primaryExpression_sempred(localctx, predIndex); + default: + throw "No predicate with index:" + ruleIndex; + } +}; + +sqlParser.prototype.queryTerm_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 0: + return this.precpred(this._ctx, 3); + case 1: + return this.legacy_setops_precedence_enbled; + case 2: + return this.precpred(this._ctx, 2); + case 3: + return !this.legacy_setops_precedence_enbled; + case 4: + return this.precpred(this._ctx, 1); + case 5: + return !this.legacy_setops_precedence_enbled; + default: + throw "No predicate with index:" + predIndex; + } +}; + +sqlParser.prototype.booleanExpression_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 6: + return this.precpred(this._ctx, 2); + case 7: + return this.precpred(this._ctx, 1); + default: + throw "No predicate with index:" + predIndex; + } +}; + +sqlParser.prototype.valueExpression_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 8: + return this.precpred(this._ctx, 6); + case 9: + return this.precpred(this._ctx, 5); + case 10: + return this.precpred(this._ctx, 4); + case 11: + return this.precpred(this._ctx, 3); + case 12: + return this.precpred(this._ctx, 2); + case 13: + return this.precpred(this._ctx, 1); + default: + throw "No predicate with index:" + predIndex; + } +}; + +sqlParser.prototype.primaryExpression_sempred = function(localctx, predIndex) { + switch(predIndex) { + case 14: + return this.precpred(this._ctx, 5); + case 15: + return this.precpred(this._ctx, 3); + default: + throw "No predicate with index:" + predIndex; + } +}; + + +exports.sqlParser = sqlParser; diff --git a/src/antlr4/flinksql/sqlVisitor.js b/src/antlr4/flinksql/sqlVisitor.js new file mode 100644 index 0000000..b239158 --- /dev/null +++ b/src/antlr4/flinksql/sqlVisitor.js @@ -0,0 +1,1258 @@ +// Generated from ./grammar/sql.g4 by ANTLR 4.7.1 +// jshint ignore: start +var antlr4 = require('antlr4/index'); + +// This class defines a complete generic visitor for a parse tree produced by sqlParser. + +function sqlVisitor() { + antlr4.tree.ParseTreeVisitor.call(this); + return this; +} + +sqlVisitor.prototype = Object.create(antlr4.tree.ParseTreeVisitor.prototype); +sqlVisitor.prototype.constructor = sqlVisitor; + +// Visit a parse tree produced by sqlParser#singleStatement. +sqlVisitor.prototype.visitSingleStatement = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleExpression. +sqlVisitor.prototype.visitSingleExpression = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleTableIdentifier. +sqlVisitor.prototype.visitSingleTableIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleFunctionIdentifier. +sqlVisitor.prototype.visitSingleFunctionIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleDataType. +sqlVisitor.prototype.visitSingleDataType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleTableSchema. +sqlVisitor.prototype.visitSingleTableSchema = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#statementDefault. +sqlVisitor.prototype.visitStatementDefault = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#use. +sqlVisitor.prototype.visitUse = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createDatabase. +sqlVisitor.prototype.visitCreateDatabase = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setDatabaseProperties. +sqlVisitor.prototype.visitSetDatabaseProperties = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dropDatabase. +sqlVisitor.prototype.visitDropDatabase = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createTable. +sqlVisitor.prototype.visitCreateTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createHiveTable. +sqlVisitor.prototype.visitCreateHiveTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createFlinkTable. +sqlVisitor.prototype.visitCreateFlinkTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createTableLike. +sqlVisitor.prototype.visitCreateTableLike = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#analyze. +sqlVisitor.prototype.visitAnalyze = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#addTableColumns. +sqlVisitor.prototype.visitAddTableColumns = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#renameTable. +sqlVisitor.prototype.visitRenameTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setTableProperties. +sqlVisitor.prototype.visitSetTableProperties = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#unsetTableProperties. +sqlVisitor.prototype.visitUnsetTableProperties = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#changeColumn. +sqlVisitor.prototype.visitChangeColumn = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setTableSerDe. +sqlVisitor.prototype.visitSetTableSerDe = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#addTablePartition. +sqlVisitor.prototype.visitAddTablePartition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#renameTablePartition. +sqlVisitor.prototype.visitRenameTablePartition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dropTablePartitions. +sqlVisitor.prototype.visitDropTablePartitions = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setTableLocation. +sqlVisitor.prototype.visitSetTableLocation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#recoverPartitions. +sqlVisitor.prototype.visitRecoverPartitions = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dropTable. +sqlVisitor.prototype.visitDropTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createView. +sqlVisitor.prototype.visitCreateView = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createTempViewUsing. +sqlVisitor.prototype.visitCreateTempViewUsing = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#alterViewQuery. +sqlVisitor.prototype.visitAlterViewQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createFunction. +sqlVisitor.prototype.visitCreateFunction = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dropFunction. +sqlVisitor.prototype.visitDropFunction = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#explain. +sqlVisitor.prototype.visitExplain = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showTables. +sqlVisitor.prototype.visitShowTables = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showTable. +sqlVisitor.prototype.visitShowTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showDatabases. +sqlVisitor.prototype.visitShowDatabases = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showTblProperties. +sqlVisitor.prototype.visitShowTblProperties = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showColumns. +sqlVisitor.prototype.visitShowColumns = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showPartitions. +sqlVisitor.prototype.visitShowPartitions = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showFunctions. +sqlVisitor.prototype.visitShowFunctions = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#showCreateTable. +sqlVisitor.prototype.visitShowCreateTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#describeFunction. +sqlVisitor.prototype.visitDescribeFunction = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#describeDatabase. +sqlVisitor.prototype.visitDescribeDatabase = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#describeTable. +sqlVisitor.prototype.visitDescribeTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#refreshTable. +sqlVisitor.prototype.visitRefreshTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#refreshResource. +sqlVisitor.prototype.visitRefreshResource = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#cacheTable. +sqlVisitor.prototype.visitCacheTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#uncacheTable. +sqlVisitor.prototype.visitUncacheTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#clearCache. +sqlVisitor.prototype.visitClearCache = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#loadData. +sqlVisitor.prototype.visitLoadData = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#truncateTable. +sqlVisitor.prototype.visitTruncateTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#repairTable. +sqlVisitor.prototype.visitRepairTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#manageResource. +sqlVisitor.prototype.visitManageResource = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#failNativeCommand. +sqlVisitor.prototype.visitFailNativeCommand = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setConfiguration. +sqlVisitor.prototype.visitSetConfiguration = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#resetConfiguration. +sqlVisitor.prototype.visitResetConfiguration = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#unsupportedHiveNativeCommands. +sqlVisitor.prototype.visitUnsupportedHiveNativeCommands = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createTableHeader. +sqlVisitor.prototype.visitCreateTableHeader = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#bucketSpec. +sqlVisitor.prototype.visitBucketSpec = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#skewSpec. +sqlVisitor.prototype.visitSkewSpec = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#locationSpec. +sqlVisitor.prototype.visitLocationSpec = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#query. +sqlVisitor.prototype.visitQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#insertOverwriteTable. +sqlVisitor.prototype.visitInsertOverwriteTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#insertIntoTable. +sqlVisitor.prototype.visitInsertIntoTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#insertOverwriteHiveDir. +sqlVisitor.prototype.visitInsertOverwriteHiveDir = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#insertOverwriteDir. +sqlVisitor.prototype.visitInsertOverwriteDir = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#partitionSpecLocation. +sqlVisitor.prototype.visitPartitionSpecLocation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#partitionSpec. +sqlVisitor.prototype.visitPartitionSpec = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#partitionVal. +sqlVisitor.prototype.visitPartitionVal = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#describeFuncName. +sqlVisitor.prototype.visitDescribeFuncName = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#describeColName. +sqlVisitor.prototype.visitDescribeColName = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#ctes. +sqlVisitor.prototype.visitCtes = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#namedQuery. +sqlVisitor.prototype.visitNamedQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableProvider. +sqlVisitor.prototype.visitTableProvider = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tablePropertyList. +sqlVisitor.prototype.visitTablePropertyList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableProperty. +sqlVisitor.prototype.visitTableProperty = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tablePropertyKey. +sqlVisitor.prototype.visitTablePropertyKey = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tablePropertyValue. +sqlVisitor.prototype.visitTablePropertyValue = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#constantList. +sqlVisitor.prototype.visitConstantList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#nestedConstantList. +sqlVisitor.prototype.visitNestedConstantList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#createFileFormat. +sqlVisitor.prototype.visitCreateFileFormat = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableFileFormat. +sqlVisitor.prototype.visitTableFileFormat = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#genericFileFormat. +sqlVisitor.prototype.visitGenericFileFormat = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#storageHandler. +sqlVisitor.prototype.visitStorageHandler = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#resource. +sqlVisitor.prototype.visitResource = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#singleInsertQuery. +sqlVisitor.prototype.visitSingleInsertQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#multiInsertQuery. +sqlVisitor.prototype.visitMultiInsertQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#queryOrganization. +sqlVisitor.prototype.visitQueryOrganization = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#multiInsertQueryBody. +sqlVisitor.prototype.visitMultiInsertQueryBody = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#queryTermDefault. +sqlVisitor.prototype.visitQueryTermDefault = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setOperation. +sqlVisitor.prototype.visitSetOperation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#queryPrimaryDefault. +sqlVisitor.prototype.visitQueryPrimaryDefault = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#table. +sqlVisitor.prototype.visitTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#inlineTableDefault1. +sqlVisitor.prototype.visitInlineTableDefault1 = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#subquery. +sqlVisitor.prototype.visitSubquery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sortItem. +sqlVisitor.prototype.visitSortItem = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#querySpecification. +sqlVisitor.prototype.visitQuerySpecification = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#hint. +sqlVisitor.prototype.visitHint = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#hintStatement. +sqlVisitor.prototype.visitHintStatement = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#fromClause. +sqlVisitor.prototype.visitFromClause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#aggregation. +sqlVisitor.prototype.visitAggregation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#groupingSet. +sqlVisitor.prototype.visitGroupingSet = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#pivotClause. +sqlVisitor.prototype.visitPivotClause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#pivotColumn. +sqlVisitor.prototype.visitPivotColumn = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#pivotValue. +sqlVisitor.prototype.visitPivotValue = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#lateralView. +sqlVisitor.prototype.visitLateralView = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#setQuantifier. +sqlVisitor.prototype.visitSetQuantifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#relation. +sqlVisitor.prototype.visitRelation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#joinRelation. +sqlVisitor.prototype.visitJoinRelation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#joinType. +sqlVisitor.prototype.visitJoinType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#joinCriteria. +sqlVisitor.prototype.visitJoinCriteria = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sample. +sqlVisitor.prototype.visitSample = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sampleByPercentile. +sqlVisitor.prototype.visitSampleByPercentile = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sampleByRows. +sqlVisitor.prototype.visitSampleByRows = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sampleByBucket. +sqlVisitor.prototype.visitSampleByBucket = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#sampleByBytes. +sqlVisitor.prototype.visitSampleByBytes = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#identifierList. +sqlVisitor.prototype.visitIdentifierList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#identifierSeq. +sqlVisitor.prototype.visitIdentifierSeq = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#orderedIdentifierList. +sqlVisitor.prototype.visitOrderedIdentifierList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#orderedIdentifier. +sqlVisitor.prototype.visitOrderedIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#identifierCommentList. +sqlVisitor.prototype.visitIdentifierCommentList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#identifierComment. +sqlVisitor.prototype.visitIdentifierComment = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableName. +sqlVisitor.prototype.visitTableName = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#aliasedQuery. +sqlVisitor.prototype.visitAliasedQuery = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#aliasedRelation. +sqlVisitor.prototype.visitAliasedRelation = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#inlineTableDefault2. +sqlVisitor.prototype.visitInlineTableDefault2 = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableValuedFunction. +sqlVisitor.prototype.visitTableValuedFunction = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#inlineTable. +sqlVisitor.prototype.visitInlineTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#functionTable. +sqlVisitor.prototype.visitFunctionTable = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableAlias. +sqlVisitor.prototype.visitTableAlias = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#rowFormatSerde. +sqlVisitor.prototype.visitRowFormatSerde = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#rowFormatDelimited. +sqlVisitor.prototype.visitRowFormatDelimited = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tableIdentifier. +sqlVisitor.prototype.visitTableIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#functionIdentifier. +sqlVisitor.prototype.visitFunctionIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#namedExpression. +sqlVisitor.prototype.visitNamedExpression = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#namedExpressionSeq. +sqlVisitor.prototype.visitNamedExpressionSeq = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#expression. +sqlVisitor.prototype.visitExpression = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#logicalNot. +sqlVisitor.prototype.visitLogicalNot = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#predicated. +sqlVisitor.prototype.visitPredicated = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#exists. +sqlVisitor.prototype.visitExists = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#logicalBinary. +sqlVisitor.prototype.visitLogicalBinary = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#predicate. +sqlVisitor.prototype.visitPredicate = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#valueExpressionDefault. +sqlVisitor.prototype.visitValueExpressionDefault = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#comparison. +sqlVisitor.prototype.visitComparison = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#arithmeticBinary. +sqlVisitor.prototype.visitArithmeticBinary = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#arithmeticUnary. +sqlVisitor.prototype.visitArithmeticUnary = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#struct. +sqlVisitor.prototype.visitStruct = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dereference. +sqlVisitor.prototype.visitDereference = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#simpleCase. +sqlVisitor.prototype.visitSimpleCase = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#columnReference. +sqlVisitor.prototype.visitColumnReference = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#rowConstructor. +sqlVisitor.prototype.visitRowConstructor = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#last. +sqlVisitor.prototype.visitLast = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#star. +sqlVisitor.prototype.visitStar = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#subscript. +sqlVisitor.prototype.visitSubscript = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#subqueryExpression. +sqlVisitor.prototype.visitSubqueryExpression = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#cast. +sqlVisitor.prototype.visitCast = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#constantDefault. +sqlVisitor.prototype.visitConstantDefault = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#lambda. +sqlVisitor.prototype.visitLambda = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#parenthesizedExpression. +sqlVisitor.prototype.visitParenthesizedExpression = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#extract. +sqlVisitor.prototype.visitExtract = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#functionCall. +sqlVisitor.prototype.visitFunctionCall = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#searchedCase. +sqlVisitor.prototype.visitSearchedCase = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#position. +sqlVisitor.prototype.visitPosition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#first. +sqlVisitor.prototype.visitFirst = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#nullLiteral. +sqlVisitor.prototype.visitNullLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#intervalLiteral. +sqlVisitor.prototype.visitIntervalLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#typeConstructor. +sqlVisitor.prototype.visitTypeConstructor = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#numericLiteral. +sqlVisitor.prototype.visitNumericLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#booleanLiteral. +sqlVisitor.prototype.visitBooleanLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#stringLiteral. +sqlVisitor.prototype.visitStringLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#comparisonOperator. +sqlVisitor.prototype.visitComparisonOperator = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#arithmeticOperator. +sqlVisitor.prototype.visitArithmeticOperator = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#predicateOperator. +sqlVisitor.prototype.visitPredicateOperator = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#booleanValue. +sqlVisitor.prototype.visitBooleanValue = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#interval. +sqlVisitor.prototype.visitInterval = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#intervalField. +sqlVisitor.prototype.visitIntervalField = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#intervalValue. +sqlVisitor.prototype.visitIntervalValue = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#colPosition. +sqlVisitor.prototype.visitColPosition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#complexDataType. +sqlVisitor.prototype.visitComplexDataType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#primitiveDataType. +sqlVisitor.prototype.visitPrimitiveDataType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#colTypeList. +sqlVisitor.prototype.visitColTypeList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#colType. +sqlVisitor.prototype.visitColType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dtColTypeList. +sqlVisitor.prototype.visitDtColTypeList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#dtColType. +sqlVisitor.prototype.visitDtColType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#complexColTypeList. +sqlVisitor.prototype.visitComplexColTypeList = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#complexColType. +sqlVisitor.prototype.visitComplexColType = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#whenClause. +sqlVisitor.prototype.visitWhenClause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#windows. +sqlVisitor.prototype.visitWindows = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#namedWindow. +sqlVisitor.prototype.visitNamedWindow = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#windowRef. +sqlVisitor.prototype.visitWindowRef = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#windowDef. +sqlVisitor.prototype.visitWindowDef = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#windowFrame. +sqlVisitor.prototype.visitWindowFrame = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#frameBound. +sqlVisitor.prototype.visitFrameBound = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#qualifiedName. +sqlVisitor.prototype.visitQualifiedName = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#identifier. +sqlVisitor.prototype.visitIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#unquotedIdentifier. +sqlVisitor.prototype.visitUnquotedIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#quotedIdentifierAlternative. +sqlVisitor.prototype.visitQuotedIdentifierAlternative = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#quotedIdentifier. +sqlVisitor.prototype.visitQuotedIdentifier = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#decimalLiteral. +sqlVisitor.prototype.visitDecimalLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#integerLiteral. +sqlVisitor.prototype.visitIntegerLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#bigIntLiteral. +sqlVisitor.prototype.visitBigIntLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#smallIntLiteral. +sqlVisitor.prototype.visitSmallIntLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#tinyIntLiteral. +sqlVisitor.prototype.visitTinyIntLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#doubleLiteral. +sqlVisitor.prototype.visitDoubleLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#bigDecimalLiteral. +sqlVisitor.prototype.visitBigDecimalLiteral = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by sqlParser#nonReserved. +sqlVisitor.prototype.visitNonReserved = function(ctx) { + return this.visitChildren(ctx); +}; + + + +exports.sqlVisitor = sqlVisitor; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 282795d..78af915 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,9 @@ import * as parser from "./lib/parser"; import * as filter from "./lib/filter"; +import flinksqlParser from './lib/flinkParser'; export { parser, - filter + filter, + flinksqlParser }; \ No newline at end of file diff --git a/src/lib/flinkParser.ts b/src/lib/flinkParser.ts new file mode 100644 index 0000000..d7d568f --- /dev/null +++ b/src/lib/flinkParser.ts @@ -0,0 +1,57 @@ +import * as antlr4 from 'antlr4' +import { ErrorListener } from 'antlr4/error'; +import { sqlLexer } from '../antlr4/flinksql/sqlLexer'; +import { sqlParser } from '../antlr4/flinksql/sqlParser'; +import { sqlVisitor } from '../antlr4/flinksql/sqlVisitor'; + +import { splitSql } from '../utils' + +interface SyntaxError { + line: number; + column: number; + token: antlr4.Token; + errorMsg: string; +} + +class SqlErrorListener extends ErrorListener { + error: SyntaxError = null; + syntaxError (recognizer: antlr4.Recognizer, offendingSymbol: antlr4.Token, line: number, charPositionInLine: number, msg: string, e: any) { + this.error = { + line, + column: charPositionInLine, + token: offendingSymbol, + errorMsg: msg + }; + } +} +function parserSingle (sql: string,) { + if (!sql || !sql.trim()) { + return null; + } + const inputStream = new antlr4.InputStream(sql.toUpperCase()); + const lexer = new sqlLexer(inputStream) as antlr4.Lexer; + const tokenStream = new antlr4.CommonTokenStream(lexer); + const parser: any = new sqlParser(tokenStream); + parser.buildParseTrees = true; + let listener = new SqlErrorListener(); + parser.addErrorListener(listener) + parser.singleStatement(); + return listener.error; +} +function parserSyntax (sql: sql): SyntaxError { + let runSql = typeof sql == 'string' ? sql : sql.join(''); + const sqls = splitSql(runSql); + for (let i = 0, index = 0; i < sqls.length; i++) { + /** + * 这边不取分号 + */ + let sql = new Array(index).fill(' ').join('') + runSql.substring(index, sqls[i]); + let err = parserSingle(sql); + if (err) { + return err; + } + index = sqls[i] + 1; + } + return null; +} +export default parserSyntax; \ No newline at end of file diff --git a/src/lib/parser.ts b/src/lib/parser.ts index 170a06d..7d41f57 100644 --- a/src/lib/parser.ts +++ b/src/lib/parser.ts @@ -2,7 +2,6 @@ import * as sqlSyntaxParser from '../core/sqlSyntaxParser'; import * as sqlAutoCompleteParser from '../core/sqlAutoCompleteParser'; -type sql = string | string []; enum sqlType { Hive = 'hive', None = 'sql', @@ -29,12 +28,13 @@ function parseSyntax(sql: sql, type:sqlType = sqlType.Hive): sqlSyntaxParser.Syn /** * 自动补全提示 */ -function parserSql(sql: sql, type:sqlType = sqlType.Hive): sqlAutoCompleteParser.CompleteResult { +function parserSql(sql: sql, type: sqlType = sqlType.Hive): sqlAutoCompleteParser.CompleteResult { const parserArgs = sqlToParserArgs(sql); return sqlAutoCompleteParser.parser.parseSql(parserArgs[0], parserArgs[1], type, false) } export { parseSyntax, - parserSql + parserSql, + sqlType } diff --git a/src/peg/sparksql.pegjs b/src/peg/sparksql.pegjs deleted file mode 100644 index bfb4e59..0000000 --- a/src/peg/sparksql.pegjs +++ /dev/null @@ -1,1061 +0,0 @@ - - -{ - - let legacy_setops_precedence_enbled = false; - let partitions=[]; - function isValidDecimal(text) { - let nextChar = text[0]; - if (nextChar >= 'A' && nextChar <= 'Z' || nextChar >= '0' && nextChar <= '9' || - nextChar == '_') { - return false; - } else { - return true; - } - } -} - -singleStatement - = statement - -singleExpression - = namedExpression - -singleTableIdentifier - = tableIdentifier - ; - -singleFunctionIdentifier - = functionIdentifier - ; - -singleDataType - = dataType - ; - -singleTableSchema - = colTypeList - ; - -statement - = query #statementDefault - / USE WS db:identifier #use - / CREATE DATABASE (IF NOT EXISTS)? identifier - (COMMENT comment=STRING)? locationSpec? - (WITH DBPROPERTIES tablePropertyList)? #createDatabase - | ALTER DATABASE identifier SET DBPROPERTIES tablePropertyList #setDatabaseProperties - | DROP DATABASE (IF EXISTS)? identifier (RESTRICT | CASCADE)? #dropDatabase - | createTableHeader ('(' colTypeList ')')? tableProvider - ((OPTIONS options=tablePropertyList) | - (PARTITIONED BY partitionColumnNames=identifierList) | - bucketSpec | - locationSpec | - (COMMENT comment=STRING) | - (TBLPROPERTIES tableProps=tablePropertyList))* - (AS? query)? #createTable - | createTableHeader ('(' columns=colTypeList ')')? - ((COMMENT comment=STRING) | - (PARTITIONED BY '(' partitionColumns=colTypeList ')') | - bucketSpec | - skewSpec | - rowFormat | - createFileFormat | - locationSpec | - (TBLPROPERTIES tableProps=tablePropertyList))* - (AS? query)? #createHiveTable - | CREATE TABLE (IF NOT EXISTS)? target=tableIdentifier - LIKE source=tableIdentifier locationSpec? #createTableLike - | ANALYZE TABLE tableIdentifier partitionSpec? COMPUTE STATISTICS - (identifier | FOR COLUMNS identifierSeq | FOR ALL COLUMNS)? #analyze - | ALTER TABLE tableIdentifier - ADD COLUMNS '(' columns=colTypeList ')' #addTableColumns - | ALTER (TABLE | VIEW) from=tableIdentifier - RENAME TO to=tableIdentifier #renameTable - | ALTER (TABLE | VIEW) tableIdentifier - SET TBLPROPERTIES tablePropertyList #setTableProperties - | ALTER (TABLE | VIEW) tableIdentifier - UNSET TBLPROPERTIES (IF EXISTS)? tablePropertyList #unsetTableProperties - | ALTER TABLE tableIdentifier partitionSpec? - CHANGE COLUMN? identifier colType colPosition? #changeColumn - | ALTER TABLE tableIdentifier (partitionSpec)? - SET SERDE STRING (WITH SERDEPROPERTIES tablePropertyList)? #setTableSerDe - | ALTER TABLE tableIdentifier (partitionSpec)? - SET SERDEPROPERTIES tablePropertyList #setTableSerDe - | ALTER TABLE tableIdentifier ADD (IF NOT EXISTS)? - partitionSpecLocation+ #addTablePartition - | ALTER VIEW tableIdentifier ADD (IF NOT EXISTS)? - partitionSpec+ #addTablePartition - | ALTER TABLE tableIdentifier - from=partitionSpec RENAME TO to=partitionSpec #renameTablePartition - | ALTER TABLE tableIdentifier - DROP (IF EXISTS)? partitionSpec (',' partitionSpec)* PURGE? #dropTablePartitions - | ALTER VIEW tableIdentifier - DROP (IF EXISTS)? partitionSpec (',' partitionSpec)* #dropTablePartitions - | ALTER TABLE tableIdentifier partitionSpec? SET locationSpec #setTableLocation - | ALTER TABLE tableIdentifier RECOVER PARTITIONS #recoverPartitions - | DROP TABLE (IF EXISTS)? tableIdentifier PURGE? #dropTable - | DROP VIEW (IF EXISTS)? tableIdentifier #dropTable - | CREATE (OR REPLACE)? (GLOBAL? TEMPORARY)? - VIEW (IF NOT EXISTS)? tableIdentifier - identifierCommentList? (COMMENT STRING)? - (PARTITIONED ON identifierList)? - (TBLPROPERTIES tablePropertyList)? AS query #createView - | CREATE (OR REPLACE)? GLOBAL? TEMPORARY VIEW - tableIdentifier ('(' colTypeList ')')? tableProvider - (OPTIONS tablePropertyList)? #createTempViewUsing - | ALTER VIEW tableIdentifier AS? query #alterViewQuery - | CREATE (OR REPLACE)? TEMPORARY? FUNCTION (IF NOT EXISTS)? - qualifiedName AS className=STRING - (USING resource (',' resource)*)? #createFunction - | DROP TEMPORARY? FUNCTION (IF EXISTS)? qualifiedName #dropFunction - | EXPLAIN (LOGICAL | FORMATTED | EXTENDED | CODEGEN | COST)? - statement #explain - | SHOW TABLES ((FROM | IN) db=identifier)? - (LIKE? pattern=STRING)? #showTables - | SHOW TABLE EXTENDED ((FROM | IN) db=identifier)? - LIKE pattern=STRING partitionSpec? #showTable - | SHOW DATABASES (LIKE? pattern=STRING)? #showDatabases - | SHOW TBLPROPERTIES table=tableIdentifier - ('(' key=tablePropertyKey ')')? #showTblProperties - | SHOW COLUMNS (FROM | IN) tableIdentifier - ((FROM | IN) db=identifier)? #showColumns - | SHOW PARTITIONS tableIdentifier partitionSpec? #showPartitions - | SHOW identifier? FUNCTIONS - (LIKE? (qualifiedName | pattern=STRING))? #showFunctions - | SHOW CREATE TABLE tableIdentifier #showCreateTable - | (DESC | DESCRIBE) FUNCTION EXTENDED? describeFuncName #describeFunction - | (DESC | DESCRIBE) DATABASE EXTENDED? identifier #describeDatabase - | (DESC | DESCRIBE) TABLE? option=(EXTENDED | FORMATTED)? - tableIdentifier partitionSpec? describeColName? #describeTable - | REFRESH TABLE tableIdentifier #refreshTable - | REFRESH (STRING | .*?) #refreshResource - | CACHE LAZY? TABLE tableIdentifier - (OPTIONS options=tablePropertyList)? (AS? query)? #cacheTable - | UNCACHE TABLE (IF EXISTS)? tableIdentifier #uncacheTable - | CLEAR CACHE #clearCache - | LOAD DATA LOCAL? INPATH path=STRING OVERWRITE? INTO TABLE - tableIdentifier partitionSpec? #loadData - | TRUNCATE TABLE tableIdentifier partitionSpec? #truncateTable - | MSCK REPAIR TABLE tableIdentifier #repairTable - | op=(ADD | LIST) identifier .*? #manageResource - | SET ROLE .*? #failNativeCommand - | SET .*? #setConfiguration - | RESET #resetConfiguration - | unsupportedHiveNativeCommands .*? #failNativeCommand - ; - -unsupportedHiveNativeCommands - = kw1=CREATE kw2=ROLE - | kw1=DROP kw2=ROLE - | kw1=GRANT kw2=ROLE? - | kw1=REVOKE kw2=ROLE? - | kw1=SHOW kw2=GRANT - | kw1=SHOW kw2=ROLE kw3=GRANT? - | kw1=SHOW kw2=PRINCIPALS - | kw1=SHOW kw2=ROLES - | kw1=SHOW kw2=CURRENT kw3=ROLES - | kw1=EXPORT kw2=TABLE - | kw1=IMPORT kw2=TABLE - | kw1=SHOW kw2=COMPACTIONS - | kw1=SHOW kw2=CREATE kw3=TABLE - | kw1=SHOW kw2=TRANSACTIONS - | kw1=SHOW kw2=INDEXES - | kw1=SHOW kw2=LOCKS - | kw1=CREATE kw2=INDEX - | kw1=DROP kw2=INDEX - | kw1=ALTER kw2=INDEX - | kw1=LOCK kw2=TABLE - | kw1=LOCK kw2=DATABASE - | kw1=UNLOCK kw2=TABLE - | kw1=UNLOCK kw2=DATABASE - | kw1=CREATE kw2=TEMPORARY kw3=MACRO - | kw1=DROP kw2=TEMPORARY kw3=MACRO - | kw1=ALTER kw2=TABLE tableIdentifier kw3=NOT kw4=CLUSTERED - | kw1=ALTER kw2=TABLE tableIdentifier kw3=CLUSTERED kw4=BY - | kw1=ALTER kw2=TABLE tableIdentifier kw3=NOT kw4=SORTED - | kw1=ALTER kw2=TABLE tableIdentifier kw3=SKEWED kw4=BY - | kw1=ALTER kw2=TABLE tableIdentifier kw3=NOT kw4=SKEWED - | kw1=ALTER kw2=TABLE tableIdentifier kw3=NOT kw4=STORED kw5=AS kw6=DIRECTORIES - | kw1=ALTER kw2=TABLE tableIdentifier kw3=SET kw4=SKEWED kw5=LOCATION - | kw1=ALTER kw2=TABLE tableIdentifier kw3=EXCHANGE kw4=PARTITION - | kw1=ALTER kw2=TABLE tableIdentifier kw3=ARCHIVE kw4=PARTITION - | kw1=ALTER kw2=TABLE tableIdentifier kw3=UNARCHIVE kw4=PARTITION - | kw1=ALTER kw2=TABLE tableIdentifier kw3=TOUCH - | kw1=ALTER kw2=TABLE tableIdentifier partitionSpec? kw3=COMPACT - | kw1=ALTER kw2=TABLE tableIdentifier partitionSpec? kw3=CONCATENATE - | kw1=ALTER kw2=TABLE tableIdentifier partitionSpec? kw3=SET kw4=FILEFORMAT - | kw1=ALTER kw2=TABLE tableIdentifier partitionSpec? kw3=REPLACE kw4=COLUMNS - | kw1=START kw2=TRANSACTION - | kw1=COMMIT - | kw1=ROLLBACK - | kw1=DFS - | kw1=DELETE kw2=FROM - ; - -createTableHeader - = CREATE TEMPORARY? EXTERNAL? TABLE (IF NOT EXISTS)? tableIdentifier - ; - -bucketSpec - = CLUSTERED BY identifierList - (SORTED BY orderedIdentifierList)? - INTO INTEGER_VALUE BUCKETS - ; - -skewSpec - = SKEWED BY identifierList - ON (constantList | nestedConstantList) - (STORED AS DIRECTORIES)? - ; - -locationSpec - = LOCATION STRING - ; - -query - = ctes? queryNoWith - ; - -insertInto - = INSERT OVERWRITE TABLE tableIdentifier (partitionSpec (IF NOT EXISTS)?)? #insertOverwriteTable - | INSERT INTO TABLE? tableIdentifier partitionSpec? #insertIntoTable - | INSERT OVERWRITE LOCAL? DIRECTORY path=STRING rowFormat? createFileFormat? #insertOverwriteHiveDir - | INSERT OVERWRITE LOCAL? DIRECTORY (path=STRING)? tableProvider (OPTIONS options=tablePropertyList)? #insertOverwriteDir - ; - -partitionSpecLocation - = partitionSpec locationSpec? - ; - -partitionSpec - = PARTITION '(' partitionVal (',' partitionVal)* ')' - ; - -partitionVal - = identifier (EQ constant)? - ; - -describeFuncName - = qualifiedName - | STRING - | comparisonOperator - | arithmeticOperator - | predicateOperator - ; - -describeColName - = nameParts+=identifier ('.' nameParts+=identifier)* - ; - -ctes - = WITH namedQuery (',' namedQuery)* - ; - -namedQuery - = name=identifier AS? '(' query ')' - ; - -tableProvider - = USING qualifiedName - ; - -tablePropertyList - = '(' tableProperty (',' tableProperty)* ')' - ; - -tableProperty - = key=tablePropertyKey (EQ? value=tablePropertyValue)? - ; - -tablePropertyKey - = identifier ('.' identifier)* - | STRING - ; - -tablePropertyValue - = INTEGER_VALUE - | DECIMAL_VALUE - | booleanValue - | STRING - ; - -constantList - = '(' constant (',' constant)* ')' - ; - -nestedConstantList - = '(' constantList (',' constantList)* ')' - ; - -createFileFormat - = STORED AS fileFormat - | STORED BY storageHandler - ; - -fileFormat - = INPUTFORMAT inFmt=STRING OUTPUTFORMAT outFmt=STRING #tableFileFormat - | identifier #genericFileFormat - ; - -storageHandler - = STRING (WITH SERDEPROPERTIES tablePropertyList)? - ; - -resource - = identifier STRING - ; - -queryNoWith - = insertInto? queryTerm queryOrganization #singleInsertQuery - | fromClause multiInsertQueryBody+ #multiInsertQuery - ; - -queryOrganization - = (ORDER BY order+=sortItem (',' order+=sortItem)*)? - (CLUSTER BY clusterBy+=expression (',' clusterBy+=expression)*)? - (DISTRIBUTE BY distributeBy+=expression (',' distributeBy+=expression)*)? - (SORT BY sort+=sortItem (',' sort+=sortItem)*)? - windows? - (LIMIT (ALL | limit=expression))? - ; - -multiInsertQueryBody - = insertInto? - querySpecification - queryOrganization - ; - -queryTerm - = queryPrimary #queryTermDefault - | left=queryTerm {legacy_setops_precedence_enbled}? - operator=(INTERSECT | UNION | EXCEPT | SETMINUS) setQuantifier? right=queryTerm #setOperation - | left=queryTerm {!legacy_setops_precedence_enbled}? - operator=INTERSECT setQuantifier? right=queryTerm #setOperation - | left=queryTerm {!legacy_setops_precedence_enbled}? - operator=(UNION | EXCEPT | SETMINUS) setQuantifier? right=queryTerm #setOperation - ; - -queryPrimary - = querySpecification #queryPrimaryDefault - | TABLE tableIdentifier #table - | inlineTable #inlineTableDefault1 - | '(' queryNoWith ')' #subquery - ; - -sortItem - = expression ordering=(ASC | DESC)? (NULLS nullOrder=(LAST | FIRST))? - ; - -querySpecification - = (((SELECT kind=TRANSFORM '(' namedExpressionSeq ')' - | kind=MAP namedExpressionSeq - | kind=REDUCE namedExpressionSeq)) - inRowFormat=rowFormat? - (RECORDWRITER recordWriter=STRING)? - USING script=STRING - (AS (identifierSeq | colTypeList | ('(' (identifierSeq | colTypeList) ')')))? - outRowFormat=rowFormat? - (RECORDREADER recordReader=STRING)? - fromClause? - (WHERE where=booleanExpression)?) - | ((kind=SELECT (hints+=hint)* setQuantifier? namedExpressionSeq fromClause? - | fromClause (kind=SELECT setQuantifier? namedExpressionSeq)?) - lateralView* - (WHERE where=booleanExpression)? - aggregation? - (HAVING having=booleanExpression)? - windows?) - ; - -hint - = '/*+' hintStatements+=hintStatement (','? hintStatements+=hintStatement)* '*/' - ; - -hintStatement - = hintName=identifier - | hintName=identifier '(' parameters+=primaryExpression (',' parameters+=primaryExpression)* ')' - ; - -fromClause - = FROM relation (',' relation)* lateralView* pivotClause? - ; - -aggregation - = GROUP BY groupingExpressions+=expression (',' groupingExpressions+=expression)* ( - WITH kind=ROLLUP - | WITH kind=CUBE - | kind=GROUPING SETS '(' groupingSet (',' groupingSet)* ')')? - | GROUP BY kind=GROUPING SETS '(' groupingSet (',' groupingSet)* ')' - ; - -groupingSet - = '(' (expression (',' expression)*)? ')' - | expression - ; - -pivotClause - = PIVOT '(' aggregates=namedExpressionSeq FOR pivotColumn IN '(' pivotValues+=pivotValue (',' pivotValues+=pivotValue)* ')' ')' - ; - -pivotColumn - = identifiers+=identifier - | '(' identifiers+=identifier (',' identifiers+=identifier)* ')' - ; - -pivotValue - = expression (AS? identifier)? - ; - -lateralView - = LATERAL VIEW (OUTER)? qualifiedName '(' (expression (',' expression)*)? ')' tblName=identifier (AS? colName+=identifier (',' colName+=identifier)*)? - ; - -setQuantifier - = DISTINCT - | ALL - ; - -relation - = relationPrimary joinRelation* - ; - -joinRelation - = (joinType) JOIN right=relationPrimary joinCriteria? - | NATURAL joinType JOIN right=relationPrimary - ; - -joinType - = INNER? - | CROSS - | LEFT OUTER? - | LEFT SEMI - | RIGHT OUTER? - | FULL OUTER? - | LEFT? ANTI - ; - -joinCriteria - = ON booleanExpression - | USING identifierList - ; - -sample - = TABLESAMPLE '(' sampleMethod? ')' - ; - -sampleMethod - = negativeSign=MINUS? percentage=(INTEGER_VALUE | DECIMAL_VALUE) PERCENTLIT #sampleByPercentile - | expression ROWS #sampleByRows - | sampleType=BUCKET numerator=INTEGER_VALUE OUT OF denominator=INTEGER_VALUE - (ON (identifier | qualifiedName '(' ')'))? #sampleByBucket - | bytes=expression #sampleByBytes - ; - -identifierList - = '(' identifierSeq ')' - ; - -identifierSeq - = identifier (',' identifier)* - ; - -orderedIdentifierList - = '(' orderedIdentifier (',' orderedIdentifier)* ')' - ; - -orderedIdentifier - = identifier ordering=(ASC | DESC)? - ; - -identifierCommentList - = '(' identifierComment (',' identifierComment)* ')' - ; - -identifierComment - = identifier (COMMENT STRING)? - ; - -relationPrimary - = tableIdentifier sample? tableAlias #tableName - | '(' queryNoWith ')' sample? tableAlias #aliasedQuery - | '(' relation ')' sample? tableAlias #aliasedRelation - | inlineTable #inlineTableDefault2 - | functionTable #tableValuedFunction - ; - -inlineTable - = VALUES expression (',' expression)* tableAlias - ; - -functionTable - = identifier '(' (expression (',' expression)*)? ')' tableAlias - ; - -tableAlias - = (AS? strictIdentifier identifierList?)? - ; - -rowFormat - = ROW FORMAT SERDE name=STRING (WITH SERDEPROPERTIES props=tablePropertyList)? #rowFormatSerde - | ROW FORMAT DELIMITED - (FIELDS TERMINATED BY fieldsTerminatedBy=STRING (ESCAPED BY escapedBy=STRING)?)? - (COLLECTION ITEMS TERMINATED BY collectionItemsTerminatedBy=STRING)? - (MAP KEYS TERMINATED BY keysTerminatedBy=STRING)? - (LINES TERMINATED BY linesSeparatedBy=STRING)? - (NULL DEFINED AS nullDefinedAs=STRING)? #rowFormatDelimited - ; - -tableIdentifier - = (db=identifier '.')? table=identifier - ; - -functionIdentifier - = (db=identifier '.')? function=identifier - ; - -namedExpression - = expression (AS? (identifier | identifierList))? - ; - -namedExpressionSeq - = namedExpression (',' namedExpression)* - ; - -expression - = booleanExpression - ; - -booleanExpression - = NOT booleanExpression #logicalNot - | EXISTS '(' query ')' #exists - | valueExpression predicate? #predicated - | left=booleanExpression operator=AND right=booleanExpression #logicalBinary - | left=booleanExpression operator=OR right=booleanExpression #logicalBinary - ; - -predicate - = NOT? kind=BETWEEN lower=valueExpression AND upper=valueExpression - | NOT? kind=IN '(' expression (',' expression)* ')' - | NOT? kind=IN '(' query ')' - | NOT? kind=(RLIKE | LIKE) pattern=valueExpression - | IS NOT? kind=NULL - | IS NOT? kind=DISTINCT FROM right=valueExpression - ; - -valueExpression - = primaryExpression #valueExpressionDefault - | operator=(MINUS | PLUS | TILDE) valueExpression #arithmeticUnary - | left=valueExpression operator=(ASTERISK | SLASH | PERCENT | DIV) right=valueExpression #arithmeticBinary - | left=valueExpression operator=(PLUS | MINUS | CONCAT_PIPE) right=valueExpression #arithmeticBinary - | left=valueExpression operator=AMPERSAND right=valueExpression #arithmeticBinary - | left=valueExpression operator=HAT right=valueExpression #arithmeticBinary - | left=valueExpression operator=PIPE right=valueExpression #arithmeticBinary - | left=valueExpression comparisonOperator right=valueExpression #comparison - ; - -primaryExpression - = CASE whenClause+ (ELSE elseExpression=expression)? END #searchedCase - | CASE value=expression whenClause+ (ELSE elseExpression=expression)? END #simpleCase - | CAST '(' expression AS dataType ')' #cast - | STRUCT '(' (argument+=namedExpression (',' argument+=namedExpression)*)? ')' #struct - | FIRST '(' expression (IGNORE NULLS)? ')' #first - | LAST '(' expression (IGNORE NULLS)? ')' #last - | POSITION '(' substr=valueExpression IN str=valueExpression ')' #position - | constant #constantDefault - | ASTERISK #star - | qualifiedName '.' ASTERISK #star - | '(' namedExpression (',' namedExpression)+ ')' #rowConstructor - | '(' query ')' #subqueryExpression - | qualifiedName '(' (setQuantifier? argument+=expression (',' argument+=expression)*)? ')' - (OVER windowSpec)? #functionCall - | qualifiedName '(' trimOption=(BOTH | LEADING | TRAILING) argument+=expression - FROM argument+=expression ')' #functionCall - | IDENTIFIER '->' expression #lambda - | '(' IDENTIFIER (',' IDENTIFIER)+ ')' '->' expression #lambda - | value=primaryExpression '[' index=valueExpression ']' #subscript - | identifier #columnReference - | base=primaryExpression '.' fieldName=identifier #dereference - | '(' expression ')' #parenthesizedExpression - | EXTRACT '(' field=identifier FROM source=valueExpression ')' #extract - ; - -constant - = NULL #nullLiteral - | interval #intervalLiteral - | identifier STRING #typeConstructor - | number #numericLiteral - | booleanValue #booleanLiteral - | STRING+ #stringLiteral - ; - -comparisonOperator - = EQ | NEQ | NEQJ | LT | LTE | GT | GTE | NSEQ - ; - -arithmeticOperator - = PLUS | MINUS | ASTERISK | SLASH | PERCENT | DIV | TILDE | AMPERSAND | PIPE | CONCAT_PIPE | HAT - ; - -predicateOperator - = OR | AND | IN | NOT - ; - -booleanValue - = TRUE | FALSE - ; - -interval - = INTERVAL intervalField* - ; - -intervalField - = value=intervalValue unit=identifier (TO to=identifier)? - ; - -intervalValue - = (PLUS | MINUS)? (INTEGER_VALUE | DECIMAL_VALUE) - | STRING - ; - -colPosition - = FIRST | AFTER identifier - ; - -dataType - = complex=ARRAY '<' dataType '>' #complexDataType - | complex=MAP '<' dataType ',' dataType '>' #complexDataType - | complex=STRUCT ('<' complexColTypeList? '>' | NEQ) #complexDataType - | identifier ('(' INTEGER_VALUE (',' INTEGER_VALUE)* ')')? #primitiveDataType - ; - -colTypeList - = colType (',' colType)* - ; - -colType - = identifier dataType (COMMENT STRING)? - ; - -complexColTypeList - = complexColType (',' complexColType)* - ; - -complexColType - = identifier '=' dataType (COMMENT STRING)? - ; - -whenClause - = WHEN condition=expression THEN result=expression - ; - -windows - = WINDOW namedWindow (',' namedWindow)* - ; - -namedWindow - = identifier AS windowSpec - ; - -windowSpec - = name:identifier #windowRef - / '(' - ( - CLUSTER BY partition:expression (',' partition:expression {partitions.push(partition; return ',' + partition)})* - / ((PARTITION / DISTRIBUTE) BY partition:expression (',' partition:expression)*)? - ((ORDER / SORT) BY sortItem (',' sortItem)*)? - ) - windowFrame? - ')' #windowDef - {} - ; - -windowFrame - = frameType:RANGE start:frameBound - / frameType:ROWS start:frameBound - / frameType:RANGE BETWEEN start:frameBound AND end:frameBound - / frameType:ROWS BETWEEN start:frameBound AND end:frameBound - ; - -frameBound - = UNBOUNDED boundType:(PRECEDING / FOLLOWING) - / boundType:CURRENT ROW - / expression boundType:(PRECEDING / FOLLOWING) - ; - -qualifiedName - = identifier ('.' identifier)* - ; - -identifier - = strictIdentifier - / ANTI / FULL / INNER / LEFT / SEMI / RIGHT / NATURAL / JOIN / CROSS / ON - / UNION / INTERSECT / EXCEPT / SETMINUS - ; - -strictIdentifier - = IDENTIFIER #unquotedIdentifier - / quotedIdentifier #quotedIdentifierAlternative - / nonReserved #unquotedIdentifier - ; - -quotedIdentifier - = BACKQUOTED_IDENTIFIER - ; - -number - = MINUS? DECIMAL_VALUE #decimalLiteral - / MINUS? INTEGER_VALUE #integerLiteral - / MINUS? BIGINT_LITERAL #bigIntLiteral - / MINUS? SMALLINT_LITERAL #smallIntLiteral - / MINUS? TINYINT_LITERAL #tinyIntLiteral - / MINUS? DOUBLE_LITERAL #doubleLiteral - / MINUS? BIGDECIMAL_LITERAL #bigDecimalLiteral - ; - -nonReserved - = SHOW / TABLES / COLUMNS / COLUMN / PARTITIONS / FUNCTIONS / DATABASES - / ADD - / OVER / PARTITION / RANGE / ROWS / PRECEDING / FOLLOWING / CURRENT / ROW / LAST / FIRST / AFTER - / MAP / ARRAY / STRUCT - / PIVOT / LATERAL / WINDOW / REDUCE / TRANSFORM / SERDE / SERDEPROPERTIES / RECORDREADER - / DELIMITED / FIELDS / TERMINATED / COLLECTION / ITEMS / KEYS / ESCAPED / LINES / SEPARATED - / EXTENDED / REFRESH / CLEAR / CACHE / UNCACHE / LAZY / GLOBAL / TEMPORARY / OPTIONS - / GROUPING / CUBE / ROLLUP - / EXPLAIN / FORMAT / LOGICAL / FORMATTED / CODEGEN / COST - / TABLESAMPLE / USE / TO / BUCKET / PERCENTLIT / OUT / OF - / SET / RESET - / VIEW / REPLACE - / IF - / POSITION - / EXTRACT - / NO / DATA - / START / TRANSACTION / COMMIT / ROLLBACK / IGNORE - / SORT / CLUSTER / DISTRIBUTE / UNSET / TBLPROPERTIES / SKEWED / STORED / DIRECTORIES / LOCATION - / EXCHANGE / ARCHIVE / UNARCHIVE / FILEFORMAT / TOUCH / COMPACT / CONCATENATE / CHANGE - / CASCADE / RESTRICT / BUCKETS / CLUSTERED / SORTED / PURGE / INPUTFORMAT / OUTPUTFORMAT - / DBPROPERTIES / DFS / TRUNCATE / COMPUTE / LIST - / STATISTICS / ANALYZE / PARTITIONED / EXTERNAL / DEFINED / RECORDWRITER - / REVOKE / GRANT / LOCK / UNLOCK / MSCK / REPAIR / RECOVER / EXPORT / IMPORT / LOAD / VALUES / COMMENT / ROLE - / ROLES / COMPACTIONS / PRINCIPALS / TRANSACTIONS / INDEX / INDEXES / LOCKS / OPTION / LOCAL / INPATH - / ASC / DESC / LIMIT / RENAME / SETS - / AT / NULLS / OVERWRITE / ALL / ANY / ALTER / AS / BETWEEN / BY / CREATE / DELETE - / DESCRIBE / DROP / EXISTS / FALSE / FOR / GROUP / IN / INSERT / INTO / IS /LIKE - / NULL / ORDER / OUTER / TABLE / TRUE / WITH / RLIKE - / AND / CASE / CAST / DISTINCT / DIV / ELSE / END / FUNCTION / INTERVAL / MACRO / OR / STRATIFY / THEN - / UNBOUNDED / WHEN - / DATABASE / SELECT / FROM / WHERE / HAVING / TO / TABLE / WITH / NOT - / DIRECTORY - / BOTH / LEADING / TRAILING - ; - -SELECT= 'SELECT'; -FROM= 'FROM'; -ADD= 'ADD'; -AS= 'AS'; -ALL= 'ALL'; -ANY= 'ANY'; -DISTINCT= 'DISTINCT'; -WHERE= 'WHERE'; -GROUP= 'GROUP'; -BY= 'BY'; -GROUPING= 'GROUPING'; -SETS= 'SETS'; -CUBE= 'CUBE'; -ROLLUP= 'ROLLUP'; -ORDER= 'ORDER'; -HAVING= 'HAVING'; -LIMIT= 'LIMIT'; -AT= 'AT'; -OR= 'OR'; -AND= 'AND'; -IN= 'IN'; -NOT= 'NOT' / '!'; -NO= 'NO'; -EXISTS= 'EXISTS'; -BETWEEN= 'BETWEEN'; -LIKE= 'LIKE'; -RLIKE= 'RLIKE' / 'REGEXP'; -IS= 'IS'; -NULL= 'NULL'; -TRUE= 'TRUE'; -FALSE= 'FALSE'; -NULLS= 'NULLS'; -ASC= 'ASC'; -DESC= 'DESC'; -FOR= 'FOR'; -INTERVAL= 'INTERVAL'; -CASE= 'CASE'; -WHEN= 'WHEN'; -THEN= 'THEN'; -ELSE= 'ELSE'; -END= 'END'; -JOIN= 'JOIN'; -CROSS= 'CROSS'; -OUTER= 'OUTER'; -INNER= 'INNER'; -LEFT= 'LEFT'; -SEMI= 'SEMI'; -RIGHT= 'RIGHT'; -FULL= 'FULL'; -NATURAL= 'NATURAL'; -ON= 'ON'; -PIVOT= 'PIVOT'; -LATERAL= 'LATERAL'; -WINDOW= 'WINDOW'; -OVER= 'OVER'; -PARTITION= 'PARTITION'; -RANGE= 'RANGE'; -ROWS= 'ROWS'; -UNBOUNDED= 'UNBOUNDED'; -PRECEDING= 'PRECEDING'; -FOLLOWING= 'FOLLOWING'; -CURRENT= 'CURRENT'; -FIRST= 'FIRST'; -AFTER= 'AFTER'; -LAST= 'LAST'; -ROW= 'ROW'; -WITH= 'WITH'; -VALUES= 'VALUES'; -CREATE= 'CREATE'; -TABLE= 'TABLE'; -DIRECTORY= 'DIRECTORY'; -VIEW= 'VIEW'; -REPLACE= 'REPLACE'; -INSERT= 'INSERT'; -DELETE= 'DELETE'; -INTO= 'INTO'; -DESCRIBE= 'DESCRIBE'; -EXPLAIN= 'EXPLAIN'; -FORMAT= 'FORMAT'; -LOGICAL= 'LOGICAL'; -CODEGEN= 'CODEGEN'; -COST= 'COST'; -CAST= 'CAST'; -SHOW= 'SHOW'; -TABLES= 'TABLES'; -COLUMNS= 'COLUMNS'; -COLUMN= 'COLUMN'; -USE= 'USE'; -PARTITIONS= 'PARTITIONS'; -FUNCTIONS= 'FUNCTIONS'; -DROP= 'DROP'; -UNION= 'UNION'; -EXCEPT= 'EXCEPT'; -SETMINUS= 'MINUS'; -INTERSECT= 'INTERSECT'; -TO= 'TO'; -TABLESAMPLE= 'TABLESAMPLE'; -STRATIFY= 'STRATIFY'; -ALTER= 'ALTER'; -RENAME= 'RENAME'; -ARRAY= 'ARRAY'; -MAP= 'MAP'; -STRUCT= 'STRUCT'; -COMMENT= 'COMMENT'; -SET= 'SET'; -RESET= 'RESET'; -DATA= 'DATA'; -START= 'START'; -TRANSACTION= 'TRANSACTION'; -COMMIT= 'COMMIT'; -ROLLBACK= 'ROLLBACK'; -MACRO= 'MACRO'; -IGNORE= 'IGNORE'; -BOTH= 'BOTH'; -LEADING= 'LEADING'; -TRAILING= 'TRAILING'; - -IF= 'IF'; -POSITION= 'POSITION'; -EXTRACT= 'EXTRACT'; - -EQ = '=' / '=='; -NSEQ= '<=>'; -NEQ = '<>'; -NEQJ= '!='; -LT = '<'; -LTE = '<=' / '!>'; -GT = '>'; -GTE = '>=' / '!<'; - -PLUS= '+'; -MINUS= '-'; -ASTERISK= '*'; -SLASH= '/'; -PERCENT= '%'; -DIV= 'DIV'; -TILDE= '~'; -AMPERSAND= '&'; -PIPE= '|'; -CONCAT_PIPE= '||'; -HAT= '^'; - -PERCENTLIT= 'PERCENT'; -BUCKET= 'BUCKET'; -OUT= 'OUT'; -OF= 'OF'; - -SORT= 'SORT'; -CLUSTER= 'CLUSTER'; -DISTRIBUTE= 'DISTRIBUTE'; -OVERWRITE= 'OVERWRITE'; -TRANSFORM= 'TRANSFORM'; -REDUCE= 'REDUCE'; -USING= 'USING'; -SERDE= 'SERDE'; -SERDEPROPERTIES= 'SERDEPROPERTIES'; -RECORDREADER= 'RECORDREADER'; -RECORDWRITER= 'RECORDWRITER'; -DELIMITED= 'DELIMITED'; -FIELDS= 'FIELDS'; -TERMINATED= 'TERMINATED'; -COLLECTION= 'COLLECTION'; -ITEMS= 'ITEMS'; -KEYS= 'KEYS'; -ESCAPED= 'ESCAPED'; -LINES= 'LINES'; -SEPARATED= 'SEPARATED'; -FUNCTION= 'FUNCTION'; -EXTENDED= 'EXTENDED'; -REFRESH= 'REFRESH'; -CLEAR= 'CLEAR'; -CACHE= 'CACHE'; -UNCACHE= 'UNCACHE'; -LAZY= 'LAZY'; -FORMATTED= 'FORMATTED'; -GLOBAL= 'GLOBAL'; -TEMPORARY= 'TEMPORARY' / 'TEMP'; -OPTIONS= 'OPTIONS'; -UNSET= 'UNSET'; -TBLPROPERTIES= 'TBLPROPERTIES'; -DBPROPERTIES= 'DBPROPERTIES'; -BUCKETS= 'BUCKETS'; -SKEWED= 'SKEWED'; -STORED= 'STORED'; -DIRECTORIES= 'DIRECTORIES'; -LOCATION= 'LOCATION'; -EXCHANGE= 'EXCHANGE'; -ARCHIVE= 'ARCHIVE'; -UNARCHIVE= 'UNARCHIVE'; -FILEFORMAT= 'FILEFORMAT'; -TOUCH= 'TOUCH'; -COMPACT= 'COMPACT'; -CONCATENATE= 'CONCATENATE'; -CHANGE= 'CHANGE'; -CASCADE= 'CASCADE'; -RESTRICT= 'RESTRICT'; -CLUSTERED= 'CLUSTERED'; -SORTED= 'SORTED'; -PURGE= 'PURGE'; -INPUTFORMAT= 'INPUTFORMAT'; -OUTPUTFORMAT= 'OUTPUTFORMAT'; -DATABASE= 'DATABASE' / 'SCHEMA'; -DATABASES= 'DATABASES' / 'SCHEMAS'; -DFS= 'DFS'; -TRUNCATE= 'TRUNCATE'; -ANALYZE= 'ANALYZE'; -COMPUTE= 'COMPUTE'; -LIST= 'LIST'; -STATISTICS= 'STATISTICS'; -PARTITIONED= 'PARTITIONED'; -EXTERNAL= 'EXTERNAL'; -DEFINED= 'DEFINED'; -REVOKE= 'REVOKE'; -GRANT= 'GRANT'; -LOCK= 'LOCK'; -UNLOCK= 'UNLOCK'; -MSCK= 'MSCK'; -REPAIR= 'REPAIR'; -RECOVER= 'RECOVER'; -EXPORT= 'EXPORT'; -IMPORT= 'IMPORT'; -LOAD= 'LOAD'; -ROLE= 'ROLE'; -ROLES= 'ROLES'; -COMPACTIONS= 'COMPACTIONS'; -PRINCIPALS= 'PRINCIPALS'; -TRANSACTIONS= 'TRANSACTIONS'; -INDEX= 'INDEX'; -INDEXES= 'INDEXES'; -LOCKS= 'LOCKS'; -OPTION= 'OPTION'; -ANTI= 'ANTI'; -LOCAL= 'LOCAL'; -INPATH= 'INPATH'; - -STRING - = '\'' ([^'\\] / ('\\' .))* '\'' - / '"' ([^"\\] / ('\\' .))* '"' - ; - -BIGINT_LITERAL - = DIGIT+ 'L' - ; - -SMALLINT_LITERAL - = DIGIT+ 'S' - ; - -TINYINT_LITERAL - = DIGIT+ 'Y' - ; - -INTEGER_VALUE - = DIGIT+ - ; - -DECIMAL_VALUE - = DIGIT+ EXPONENT - / DECIMAL_DIGITS EXPONENT? - ; - -DOUBLE_LITERAL - = DIGIT+ EXPONENT? 'D' - / DECIMAL_DIGITS EXPONENT? 'D' - ; - -BIGDECIMAL_LITERAL - = DIGIT+ EXPONENT? 'BD' - / DECIMAL_DIGITS EXPONENT? 'BD' - ; - -IDENTIFIER - = (LETTER / DIGIT / '_')+ - ; - -BACKQUOTED_IDENTIFIER - = '`' ([^`] / '``')* '`' - ; - -DECIMAL_DIGITS - = DIGIT+ '.' DIGIT* - / '.' DIGIT+ - ; - -EXPONENT - = 'E' [+-]? DIGIT+ - ; - -DIGIT - = [0-9] - ; - -LETTER - = [A-Z] - ; - -SIMPLE_COMMENT - = '--' ~[\r\n]* '\r'? '\n'? - ; - -BRACKETED_EMPTY_COMMENT - = '/**/' - ; - -BRACKETED_COMMENT - = '/*' ~[+] .*? '*/' - ; - -WS - = [ \r\n\t]+ - ; diff --git a/src/typing/base.d.ts b/src/typing/base.d.ts new file mode 100644 index 0000000..7cd3dcb --- /dev/null +++ b/src/typing/base.d.ts @@ -0,0 +1 @@ +declare type sql = string | string[] \ No newline at end of file diff --git a/src/utils/index.ts b/src/utils/index.ts index 4f1705c..865c635 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -20,7 +20,95 @@ function replaceStrFormIndexArr(str, replaceStr, indexArr) { return result; } - +function splitSql (sql: string) { + let haveEnd = true; + if (!sql.endsWith(';')) { + sql += ';'; + haveEnd = false; + } + interface splitParser { + index: number; + queue: string; + sqls: number[]; + } + // 处理引号 + function quoteToken (parser: splitParser, sql: string): string { + let queue = parser.queue; + let endsWith = queue[queue.length - 1]; + if (endsWith == '\'' || endsWith == '"') { + let nextToken = sql.indexOf(endsWith, parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken; + parser.queue = ''; + } else { + parser.index = sql.length - 1; + } + } else { + return null; + } + } + // 处理单行注释 + function singleLineCommentToken (parser: splitParser, sql: string): string { + let queue = parser.queue; + if (queue.endsWith('--')) { + let nextToken = sql.indexOf('\n', parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken; + queue = ''; + } else { + parser.index = sql.length - 1; + } + } else { + return null; + } + } + // 处理多行注释 + function multipleLineCommentToken (parser: splitParser, sql: string): string { + let queue = parser.queue; + if (queue.endsWith('/*')) { + let nextToken = sql.indexOf('*/', parser.index + 1); + if (nextToken != -1) { + parser.index = nextToken + 1; + parser.queue = ''; + } else { + parser.index = sql.length - 1; + parser.queue = ''; + } + } else { + return null; + } + } + function splitToken (parser: splitParser, sql: string): string { + let queue = parser.queue; + if (queue.endsWith(';')) { + if (!haveEnd && parser.index == sql.length - 1) { + parser.sqls.push(parser.index - 1); + queue = ''; + } else { + parser.sqls.push(parser.index); + queue = ''; + } + + } else { + return null; + } + } + let parser: splitParser = { + index: 0, + queue: '', + sqls: [] + }; + for (parser.index = 0; parser.index < sql.length; parser.index++) { + let char = sql[parser.index]; + parser.queue += char; + let tokenFuncs = [quoteToken, singleLineCommentToken, multipleLineCommentToken, splitToken]; + for (let i = 0; i < tokenFuncs.length; i++) { + tokenFuncs[i](parser, sql); + } + } + return parser.sqls; +} export { - replaceStrFormIndexArr + replaceStrFormIndexArr, + splitSql } \ No newline at end of file diff --git a/test/index.test.js b/test/index.test.ts similarity index 54% rename from test/index.test.js rename to test/index.test.ts index e361fdc..3bdd6b7 100644 --- a/test/index.test.js +++ b/test/index.test.ts @@ -1,19 +1,21 @@ -const dtSqlParser = require('../lib/index'); +import * as dtSqlParser from '../src'; +import { SyntaxResult } from '../src/core/sqlSyntaxParser'; const parser = dtSqlParser.parser; const filter = dtSqlParser.filter; +const flinksqlParser = dtSqlParser.flinksqlParser; describe('complete test', () => { describe('hive', () => { test('complete result', () => { const sql = 'select id,name from user '; - const result = parser.parserSql([sql, ''], 'hive'); + const result = parser.parserSql([sql, ''], dtSqlParser.parser.sqlType.Hive); expect(result.locations).toBeInstanceOf(Array); expect(result.suggestKeywords).toBeInstanceOf(Array); }); test('empty result', () => { const sql = 'i'; - const result = parser.parserSql([sql, ''], 'hive'); + const result = parser.parserSql([sql, ''], dtSqlParser.parser.sqlType.Hive); expect(result.locations).toBeInstanceOf(Array); expect(result.locations).toHaveLength(0); expect(result.suggestKeywords).toBeInstanceOf(Array); @@ -25,12 +27,12 @@ describe('syntax test', () => { describe('hive', () => { test('no error', () => { const sql = 'select id,name from user '; - const result = parser.parseSyntax([sql, ''], 'hive'); + const result = parser.parseSyntax([sql, ''], dtSqlParser.parser.sqlType.Hive); expect(result).toBe(false); }); test('select table should not be null', () => { const sql = 'select id,name from '; - const result = parser.parseSyntax([sql, ''], 'hive'); + const result = parser.parseSyntax([sql, ''], dtSqlParser.parser.sqlType.Hive) as SyntaxResult; expect(result.loc).toEqual({ first_line: 1, last_line: 1, @@ -44,7 +46,7 @@ describe('syntax test', () => { ,order_date bigint comment 'order date' )comment 'order table' PARTITIONED BY (ds string);`; - const result = parser.parseSyntax([sql, ''], 'hive'); + const result = parser.parseSyntax([sql, ''], dtSqlParser.parser.sqlType.Hive) as SyntaxResult; expect(result.text).toBe('1exists'); expect(result.loc).toEqual({ first_line: 1, @@ -54,4 +56,26 @@ describe('syntax test', () => { }) }); }) + describe('flinksql', () => { + test('no error', () => { + const sql = `select id from user.id;`; + const result = flinksqlParser(sql); + expect(result).toBeNull(); + }); + test('empty sql', () => { + const sql = ``; + const result = flinksqlParser(sql); + expect(result).toBeNull(); + }); + test('syntax error', () => { + const sql = 'select id from user.id; \nselect id from us*er.id; \nselect id from *user.id;'; + const result = flinksqlParser(sql); + expect(result).toMatchObject({ + line: 2, + column: 17, + }); + expect(result.token.start).toBe(42); + expect(result.token.stop).toBe(42); + }) + }) }) \ No newline at end of file diff --git a/test/t.js b/test/t.js index e69de29..bc8e3be 100644 --- a/test/t.js +++ b/test/t.js @@ -0,0 +1,37 @@ +const dtSqlParser = require('../lib/index'); +const flinkParser = require('../lib/lib/flinkParser').default; +const parser = dtSqlParser.parser; + +console.log(flinkParser(`select * from user + wh1ere a`)) +console.time('t') +const sql = `INSERT INTO TABLE STUDENT_SCORES VALUES +('1','111','68','69','90','CLASS1','DEPARTMENT1'), +('2','112','73','80','96','CLASS1','DEPARTMENT1'), +('3','113','90','74','75','CLASS1','DEPARTMENT1'), +('4','114','89','94','93','CLASS1','DEPARTMENT2'), +('5','115','99','93','89','CLASS1','DEPARTMENT1'), +('6','121','96','74','79','CLASS2','DEPARTMENT1'), +('7','122','89','86','85','CLASS2','DEPARTMENT1'), +('8','123','70','78','61','CLASS2','DEPARTMENT1'), +('9','124','76','70','76','CLASS2','DEPARTMENT1'), +('10','211','89','93','60','CLASS1','DEPARTMENT2'), +('11','212','76','83','75','CLASS1','DEPARTMENT2'), +('12','213','71','94','90','CLASS2','DEPARTMENT2'), +('13','214','94','94','66','CLASS1','DEPARTMENT2'), +('14','215','84','82','73','CLASS1','DEPARTMENT2'), +('15','216','85','74','93','CLASS1','DEPARTMENT2'), +('16','221','77','99','61','CLASS2','DEPARTMENT2'), +('17','222','80','78','96','CLASS2','DEPARTMENT2'), +('18','223','79','74','96','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('19','224','75','80','78','CLASS2','DEPARTMENT2'), +('20','225','82','85','63','CLASS2','DEPARTMENT2')`; +const result = parser.parserSql([sql, ''], 'hive'); +console.timeEnd('t') \ No newline at end of file diff --git a/test/utils/index.test.ts b/test/utils/index.test.ts new file mode 100644 index 0000000..83fd77f --- /dev/null +++ b/test/utils/index.test.ts @@ -0,0 +1,20 @@ +import * as utils from '../../src/utils'; +describe('utils', () => { + describe('split sql', () => { + test('single', () => { + let sql = 'select id,name from user'; + let result = utils.splitSql(sql); + expect(result).toEqual([sql.length - 1]) + sql += ';'; + result = utils.splitSql(sql); + expect(result).toEqual([sql.length - 1]) + }); + test('multiple', () => { + const sql = `-- a ; + select * from a; + select user from b`; + const result = utils.splitSql(sql); + expect(result).toEqual([34, 65]) + }); + }) +}) \ No newline at end of file