# Generated from fugue_sql/_antlr/fugue_sql.g4 by ANTLR 4.8
# encoding: utf-8
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
	from typing import TextIO
else:
	from typing.io import TextIO


def serializedATN():
    with StringIO() as buf:
        buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\u014b")
        buf.write("\u0e3d\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7")
        buf.write("\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r\4\16")
        buf.write("\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23\t\23")
        buf.write("\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31")
        buf.write("\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36")
        buf.write("\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t")
        buf.write("&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.\t.\4")
        buf.write("/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64\t\64")
        buf.write("\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:\4;\t")
        buf.write(";\4<\t<\4=\t=\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\tC\4D\t")
        buf.write("D\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\tJ\4K\tK\4L\tL\4M\t")
        buf.write("M\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT\4U\tU\4V\t")
        buf.write("V\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4")
        buf.write("_\t_\4`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4g\tg\4")
        buf.write("h\th\4i\ti\4j\tj\4k\tk\4l\tl\4m\tm\4n\tn\4o\to\4p\tp\4")
        buf.write("q\tq\4r\tr\4s\ts\4t\tt\4u\tu\4v\tv\4w\tw\4x\tx\4y\ty\4")
        buf.write("z\tz\4{\t{\4|\t|\4}\t}\4~\t~\4\177\t\177\4\u0080\t\u0080")
        buf.write("\4\u0081\t\u0081\4\u0082\t\u0082\4\u0083\t\u0083\4\u0084")
        buf.write("\t\u0084\4\u0085\t\u0085\4\u0086\t\u0086\4\u0087\t\u0087")
        buf.write("\4\u0088\t\u0088\4\u0089\t\u0089\4\u008a\t\u008a\4\u008b")
        buf.write("\t\u008b\4\u008c\t\u008c\4\u008d\t\u008d\4\u008e\t\u008e")
        buf.write("\4\u008f\t\u008f\4\u0090\t\u0090\4\u0091\t\u0091\4\u0092")
        buf.write("\t\u0092\4\u0093\t\u0093\4\u0094\t\u0094\4\u0095\t\u0095")
        buf.write("\4\u0096\t\u0096\4\u0097\t\u0097\4\u0098\t\u0098\4\u0099")
        buf.write("\t\u0099\4\u009a\t\u009a\4\u009b\t\u009b\4\u009c\t\u009c")
        buf.write("\4\u009d\t\u009d\4\u009e\t\u009e\4\u009f\t\u009f\4\u00a0")
        buf.write("\t\u00a0\4\u00a1\t\u00a1\4\u00a2\t\u00a2\4\u00a3\t\u00a3")
        buf.write("\4\u00a4\t\u00a4\4\u00a5\t\u00a5\4\u00a6\t\u00a6\4\u00a7")
        buf.write("\t\u00a7\4\u00a8\t\u00a8\4\u00a9\t\u00a9\4\u00aa\t\u00aa")
        buf.write("\4\u00ab\t\u00ab\4\u00ac\t\u00ac\4\u00ad\t\u00ad\4\u00ae")
        buf.write("\t\u00ae\4\u00af\t\u00af\4\u00b0\t\u00b0\4\u00b1\t\u00b1")
        buf.write("\4\u00b2\t\u00b2\4\u00b3\t\u00b3\4\u00b4\t\u00b4\4\u00b5")
        buf.write("\t\u00b5\4\u00b6\t\u00b6\4\u00b7\t\u00b7\4\u00b8\t\u00b8")
        buf.write("\4\u00b9\t\u00b9\4\u00ba\t\u00ba\4\u00bb\t\u00bb\4\u00bc")
        buf.write("\t\u00bc\4\u00bd\t\u00bd\4\u00be\t\u00be\4\u00bf\t\u00bf")
        buf.write("\4\u00c0\t\u00c0\4\u00c1\t\u00c1\4\u00c2\t\u00c2\4\u00c3")
        buf.write("\t\u00c3\4\u00c4\t\u00c4\4\u00c5\t\u00c5\4\u00c6\t\u00c6")
        buf.write("\4\u00c7\t\u00c7\4\u00c8\t\u00c8\4\u00c9\t\u00c9\3\2\6")
        buf.write("\2\u0194\n\2\r\2\16\2\u0195\3\2\3\2\3\3\3\3\3\3\3\4\3")
        buf.write("\4\3\4\3\4\5\4\u01a1\n\4\3\5\5\5\u01a4\n\5\3\5\3\5\5\5")
        buf.write("\u01a8\n\5\3\5\5\5\u01ab\n\5\3\6\3\6\3\6\3\6\3\6\3\6\3")
        buf.write("\6\3\6\3\6\5\6\u01b6\n\6\3\7\3\7\5\7\u01ba\n\7\3\7\5\7")
        buf.write("\u01bd\n\7\3\7\3\7\3\b\3\b\5\b\u01c3\n\b\3\b\5\b\u01c6")
        buf.write("\n\b\3\b\3\b\3\t\3\t\3\t\3\t\5\t\u01ce\n\t\3\t\5\t\u01d1")
        buf.write("\n\t\3\t\3\t\5\t\u01d5\n\t\3\t\5\t\u01d8\n\t\3\t\3\t\5")
        buf.write("\t\u01dc\n\t\3\n\3\n\3\n\3\n\3\n\5\n\u01e3\n\n\3\n\3\n")
        buf.write("\5\n\u01e7\n\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\5\13")
        buf.write("\u01f0\n\13\3\13\3\13\5\13\u01f4\n\13\3\f\3\f\3\f\5\f")
        buf.write("\u01f9\n\f\3\f\3\f\5\f\u01fd\n\f\3\f\3\f\5\f\u0201\n\f")
        buf.write("\3\r\3\r\3\r\3\16\3\16\5\16\u0208\n\16\3\16\3\16\3\16")
        buf.write("\3\16\3\17\3\17\5\17\u0210\n\17\3\17\3\17\5\17\u0214\n")
        buf.write("\17\3\17\3\17\5\17\u0218\n\17\3\20\3\20\5\20\u021c\n\20")
        buf.write("\3\20\5\20\u021f\n\20\3\20\3\20\3\20\5\20\u0224\n\20\3")
        buf.write("\21\3\21\5\21\u0228\n\21\3\21\3\21\5\21\u022c\n\21\3\21")
        buf.write("\5\21\u022f\n\21\3\21\3\21\5\21\u0233\n\21\3\22\3\22\5")
        buf.write("\22\u0237\n\22\3\22\5\22\u023a\n\22\3\22\3\22\5\22\u023e")
        buf.write("\n\22\3\22\5\22\u0241\n\22\3\22\3\22\5\22\u0245\n\22\3")
        buf.write("\23\3\23\3\24\3\24\5\24\u024b\n\24\3\25\3\25\3\26\3\26")
        buf.write("\3\27\3\27\3\30\5\30\u0254\n\30\3\30\3\30\3\30\5\30\u0259")
        buf.write("\n\30\3\30\5\30\u025c\n\30\3\30\5\30\u025f\n\30\3\30\5")
        buf.write("\30\u0262\n\30\3\30\3\30\5\30\u0266\n\30\3\30\5\30\u0269")
        buf.write("\n\30\3\30\5\30\u026c\n\30\3\30\5\30\u026f\n\30\3\30\3")
        buf.write("\30\3\30\5\30\u0274\n\30\3\30\5\30\u0277\n\30\3\30\5\30")
        buf.write("\u027a\n\30\3\30\5\30\u027d\n\30\5\30\u027f\n\30\3\31")
        buf.write("\3\31\3\32\3\32\3\33\3\33\3\33\7\33\u0288\n\33\f\33\16")
        buf.write("\33\u028b\13\33\3\33\3\33\3\33\7\33\u0290\n\33\f\33\16")
        buf.write("\33\u0293\13\33\5\33\u0295\n\33\3\34\3\34\3\34\3\34\3")
        buf.write("\35\3\35\3\35\3\35\3\35\5\35\u02a0\n\35\3\36\3\36\3\36")
        buf.write("\3\37\3\37\3\37\5\37\u02a8\n\37\3 \3 \3 \5 \u02ad\n \3")
        buf.write(" \3 \5 \u02b1\n \3!\3!\3!\5!\u02b6\n!\3!\3!\5!\u02ba\n")
        buf.write("!\3\"\3\"\3\"\7\"\u02bf\n\"\f\"\16\"\u02c2\13\"\3#\3#")
        buf.write("\3#\3#\3#\3#\3#\3#\5#\u02cc\n#\3$\5$\u02cf\n$\3$\3$\3")
        buf.write("$\3$\5$\u02d5\n$\3$\3$\5$\u02d9\n$\3$\5$\u02dc\n$\3$\3")
        buf.write("$\3$\3$\3$\5$\u02e3\n$\5$\u02e5\n$\3%\3%\3&\3&\3&\3&\3")
        buf.write("&\3&\5&\u02ef\n&\3&\3&\3&\7&\u02f4\n&\f&\16&\u02f7\13")
        buf.write("&\3\'\5\'\u02fa\n\'\3\'\3\'\5\'\u02fe\n\'\3\'\3\'\3\'")
        buf.write("\5\'\u0303\n\'\3(\3(\3(\5(\u0308\n(\3(\5(\u030b\n(\3)")
        buf.write("\3)\3)\7)\u0310\n)\f)\16)\u0313\13)\3*\3*\3*\7*\u0318")
        buf.write("\n*\f*\16*\u031b\13*\3+\3+\5+\u031f\n+\3,\3,\3-\3-\3-")
        buf.write("\7-\u0326\n-\f-\16-\u0329\13-\3.\3.\5.\u032d\n.\3/\3/")
        buf.write("\3/\7/\u0332\n/\f/\16/\u0335\13/\3\60\3\60\3\60\3\60\3")
        buf.write("\61\3\61\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62")
        buf.write("\5\62\u0346\n\62\3\63\3\63\3\64\3\64\3\64\5\64\u034d\n")
        buf.write("\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\5\64\u0356\n\64")
        buf.write("\3\64\3\64\3\64\3\64\5\64\u035c\n\64\3\65\3\65\3\65\7")
        buf.write("\65\u0361\n\65\f\65\16\65\u0364\13\65\3\66\3\66\3\66\3")
        buf.write("\66\3\67\3\67\5\67\u036c\n\67\38\38\38\38\78\u0372\n8")
        buf.write("\f8\168\u0375\138\38\58\u0378\n8\38\38\38\38\58\u037e")
        buf.write("\n8\39\39\39\39\39\39\59\u0386\n9\3:\3:\3;\3;\3<\3<\3")
        buf.write("=\3=\3>\3>\3?\3?\7?\u0394\n?\f?\16?\u0397\13?\3?\3?\3")
        buf.write("@\3@\3@\3A\3A\3A\3B\3B\3B\3C\3C\3C\3D\3D\3D\3E\3E\3E\3")
        buf.write("F\3F\5F\u03af\nF\3F\3F\3F\5F\u03b4\nF\3F\3F\3F\3F\3F\3")
        buf.write("F\5F\u03bc\nF\3F\3F\3F\3F\3F\3F\7F\u03c4\nF\fF\16F\u03c7")
        buf.write("\13F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\5F\u03da\nF\3F\3F\5F\u03de\nF\3F\3F\3F\3F\5F\u03e4\n")
        buf.write("F\3F\5F\u03e7\nF\3F\5F\u03ea\nF\3F\3F\3F\3F\3F\5F\u03f1")
        buf.write("\nF\3F\3F\3F\5F\u03f6\nF\3F\5F\u03f9\nF\3F\3F\3F\3F\3")
        buf.write("F\5F\u0400\nF\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\5F\u040c\n")
        buf.write("F\3F\3F\3F\3F\3F\3F\3F\7F\u0415\nF\fF\16F\u0418\13F\3")
        buf.write("F\5F\u041b\nF\3F\5F\u041e\nF\3F\3F\3F\3F\3F\5F\u0425\n")
        buf.write("F\3F\3F\3F\3F\3F\3F\3F\3F\3F\7F\u0430\nF\fF\16F\u0433")
        buf.write("\13F\3F\3F\3F\3F\3F\5F\u043a\nF\3F\3F\3F\5F\u043f\nF\3")
        buf.write("F\5F\u0442\nF\3F\3F\3F\3F\5F\u0448\nF\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\5F\u0453\nF\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\5F\u0493")
        buf.write("\nF\3F\3F\3F\3F\3F\3F\3F\5F\u049c\nF\3F\3F\5F\u04a0\n")
        buf.write("F\3F\3F\3F\3F\5F\u04a6\nF\3F\3F\5F\u04aa\nF\3F\3F\3F\5")
        buf.write("F\u04af\nF\3F\3F\3F\3F\5F\u04b5\nF\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\5F\u04c1\nF\3F\3F\3F\3F\3F\3F\5F\u04c9\nF\3")
        buf.write("F\3F\3F\3F\5F\u04cf\nF\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\5F\u04dc\nF\3F\6F\u04df\nF\rF\16F\u04e0\3F\3F\3F\3F")
        buf.write("\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\5F\u04f1\nF\3F\3F\3F\7")
        buf.write("F\u04f6\nF\fF\16F\u04f9\13F\3F\5F\u04fc\nF\3F\3F\3F\3")
        buf.write("F\5F\u0502\nF\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\5")
        buf.write("F\u0511\nF\3F\3F\5F\u0515\nF\3F\3F\3F\3F\5F\u051b\nF\3")
        buf.write("F\3F\3F\3F\5F\u0521\nF\3F\5F\u0524\nF\3F\5F\u0527\nF\3")
        buf.write("F\3F\3F\3F\5F\u052d\nF\3F\3F\5F\u0531\nF\3F\3F\3F\3F\3")
        buf.write("F\3F\7F\u0539\nF\fF\16F\u053c\13F\3F\3F\3F\3F\3F\3F\5")
        buf.write("F\u0544\nF\3F\5F\u0547\nF\3F\3F\3F\3F\3F\3F\3F\5F\u0550")
        buf.write("\nF\3F\3F\3F\5F\u0555\nF\3F\3F\3F\3F\5F\u055b\nF\3F\3")
        buf.write("F\3F\3F\3F\5F\u0562\nF\3F\5F\u0565\nF\3F\3F\3F\3F\5F\u056b")
        buf.write("\nF\3F\3F\3F\3F\3F\3F\3F\7F\u0574\nF\fF\16F\u0577\13F")
        buf.write("\5F\u0579\nF\3F\3F\5F\u057d\nF\3F\3F\3F\5F\u0582\nF\3")
        buf.write("F\3F\3F\5F\u0587\nF\3F\3F\3F\3F\3F\5F\u058e\nF\3F\5F\u0591")
        buf.write("\nF\3F\5F\u0594\nF\3F\3F\3F\3F\3F\5F\u059b\nF\3F\3F\3")
        buf.write("F\5F\u05a0\nF\3F\3F\3F\3F\3F\3F\3F\5F\u05a9\nF\3F\3F\3")
        buf.write("F\3F\3F\3F\5F\u05b1\nF\3F\3F\3F\3F\5F\u05b7\nF\3F\5F\u05ba")
        buf.write("\nF\3F\5F\u05bd\nF\3F\3F\3F\3F\5F\u05c3\nF\3F\3F\5F\u05c7")
        buf.write("\nF\3F\3F\5F\u05cb\nF\3F\3F\5F\u05cf\nF\5F\u05d1\nF\3")
        buf.write("F\3F\3F\3F\3F\3F\5F\u05d9\nF\3F\3F\3F\3F\3F\3F\5F\u05e1")
        buf.write("\nF\3F\3F\3F\3F\5F\u05e7\nF\3F\3F\3F\3F\5F\u05ed\nF\3")
        buf.write("F\5F\u05f0\nF\3F\3F\5F\u05f4\nF\3F\5F\u05f7\nF\3F\3F\5")
        buf.write("F\u05fb\nF\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\3F\3F\3F\3F\3F\7F\u0612\nF\fF\16F\u0615\13F\5F\u0617")
        buf.write("\nF\3F\3F\5F\u061b\nF\3F\3F\3F\3F\5F\u0621\nF\3F\5F\u0624")
        buf.write("\nF\3F\5F\u0627\nF\3F\3F\3F\3F\5F\u062d\nF\3F\3F\3F\3")
        buf.write("F\3F\3F\5F\u0635\nF\3F\3F\3F\5F\u063a\nF\3F\3F\3F\3F\5")
        buf.write("F\u0640\nF\3F\3F\3F\3F\5F\u0646\nF\3F\3F\3F\3F\3F\3F\3")
        buf.write("F\3F\7F\u0650\nF\fF\16F\u0653\13F\5F\u0655\nF\3F\3F\3")
        buf.write("F\7F\u065a\nF\fF\16F\u065d\13F\3F\3F\7F\u0661\nF\fF\16")
        buf.write("F\u0664\13F\3F\3F\3F\7F\u0669\nF\fF\16F\u066c\13F\5F\u066e")
        buf.write("\nF\3G\3G\3G\3G\3G\3G\5G\u0676\nG\3G\3G\5G\u067a\nG\3")
        buf.write("G\3G\3G\3G\3G\5G\u0681\nG\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\3G\5G\u06f5\n")
        buf.write("G\3G\3G\3G\3G\3G\3G\5G\u06fd\nG\3G\3G\3G\3G\3G\3G\5G\u0705")
        buf.write("\nG\3G\3G\3G\3G\3G\3G\3G\5G\u070e\nG\3G\3G\3G\3G\3G\3")
        buf.write("G\3G\3G\5G\u0718\nG\3H\3H\5H\u071c\nH\3H\5H\u071f\nH\3")
        buf.write("H\3H\3H\3H\5H\u0725\nH\3H\3H\3I\3I\5I\u072b\nI\3I\3I\3")
        buf.write("I\3I\3J\3J\3J\3J\3J\3J\5J\u0737\nJ\3J\3J\3J\3J\3K\3K\3")
        buf.write("K\3K\3K\3K\5K\u0743\nK\3K\3K\3K\5K\u0748\nK\3L\3L\3L\3")
        buf.write("M\3M\3M\3N\5N\u0751\nN\3N\3N\3N\3O\3O\3O\5O\u0759\nO\3")
        buf.write("O\3O\3O\3O\3O\5O\u0760\nO\5O\u0762\nO\3O\3O\3O\5O\u0767")
        buf.write("\nO\3O\3O\5O\u076b\nO\3O\3O\3O\5O\u0770\nO\3O\3O\3O\5")
        buf.write("O\u0775\nO\3O\3O\3O\5O\u077a\nO\3O\5O\u077d\nO\3O\3O\3")
        buf.write("O\5O\u0782\nO\3O\3O\5O\u0786\nO\3O\3O\3O\5O\u078b\nO\5")
        buf.write("O\u078d\nO\3P\3P\5P\u0791\nP\3Q\3Q\3Q\3Q\3Q\7Q\u0798\n")
        buf.write("Q\fQ\16Q\u079b\13Q\3Q\3Q\3R\3R\3R\5R\u07a2\nR\3S\3S\3")
        buf.write("T\3T\3T\3T\3T\5T\u07ab\nT\3U\3U\3U\7U\u07b0\nU\fU\16U")
        buf.write("\u07b3\13U\3V\3V\3V\3V\7V\u07b9\nV\fV\16V\u07bc\13V\3")
        buf.write("W\3W\5W\u07c0\nW\3W\5W\u07c3\nW\3W\3W\3W\3W\3X\3X\3X\3")
        buf.write("Y\3Y\3Y\3Y\3Y\3Y\3Y\3Y\3Y\3Y\7Y\u07d6\nY\fY\16Y\u07d9")
        buf.write("\13Y\3Z\3Z\3Z\3Z\7Z\u07df\nZ\fZ\16Z\u07e2\13Z\3Z\3Z\3")
        buf.write("[\3[\5[\u07e8\n[\3[\5[\u07eb\n[\3\\\3\\\3\\\7\\\u07f0")
        buf.write("\n\\\f\\\16\\\u07f3\13\\\3\\\5\\\u07f6\n\\\3]\3]\3]\3")
        buf.write("]\5]\u07fc\n]\3^\3^\3^\3^\7^\u0802\n^\f^\16^\u0805\13")
        buf.write("^\3^\3^\3_\3_\3_\3_\7_\u080d\n_\f_\16_\u0810\13_\3_\3")
        buf.write("_\3`\3`\3`\3`\3`\3`\5`\u081a\n`\3a\3a\3a\3a\3a\5a\u0821")
        buf.write("\na\3b\3b\3b\3b\5b\u0827\nb\3c\3c\3c\3d\3d\3d\3d\3d\3")
        buf.write("d\6d\u0832\nd\rd\16d\u0833\3d\3d\3d\3d\3d\5d\u083b\nd")
        buf.write("\3d\3d\3d\3d\3d\5d\u0842\nd\3d\3d\3d\3d\3d\3d\3d\3d\3")
        buf.write("d\3d\5d\u084e\nd\3d\3d\3d\3d\7d\u0854\nd\fd\16d\u0857")
        buf.write("\13d\3d\7d\u085a\nd\fd\16d\u085d\13d\5d\u085f\nd\3e\3")
        buf.write("e\3e\3e\3e\7e\u0866\ne\fe\16e\u0869\13e\5e\u086b\ne\3")
        buf.write("e\3e\3e\3e\3e\7e\u0872\ne\fe\16e\u0875\13e\5e\u0877\n")
        buf.write("e\3e\3e\3e\3e\3e\7e\u087e\ne\fe\16e\u0881\13e\5e\u0883")
        buf.write("\ne\3e\3e\3e\3e\3e\7e\u088a\ne\fe\16e\u088d\13e\5e\u088f")
        buf.write("\ne\3e\5e\u0892\ne\3e\3e\3e\5e\u0897\ne\5e\u0899\ne\3")
        buf.write("f\3f\3f\3g\3g\3g\5g\u08a1\ng\3g\3g\3g\3g\5g\u08a7\ng\3")
        buf.write("g\3g\3g\3g\3g\5g\u08ae\ng\3g\3g\3g\3g\3g\5g\u08b5\ng\3")
        buf.write("g\7g\u08b8\ng\fg\16g\u08bb\13g\3h\3h\3h\3h\3h\5h\u08c2")
        buf.write("\nh\3i\3i\5i\u08c6\ni\3i\3i\5i\u08ca\ni\3j\3j\6j\u08ce")
        buf.write("\nj\rj\16j\u08cf\3k\3k\5k\u08d4\nk\3k\3k\3k\3k\7k\u08da")
        buf.write("\nk\fk\16k\u08dd\13k\3k\5k\u08e0\nk\3k\5k\u08e3\nk\3k")
        buf.write("\5k\u08e6\nk\3k\5k\u08e9\nk\3k\3k\5k\u08ed\nk\3l\3l\3")
        buf.write("l\5l\u08f2\nl\3l\3l\3l\7l\u08f7\nl\fl\16l\u08fa\13l\3")
        buf.write("l\5l\u08fd\nl\3l\5l\u0900\nl\3l\5l\u0903\nl\3l\5l\u0906")
        buf.write("\nl\5l\u0908\nl\3m\5m\u090b\nm\3n\3n\3n\3n\3n\3n\3n\3")
        buf.write("n\3n\3n\5n\u0917\nn\3n\5n\u091a\nn\3n\3n\5n\u091e\nn\3")
        buf.write("n\3n\3n\3n\3n\3n\3n\3n\5n\u0928\nn\3n\3n\5n\u092c\nn\5")
        buf.write("n\u092e\nn\3n\5n\u0931\nn\3n\3n\5n\u0935\nn\3o\3o\7o\u0939")
        buf.write("\no\fo\16o\u093c\13o\3o\5o\u093f\no\3o\3o\3p\3p\3p\3q")
        buf.write("\3q\3q\3q\5q\u094a\nq\3q\3q\3q\3r\3r\3r\3r\3r\5r\u0954")
        buf.write("\nr\3r\3r\3r\3s\3s\3s\3s\3s\3s\3s\5s\u0960\ns\3t\3t\3")
        buf.write("t\3t\3t\3t\3t\3t\3t\3t\3t\7t\u096d\nt\ft\16t\u0970\13")
        buf.write("t\3t\3t\5t\u0974\nt\3u\3u\3u\7u\u0979\nu\fu\16u\u097c")
        buf.write("\13u\3v\3v\3v\3v\3w\3w\3w\3x\3x\3x\3y\3y\3y\5y\u098b\n")
        buf.write("y\3y\7y\u098e\ny\fy\16y\u0991\13y\3y\3y\3z\3z\3z\3z\3")
        buf.write("z\3z\7z\u099b\nz\fz\16z\u099e\13z\3z\3z\5z\u09a2\nz\3")
        buf.write("{\3{\3{\3{\7{\u09a8\n{\f{\16{\u09ab\13{\3{\7{\u09ae\n")
        buf.write("{\f{\16{\u09b1\13{\3{\5{\u09b4\n{\3|\3|\3|\3|\3|\7|\u09bb")
        buf.write("\n|\f|\16|\u09be\13|\3|\3|\3|\3|\3|\3|\3|\3|\3|\3|\7|")
        buf.write("\u09ca\n|\f|\16|\u09cd\13|\3|\3|\5|\u09d1\n|\3|\3|\3|")
        buf.write("\3|\3|\3|\3|\3|\7|\u09db\n|\f|\16|\u09de\13|\3|\3|\5|")
        buf.write("\u09e2\n|\3}\3}\3}\3}\7}\u09e8\n}\f}\16}\u09eb\13}\5}")
        buf.write("\u09ed\n}\3}\3}\5}\u09f1\n}\3~\3~\3~\3~\3~\3~\3~\3~\3")
        buf.write("~\3~\7~\u09fd\n~\f~\16~\u0a00\13~\3~\3~\3~\3\177\3\177")
        buf.write("\3\177\3\177\3\177\7\177\u0a0a\n\177\f\177\16\177\u0a0d")
        buf.write("\13\177\3\177\3\177\5\177\u0a11\n\177\3\u0080\3\u0080")
        buf.write("\5\u0080\u0a15\n\u0080\3\u0080\5\u0080\u0a18\n\u0080\3")
        buf.write("\u0081\3\u0081\3\u0081\5\u0081\u0a1d\n\u0081\3\u0081\3")
        buf.write("\u0081\3\u0081\3\u0081\3\u0081\7\u0081\u0a24\n\u0081\f")
        buf.write("\u0081\16\u0081\u0a27\13\u0081\5\u0081\u0a29\n\u0081\3")
        buf.write("\u0081\3\u0081\3\u0081\5\u0081\u0a2e\n\u0081\3\u0081\3")
        buf.write("\u0081\3\u0081\7\u0081\u0a33\n\u0081\f\u0081\16\u0081")
        buf.write("\u0a36\13\u0081\5\u0081\u0a38\n\u0081\3\u0082\3\u0082")
        buf.write("\3\u0083\3\u0083\7\u0083\u0a3e\n\u0083\f\u0083\16\u0083")
        buf.write("\u0a41\13\u0083\3\u0084\3\u0084\3\u0084\3\u0084\5\u0084")
        buf.write("\u0a47\n\u0084\3\u0084\3\u0084\3\u0084\3\u0084\3\u0084")
        buf.write("\5\u0084\u0a4e\n\u0084\3\u0085\5\u0085\u0a51\n\u0085\3")
        buf.write("\u0085\3\u0085\3\u0085\5\u0085\u0a56\n\u0085\3\u0085\5")
        buf.write("\u0085\u0a59\n\u0085\3\u0085\3\u0085\3\u0085\5\u0085\u0a5e")
        buf.write("\n\u0085\3\u0085\3\u0085\5\u0085\u0a62\n\u0085\3\u0085")
        buf.write("\5\u0085\u0a65\n\u0085\3\u0085\5\u0085\u0a68\n\u0085\3")
        buf.write("\u0086\3\u0086\3\u0086\3\u0086\5\u0086\u0a6e\n\u0086\3")
        buf.write("\u0087\3\u0087\3\u0087\5\u0087\u0a73\n\u0087\3\u0087\3")
        buf.write("\u0087\3\u0088\5\u0088\u0a78\n\u0088\3\u0088\3\u0088\3")
        buf.write("\u0088\3\u0088\3\u0088\3\u0088\3\u0088\3\u0088\3\u0088")
        buf.write("\3\u0088\3\u0088\3\u0088\3\u0088\3\u0088\3\u0088\3\u0088")
        buf.write("\5\u0088\u0a8a\n\u0088\5\u0088\u0a8c\n\u0088\3\u0088\5")
        buf.write("\u0088\u0a8f\n\u0088\3\u0089\3\u0089\3\u0089\3\u0089\3")
        buf.write("\u008a\3\u008a\3\u008a\7\u008a\u0a98\n\u008a\f\u008a\16")
        buf.write("\u008a\u0a9b\13\u008a\3\u008b\3\u008b\3\u008b\3\u008b")
        buf.write("\7\u008b\u0aa1\n\u008b\f\u008b\16\u008b\u0aa4\13\u008b")
        buf.write("\3\u008b\3\u008b\3\u008c\3\u008c\5\u008c\u0aaa\n\u008c")
        buf.write("\3\u008d\3\u008d\3\u008d\3\u008d\7\u008d\u0ab0\n\u008d")
        buf.write("\f\u008d\16\u008d\u0ab3\13\u008d\3\u008d\3\u008d\3\u008e")
        buf.write("\3\u008e\5\u008e\u0ab9\n\u008e\3\u008f\3\u008f\5\u008f")
        buf.write("\u0abd\n\u008f\3\u008f\3\u008f\3\u008f\3\u008f\3\u008f")
        buf.write("\3\u008f\5\u008f\u0ac5\n\u008f\3\u008f\3\u008f\3\u008f")
        buf.write("\3\u008f\3\u008f\3\u008f\5\u008f\u0acd\n\u008f\3\u008f")
        buf.write("\3\u008f\3\u008f\3\u008f\5\u008f\u0ad3\n\u008f\3\u0090")
        buf.write("\3\u0090\3\u0090\3\u0090\7\u0090\u0ad9\n\u0090\f\u0090")
        buf.write("\16\u0090\u0adc\13\u0090\3\u0090\3\u0090\3\u0091\3\u0091")
        buf.write("\3\u0091\3\u0091\3\u0091\7\u0091\u0ae5\n\u0091\f\u0091")
        buf.write("\16\u0091\u0ae8\13\u0091\5\u0091\u0aea\n\u0091\3\u0091")
        buf.write("\3\u0091\3\u0091\3\u0092\5\u0092\u0af0\n\u0092\3\u0092")
        buf.write("\3\u0092\5\u0092\u0af4\n\u0092\5\u0092\u0af6\n\u0092\3")
        buf.write("\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093")
        buf.write("\5\u0093\u0aff\n\u0093\3\u0093\3\u0093\3\u0093\3\u0093")
        buf.write("\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\3\u0093\5\u0093")
        buf.write("\u0b0b\n\u0093\5\u0093\u0b0d\n\u0093\3\u0093\3\u0093\3")
        buf.write("\u0093\3\u0093\3\u0093\5\u0093\u0b14\n\u0093\3\u0093\3")
        buf.write("\u0093\3\u0093\3\u0093\3\u0093\5\u0093\u0b1b\n\u0093\3")
        buf.write("\u0093\3\u0093\3\u0093\3\u0093\5\u0093\u0b21\n\u0093\3")
        buf.write("\u0093\3\u0093\3\u0093\3\u0093\5\u0093\u0b27\n\u0093\5")
        buf.write("\u0093\u0b29\n\u0093\3\u0094\3\u0094\3\u0094\7\u0094\u0b2e")
        buf.write("\n\u0094\f\u0094\16\u0094\u0b31\13\u0094\3\u0095\3\u0095")
        buf.write("\3\u0095\7\u0095\u0b36\n\u0095\f\u0095\16\u0095\u0b39")
        buf.write("\13\u0095\3\u0096\3\u0096\3\u0096\5\u0096\u0b3e\n\u0096")
        buf.write("\3\u0096\3\u0096\3\u0097\3\u0097\3\u0097\5\u0097\u0b45")
        buf.write("\n\u0097\3\u0097\3\u0097\3\u0098\3\u0098\5\u0098\u0b4b")
        buf.write("\n\u0098\3\u0098\3\u0098\5\u0098\u0b4f\n\u0098\5\u0098")
        buf.write("\u0b51\n\u0098\3\u0099\3\u0099\3\u0099\7\u0099\u0b56\n")
        buf.write("\u0099\f\u0099\16\u0099\u0b59\13\u0099\3\u009a\3\u009a")
        buf.write("\3\u009a\3\u009a\7\u009a\u0b5f\n\u009a\f\u009a\16\u009a")
        buf.write("\u0b62\13\u009a\3\u009a\3\u009a\3\u009b\3\u009b\3\u009b")
        buf.write("\3\u009b\3\u009b\3\u009b\7\u009b\u0b6c\n\u009b\f\u009b")
        buf.write("\16\u009b\u0b6f\13\u009b\3\u009b\3\u009b\5\u009b\u0b73")
        buf.write("\n\u009b\3\u009c\3\u009c\5\u009c\u0b77\n\u009c\3\u009d")
        buf.write("\3\u009d\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e")
        buf.write("\3\u009e\3\u009e\3\u009e\3\u009e\5\u009e\u0b85\n\u009e")
        buf.write("\5\u009e\u0b87\n\u009e\3\u009e\3\u009e\3\u009e\3\u009e")
        buf.write("\3\u009e\3\u009e\7\u009e\u0b8f\n\u009e\f\u009e\16\u009e")
        buf.write("\u0b92\13\u009e\3\u009f\5\u009f\u0b95\n\u009f\3\u009f")
        buf.write("\3\u009f\3\u009f\3\u009f\3\u009f\3\u009f\5\u009f\u0b9d")
        buf.write("\n\u009f\3\u009f\3\u009f\3\u009f\3\u009f\3\u009f\7\u009f")
        buf.write("\u0ba4\n\u009f\f\u009f\16\u009f\u0ba7\13\u009f\3\u009f")
        buf.write("\3\u009f\3\u009f\5\u009f\u0bac\n\u009f\3\u009f\3\u009f")
        buf.write("\3\u009f\3\u009f\3\u009f\3\u009f\5\u009f\u0bb4\n\u009f")
        buf.write("\3\u009f\3\u009f\3\u009f\5\u009f\u0bb9\n\u009f\3\u009f")
        buf.write("\3\u009f\3\u009f\3\u009f\3\u009f\3\u009f\3\u009f\3\u009f")
        buf.write("\7\u009f\u0bc3\n\u009f\f\u009f\16\u009f\u0bc6\13\u009f")
        buf.write("\3\u009f\3\u009f\5\u009f\u0bca\n\u009f\3\u009f\5\u009f")
        buf.write("\u0bcd\n\u009f\3\u009f\3\u009f\3\u009f\3\u009f\5\u009f")
        buf.write("\u0bd3\n\u009f\3\u009f\3\u009f\5\u009f\u0bd7\n\u009f\3")
        buf.write("\u009f\3\u009f\3\u009f\5\u009f\u0bdc\n\u009f\3\u009f\3")
        buf.write("\u009f\3\u009f\5\u009f\u0be1\n\u009f\3\u009f\3\u009f\3")
        buf.write("\u009f\5\u009f\u0be6\n\u009f\3\u00a0\3\u00a0\3\u00a0\3")
        buf.write("\u00a0\5\u00a0\u0bec\n\u00a0\3\u00a0\3\u00a0\3\u00a0\3")
        buf.write("\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0")
        buf.write("\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0\3\u00a0")
        buf.write("\3\u00a0\3\u00a0\7\u00a0\u0c01\n\u00a0\f\u00a0\16\u00a0")
        buf.write("\u0c04\13\u00a0\3\u00a1\3\u00a1\3\u00a1\3\u00a1\6\u00a1")
        buf.write("\u0c0a\n\u00a1\r\u00a1\16\u00a1\u0c0b\3\u00a1\3\u00a1")
        buf.write("\5\u00a1\u0c10\n\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\6\u00a1\u0c17\n\u00a1\r\u00a1\16\u00a1\u0c18")
        buf.write("\3\u00a1\3\u00a1\5\u00a1\u0c1d\n\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\7\u00a1\u0c2d")
        buf.write("\n\u00a1\f\u00a1\16\u00a1\u0c30\13\u00a1\5\u00a1\u0c32")
        buf.write("\n\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\5\u00a1\u0c3a\n\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u0c43\n\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\6\u00a1\u0c58\n\u00a1")
        buf.write("\r\u00a1\16\u00a1\u0c59\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u0c65")
        buf.write("\n\u00a1\3\u00a1\3\u00a1\3\u00a1\7\u00a1\u0c6a\n\u00a1")
        buf.write("\f\u00a1\16\u00a1\u0c6d\13\u00a1\5\u00a1\u0c6f\n\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\5\u00a1\u0c78\n\u00a1\3\u00a1\3\u00a1\5\u00a1\u0c7c\n")
        buf.write("\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\6\u00a1\u0c86\n\u00a1\r\u00a1\16\u00a1")
        buf.write("\u0c87\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u0ca1\n\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u0ca8\n\u00a1")
        buf.write("\3\u00a1\5\u00a1\u0cab\n\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u0cba\n\u00a1\3\u00a1")
        buf.write("\3\u00a1\5\u00a1\u0cbe\n\u00a1\3\u00a1\3\u00a1\3\u00a1")
        buf.write("\3\u00a1\3\u00a1\3\u00a1\3\u00a1\3\u00a1\7\u00a1\u0cc8")
        buf.write("\n\u00a1\f\u00a1\16\u00a1\u0ccb\13\u00a1\3\u00a2\3\u00a2")
        buf.write("\3\u00a2\3\u00a2\3\u00a2\3\u00a2\3\u00a2\3\u00a2\6\u00a2")
        buf.write("\u0cd5\n\u00a2\r\u00a2\16\u00a2\u0cd6\5\u00a2\u0cd9\n")
        buf.write("\u00a2\3\u00a3\3\u00a3\3\u00a3\3\u00a3\3\u00a3\3\u00a3")
        buf.write("\3\u00a3\3\u00a3\5\u00a3\u0ce3\n\u00a3\3\u00a4\3\u00a4")
        buf.write("\3\u00a5\3\u00a5\3\u00a6\3\u00a6\3\u00a7\3\u00a7\3\u00a8")
        buf.write("\3\u00a8\3\u00a8\5\u00a8\u0cf0\n\u00a8\3\u00a9\3\u00a9")
        buf.write("\5\u00a9\u0cf4\n\u00a9\3\u00aa\3\u00aa\3\u00aa\6\u00aa")
        buf.write("\u0cf9\n\u00aa\r\u00aa\16\u00aa\u0cfa\3\u00ab\3\u00ab")
        buf.write("\3\u00ab\5\u00ab\u0d00\n\u00ab\3\u00ac\3\u00ac\3\u00ac")
        buf.write("\3\u00ac\3\u00ac\3\u00ad\5\u00ad\u0d08\n\u00ad\3\u00ad")
        buf.write("\3\u00ad\5\u00ad\u0d0c\n\u00ad\3\u00ae\3\u00ae\3\u00ae")
        buf.write("\3\u00ae\3\u00ae\3\u00ae\3\u00ae\5\u00ae\u0d15\n\u00ae")
        buf.write("\3\u00af\3\u00af\3\u00af\5\u00af\u0d1a\n\u00af\3\u00b0")
        buf.write("\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0")
        buf.write("\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0")
        buf.write("\5\u00b0\u0d2b\n\u00b0\3\u00b0\3\u00b0\5\u00b0\u0d2f\n")
        buf.write("\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\7\u00b0")
        buf.write("\u0d36\n\u00b0\f\u00b0\16\u00b0\u0d39\13\u00b0\3\u00b0")
        buf.write("\5\u00b0\u0d3c\n\u00b0\5\u00b0\u0d3e\n\u00b0\3\u00b1\3")
        buf.write("\u00b1\3\u00b1\7\u00b1\u0d43\n\u00b1\f\u00b1\16\u00b1")
        buf.write("\u0d46\13\u00b1\3\u00b2\3\u00b2\3\u00b2\3\u00b2\5\u00b2")
        buf.write("\u0d4c\n\u00b2\3\u00b2\5\u00b2\u0d4f\n\u00b2\3\u00b2\5")
        buf.write("\u00b2\u0d52\n\u00b2\3\u00b3\3\u00b3\3\u00b3\7\u00b3\u0d57")
        buf.write("\n\u00b3\f\u00b3\16\u00b3\u0d5a\13\u00b3\3\u00b4\3\u00b4")
        buf.write("\3\u00b4\3\u00b4\5\u00b4\u0d60\n\u00b4\3\u00b4\5\u00b4")
        buf.write("\u0d63\n\u00b4\3\u00b5\3\u00b5\3\u00b5\7\u00b5\u0d68\n")
        buf.write("\u00b5\f\u00b5\16\u00b5\u0d6b\13\u00b5\3\u00b6\3\u00b6")
        buf.write("\3\u00b6\3\u00b6\3\u00b6\5\u00b6\u0d72\n\u00b6\3\u00b6")
        buf.write("\5\u00b6\u0d75\n\u00b6\3\u00b7\3\u00b7\3\u00b7\3\u00b7")
        buf.write("\3\u00b7\3\u00b8\3\u00b8\3\u00b8\3\u00b8\7\u00b8\u0d80")
        buf.write("\n\u00b8\f\u00b8\16\u00b8\u0d83\13\u00b8\3\u00b9\3\u00b9")
        buf.write("\3\u00b9\3\u00b9\3\u00ba\3\u00ba\3\u00ba\3\u00ba\3\u00ba")
        buf.write("\3\u00ba\3\u00ba\3\u00ba\3\u00ba\3\u00ba\3\u00ba\7\u00ba")
        buf.write("\u0d94\n\u00ba\f\u00ba\16\u00ba\u0d97\13\u00ba\3\u00ba")
        buf.write("\3\u00ba\3\u00ba\3\u00ba\3\u00ba\7\u00ba\u0d9e\n\u00ba")
        buf.write("\f\u00ba\16\u00ba\u0da1\13\u00ba\5\u00ba\u0da3\n\u00ba")
        buf.write("\3\u00ba\3\u00ba\3\u00ba\3\u00ba\3\u00ba\7\u00ba\u0daa")
        buf.write("\n\u00ba\f\u00ba\16\u00ba\u0dad\13\u00ba\5\u00ba\u0daf")
        buf.write("\n\u00ba\5\u00ba\u0db1\n\u00ba\3\u00ba\5\u00ba\u0db4\n")
        buf.write("\u00ba\3\u00ba\5\u00ba\u0db7\n\u00ba\3\u00bb\3\u00bb\3")
        buf.write("\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb")
        buf.write("\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb\3\u00bb")
        buf.write("\5\u00bb\u0dc9\n\u00bb\3\u00bc\3\u00bc\3\u00bc\3\u00bc")
        buf.write("\3\u00bc\3\u00bc\3\u00bc\5\u00bc\u0dd2\n\u00bc\3\u00bd")
        buf.write("\3\u00bd\3\u00bd\7\u00bd\u0dd7\n\u00bd\f\u00bd\16\u00bd")
        buf.write("\u0dda\13\u00bd\3\u00be\3\u00be\3\u00be\3\u00be\5\u00be")
        buf.write("\u0de0\n\u00be\3\u00bf\3\u00bf\3\u00bf\7\u00bf\u0de5\n")
        buf.write("\u00bf\f\u00bf\16\u00bf\u0de8\13\u00bf\3\u00c0\3\u00c0")
        buf.write("\3\u00c0\3\u00c1\3\u00c1\6\u00c1\u0def\n\u00c1\r\u00c1")
        buf.write("\16\u00c1\u0df0\3\u00c1\5\u00c1\u0df4\n\u00c1\3\u00c2")
        buf.write("\3\u00c2\3\u00c2\5\u00c2\u0df9\n\u00c2\3\u00c3\3\u00c3")
        buf.write("\3\u00c3\3\u00c3\3\u00c3\3\u00c3\5\u00c3\u0e01\n\u00c3")
        buf.write("\3\u00c4\3\u00c4\3\u00c5\3\u00c5\5\u00c5\u0e07\n\u00c5")
        buf.write("\3\u00c5\3\u00c5\3\u00c5\5\u00c5\u0e0c\n\u00c5\3\u00c5")
        buf.write("\3\u00c5\3\u00c5\5\u00c5\u0e11\n\u00c5\3\u00c5\3\u00c5")
        buf.write("\5\u00c5\u0e15\n\u00c5\3\u00c5\3\u00c5\5\u00c5\u0e19\n")
        buf.write("\u00c5\3\u00c5\3\u00c5\5\u00c5\u0e1d\n\u00c5\3\u00c5\3")
        buf.write("\u00c5\5\u00c5\u0e21\n\u00c5\3\u00c5\3\u00c5\5\u00c5\u0e25")
        buf.write("\n\u00c5\3\u00c5\3\u00c5\5\u00c5\u0e29\n\u00c5\3\u00c5")
        buf.write("\5\u00c5\u0e2c\n\u00c5\3\u00c6\3\u00c6\3\u00c6\3\u00c6")
        buf.write("\3\u00c6\3\u00c6\3\u00c6\5\u00c6\u0e35\n\u00c6\3\u00c7")
        buf.write("\3\u00c7\3\u00c8\3\u00c8\3\u00c9\3\u00c9\3\u00c9\7\u0613")
        buf.write("\u0651\u065b\u0662\u066a\7J\u00cc\u013a\u013e\u0140\u00ca")
        buf.write("\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62")
        buf.write("\64\668:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082")
        buf.write("\u0084\u0086\u0088\u008a\u008c\u008e\u0090\u0092\u0094")
        buf.write("\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4\u00a6")
        buf.write("\u00a8\u00aa\u00ac\u00ae\u00b0\u00b2\u00b4\u00b6\u00b8")
        buf.write("\u00ba\u00bc\u00be\u00c0\u00c2\u00c4\u00c6\u00c8\u00ca")
        buf.write("\u00cc\u00ce\u00d0\u00d2\u00d4\u00d6\u00d8\u00da\u00dc")
        buf.write("\u00de\u00e0\u00e2\u00e4\u00e6\u00e8\u00ea\u00ec\u00ee")
        buf.write("\u00f0\u00f2\u00f4\u00f6\u00f8\u00fa\u00fc\u00fe\u0100")
        buf.write("\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112")
        buf.write("\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124")
        buf.write("\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136")
        buf.write("\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148")
        buf.write("\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a")
        buf.write("\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c")
        buf.write("\u016e\u0170\u0172\u0174\u0176\u0178\u017a\u017c\u017e")
        buf.write("\u0180\u0182\u0184\u0186\u0188\u018a\u018c\u018e\u0190")
        buf.write("\2\65\4\2//\64\64\3\2\u00bb\u00bc\5\2##\u00ca\u00ca\u010b")
        buf.write("\u010b\3\2$&\4\2\4\4\u0129\u0129\3\2\23\25\3\2\u0132\u0135")
        buf.write("\4\288ff\5\2\f\rzz\u0112\u0112\4\2\16\16\u00bb\u00bb\4")
        buf.write("\2bb\u00d5\u00d5\4\2AA\u00e3\u00e3\4\2``\u00b7\u00b7\4")
        buf.write("\2\u0085\u0085\u0092\u0092\3\2LM\4\2\u0104\u0104\u0122")
        buf.write("\u0122\4\2\60\60DD\7\2IIUUww\u0084\u0084\u00ae\u00ae\3")
        buf.write("\2fg\4\2ww\u0084\u0084\4\2\u00bb\u00bb\u013d\u013d\4\2")
        buf.write("--\u00a8\u00a8\5\2__\u00b6\u00b6\u00ed\u00ed\6\2rr\u0099")
        buf.write("\u0099\u00f6\u00f6\u0118\u0118\5\2rr\u00f6\u00f6\u0118")
        buf.write("\u0118\4\2\177\177\u00a0\u00a0\4\2//kk\4\2\u0141\u0141")
        buf.write("\u0143\u0143\5\2//\64\64\u00fa\u00fa\5\2zz\u0112\u0112")
        buf.write("\u011a\u011a\4\2\u0132\u0133\u0138\u0138\3\2\u0134\u0137")
        buf.write("\4\2\u0132\u0133\u013b\u013b\4\2ZZ\\\\\3\2\u0102\u0103")
        buf.write("\4\2\3\3\u0085\u0085\4\2\3\3\u0081\u0081\5\2<<\u00a3\u00a3")
        buf.write("\u010d\u010d\3\2\u0129\u012a\3\2\u0132\u013c\6\2\62\62")
        buf.write("\u0092\u0092\u00ba\u00ba\u00c2\u00c2\4\2zz\u0112\u0112")
        buf.write("\3\2\u0132\u0133\4\2ll\u00cb\u00cb\4\2\u00c3\u00c3\u00fb")
        buf.write("\u00fb\4\2\u0080\u0080\u00d2\u00d2\3\2\u0142\u0143\4\2")
        buf.write("mm\u00f5\u00f5\65\2-.\60\61\65\6689;;=ADDFIKKMSUUXY^`")
        buf.write("bjlmqqsy||~\u0080\u0083\u0084\u0087\u0089\u008c\u008c")
        buf.write("\u008f\u0091\u0093\u0094\u0096\u0098\u009a\u009a\u009d")
        buf.write("\u009d\u009f\u00a2\u00a5\u00b2\u00b5\u00b7\u00b9\u00b9")
        buf.write("\u00bc\u00bd\u00c0\u00c1\u00c4\u00c4\u00c6\u00c7\u00c9")
        buf.write("\u00d2\u00d4\u00dc\u00de\u00e4\u00e6\u00ed\u00f1\u00f3")
        buf.write("\u00f5\u00f5\u00f7\u00f9\u00fb\u0103\u0105\u0109\u010c")
        buf.write("\u010c\u010e\u0113\u0115\u0117\u011b\u011e\u0121\u0123")
        buf.write("\u0126\u0126\u0137\u0137\21\2\63\63WWrr\u0086\u0086\u0095")
        buf.write("\u0095\u0099\u0099\u009e\u009e\u00a4\u00a4\u00b8\u00b8")
        buf.write("\u00be\u00be\u00e5\u00e5\u00f0\u00f0\u00f6\u00f6\u0118")
        buf.write("\u0118\u0120\u0120\23\2-\62\64VXqs\u0085\u0087\u0094\u0096")
        buf.write("\u0098\u009a\u009d\u009f\u00a3\u00a5\u00b7\u00b9\u00bd")
        buf.write("\u00bf\u00e4\u00e6\u00ef\u00f1\u00f5\u00f7\u0117\u0119")
        buf.write("\u011f\u0121\u0128\u0137\u0137\2\u104a\2\u0193\3\2\2\2")
        buf.write("\4\u0199\3\2\2\2\6\u01a0\3\2\2\2\b\u01a3\3\2\2\2\n\u01b5")
        buf.write("\3\2\2\2\f\u01b7\3\2\2\2\16\u01c0\3\2\2\2\20\u01c9\3\2")
        buf.write("\2\2\22\u01dd\3\2\2\2\24\u01e8\3\2\2\2\26\u01f5\3\2\2")
        buf.write("\2\30\u0202\3\2\2\2\32\u0205\3\2\2\2\34\u020d\3\2\2\2")
        buf.write("\36\u0219\3\2\2\2 \u0225\3\2\2\2\"\u0234\3\2\2\2$\u0246")
        buf.write("\3\2\2\2&\u024a\3\2\2\2(\u024c\3\2\2\2*\u024e\3\2\2\2")
        buf.write(",\u0250\3\2\2\2.\u027e\3\2\2\2\60\u0280\3\2\2\2\62\u0282")
        buf.write("\3\2\2\2\64\u0294\3\2\2\2\66\u0296\3\2\2\28\u029f\3\2")
        buf.write("\2\2:\u02a1\3\2\2\2<\u02a7\3\2\2\2>\u02a9\3\2\2\2@\u02b2")
        buf.write("\3\2\2\2B\u02bb\3\2\2\2D\u02cb\3\2\2\2F\u02e4\3\2\2\2")
        buf.write("H\u02e6\3\2\2\2J\u02ee\3\2\2\2L\u0302\3\2\2\2N\u030a\3")
        buf.write("\2\2\2P\u030c\3\2\2\2R\u0314\3\2\2\2T\u031c\3\2\2\2V\u0320")
        buf.write("\3\2\2\2X\u0322\3\2\2\2Z\u032c\3\2\2\2\\\u032e\3\2\2\2")
        buf.write("^\u0336\3\2\2\2`\u033a\3\2\2\2b\u0345\3\2\2\2d\u0347\3")
        buf.write("\2\2\2f\u035b\3\2\2\2h\u035d\3\2\2\2j\u0365\3\2\2\2l\u036b")
        buf.write("\3\2\2\2n\u037d\3\2\2\2p\u0385\3\2\2\2r\u0387\3\2\2\2")
        buf.write("t\u0389\3\2\2\2v\u038b\3\2\2\2x\u038d\3\2\2\2z\u038f\3")
        buf.write("\2\2\2|\u0391\3\2\2\2~\u039a\3\2\2\2\u0080\u039d\3\2\2")
        buf.write("\2\u0082\u03a0\3\2\2\2\u0084\u03a3\3\2\2\2\u0086\u03a6")
        buf.write("\3\2\2\2\u0088\u03a9\3\2\2\2\u008a\u066d\3\2\2\2\u008c")
        buf.write("\u0717\3\2\2\2\u008e\u0719\3\2\2\2\u0090\u072a\3\2\2\2")
        buf.write("\u0092\u0730\3\2\2\2\u0094\u073c\3\2\2\2\u0096\u0749\3")
        buf.write("\2\2\2\u0098\u074c\3\2\2\2\u009a\u0750\3\2\2\2\u009c\u078c")
        buf.write("\3\2\2\2\u009e\u078e\3\2\2\2\u00a0\u0792\3\2\2\2\u00a2")
        buf.write("\u079e\3\2\2\2\u00a4\u07a3\3\2\2\2\u00a6\u07aa\3\2\2\2")
        buf.write("\u00a8\u07ac\3\2\2\2\u00aa\u07b4\3\2\2\2\u00ac\u07bd\3")
        buf.write("\2\2\2\u00ae\u07c8\3\2\2\2\u00b0\u07d7\3\2\2\2\u00b2\u07da")
        buf.write("\3\2\2\2\u00b4\u07e5\3\2\2\2\u00b6\u07f5\3\2\2\2\u00b8")
        buf.write("\u07fb\3\2\2\2\u00ba\u07fd\3\2\2\2\u00bc\u0808\3\2\2\2")
        buf.write("\u00be\u0819\3\2\2\2\u00c0\u0820\3\2\2\2\u00c2\u0822\3")
        buf.write("\2\2\2\u00c4\u0828\3\2\2\2\u00c6\u085e\3\2\2\2\u00c8\u086a")
        buf.write("\3\2\2\2\u00ca\u089a\3\2\2\2\u00cc\u08a0\3\2\2\2\u00ce")
        buf.write("\u08c1\3\2\2\2\u00d0\u08c3\3\2\2\2\u00d2\u08cb\3\2\2\2")
        buf.write("\u00d4\u08ec\3\2\2\2\u00d6\u0907\3\2\2\2\u00d8\u090a\3")
        buf.write("\2\2\2\u00da\u0916\3\2\2\2\u00dc\u0936\3\2\2\2\u00de\u0942")
        buf.write("\3\2\2\2\u00e0\u0945\3\2\2\2\u00e2\u094e\3\2\2\2\u00e4")
        buf.write("\u095f\3\2\2\2\u00e6\u0973\3\2\2\2\u00e8\u0975\3\2\2\2")
        buf.write("\u00ea\u097d\3\2\2\2\u00ec\u0981\3\2\2\2\u00ee\u0984\3")
        buf.write("\2\2\2\u00f0\u0987\3\2\2\2\u00f2\u09a1\3\2\2\2\u00f4\u09a3")
        buf.write("\3\2\2\2\u00f6\u09e1\3\2\2\2\u00f8\u09f0\3\2\2\2\u00fa")
        buf.write("\u09f2\3\2\2\2\u00fc\u0a10\3\2\2\2\u00fe\u0a12\3\2\2\2")
        buf.write("\u0100\u0a19\3\2\2\2\u0102\u0a39\3\2\2\2\u0104\u0a3b\3")
        buf.write("\2\2\2\u0106\u0a4d\3\2\2\2\u0108\u0a67\3\2\2\2\u010a\u0a6d")
        buf.write("\3\2\2\2\u010c\u0a6f\3\2\2\2\u010e\u0a8e\3\2\2\2\u0110")
        buf.write("\u0a90\3\2\2\2\u0112\u0a94\3\2\2\2\u0114\u0a9c\3\2\2\2")
        buf.write("\u0116\u0aa7\3\2\2\2\u0118\u0aab\3\2\2\2\u011a\u0ab6\3")
        buf.write("\2\2\2\u011c\u0ad2\3\2\2\2\u011e\u0ad4\3\2\2\2\u0120\u0adf")
        buf.write("\3\2\2\2\u0122\u0af5\3\2\2\2\u0124\u0b28\3\2\2\2\u0126")
        buf.write("\u0b2a\3\2\2\2\u0128\u0b32\3\2\2\2\u012a\u0b3d\3\2\2\2")
        buf.write("\u012c\u0b44\3\2\2\2\u012e\u0b48\3\2\2\2\u0130\u0b52\3")
        buf.write("\2\2\2\u0132\u0b5a\3\2\2\2\u0134\u0b72\3\2\2\2\u0136\u0b76")
        buf.write("\3\2\2\2\u0138\u0b78\3\2\2\2\u013a\u0b86\3\2\2\2\u013c")
        buf.write("\u0be5\3\2\2\2\u013e\u0beb\3\2\2\2\u0140\u0cbd\3\2\2\2")
        buf.write("\u0142\u0cd8\3\2\2\2\u0144\u0ce2\3\2\2\2\u0146\u0ce4\3")
        buf.write("\2\2\2\u0148\u0ce6\3\2\2\2\u014a\u0ce8\3\2\2\2\u014c\u0cea")
        buf.write("\3\2\2\2\u014e\u0cec\3\2\2\2\u0150\u0cf1\3\2\2\2\u0152")
        buf.write("\u0cf8\3\2\2\2\u0154\u0cfc\3\2\2\2\u0156\u0d01\3\2\2\2")
        buf.write("\u0158\u0d0b\3\2\2\2\u015a\u0d14\3\2\2\2\u015c\u0d19\3")
        buf.write("\2\2\2\u015e\u0d3d\3\2\2\2\u0160\u0d3f\3\2\2\2\u0162\u0d47")
        buf.write("\3\2\2\2\u0164\u0d53\3\2\2\2\u0166\u0d5b\3\2\2\2\u0168")
        buf.write("\u0d64\3\2\2\2\u016a\u0d6c\3\2\2\2\u016c\u0d76\3\2\2\2")
        buf.write("\u016e\u0d7b\3\2\2\2\u0170\u0d84\3\2\2\2\u0172\u0db6\3")
        buf.write("\2\2\2\u0174\u0dc8\3\2\2\2\u0176\u0dd1\3\2\2\2\u0178\u0dd3")
        buf.write("\3\2\2\2\u017a\u0ddf\3\2\2\2\u017c\u0de1\3\2\2\2\u017e")
        buf.write("\u0de9\3\2\2\2\u0180\u0df3\3\2\2\2\u0182\u0df8\3\2\2\2")
        buf.write("\u0184\u0e00\3\2\2\2\u0186\u0e02\3\2\2\2\u0188\u0e2b\3")
        buf.write("\2\2\2\u018a\u0e34\3\2\2\2\u018c\u0e36\3\2\2\2\u018e\u0e38")
        buf.write("\3\2\2\2\u0190\u0e3a\3\2\2\2\u0192\u0194\5\6\4\2\u0193")
        buf.write("\u0192\3\2\2\2\u0194\u0195\3\2\2\2\u0195\u0193\3\2\2\2")
        buf.write("\u0195\u0196\3\2\2\2\u0196\u0197\3\2\2\2\u0197\u0198\7")
        buf.write("\2\2\3\u0198\3\3\2\2\2\u0199\u019a\5\6\4\2\u019a\u019b")
        buf.write("\7\2\2\3\u019b\5\3\2\2\2\u019c\u01a1\5\b\5\2\u019d\u01a1")
        buf.write("\5\36\20\2\u019e\u01a1\5 \21\2\u019f\u01a1\5\"\22\2\u01a0")
        buf.write("\u019c\3\2\2\2\u01a0\u019d\3\2\2\2\u01a0\u019e\3\2\2\2")
        buf.write("\u01a0\u019f\3\2\2\2\u01a1\7\3\2\2\2\u01a2\u01a4\5:\36")
        buf.write("\2\u01a3\u01a2\3\2\2\2\u01a3\u01a4\3\2\2\2\u01a4\u01a5")
        buf.write("\3\2\2\2\u01a5\u01a7\5\u009aN\2\u01a6\u01a8\5.\30\2\u01a7")
        buf.write("\u01a6\3\2\2\2\u01a7\u01a8\3\2\2\2\u01a8\u01aa\3\2\2\2")
        buf.write("\u01a9\u01ab\5\62\32\2\u01aa\u01a9\3\2\2\2\u01aa\u01ab")
        buf.write("\3\2\2\2\u01ab\t\3\2\2\2\u01ac\u01b6\5\f\7\2\u01ad\u01b6")
        buf.write("\5\16\b\2\u01ae\u01b6\5\26\f\2\u01af\u01b6\5\30\r\2\u01b0")
        buf.write("\u01b6\5\32\16\2\u01b1\u01b6\5\34\17\2\u01b2\u01b6\5\20")
        buf.write("\t\2\u01b3\u01b6\5\22\n\2\u01b4\u01b6\5\24\13\2\u01b5")
        buf.write("\u01ac\3\2\2\2\u01b5\u01ad\3\2\2\2\u01b5\u01ae\3\2\2\2")
        buf.write("\u01b5\u01af\3\2\2\2\u01b5\u01b0\3\2\2\2\u01b5\u01b1\3")
        buf.write("\2\2\2\u01b5\u01b2\3\2\2\2\u01b5\u01b3\3\2\2\2\u01b5\u01b4")
        buf.write("\3\2\2\2\u01b6\13\3\2\2\2\u01b7\u01b9\7\u0110\2\2\u01b8")
        buf.write("\u01ba\5\64\33\2\u01b9\u01b8\3\2\2\2\u01b9\u01ba\3\2\2")
        buf.write("\2\u01ba\u01bc\3\2\2\2\u01bb\u01bd\5F$\2\u01bc\u01bb\3")
        buf.write("\2\2\2\u01bc\u01bd\3\2\2\2\u01bd\u01be\3\2\2\2\u01be\u01bf")
        buf.write("\5> \2\u01bf\r\3\2\2\2\u01c0\u01c2\7\32\2\2\u01c1\u01c3")
        buf.write("\5\64\33\2\u01c2\u01c1\3\2\2\2\u01c2\u01c3\3\2\2\2\u01c3")
        buf.write("\u01c5\3\2\2\2\u01c4\u01c6\5F$\2\u01c5\u01c4\3\2\2\2\u01c5")
        buf.write("\u01c6\3\2\2\2\u01c6\u01c7\3\2\2\2\u01c7\u01c8\5@!\2\u01c8")
        buf.write("\17\3\2\2\2\u01c9\u01ca\7\"\2\2\u01ca\u01cb\7\62\2\2\u01cb")
        buf.write("\u01cd\7\u011e\2\2\u01cc\u01ce\58\35\2\u01cd\u01cc\3\2")
        buf.write("\2\2\u01cd\u01ce\3\2\2\2\u01ce\u01d0\3\2\2\2\u01cf\u01d1")
        buf.write("\5F$\2\u01d0\u01cf\3\2\2\2\u01d0\u01d1\3\2\2\2\u01d1\u01d2")
        buf.write("\3\2\2\2\u01d2\u01d4\5(\25\2\u01d3\u01d5\5$\23\2\u01d4")
        buf.write("\u01d3\3\2\2\2\u01d4\u01d5\3\2\2\2\u01d5\u01d7\3\2\2\2")
        buf.write("\u01d6\u01d8\5*\26\2\u01d7\u01d6\3\2\2\2\u01d7\u01d8\3")
        buf.write("\2\2\2\u01d8\u01d9\3\2\2\2\u01d9\u01db\5,\27\2\u01da\u01dc")
        buf.write("\5N(\2\u01db\u01da\3\2\2\2\u01db\u01dc\3\2\2\2\u01dc\21")
        buf.write("\3\2\2\2\u01dd\u01de\7m\2\2\u01de\u01df\7M\2\2\u01df\u01e2")
        buf.write("\5P)\2\u01e0\u01e1\7\u008f\2\2\u01e1\u01e3\7t\2\2\u01e2")
        buf.write("\u01e0\3\2\2\2\u01e2\u01e3\3\2\2\2\u01e3\u01e6\3\2\2\2")
        buf.write("\u01e4\u01e5\7\u0085\2\2\u01e5\u01e7\58\35\2\u01e6\u01e4")
        buf.write("\3\2\2\2\u01e6\u01e7\3\2\2\2\u01e7\23\3\2\2\2\u01e8\u01e9")
        buf.write("\7m\2\2\u01e9\u01ea\7\u00ec\2\2\u01ea\u01eb\7\u008f\2")
        buf.write("\2\u01eb\u01ec\t\2\2\2\u01ec\u01ef\t\3\2\2\u01ed\u01ee")
        buf.write("\7\u00be\2\2\u01ee\u01f0\5P)\2\u01ef\u01ed\3\2\2\2\u01ef")
        buf.write("\u01f0\3\2\2\2\u01f0\u01f3\3\2\2\2\u01f1\u01f2\7\u0085")
        buf.write("\2\2\u01f2\u01f4\58\35\2\u01f3\u01f1\3\2\2\2\u01f3\u01f4")
        buf.write("\3\2\2\2\u01f4\25\3\2\2\2\u01f5\u01f6\7\37\2\2\u01f6\u01f8")
        buf.write("\5\64\33\2\u01f7\u01f9\5D#\2\u01f8\u01f7\3\2\2\2\u01f8")
        buf.write("\u01f9\3\2\2\2\u01f9\u01fc\3\2\2\2\u01fa\u01fb\7?\2\2")
        buf.write("\u01fb\u01fd\5P)\2\u01fc\u01fa\3\2\2\2\u01fc\u01fd\3\2")
        buf.write("\2\2\u01fd\u0200\3\2\2\2\u01fe\u01ff\7\26\2\2\u01ff\u0201")
        buf.write("\5R*\2\u0200\u01fe\3\2\2\2\u0200\u0201\3\2\2\2\u0201\27")
        buf.write("\3\2\2\2\u0202\u0203\7V\2\2\u0203\u0204\5@!\2\u0204\31")
        buf.write("\3\2\2\2\u0205\u0207\7V\2\2\u0206\u0208\7^\2\2\u0207\u0206")
        buf.write("\3\2\2\2\u0207\u0208\3\2\2\2\u0208\u0209\3\2\2\2\u0209")
        buf.write("\u020a\5n8\2\u020a\u020b\7\u00ed\2\2\u020b\u020c\5\\/")
        buf.write("\2\u020c\33\3\2\2\2\u020d\u020f\7\u00a9\2\2\u020e\u0210")
        buf.write("\5*\26\2\u020f\u020e\3\2\2\2\u020f\u0210\3\2\2\2\u0210")
        buf.write("\u0211\3\2\2\2\u0211\u0213\5,\27\2\u0212\u0214\5N(\2\u0213")
        buf.write("\u0212\3\2\2\2\u0213\u0214\3\2\2\2\u0214\u0217\3\2\2\2")
        buf.write("\u0215\u0216\7M\2\2\u0216\u0218\5&\24\2\u0217\u0215\3")
        buf.write("\2\2\2\u0217\u0218\3\2\2\2\u0218\35\3\2\2\2\u0219\u021b")
        buf.write("\7\33\2\2\u021a\u021c\5\64\33\2\u021b\u021a\3\2\2\2\u021b")
        buf.write("\u021c\3\2\2\2\u021c\u021e\3\2\2\2\u021d\u021f\5F$\2\u021e")
        buf.write("\u021d\3\2\2\2\u021e\u021f\3\2\2\2\u021f\u0220\3\2\2\2")
        buf.write("\u0220\u0221\7\u0120\2\2\u0221\u0223\5B\"\2\u0222\u0224")
        buf.write("\5N(\2\u0223\u0222\3\2\2\2\u0223\u0224\3\2\2\2\u0224\37")
        buf.write("\3\2\2\2\u0225\u0227\7 \2\2\u0226\u0228\5\64\33\2\u0227")
        buf.write("\u0226\3\2\2\2\u0227\u0228\3\2\2\2\u0228\u022b\3\2\2\2")
        buf.write("\u0229\u022a\7\u00ec\2\2\u022a\u022c\7\u0141\2\2\u022b")
        buf.write("\u0229\3\2\2\2\u022b\u022c\3\2\2\2\u022c\u022e\3\2\2\2")
        buf.write("\u022d\u022f\7\34\2\2\u022e\u022d\3\2\2\2\u022e\u022f")
        buf.write("\3\2\2\2\u022f\u0232\3\2\2\2\u0230\u0231\7!\2\2\u0231")
        buf.write("\u0233\7\u013d\2\2\u0232\u0230\3\2\2\2\u0232\u0233\3\2")
        buf.write("\2\2\u0233!\3\2\2\2\u0234\u0236\7\"\2\2\u0235\u0237\5")
        buf.write("8\35\2\u0236\u0235\3\2\2\2\u0236\u0237\3\2\2\2\u0237\u0239")
        buf.write("\3\2\2\2\u0238\u023a\5F$\2\u0239\u0238\3\2\2\2\u0239\u023a")
        buf.write("\3\2\2\2\u023a\u023b\3\2\2\2\u023b\u023d\5(\25\2\u023c")
        buf.write("\u023e\5$\23\2\u023d\u023c\3\2\2\2\u023d\u023e\3\2\2\2")
        buf.write("\u023e\u0240\3\2\2\2\u023f\u0241\5*\26\2\u0240\u023f\3")
        buf.write("\2\2\2\u0240\u0241\3\2\2\2\u0241\u0242\3\2\2\2\u0242\u0244")
        buf.write("\5,\27\2\u0243\u0245\5N(\2\u0244\u0243\3\2\2\2\u0244\u0245")
        buf.write("\3\2\2\2\u0245#\3\2\2\2\u0246\u0247\7\'\2\2\u0247%\3\2")
        buf.write("\2\2\u0248\u024b\5\\/\2\u0249\u024b\5P)\2\u024a\u0248")
        buf.write("\3\2\2\2\u024a\u0249\3\2\2\2\u024b\'\3\2\2\2\u024c\u024d")
        buf.write("\t\4\2\2\u024d)\3\2\2\2\u024e\u024f\t\5\2\2\u024f+\3\2")
        buf.write("\2\2\u0250\u0251\7\u013d\2\2\u0251-\3\2\2\2\u0252\u0254")
        buf.write("\7\u00a2\2\2\u0253\u0252\3\2\2\2\u0253\u0254\3\2\2\2\u0254")
        buf.write("\u0258\3\2\2\2\u0255\u0259\7\27\2\2\u0256\u0257\7*\2\2")
        buf.write("\u0257\u0259\7)\2\2\u0258\u0255\3\2\2\2\u0258\u0256\3")
        buf.write("\2\2\2\u0259\u025b\3\2\2\2\u025a\u025c\5N(\2\u025b\u025a")
        buf.write("\3\2\2\2\u025b\u025c\3\2\2\2\u025c\u027f\3\2\2\2\u025d")
        buf.write("\u025f\7\u00a2\2\2\u025e\u025d\3\2\2\2\u025e\u025f\3\2")
        buf.write("\2\2\u025f\u0261\3\2\2\2\u0260\u0262\7+\2\2\u0261\u0260")
        buf.write("\3\2\2\2\u0261\u0262\3\2\2\2\u0262\u0263\3\2\2\2\u0263")
        buf.write("\u0265\7)\2\2\u0264\u0266\5F$\2\u0265\u0264\3\2\2\2\u0265")
        buf.write("\u0266\3\2\2\2\u0266\u0268\3\2\2\2\u0267\u0269\5$\23\2")
        buf.write("\u0268\u0267\3\2\2\2\u0268\u0269\3\2\2\2\u0269\u026b\3")
        buf.write("\2\2\2\u026a\u026c\5N(\2\u026b\u026a\3\2\2\2\u026b\u026c")
        buf.write("\3\2\2\2\u026c\u027f\3\2\2\2\u026d\u026f\7\u00a2\2\2\u026e")
        buf.write("\u026d\3\2\2\2\u026e\u026f\3\2\2\2\u026f\u0270\3\2\2\2")
        buf.write("\u0270\u0271\7,\2\2\u0271\u0273\7)\2\2\u0272\u0274\5\60")
        buf.write("\31\2\u0273\u0272\3\2\2\2\u0273\u0274\3\2\2\2\u0274\u0276")
        buf.write("\3\2\2\2\u0275\u0277\5F$\2\u0276\u0275\3\2\2\2\u0276\u0277")
        buf.write("\3\2\2\2\u0277\u0279\3\2\2\2\u0278\u027a\5$\23\2\u0279")
        buf.write("\u0278\3\2\2\2\u0279\u027a\3\2\2\2\u027a\u027c\3\2\2\2")
        buf.write("\u027b\u027d\5N(\2\u027c\u027b\3\2\2\2\u027c\u027d\3\2")
        buf.write("\2\2\u027d\u027f\3\2\2\2\u027e\u0253\3\2\2\2\u027e\u025e")
        buf.write("\3\2\2\2\u027e\u026e\3\2\2\2\u027f/\3\2\2\2\u0280\u0281")
        buf.write("\7\u013d\2\2\u0281\61\3\2\2\2\u0282\u0283\7\30\2\2\u0283")
        buf.write("\63\3\2\2\2\u0284\u0289\58\35\2\u0285\u0286\7\3\2\2\u0286")
        buf.write("\u0288\58\35\2\u0287\u0285\3\2\2\2\u0288\u028b\3\2\2\2")
        buf.write("\u0289\u0287\3\2\2\2\u0289\u028a\3\2\2\2\u028a\u0295\3")
        buf.write("\2\2\2\u028b\u0289\3\2\2\2\u028c\u0291\5\66\34\2\u028d")
        buf.write("\u028e\7\3\2\2\u028e\u0290\5\66\34\2\u028f\u028d\3\2\2")
        buf.write("\2\u0290\u0293\3\2\2\2\u0291\u028f\3\2\2\2\u0291\u0292")
        buf.write("\3\2\2\2\u0292\u0295\3\2\2\2\u0293\u0291\3\2\2\2\u0294")
        buf.write("\u0284\3\2\2\2\u0294\u028c\3\2\2\2\u0295\65\3\2\2\2\u0296")
        buf.write("\u0297\5z>\2\u0297\u0298\t\6\2\2\u0298\u0299\58\35\2\u0299")
        buf.write("\67\3\2\2\2\u029a\u02a0\5z>\2\u029b\u029c\7\5\2\2\u029c")
        buf.write("\u029d\5\b\5\2\u029d\u029e\7\6\2\2\u029e\u02a0\3\2\2\2")
        buf.write("\u029f\u029a\3\2\2\2\u029f\u029b\3\2\2\2\u02a09\3\2\2")
        buf.write("\2\u02a1\u02a2\5z>\2\u02a2\u02a3\5<\37\2\u02a3;\3\2\2")
        buf.write("\2\u02a4\u02a8\7(\2\2\u02a5\u02a6\6\37\2\2\u02a6\u02a8")
        buf.write("\7\u0129\2\2\u02a7\u02a4\3\2\2\2\u02a7\u02a5\3\2\2\2\u02a8")
        buf.write("=\3\2\2\2\u02a9\u02aa\7\u0120\2\2\u02aa\u02ac\5B\"\2\u02ab")
        buf.write("\u02ad\5N(\2\u02ac\u02ab\3\2\2\2\u02ac\u02ad\3\2\2\2\u02ad")
        buf.write("\u02b0\3\2\2\2\u02ae\u02af\7\u00ed\2\2\u02af\u02b1\5X")
        buf.write("-\2\u02b0\u02ae\3\2\2\2\u02b0\u02b1\3\2\2\2\u02b1?\3\2")
        buf.write("\2\2\u02b2\u02b3\7\u0120\2\2\u02b3\u02b5\5B\"\2\u02b4")
        buf.write("\u02b6\5N(\2\u02b5\u02b4\3\2\2\2\u02b5\u02b6\3\2\2\2\u02b6")
        buf.write("\u02b9\3\2\2\2\u02b7\u02b8\7\u00ed\2\2\u02b8\u02ba\5\\")
        buf.write("/\2\u02b9\u02b7\3\2\2\2\u02b9\u02ba\3\2\2\2\u02baA\3\2")
        buf.write("\2\2\u02bb\u02c0\5z>\2\u02bc\u02bd\7\7\2\2\u02bd\u02bf")
        buf.write("\5z>\2\u02be\u02bc\3\2\2\2\u02bf\u02c2\3\2\2\2\u02c0\u02be")
        buf.write("\3\2\2\2\u02c0\u02c1\3\2\2\2\u02c1C\3\2\2\2\u02c2\u02c0")
        buf.write("\3\2\2\2\u02c3\u02cc\7W\2\2\u02c4\u02cc\7\u0095\2\2\u02c5")
        buf.write("\u02c6\7\u00a4\2\2\u02c6\u02cc\7\u00c5\2\2\u02c7\u02c8")
        buf.write("\7\u00e5\2\2\u02c8\u02cc\7\u00c5\2\2\u02c9\u02ca\7\u0086")
        buf.write("\2\2\u02ca\u02cc\7\u00c5\2\2\u02cb\u02c3\3\2\2\2\u02cb")
        buf.write("\u02c4\3\2\2\2\u02cb\u02c5\3\2\2\2\u02cb\u02c7\3\2\2\2")
        buf.write("\u02cb\u02c9\3\2\2\2\u02ccE\3\2\2\2\u02cd\u02cf\5H%\2")
        buf.write("\u02ce\u02cd\3\2\2\2\u02ce\u02cf\3\2\2\2\u02cf\u02d0\3")
        buf.write("\2\2\2\u02d0\u02d1\7\36\2\2\u02d1\u02d4\5J&\2\u02d2\u02d3")
        buf.write("\7?\2\2\u02d3\u02d5\5P)\2\u02d4\u02d2\3\2\2\2\u02d4\u02d5")
        buf.write("\3\2\2\2\u02d5\u02d8\3\2\2\2\u02d6\u02d7\7\26\2\2\u02d7")
        buf.write("\u02d9\5R*\2\u02d8\u02d6\3\2\2\2\u02d8\u02d9\3\2\2\2\u02d9")
        buf.write("\u02e5\3\2\2\2\u02da\u02dc\5H%\2\u02db\u02da\3\2\2\2\u02db")
        buf.write("\u02dc\3\2\2\2\u02dc\u02dd\3\2\2\2\u02dd\u02de\7\36\2")
        buf.write("\2\u02de\u02df\7?\2\2\u02df\u02e2\5P)\2\u02e0\u02e1\7")
        buf.write("\26\2\2\u02e1\u02e3\5R*\2\u02e2\u02e0\3\2\2\2\u02e2\u02e3")
        buf.write("\3\2\2\2\u02e3\u02e5\3\2\2\2\u02e4\u02ce\3\2\2\2\u02e4")
        buf.write("\u02db\3\2\2\2\u02e5G\3\2\2\2\u02e6\u02e7\t\7\2\2\u02e7")
        buf.write("I\3\2\2\2\u02e8\u02e9\b&\1\2\u02e9\u02ef\5L\'\2\u02ea")
        buf.write("\u02eb\7\5\2\2\u02eb\u02ec\5J&\2\u02ec\u02ed\7\6\2\2\u02ed")
        buf.write("\u02ef\3\2\2\2\u02ee\u02e8\3\2\2\2\u02ee\u02ea\3\2\2\2")
        buf.write("\u02ef\u02f5\3\2\2\2\u02f0\u02f1\f\3\2\2\u02f1\u02f2\t")
        buf.write("\b\2\2\u02f2\u02f4\5J&\4\u02f3\u02f0\3\2\2\2\u02f4\u02f7")
        buf.write("\3\2\2\2\u02f5\u02f3\3\2\2\2\u02f5\u02f6\3\2\2\2\u02f6")
        buf.write("K\3\2\2\2\u02f7\u02f5\3\2\2\2\u02f8\u02fa\7\u0133\2\2")
        buf.write("\u02f9\u02f8\3\2\2\2\u02f9\u02fa\3\2\2\2\u02fa\u02fb\3")
        buf.write("\2\2\2\u02fb\u0303\7\u0143\2\2\u02fc\u02fe\7\u0133\2\2")
        buf.write("\u02fd\u02fc\3\2\2\2\u02fd\u02fe\3\2\2\2\u02fe\u02ff\3")
        buf.write("\2\2\2\u02ff\u0303\7\u0141\2\2\u0300\u0303\7\34\2\2\u0301")
        buf.write("\u0303\7\35\2\2\u0302\u02f9\3\2\2\2\u0302\u02fd\3\2\2")
        buf.write("\2\u0302\u0300\3\2\2\2\u0302\u0301\3\2\2\2\u0303M\3\2")
        buf.write("\2\2\u0304\u0305\7\31\2\2\u0305\u030b\5h\65\2\u0306\u0308")
        buf.write("\7\31\2\2\u0307\u0306\3\2\2\2\u0307\u0308\3\2\2\2\u0308")
        buf.write("\u0309\3\2\2\2\u0309\u030b\5f\64\2\u030a\u0304\3\2\2\2")
        buf.write("\u030a\u0307\3\2\2\2\u030bO\3\2\2\2\u030c\u0311\5V,\2")
        buf.write("\u030d\u030e\7\3\2\2\u030e\u0310\5V,\2\u030f\u030d\3\2")
        buf.write("\2\2\u0310\u0313\3\2\2\2\u0311\u030f\3\2\2\2\u0311\u0312")
        buf.write("\3\2\2\2\u0312Q\3\2\2\2\u0313\u0311\3\2\2\2\u0314\u0319")
        buf.write("\5T+\2\u0315\u0316\7\3\2\2\u0316\u0318\5T+\2\u0317\u0315")
        buf.write("\3\2\2\2\u0318\u031b\3\2\2\2\u0319\u0317\3\2\2\2\u0319")
        buf.write("\u031a\3\2\2\2\u031aS\3\2\2\2\u031b\u0319\3\2\2\2\u031c")
        buf.write("\u031e\5V,\2\u031d\u031f\t\t\2\2\u031e\u031d\3\2\2\2\u031e")
        buf.write("\u031f\3\2\2\2\u031fU\3\2\2\2\u0320\u0321\5z>\2\u0321")
        buf.write("W\3\2\2\2\u0322\u0327\5Z.\2\u0323\u0324\7\3\2\2\u0324")
        buf.write("\u0326\5Z.\2\u0325\u0323\3\2\2\2\u0326\u0329\3\2\2\2\u0327")
        buf.write("\u0325\3\2\2\2\u0327\u0328\3\2\2\2\u0328Y\3\2\2\2\u0329")
        buf.write("\u0327\3\2\2\2\u032a\u032d\5^\60\2\u032b\u032d\7\u0134")
        buf.write("\2\2\u032c\u032a\3\2\2\2\u032c\u032b\3\2\2\2\u032d[\3")
        buf.write("\2\2\2\u032e\u0333\5^\60\2\u032f\u0330\7\3\2\2\u0330\u0332")
        buf.write("\5^\60\2\u0331\u032f\3\2\2\2\u0332\u0335\3\2\2\2\u0333")
        buf.write("\u0331\3\2\2\2\u0333\u0334\3\2\2\2\u0334]\3\2\2\2\u0335")
        buf.write("\u0333\3\2\2\2\u0336\u0337\5`\61\2\u0337\u0338\7\4\2\2")
        buf.write("\u0338\u0339\5b\62\2\u0339_\3\2\2\2\u033a\u033b\5z>\2")
        buf.write("\u033ba\3\2\2\2\u033c\u0346\5z>\2\u033d\u033e\7\b\2\2")
        buf.write("\u033e\u033f\5b\62\2\u033f\u0340\7\t\2\2\u0340\u0346\3")
        buf.write("\2\2\2\u0341\u0342\7\n\2\2\u0342\u0343\5\\/\2\u0343\u0344")
        buf.write("\7\13\2\2\u0344\u0346\3\2\2\2\u0345\u033c\3\2\2\2\u0345")
        buf.write("\u033d\3\2\2\2\u0345\u0341\3\2\2\2\u0346c\3\2\2\2\u0347")
        buf.write("\u0348\5p9\2\u0348e\3\2\2\2\u0349\u034a\7\n\2\2\u034a")
        buf.write("\u034c\5h\65\2\u034b\u034d\7\3\2\2\u034c\u034b\3\2\2\2")
        buf.write("\u034c\u034d\3\2\2\2\u034d\u034e\3\2\2\2\u034e\u034f\7")
        buf.write("\13\2\2\u034f\u035c\3\2\2\2\u0350\u0351\7\n\2\2\u0351")
        buf.write("\u035c\7\13\2\2\u0352\u0353\7\5\2\2\u0353\u0355\5h\65")
        buf.write("\2\u0354\u0356\7\3\2\2\u0355\u0354\3\2\2\2\u0355\u0356")
        buf.write("\3\2\2\2\u0356\u0357\3\2\2\2\u0357\u0358\7\6\2\2\u0358")
        buf.write("\u035c\3\2\2\2\u0359\u035a\7\5\2\2\u035a\u035c\7\6\2\2")
        buf.write("\u035b\u0349\3\2\2\2\u035b\u0350\3\2\2\2\u035b\u0352\3")
        buf.write("\2\2\2\u035b\u0359\3\2\2\2\u035cg\3\2\2\2\u035d\u0362")
        buf.write("\5j\66\2\u035e\u035f\7\3\2\2\u035f\u0361\5j\66\2\u0360")
        buf.write("\u035e\3\2\2\2\u0361\u0364\3\2\2\2\u0362\u0360\3\2\2\2")
        buf.write("\u0362\u0363\3\2\2\2\u0363i\3\2\2\2\u0364\u0362\3\2\2")
        buf.write("\2\u0365\u0366\5l\67\2\u0366\u0367\t\6\2\2\u0367\u0368")
        buf.write("\5p9\2\u0368k\3\2\2\2\u0369\u036c\5z>\2\u036a\u036c\5")
        buf.write("t;\2\u036b\u0369\3\2\2\2\u036b\u036a\3\2\2\2\u036cm\3")
        buf.write("\2\2\2\u036d\u036e\7\b\2\2\u036e\u0373\5p9\2\u036f\u0370")
        buf.write("\7\3\2\2\u0370\u0372\5p9\2\u0371\u036f\3\2\2\2\u0372\u0375")
        buf.write("\3\2\2\2\u0373\u0371\3\2\2\2\u0373\u0374\3\2\2\2\u0374")
        buf.write("\u0377\3\2\2\2\u0375\u0373\3\2\2\2\u0376\u0378\7\3\2\2")
        buf.write("\u0377\u0376\3\2\2\2\u0377\u0378\3\2\2\2\u0378\u0379\3")
        buf.write("\2\2\2\u0379\u037a\7\t\2\2\u037a\u037e\3\2\2\2\u037b\u037c")
        buf.write("\7\b\2\2\u037c\u037e\7\t\2\2\u037d\u036d\3\2\2\2\u037d")
        buf.write("\u037b\3\2\2\2\u037eo\3\2\2\2\u037f\u0386\5t;\2\u0380")
        buf.write("\u0386\5r:\2\u0381\u0386\5f\64\2\u0382\u0386\5n8\2\u0383")
        buf.write("\u0386\5v<\2\u0384\u0386\5x=\2\u0385\u037f\3\2\2\2\u0385")
        buf.write("\u0380\3\2\2\2\u0385\u0381\3\2\2\2\u0385\u0382\3\2\2\2")
        buf.write("\u0385\u0383\3\2\2\2\u0385\u0384\3\2\2\2\u0386q\3\2\2")
        buf.write("\2\u0387\u0388\5\u0188\u00c5\2\u0388s\3\2\2\2\u0389\u038a")
        buf.write("\7\u013d\2\2\u038au\3\2\2\2\u038b\u038c\t\n\2\2\u038c")
        buf.write("w\3\2\2\2\u038d\u038e\t\13\2\2\u038ey\3\2\2\2\u038f\u0390")
        buf.write("\5\u0182\u00c2\2\u0390{\3\2\2\2\u0391\u0395\5\u008aF\2")
        buf.write("\u0392\u0394\7\17\2\2\u0393\u0392\3\2\2\2\u0394\u0397")
        buf.write("\3\2\2\2\u0395\u0393\3\2\2\2\u0395\u0396\3\2\2\2\u0396")
        buf.write("\u0398\3\2\2\2\u0397\u0395\3\2\2\2\u0398\u0399\7\2\2\3")
        buf.write("\u0399}\3\2\2\2\u039a\u039b\5\u012e\u0098\2\u039b\u039c")
        buf.write("\7\2\2\3\u039c\177\3\2\2\2\u039d\u039e\5\u012a\u0096\2")
        buf.write("\u039e\u039f\7\2\2\3\u039f\u0081\3\2\2\2\u03a0\u03a1\5")
        buf.write("\u0128\u0095\2\u03a1\u03a2\7\2\2\3\u03a2\u0083\3\2\2\2")
        buf.write("\u03a3\u03a4\5\u012c\u0097\2\u03a4\u03a5\7\2\2\3\u03a5")
        buf.write("\u0085\3\2\2\2\u03a6\u03a7\5\u015e\u00b0\2\u03a7\u03a8")
        buf.write("\7\2\2\3\u03a8\u0087\3\2\2\2\u03a9\u03aa\5\u0164\u00b3")
        buf.write("\2\u03aa\u03ab\7\2\2\3\u03ab\u0089\3\2\2\2\u03ac\u066e")
        buf.write("\5\u009aN\2\u03ad\u03af\5\u00aaV\2\u03ae\u03ad\3\2\2\2")
        buf.write("\u03ae\u03af\3\2\2\2\u03af\u03b0\3\2\2\2\u03b0\u066e\5")
        buf.write("\u00c6d\2\u03b1\u03b3\7\u011e\2\2\u03b2\u03b4\7\u00b6")
        buf.write("\2\2\u03b3\u03b2\3\2\2\2\u03b3\u03b4\3\2\2\2\u03b4\u03b5")
        buf.write("\3\2\2\2\u03b5\u066e\5\u0128\u0095\2\u03b6\u03b7\7V\2")
        buf.write("\2\u03b7\u03bb\5\u00a4S\2\u03b8\u03b9\7\u008f\2\2\u03b9")
        buf.write("\u03ba\7\u00ba\2\2\u03ba\u03bc\7t\2\2\u03bb\u03b8\3\2")
        buf.write("\2\2\u03bb\u03bc\3\2\2\2\u03bc\u03bd\3\2\2\2\u03bd\u03c5")
        buf.write("\5\u0128\u0095\2\u03be\u03c4\5\u0098M\2\u03bf\u03c4\5")
        buf.write("\u0096L\2\u03c0\u03c1\7\u0127\2\2\u03c1\u03c2\t\f\2\2")
        buf.write("\u03c2\u03c4\5\u00b2Z\2\u03c3\u03be\3\2\2\2\u03c3\u03bf")
        buf.write("\3\2\2\2\u03c3\u03c0\3\2\2\2\u03c4\u03c7\3\2\2\2\u03c5")
        buf.write("\u03c3\3\2\2\2\u03c5\u03c6\3\2\2\2\u03c6\u066e\3\2\2\2")
        buf.write("\u03c7\u03c5\3\2\2\2\u03c8\u03c9\7\60\2\2\u03c9\u03ca")
        buf.write("\5\u00a4S\2\u03ca\u03cb\5\u0128\u0095\2\u03cb\u03cc\7")
        buf.write("\u00f5\2\2\u03cc\u03cd\t\f\2\2\u03cd\u03ce\5\u00b2Z\2")
        buf.write("\u03ce\u066e\3\2\2\2\u03cf\u03d0\7\60\2\2\u03d0\u03d1")
        buf.write("\5\u00a4S\2\u03d1\u03d2\5\u0128\u0095\2\u03d2\u03d3\7")
        buf.write("\u00f5\2\2\u03d3\u03d4\5\u0096L\2\u03d4\u066e\3\2\2\2")
        buf.write("\u03d5\u03d6\7m\2\2\u03d6\u03d9\5\u00a4S\2\u03d7\u03d8")
        buf.write("\7\u008f\2\2\u03d8\u03da\7t\2\2\u03d9\u03d7\3\2\2\2\u03d9")
        buf.write("\u03da\3\2\2\2\u03da\u03db\3\2\2\2\u03db\u03dd\5\u0128")
        buf.write("\u0095\2\u03dc\u03de\t\r\2\2\u03dd\u03dc\3\2\2\2\u03dd")
        buf.write("\u03de\3\2\2\2\u03de\u066e\3\2\2\2\u03df\u03e0\7\u00f8")
        buf.write("\2\2\u03e0\u03e3\t\16\2\2\u03e1\u03e2\t\17\2\2\u03e2\u03e4")
        buf.write("\5\u0128\u0095\2\u03e3\u03e1\3\2\2\2\u03e3\u03e4\3\2\2")
        buf.write("\2\u03e4\u03e9\3\2\2\2\u03e5\u03e7\7\u00a5\2\2\u03e6\u03e5")
        buf.write("\3\2\2\2\u03e6\u03e7\3\2\2\2\u03e7\u03e8\3\2\2\2\u03e8")
        buf.write("\u03ea\7\u013d\2\2\u03e9\u03e6\3\2\2\2\u03e9\u03ea\3\2")
        buf.write("\2\2\u03ea\u066e\3\2\2\2\u03eb\u03f0\5\u008eH\2\u03ec")
        buf.write("\u03ed\7\5\2\2\u03ed\u03ee\5\u0164\u00b3\2\u03ee\u03ef")
        buf.write("\7\6\2\2\u03ef\u03f1\3\2\2\2\u03f0\u03ec\3\2\2\2\u03f0")
        buf.write("\u03f1\3\2\2\2\u03f1\u03f2\3\2\2\2\u03f2\u03f3\5\u00ae")
        buf.write("X\2\u03f3\u03f8\5\u00b0Y\2\u03f4\u03f6\7\67\2\2\u03f5")
        buf.write("\u03f4\3\2\2\2\u03f5\u03f6\3\2\2\2\u03f6\u03f7\3\2\2\2")
        buf.write("\u03f7\u03f9\5\u009aN\2\u03f8\u03f5\3\2\2\2\u03f8\u03f9")
        buf.write("\3\2\2\2\u03f9\u066e\3\2\2\2\u03fa\u03ff\5\u008eH\2\u03fb")
        buf.write("\u03fc\7\5\2\2\u03fc\u03fd\5\u0164\u00b3\2\u03fd\u03fe")
        buf.write("\7\6\2\2\u03fe\u0400\3\2\2\2\u03ff\u03fb\3\2\2\2\u03ff")
        buf.write("\u0400\3\2\2\2\u0400\u0416\3\2\2\2\u0401\u0415\5\u0098")
        buf.write("M\2\u0402\u0403\7\u00cc\2\2\u0403\u0404\7?\2\2\u0404\u0405")
        buf.write("\7\5\2\2\u0405\u0406\5\u0164\u00b3\2\u0406\u0407\7\6\2")
        buf.write("\2\u0407\u040c\3\2\2\2\u0408\u0409\7\u00cc\2\2\u0409\u040a")
        buf.write("\7?\2\2\u040a\u040c\5\u0110\u0089\2\u040b\u0402\3\2\2")
        buf.write("\2\u040b\u0408\3\2\2\2\u040c\u0415\3\2\2\2\u040d\u0415")
        buf.write("\5\u0092J\2\u040e\u0415\5\u0094K\2\u040f\u0415\5\u0124")
        buf.write("\u0093\2\u0410\u0415\5\u00be`\2\u0411\u0415\5\u0096L\2")
        buf.write("\u0412\u0413\7\u0107\2\2\u0413\u0415\5\u00b2Z\2\u0414")
        buf.write("\u0401\3\2\2\2\u0414\u040b\3\2\2\2\u0414\u040d\3\2\2\2")
        buf.write("\u0414\u040e\3\2\2\2\u0414\u040f\3\2\2\2\u0414\u0410\3")
        buf.write("\2\2\2\u0414\u0411\3\2\2\2\u0414\u0412\3\2\2\2\u0415\u0418")
        buf.write("\3\2\2\2\u0416\u0414\3\2\2\2\u0416\u0417\3\2\2\2\u0417")
        buf.write("\u041d\3\2\2\2\u0418\u0416\3\2\2\2\u0419\u041b\7\67\2")
        buf.write("\2\u041a\u0419\3\2\2\2\u041a\u041b\3\2\2\2\u041b\u041c")
        buf.write("\3\2\2\2\u041c\u041e\5\u009aN\2\u041d\u041a\3\2\2\2\u041d")
        buf.write("\u041e\3\2\2\2\u041e\u066e\3\2\2\2\u041f\u0420\7V\2\2")
        buf.write("\u0420\u0424\7\u0104\2\2\u0421\u0422\7\u008f\2\2\u0422")
        buf.write("\u0423\7\u00ba\2\2\u0423\u0425\7t\2\2\u0424\u0421\3\2")
        buf.write("\2\2\u0424\u0425\3\2\2\2\u0425\u0426\3\2\2\2\u0426\u0427")
        buf.write("\5\u012a\u0096\2\u0427\u0428\7\u00a5\2\2\u0428\u0431\5")
        buf.write("\u012a\u0096\2\u0429\u0430\5\u00aeX\2\u042a\u0430\5\u0124")
        buf.write("\u0093\2\u042b\u0430\5\u00be`\2\u042c\u0430\5\u0096L\2")
        buf.write("\u042d\u042e\7\u0107\2\2\u042e\u0430\5\u00b2Z\2\u042f")
        buf.write("\u0429\3\2\2\2\u042f\u042a\3\2\2\2\u042f\u042b\3\2\2\2")
        buf.write("\u042f\u042c\3\2\2\2\u042f\u042d\3\2\2\2\u0430\u0433\3")
        buf.write("\2\2\2\u0431\u042f\3\2\2\2\u0431\u0432\3\2\2\2\u0432\u066e")
        buf.write("\3\2\2\2\u0433\u0431\3\2\2\2\u0434\u0439\5\u0090I\2\u0435")
        buf.write("\u0436\7\5\2\2\u0436\u0437\5\u0164\u00b3\2\u0437\u0438")
        buf.write("\7\6\2\2\u0438\u043a\3\2\2\2\u0439\u0435\3\2\2\2\u0439")
        buf.write("\u043a\3\2\2\2\u043a\u043b\3\2\2\2\u043b\u043c\5\u00ae")
        buf.write("X\2\u043c\u0441\5\u00b0Y\2\u043d\u043f\7\67\2\2\u043e")
        buf.write("\u043d\3\2\2\2\u043e\u043f\3\2\2\2\u043f\u0440\3\2\2\2")
        buf.write("\u0440\u0442\5\u009aN\2\u0441\u043e\3\2\2\2\u0441\u0442")
        buf.write("\3\2\2\2\u0442\u066e\3\2\2\2\u0443\u0444\7\61\2\2\u0444")
        buf.write("\u0445\7\u0104\2\2\u0445\u0447\5\u0128\u0095\2\u0446\u0448")
        buf.write("\5\u00a0Q\2\u0447\u0446\3\2\2\2\u0447\u0448\3\2\2\2\u0448")
        buf.write("\u0449\3\2\2\2\u0449\u044a\7R\2\2\u044a\u0452\7\u00fe")
        buf.write("\2\2\u044b\u0453\5\u0182\u00c2\2\u044c\u044d\7\u0081\2")
        buf.write("\2\u044d\u044e\7M\2\2\u044e\u0453\5\u0112\u008a\2\u044f")
        buf.write("\u0450\7\u0081\2\2\u0450\u0451\7/\2\2\u0451\u0453\7M\2")
        buf.write("\2\u0452\u044b\3\2\2\2\u0452\u044c\3\2\2\2\u0452\u044f")
        buf.write("\3\2\2\2\u0452\u0453\3\2\2\2\u0453\u066e\3\2\2\2\u0454")
        buf.write("\u0455\7\60\2\2\u0455\u0456\7\u0104\2\2\u0456\u0457\5")
        buf.write("\u0128\u0095\2\u0457\u0458\7-\2\2\u0458\u0459\t\20\2\2")
        buf.write("\u0459\u045a\5\u0160\u00b1\2\u045a\u066e\3\2\2\2\u045b")
        buf.write("\u045c\7\60\2\2\u045c\u045d\7\u0104\2\2\u045d\u045e\5")
        buf.write("\u0128\u0095\2\u045e\u045f\7-\2\2\u045f\u0460\t\20\2\2")
        buf.write("\u0460\u0461\7\5\2\2\u0461\u0462\5\u0160\u00b1\2\u0462")
        buf.write("\u0463\7\6\2\2\u0463\u066e\3\2\2\2\u0464\u0465\7\60\2")
        buf.write("\2\u0465\u0466\7\u0104\2\2\u0466\u0467\5\u0128\u0095\2")
        buf.write("\u0467\u0468\7\u00df\2\2\u0468\u0469\7L\2\2\u0469\u046a")
        buf.write("\5\u0128\u0095\2\u046a\u046b\7\u010b\2\2\u046b\u046c\5")
        buf.write("\u017e\u00c0\2\u046c\u066e\3\2\2\2\u046d\u046e\7\60\2")
        buf.write("\2\u046e\u046f\7\u0104\2\2\u046f\u0470\5\u0128\u0095\2")
        buf.write("\u0470\u0471\7m\2\2\u0471\u0472\t\20\2\2\u0472\u0473\7")
        buf.write("\5\2\2\u0473\u0474\5\u0126\u0094\2\u0474\u0475\7\6\2\2")
        buf.write("\u0475\u066e\3\2\2\2\u0476\u0477\7\60\2\2\u0477\u0478")
        buf.write("\7\u0104\2\2\u0478\u0479\5\u0128\u0095\2\u0479\u047a\7")
        buf.write("m\2\2\u047a\u047b\t\20\2\2\u047b\u047c\5\u0126\u0094\2")
        buf.write("\u047c\u066e\3\2\2\2\u047d\u047e\7\60\2\2\u047e\u047f")
        buf.write("\t\21\2\2\u047f\u0480\5\u0128\u0095\2\u0480\u0481\7\u00df")
        buf.write("\2\2\u0481\u0482\7\u010b\2\2\u0482\u0483\5\u0128\u0095")
        buf.write("\2\u0483\u066e\3\2\2\2\u0484\u0485\7\60\2\2\u0485\u0486")
        buf.write("\t\21\2\2\u0486\u0487\5\u0128\u0095\2\u0487\u0488\7\u00f5")
        buf.write("\2\2\u0488\u0489\7\u0107\2\2\u0489\u048a\5\u00b2Z\2\u048a")
        buf.write("\u066e\3\2\2\2\u048b\u048c\7\60\2\2\u048c\u048d\t\21\2")
        buf.write("\2\u048d\u048e\5\u0128\u0095\2\u048e\u048f\7\u011c\2\2")
        buf.write("\u048f\u0492\7\u0107\2\2\u0490\u0491\7\u008f\2\2\u0491")
        buf.write("\u0493\7t\2\2\u0492\u0490\3\2\2\2\u0492\u0493\3\2\2\2")
        buf.write("\u0493\u0494\3\2\2\2\u0494\u0495\5\u00b2Z\2\u0495\u066e")
        buf.write("\3\2\2\2\u0496\u0497\7\60\2\2\u0497\u0498\7\u0104\2\2")
        buf.write("\u0498\u0499\5\u0128\u0095\2\u0499\u049b\t\22\2\2\u049a")
        buf.write("\u049c\7L\2\2\u049b\u049a\3\2\2\2\u049b\u049c\3\2\2\2")
        buf.write("\u049c\u049d\3\2\2\2\u049d\u049f\5\u0128\u0095\2\u049e")
        buf.write("\u04a0\5\u018a\u00c6\2\u049f\u049e\3\2\2\2\u049f\u04a0")
        buf.write("\3\2\2\2\u04a0\u066e\3\2\2\2\u04a1\u04a2\7\60\2\2\u04a2")
        buf.write("\u04a3\7\u0104\2\2\u04a3\u04a5\5\u0128\u0095\2\u04a4\u04a6")
        buf.write("\5\u00a0Q\2\u04a5\u04a4\3\2\2\2\u04a5\u04a6\3\2\2\2\u04a6")
        buf.write("\u04a7\3\2\2\2\u04a7\u04a9\7D\2\2\u04a8\u04aa\7L\2\2\u04a9")
        buf.write("\u04a8\3\2\2\2\u04a9\u04aa\3\2\2\2\u04aa\u04ab\3\2\2\2")
        buf.write("\u04ab\u04ac\5\u0128\u0095\2\u04ac\u04ae\5\u0166\u00b4")
        buf.write("\2\u04ad\u04af\5\u015c\u00af\2\u04ae\u04ad\3\2\2\2\u04ae")
        buf.write("\u04af\3\2\2\2\u04af\u066e\3\2\2\2\u04b0\u04b1\7\60\2")
        buf.write("\2\u04b1\u04b2\7\u0104\2\2\u04b2\u04b4\5\u0128\u0095\2")
        buf.write("\u04b3\u04b5\5\u00a0Q\2\u04b4\u04b3\3\2\2\2\u04b4\u04b5")
        buf.write("\3\2\2\2\u04b5\u04b6\3\2\2\2\u04b6\u04b7\7\u00e1\2\2\u04b7")
        buf.write("\u04b8\7M\2\2\u04b8\u04b9\7\5\2\2\u04b9\u04ba\5\u0160")
        buf.write("\u00b1\2\u04ba\u04bb\7\6\2\2\u04bb\u066e\3\2\2\2\u04bc")
        buf.write("\u04bd\7\60\2\2\u04bd\u04be\7\u0104\2\2\u04be\u04c0\5")
        buf.write("\u0128\u0095\2\u04bf\u04c1\5\u00a0Q\2\u04c0\u04bf\3\2")
        buf.write("\2\2\u04c0\u04c1\3\2\2\2\u04c1\u04c2\3\2\2\2\u04c2\u04c3")
        buf.write("\7\u00f5\2\2\u04c3\u04c4\7\u00f2\2\2\u04c4\u04c8\7\u013d")
        buf.write("\2\2\u04c5\u04c6\7\u0127\2\2\u04c6\u04c7\7\u00f3\2\2\u04c7")
        buf.write("\u04c9\5\u00b2Z\2\u04c8\u04c5\3\2\2\2\u04c8\u04c9\3\2")
        buf.write("\2\2\u04c9\u066e\3\2\2\2\u04ca\u04cb\7\60\2\2\u04cb\u04cc")
        buf.write("\7\u0104\2\2\u04cc\u04ce\5\u0128\u0095\2\u04cd\u04cf\5")
        buf.write("\u00a0Q\2\u04ce\u04cd\3\2\2\2\u04ce\u04cf\3\2\2\2\u04cf")
        buf.write("\u04d0\3\2\2\2\u04d0\u04d1\7\u00f5\2\2\u04d1\u04d2\7\u00f3")
        buf.write("\2\2\u04d2\u04d3\5\u00b2Z\2\u04d3\u066e\3\2\2\2\u04d4")
        buf.write("\u04d5\7\60\2\2\u04d5\u04d6\t\21\2\2\u04d6\u04d7\5\u0128")
        buf.write("\u0095\2\u04d7\u04db\7-\2\2\u04d8\u04d9\7\u008f\2\2\u04d9")
        buf.write("\u04da\7\u00ba\2\2\u04da\u04dc\7t\2\2\u04db\u04d8\3\2")
        buf.write("\2\2\u04db\u04dc\3\2\2\2\u04dc\u04de\3\2\2\2\u04dd\u04df")
        buf.write("\5\u009eP\2\u04de\u04dd\3\2\2\2\u04df\u04e0\3\2\2\2\u04e0")
        buf.write("\u04de\3\2\2\2\u04e0\u04e1\3\2\2\2\u04e1\u066e\3\2\2\2")
        buf.write("\u04e2\u04e3\7\60\2\2\u04e3\u04e4\7\u0104\2\2\u04e4\u04e5")
        buf.write("\5\u0128\u0095\2\u04e5\u04e6\5\u00a0Q\2\u04e6\u04e7\7")
        buf.write("\u00df\2\2\u04e7\u04e8\7\u010b\2\2\u04e8\u04e9\5\u00a0")
        buf.write("Q\2\u04e9\u066e\3\2\2\2\u04ea\u04eb\7\60\2\2\u04eb\u04ec")
        buf.write("\t\21\2\2\u04ec\u04ed\5\u0128\u0095\2\u04ed\u04f0\7m\2")
        buf.write("\2\u04ee\u04ef\7\u008f\2\2\u04ef\u04f1\7t\2\2\u04f0\u04ee")
        buf.write("\3\2\2\2\u04f0\u04f1\3\2\2\2\u04f1\u04f2\3\2\2\2\u04f2")
        buf.write("\u04f7\5\u00a0Q\2\u04f3\u04f4\7\3\2\2\u04f4\u04f6\5\u00a0")
        buf.write("Q\2\u04f5\u04f3\3\2\2\2\u04f6\u04f9\3\2\2\2\u04f7\u04f5")
        buf.write("\3\2\2\2\u04f7\u04f8\3\2\2\2\u04f8\u04fb\3\2\2\2\u04f9")
        buf.write("\u04f7\3\2\2\2\u04fa\u04fc\7\u00d6\2\2\u04fb\u04fa\3\2")
        buf.write("\2\2\u04fb\u04fc\3\2\2\2\u04fc\u066e\3\2\2\2\u04fd\u04fe")
        buf.write("\7\60\2\2\u04fe\u04ff\7\u0104\2\2\u04ff\u0501\5\u0128")
        buf.write("\u0095\2\u0500\u0502\5\u00a0Q\2\u0501\u0500\3\2\2\2\u0501")
        buf.write("\u0502\3\2\2\2\u0502\u0503\3\2\2\2\u0503\u0504\7\u00f5")
        buf.write("\2\2\u0504\u0505\5\u0096L\2\u0505\u066e\3\2\2\2\u0506")
        buf.write("\u0507\7\60\2\2\u0507\u0508\7\u0104\2\2\u0508\u0509\5")
        buf.write("\u0128\u0095\2\u0509\u050a\7\u00db\2\2\u050a\u050b\7\u00cd")
        buf.write("\2\2\u050b\u066e\3\2\2\2\u050c\u050d\7m\2\2\u050d\u0510")
        buf.write("\7\u0104\2\2\u050e\u050f\7\u008f\2\2\u050f\u0511\7t\2")
        buf.write("\2\u0510\u050e\3\2\2\2\u0510\u0511\3\2\2\2\u0511\u0512")
        buf.write("\3\2\2\2\u0512\u0514\5\u0128\u0095\2\u0513\u0515\7\u00d6")
        buf.write("\2\2\u0514\u0513\3\2\2\2\u0514\u0515\3\2\2\2\u0515\u066e")
        buf.write("\3\2\2\2\u0516\u0517\7m\2\2\u0517\u051a\7\u0122\2\2\u0518")
        buf.write("\u0519\7\u008f\2\2\u0519\u051b\7t\2\2\u051a\u0518\3\2")
        buf.write("\2\2\u051a\u051b\3\2\2\2\u051b\u051c\3\2\2\2\u051c\u066e")
        buf.write("\5\u0128\u0095\2\u051d\u0520\7V\2\2\u051e\u051f\7\u00c2")
        buf.write("\2\2\u051f\u0521\7\u00e1\2\2\u0520\u051e\3\2\2\2\u0520")
        buf.write("\u0521\3\2\2\2\u0521\u0526\3\2\2\2\u0522\u0524\7\u0089")
        buf.write("\2\2\u0523\u0522\3\2\2\2\u0523\u0524\3\2\2\2\u0524\u0525")
        buf.write("\3\2\2\2\u0525\u0527\7\u0108\2\2\u0526\u0523\3\2\2\2\u0526")
        buf.write("\u0527\3\2\2\2\u0527\u0528\3\2\2\2\u0528\u052c\7\u0122")
        buf.write("\2\2\u0529\u052a\7\u008f\2\2\u052a\u052b\7\u00ba\2\2\u052b")
        buf.write("\u052d\7t\2\2\u052c\u0529\3\2\2\2\u052c\u052d\3\2\2\2")
        buf.write("\u052d\u052e\3\2\2\2\u052e\u0530\5\u0128\u0095\2\u052f")
        buf.write("\u0531\5\u0118\u008d\2\u0530\u052f\3\2\2\2\u0530\u0531")
        buf.write("\3\2\2\2\u0531\u053a\3\2\2\2\u0532\u0539\5\u0098M\2\u0533")
        buf.write("\u0534\7\u00cc\2\2\u0534\u0535\7\u00be\2\2\u0535\u0539")
        buf.write("\5\u0110\u0089\2\u0536\u0537\7\u0107\2\2\u0537\u0539\5")
        buf.write("\u00b2Z\2\u0538\u0532\3\2\2\2\u0538\u0533\3\2\2\2\u0538")
        buf.write("\u0536\3\2\2\2\u0539\u053c\3\2\2\2\u053a\u0538\3\2\2\2")
        buf.write("\u053a\u053b\3\2\2\2\u053b\u053d\3\2\2\2\u053c\u053a\3")
        buf.write("\2\2\2\u053d\u053e\7\67\2\2\u053e\u053f\5\u009aN\2\u053f")
        buf.write("\u066e\3\2\2\2\u0540\u0543\7V\2\2\u0541\u0542\7\u00c2")
        buf.write("\2\2\u0542\u0544\7\u00e1\2\2\u0543\u0541\3\2\2\2\u0543")
        buf.write("\u0544\3\2\2\2\u0544\u0546\3\2\2\2\u0545\u0547\7\u0089")
        buf.write("\2\2\u0546\u0545\3\2\2\2\u0546\u0547\3\2\2\2\u0547\u0548")
        buf.write("\3\2\2\2\u0548\u0549\7\u0108\2\2\u0549\u054a\7\u0122\2")
        buf.write("\2\u054a\u054f\5\u012a\u0096\2\u054b\u054c\7\5\2\2\u054c")
        buf.write("\u054d\5\u0164\u00b3\2\u054d\u054e\7\6\2\2\u054e\u0550")
        buf.write("\3\2\2\2\u054f\u054b\3\2\2\2\u054f\u0550\3\2\2\2\u0550")
        buf.write("\u0551\3\2\2\2\u0551\u0554\5\u00aeX\2\u0552\u0553\7\u00c1")
        buf.write("\2\2\u0553\u0555\5\u00b2Z\2\u0554\u0552\3\2\2\2\u0554")
        buf.write("\u0555\3\2\2\2\u0555\u066e\3\2\2\2\u0556\u0557\7\60\2")
        buf.write("\2\u0557\u0558\7\u0122\2\2\u0558\u055a\5\u0128\u0095\2")
        buf.write("\u0559\u055b\7\67\2\2\u055a\u0559\3\2\2\2\u055a\u055b")
        buf.write("\3\2\2\2\u055b\u055c\3\2\2\2\u055c\u055d\5\u009aN\2\u055d")
        buf.write("\u066e\3\2\2\2\u055e\u0561\7V\2\2\u055f\u0560\7\u00c2")
        buf.write("\2\2\u0560\u0562\7\u00e1\2\2\u0561\u055f\3\2\2\2\u0561")
        buf.write("\u0562\3\2\2\2\u0562\u0564\3\2\2\2\u0563\u0565\7\u0108")
        buf.write("\2\2\u0564\u0563\3\2\2\2\u0564\u0565\3\2\2\2\u0565\u0566")
        buf.write("\3\2\2\2\u0566\u056a\7\u0087\2\2\u0567\u0568\7\u008f\2")
        buf.write("\2\u0568\u0569\7\u00ba\2\2\u0569\u056b\7t\2\2\u056a\u0567")
        buf.write("\3\2\2\2\u056a\u056b\3\2\2\2\u056b\u056c\3\2\2\2\u056c")
        buf.write("\u056d\5\u0128\u0095\2\u056d\u056e\7\67\2\2\u056e\u0578")
        buf.write("\7\u013d\2\2\u056f\u0570\7\u0120\2\2\u0570\u0575\5\u00c4")
        buf.write("c\2\u0571\u0572\7\3\2\2\u0572\u0574\5\u00c4c\2\u0573\u0571")
        buf.write("\3\2\2\2\u0574\u0577\3\2\2\2\u0575\u0573\3\2\2\2\u0575")
        buf.write("\u0576\3\2\2\2\u0576\u0579\3\2\2\2\u0577\u0575\3\2\2\2")
        buf.write("\u0578\u056f\3\2\2\2\u0578\u0579\3\2\2\2\u0579\u066e\3")
        buf.write("\2\2\2\u057a\u057c\7m\2\2\u057b\u057d\7\u0108\2\2\u057c")
        buf.write("\u057b\3\2\2\2\u057c\u057d\3\2\2\2\u057d\u057e\3\2\2\2")
        buf.write("\u057e\u0581\7\u0087\2\2\u057f\u0580\7\u008f\2\2\u0580")
        buf.write("\u0582\7t\2\2\u0581\u057f\3\2\2\2\u0581\u0582\3\2\2\2")
        buf.write("\u0582\u0583\3\2\2\2\u0583\u066e\5\u0128\u0095\2\u0584")
        buf.write("\u0586\7u\2\2\u0585\u0587\t\23\2\2\u0586\u0585\3\2\2\2")
        buf.write("\u0586\u0587\3\2\2\2\u0587\u0588\3\2\2\2\u0588\u066e\5")
        buf.write("\u008aF\2\u0589\u058a\7\u00f8\2\2\u058a\u058d\7\u0105")
        buf.write("\2\2\u058b\u058c\t\17\2\2\u058c\u058e\5\u0128\u0095\2")
        buf.write("\u058d\u058b\3\2\2\2\u058d\u058e\3\2\2\2\u058e\u0593\3")
        buf.write("\2\2\2\u058f\u0591\7\u00a5\2\2\u0590\u058f\3\2\2\2\u0590")
        buf.write("\u0591\3\2\2\2\u0591\u0592\3\2\2\2\u0592\u0594\7\u013d")
        buf.write("\2\2\u0593\u0590\3\2\2\2\u0593\u0594\3\2\2\2\u0594\u066e")
        buf.write("\3\2\2\2\u0595\u0596\7\u00f8\2\2\u0596\u0597\7\u0104\2")
        buf.write("\2\u0597\u059a\7w\2\2\u0598\u0599\t\17\2\2\u0599\u059b")
        buf.write("\5\u0128\u0095\2\u059a\u0598\3\2\2\2\u059a\u059b\3\2\2")
        buf.write("\2\u059b\u059c\3\2\2\2\u059c\u059d\7\u00a5\2\2\u059d\u059f")
        buf.write("\7\u013d\2\2\u059e\u05a0\5\u00a0Q\2\u059f\u059e\3\2\2")
        buf.write("\2\u059f\u05a0\3\2\2\2\u05a0\u066e\3\2\2\2\u05a1\u05a2")
        buf.write("\7\u00f8\2\2\u05a2\u05a3\7\u0107\2\2\u05a3\u05a8\5\u0128")
        buf.write("\u0095\2\u05a4\u05a5\7\5\2\2\u05a5\u05a6\5\u00b6\\\2\u05a6")
        buf.write("\u05a7\7\6\2\2\u05a7\u05a9\3\2\2\2\u05a8\u05a4\3\2\2\2")
        buf.write("\u05a8\u05a9\3\2\2\2\u05a9\u066e\3\2\2\2\u05aa\u05ab\7")
        buf.write("\u00f8\2\2\u05ab\u05ac\7M\2\2\u05ac\u05ad\t\17\2\2\u05ad")
        buf.write("\u05b0\5\u0128\u0095\2\u05ae\u05af\t\17\2\2\u05af\u05b1")
        buf.write("\5\u0128\u0095\2\u05b0\u05ae\3\2\2\2\u05b0\u05b1\3\2\2")
        buf.write("\2\u05b1\u066e\3\2\2\2\u05b2\u05b3\7\u00f8\2\2\u05b3\u05b6")
        buf.write("\7\u0123\2\2\u05b4\u05b5\t\17\2\2\u05b5\u05b7\5\u0128")
        buf.write("\u0095\2\u05b6\u05b4\3\2\2\2\u05b6\u05b7\3\2\2\2\u05b7")
        buf.write("\u05bc\3\2\2\2\u05b8\u05ba\7\u00a5\2\2\u05b9\u05b8\3\2")
        buf.write("\2\2\u05b9\u05ba\3\2\2\2\u05ba\u05bb\3\2\2\2\u05bb\u05bd")
        buf.write("\7\u013d\2\2\u05bc\u05b9\3\2\2\2\u05bc\u05bd\3\2\2\2\u05bd")
        buf.write("\u066e\3\2\2\2\u05be\u05bf\7\u00f8\2\2\u05bf\u05c0\7\u00cd")
        buf.write("\2\2\u05c0\u05c2\5\u0128\u0095\2\u05c1\u05c3\5\u00a0Q")
        buf.write("\2\u05c2\u05c1\3\2\2\2\u05c2\u05c3\3\2\2\2\u05c3\u066e")
        buf.write("\3\2\2\2\u05c4\u05c6\7\u00f8\2\2\u05c5\u05c7\5\u0182\u00c2")
        buf.write("\2\u05c6\u05c5\3\2\2\2\u05c6\u05c7\3\2\2\2\u05c7\u05c8")
        buf.write("\3\2\2\2\u05c8\u05d0\7\u0088\2\2\u05c9\u05cb\7\u00a5\2")
        buf.write("\2\u05ca\u05c9\3\2\2\2\u05ca\u05cb\3\2\2\2\u05cb\u05ce")
        buf.write("\3\2\2\2\u05cc\u05cf\5\u0128\u0095\2\u05cd\u05cf\7\u013d")
        buf.write("\2\2\u05ce\u05cc\3\2\2\2\u05ce\u05cd\3\2\2\2\u05cf\u05d1")
        buf.write("\3\2\2\2\u05d0\u05ca\3\2\2\2\u05d0\u05d1\3\2\2\2\u05d1")
        buf.write("\u066e\3\2\2\2\u05d2\u05d3\7\u00f8\2\2\u05d3\u05d4\7V")
        buf.write("\2\2\u05d4\u05d5\7\u0104\2\2\u05d5\u05d8\5\u0128\u0095")
        buf.write("\2\u05d6\u05d7\7\67\2\2\u05d7\u05d9\7\u00f2\2\2\u05d8")
        buf.write("\u05d6\3\2\2\2\u05d8\u05d9\3\2\2\2\u05d9\u066e\3\2\2\2")
        buf.write("\u05da\u05db\7\u00f8\2\2\u05db\u05dc\7Y\2\2\u05dc\u066e")
        buf.write("\7\u00b6\2\2\u05dd\u05de\t\24\2\2\u05de\u05e0\7\u0087")
        buf.write("\2\2\u05df\u05e1\7w\2\2\u05e0\u05df\3\2\2\2\u05e0\u05e1")
        buf.write("\3\2\2\2\u05e1\u05e2\3\2\2\2\u05e2\u066e\5\u00a6T\2\u05e3")
        buf.write("\u05e4\t\24\2\2\u05e4\u05e6\5\u00a4S\2\u05e5\u05e7\7w")
        buf.write("\2\2\u05e6\u05e5\3\2\2\2\u05e6\u05e7\3\2\2\2\u05e7\u05e8")
        buf.write("\3\2\2\2\u05e8\u05e9\5\u0128\u0095\2\u05e9\u066e\3\2\2")
        buf.write("\2\u05ea\u05ec\t\24\2\2\u05eb\u05ed\7\u0104\2\2\u05ec")
        buf.write("\u05eb\3\2\2\2\u05ec\u05ed\3\2\2\2\u05ed\u05ef\3\2\2\2")
        buf.write("\u05ee\u05f0\t\25\2\2\u05ef\u05ee\3\2\2\2\u05ef\u05f0")
        buf.write("\3\2\2\2\u05f0\u05f1\3\2\2\2\u05f1\u05f3\5\u0128\u0095")
        buf.write("\2\u05f2\u05f4\5\u00a0Q\2\u05f3\u05f2\3\2\2\2\u05f3\u05f4")
        buf.write("\3\2\2\2\u05f4\u05f6\3\2\2\2\u05f5\u05f7\5\u00a8U\2\u05f6")
        buf.write("\u05f5\3\2\2\2\u05f6\u05f7\3\2\2\2\u05f7\u066e\3\2\2\2")
        buf.write("\u05f8\u05fa\t\24\2\2\u05f9\u05fb\7\u00d7\2\2\u05fa\u05f9")
        buf.write("\3\2\2\2\u05fa\u05fb\3\2\2\2\u05fb\u05fc\3\2\2\2\u05fc")
        buf.write("\u066e\5\u009aN\2\u05fd\u05fe\7N\2\2\u05fe\u05ff\7\u00be")
        buf.write("\2\2\u05ff\u0600\5\u00a4S\2\u0600\u0601\5\u0128\u0095")
        buf.write("\2\u0601\u0602\7\u009c\2\2\u0602\u0603\t\26\2\2\u0603")
        buf.write("\u066e\3\2\2\2\u0604\u0605\7N\2\2\u0605\u0606\7\u00be")
        buf.write("\2\2\u0606\u0607\7\u0104\2\2\u0607\u0608\5\u0128\u0095")
        buf.write("\2\u0608\u0609\7\u009c\2\2\u0609\u060a\t\26\2\2\u060a")
        buf.write("\u066e\3\2\2\2\u060b\u060c\7\u00de\2\2\u060c\u060d\7\u0104")
        buf.write("\2\2\u060d\u066e\5\u0128\u0095\2\u060e\u0616\7\u00de\2")
        buf.write("\2\u060f\u0617\7\u013d\2\2\u0610\u0612\13\2\2\2\u0611")
        buf.write("\u0610\3\2\2\2\u0612\u0615\3\2\2\2\u0613\u0614\3\2\2\2")
        buf.write("\u0613\u0611\3\2\2\2\u0614\u0617\3\2\2\2\u0615\u0613\3")
        buf.write("\2\2\2\u0616\u060f\3\2\2\2\u0616\u0613\3\2\2\2\u0617\u066e")
        buf.write("\3\2\2\2\u0618\u061a\7@\2\2\u0619\u061b\7\u00a2\2\2\u061a")
        buf.write("\u0619\3\2\2\2\u061a\u061b\3\2\2\2\u061b\u061c\3\2\2\2")
        buf.write("\u061c\u061d\7\u0104\2\2\u061d\u0620\5\u0128\u0095\2\u061e")
        buf.write("\u061f\7\u00c1\2\2\u061f\u0621\5\u00b2Z\2\u0620\u061e")
        buf.write("\3\2\2\2\u0620\u0621\3\2\2\2\u0621\u0626\3\2\2\2\u0622")
        buf.write("\u0624\7\67\2\2\u0623\u0622\3\2\2\2\u0623\u0624\3\2\2")
        buf.write("\2\u0624\u0625\3\2\2\2\u0625\u0627\5\u009aN\2\u0626\u0623")
        buf.write("\3\2\2\2\u0626\u0627\3\2\2\2\u0627\u066e\3\2\2\2\u0628")
        buf.write("\u0629\7\u0117\2\2\u0629\u062c\7\u0104\2\2\u062a\u062b")
        buf.write("\7\u008f\2\2\u062b\u062d\7t\2\2\u062c\u062a\3\2\2\2\u062c")
        buf.write("\u062d\3\2\2\2\u062d\u062e\3\2\2\2\u062e\u066e\5\u0128")
        buf.write("\u0095\2\u062f\u0630\7F\2\2\u0630\u066e\7@\2\2\u0631\u0632")
        buf.write("\7\u00a9\2\2\u0632\u0634\7^\2\2\u0633\u0635\7\u00aa\2")
        buf.write("\2\u0634\u0633\3\2\2\2\u0634\u0635\3\2\2\2\u0635\u0636")
        buf.write("\3\2\2\2\u0636\u0637\7\u0096\2\2\u0637\u0639\7\u013d\2")
        buf.write("\2\u0638\u063a\7\u00ca\2\2\u0639\u0638\3\2\2\2\u0639\u063a")
        buf.write("\3\2\2\2\u063a\u063b\3\2\2\2\u063b\u063c\7\u009b\2\2\u063c")
        buf.write("\u063d\7\u0104\2\2\u063d\u063f\5\u0128\u0095\2\u063e\u0640")
        buf.write("\5\u00a0Q\2\u063f\u063e\3\2\2\2\u063f\u0640\3\2\2\2\u0640")
        buf.write("\u066e\3\2\2\2\u0641\u0642\7\u0113\2\2\u0642\u0643\7\u0104")
        buf.write("\2\2\u0643\u0645\5\u0128\u0095\2\u0644\u0646\5\u00a0Q")
        buf.write("\2\u0645\u0644\3\2\2\2\u0645\u0646\3\2\2\2\u0646\u066e")
        buf.write("\3\2\2\2\u0647\u0648\7\u00b5\2\2\u0648\u0649\7\u00e0\2")
        buf.write("\2\u0649\u064a\7\u0104\2\2\u064a\u066e\5\u0128\u0095\2")
        buf.write("\u064b\u064c\t\27\2\2\u064c\u0654\5\u0182\u00c2\2\u064d")
        buf.write("\u0655\7\u013d\2\2\u064e\u0650\13\2\2\2\u064f\u064e\3")
        buf.write("\2\2\2\u0650\u0653\3\2\2\2\u0651\u0652\3\2\2\2\u0651\u064f")
        buf.write("\3\2\2\2\u0652\u0655\3\2\2\2\u0653\u0651\3\2\2\2\u0654")
        buf.write("\u064d\3\2\2\2\u0654\u0651\3\2\2\2\u0655\u066e\3\2\2\2")
        buf.write("\u0656\u0657\7\u00f5\2\2\u0657\u065b\7\u00e7\2\2\u0658")
        buf.write("\u065a\13\2\2\2\u0659\u0658\3\2\2\2\u065a\u065d\3\2\2")
        buf.write("\2\u065b\u065c\3\2\2\2\u065b\u0659\3\2\2\2\u065c\u066e")
        buf.write("\3\2\2\2\u065d\u065b\3\2\2\2\u065e\u0662\7\u00f5\2\2\u065f")
        buf.write("\u0661\13\2\2\2\u0660\u065f\3\2\2\2\u0661\u0664\3\2\2")
        buf.write("\2\u0662\u0663\3\2\2\2\u0662\u0660\3\2\2\2\u0663\u066e")
        buf.write("\3\2\2\2\u0664\u0662\3\2\2\2\u0665\u066e\7\u00e2\2\2\u0666")
        buf.write("\u066a\5\u008cG\2\u0667\u0669\13\2\2\2\u0668\u0667\3\2")
        buf.write("\2\2\u0669\u066c\3\2\2\2\u066a\u066b\3\2\2\2\u066a\u0668")
        buf.write("\3\2\2\2\u066b\u066e\3\2\2\2\u066c\u066a\3\2\2\2\u066d")
        buf.write("\u03ac\3\2\2\2\u066d\u03ae\3\2\2\2\u066d\u03b1\3\2\2\2")
        buf.write("\u066d\u03b6\3\2\2\2\u066d\u03c8\3\2\2\2\u066d\u03cf\3")
        buf.write("\2\2\2\u066d\u03d5\3\2\2\2\u066d\u03df\3\2\2\2\u066d\u03eb")
        buf.write("\3\2\2\2\u066d\u03fa\3\2\2\2\u066d\u041f\3\2\2\2\u066d")
        buf.write("\u0434\3\2\2\2\u066d\u0443\3\2\2\2\u066d\u0454\3\2\2\2")
        buf.write("\u066d\u045b\3\2\2\2\u066d\u0464\3\2\2\2\u066d\u046d\3")
        buf.write("\2\2\2\u066d\u0476\3\2\2\2\u066d\u047d\3\2\2\2\u066d\u0484")
        buf.write("\3\2\2\2\u066d\u048b\3\2\2\2\u066d\u0496\3\2\2\2\u066d")
        buf.write("\u04a1\3\2\2\2\u066d\u04b0\3\2\2\2\u066d\u04bc\3\2\2\2")
        buf.write("\u066d\u04ca\3\2\2\2\u066d\u04d4\3\2\2\2\u066d\u04e2\3")
        buf.write("\2\2\2\u066d\u04ea\3\2\2\2\u066d\u04fd\3\2\2\2\u066d\u0506")
        buf.write("\3\2\2\2\u066d\u050c\3\2\2\2\u066d\u0516\3\2\2\2\u066d")
        buf.write("\u051d\3\2\2\2\u066d\u0540\3\2\2\2\u066d\u0556\3\2\2\2")
        buf.write("\u066d\u055e\3\2\2\2\u066d\u057a\3\2\2\2\u066d\u0584\3")
        buf.write("\2\2\2\u066d\u0589\3\2\2\2\u066d\u0595\3\2\2\2\u066d\u05a1")
        buf.write("\3\2\2\2\u066d\u05aa\3\2\2\2\u066d\u05b2\3\2\2\2\u066d")
        buf.write("\u05be\3\2\2\2\u066d\u05c4\3\2\2\2\u066d\u05d2\3\2\2\2")
        buf.write("\u066d\u05da\3\2\2\2\u066d\u05dd\3\2\2\2\u066d\u05e3\3")
        buf.write("\2\2\2\u066d\u05ea\3\2\2\2\u066d\u05f8\3\2\2\2\u066d\u05fd")
        buf.write("\3\2\2\2\u066d\u0604\3\2\2\2\u066d\u060b\3\2\2\2\u066d")
        buf.write("\u060e\3\2\2\2\u066d\u0618\3\2\2\2\u066d\u0628\3\2\2\2")
        buf.write("\u066d\u062f\3\2\2\2\u066d\u0631\3\2\2\2\u066d\u0641\3")
        buf.write("\2\2\2\u066d\u0647\3\2\2\2\u066d\u064b\3\2\2\2\u066d\u0656")
        buf.write("\3\2\2\2\u066d\u065e\3\2\2\2\u066d\u0665\3\2\2\2\u066d")
        buf.write("\u0666\3\2\2\2\u066e\u008b\3\2\2\2\u066f\u0670\7V\2\2")
        buf.write("\u0670\u0718\7\u00e7\2\2\u0671\u0672\7m\2\2\u0672\u0718")
        buf.write("\7\u00e7\2\2\u0673\u0675\7\u008a\2\2\u0674\u0676\7\u00e7")
        buf.write("\2\2\u0675\u0674\3\2\2\2\u0675\u0676\3\2\2\2\u0676\u0718")
        buf.write("\3\2\2\2\u0677\u0679\7\u00e4\2\2\u0678\u067a\7\u00e7\2")
        buf.write("\2\u0679\u0678\3\2\2\2\u0679\u067a\3\2\2\2\u067a\u0718")
        buf.write("\3\2\2\2\u067b\u067c\7\u00f8\2\2\u067c\u0718\7\u008a\2")
        buf.write("\2\u067d\u067e\7\u00f8\2\2\u067e\u0680\7\u00e7\2\2\u067f")
        buf.write("\u0681\7\u008a\2\2\u0680\u067f\3\2\2\2\u0680\u0681\3\2")
        buf.write("\2\2\u0681\u0718\3\2\2\2\u0682\u0683\7\u00f8\2\2\u0683")
        buf.write("\u0718\7\u00d4\2\2\u0684\u0685\7\u00f8\2\2\u0685\u0718")
        buf.write("\7\u00e8\2\2\u0686\u0687\7\u00f8\2\2\u0687\u0688\7Y\2")
        buf.write("\2\u0688\u0718\7\u00e8\2\2\u0689\u068a\7v\2\2\u068a\u0718")
        buf.write("\7\u0104\2\2\u068b\u068c\7\u0091\2\2\u068c\u0718\7\u0104")
        buf.write("\2\2\u068d\u068e\7\u00f8\2\2\u068e\u0718\7Q\2\2\u068f")
        buf.write("\u0690\7\u00f8\2\2\u0690\u0691\7V\2\2\u0691\u0718\7\u0104")
        buf.write("\2\2\u0692\u0693\7\u00f8\2\2\u0693\u0718\7\u010f\2\2\u0694")
        buf.write("\u0695\7\u00f8\2\2\u0695\u0718\7\u0094\2\2\u0696\u0697")
        buf.write("\7\u00f8\2\2\u0697\u0718\7\u00ad\2\2\u0698\u0699\7V\2")
        buf.write("\2\u0699\u0718\7\u0093\2\2\u069a\u069b\7m\2\2\u069b\u0718")
        buf.write("\7\u0093\2\2\u069c\u069d\7\60\2\2\u069d\u0718\7\u0093")
        buf.write("\2\2\u069e\u069f\7\u00ac\2\2\u069f\u0718\7\u0104\2\2\u06a0")
        buf.write("\u06a1\7\u00ac\2\2\u06a1\u0718\7_\2\2\u06a2\u06a3\7\u011b")
        buf.write("\2\2\u06a3\u0718\7\u0104\2\2\u06a4\u06a5\7\u011b\2\2\u06a5")
        buf.write("\u0718\7_\2\2\u06a6\u06a7\7V\2\2\u06a7\u06a8\7\u0108\2")
        buf.write("\2\u06a8\u0718\7\u00af\2\2\u06a9\u06aa\7m\2\2\u06aa\u06ab")
        buf.write("\7\u0108\2\2\u06ab\u0718\7\u00af\2\2\u06ac\u06ad\7\60")
        buf.write("\2\2\u06ad\u06ae\7\u0104\2\2\u06ae\u06af\5\u012a\u0096")
        buf.write("\2\u06af\u06b0\7\u00ba\2\2\u06b0\u06b1\7H\2\2\u06b1\u0718")
        buf.write("\3\2\2\2\u06b2\u06b3\7\60\2\2\u06b3\u06b4\7\u0104\2\2")
        buf.write("\u06b4\u06b5\5\u012a\u0096\2\u06b5\u06b6\7H\2\2\u06b6")
        buf.write("\u06b7\7?\2\2\u06b7\u0718\3\2\2\2\u06b8\u06b9\7\60\2\2")
        buf.write("\u06b9\u06ba\7\u0104\2\2\u06ba\u06bb\5\u012a\u0096\2\u06bb")
        buf.write("\u06bc\7\u00ba\2\2\u06bc\u06bd\7\u00fc\2\2\u06bd\u0718")
        buf.write("\3\2\2\2\u06be\u06bf\7\60\2\2\u06bf\u06c0\7\u0104\2\2")
        buf.write("\u06c0\u06c1\5\u012a\u0096\2\u06c1\u06c2\7\u00f9\2\2\u06c2")
        buf.write("\u06c3\7?\2\2\u06c3\u0718\3\2\2\2\u06c4\u06c5\7\60\2\2")
        buf.write("\u06c5\u06c6\7\u0104\2\2\u06c6\u06c7\5\u012a\u0096\2\u06c7")
        buf.write("\u06c8\7\u00ba\2\2\u06c8\u06c9\7\u00f9\2\2\u06c9\u0718")
        buf.write("\3\2\2\2\u06ca\u06cb\7\60\2\2\u06cb\u06cc\7\u0104\2\2")
        buf.write("\u06cc\u06cd\5\u012a\u0096\2\u06cd\u06ce\7\u00ba\2\2\u06ce")
        buf.write("\u06cf\7\u00ff\2\2\u06cf\u06d0\7\67\2\2\u06d0\u06d1\7")
        buf.write("i\2\2\u06d1\u0718\3\2\2\2\u06d2\u06d3\7\60\2\2\u06d3\u06d4")
        buf.write("\7\u0104\2\2\u06d4\u06d5\5\u012a\u0096\2\u06d5\u06d6\7")
        buf.write("\u00f5\2\2\u06d6\u06d7\7\u00f9\2\2\u06d7\u06d8\7\u00ab")
        buf.write("\2\2\u06d8\u0718\3\2\2\2\u06d9\u06da\7\60\2\2\u06da\u06db")
        buf.write("\7\u0104\2\2\u06db\u06dc\5\u012a\u0096\2\u06dc\u06dd\7")
        buf.write("s\2\2\u06dd\u06de\7\u00cb\2\2\u06de\u0718\3\2\2\2\u06df")
        buf.write("\u06e0\7\60\2\2\u06e0\u06e1\7\u0104\2\2\u06e1\u06e2\5")
        buf.write("\u012a\u0096\2\u06e2\u06e3\7\65\2\2\u06e3\u06e4\7\u00cb")
        buf.write("\2\2\u06e4\u0718\3\2\2\2\u06e5\u06e6\7\60\2\2\u06e6\u06e7")
        buf.write("\7\u0104\2\2\u06e7\u06e8\5\u012a\u0096\2\u06e8\u06e9\7")
        buf.write("\u0115\2\2\u06e9\u06ea\7\u00cb\2\2\u06ea\u0718\3\2\2\2")
        buf.write("\u06eb\u06ec\7\60\2\2\u06ec\u06ed\7\u0104\2\2\u06ed\u06ee")
        buf.write("\5\u012a\u0096\2\u06ee\u06ef\7\u010c\2\2\u06ef\u0718\3")
        buf.write("\2\2\2\u06f0\u06f1\7\60\2\2\u06f1\u06f2\7\u0104\2\2\u06f2")
        buf.write("\u06f4\5\u012a\u0096\2\u06f3\u06f5\5\u00a0Q\2\u06f4\u06f3")
        buf.write("\3\2\2\2\u06f4\u06f5\3\2\2\2\u06f5\u06f6\3\2\2\2\u06f6")
        buf.write("\u06f7\7P\2\2\u06f7\u0718\3\2\2\2\u06f8\u06f9\7\60\2\2")
        buf.write("\u06f9\u06fa\7\u0104\2\2\u06fa\u06fc\5\u012a\u0096\2\u06fb")
        buf.write("\u06fd\5\u00a0Q\2\u06fc\u06fb\3\2\2\2\u06fc\u06fd\3\2")
        buf.write("\2\2\u06fd\u06fe\3\2\2\2\u06fe\u06ff\7S\2\2\u06ff\u0718")
        buf.write("\3\2\2\2\u0700\u0701\7\60\2\2\u0701\u0702\7\u0104\2\2")
        buf.write("\u0702\u0704\5\u012a\u0096\2\u0703\u0705\5\u00a0Q\2\u0704")
        buf.write("\u0703\3\2\2\2\u0704\u0705\3\2\2\2\u0705\u0706\3\2\2\2")
        buf.write("\u0706\u0707\7\u00f5\2\2\u0707\u0708\7~\2\2\u0708\u0718")
        buf.write("\3\2\2\2\u0709\u070a\7\60\2\2\u070a\u070b\7\u0104\2\2")
        buf.write("\u070b\u070d\5\u012a\u0096\2\u070c\u070e\5\u00a0Q\2\u070d")
        buf.write("\u070c\3\2\2\2\u070d\u070e\3\2\2\2\u070e\u070f\3\2\2\2")
        buf.write("\u070f\u0710\7\u00e1\2\2\u0710\u0711\7M\2\2\u0711\u0718")
        buf.write("\3\2\2\2\u0712\u0713\7\u00fd\2\2\u0713\u0718\7\u010e\2")
        buf.write("\2\u0714\u0718\7O\2\2\u0715\u0718\7\u00e9\2\2\u0716\u0718")
        buf.write("\7h\2\2\u0717\u066f\3\2\2\2\u0717\u0671\3\2\2\2\u0717")
        buf.write("\u0673\3\2\2\2\u0717\u0677\3\2\2\2\u0717\u067b\3\2\2\2")
        buf.write("\u0717\u067d\3\2\2\2\u0717\u0682\3\2\2\2\u0717\u0684\3")
        buf.write("\2\2\2\u0717\u0686\3\2\2\2\u0717\u0689\3\2\2\2\u0717\u068b")
        buf.write("\3\2\2\2\u0717\u068d\3\2\2\2\u0717\u068f\3\2\2\2\u0717")
        buf.write("\u0692\3\2\2\2\u0717\u0694\3\2\2\2\u0717\u0696\3\2\2\2")
        buf.write("\u0717\u0698\3\2\2\2\u0717\u069a\3\2\2\2\u0717\u069c\3")
        buf.write("\2\2\2\u0717\u069e\3\2\2\2\u0717\u06a0\3\2\2\2\u0717\u06a2")
        buf.write("\3\2\2\2\u0717\u06a4\3\2\2\2\u0717\u06a6\3\2\2\2\u0717")
        buf.write("\u06a9\3\2\2\2\u0717\u06ac\3\2\2\2\u0717\u06b2\3\2\2\2")
        buf.write("\u0717\u06b8\3\2\2\2\u0717\u06be\3\2\2\2\u0717\u06c4\3")
        buf.write("\2\2\2\u0717\u06ca\3\2\2\2\u0717\u06d2\3\2\2\2\u0717\u06d9")
        buf.write("\3\2\2\2\u0717\u06df\3\2\2\2\u0717\u06e5\3\2\2\2\u0717")
        buf.write("\u06eb\3\2\2\2\u0717\u06f0\3\2\2\2\u0717\u06f8\3\2\2\2")
        buf.write("\u0717\u0700\3\2\2\2\u0717\u0709\3\2\2\2\u0717\u0712\3")
        buf.write("\2\2\2\u0717\u0714\3\2\2\2\u0717\u0715\3\2\2\2\u0717\u0716")
        buf.write("\3\2\2\2\u0718\u008d\3\2\2\2\u0719\u071b\7V\2\2\u071a")
        buf.write("\u071c\7\u0108\2\2\u071b\u071a\3\2\2\2\u071b\u071c\3\2")
        buf.write("\2\2\u071c\u071e\3\2\2\2\u071d\u071f\7x\2\2\u071e\u071d")
        buf.write("\3\2\2\2\u071e\u071f\3\2\2\2\u071f\u0720\3\2\2\2\u0720")
        buf.write("\u0724\7\u0104\2\2\u0721\u0722\7\u008f\2\2\u0722\u0723")
        buf.write("\7\u00ba\2\2\u0723\u0725\7t\2\2\u0724\u0721\3\2\2\2\u0724")
        buf.write("\u0725\3\2\2\2\u0725\u0726\3\2\2\2\u0726\u0727\5\u0128")
        buf.write("\u0095\2\u0727\u008f\3\2\2\2\u0728\u0729\7V\2\2\u0729")
        buf.write("\u072b\7\u00c2\2\2\u072a\u0728\3\2\2\2\u072a\u072b\3\2")
        buf.write("\2\2\u072b\u072c\3\2\2\2\u072c\u072d\7\u00e1\2\2\u072d")
        buf.write("\u072e\7\u0104\2\2\u072e\u072f\5\u0128\u0095\2\u072f\u0091")
        buf.write("\3\2\2\2\u0730\u0731\7H\2\2\u0731\u0732\7?\2\2\u0732\u0736")
        buf.write("\5\u0110\u0089\2\u0733\u0734\7\u00fc\2\2\u0734\u0735\7")
        buf.write("?\2\2\u0735\u0737\5\u0114\u008b\2\u0736\u0733\3\2\2\2")
        buf.write("\u0736\u0737\3\2\2\2\u0737\u0738\3\2\2\2\u0738\u0739\7")
        buf.write("\u009b\2\2\u0739\u073a\7\u0141\2\2\u073a\u073b\7>\2\2")
        buf.write("\u073b\u0093\3\2\2\2\u073c\u073d\7\u00f9\2\2\u073d\u073e")
        buf.write("\7?\2\2\u073e\u073f\5\u0110\u0089\2\u073f\u0742\7\u00be")
        buf.write("\2\2\u0740\u0743\5\u00ba^\2\u0741\u0743\5\u00bc_\2\u0742")
        buf.write("\u0740\3\2\2\2\u0742\u0741\3\2\2\2\u0743\u0747\3\2\2\2")
        buf.write("\u0744\u0745\7\u00ff\2\2\u0745\u0746\7\67\2\2\u0746\u0748")
        buf.write("\7i\2\2\u0747\u0744\3\2\2\2\u0747\u0748\3\2\2\2\u0748")
        buf.write("\u0095\3\2\2\2\u0749\u074a\7\u00ab\2\2\u074a\u074b\7\u013d")
        buf.write("\2\2\u074b\u0097\3\2\2\2\u074c\u074d\7N\2\2\u074d\u074e")
        buf.write("\7\u013d\2\2\u074e\u0099\3\2\2\2\u074f\u0751\5\u00aaV")
        buf.write("\2\u0750\u074f\3\2\2\2\u0750\u0751\3\2\2\2\u0751\u0752")
        buf.write("\3\2\2\2\u0752\u0753\5\u00ccg\2\u0753\u0754\5\u00c8e\2")
        buf.write("\u0754\u009b\3\2\2\2\u0755\u0756\7\u0098\2\2\u0756\u0758")
        buf.write("\7\u00ca\2\2\u0757\u0759\7\u0104\2\2\u0758\u0757\3\2\2")
        buf.write("\2\u0758\u0759\3\2\2\2\u0759\u075a\3\2\2\2\u075a\u0761")
        buf.write("\5\u0128\u0095\2\u075b\u075f\5\u00a0Q\2\u075c\u075d\7")
        buf.write("\u008f\2\2\u075d\u075e\7\u00ba\2\2\u075e\u0760\7t\2\2")
        buf.write("\u075f\u075c\3\2\2\2\u075f\u0760\3\2\2\2\u0760\u0762\3")
        buf.write("\2\2\2\u0761\u075b\3\2\2\2\u0761\u0762\3\2\2\2\u0762\u078d")
        buf.write("\3\2\2\2\u0763\u0764\7\u0098\2\2\u0764\u0766\7\u009b\2")
        buf.write("\2\u0765\u0767\7\u0104\2\2\u0766\u0765\3\2\2\2\u0766\u0767")
        buf.write("\3\2\2\2\u0767\u0768\3\2\2\2\u0768\u076a\5\u0128\u0095")
        buf.write("\2\u0769\u076b\5\u00a0Q\2\u076a\u0769\3\2\2\2\u076a\u076b")
        buf.write("\3\2\2\2\u076b\u076f\3\2\2\2\u076c\u076d\7\u008f\2\2\u076d")
        buf.write("\u076e\7\u00ba\2\2\u076e\u0770\7t\2\2\u076f\u076c\3\2")
        buf.write("\2\2\u076f\u0770\3\2\2\2\u0770\u078d\3\2\2\2\u0771\u0772")
        buf.write("\7\u0098\2\2\u0772\u0774\7\u00ca\2\2\u0773\u0775\7\u00aa")
        buf.write("\2\2\u0774\u0773\3\2\2\2\u0774\u0775\3\2\2\2\u0775\u0776")
        buf.write("\3\2\2\2\u0776\u0777\7j\2\2\u0777\u0779\7\u013d\2\2\u0778")
        buf.write("\u077a\5\u0124\u0093\2\u0779\u0778\3\2\2\2\u0779\u077a")
        buf.write("\3\2\2\2\u077a\u077c\3\2\2\2\u077b\u077d\5\u00be`\2\u077c")
        buf.write("\u077b\3\2\2\2\u077c\u077d\3\2\2\2\u077d\u078d\3\2\2\2")
        buf.write("\u077e\u077f\7\u0098\2\2\u077f\u0781\7\u00ca\2\2\u0780")
        buf.write("\u0782\7\u00aa\2\2\u0781\u0780\3\2\2\2\u0781\u0782\3\2")
        buf.write("\2\2\u0782\u0783\3\2\2\2\u0783\u0785\7j\2\2\u0784\u0786")
        buf.write("\7\u013d\2\2\u0785\u0784\3\2\2\2\u0785\u0786\3\2\2\2\u0786")
        buf.write("\u0787\3\2\2\2\u0787\u078a\5\u00aeX\2\u0788\u0789\7\u00c1")
        buf.write("\2\2\u0789\u078b\5\u00b2Z\2\u078a\u0788\3\2\2\2\u078a")
        buf.write("\u078b\3\2\2\2\u078b\u078d\3\2\2\2\u078c\u0755\3\2\2\2")
        buf.write("\u078c\u0763\3\2\2\2\u078c\u0771\3\2\2\2\u078c\u077e\3")
        buf.write("\2\2\2\u078d\u009d\3\2\2\2\u078e\u0790\5\u00a0Q\2\u078f")
        buf.write("\u0791\5\u0096L\2\u0790\u078f\3\2\2\2\u0790\u0791\3\2")
        buf.write("\2\2\u0791\u009f\3\2\2\2\u0792\u0793\7\u00cb\2\2\u0793")
        buf.write("\u0794\7\5\2\2\u0794\u0799\5\u00a2R\2\u0795\u0796\7\3")
        buf.write("\2\2\u0796\u0798\5\u00a2R\2\u0797\u0795\3\2\2\2\u0798")
        buf.write("\u079b\3\2\2\2\u0799\u0797\3\2\2\2\u0799\u079a\3\2\2\2")
        buf.write("\u079a\u079c\3\2\2\2\u079b\u0799\3\2\2\2\u079c\u079d\7")
        buf.write("\6\2\2\u079d\u00a1\3\2\2\2\u079e\u07a1\5\u0182\u00c2\2")
        buf.write("\u079f\u07a0\7\u0129\2\2\u07a0\u07a2\5\u0142\u00a2\2\u07a1")
        buf.write("\u079f\3\2\2\2\u07a1\u07a2\3\2\2\2\u07a2\u00a3\3\2\2\2")
        buf.write("\u07a3\u07a4\t\30\2\2\u07a4\u00a5\3\2\2\2\u07a5\u07ab")
        buf.write("\5\u017c\u00bf\2\u07a6\u07ab\7\u013d\2\2\u07a7\u07ab\5")
        buf.write("\u0144\u00a3\2\u07a8\u07ab\5\u0148\u00a5\2\u07a9\u07ab")
        buf.write("\5\u014a\u00a6\2\u07aa\u07a5\3\2\2\2\u07aa\u07a6\3\2\2")
        buf.write("\2\u07aa\u07a7\3\2\2\2\u07aa\u07a8\3\2\2\2\u07aa\u07a9")
        buf.write("\3\2\2\2\u07ab\u00a7\3\2\2\2\u07ac\u07b1\5\u0182\u00c2")
        buf.write("\2\u07ad\u07ae\7\7\2\2\u07ae\u07b0\5\u0182\u00c2\2\u07af")
        buf.write("\u07ad\3\2\2\2\u07b0\u07b3\3\2\2\2\u07b1\u07af\3\2\2\2")
        buf.write("\u07b1\u07b2\3\2\2\2\u07b2\u00a9\3\2\2\2\u07b3\u07b1\3")
        buf.write("\2\2\2\u07b4\u07b5\7\u0127\2\2\u07b5\u07ba\5\u00acW\2")
        buf.write("\u07b6\u07b7\7\3\2\2\u07b7\u07b9\5\u00acW\2\u07b8\u07b6")
        buf.write("\3\2\2\2\u07b9\u07bc\3\2\2\2\u07ba\u07b8\3\2\2\2\u07ba")
        buf.write("\u07bb\3\2\2\2\u07bb\u00ab\3\2\2\2\u07bc\u07ba\3\2\2\2")
        buf.write("\u07bd\u07bf\5\u017e\u00c0\2\u07be\u07c0\5\u0110\u0089")
        buf.write("\2\u07bf\u07be\3\2\2\2\u07bf\u07c0\3\2\2\2\u07c0\u07c2")
        buf.write("\3\2\2\2\u07c1\u07c3\7\67\2\2\u07c2\u07c1\3\2\2\2\u07c2")
        buf.write("\u07c3\3\2\2\2\u07c3\u07c4\3\2\2\2\u07c4\u07c5\7\5\2\2")
        buf.write("\u07c5\u07c6\5\u009aN\2\u07c6\u07c7\7\6\2\2\u07c7\u00ad")
        buf.write("\3\2\2\2\u07c8\u07c9\7\u0120\2\2\u07c9\u07ca\5\u0128\u0095")
        buf.write("\2\u07ca\u00af\3\2\2\2\u07cb\u07cc\7\u00c1\2\2\u07cc\u07d6")
        buf.write("\5\u00b2Z\2\u07cd\u07ce\7\u00cc\2\2\u07ce\u07cf\7?\2\2")
        buf.write("\u07cf\u07d6\5\u0132\u009a\2\u07d0\u07d6\5\u0092J\2\u07d1")
        buf.write("\u07d6\5\u0096L\2\u07d2\u07d6\5\u0098M\2\u07d3\u07d4\7")
        buf.write("\u0107\2\2\u07d4\u07d6\5\u00b2Z\2\u07d5\u07cb\3\2\2\2")
        buf.write("\u07d5\u07cd\3\2\2\2\u07d5\u07d0\3\2\2\2\u07d5\u07d1\3")
        buf.write("\2\2\2\u07d5\u07d2\3\2\2\2\u07d5\u07d3\3\2\2\2\u07d6\u07d9")
        buf.write("\3\2\2\2\u07d7\u07d5\3\2\2\2\u07d7\u07d8\3\2\2\2\u07d8")
        buf.write("\u00b1\3\2\2\2\u07d9\u07d7\3\2\2\2\u07da\u07db\7\5\2\2")
        buf.write("\u07db\u07e0\5\u00b4[\2\u07dc\u07dd\7\3\2\2\u07dd\u07df")
        buf.write("\5\u00b4[\2\u07de\u07dc\3\2\2\2\u07df\u07e2\3\2\2\2\u07e0")
        buf.write("\u07de\3\2\2\2\u07e0\u07e1\3\2\2\2\u07e1\u07e3\3\2\2\2")
        buf.write("\u07e2\u07e0\3\2\2\2\u07e3\u07e4\7\6\2\2\u07e4\u00b3\3")
        buf.write("\2\2\2\u07e5\u07ea\5\u00b6\\\2\u07e6\u07e8\7\u0129\2\2")
        buf.write("\u07e7\u07e6\3\2\2\2\u07e7\u07e8\3\2\2\2\u07e8\u07e9\3")
        buf.write("\2\2\2\u07e9\u07eb\5\u00b8]\2\u07ea\u07e7\3\2\2\2\u07ea")
        buf.write("\u07eb\3\2\2\2\u07eb\u00b5\3\2\2\2\u07ec\u07f1\5\u0182")
        buf.write("\u00c2\2\u07ed\u07ee\7\7\2\2\u07ee\u07f0\5\u0182\u00c2")
        buf.write("\2\u07ef\u07ed\3\2\2\2\u07f0\u07f3\3\2\2\2\u07f1\u07ef")
        buf.write("\3\2\2\2\u07f1\u07f2\3\2\2\2\u07f2\u07f6\3\2\2\2\u07f3")
        buf.write("\u07f1\3\2\2\2\u07f4\u07f6\7\u013d\2\2\u07f5\u07ec\3\2")
        buf.write("\2\2\u07f5\u07f4\3\2\2\2\u07f6\u00b7\3\2\2\2\u07f7\u07fc")
        buf.write("\7\u0141\2\2\u07f8\u07fc\7\u0143\2\2\u07f9\u07fc\5\u014c")
        buf.write("\u00a7\2\u07fa\u07fc\7\u013d\2\2\u07fb\u07f7\3\2\2\2\u07fb")
        buf.write("\u07f8\3\2\2\2\u07fb\u07f9\3\2\2\2\u07fb\u07fa\3\2\2\2")
        buf.write("\u07fc\u00b9\3\2\2\2\u07fd\u07fe\7\5\2\2\u07fe\u0803\5")
        buf.write("\u0142\u00a2\2\u07ff\u0800\7\3\2\2\u0800\u0802\5\u0142")
        buf.write("\u00a2\2\u0801\u07ff\3\2\2\2\u0802\u0805\3\2\2\2\u0803")
        buf.write("\u0801\3\2\2\2\u0803\u0804\3\2\2\2\u0804\u0806\3\2\2\2")
        buf.write("\u0805\u0803\3\2\2\2\u0806\u0807\7\6\2\2\u0807\u00bb\3")
        buf.write("\2\2\2\u0808\u0809\7\5\2\2\u0809\u080e\5\u00ba^\2\u080a")
        buf.write("\u080b\7\3\2\2\u080b\u080d\5\u00ba^\2\u080c\u080a\3\2")
        buf.write("\2\2\u080d\u0810\3\2\2\2\u080e\u080c\3\2\2\2\u080e\u080f")
        buf.write("\3\2\2\2\u080f\u0811\3\2\2\2\u0810\u080e\3\2\2\2\u0811")
        buf.write("\u0812\7\6\2\2\u0812\u00bd\3\2\2\2\u0813\u0814\7\u00ff")
        buf.write("\2\2\u0814\u0815\7\67\2\2\u0815\u081a\5\u00c0a\2\u0816")
        buf.write("\u0817\7\u00ff\2\2\u0817\u0818\7?\2\2\u0818\u081a\5\u00c2")
        buf.write("b\2\u0819\u0813\3\2\2\2\u0819\u0816\3\2\2\2\u081a\u00bf")
        buf.write("\3\2\2\2\u081b\u081c\7\u0097\2\2\u081c\u081d\7\u013d\2")
        buf.write("\2\u081d\u081e\7\u00c6\2\2\u081e\u0821\7\u013d\2\2\u081f")
        buf.write("\u0821\5\u0182\u00c2\2\u0820\u081b\3\2\2\2\u0820\u081f")
        buf.write("\3\2\2\2\u0821\u00c1\3\2\2\2\u0822\u0826\7\u013d\2\2\u0823")
        buf.write("\u0824\7\u0127\2\2\u0824\u0825\7\u00f3\2\2\u0825\u0827")
        buf.write("\5\u00b2Z\2\u0826\u0823\3\2\2\2\u0826\u0827\3\2\2\2\u0827")
        buf.write("\u00c3\3\2\2\2\u0828\u0829\5\u0182\u00c2\2\u0829\u082a")
        buf.write("\7\u013d\2\2\u082a\u00c5\3\2\2\2\u082b\u082c\5\u009cO")
        buf.write("\2\u082c\u082d\5\u00ccg\2\u082d\u082e\5\u00c8e\2\u082e")
        buf.write("\u085f\3\2\2\2\u082f\u0831\5\u00f4{\2\u0830\u0832\5\u00ca")
        buf.write("f\2\u0831\u0830\3\2\2\2\u0832\u0833\3\2\2\2\u0833\u0831")
        buf.write("\3\2\2\2\u0833\u0834\3\2\2\2\u0834\u085f\3\2\2\2\u0835")
        buf.write("\u0836\7d\2\2\u0836\u0837\7\u0085\2\2\u0837\u0838\5\u0128")
        buf.write("\u0095\2\u0838\u083a\5\u0122\u0092\2\u0839\u083b\5\u00ec")
        buf.write("w\2\u083a\u0839\3\2\2\2\u083a\u083b\3\2\2\2\u083b\u085f")
        buf.write("\3\2\2\2\u083c\u083d\7\u011d\2\2\u083d\u083e\5\u0128\u0095")
        buf.write("\2\u083e\u083f\5\u0122\u0092\2\u083f\u0841\5\u00dep\2")
        buf.write("\u0840\u0842\5\u00ecw\2\u0841\u0840\3\2\2\2\u0841\u0842")
        buf.write("\3\2\2\2\u0842\u085f\3\2\2\2\u0843\u0844\7\u00b2\2\2\u0844")
        buf.write("\u0845\7\u009b\2\2\u0845\u0846\5\u0128\u0095\2\u0846\u0847")
        buf.write("\5\u0122\u0092\2\u0847\u084d\7\u0120\2\2\u0848\u084e\5")
        buf.write("\u0128\u0095\2\u0849\u084a\7\5\2\2\u084a\u084b\5\u009a")
        buf.write("N\2\u084b\u084c\7\6\2\2\u084c\u084e\3\2\2\2\u084d\u0848")
        buf.write("\3\2\2\2\u084d\u0849\3\2\2\2\u084e\u084f\3\2\2\2\u084f")
        buf.write("\u0850\5\u0122\u0092\2\u0850\u0851\7\u00be\2\2\u0851\u0855")
        buf.write("\5\u013a\u009e\2\u0852\u0854\5\u00e0q\2\u0853\u0852\3")
        buf.write("\2\2\2\u0854\u0857\3\2\2\2\u0855\u0853\3\2\2\2\u0855\u0856")
        buf.write("\3\2\2\2\u0856\u085b\3\2\2\2\u0857\u0855\3\2\2\2\u0858")
        buf.write("\u085a\5\u00e2r\2\u0859\u0858\3\2\2\2\u085a\u085d\3\2")
        buf.write("\2\2\u085b\u0859\3\2\2\2\u085b\u085c\3\2\2\2\u085c\u085f")
        buf.write("\3\2\2\2\u085d\u085b\3\2\2\2\u085e\u082b\3\2\2\2\u085e")
        buf.write("\u082f\3\2\2\2\u085e\u0835\3\2\2\2\u085e\u083c\3\2\2\2")
        buf.write("\u085e\u0843\3\2\2\2\u085f\u00c7\3\2\2\2\u0860\u0861\7")
        buf.write("\u00c3\2\2\u0861\u0862\7?\2\2\u0862\u0867\5\u00d0i\2\u0863")
        buf.write("\u0864\7\3\2\2\u0864\u0866\5\u00d0i\2\u0865\u0863\3\2")
        buf.write("\2\2\u0866\u0869\3\2\2\2\u0867\u0865\3\2\2\2\u0867\u0868")
        buf.write("\3\2\2\2\u0868\u086b\3\2\2\2\u0869\u0867\3\2\2\2\u086a")
        buf.write("\u0860\3\2\2\2\u086a\u086b\3\2\2\2\u086b\u0876\3\2\2\2")
        buf.write("\u086c\u086d\7G\2\2\u086d\u086e\7?\2\2\u086e\u0873\5\u0138")
        buf.write("\u009d\2\u086f\u0870\7\3\2\2\u0870\u0872\5\u0138\u009d")
        buf.write("\2\u0871\u086f\3\2\2\2\u0872\u0875\3\2\2\2\u0873\u0871")
        buf.write("\3\2\2\2\u0873\u0874\3\2\2\2\u0874\u0877\3\2\2\2\u0875")
        buf.write("\u0873\3\2\2\2\u0876\u086c\3\2\2\2\u0876\u0877\3\2\2\2")
        buf.write("\u0877\u0882\3\2\2\2\u0878\u0879\7l\2\2\u0879\u087a\7")
        buf.write("?\2\2\u087a\u087f\5\u0138\u009d\2\u087b\u087c\7\3\2\2")
        buf.write("\u087c\u087e\5\u0138\u009d\2\u087d\u087b\3\2\2\2\u087e")
        buf.write("\u0881\3\2\2\2\u087f\u087d\3\2\2\2\u087f\u0880\3\2\2\2")
        buf.write("\u0880\u0883\3\2\2\2\u0881\u087f\3\2\2\2\u0882\u0878\3")
        buf.write("\2\2\2\u0882\u0883\3\2\2\2\u0883\u088e\3\2\2\2\u0884\u0885")
        buf.write("\7\u00fb\2\2\u0885\u0886\7?\2\2\u0886\u088b\5\u00d0i\2")
        buf.write("\u0887\u0888\7\3\2\2\u0888\u088a\5\u00d0i\2\u0889\u0887")
        buf.write("\3\2\2\2\u088a\u088d\3\2\2\2\u088b\u0889\3\2\2\2\u088b")
        buf.write("\u088c\3\2\2\2\u088c\u088f\3\2\2\2\u088d\u088b\3\2\2\2")
        buf.write("\u088e\u0884\3\2\2\2\u088e\u088f\3\2\2\2\u088f\u0891\3")
        buf.write("\2\2\2\u0890\u0892\5\u016e\u00b8\2\u0891\u0890\3\2\2\2")
        buf.write("\u0891\u0892\3\2\2\2\u0892\u0898\3\2\2\2\u0893\u0896\7")
        buf.write("\u00a6\2\2\u0894\u0897\7/\2\2\u0895\u0897\5\u0138\u009d")
        buf.write("\2\u0896\u0894\3\2\2\2\u0896\u0895\3\2\2\2\u0897\u0899")
        buf.write("\3\2\2\2\u0898\u0893\3\2\2\2\u0898\u0899\3\2\2\2\u0899")
        buf.write("\u00c9\3\2\2\2\u089a\u089b\5\u009cO\2\u089b\u089c\5\u00d4")
        buf.write("k\2\u089c\u00cb\3\2\2\2\u089d\u089e\bg\1\2\u089e\u08a1")
        buf.write("\5\u00ceh\2\u089f\u08a1\5\n\6\2\u08a0\u089d\3\2\2\2\u08a0")
        buf.write("\u089f\3\2\2\2\u08a1\u08b9\3\2\2\2\u08a2\u08a3\f\5\2\2")
        buf.write("\u08a3\u08a4\6g\5\2\u08a4\u08a6\t\31\2\2\u08a5\u08a7\5")
        buf.write("\u0102\u0082\2\u08a6\u08a5\3\2\2\2\u08a6\u08a7\3\2\2\2")
        buf.write("\u08a7\u08a8\3\2\2\2\u08a8\u08b8\5\u00ccg\6\u08a9\u08aa")
        buf.write("\f\4\2\2\u08aa\u08ab\6g\7\2\u08ab\u08ad\7\u0099\2\2\u08ac")
        buf.write("\u08ae\5\u0102\u0082\2\u08ad\u08ac\3\2\2\2\u08ad\u08ae")
        buf.write("\3\2\2\2\u08ae\u08af\3\2\2\2\u08af\u08b8\5\u00ccg\5\u08b0")
        buf.write("\u08b1\f\3\2\2\u08b1\u08b2\6g\t\2\u08b2\u08b4\t\32\2\2")
        buf.write("\u08b3\u08b5\5\u0102\u0082\2\u08b4\u08b3\3\2\2\2\u08b4")
        buf.write("\u08b5\3\2\2\2\u08b5\u08b6\3\2\2\2\u08b6\u08b8\5\u00cc")
        buf.write("g\4\u08b7\u08a2\3\2\2\2\u08b7\u08a9\3\2\2\2\u08b7\u08b0")
        buf.write("\3\2\2\2\u08b8\u08bb\3\2\2\2\u08b9\u08b7\3\2\2\2\u08b9")
        buf.write("\u08ba\3\2\2\2\u08ba\u00cd\3\2\2\2\u08bb\u08b9\3\2\2\2")
        buf.write("\u08bc\u08c2\5\u00d6l\2\u08bd\u08c2\5\u00d2j\2\u08be\u08bf")
        buf.write("\7\u0104\2\2\u08bf\u08c2\5\u0128\u0095\2\u08c0\u08c2\5")
        buf.write("\u011e\u0090\2\u08c1\u08bc\3\2\2\2\u08c1\u08bd\3\2\2\2")
        buf.write("\u08c1\u08be\3\2\2\2\u08c1\u08c0\3\2\2\2\u08c2\u00cf\3")
        buf.write("\2\2\2\u08c3\u08c5\5\u0138\u009d\2\u08c4\u08c6\t\t\2\2")
        buf.write("\u08c5\u08c4\3\2\2\2\u08c5\u08c6\3\2\2\2\u08c6\u08c9\3")
        buf.write("\2\2\2\u08c7\u08c8\7\u00bc\2\2\u08c8\u08ca\t\33\2\2\u08c9")
        buf.write("\u08c7\3\2\2\2\u08c9\u08ca\3\2\2\2\u08ca\u00d1\3\2\2\2")
        buf.write("\u08cb\u08cd\5\u00f4{\2\u08cc\u08ce\5\u00d4k\2\u08cd\u08cc")
        buf.write("\3\2\2\2\u08ce\u08cf\3\2\2\2\u08cf\u08cd\3\2\2\2\u08cf")
        buf.write("\u08d0\3\2\2\2\u08d0\u00d3\3\2\2\2\u08d1\u08d3\5\u00da")
        buf.write("n\2\u08d2\u08d4\5\u00ecw\2\u08d3\u08d2\3\2\2\2\u08d3\u08d4")
        buf.write("\3\2\2\2\u08d4\u08d5\3\2\2\2\u08d5\u08d6\5\u00c8e\2\u08d6")
        buf.write("\u08ed\3\2\2\2\u08d7\u08db\5\u00dco\2\u08d8\u08da\5\u0100")
        buf.write("\u0081\2\u08d9\u08d8\3\2\2\2\u08da\u08dd\3\2\2\2\u08db")
        buf.write("\u08d9\3\2\2\2\u08db\u08dc\3\2\2\2\u08dc\u08df\3\2\2\2")
        buf.write("\u08dd\u08db\3\2\2\2\u08de\u08e0\5\u00ecw\2\u08df\u08de")
        buf.write("\3\2\2\2\u08df\u08e0\3\2\2\2\u08e0\u08e2\3\2\2\2\u08e1")
        buf.write("\u08e3\5\u00f6|\2\u08e2\u08e1\3\2\2\2\u08e2\u08e3\3\2")
        buf.write("\2\2\u08e3\u08e5\3\2\2\2\u08e4\u08e6\5\u00eex\2\u08e5")
        buf.write("\u08e4\3\2\2\2\u08e5\u08e6\3\2\2\2\u08e6\u08e8\3\2\2\2")
        buf.write("\u08e7\u08e9\5\u016e\u00b8\2\u08e8\u08e7\3\2\2\2\u08e8")
        buf.write("\u08e9\3\2\2\2\u08e9\u08ea\3\2\2\2\u08ea\u08eb\5\u00c8")
        buf.write("e\2\u08eb\u08ed\3\2\2\2\u08ec\u08d1\3\2\2\2\u08ec\u08d7")
        buf.write("\3\2\2\2\u08ed\u00d5\3\2\2\2\u08ee\u08ef\5\u00dan\2\u08ef")
        buf.write("\u08f1\5\u00d8m\2\u08f0\u08f2\5\u00ecw\2\u08f1\u08f0\3")
        buf.write("\2\2\2\u08f1\u08f2\3\2\2\2\u08f2\u0908\3\2\2\2\u08f3\u08f4")
        buf.write("\5\u00dco\2\u08f4\u08f8\5\u00d8m\2\u08f5\u08f7\5\u0100")
        buf.write("\u0081\2\u08f6\u08f5\3\2\2\2\u08f7\u08fa\3\2\2\2\u08f8")
        buf.write("\u08f6\3\2\2\2\u08f8\u08f9\3\2\2\2\u08f9\u08fc\3\2\2\2")
        buf.write("\u08fa\u08f8\3\2\2\2\u08fb\u08fd\5\u00ecw\2\u08fc\u08fb")
        buf.write("\3\2\2\2\u08fc\u08fd\3\2\2\2\u08fd\u08ff\3\2\2\2\u08fe")
        buf.write("\u0900\5\u00f6|\2\u08ff\u08fe\3\2\2\2\u08ff\u0900\3\2")
        buf.write("\2\2\u0900\u0902\3\2\2\2\u0901\u0903\5\u00eex\2\u0902")
        buf.write("\u0901\3\2\2\2\u0902\u0903\3\2\2\2\u0903\u0905\3\2\2\2")
        buf.write("\u0904\u0906\5\u016e\u00b8\2\u0905\u0904\3\2\2\2\u0905")
        buf.write("\u0906\3\2\2\2\u0906\u0908\3\2\2\2\u0907\u08ee\3\2\2\2")
        buf.write("\u0907\u08f3\3\2\2\2\u0908\u00d7\3\2\2\2\u0909\u090b\5")
        buf.write("\u00f4{\2\u090a\u0909\3\2\2\2\u090a\u090b\3\2\2\2\u090b")
        buf.write("\u00d9\3\2\2\2\u090c\u090d\7\u00ef\2\2\u090d\u090e\7\u0110")
        buf.write("\2\2\u090e\u090f\7\5\2\2\u090f\u0910\5\u0130\u0099\2\u0910")
        buf.write("\u0911\7\6\2\2\u0911\u0917\3\2\2\2\u0912\u0913\7\u00b0")
        buf.write("\2\2\u0913\u0917\5\u0130\u0099\2\u0914\u0915\7\u00dc\2")
        buf.write("\2\u0915\u0917\5\u0130\u0099\2\u0916\u090c\3\2\2\2\u0916")
        buf.write("\u0912\3\2\2\2\u0916\u0914\3\2\2\2\u0917\u0919\3\2\2\2")
        buf.write("\u0918\u091a\5\u0124\u0093\2\u0919\u0918\3\2\2\2\u0919")
        buf.write("\u091a\3\2\2\2\u091a\u091d\3\2\2\2\u091b\u091c\7\u00da")
        buf.write("\2\2\u091c\u091e\7\u013d\2\2\u091d\u091b\3\2\2\2\u091d")
        buf.write("\u091e\3\2\2\2\u091e\u091f\3\2\2\2\u091f\u0920\7\u0120")
        buf.write("\2\2\u0920\u092d\7\u013d\2\2\u0921\u092b\7\67\2\2\u0922")
        buf.write("\u092c\5\u0112\u008a\2\u0923\u092c\5\u0164\u00b3\2\u0924")
        buf.write("\u0927\7\5\2\2\u0925\u0928\5\u0112\u008a\2\u0926\u0928")
        buf.write("\5\u0164\u00b3\2\u0927\u0925\3\2\2\2\u0927\u0926\3\2\2")
        buf.write("\2\u0928\u0929\3\2\2\2\u0929\u092a\7\6\2\2\u092a\u092c")
        buf.write("\3\2\2\2\u092b\u0922\3\2\2\2\u092b\u0923\3\2\2\2\u092b")
        buf.write("\u0924\3\2\2\2\u092c\u092e\3\2\2\2\u092d\u0921\3\2\2\2")
        buf.write("\u092d\u092e\3\2\2\2\u092e\u0930\3\2\2\2\u092f\u0931\5")
        buf.write("\u0124\u0093\2\u0930\u092f\3\2\2\2\u0930\u0931\3\2\2\2")
        buf.write("\u0931\u0934\3\2\2\2\u0932\u0933\7\u00d9\2\2\u0933\u0935")
        buf.write("\7\u013d\2\2\u0934\u0932\3\2\2\2\u0934\u0935\3\2\2\2\u0935")
        buf.write("\u00db\3\2\2\2\u0936\u093a\7\u00ef\2\2\u0937\u0939\5\u00f0")
        buf.write("y\2\u0938\u0937\3\2\2\2\u0939\u093c\3\2\2\2\u093a\u0938")
        buf.write("\3\2\2\2\u093a\u093b\3\2\2\2\u093b\u093e\3\2\2\2\u093c")
        buf.write("\u093a\3\2\2\2\u093d\u093f\5\u0102\u0082\2\u093e\u093d")
        buf.write("\3\2\2\2\u093e\u093f\3\2\2\2\u093f\u0940\3\2\2\2\u0940")
        buf.write("\u0941\5\u0130\u0099\2\u0941\u00dd\3\2\2\2\u0942\u0943")
        buf.write("\7\u00f5\2\2\u0943\u0944\5\u00e8u\2\u0944\u00df\3\2\2")
        buf.write("\2\u0945\u0946\7\u0124\2\2\u0946\u0949\7\u00b1\2\2\u0947")
        buf.write("\u0948\7\62\2\2\u0948\u094a\5\u013a\u009e\2\u0949\u0947")
        buf.write("\3\2\2\2\u0949\u094a\3\2\2\2\u094a\u094b\3\2\2\2\u094b")
        buf.write("\u094c\7\u010a\2\2\u094c\u094d\5\u00e4s\2\u094d\u00e1")
        buf.write("\3\2\2\2\u094e\u094f\7\u0124\2\2\u094f\u0950\7\u00ba\2")
        buf.write("\2\u0950\u0953\7\u00b1\2\2\u0951\u0952\7\62\2\2\u0952")
        buf.write("\u0954\5\u013a\u009e\2\u0953\u0951\3\2\2\2\u0953\u0954")
        buf.write("\3\2\2\2\u0954\u0955\3\2\2\2\u0955\u0956\7\u010a\2\2\u0956")
        buf.write("\u0957\5\u00e6t\2\u0957\u00e3\3\2\2\2\u0958\u0960\7d\2")
        buf.write("\2\u0959\u095a\7\u011d\2\2\u095a\u095b\7\u00f5\2\2\u095b")
        buf.write("\u0960\7\u0134\2\2\u095c\u095d\7\u011d\2\2\u095d\u095e")
        buf.write("\7\u00f5\2\2\u095e\u0960\5\u00e8u\2\u095f\u0958\3\2\2")
        buf.write("\2\u095f\u0959\3\2\2\2\u095f\u095c\3\2\2\2\u0960\u00e5")
        buf.write("\3\2\2\2\u0961\u0962\7\u0098\2\2\u0962\u0974\7\u0134\2")
        buf.write("\2\u0963\u0964\7\u0098\2\2\u0964\u0965\7\5\2\2\u0965\u0966")
        buf.write("\5\u0126\u0094\2\u0966\u0967\7\6\2\2\u0967\u0968\7\u0121")
        buf.write("\2\2\u0968\u0969\7\5\2\2\u0969\u096e\5\u0138\u009d\2\u096a")
        buf.write("\u096b\7\3\2\2\u096b\u096d\5\u0138\u009d\2\u096c\u096a")
        buf.write("\3\2\2\2\u096d\u0970\3\2\2\2\u096e\u096c\3\2\2\2\u096e")
        buf.write("\u096f\3\2\2\2\u096f\u0971\3\2\2\2\u0970\u096e\3\2\2\2")
        buf.write("\u0971\u0972\7\6\2\2\u0972\u0974\3\2\2\2\u0973\u0961\3")
        buf.write("\2\2\2\u0973\u0963\3\2\2\2\u0974\u00e7\3\2\2\2\u0975\u097a")
        buf.write("\5\u00eav\2\u0976\u0977\7\3\2\2\u0977\u0979\5\u00eav\2")
        buf.write("\u0978\u0976\3\2\2\2\u0979\u097c\3\2\2\2\u097a\u0978\3")
        buf.write("\2\2\2\u097a\u097b\3\2\2\2\u097b\u00e9\3\2\2\2\u097c\u097a")
        buf.write("\3\2\2\2\u097d\u097e\5\u0128\u0095\2\u097e\u097f\7\u0129")
        buf.write("\2\2\u097f\u0980\5\u0138\u009d\2\u0980\u00eb\3\2\2\2\u0981")
        buf.write("\u0982\7\u0125\2\2\u0982\u0983\5\u013a\u009e\2\u0983\u00ed")
        buf.write("\3\2\2\2\u0984\u0985\7\u008d\2\2\u0985\u0986\5\u013a\u009e")
        buf.write("\2\u0986\u00ef\3\2\2\2\u0987\u0988\7\20\2\2\u0988\u098f")
        buf.write("\5\u00f2z\2\u0989\u098b\7\3\2\2\u098a\u0989\3\2\2\2\u098a")
        buf.write("\u098b\3\2\2\2\u098b\u098c\3\2\2\2\u098c\u098e\5\u00f2")
        buf.write("z\2\u098d\u098a\3\2\2\2\u098e\u0991\3\2\2\2\u098f\u098d")
        buf.write("\3\2\2\2\u098f\u0990\3\2\2\2\u0990\u0992\3\2\2\2\u0991")
        buf.write("\u098f\3\2\2\2\u0992\u0993\7\21\2\2\u0993\u00f1\3\2\2")
        buf.write("\2\u0994\u09a2\5\u0182\u00c2\2\u0995\u0996\5\u0182\u00c2")
        buf.write("\2\u0996\u0997\7\5\2\2\u0997\u099c\5\u0140\u00a1\2\u0998")
        buf.write("\u0999\7\3\2\2\u0999\u099b\5\u0140\u00a1\2\u099a\u0998")
        buf.write("\3\2\2\2\u099b\u099e\3\2\2\2\u099c\u099a\3\2\2\2\u099c")
        buf.write("\u099d\3\2\2\2\u099d\u099f\3\2\2\2\u099e\u099c\3\2\2\2")
        buf.write("\u099f\u09a0\7\6\2\2\u09a0\u09a2\3\2\2\2\u09a1\u0994\3")
        buf.write("\2\2\2\u09a1\u0995\3\2\2\2\u09a2\u00f3\3\2\2\2\u09a3\u09a4")
        buf.write("\7\u0085\2\2\u09a4\u09a9\5\u0104\u0083\2\u09a5\u09a6\7")
        buf.write("\3\2\2\u09a6\u09a8\5\u0104\u0083\2\u09a7\u09a5\3\2\2\2")
        buf.write("\u09a8\u09ab\3\2\2\2\u09a9\u09a7\3\2\2\2\u09a9\u09aa\3")
        buf.write("\2\2\2\u09aa\u09af\3\2\2\2\u09ab\u09a9\3\2\2\2\u09ac\u09ae")
        buf.write("\5\u0100\u0081\2\u09ad\u09ac\3\2\2\2\u09ae\u09b1\3\2\2")
        buf.write("\2\u09af\u09ad\3\2\2\2\u09af\u09b0\3\2\2\2\u09b0\u09b3")
        buf.write("\3\2\2\2\u09b1\u09af\3\2\2\2\u09b2\u09b4\5\u00fa~\2\u09b3")
        buf.write("\u09b2\3\2\2\2\u09b3\u09b4\3\2\2\2\u09b4\u00f5\3\2\2\2")
        buf.write("\u09b5\u09b6\7\u008b\2\2\u09b6\u09b7\7?\2\2\u09b7\u09bc")
        buf.write("\5\u0138\u009d\2\u09b8\u09b9\7\3\2\2\u09b9\u09bb\5\u0138")
        buf.write("\u009d\2\u09ba\u09b8\3\2\2\2\u09bb\u09be\3\2\2\2\u09bc")
        buf.write("\u09ba\3\2\2\2\u09bc\u09bd\3\2\2\2\u09bd\u09d0\3\2\2\2")
        buf.write("\u09be\u09bc\3\2\2\2\u09bf\u09c0\7\u0127\2\2\u09c0\u09d1")
        buf.write("\7\u00ea\2\2\u09c1\u09c2\7\u0127\2\2\u09c2\u09d1\7X\2")
        buf.write("\2\u09c3\u09c4\7\u008c\2\2\u09c4\u09c5\7\u00f7\2\2\u09c5")
        buf.write("\u09c6\7\5\2\2\u09c6\u09cb\5\u00f8}\2\u09c7\u09c8\7\3")
        buf.write("\2\2\u09c8\u09ca\5\u00f8}\2\u09c9\u09c7\3\2\2\2\u09ca")
        buf.write("\u09cd\3\2\2\2\u09cb\u09c9\3\2\2\2\u09cb\u09cc\3\2\2\2")
        buf.write("\u09cc\u09ce\3\2\2\2\u09cd\u09cb\3\2\2\2\u09ce\u09cf\7")
        buf.write("\6\2\2\u09cf\u09d1\3\2\2\2\u09d0\u09bf\3\2\2\2\u09d0\u09c1")
        buf.write("\3\2\2\2\u09d0\u09c3\3\2\2\2\u09d0\u09d1\3\2\2\2\u09d1")
        buf.write("\u09e2\3\2\2\2\u09d2\u09d3\7\u008b\2\2\u09d3\u09d4\7?")
        buf.write("\2\2\u09d4\u09d5\7\u008c\2\2\u09d5\u09d6\7\u00f7\2\2\u09d6")
        buf.write("\u09d7\7\5\2\2\u09d7\u09dc\5\u00f8}\2\u09d8\u09d9\7\3")
        buf.write("\2\2\u09d9\u09db\5\u00f8}\2\u09da\u09d8\3\2\2\2\u09db")
        buf.write("\u09de\3\2\2\2\u09dc\u09da\3\2\2\2\u09dc\u09dd\3\2\2\2")
        buf.write("\u09dd\u09df\3\2\2\2\u09de\u09dc\3\2\2\2\u09df\u09e0\7")
        buf.write("\6\2\2\u09e0\u09e2\3\2\2\2\u09e1\u09b5\3\2\2\2\u09e1\u09d2")
        buf.write("\3\2\2\2\u09e2\u00f7\3\2\2\2\u09e3\u09ec\7\5\2\2\u09e4")
        buf.write("\u09e9\5\u0138\u009d\2\u09e5\u09e6\7\3\2\2\u09e6\u09e8")
        buf.write("\5\u0138\u009d\2\u09e7\u09e5\3\2\2\2\u09e8\u09eb\3\2\2")
        buf.write("\2\u09e9\u09e7\3\2\2\2\u09e9\u09ea\3\2\2\2\u09ea\u09ed")
        buf.write("\3\2\2\2\u09eb\u09e9\3\2\2\2\u09ec\u09e4\3\2\2\2\u09ec")
        buf.write("\u09ed\3\2\2\2\u09ed\u09ee\3\2\2\2\u09ee\u09f1\7\6\2\2")
        buf.write("\u09ef\u09f1\5\u0138\u009d\2\u09f0\u09e3\3\2\2\2\u09f0")
        buf.write("\u09ef\3\2\2\2\u09f1\u00f9\3\2\2\2\u09f2\u09f3\7\u00cf")
        buf.write("\2\2\u09f3\u09f4\7\5\2\2\u09f4\u09f5\5\u0130\u0099\2\u09f5")
        buf.write("\u09f6\7\u0081\2\2\u09f6\u09f7\5\u00fc\177\2\u09f7\u09f8")
        buf.write("\7\u0092\2\2\u09f8\u09f9\7\5\2\2\u09f9\u09fe\5\u00fe\u0080")
        buf.write("\2\u09fa\u09fb\7\3\2\2\u09fb\u09fd\5\u00fe\u0080\2\u09fc")
        buf.write("\u09fa\3\2\2\2\u09fd\u0a00\3\2\2\2\u09fe\u09fc\3\2\2\2")
        buf.write("\u09fe\u09ff\3\2\2\2\u09ff\u0a01\3\2\2\2\u0a00\u09fe\3")
        buf.write("\2\2\2\u0a01\u0a02\7\6\2\2\u0a02\u0a03\7\6\2\2\u0a03\u00fb")
        buf.write("\3\2\2\2\u0a04\u0a11\5\u0182\u00c2\2\u0a05\u0a06\7\5\2")
        buf.write("\2\u0a06\u0a0b\5\u0182\u00c2\2\u0a07\u0a08\7\3\2\2\u0a08")
        buf.write("\u0a0a\5\u0182\u00c2\2\u0a09\u0a07\3\2\2\2\u0a0a\u0a0d")
        buf.write("\3\2\2\2\u0a0b\u0a09\3\2\2\2\u0a0b\u0a0c\3\2\2\2\u0a0c")
        buf.write("\u0a0e\3\2\2\2\u0a0d\u0a0b\3\2\2\2\u0a0e\u0a0f\7\6\2\2")
        buf.write("\u0a0f\u0a11\3\2\2\2\u0a10\u0a04\3\2\2\2\u0a10\u0a05\3")
        buf.write("\2\2\2\u0a11\u00fd\3\2\2\2\u0a12\u0a17\5\u0138\u009d\2")
        buf.write("\u0a13\u0a15\7\67\2\2\u0a14\u0a13\3\2\2\2\u0a14\u0a15")
        buf.write("\3\2\2\2\u0a15\u0a16\3\2\2\2\u0a16\u0a18\5\u0182\u00c2")
        buf.write("\2\u0a17\u0a14\3\2\2\2\u0a17\u0a18\3\2\2\2\u0a18\u00ff")
        buf.write("\3\2\2\2\u0a19\u0a1a\7\u00a1\2\2\u0a1a\u0a1c\7\u0122\2")
        buf.write("\2\u0a1b\u0a1d\7\u00c5\2\2\u0a1c\u0a1b\3\2\2\2\u0a1c\u0a1d")
        buf.write("\3\2\2\2\u0a1d\u0a1e\3\2\2\2\u0a1e\u0a1f\5\u017c\u00bf")
        buf.write("\2\u0a1f\u0a28\7\5\2\2\u0a20\u0a25\5\u0138\u009d\2\u0a21")
        buf.write("\u0a22\7\3\2\2\u0a22\u0a24\5\u0138\u009d\2\u0a23\u0a21")
        buf.write("\3\2\2\2\u0a24\u0a27\3\2\2\2\u0a25\u0a23\3\2\2\2\u0a25")
        buf.write("\u0a26\3\2\2\2\u0a26\u0a29\3\2\2\2\u0a27\u0a25\3\2\2\2")
        buf.write("\u0a28\u0a20\3\2\2\2\u0a28\u0a29\3\2\2\2\u0a29\u0a2a\3")
        buf.write("\2\2\2\u0a2a\u0a2b\7\6\2\2\u0a2b\u0a37\5\u0182\u00c2\2")
        buf.write("\u0a2c\u0a2e\7\67\2\2\u0a2d\u0a2c\3\2\2\2\u0a2d\u0a2e")
        buf.write("\3\2\2\2\u0a2e\u0a2f\3\2\2\2\u0a2f\u0a34\5\u0182\u00c2")
        buf.write("\2\u0a30\u0a31\7\3\2\2\u0a31\u0a33\5\u0182\u00c2\2\u0a32")
        buf.write("\u0a30\3\2\2\2\u0a33\u0a36\3\2\2\2\u0a34\u0a32\3\2\2\2")
        buf.write("\u0a34\u0a35\3\2\2\2\u0a35\u0a38\3\2\2\2\u0a36\u0a34\3")
        buf.write("\2\2\2\u0a37\u0a2d\3\2\2\2\u0a37\u0a38\3\2\2\2\u0a38\u0101")
        buf.write("\3\2\2\2\u0a39\u0a3a\t\34\2\2\u0a3a\u0103\3\2\2\2\u0a3b")
        buf.write("\u0a3f\5\u011c\u008f\2\u0a3c\u0a3e\5\u0106\u0084\2\u0a3d")
        buf.write("\u0a3c\3\2\2\2\u0a3e\u0a41\3\2\2\2\u0a3f\u0a3d\3\2\2\2")
        buf.write("\u0a3f\u0a40\3\2\2\2\u0a40\u0105\3\2\2\2\u0a41\u0a3f\3")
        buf.write("\2\2\2\u0a42\u0a43\5\u0108\u0085\2\u0a43\u0a44\7\u009e")
        buf.write("\2\2\u0a44\u0a46\5\u011c\u008f\2\u0a45\u0a47\5\u010a\u0086")
        buf.write("\2\u0a46\u0a45\3\2\2\2\u0a46\u0a47\3\2\2\2\u0a47\u0a4e")
        buf.write("\3\2\2\2\u0a48\u0a49\7\u00b8\2\2\u0a49\u0a4a\5\u0108\u0085")
        buf.write("\2\u0a4a\u0a4b\7\u009e\2\2\u0a4b\u0a4c\5\u011c\u008f\2")
        buf.write("\u0a4c\u0a4e\3\2\2\2\u0a4d\u0a42\3\2\2\2\u0a4d\u0a48\3")
        buf.write("\2\2\2\u0a4e\u0107\3\2\2\2\u0a4f\u0a51\7\u0095\2\2\u0a50")
        buf.write("\u0a4f\3\2\2\2\u0a50\u0a51\3\2\2\2\u0a51\u0a68\3\2\2\2")
        buf.write("\u0a52\u0a68\7W\2\2\u0a53\u0a55\7\u00a4\2\2\u0a54\u0a56")
        buf.write("\7\u00c5\2\2\u0a55\u0a54\3\2\2\2\u0a55\u0a56\3\2\2\2\u0a56")
        buf.write("\u0a68\3\2\2\2\u0a57\u0a59\7\u00a4\2\2\u0a58\u0a57\3\2")
        buf.write("\2\2\u0a58\u0a59\3\2\2\2\u0a59\u0a5a\3\2\2\2\u0a5a\u0a68")
        buf.write("\7\u00f0\2\2\u0a5b\u0a5d\7\u00e5\2\2\u0a5c\u0a5e\7\u00c5")
        buf.write("\2\2\u0a5d\u0a5c\3\2\2\2\u0a5d\u0a5e\3\2\2\2\u0a5e\u0a68")
        buf.write("\3\2\2\2\u0a5f\u0a61\7\u0086\2\2\u0a60\u0a62\7\u00c5\2")
        buf.write("\2\u0a61\u0a60\3\2\2\2\u0a61\u0a62\3\2\2\2\u0a62\u0a68")
        buf.write("\3\2\2\2\u0a63\u0a65\7\u00a4\2\2\u0a64\u0a63\3\2\2\2\u0a64")
        buf.write("\u0a65\3\2\2\2\u0a65\u0a66\3\2\2\2\u0a66\u0a68\7\63\2")
        buf.write("\2\u0a67\u0a50\3\2\2\2\u0a67\u0a52\3\2\2\2\u0a67\u0a53")
        buf.write("\3\2\2\2\u0a67\u0a58\3\2\2\2\u0a67\u0a5b\3\2\2\2\u0a67")
        buf.write("\u0a5f\3\2\2\2\u0a67\u0a64\3\2\2\2\u0a68\u0109\3\2\2\2")
        buf.write("\u0a69\u0a6a\7\u00be\2\2\u0a6a\u0a6e\5\u013a\u009e\2\u0a6b")
        buf.write("\u0a6c\7\u0120\2\2\u0a6c\u0a6e\5\u0110\u0089\2\u0a6d\u0a69")
        buf.write("\3\2\2\2\u0a6d\u0a6b\3\2\2\2\u0a6e\u010b\3\2\2\2\u0a6f")
        buf.write("\u0a70\7\u0106\2\2\u0a70\u0a72\7\5\2\2\u0a71\u0a73\5\u010e")
        buf.write("\u0088\2\u0a72\u0a71\3\2\2\2\u0a72\u0a73\3\2\2\2\u0a73")
        buf.write("\u0a74\3\2\2\2\u0a74\u0a75\7\6\2\2\u0a75\u010d\3\2\2\2")
        buf.write("\u0a76\u0a78\7\u0133\2\2\u0a77\u0a76\3\2\2\2\u0a77\u0a78")
        buf.write("\3\2\2\2\u0a78\u0a79\3\2\2\2\u0a79\u0a7a\t\35\2\2\u0a7a")
        buf.write("\u0a8f\7\u00ce\2\2\u0a7b\u0a7c\5\u0138\u009d\2\u0a7c\u0a7d")
        buf.write("\7\u00ec\2\2\u0a7d\u0a8f\3\2\2\2\u0a7e\u0a7f\7=\2\2\u0a7f")
        buf.write("\u0a80\7\u0141\2\2\u0a80\u0a81\7\u00c4\2\2\u0a81\u0a82")
        buf.write("\7\u00bd\2\2\u0a82\u0a8b\7\u0141\2\2\u0a83\u0a89\7\u00be")
        buf.write("\2\2\u0a84\u0a8a\5\u0182\u00c2\2\u0a85\u0a86\5\u017c\u00bf")
        buf.write("\2\u0a86\u0a87\7\5\2\2\u0a87\u0a88\7\6\2\2\u0a88\u0a8a")
        buf.write("\3\2\2\2\u0a89\u0a84\3\2\2\2\u0a89\u0a85\3\2\2\2\u0a8a")
        buf.write("\u0a8c\3\2\2\2\u0a8b\u0a83\3\2\2\2\u0a8b\u0a8c\3\2\2\2")
        buf.write("\u0a8c\u0a8f\3\2\2\2\u0a8d\u0a8f\5\u0138\u009d\2\u0a8e")
        buf.write("\u0a77\3\2\2\2\u0a8e\u0a7b\3\2\2\2\u0a8e\u0a7e\3\2\2\2")
        buf.write("\u0a8e\u0a8d\3\2\2\2\u0a8f\u010f\3\2\2\2\u0a90\u0a91\7")
        buf.write("\5\2\2\u0a91\u0a92\5\u0112\u008a\2\u0a92\u0a93\7\6\2\2")
        buf.write("\u0a93\u0111\3\2\2\2\u0a94\u0a99\5\u017e\u00c0\2\u0a95")
        buf.write("\u0a96\7\3\2\2\u0a96\u0a98\5\u017e\u00c0\2\u0a97\u0a95")
        buf.write("\3\2\2\2\u0a98\u0a9b\3\2\2\2\u0a99\u0a97\3\2\2\2\u0a99")
        buf.write("\u0a9a\3\2\2\2\u0a9a\u0113\3\2\2\2\u0a9b\u0a99\3\2\2\2")
        buf.write("\u0a9c\u0a9d\7\5\2\2\u0a9d\u0aa2\5\u0116\u008c\2\u0a9e")
        buf.write("\u0a9f\7\3\2\2\u0a9f\u0aa1\5\u0116\u008c\2\u0aa0\u0a9e")
        buf.write("\3\2\2\2\u0aa1\u0aa4\3\2\2\2\u0aa2\u0aa0\3\2\2\2\u0aa2")
        buf.write("\u0aa3\3\2\2\2\u0aa3\u0aa5\3\2\2\2\u0aa4\u0aa2\3\2\2\2")
        buf.write("\u0aa5\u0aa6\7\6\2\2\u0aa6\u0115\3\2\2\2\u0aa7\u0aa9\5")
        buf.write("\u017e\u00c0\2\u0aa8\u0aaa\t\t\2\2\u0aa9\u0aa8\3\2\2\2")
        buf.write("\u0aa9\u0aaa\3\2\2\2\u0aaa\u0117\3\2\2\2\u0aab\u0aac\7")
        buf.write("\5\2\2\u0aac\u0ab1\5\u011a\u008e\2\u0aad\u0aae\7\3\2\2")
        buf.write("\u0aae\u0ab0\5\u011a\u008e\2\u0aaf\u0aad\3\2\2\2\u0ab0")
        buf.write("\u0ab3\3\2\2\2\u0ab1\u0aaf\3\2\2\2\u0ab1\u0ab2\3\2\2\2")
        buf.write("\u0ab2\u0ab4\3\2\2\2\u0ab3\u0ab1\3\2\2\2\u0ab4\u0ab5\7")
        buf.write("\6\2\2\u0ab5\u0119\3\2\2\2\u0ab6\u0ab8\5\u0182\u00c2\2")
        buf.write("\u0ab7\u0ab9\5\u0098M\2\u0ab8\u0ab7\3\2\2\2\u0ab8\u0ab9")
        buf.write("\3\2\2\2\u0ab9\u011b\3\2\2\2\u0aba\u0abc\5\u0128\u0095")
        buf.write("\2\u0abb\u0abd\5\u010c\u0087\2\u0abc\u0abb\3\2\2\2\u0abc")
        buf.write("\u0abd\3\2\2\2\u0abd\u0abe\3\2\2\2\u0abe\u0abf\5\u0122")
        buf.write("\u0092\2\u0abf\u0ad3\3\2\2\2\u0ac0\u0ac1\7\5\2\2\u0ac1")
        buf.write("\u0ac2\5\u009aN\2\u0ac2\u0ac4\7\6\2\2\u0ac3\u0ac5\5\u010c")
        buf.write("\u0087\2\u0ac4\u0ac3\3\2\2\2\u0ac4\u0ac5\3\2\2\2\u0ac5")
        buf.write("\u0ac6\3\2\2\2\u0ac6\u0ac7\5\u0122\u0092\2\u0ac7\u0ad3")
        buf.write("\3\2\2\2\u0ac8\u0ac9\7\5\2\2\u0ac9\u0aca\5\u0104\u0083")
        buf.write("\2\u0aca\u0acc\7\6\2\2\u0acb\u0acd\5\u010c\u0087\2\u0acc")
        buf.write("\u0acb\3\2\2\2\u0acc\u0acd\3\2\2\2\u0acd\u0ace\3\2\2\2")
        buf.write("\u0ace\u0acf\5\u0122\u0092\2\u0acf\u0ad3\3\2\2\2\u0ad0")
        buf.write("\u0ad3\5\u011e\u0090\2\u0ad1\u0ad3\5\u0120\u0091\2\u0ad2")
        buf.write("\u0aba\3\2\2\2\u0ad2\u0ac0\3\2\2\2\u0ad2\u0ac8\3\2\2\2")
        buf.write("\u0ad2\u0ad0\3\2\2\2\u0ad2\u0ad1\3\2\2\2\u0ad3\u011d\3")
        buf.write("\2\2\2\u0ad4\u0ad5\7\u0121\2\2\u0ad5\u0ada\5\u0138\u009d")
        buf.write("\2\u0ad6\u0ad7\7\3\2\2\u0ad7\u0ad9\5\u0138\u009d\2\u0ad8")
        buf.write("\u0ad6\3\2\2\2\u0ad9\u0adc\3\2\2\2\u0ada\u0ad8\3\2\2\2")
        buf.write("\u0ada\u0adb\3\2\2\2\u0adb\u0add\3\2\2\2\u0adc\u0ada\3")
        buf.write("\2\2\2\u0add\u0ade\5\u0122\u0092\2\u0ade\u011f\3\2\2\2")
        buf.write("\u0adf\u0ae0\5\u017e\u00c0\2\u0ae0\u0ae9\7\5\2\2\u0ae1")
        buf.write("\u0ae6\5\u0138\u009d\2\u0ae2\u0ae3\7\3\2\2\u0ae3\u0ae5")
        buf.write("\5\u0138\u009d\2\u0ae4\u0ae2\3\2\2\2\u0ae5\u0ae8\3\2\2")
        buf.write("\2\u0ae6\u0ae4\3\2\2\2\u0ae6\u0ae7\3\2\2\2\u0ae7\u0aea")
        buf.write("\3\2\2\2\u0ae8\u0ae6\3\2\2\2\u0ae9\u0ae1\3\2\2\2\u0ae9")
        buf.write("\u0aea\3\2\2\2\u0aea\u0aeb\3\2\2\2\u0aeb\u0aec\7\6\2\2")
        buf.write("\u0aec\u0aed\5\u0122\u0092\2\u0aed\u0121\3\2\2\2\u0aee")
        buf.write("\u0af0\7\67\2\2\u0aef\u0aee\3\2\2\2\u0aef\u0af0\3\2\2")
        buf.write("\2\u0af0\u0af1\3\2\2\2\u0af1\u0af3\5\u0184\u00c3\2\u0af2")
        buf.write("\u0af4\5\u0110\u0089\2\u0af3\u0af2\3\2\2\2\u0af3\u0af4")
        buf.write("\3\2\2\2\u0af4\u0af6\3\2\2\2\u0af5\u0aef\3\2\2\2\u0af5")
        buf.write("\u0af6\3\2\2\2\u0af6\u0123\3\2\2\2\u0af7\u0af8\7\u00eb")
        buf.write("\2\2\u0af8\u0af9\7\u0083\2\2\u0af9\u0afa\7\u00f2\2\2\u0afa")
        buf.write("\u0afe\7\u013d\2\2\u0afb\u0afc\7\u0127\2\2\u0afc\u0afd")
        buf.write("\7\u00f3\2\2\u0afd\u0aff\5\u00b2Z\2\u0afe\u0afb\3\2\2")
        buf.write("\2\u0afe\u0aff\3\2\2\2\u0aff\u0b29\3\2\2\2\u0b00\u0b01")
        buf.write("\7\u00eb\2\2\u0b01\u0b02\7\u0083\2\2\u0b02\u0b0c\7e\2")
        buf.write("\2\u0b03\u0b04\7|\2\2\u0b04\u0b05\7\u0109\2\2\u0b05\u0b06")
        buf.write("\7?\2\2\u0b06\u0b0a\7\u013d\2\2\u0b07\u0b08\7q\2\2\u0b08")
        buf.write("\u0b09\7?\2\2\u0b09\u0b0b\7\u013d\2\2\u0b0a\u0b07\3\2")
        buf.write("\2\2\u0b0a\u0b0b\3\2\2\2\u0b0b\u0b0d\3\2\2\2\u0b0c\u0b03")
        buf.write("\3\2\2\2\u0b0c\u0b0d\3\2\2\2\u0b0d\u0b13\3\2\2\2\u0b0e")
        buf.write("\u0b0f\7K\2\2\u0b0f\u0b10\7\u009d\2\2\u0b10\u0b11\7\u0109")
        buf.write("\2\2\u0b11\u0b12\7?\2\2\u0b12\u0b14\7\u013d\2\2\u0b13")
        buf.write("\u0b0e\3\2\2\2\u0b13\u0b14\3\2\2\2\u0b14\u0b1a\3\2\2\2")
        buf.write("\u0b15\u0b16\7\u00b0\2\2\u0b16\u0b17\7\u009f\2\2\u0b17")
        buf.write("\u0b18\7\u0109\2\2\u0b18\u0b19\7?\2\2\u0b19\u0b1b\7\u013d")
        buf.write("\2\2\u0b1a\u0b15\3\2\2\2\u0b1a\u0b1b\3\2\2\2\u0b1b\u0b20")
        buf.write("\3\2\2\2\u0b1c\u0b1d\7\u00a7\2\2\u0b1d\u0b1e\7\u0109\2")
        buf.write("\2\u0b1e\u0b1f\7?\2\2\u0b1f\u0b21\7\u013d\2\2\u0b20\u0b1c")
        buf.write("\3\2\2\2\u0b20\u0b21\3\2\2\2\u0b21\u0b26\3\2\2\2\u0b22")
        buf.write("\u0b23\7\u00bb\2\2\u0b23\u0b24\7c\2\2\u0b24\u0b25\7\67")
        buf.write("\2\2\u0b25\u0b27\7\u013d\2\2\u0b26\u0b22\3\2\2\2\u0b26")
        buf.write("\u0b27\3\2\2\2\u0b27\u0b29\3\2\2\2\u0b28\u0af7\3\2\2\2")
        buf.write("\u0b28\u0b00\3\2\2\2\u0b29\u0125\3\2\2\2\u0b2a\u0b2f\5")
        buf.write("\u0128\u0095\2\u0b2b\u0b2c\7\3\2\2\u0b2c\u0b2e\5\u0128")
        buf.write("\u0095\2\u0b2d\u0b2b\3\2\2\2\u0b2e\u0b31\3\2\2\2\u0b2f")
        buf.write("\u0b2d\3\2\2\2\u0b2f\u0b30\3\2\2\2\u0b30\u0127\3\2\2\2")
        buf.write("\u0b31\u0b2f\3\2\2\2\u0b32\u0b37\5\u017e\u00c0\2\u0b33")
        buf.write("\u0b34\7\7\2\2\u0b34\u0b36\5\u017e\u00c0\2\u0b35\u0b33")
        buf.write("\3\2\2\2\u0b36\u0b39\3\2\2\2\u0b37\u0b35\3\2\2\2\u0b37")
        buf.write("\u0b38\3\2\2\2\u0b38\u0129\3\2\2\2\u0b39\u0b37\3\2\2\2")
        buf.write("\u0b3a\u0b3b\5\u017e\u00c0\2\u0b3b\u0b3c\7\7\2\2\u0b3c")
        buf.write("\u0b3e\3\2\2\2\u0b3d\u0b3a\3\2\2\2\u0b3d\u0b3e\3\2\2\2")
        buf.write("\u0b3e\u0b3f\3\2\2\2\u0b3f\u0b40\5\u017e\u00c0\2\u0b40")
        buf.write("\u012b\3\2\2\2\u0b41\u0b42\5\u017e\u00c0\2\u0b42\u0b43")
        buf.write("\7\7\2\2\u0b43\u0b45\3\2\2\2\u0b44\u0b41\3\2\2\2\u0b44")
        buf.write("\u0b45\3\2\2\2\u0b45\u0b46\3\2\2\2\u0b46\u0b47\5\u017e")
        buf.write("\u00c0\2\u0b47\u012d\3\2\2\2\u0b48\u0b50\5\u0138\u009d")
        buf.write("\2\u0b49\u0b4b\7\67\2\2\u0b4a\u0b49\3\2\2\2\u0b4a\u0b4b")
        buf.write("\3\2\2\2\u0b4b\u0b4e\3\2\2\2\u0b4c\u0b4f\5\u017e\u00c0")
        buf.write("\2\u0b4d\u0b4f\5\u0110\u0089\2\u0b4e\u0b4c\3\2\2\2\u0b4e")
        buf.write("\u0b4d\3\2\2\2\u0b4f\u0b51\3\2\2\2\u0b50\u0b4a\3\2\2\2")
        buf.write("\u0b50\u0b51\3\2\2\2\u0b51\u012f\3\2\2\2\u0b52\u0b57\5")
        buf.write("\u012e\u0098\2\u0b53\u0b54\7\3\2\2\u0b54\u0b56\5\u012e")
        buf.write("\u0098\2\u0b55\u0b53\3\2\2\2\u0b56\u0b59\3\2\2\2\u0b57")
        buf.write("\u0b55\3\2\2\2\u0b57\u0b58\3\2\2\2\u0b58\u0131\3\2\2\2")
        buf.write("\u0b59\u0b57\3\2\2\2\u0b5a\u0b5b\7\5\2\2\u0b5b\u0b60\5")
        buf.write("\u0134\u009b\2\u0b5c\u0b5d\7\3\2\2\u0b5d\u0b5f\5\u0134")
        buf.write("\u009b\2\u0b5e\u0b5c\3\2\2\2\u0b5f\u0b62\3\2\2\2\u0b60")
        buf.write("\u0b5e\3\2\2\2\u0b60\u0b61\3\2\2\2\u0b61\u0b63\3\2\2\2")
        buf.write("\u0b62\u0b60\3\2\2\2\u0b63\u0b64\7\6\2\2\u0b64\u0133\3")
        buf.write("\2\2\2\u0b65\u0b73\5\u017c\u00bf\2\u0b66\u0b67\5\u0182")
        buf.write("\u00c2\2\u0b67\u0b68\7\5\2\2\u0b68\u0b6d\5\u0136\u009c")
        buf.write("\2\u0b69\u0b6a\7\3\2\2\u0b6a\u0b6c\5\u0136\u009c\2\u0b6b")
        buf.write("\u0b69\3\2\2\2\u0b6c\u0b6f\3\2\2\2\u0b6d\u0b6b\3\2\2\2")
        buf.write("\u0b6d\u0b6e\3\2\2\2\u0b6e\u0b70\3\2\2\2\u0b6f\u0b6d\3")
        buf.write("\2\2\2\u0b70\u0b71\7\6\2\2\u0b71\u0b73\3\2\2\2\u0b72\u0b65")
        buf.write("\3\2\2\2\u0b72\u0b66\3\2\2\2\u0b73\u0135\3\2\2\2\u0b74")
        buf.write("\u0b77\5\u017c\u00bf\2\u0b75\u0b77\5\u0142\u00a2\2\u0b76")
        buf.write("\u0b74\3\2\2\2\u0b76\u0b75\3\2\2\2\u0b77\u0137\3\2\2\2")
        buf.write("\u0b78\u0b79\5\u013a\u009e\2\u0b79\u0139\3\2\2\2\u0b7a")
        buf.write("\u0b7b\b\u009e\1\2\u0b7b\u0b7c\7\u00ba\2\2\u0b7c\u0b87")
        buf.write("\5\u013a\u009e\7\u0b7d\u0b7e\7t\2\2\u0b7e\u0b7f\7\5\2")
        buf.write("\2\u0b7f\u0b80\5\u009aN\2\u0b80\u0b81\7\6\2\2\u0b81\u0b87")
        buf.write("\3\2\2\2\u0b82\u0b84\5\u013e\u00a0\2\u0b83\u0b85\5\u013c")
        buf.write("\u009f\2\u0b84\u0b83\3\2\2\2\u0b84\u0b85\3\2\2\2\u0b85")
        buf.write("\u0b87\3\2\2\2\u0b86\u0b7a\3\2\2\2\u0b86\u0b7d\3\2\2\2")
        buf.write("\u0b86\u0b82\3\2\2\2\u0b87\u0b90\3\2\2\2\u0b88\u0b89\f")
        buf.write("\4\2\2\u0b89\u0b8a\7\62\2\2\u0b8a\u0b8f\5\u013a\u009e")
        buf.write("\5\u0b8b\u0b8c\f\3\2\2\u0b8c\u0b8d\7\u00c2\2\2\u0b8d\u0b8f")
        buf.write("\5\u013a\u009e\4\u0b8e\u0b88\3\2\2\2\u0b8e\u0b8b\3\2\2")
        buf.write("\2\u0b8f\u0b92\3\2\2\2\u0b90\u0b8e\3\2\2\2\u0b90\u0b91")
        buf.write("\3\2\2\2\u0b91\u013b\3\2\2\2\u0b92\u0b90\3\2\2\2\u0b93")
        buf.write("\u0b95\7\u00ba\2\2\u0b94\u0b93\3\2\2\2\u0b94\u0b95\3\2")
        buf.write("\2\2\u0b95\u0b96\3\2\2\2\u0b96\u0b97\7;\2\2\u0b97\u0b98")
        buf.write("\5\u013e\u00a0\2\u0b98\u0b99\7\62\2\2\u0b99\u0b9a\5\u013e")
        buf.write("\u00a0\2\u0b9a\u0be6\3\2\2\2\u0b9b\u0b9d\7\u00ba\2\2\u0b9c")
        buf.write("\u0b9b\3\2\2\2\u0b9c\u0b9d\3\2\2\2\u0b9d\u0b9e\3\2\2\2")
        buf.write("\u0b9e\u0b9f\7\u0092\2\2\u0b9f\u0ba0\7\5\2\2\u0ba0\u0ba5")
        buf.write("\5\u0138\u009d\2\u0ba1\u0ba2\7\3\2\2\u0ba2\u0ba4\5\u0138")
        buf.write("\u009d\2\u0ba3\u0ba1\3\2\2\2\u0ba4\u0ba7\3\2\2\2\u0ba5")
        buf.write("\u0ba3\3\2\2\2\u0ba5\u0ba6\3\2\2\2\u0ba6\u0ba8\3\2\2\2")
        buf.write("\u0ba7\u0ba5\3\2\2\2\u0ba8\u0ba9\7\6\2\2\u0ba9\u0be6\3")
        buf.write("\2\2\2\u0baa\u0bac\7\u00ba\2\2\u0bab\u0baa\3\2\2\2\u0bab")
        buf.write("\u0bac\3\2\2\2\u0bac\u0bad\3\2\2\2\u0bad\u0bae\7\u0092")
        buf.write("\2\2\u0bae\u0baf\7\5\2\2\u0baf\u0bb0\5\u009aN\2\u0bb0")
        buf.write("\u0bb1\7\6\2\2\u0bb1\u0be6\3\2\2\2\u0bb2\u0bb4\7\u00ba")
        buf.write("\2\2\u0bb3\u0bb2\3\2\2\2\u0bb3\u0bb4\3\2\2\2\u0bb4\u0bb5")
        buf.write("\3\2\2\2\u0bb5\u0bb6\7\u00e6\2\2\u0bb6\u0be6\5\u013e\u00a0")
        buf.write("\2\u0bb7\u0bb9\7\u00ba\2\2\u0bb8\u0bb7\3\2\2\2\u0bb8\u0bb9")
        buf.write("\3\2\2\2\u0bb9\u0bba\3\2\2\2\u0bba\u0bbb\7\u00a5\2\2\u0bbb")
        buf.write("\u0bc9\t\36\2\2\u0bbc\u0bbd\7\5\2\2\u0bbd\u0bca\7\6\2")
        buf.write("\2\u0bbe\u0bbf\7\5\2\2\u0bbf\u0bc4\5\u0138\u009d\2\u0bc0")
        buf.write("\u0bc1\7\3\2\2\u0bc1\u0bc3\5\u0138\u009d\2\u0bc2\u0bc0")
        buf.write("\3\2\2\2\u0bc3\u0bc6\3\2\2\2\u0bc4\u0bc2\3\2\2\2\u0bc4")
        buf.write("\u0bc5\3\2\2\2\u0bc5\u0bc7\3\2\2\2\u0bc6\u0bc4\3\2\2\2")
        buf.write("\u0bc7\u0bc8\7\6\2\2\u0bc8\u0bca\3\2\2\2\u0bc9\u0bbc\3")
        buf.write("\2\2\2\u0bc9\u0bbe\3\2\2\2\u0bca\u0be6\3\2\2\2\u0bcb\u0bcd")
        buf.write("\7\u00ba\2\2\u0bcc\u0bcb\3\2\2\2\u0bcc\u0bcd\3\2\2\2\u0bcd")
        buf.write("\u0bce\3\2\2\2\u0bce\u0bcf\7\u00a5\2\2\u0bcf\u0bd2\5\u013e")
        buf.write("\u00a0\2\u0bd0\u0bd1\7p\2\2\u0bd1\u0bd3\7\u013d\2\2\u0bd2")
        buf.write("\u0bd0\3\2\2\2\u0bd2\u0bd3\3\2\2\2\u0bd3\u0be6\3\2\2\2")
        buf.write("\u0bd4\u0bd6\7\u009c\2\2\u0bd5\u0bd7\7\u00ba\2\2\u0bd6")
        buf.write("\u0bd5\3\2\2\2\u0bd6\u0bd7\3\2\2\2\u0bd7\u0bd8\3\2\2\2")
        buf.write("\u0bd8\u0be6\7\u00bb\2\2\u0bd9\u0bdb\7\u009c\2\2\u0bda")
        buf.write("\u0bdc\7\u00ba\2\2\u0bdb\u0bda\3\2\2\2\u0bdb\u0bdc\3\2")
        buf.write("\2\2\u0bdc\u0bdd\3\2\2\2\u0bdd\u0be6\t\37\2\2\u0bde\u0be0")
        buf.write("\7\u009c\2\2\u0bdf\u0be1\7\u00ba\2\2\u0be0\u0bdf\3\2\2")
        buf.write("\2\u0be0\u0be1\3\2\2\2\u0be1\u0be2\3\2\2\2\u0be2\u0be3")
        buf.write("\7k\2\2\u0be3\u0be4\7\u0085\2\2\u0be4\u0be6\5\u013e\u00a0")
        buf.write("\2\u0be5\u0b94\3\2\2\2\u0be5\u0b9c\3\2\2\2\u0be5\u0bab")
        buf.write("\3\2\2\2\u0be5\u0bb3\3\2\2\2\u0be5\u0bb8\3\2\2\2\u0be5")
        buf.write("\u0bcc\3\2\2\2\u0be5\u0bd4\3\2\2\2\u0be5\u0bd9\3\2\2\2")
        buf.write("\u0be5\u0bde\3\2\2\2\u0be6\u013d\3\2\2\2\u0be7\u0be8\b")
        buf.write("\u00a0\1\2\u0be8\u0bec\5\u0140\u00a1\2\u0be9\u0bea\t ")
        buf.write("\2\2\u0bea\u0bec\5\u013e\u00a0\t\u0beb\u0be7\3\2\2\2\u0beb")
        buf.write("\u0be9\3\2\2\2\u0bec\u0c02\3\2\2\2\u0bed\u0bee\f\b\2\2")
        buf.write("\u0bee\u0bef\t!\2\2\u0bef\u0c01\5\u013e\u00a0\t\u0bf0")
        buf.write("\u0bf1\f\7\2\2\u0bf1\u0bf2\t\"\2\2\u0bf2\u0c01\5\u013e")
        buf.write("\u00a0\b\u0bf3\u0bf4\f\6\2\2\u0bf4\u0bf5\7\u0139\2\2\u0bf5")
        buf.write("\u0c01\5\u013e\u00a0\7\u0bf6\u0bf7\f\5\2\2\u0bf7\u0bf8")
        buf.write("\7\u013c\2\2\u0bf8\u0c01\5\u013e\u00a0\6\u0bf9\u0bfa\f")
        buf.write("\4\2\2\u0bfa\u0bfb\7\u013a\2\2\u0bfb\u0c01\5\u013e\u00a0")
        buf.write("\5\u0bfc\u0bfd\f\3\2\2\u0bfd\u0bfe\5\u0144\u00a3\2\u0bfe")
        buf.write("\u0bff\5\u013e\u00a0\4\u0bff\u0c01\3\2\2\2\u0c00\u0bed")
        buf.write("\3\2\2\2\u0c00\u0bf0\3\2\2\2\u0c00\u0bf3\3\2\2\2\u0c00")
        buf.write("\u0bf6\3\2\2\2\u0c00\u0bf9\3\2\2\2\u0c00\u0bfc\3\2\2\2")
        buf.write("\u0c01\u0c04\3\2\2\2\u0c02\u0c00\3\2\2\2\u0c02\u0c03\3")
        buf.write("\2\2\2\u0c03\u013f\3\2\2\2\u0c04\u0c02\3\2\2\2\u0c05\u0c06")
        buf.write("\b\u00a1\1\2\u0c06\u0cbe\t#\2\2\u0c07\u0c09\7B\2\2\u0c08")
        buf.write("\u0c0a\5\u016c\u00b7\2\u0c09\u0c08\3\2\2\2\u0c0a\u0c0b")
        buf.write("\3\2\2\2\u0c0b\u0c09\3\2\2\2\u0c0b\u0c0c\3\2\2\2\u0c0c")
        buf.write("\u0c0f\3\2\2\2\u0c0d\u0c0e\7n\2\2\u0c0e\u0c10\5\u0138")
        buf.write("\u009d\2\u0c0f\u0c0d\3\2\2\2\u0c0f\u0c10\3\2\2\2\u0c10")
        buf.write("\u0c11\3\2\2\2\u0c11\u0c12\7o\2\2\u0c12\u0cbe\3\2\2\2")
        buf.write("\u0c13\u0c14\7B\2\2\u0c14\u0c16\5\u0138\u009d\2\u0c15")
        buf.write("\u0c17\5\u016c\u00b7\2\u0c16\u0c15\3\2\2\2\u0c17\u0c18")
        buf.write("\3\2\2\2\u0c18\u0c16\3\2\2\2\u0c18\u0c19\3\2\2\2\u0c19")
        buf.write("\u0c1c\3\2\2\2\u0c1a\u0c1b\7n\2\2\u0c1b\u0c1d\5\u0138")
        buf.write("\u009d\2\u0c1c\u0c1a\3\2\2\2\u0c1c\u0c1d\3\2\2\2\u0c1d")
        buf.write("\u0c1e\3\2\2\2\u0c1e\u0c1f\7o\2\2\u0c1f\u0cbe\3\2\2\2")
        buf.write("\u0c20\u0c21\7C\2\2\u0c21\u0c22\7\5\2\2\u0c22\u0c23\5")
        buf.write("\u0138\u009d\2\u0c23\u0c24\7\67\2\2\u0c24\u0c25\5\u015e")
        buf.write("\u00b0\2\u0c25\u0c26\7\6\2\2\u0c26\u0cbe\3\2\2\2\u0c27")
        buf.write("\u0c28\7\u0101\2\2\u0c28\u0c31\7\5\2\2\u0c29\u0c2e\5\u012e")
        buf.write("\u0098\2\u0c2a\u0c2b\7\3\2\2\u0c2b\u0c2d\5\u012e\u0098")
        buf.write("\2\u0c2c\u0c2a\3\2\2\2\u0c2d\u0c30\3\2\2\2\u0c2e\u0c2c")
        buf.write("\3\2\2\2\u0c2e\u0c2f\3\2\2\2\u0c2f\u0c32\3\2\2\2\u0c30")
        buf.write("\u0c2e\3\2\2\2\u0c31\u0c29\3\2\2\2\u0c31\u0c32\3\2\2\2")
        buf.write("\u0c32\u0c33\3\2\2\2\u0c33\u0cbe\7\6\2\2\u0c34\u0c35\7")
        buf.write("\177\2\2\u0c35\u0c36\7\5\2\2\u0c36\u0c39\5\u0138\u009d")
        buf.write("\2\u0c37\u0c38\7\u0090\2\2\u0c38\u0c3a\7\u00bc\2\2\u0c39")
        buf.write("\u0c37\3\2\2\2\u0c39\u0c3a\3\2\2\2\u0c3a\u0c3b\3\2\2\2")
        buf.write("\u0c3b\u0c3c\7\6\2\2\u0c3c\u0cbe\3\2\2\2\u0c3d\u0c3e\7")
        buf.write("\u00a0\2\2\u0c3e\u0c3f\7\5\2\2\u0c3f\u0c42\5\u0138\u009d")
        buf.write("\2\u0c40\u0c41\7\u0090\2\2\u0c41\u0c43\7\u00bc\2\2\u0c42")
        buf.write("\u0c40\3\2\2\2\u0c42\u0c43\3\2\2\2\u0c43\u0c44\3\2\2\2")
        buf.write("\u0c44\u0c45\7\6\2\2\u0c45\u0cbe\3\2\2\2\u0c46\u0c47\7")
        buf.write("\u00d1\2\2\u0c47\u0c48\7\5\2\2\u0c48\u0c49\5\u013e\u00a0")
        buf.write("\2\u0c49\u0c4a\7\u0092\2\2\u0c4a\u0c4b\5\u013e\u00a0\2")
        buf.write("\u0c4b\u0c4c\7\6\2\2\u0c4c\u0cbe\3\2\2\2\u0c4d\u0cbe\5")
        buf.write("\u0142\u00a2\2\u0c4e\u0cbe\7\u0134\2\2\u0c4f\u0c50\5\u017c")
        buf.write("\u00bf\2\u0c50\u0c51\7\7\2\2\u0c51\u0c52\7\u0134\2\2\u0c52")
        buf.write("\u0cbe\3\2\2\2\u0c53\u0c54\7\5\2\2\u0c54\u0c57\5\u012e")
        buf.write("\u0098\2\u0c55\u0c56\7\3\2\2\u0c56\u0c58\5\u012e\u0098")
        buf.write("\2\u0c57\u0c55\3\2\2\2\u0c58\u0c59\3\2\2\2\u0c59\u0c57")
        buf.write("\3\2\2\2\u0c59\u0c5a\3\2\2\2\u0c5a\u0c5b\3\2\2\2\u0c5b")
        buf.write("\u0c5c\7\6\2\2\u0c5c\u0cbe\3\2\2\2\u0c5d\u0c5e\7\5\2\2")
        buf.write("\u0c5e\u0c5f\5\u009aN\2\u0c5f\u0c60\7\6\2\2\u0c60\u0cbe")
        buf.write("\3\2\2\2\u0c61\u0c62\5\u017a\u00be\2\u0c62\u0c6e\7\5\2")
        buf.write("\2\u0c63\u0c65\5\u0102\u0082\2\u0c64\u0c63\3\2\2\2\u0c64")
        buf.write("\u0c65\3\2\2\2\u0c65\u0c66\3\2\2\2\u0c66\u0c6b\5\u0138")
        buf.write("\u009d\2\u0c67\u0c68\7\3\2\2\u0c68\u0c6a\5\u0138\u009d")
        buf.write("\2\u0c69\u0c67\3\2\2\2\u0c6a\u0c6d\3\2\2\2\u0c6b\u0c69")
        buf.write("\3\2\2\2\u0c6b\u0c6c\3\2\2\2\u0c6c\u0c6f\3\2\2\2\u0c6d")
        buf.write("\u0c6b\3\2\2\2\u0c6e\u0c64\3\2\2\2\u0c6e\u0c6f\3\2\2\2")
        buf.write("\u0c6f\u0c70\3\2\2\2\u0c70\u0c77\7\6\2\2\u0c71\u0c72\7")
        buf.write("}\2\2\u0c72\u0c73\7\5\2\2\u0c73\u0c74\7\u0125\2\2\u0c74")
        buf.write("\u0c75\5\u013a\u009e\2\u0c75\u0c76\7\6\2\2\u0c76\u0c78")
        buf.write("\3\2\2\2\u0c77\u0c71\3\2\2\2\u0c77\u0c78\3\2\2\2\u0c78")
        buf.write("\u0c7b\3\2\2\2\u0c79\u0c7a\7\u00c7\2\2\u0c7a\u0c7c\5\u0172")
        buf.write("\u00ba\2\u0c7b\u0c79\3\2\2\2\u0c7b\u0c7c\3\2\2\2\u0c7c")
        buf.write("\u0cbe\3\2\2\2\u0c7d\u0c7e\5\u0182\u00c2\2\u0c7e\u0c7f")
        buf.write("\7\22\2\2\u0c7f\u0c80\5\u0138\u009d\2\u0c80\u0cbe\3\2")
        buf.write("\2\2\u0c81\u0c82\7\5\2\2\u0c82\u0c85\5\u0182\u00c2\2\u0c83")
        buf.write("\u0c84\7\3\2\2\u0c84\u0c86\5\u0182\u00c2\2\u0c85\u0c83")
        buf.write("\3\2\2\2\u0c86\u0c87\3\2\2\2\u0c87\u0c85\3\2\2\2\u0c87")
        buf.write("\u0c88\3\2\2\2\u0c88\u0c89\3\2\2\2\u0c89\u0c8a\7\6\2\2")
        buf.write("\u0c8a\u0c8b\7\22\2\2\u0c8b\u0c8c\5\u0138\u009d\2\u0c8c")
        buf.write("\u0cbe\3\2\2\2\u0c8d\u0cbe\5\u0182\u00c2\2\u0c8e\u0c8f")
        buf.write("\7\5\2\2\u0c8f\u0c90\5\u0138\u009d\2\u0c90\u0c91\7\6\2")
        buf.write("\2\u0c91\u0cbe\3\2\2\2\u0c92\u0c93\7y\2\2\u0c93\u0c94")
        buf.write("\7\5\2\2\u0c94\u0c95\5\u0182\u00c2\2\u0c95\u0c96\7\u0085")
        buf.write("\2\2\u0c96\u0c97\5\u013e\u00a0\2\u0c97\u0c98\7\6\2\2\u0c98")
        buf.write("\u0cbe\3\2\2\2\u0c99\u0c9a\t$\2\2\u0c9a\u0c9b\7\5\2\2")
        buf.write("\u0c9b\u0c9c\5\u013e\u00a0\2\u0c9c\u0c9d\t%\2\2\u0c9d")
        buf.write("\u0ca0\5\u013e\u00a0\2\u0c9e\u0c9f\t&\2\2\u0c9f\u0ca1")
        buf.write("\5\u013e\u00a0\2\u0ca0\u0c9e\3\2\2\2\u0ca0\u0ca1\3\2\2")
        buf.write("\2\u0ca1\u0ca2\3\2\2\2\u0ca2\u0ca3\7\6\2\2\u0ca3\u0cbe")
        buf.write("\3\2\2\2\u0ca4\u0ca5\7\u0111\2\2\u0ca5\u0ca7\7\5\2\2\u0ca6")
        buf.write("\u0ca8\t\'\2\2\u0ca7\u0ca6\3\2\2\2\u0ca7\u0ca8\3\2\2\2")
        buf.write("\u0ca8\u0caa\3\2\2\2\u0ca9\u0cab\5\u013e\u00a0\2\u0caa")
        buf.write("\u0ca9\3\2\2\2\u0caa\u0cab\3\2\2\2\u0cab\u0cac\3\2\2\2")
        buf.write("\u0cac\u0cad\7\u0085\2\2\u0cad\u0cae\5\u013e\u00a0\2\u0cae")
        buf.write("\u0caf\7\6\2\2\u0caf\u0cbe\3\2\2\2\u0cb0\u0cb1\7\u00c9")
        buf.write("\2\2\u0cb1\u0cb2\7\5\2\2\u0cb2\u0cb3\5\u013e\u00a0\2\u0cb3")
        buf.write("\u0cb4\7\u00d0\2\2\u0cb4\u0cb5\5\u013e\u00a0\2\u0cb5\u0cb6")
        buf.write("\7\u0085\2\2\u0cb6\u0cb9\5\u013e\u00a0\2\u0cb7\u0cb8\7")
        buf.write("\u0081\2\2\u0cb8\u0cba\5\u013e\u00a0\2\u0cb9\u0cb7\3\2")
        buf.write("\2\2\u0cb9\u0cba\3\2\2\2\u0cba\u0cbb\3\2\2\2\u0cbb\u0cbc")
        buf.write("\7\6\2\2\u0cbc\u0cbe\3\2\2\2\u0cbd\u0c05\3\2\2\2\u0cbd")
        buf.write("\u0c07\3\2\2\2\u0cbd\u0c13\3\2\2\2\u0cbd\u0c20\3\2\2\2")
        buf.write("\u0cbd\u0c27\3\2\2\2\u0cbd\u0c34\3\2\2\2\u0cbd\u0c3d\3")
        buf.write("\2\2\2\u0cbd\u0c46\3\2\2\2\u0cbd\u0c4d\3\2\2\2\u0cbd\u0c4e")
        buf.write("\3\2\2\2\u0cbd\u0c4f\3\2\2\2\u0cbd\u0c53\3\2\2\2\u0cbd")
        buf.write("\u0c5d\3\2\2\2\u0cbd\u0c61\3\2\2\2\u0cbd\u0c7d\3\2\2\2")
        buf.write("\u0cbd\u0c81\3\2\2\2\u0cbd\u0c8d\3\2\2\2\u0cbd\u0c8e\3")
        buf.write("\2\2\2\u0cbd\u0c92\3\2\2\2\u0cbd\u0c99\3\2\2\2\u0cbd\u0ca4")
        buf.write("\3\2\2\2\u0cbd\u0cb0\3\2\2\2\u0cbe\u0cc9\3\2\2\2\u0cbf")
        buf.write("\u0cc0\f\n\2\2\u0cc0\u0cc1\7\b\2\2\u0cc1\u0cc2\5\u013e")
        buf.write("\u00a0\2\u0cc2\u0cc3\7\t\2\2\u0cc3\u0cc8\3\2\2\2\u0cc4")
        buf.write("\u0cc5\f\b\2\2\u0cc5\u0cc6\7\7\2\2\u0cc6\u0cc8\5\u0182")
        buf.write("\u00c2\2\u0cc7\u0cbf\3\2\2\2\u0cc7\u0cc4\3\2\2\2\u0cc8")
        buf.write("\u0ccb\3\2\2\2\u0cc9\u0cc7\3\2\2\2\u0cc9\u0cca\3\2\2\2")
        buf.write("\u0cca\u0141\3\2\2\2\u0ccb\u0cc9\3\2\2\2\u0ccc\u0cd9\7")
        buf.write("\u00bb\2\2\u0ccd\u0cd9\5\u014e\u00a8\2\u0cce\u0ccf\5\u0182")
        buf.write("\u00c2\2\u0ccf\u0cd0\7\u013d\2\2\u0cd0\u0cd9\3\2\2\2\u0cd1")
        buf.write("\u0cd9\5\u0188\u00c5\2\u0cd2\u0cd9\5\u014c\u00a7\2\u0cd3")
        buf.write("\u0cd5\7\u013d\2\2\u0cd4\u0cd3\3\2\2\2\u0cd5\u0cd6\3\2")
        buf.write("\2\2\u0cd6\u0cd4\3\2\2\2\u0cd6\u0cd7\3\2\2\2\u0cd7\u0cd9")
        buf.write("\3\2\2\2\u0cd8\u0ccc\3\2\2\2\u0cd8\u0ccd\3\2\2\2\u0cd8")
        buf.write("\u0cce\3\2\2\2\u0cd8\u0cd1\3\2\2\2\u0cd8\u0cd2\3\2\2\2")
        buf.write("\u0cd8\u0cd4\3\2\2\2\u0cd9\u0143\3\2\2\2\u0cda\u0ce3\5")
        buf.write("\u0146\u00a4\2\u0cdb\u0ce3\7\u012c\2\2\u0cdc\u0ce3\7\u012d")
        buf.write("\2\2\u0cdd\u0ce3\7\u012e\2\2\u0cde\u0ce3\7\u012f\2\2\u0cdf")
        buf.write("\u0ce3\7\u0130\2\2\u0ce0\u0ce3\7\u0131\2\2\u0ce1\u0ce3")
        buf.write("\7\u012b\2\2\u0ce2\u0cda\3\2\2\2\u0ce2\u0cdb\3\2\2\2\u0ce2")
        buf.write("\u0cdc\3\2\2\2\u0ce2\u0cdd\3\2\2\2\u0ce2\u0cde\3\2\2\2")
        buf.write("\u0ce2\u0cdf\3\2\2\2\u0ce2\u0ce0\3\2\2\2\u0ce2\u0ce1\3")
        buf.write("\2\2\2\u0ce3\u0145\3\2\2\2\u0ce4\u0ce5\t(\2\2\u0ce5\u0147")
        buf.write("\3\2\2\2\u0ce6\u0ce7\t)\2\2\u0ce7\u0149\3\2\2\2\u0ce8")
        buf.write("\u0ce9\t*\2\2\u0ce9\u014b\3\2\2\2\u0cea\u0ceb\t+\2\2\u0ceb")
        buf.write("\u014d\3\2\2\2\u0cec\u0cef\7\u009a\2\2\u0ced\u0cf0\5\u0150")
        buf.write("\u00a9\2\u0cee\u0cf0\5\u0154\u00ab\2\u0cef\u0ced\3\2\2")
        buf.write("\2\u0cef\u0cee\3\2\2\2\u0cef\u0cf0\3\2\2\2\u0cf0\u014f")
        buf.write("\3\2\2\2\u0cf1\u0cf3\5\u0152\u00aa\2\u0cf2\u0cf4\5\u0156")
        buf.write("\u00ac\2\u0cf3\u0cf2\3\2\2\2\u0cf3\u0cf4\3\2\2\2\u0cf4")
        buf.write("\u0151\3\2\2\2\u0cf5\u0cf6\5\u0158\u00ad\2\u0cf6\u0cf7")
        buf.write("\5\u015a\u00ae\2\u0cf7\u0cf9\3\2\2\2\u0cf8\u0cf5\3\2\2")
        buf.write("\2\u0cf9\u0cfa\3\2\2\2\u0cfa\u0cf8\3\2\2\2\u0cfa\u0cfb")
        buf.write("\3\2\2\2\u0cfb\u0153\3\2\2\2\u0cfc\u0cff\5\u0156\u00ac")
        buf.write("\2\u0cfd\u0d00\5\u0152\u00aa\2\u0cfe\u0d00\5\u0156\u00ac")
        buf.write("\2\u0cff\u0cfd\3\2\2\2\u0cff\u0cfe\3\2\2\2\u0cff\u0d00")
        buf.write("\3\2\2\2\u0d00\u0155\3\2\2\2\u0d01\u0d02\5\u0158\u00ad")
        buf.write("\2\u0d02\u0d03\5\u015a\u00ae\2\u0d03\u0d04\7\u010b\2\2")
        buf.write("\u0d04\u0d05\5\u015a\u00ae\2\u0d05\u0157\3\2\2\2\u0d06")
        buf.write("\u0d08\t,\2\2\u0d07\u0d06\3\2\2\2\u0d07\u0d08\3\2\2\2")
        buf.write("\u0d08\u0d09\3\2\2\2\u0d09\u0d0c\t\35\2\2\u0d0a\u0d0c")
        buf.write("\7\u013d\2\2\u0d0b\u0d07\3\2\2\2\u0d0b\u0d0a\3\2\2\2\u0d0c")
        buf.write("\u0159\3\2\2\2\u0d0d\u0d15\7a\2\2\u0d0e\u0d15\7\u008e")
        buf.write("\2\2\u0d0f\u0d15\7\u00b3\2\2\u0d10\u0d15\7\u00b4\2\2\u0d11")
        buf.write("\u0d15\7\u00ee\2\2\u0d12\u0d15\7\u0128\2\2\u0d13\u0d15")
        buf.write("\5\u0182\u00c2\2\u0d14\u0d0d\3\2\2\2\u0d14\u0d0e\3\2\2")
        buf.write("\2\u0d14\u0d0f\3\2\2\2\u0d14\u0d10\3\2\2\2\u0d14\u0d11")
        buf.write("\3\2\2\2\u0d14\u0d12\3\2\2\2\u0d14\u0d13\3\2\2\2\u0d15")
        buf.write("\u015b\3\2\2\2\u0d16\u0d1a\7\177\2\2\u0d17\u0d18\7.\2")
        buf.write("\2\u0d18\u0d1a\5\u017e\u00c0\2\u0d19\u0d16\3\2\2\2\u0d19")
        buf.write("\u0d17\3\2\2\2\u0d1a\u015d\3\2\2\2\u0d1b\u0d1c\7\66\2")
        buf.write("\2\u0d1c\u0d1d\7\u012e\2\2\u0d1d\u0d1e\5\u015e\u00b0\2")
        buf.write("\u0d1e\u0d1f\7\u0130\2\2\u0d1f\u0d3e\3\2\2\2\u0d20\u0d21")
        buf.write("\7\u00b0\2\2\u0d21\u0d22\7\u012e\2\2\u0d22\u0d23\5\u015e")
        buf.write("\u00b0\2\u0d23\u0d24\7\3\2\2\u0d24\u0d25\5\u015e\u00b0")
        buf.write("\2\u0d25\u0d26\7\u0130\2\2\u0d26\u0d3e\3\2\2\2\u0d27\u0d2e")
        buf.write("\7\u0101\2\2\u0d28\u0d2a\7\u012e\2\2\u0d29\u0d2b\5\u0168")
        buf.write("\u00b5\2\u0d2a\u0d29\3\2\2\2\u0d2a\u0d2b\3\2\2\2\u0d2b")
        buf.write("\u0d2c\3\2\2\2\u0d2c\u0d2f\7\u0130\2\2\u0d2d\u0d2f\7\u012c")
        buf.write("\2\2\u0d2e\u0d28\3\2\2\2\u0d2e\u0d2d\3\2\2\2\u0d2f\u0d3e")
        buf.write("\3\2\2\2\u0d30\u0d3b\5\u0182\u00c2\2\u0d31\u0d32\7\5\2")
        buf.write("\2\u0d32\u0d37\7\u0141\2\2\u0d33\u0d34\7\3\2\2\u0d34\u0d36")
        buf.write("\7\u0141\2\2\u0d35\u0d33\3\2\2\2\u0d36\u0d39\3\2\2\2\u0d37")
        buf.write("\u0d35\3\2\2\2\u0d37\u0d38\3\2\2\2\u0d38\u0d3a\3\2\2\2")
        buf.write("\u0d39\u0d37\3\2\2\2\u0d3a\u0d3c\7\6\2\2\u0d3b\u0d31\3")
        buf.write("\2\2\2\u0d3b\u0d3c\3\2\2\2\u0d3c\u0d3e\3\2\2\2\u0d3d\u0d1b")
        buf.write("\3\2\2\2\u0d3d\u0d20\3\2\2\2\u0d3d\u0d27\3\2\2\2\u0d3d")
        buf.write("\u0d30\3\2\2\2\u0d3e\u015f\3\2\2\2\u0d3f\u0d44\5\u0162")
        buf.write("\u00b2\2\u0d40\u0d41\7\3\2\2\u0d41\u0d43\5\u0162\u00b2")
        buf.write("\2\u0d42\u0d40\3\2\2\2\u0d43\u0d46\3\2\2\2\u0d44\u0d42")
        buf.write("\3\2\2\2\u0d44\u0d45\3\2\2\2\u0d45\u0161\3\2\2\2\u0d46")
        buf.write("\u0d44\3\2\2\2\u0d47\u0d48\5\u0128\u0095\2\u0d48\u0d4b")
        buf.write("\5\u015e\u00b0\2\u0d49\u0d4a\7\u00ba\2\2\u0d4a\u0d4c\7")
        buf.write("\u00bb\2\2\u0d4b\u0d49\3\2\2\2\u0d4b\u0d4c\3\2\2\2\u0d4c")
        buf.write("\u0d4e\3\2\2\2\u0d4d\u0d4f\5\u0098M\2\u0d4e\u0d4d\3\2")
        buf.write("\2\2\u0d4e\u0d4f\3\2\2\2\u0d4f\u0d51\3\2\2\2\u0d50\u0d52")
        buf.write("\5\u015c\u00af\2\u0d51\u0d50\3\2\2\2\u0d51\u0d52\3\2\2")
        buf.write("\2\u0d52\u0163\3\2\2\2\u0d53\u0d58\5\u0166\u00b4\2\u0d54")
        buf.write("\u0d55\7\3\2\2\u0d55\u0d57\5\u0166\u00b4\2\u0d56\u0d54")
        buf.write("\3\2\2\2\u0d57\u0d5a\3\2\2\2\u0d58\u0d56\3\2\2\2\u0d58")
        buf.write("\u0d59\3\2\2\2\u0d59\u0165\3\2\2\2\u0d5a\u0d58\3\2\2\2")
        buf.write("\u0d5b\u0d5c\5\u017e\u00c0\2\u0d5c\u0d5f\5\u015e\u00b0")
        buf.write("\2\u0d5d\u0d5e\7\u00ba\2\2\u0d5e\u0d60\7\u00bb\2\2\u0d5f")
        buf.write("\u0d5d\3\2\2\2\u0d5f\u0d60\3\2\2\2\u0d60\u0d62\3\2\2\2")
        buf.write("\u0d61\u0d63\5\u0098M\2\u0d62\u0d61\3\2\2\2\u0d62\u0d63")
        buf.write("\3\2\2\2\u0d63\u0167\3\2\2\2\u0d64\u0d69\5\u016a\u00b6")
        buf.write("\2\u0d65\u0d66\7\3\2\2\u0d66\u0d68\5\u016a\u00b6\2\u0d67")
        buf.write("\u0d65\3\2\2\2\u0d68\u0d6b\3\2\2\2\u0d69\u0d67\3\2\2\2")
        buf.write("\u0d69\u0d6a\3\2\2\2\u0d6a\u0169\3\2\2\2\u0d6b\u0d69\3")
        buf.write("\2\2\2\u0d6c\u0d6d\5\u0182\u00c2\2\u0d6d\u0d6e\7\4\2\2")
        buf.write("\u0d6e\u0d71\5\u015e\u00b0\2\u0d6f\u0d70\7\u00ba\2\2\u0d70")
        buf.write("\u0d72\7\u00bb\2\2\u0d71\u0d6f\3\2\2\2\u0d71\u0d72\3\2")
        buf.write("\2\2\u0d72\u0d74\3\2\2\2\u0d73\u0d75\5\u0098M\2\u0d74")
        buf.write("\u0d73\3\2\2\2\u0d74\u0d75\3\2\2\2\u0d75\u016b\3\2\2\2")
        buf.write("\u0d76\u0d77\7\u0124\2\2\u0d77\u0d78\5\u0138\u009d\2\u0d78")
        buf.write("\u0d79\7\u010a\2\2\u0d79\u0d7a\5\u0138\u009d\2\u0d7a\u016d")
        buf.write("\3\2\2\2\u0d7b\u0d7c\7\u0126\2\2\u0d7c\u0d81\5\u0170\u00b9")
        buf.write("\2\u0d7d\u0d7e\7\3\2\2\u0d7e\u0d80\5\u0170\u00b9\2\u0d7f")
        buf.write("\u0d7d\3\2\2\2\u0d80\u0d83\3\2\2\2\u0d81\u0d7f\3\2\2\2")
        buf.write("\u0d81\u0d82\3\2\2\2\u0d82\u016f\3\2\2\2\u0d83\u0d81\3")
        buf.write("\2\2\2\u0d84\u0d85\5\u017e\u00c0\2\u0d85\u0d86\7\67\2")
        buf.write("\2\u0d86\u0d87\5\u0172\u00ba\2\u0d87\u0171\3\2\2\2\u0d88")
        buf.write("\u0db7\5\u017e\u00c0\2\u0d89\u0d8a\7\5\2\2\u0d8a\u0d8b")
        buf.write("\5\u017e\u00c0\2\u0d8b\u0d8c\7\6\2\2\u0d8c\u0db7\3\2\2")
        buf.write("\2\u0d8d\u0db0\7\5\2\2\u0d8e\u0d8f\7G\2\2\u0d8f\u0d90")
        buf.write("\7?\2\2\u0d90\u0d95\5\u0138\u009d\2\u0d91\u0d92\7\3\2")
        buf.write("\2\u0d92\u0d94\5\u0138\u009d\2\u0d93\u0d91\3\2\2\2\u0d94")
        buf.write("\u0d97\3\2\2\2\u0d95\u0d93\3\2\2\2\u0d95\u0d96\3\2\2\2")
        buf.write("\u0d96\u0db1\3\2\2\2\u0d97\u0d95\3\2\2\2\u0d98\u0d99\t")
        buf.write("-\2\2\u0d99\u0d9a\7?\2\2\u0d9a\u0d9f\5\u0138\u009d\2\u0d9b")
        buf.write("\u0d9c\7\3\2\2\u0d9c\u0d9e\5\u0138\u009d\2\u0d9d\u0d9b")
        buf.write("\3\2\2\2\u0d9e\u0da1\3\2\2\2\u0d9f\u0d9d\3\2\2\2\u0d9f")
        buf.write("\u0da0\3\2\2\2\u0da0\u0da3\3\2\2\2\u0da1\u0d9f\3\2\2\2")
        buf.write("\u0da2\u0d98\3\2\2\2\u0da2\u0da3\3\2\2\2\u0da3\u0dae\3")
        buf.write("\2\2\2\u0da4\u0da5\t.\2\2\u0da5\u0da6\7?\2\2\u0da6\u0dab")
        buf.write("\5\u00d0i\2\u0da7\u0da8\7\3\2\2\u0da8\u0daa\5\u00d0i\2")
        buf.write("\u0da9\u0da7\3\2\2\2\u0daa\u0dad\3\2\2\2\u0dab\u0da9\3")
        buf.write("\2\2\2\u0dab\u0dac\3\2\2\2\u0dac\u0daf\3\2\2\2\u0dad\u0dab")
        buf.write("\3\2\2\2\u0dae\u0da4\3\2\2\2\u0dae\u0daf\3\2\2\2\u0daf")
        buf.write("\u0db1\3\2\2\2\u0db0\u0d8e\3\2\2\2\u0db0\u0da2\3\2\2\2")
        buf.write("\u0db1\u0db3\3\2\2\2\u0db2\u0db4\5\u0174\u00bb\2\u0db3")
        buf.write("\u0db2\3\2\2\2\u0db3\u0db4\3\2\2\2\u0db4\u0db5\3\2\2\2")
        buf.write("\u0db5\u0db7\7\6\2\2\u0db6\u0d88\3\2\2\2\u0db6\u0d89\3")
        buf.write("\2\2\2\u0db6\u0d8d\3\2\2\2\u0db7\u0173\3\2\2\2\u0db8\u0db9")
        buf.write("\7\u00d8\2\2\u0db9\u0dc9\5\u0176\u00bc\2\u0dba\u0dbb\7")
        buf.write("\u00ec\2\2\u0dbb\u0dc9\5\u0176\u00bc\2\u0dbc\u0dbd\7\u00d8")
        buf.write("\2\2\u0dbd\u0dbe\7;\2\2\u0dbe\u0dbf\5\u0176\u00bc\2\u0dbf")
        buf.write("\u0dc0\7\62\2\2\u0dc0\u0dc1\5\u0176\u00bc\2\u0dc1\u0dc9")
        buf.write("\3\2\2\2\u0dc2\u0dc3\7\u00ec\2\2\u0dc3\u0dc4\7;\2\2\u0dc4")
        buf.write("\u0dc5\5\u0176\u00bc\2\u0dc5\u0dc6\7\62\2\2\u0dc6\u0dc7")
        buf.write("\5\u0176\u00bc\2\u0dc7\u0dc9\3\2\2\2\u0dc8\u0db8\3\2\2")
        buf.write("\2\u0dc8\u0dba\3\2\2\2\u0dc8\u0dbc\3\2\2\2\u0dc8\u0dc2")
        buf.write("\3\2\2\2\u0dc9\u0175\3\2\2\2\u0dca\u0dcb\7\u0116\2\2\u0dcb")
        buf.write("\u0dd2\t/\2\2\u0dcc\u0dcd\7Y\2\2\u0dcd\u0dd2\7\u00eb\2")
        buf.write("\2\u0dce\u0dcf\5\u0138\u009d\2\u0dcf\u0dd0\t/\2\2\u0dd0")
        buf.write("\u0dd2\3\2\2\2\u0dd1\u0dca\3\2\2\2\u0dd1\u0dcc\3\2\2\2")
        buf.write("\u0dd1\u0dce\3\2\2\2\u0dd2\u0177\3\2\2\2\u0dd3\u0dd8\5")
        buf.write("\u017c\u00bf\2\u0dd4\u0dd5\7\3\2\2\u0dd5\u0dd7\5\u017c")
        buf.write("\u00bf\2\u0dd6\u0dd4\3\2\2\2\u0dd7\u0dda\3\2\2\2\u0dd8")
        buf.write("\u0dd6\3\2\2\2\u0dd8\u0dd9\3\2\2\2\u0dd9\u0179\3\2\2\2")
        buf.write("\u0dda\u0dd8\3\2\2\2\u0ddb\u0de0\5\u017c\u00bf\2\u0ddc")
        buf.write("\u0de0\7}\2\2\u0ddd\u0de0\7\u00a4\2\2\u0dde\u0de0\7\u00e5")
        buf.write("\2\2\u0ddf\u0ddb\3\2\2\2\u0ddf\u0ddc\3\2\2\2\u0ddf\u0ddd")
        buf.write("\3\2\2\2\u0ddf\u0dde\3\2\2\2\u0de0\u017b\3\2\2\2\u0de1")
        buf.write("\u0de6\5\u0182\u00c2\2\u0de2\u0de3\7\7\2\2\u0de3\u0de5")
        buf.write("\5\u0182\u00c2\2\u0de4\u0de2\3\2\2\2\u0de5\u0de8\3\2\2")
        buf.write("\2\u0de6\u0de4\3\2\2\2\u0de6\u0de7\3\2\2\2\u0de7\u017d")
        buf.write("\3\2\2\2\u0de8\u0de6\3\2\2\2\u0de9\u0dea\5\u0182\u00c2")
        buf.write("\2\u0dea\u0deb\5\u0180\u00c1\2\u0deb\u017f\3\2\2\2\u0dec")
        buf.write("\u0ded\7\u0133\2\2\u0ded\u0def\5\u0182\u00c2\2\u0dee\u0dec")
        buf.write("\3\2\2\2\u0def\u0df0\3\2\2\2\u0df0\u0dee\3\2\2\2\u0df0")
        buf.write("\u0df1\3\2\2\2\u0df1\u0df4\3\2\2\2\u0df2\u0df4\3\2\2\2")
        buf.write("\u0df3\u0dee\3\2\2\2\u0df3\u0df2\3\2\2\2\u0df4\u0181\3")
        buf.write("\2\2\2\u0df5\u0df9\5\u0184\u00c3\2\u0df6\u0df7\6\u00c2")
        buf.write("\24\2\u0df7\u0df9\5\u018e\u00c8\2\u0df8\u0df5\3\2\2\2")
        buf.write("\u0df8\u0df6\3\2\2\2\u0df9\u0183\3\2\2\2\u0dfa\u0e01\7")
        buf.write("\u0146\2\2\u0dfb\u0e01\5\u0186\u00c4\2\u0dfc\u0dfd\6\u00c3")
        buf.write("\25\2\u0dfd\u0e01\5\u018c\u00c7\2\u0dfe\u0dff\6\u00c3")
        buf.write("\26\2\u0dff\u0e01\5\u0190\u00c9\2\u0e00\u0dfa\3\2\2\2")
        buf.write("\u0e00\u0dfb\3\2\2\2\u0e00\u0dfc\3\2\2\2\u0e00\u0dfe\3")
        buf.write("\2\2\2\u0e01\u0185\3\2\2\2\u0e02\u0e03\7\u0147\2\2\u0e03")
        buf.write("\u0187\3\2\2\2\u0e04\u0e06\6\u00c5\27\2\u0e05\u0e07\7")
        buf.write("\u0133\2\2\u0e06\u0e05\3\2\2\2\u0e06\u0e07\3\2\2\2\u0e07")
        buf.write("\u0e08\3\2\2\2\u0e08\u0e2c\7\u0142\2\2\u0e09\u0e0b\6\u00c5")
        buf.write("\30\2\u0e0a\u0e0c\7\u0133\2\2\u0e0b\u0e0a\3\2\2\2\u0e0b")
        buf.write("\u0e0c\3\2\2\2\u0e0c\u0e0d\3\2\2\2\u0e0d\u0e2c\7\u0143")
        buf.write("\2\2\u0e0e\u0e10\6\u00c5\31\2\u0e0f\u0e11\7\u0133\2\2")
        buf.write("\u0e10\u0e0f\3\2\2\2\u0e10\u0e11\3\2\2\2\u0e11\u0e12\3")
        buf.write("\2\2\2\u0e12\u0e2c\t\60\2\2\u0e13\u0e15\7\u0133\2\2\u0e14")
        buf.write("\u0e13\3\2\2\2\u0e14\u0e15\3\2\2\2\u0e15\u0e16\3\2\2\2")
        buf.write("\u0e16\u0e2c\7\u0141\2\2\u0e17\u0e19\7\u0133\2\2\u0e18")
        buf.write("\u0e17\3\2\2\2\u0e18\u0e19\3\2\2\2\u0e19\u0e1a\3\2\2\2")
        buf.write("\u0e1a\u0e2c\7\u013e\2\2\u0e1b\u0e1d\7\u0133\2\2\u0e1c")
        buf.write("\u0e1b\3\2\2\2\u0e1c\u0e1d\3\2\2\2\u0e1d\u0e1e\3\2\2\2")
        buf.write("\u0e1e\u0e2c\7\u013f\2\2\u0e1f\u0e21\7\u0133\2\2\u0e20")
        buf.write("\u0e1f\3\2\2\2\u0e20\u0e21\3\2\2\2\u0e21\u0e22\3\2\2\2")
        buf.write("\u0e22\u0e2c\7\u0140\2\2\u0e23\u0e25\7\u0133\2\2\u0e24")
        buf.write("\u0e23\3\2\2\2\u0e24\u0e25\3\2\2\2\u0e25\u0e26\3\2\2\2")
        buf.write("\u0e26\u0e2c\7\u0144\2\2\u0e27\u0e29\7\u0133\2\2\u0e28")
        buf.write("\u0e27\3\2\2\2\u0e28\u0e29\3\2\2\2\u0e29\u0e2a\3\2\2\2")
        buf.write("\u0e2a\u0e2c\7\u0145\2\2\u0e2b\u0e04\3\2\2\2\u0e2b\u0e09")
        buf.write("\3\2\2\2\u0e2b\u0e0e\3\2\2\2\u0e2b\u0e14\3\2\2\2\u0e2b")
        buf.write("\u0e18\3\2\2\2\u0e2b\u0e1c\3\2\2\2\u0e2b\u0e20\3\2\2\2")
        buf.write("\u0e2b\u0e24\3\2\2\2\u0e2b\u0e28\3\2\2\2\u0e2c\u0189\3")
        buf.write("\2\2\2\u0e2d\u0e2e\7\u0114\2\2\u0e2e\u0e35\5\u015e\u00b0")
        buf.write("\2\u0e2f\u0e35\5\u0098M\2\u0e30\u0e35\5\u015c\u00af\2")
        buf.write("\u0e31\u0e32\t\61\2\2\u0e32\u0e33\7\u00ba\2\2\u0e33\u0e35")
        buf.write("\7\u00bb\2\2\u0e34\u0e2d\3\2\2\2\u0e34\u0e2f\3\2\2\2\u0e34")
        buf.write("\u0e30\3\2\2\2\u0e34\u0e31\3\2\2\2\u0e35\u018b\3\2\2\2")
        buf.write("\u0e36\u0e37\t\62\2\2\u0e37\u018d\3\2\2\2\u0e38\u0e39")
        buf.write("\t\63\2\2\u0e39\u018f\3\2\2\2\u0e3a\u0e3b\t\64\2\2\u0e3b")
        buf.write("\u0191\3\2\2\2\u01e6\u0195\u01a0\u01a3\u01a7\u01aa\u01b5")
        buf.write("\u01b9\u01bc\u01c2\u01c5\u01cd\u01d0\u01d4\u01d7\u01db")
        buf.write("\u01e2\u01e6\u01ef\u01f3\u01f8\u01fc\u0200\u0207\u020f")
        buf.write("\u0213\u0217\u021b\u021e\u0223\u0227\u022b\u022e\u0232")
        buf.write("\u0236\u0239\u023d\u0240\u0244\u024a\u0253\u0258\u025b")
        buf.write("\u025e\u0261\u0265\u0268\u026b\u026e\u0273\u0276\u0279")
        buf.write("\u027c\u027e\u0289\u0291\u0294\u029f\u02a7\u02ac\u02b0")
        buf.write("\u02b5\u02b9\u02c0\u02cb\u02ce\u02d4\u02d8\u02db\u02e2")
        buf.write("\u02e4\u02ee\u02f5\u02f9\u02fd\u0302\u0307\u030a\u0311")
        buf.write("\u0319\u031e\u0327\u032c\u0333\u0345\u034c\u0355\u035b")
        buf.write("\u0362\u036b\u0373\u0377\u037d\u0385\u0395\u03ae\u03b3")
        buf.write("\u03bb\u03c3\u03c5\u03d9\u03dd\u03e3\u03e6\u03e9\u03f0")
        buf.write("\u03f5\u03f8\u03ff\u040b\u0414\u0416\u041a\u041d\u0424")
        buf.write("\u042f\u0431\u0439\u043e\u0441\u0447\u0452\u0492\u049b")
        buf.write("\u049f\u04a5\u04a9\u04ae\u04b4\u04c0\u04c8\u04ce\u04db")
        buf.write("\u04e0\u04f0\u04f7\u04fb\u0501\u0510\u0514\u051a\u0520")
        buf.write("\u0523\u0526\u052c\u0530\u0538\u053a\u0543\u0546\u054f")
        buf.write("\u0554\u055a\u0561\u0564\u056a\u0575\u0578\u057c\u0581")
        buf.write("\u0586\u058d\u0590\u0593\u059a\u059f\u05a8\u05b0\u05b6")
        buf.write("\u05b9\u05bc\u05c2\u05c6\u05ca\u05ce\u05d0\u05d8\u05e0")
        buf.write("\u05e6\u05ec\u05ef\u05f3\u05f6\u05fa\u0613\u0616\u061a")
        buf.write("\u0620\u0623\u0626\u062c\u0634\u0639\u063f\u0645\u0651")
        buf.write("\u0654\u065b\u0662\u066a\u066d\u0675\u0679\u0680\u06f4")
        buf.write("\u06fc\u0704\u070d\u0717\u071b\u071e\u0724\u072a\u0736")
        buf.write("\u0742\u0747\u0750\u0758\u075f\u0761\u0766\u076a\u076f")
        buf.write("\u0774\u0779\u077c\u0781\u0785\u078a\u078c\u0790\u0799")
        buf.write("\u07a1\u07aa\u07b1\u07ba\u07bf\u07c2\u07d5\u07d7\u07e0")
        buf.write("\u07e7\u07ea\u07f1\u07f5\u07fb\u0803\u080e\u0819\u0820")
        buf.write("\u0826\u0833\u083a\u0841\u084d\u0855\u085b\u085e\u0867")
        buf.write("\u086a\u0873\u0876\u087f\u0882\u088b\u088e\u0891\u0896")
        buf.write("\u0898\u08a0\u08a6\u08ad\u08b4\u08b7\u08b9\u08c1\u08c5")
        buf.write("\u08c9\u08cf\u08d3\u08db\u08df\u08e2\u08e5\u08e8\u08ec")
        buf.write("\u08f1\u08f8\u08fc\u08ff\u0902\u0905\u0907\u090a\u0916")
        buf.write("\u0919\u091d\u0927\u092b\u092d\u0930\u0934\u093a\u093e")
        buf.write("\u0949\u0953\u095f\u096e\u0973\u097a\u098a\u098f\u099c")
        buf.write("\u09a1\u09a9\u09af\u09b3\u09bc\u09cb\u09d0\u09dc\u09e1")
        buf.write("\u09e9\u09ec\u09f0\u09fe\u0a0b\u0a10\u0a14\u0a17\u0a1c")
        buf.write("\u0a25\u0a28\u0a2d\u0a34\u0a37\u0a3f\u0a46\u0a4d\u0a50")
        buf.write("\u0a55\u0a58\u0a5d\u0a61\u0a64\u0a67\u0a6d\u0a72\u0a77")
        buf.write("\u0a89\u0a8b\u0a8e\u0a99\u0aa2\u0aa9\u0ab1\u0ab8\u0abc")
        buf.write("\u0ac4\u0acc\u0ad2\u0ada\u0ae6\u0ae9\u0aef\u0af3\u0af5")
        buf.write("\u0afe\u0b0a\u0b0c\u0b13\u0b1a\u0b20\u0b26\u0b28\u0b2f")
        buf.write("\u0b37\u0b3d\u0b44\u0b4a\u0b4e\u0b50\u0b57\u0b60\u0b6d")
        buf.write("\u0b72\u0b76\u0b84\u0b86\u0b8e\u0b90\u0b94\u0b9c\u0ba5")
        buf.write("\u0bab\u0bb3\u0bb8\u0bc4\u0bc9\u0bcc\u0bd2\u0bd6\u0bdb")
        buf.write("\u0be0\u0be5\u0beb\u0c00\u0c02\u0c0b\u0c0f\u0c18\u0c1c")
        buf.write("\u0c2e\u0c31\u0c39\u0c42\u0c59\u0c64\u0c6b\u0c6e\u0c77")
        buf.write("\u0c7b\u0c87\u0ca0\u0ca7\u0caa\u0cb9\u0cbd\u0cc7\u0cc9")
        buf.write("\u0cd6\u0cd8\u0ce2\u0cef\u0cf3\u0cfa\u0cff\u0d07\u0d0b")
        buf.write("\u0d14\u0d19\u0d2a\u0d2e\u0d37\u0d3b\u0d3d\u0d44\u0d4b")
        buf.write("\u0d4e\u0d51\u0d58\u0d5f\u0d62\u0d69\u0d71\u0d74\u0d81")
        buf.write("\u0d95\u0d9f\u0da2\u0dab\u0dae\u0db0\u0db3\u0db6\u0dc8")
        buf.write("\u0dd1\u0dd8\u0ddf\u0de6\u0df0\u0df3\u0df8\u0e00\u0e06")
        buf.write("\u0e0b\u0e10\u0e14\u0e18\u0e1c\u0e20\u0e24\u0e28\u0e2b")
        buf.write("\u0e34")
        return buf.getvalue()


class fugue_sqlParser ( Parser ):

    grammarFileName = "fugue_sql.g4"

    atn = ATNDeserializer().deserialize(serializedATN())

    decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ]

    sharedContextCache = PredictionContextCache()

    literalNames = [ "<INVALID>", "','", "':'", "'('", "')'", "'.'", "'['", 
                     "']'", "'{'", "'}'", "'true'", "'false'", "'null'", 
                     "';'", "'/*+'", "'*/'", "'->'", "'HASH'", "'RAND'", 
                     "'EVEN'", "'PRESORT'", "'PERSIST'", "'BROADCAST'", 
                     "'PARAMS'", "'PROCESS'", "'OUTPUT'", "'ROWCOUNT'", 
                     "'CONCURRENCY'", "'PREPARTITION'", "'ZIP'", "'PRINT'", 
                     "'TITLE'", "'SAVE'", "'APPEND'", "'PARQUET'", "'CSV'", 
                     "'JSON'", "'SINGLE'", "':='", "'CHECKPOINT'", "'WEAK'", 
                     "'STRONG'", "'DETERMINISTIC'", "'ADD'", "'AFTER'", 
                     "'ALL'", "'ALTER'", "'ANALYZE'", "'AND'", "'ANTI'", 
                     "'ANY'", "'ARCHIVE'", "'ARRAY'", "'AS'", "'ASC'", "'AT'", 
                     "'AUTHORIZATION'", "'BETWEEN'", "'BOTH'", "'BUCKET'", 
                     "'BUCKETS'", "'BY'", "'CACHE'", "'CASCADE'", "'CASE'", 
                     "'CAST'", "'CHANGE'", "'CHECK'", "'CLEAR'", "'CLUSTER'", 
                     "'CLUSTERED'", "'CODEGEN'", "'COLLATE'", "'COLLECTION'", 
                     "'COLUMN'", "'COLUMNS'", "'COMMENT'", "'COMMIT'", "'COMPACT'", 
                     "'COMPACTIONS'", "'COMPUTE'", "'CONCATENATE'", "'CONSTRAINT'", 
                     "'COST'", "'CREATE'", "'CROSS'", "'CUBE'", "'CURRENT'", 
                     "'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", 
                     "'CURRENT_USER'", "'DATA'", "'DATABASE'", "<INVALID>", 
                     "'DAY'", "'DBPROPERTIES'", "'DEFINED'", "'DELETE'", 
                     "'DELIMITED'", "'DESC'", "'DESCRIBE'", "'DFS'", "'DIRECTORIES'", 
                     "'DIRECTORY'", "'DISTINCT'", "'DISTRIBUTE'", "'DROP'", 
                     "'ELSE'", "'END'", "'ESCAPE'", "'ESCAPED'", "'EXCEPT'", 
                     "'EXCHANGE'", "'EXISTS'", "'EXPLAIN'", "'EXPORT'", 
                     "'EXTENDED'", "'EXTERNAL'", "'EXTRACT'", "'FALSE'", 
                     "'FETCH'", "'FIELDS'", "'FILTER'", "'FILEFORMAT'", 
                     "'FIRST'", "'FOLLOWING'", "'FOR'", "'FOREIGN'", "'FORMAT'", 
                     "'FORMATTED'", "'FROM'", "'FULL'", "'FUNCTION'", "'FUNCTIONS'", 
                     "'GLOBAL'", "'GRANT'", "'GROUP'", "'GROUPING'", "'HAVING'", 
                     "'HOUR'", "'IF'", "'IGNORE'", "'IMPORT'", "'IN'", "'INDEX'", 
                     "'INDEXES'", "'INNER'", "'INPATH'", "'INPUTFORMAT'", 
                     "'INSERT'", "'INTERSECT'", "'INTERVAL'", "'INTO'", 
                     "'IS'", "'ITEMS'", "'JOIN'", "'KEYS'", "'LAST'", "'LATERAL'", 
                     "'LAZY'", "'LEADING'", "'LEFT'", "'LIKE'", "'LIMIT'", 
                     "'LINES'", "'LIST'", "'LOAD'", "'LOCAL'", "'LOCATION'", 
                     "'LOCK'", "'LOCKS'", "'LOGICAL'", "'MACRO'", "'MAP'", 
                     "'MATCHED'", "'MERGE'", "'MINUTE'", "'MONTH'", "'MSCK'", 
                     "'NAMESPACE'", "'NAMESPACES'", "'NATURAL'", "'NO'", 
                     "<INVALID>", "'NULL'", "'NULLS'", "'OF'", "'ON'", "'ONLY'", 
                     "'OPTION'", "'OPTIONS'", "'OR'", "'ORDER'", "'OUT'", 
                     "'OUTER'", "'OUTPUTFORMAT'", "'OVER'", "'OVERLAPS'", 
                     "'OVERLAY'", "'OVERWRITE'", "'PARTITION'", "'PARTITIONED'", 
                     "'PARTITIONS'", "'PERCENT'", "'PIVOT'", "'PLACING'", 
                     "'POSITION'", "'PRECEDING'", "'PRIMARY'", "'PRINCIPALS'", 
                     "'PROPERTIES'", "'PURGE'", "'QUERY'", "'RANGE'", "'RECORDREADER'", 
                     "'RECORDWRITER'", "'RECOVER'", "'REDUCE'", "'REFERENCES'", 
                     "'REFRESH'", "'RENAME'", "'REPAIR'", "'REPLACE'", "'RESET'", 
                     "'RESTRICT'", "'REVOKE'", "'RIGHT'", "<INVALID>", "'ROLE'", 
                     "'ROLES'", "'ROLLBACK'", "'ROLLUP'", "'ROW'", "'ROWS'", 
                     "'SCHEMA'", "'SECOND'", "'SELECT'", "'SEMI'", "'SEPARATED'", 
                     "'SERDE'", "'SERDEPROPERTIES'", "'SESSION_USER'", "'SET'", 
                     "'MINUS'", "'SETS'", "'SHOW'", "'SKEWED'", "'SOME'", 
                     "'SORT'", "'SORTED'", "'START'", "'STATISTICS'", "'STORED'", 
                     "'STRATIFY'", "'STRUCT'", "'SUBSTR'", "'SUBSTRING'", 
                     "'TABLE'", "'TABLES'", "'TABLESAMPLE'", "'TBLPROPERTIES'", 
                     "<INVALID>", "'TERMINATED'", "'THEN'", "'TO'", "'TOUCH'", 
                     "'TRAILING'", "'TRANSACTION'", "'TRANSACTIONS'", "'TRANSFORM'", 
                     "'TRIM'", "'TRUE'", "'TRUNCATE'", "'TYPE'", "'UNARCHIVE'", 
                     "'UNBOUNDED'", "'UNCACHE'", "'UNION'", "'UNIQUE'", 
                     "'UNKNOWN'", "'UNLOCK'", "'UNSET'", "'UPDATE'", "'USE'", 
                     "'USER'", "'USING'", "'VALUES'", "'VIEW'", "'VIEWS'", 
                     "'WHEN'", "'WHERE'", "'WINDOW'", "'WITH'", "'YEAR'", 
                     "'='", "'=='", "'<=>'", "'<>'", "'!='", "'<'", "<INVALID>", 
                     "'>'", "<INVALID>", "'+'", "'-'", "'*'", "'/'", "'%'", 
                     "'DIV'", "'~'", "'&'", "'|'", "'||'", "'^'" ]

    symbolicNames = [ "<INVALID>", "<INVALID>", "<INVALID>", "<INVALID>", 
                      "<INVALID>", "<INVALID>", "<INVALID>", "<INVALID>", 
                      "<INVALID>", "<INVALID>", "<INVALID>", "<INVALID>", 
                      "<INVALID>", "<INVALID>", "<INVALID>", "<INVALID>", 
                      "<INVALID>", "HASH", "RAND", "EVEN", "PRESORT", "PERSIST", 
                      "BROADCAST", "PARAMS", "PROCESS", "OUTPUT", "ROWCOUNT", 
                      "CONCURRENCY", "PREPARTITION", "ZIP", "PRINT", "TITLE", 
                      "SAVE", "APPEND", "PARQUET", "CSV", "JSON", "SINGLE", 
                      "COLONEQUAL", "CHECKPOINT", "WEAK", "STRONG", "DETERMINISTIC", 
                      "ADD", "AFTER", "ALL", "ALTER", "ANALYZE", "AND", 
                      "ANTI", "ANY", "ARCHIVE", "ARRAY", "AS", "ASC", "AT", 
                      "AUTHORIZATION", "BETWEEN", "BOTH", "BUCKET", "BUCKETS", 
                      "BY", "CACHE", "CASCADE", "CASE", "CAST", "CHANGE", 
                      "CHECK", "CLEAR", "CLUSTER", "CLUSTERED", "CODEGEN", 
                      "COLLATE", "COLLECTION", "COLUMN", "COLUMNS", "COMMENT", 
                      "COMMIT", "COMPACT", "COMPACTIONS", "COMPUTE", "CONCATENATE", 
                      "CONSTRAINT", "COST", "CREATE", "CROSS", "CUBE", "CURRENT", 
                      "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", 
                      "CURRENT_USER", "DATA", "DATABASE", "DATABASES", "DAY", 
                      "DBPROPERTIES", "DEFINED", "DELETE", "DELIMITED", 
                      "DESC", "DESCRIBE", "DFS", "DIRECTORIES", "DIRECTORY", 
                      "DISTINCT", "DISTRIBUTE", "DROP", "ELSE", "END", "ESCAPE", 
                      "ESCAPED", "EXCEPT", "EXCHANGE", "EXISTS", "EXPLAIN", 
                      "EXPORT", "EXTENDED", "EXTERNAL", "EXTRACT", "FALSE", 
                      "FETCH", "FIELDS", "FILTER", "FILEFORMAT", "FIRST", 
                      "FOLLOWING", "FOR", "FOREIGN", "FORMAT", "FORMATTED", 
                      "FROM", "FULL", "FUNCTION", "FUNCTIONS", "GLOBAL", 
                      "GRANT", "GROUP", "GROUPING", "HAVING", "HOUR", "IF", 
                      "IGNORE", "IMPORT", "IN", "INDEX", "INDEXES", "INNER", 
                      "INPATH", "INPUTFORMAT", "INSERT", "INTERSECT", "INTERVAL", 
                      "INTO", "IS", "ITEMS", "JOIN", "KEYS", "LAST", "LATERAL", 
                      "LAZY", "LEADING", "LEFT", "LIKE", "LIMIT", "LINES", 
                      "LIST", "LOAD", "LOCAL", "LOCATION", "LOCK", "LOCKS", 
                      "LOGICAL", "MACRO", "MAP", "MATCHED", "MERGE", "MINUTE", 
                      "MONTH", "MSCK", "NAMESPACE", "NAMESPACES", "NATURAL", 
                      "NO", "NOT", "NULL", "NULLS", "OF", "ON", "ONLY", 
                      "OPTION", "OPTIONS", "OR", "ORDER", "OUT", "OUTER", 
                      "OUTPUTFORMAT", "OVER", "OVERLAPS", "OVERLAY", "OVERWRITE", 
                      "PARTITION", "PARTITIONED", "PARTITIONS", "PERCENTLIT", 
                      "PIVOT", "PLACING", "POSITION", "PRECEDING", "PRIMARY", 
                      "PRINCIPALS", "PROPERTIES", "PURGE", "QUERY", "RANGE", 
                      "RECORDREADER", "RECORDWRITER", "RECOVER", "REDUCE", 
                      "REFERENCES", "REFRESH", "RENAME", "REPAIR", "REPLACE", 
                      "RESET", "RESTRICT", "REVOKE", "RIGHT", "RLIKE", "ROLE", 
                      "ROLES", "ROLLBACK", "ROLLUP", "ROW", "ROWS", "SCHEMA", 
                      "SECOND", "SELECT", "SEMI", "SEPARATED", "SERDE", 
                      "SERDEPROPERTIES", "SESSION_USER", "SET", "SETMINUS", 
                      "SETS", "SHOW", "SKEWED", "SOME", "SORT", "SORTED", 
                      "START", "STATISTICS", "STORED", "STRATIFY", "STRUCT", 
                      "SUBSTR", "SUBSTRING", "TABLE", "TABLES", "TABLESAMPLE", 
                      "TBLPROPERTIES", "TEMPORARY", "TERMINATED", "THEN", 
                      "TO", "TOUCH", "TRAILING", "TRANSACTION", "TRANSACTIONS", 
                      "TRANSFORM", "TRIM", "TRUE", "TRUNCATE", "TYPE", "UNARCHIVE", 
                      "UNBOUNDED", "UNCACHE", "UNION", "UNIQUE", "UNKNOWN", 
                      "UNLOCK", "UNSET", "UPDATE", "USE", "USER", "USING", 
                      "VALUES", "VIEW", "VIEWS", "WHEN", "WHERE", "WINDOW", 
                      "WITH", "YEAR", "EQUAL", "DOUBLEEQUAL", "NSEQ", "NEQ", 
                      "NEQJ", "LT", "LTE", "GT", "GTE", "PLUS", "MINUS", 
                      "ASTERISK", "SLASH", "PERCENT", "DIV", "TILDE", "AMPERSAND", 
                      "PIPE", "CONCAT_PIPE", "HAT", "STRING", "BIGINT_LITERAL", 
                      "SMALLINT_LITERAL", "TINYINT_LITERAL", "INTEGER_VALUE", 
                      "EXPONENT_VALUE", "DECIMAL_VALUE", "DOUBLE_LITERAL", 
                      "BIGDECIMAL_LITERAL", "IDENTIFIER", "BACKQUOTED_IDENTIFIER", 
                      "SIMPLE_COMMENT", "BRACKETED_COMMENT", "WS", "UNRECOGNIZED" ]

    RULE_fugueLanguage = 0
    RULE_fugueSingleStatement = 1
    RULE_fugueSingleTask = 2
    RULE_fugueNestableTask = 3
    RULE_fugueNestableTaskCollectionNoSelect = 4
    RULE_fugueTransformTask = 5
    RULE_fugueProcessTask = 6
    RULE_fugueSaveAndUseTask = 7
    RULE_fugueDropColumnsTask = 8
    RULE_fugueDropnaTask = 9
    RULE_fugueZipTask = 10
    RULE_fugueCreateTask = 11
    RULE_fugueCreateDataTask = 12
    RULE_fugueLoadTask = 13
    RULE_fugueOutputTask = 14
    RULE_fuguePrintTask = 15
    RULE_fugueSaveTask = 16
    RULE_fugueSingleFile = 17
    RULE_fugueLoadColumns = 18
    RULE_fugueSaveMode = 19
    RULE_fugueFileFormat = 20
    RULE_fuguePath = 21
    RULE_fugueCheckpoint = 22
    RULE_fugueCheckpointNamespace = 23
    RULE_fugueBroadcast = 24
    RULE_fugueDataFrames = 25
    RULE_fugueDataFramePair = 26
    RULE_fugueDataFrame = 27
    RULE_fugueAssignment = 28
    RULE_fugueAssignmentSign = 29
    RULE_fugueSingleOutputExtensionCommonWild = 30
    RULE_fugueSingleOutputExtensionCommon = 31
    RULE_fugueExtension = 32
    RULE_fugueZipType = 33
    RULE_fuguePrepartition = 34
    RULE_fuguePartitionAlgo = 35
    RULE_fuguePartitionNum = 36
    RULE_fuguePartitionNumber = 37
    RULE_fugueParams = 38
    RULE_fugueCols = 39
    RULE_fugueColsSort = 40
    RULE_fugueColSort = 41
    RULE_fugueColumnIdentifier = 42
    RULE_fugueWildSchema = 43
    RULE_fugueWildSchemaPair = 44
    RULE_fugueSchema = 45
    RULE_fugueSchemaPair = 46
    RULE_fugueSchemaKey = 47
    RULE_fugueSchemaType = 48
    RULE_fugueJson = 49
    RULE_fugueJsonObj = 50
    RULE_fugueJsonPairs = 51
    RULE_fugueJsonPair = 52
    RULE_fugueJsonKey = 53
    RULE_fugueJsonArray = 54
    RULE_fugueJsonValue = 55
    RULE_fugueJsonNumber = 56
    RULE_fugueJsonString = 57
    RULE_fugueJsonBool = 58
    RULE_fugueJsonNull = 59
    RULE_fugueIdentifier = 60
    RULE_singleStatement = 61
    RULE_singleExpression = 62
    RULE_singleTableIdentifier = 63
    RULE_singleMultipartIdentifier = 64
    RULE_singleFunctionIdentifier = 65
    RULE_singleDataType = 66
    RULE_singleTableSchema = 67
    RULE_statement = 68
    RULE_unsupportedHiveNativeCommands = 69
    RULE_createTableHeader = 70
    RULE_replaceTableHeader = 71
    RULE_bucketSpec = 72
    RULE_skewSpec = 73
    RULE_locationSpec = 74
    RULE_commentSpec = 75
    RULE_query = 76
    RULE_insertInto = 77
    RULE_partitionSpecLocation = 78
    RULE_partitionSpec = 79
    RULE_partitionVal = 80
    RULE_namespace = 81
    RULE_describeFuncName = 82
    RULE_describeColName = 83
    RULE_ctes = 84
    RULE_namedQuery = 85
    RULE_tableProvider = 86
    RULE_createTableClauses = 87
    RULE_tablePropertyList = 88
    RULE_tableProperty = 89
    RULE_tablePropertyKey = 90
    RULE_tablePropertyValue = 91
    RULE_constantList = 92
    RULE_nestedConstantList = 93
    RULE_createFileFormat = 94
    RULE_fileFormat = 95
    RULE_storageHandler = 96
    RULE_resource = 97
    RULE_dmlStatementNoWith = 98
    RULE_queryOrganization = 99
    RULE_multiInsertQueryBody = 100
    RULE_queryTerm = 101
    RULE_queryPrimary = 102
    RULE_sortItem = 103
    RULE_fromStatement = 104
    RULE_fromStatementBody = 105
    RULE_querySpecification = 106
    RULE_optionalFromClause = 107
    RULE_transformClause = 108
    RULE_selectClause = 109
    RULE_setClause = 110
    RULE_matchedClause = 111
    RULE_notMatchedClause = 112
    RULE_matchedAction = 113
    RULE_notMatchedAction = 114
    RULE_assignmentList = 115
    RULE_assignment = 116
    RULE_whereClause = 117
    RULE_havingClause = 118
    RULE_hint = 119
    RULE_hintStatement = 120
    RULE_fromClause = 121
    RULE_aggregationClause = 122
    RULE_groupingSet = 123
    RULE_pivotClause = 124
    RULE_pivotColumn = 125
    RULE_pivotValue = 126
    RULE_lateralView = 127
    RULE_setQuantifier = 128
    RULE_relation = 129
    RULE_joinRelation = 130
    RULE_joinType = 131
    RULE_joinCriteria = 132
    RULE_sample = 133
    RULE_sampleMethod = 134
    RULE_identifierList = 135
    RULE_identifierSeq = 136
    RULE_orderedIdentifierList = 137
    RULE_orderedIdentifier = 138
    RULE_identifierCommentList = 139
    RULE_identifierComment = 140
    RULE_relationPrimary = 141
    RULE_inlineTable = 142
    RULE_functionTable = 143
    RULE_tableAlias = 144
    RULE_rowFormat = 145
    RULE_multipartIdentifierList = 146
    RULE_multipartIdentifier = 147
    RULE_tableIdentifier = 148
    RULE_functionIdentifier = 149
    RULE_namedExpression = 150
    RULE_namedExpressionSeq = 151
    RULE_transformList = 152
    RULE_transform = 153
    RULE_transformArgument = 154
    RULE_expression = 155
    RULE_booleanExpression = 156
    RULE_predicate = 157
    RULE_valueExpression = 158
    RULE_primaryExpression = 159
    RULE_constant = 160
    RULE_comparisonOperator = 161
    RULE_comparisonEqualOperator = 162
    RULE_arithmeticOperator = 163
    RULE_predicateOperator = 164
    RULE_booleanValue = 165
    RULE_interval = 166
    RULE_errorCapturingMultiUnitsInterval = 167
    RULE_multiUnitsInterval = 168
    RULE_errorCapturingUnitToUnitInterval = 169
    RULE_unitToUnitInterval = 170
    RULE_intervalValue = 171
    RULE_intervalUnit = 172
    RULE_colPosition = 173
    RULE_dataType = 174
    RULE_qualifiedColTypeWithPositionList = 175
    RULE_qualifiedColTypeWithPosition = 176
    RULE_colTypeList = 177
    RULE_colType = 178
    RULE_complexColTypeList = 179
    RULE_complexColType = 180
    RULE_whenClause = 181
    RULE_windowClause = 182
    RULE_namedWindow = 183
    RULE_windowSpec = 184
    RULE_windowFrame = 185
    RULE_frameBound = 186
    RULE_qualifiedNameList = 187
    RULE_functionName = 188
    RULE_qualifiedName = 189
    RULE_errorCapturingIdentifier = 190
    RULE_errorCapturingIdentifierExtra = 191
    RULE_identifier = 192
    RULE_strictIdentifier = 193
    RULE_quotedIdentifier = 194
    RULE_number = 195
    RULE_alterColumnAction = 196
    RULE_ansiNonReserved = 197
    RULE_strictNonReserved = 198
    RULE_nonReserved = 199

    ruleNames =  [ "fugueLanguage", "fugueSingleStatement", "fugueSingleTask", 
                   "fugueNestableTask", "fugueNestableTaskCollectionNoSelect", 
                   "fugueTransformTask", "fugueProcessTask", "fugueSaveAndUseTask", 
                   "fugueDropColumnsTask", "fugueDropnaTask", "fugueZipTask", 
                   "fugueCreateTask", "fugueCreateDataTask", "fugueLoadTask", 
                   "fugueOutputTask", "fuguePrintTask", "fugueSaveTask", 
                   "fugueSingleFile", "fugueLoadColumns", "fugueSaveMode", 
                   "fugueFileFormat", "fuguePath", "fugueCheckpoint", "fugueCheckpointNamespace", 
                   "fugueBroadcast", "fugueDataFrames", "fugueDataFramePair", 
                   "fugueDataFrame", "fugueAssignment", "fugueAssignmentSign", 
                   "fugueSingleOutputExtensionCommonWild", "fugueSingleOutputExtensionCommon", 
                   "fugueExtension", "fugueZipType", "fuguePrepartition", 
                   "fuguePartitionAlgo", "fuguePartitionNum", "fuguePartitionNumber", 
                   "fugueParams", "fugueCols", "fugueColsSort", "fugueColSort", 
                   "fugueColumnIdentifier", "fugueWildSchema", "fugueWildSchemaPair", 
                   "fugueSchema", "fugueSchemaPair", "fugueSchemaKey", "fugueSchemaType", 
                   "fugueJson", "fugueJsonObj", "fugueJsonPairs", "fugueJsonPair", 
                   "fugueJsonKey", "fugueJsonArray", "fugueJsonValue", "fugueJsonNumber", 
                   "fugueJsonString", "fugueJsonBool", "fugueJsonNull", 
                   "fugueIdentifier", "singleStatement", "singleExpression", 
                   "singleTableIdentifier", "singleMultipartIdentifier", 
                   "singleFunctionIdentifier", "singleDataType", "singleTableSchema", 
                   "statement", "unsupportedHiveNativeCommands", "createTableHeader", 
                   "replaceTableHeader", "bucketSpec", "skewSpec", "locationSpec", 
                   "commentSpec", "query", "insertInto", "partitionSpecLocation", 
                   "partitionSpec", "partitionVal", "namespace", "describeFuncName", 
                   "describeColName", "ctes", "namedQuery", "tableProvider", 
                   "createTableClauses", "tablePropertyList", "tableProperty", 
                   "tablePropertyKey", "tablePropertyValue", "constantList", 
                   "nestedConstantList", "createFileFormat", "fileFormat", 
                   "storageHandler", "resource", "dmlStatementNoWith", "queryOrganization", 
                   "multiInsertQueryBody", "queryTerm", "queryPrimary", 
                   "sortItem", "fromStatement", "fromStatementBody", "querySpecification", 
                   "optionalFromClause", "transformClause", "selectClause", 
                   "setClause", "matchedClause", "notMatchedClause", "matchedAction", 
                   "notMatchedAction", "assignmentList", "assignment", "whereClause", 
                   "havingClause", "hint", "hintStatement", "fromClause", 
                   "aggregationClause", "groupingSet", "pivotClause", "pivotColumn", 
                   "pivotValue", "lateralView", "setQuantifier", "relation", 
                   "joinRelation", "joinType", "joinCriteria", "sample", 
                   "sampleMethod", "identifierList", "identifierSeq", "orderedIdentifierList", 
                   "orderedIdentifier", "identifierCommentList", "identifierComment", 
                   "relationPrimary", "inlineTable", "functionTable", "tableAlias", 
                   "rowFormat", "multipartIdentifierList", "multipartIdentifier", 
                   "tableIdentifier", "functionIdentifier", "namedExpression", 
                   "namedExpressionSeq", "transformList", "transform", "transformArgument", 
                   "expression", "booleanExpression", "predicate", "valueExpression", 
                   "primaryExpression", "constant", "comparisonOperator", 
                   "comparisonEqualOperator", "arithmeticOperator", "predicateOperator", 
                   "booleanValue", "interval", "errorCapturingMultiUnitsInterval", 
                   "multiUnitsInterval", "errorCapturingUnitToUnitInterval", 
                   "unitToUnitInterval", "intervalValue", "intervalUnit", 
                   "colPosition", "dataType", "qualifiedColTypeWithPositionList", 
                   "qualifiedColTypeWithPosition", "colTypeList", "colType", 
                   "complexColTypeList", "complexColType", "whenClause", 
                   "windowClause", "namedWindow", "windowSpec", "windowFrame", 
                   "frameBound", "qualifiedNameList", "functionName", "qualifiedName", 
                   "errorCapturingIdentifier", "errorCapturingIdentifierExtra", 
                   "identifier", "strictIdentifier", "quotedIdentifier", 
                   "number", "alterColumnAction", "ansiNonReserved", "strictNonReserved", 
                   "nonReserved" ]

    EOF = Token.EOF
    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
    T__10=11
    T__11=12
    T__12=13
    T__13=14
    T__14=15
    T__15=16
    HASH=17
    RAND=18
    EVEN=19
    PRESORT=20
    PERSIST=21
    BROADCAST=22
    PARAMS=23
    PROCESS=24
    OUTPUT=25
    ROWCOUNT=26
    CONCURRENCY=27
    PREPARTITION=28
    ZIP=29
    PRINT=30
    TITLE=31
    SAVE=32
    APPEND=33
    PARQUET=34
    CSV=35
    JSON=36
    SINGLE=37
    COLONEQUAL=38
    CHECKPOINT=39
    WEAK=40
    STRONG=41
    DETERMINISTIC=42
    ADD=43
    AFTER=44
    ALL=45
    ALTER=46
    ANALYZE=47
    AND=48
    ANTI=49
    ANY=50
    ARCHIVE=51
    ARRAY=52
    AS=53
    ASC=54
    AT=55
    AUTHORIZATION=56
    BETWEEN=57
    BOTH=58
    BUCKET=59
    BUCKETS=60
    BY=61
    CACHE=62
    CASCADE=63
    CASE=64
    CAST=65
    CHANGE=66
    CHECK=67
    CLEAR=68
    CLUSTER=69
    CLUSTERED=70
    CODEGEN=71
    COLLATE=72
    COLLECTION=73
    COLUMN=74
    COLUMNS=75
    COMMENT=76
    COMMIT=77
    COMPACT=78
    COMPACTIONS=79
    COMPUTE=80
    CONCATENATE=81
    CONSTRAINT=82
    COST=83
    CREATE=84
    CROSS=85
    CUBE=86
    CURRENT=87
    CURRENT_DATE=88
    CURRENT_TIME=89
    CURRENT_TIMESTAMP=90
    CURRENT_USER=91
    DATA=92
    DATABASE=93
    DATABASES=94
    DAY=95
    DBPROPERTIES=96
    DEFINED=97
    DELETE=98
    DELIMITED=99
    DESC=100
    DESCRIBE=101
    DFS=102
    DIRECTORIES=103
    DIRECTORY=104
    DISTINCT=105
    DISTRIBUTE=106
    DROP=107
    ELSE=108
    END=109
    ESCAPE=110
    ESCAPED=111
    EXCEPT=112
    EXCHANGE=113
    EXISTS=114
    EXPLAIN=115
    EXPORT=116
    EXTENDED=117
    EXTERNAL=118
    EXTRACT=119
    FALSE=120
    FETCH=121
    FIELDS=122
    FILTER=123
    FILEFORMAT=124
    FIRST=125
    FOLLOWING=126
    FOR=127
    FOREIGN=128
    FORMAT=129
    FORMATTED=130
    FROM=131
    FULL=132
    FUNCTION=133
    FUNCTIONS=134
    GLOBAL=135
    GRANT=136
    GROUP=137
    GROUPING=138
    HAVING=139
    HOUR=140
    IF=141
    IGNORE=142
    IMPORT=143
    IN=144
    INDEX=145
    INDEXES=146
    INNER=147
    INPATH=148
    INPUTFORMAT=149
    INSERT=150
    INTERSECT=151
    INTERVAL=152
    INTO=153
    IS=154
    ITEMS=155
    JOIN=156
    KEYS=157
    LAST=158
    LATERAL=159
    LAZY=160
    LEADING=161
    LEFT=162
    LIKE=163
    LIMIT=164
    LINES=165
    LIST=166
    LOAD=167
    LOCAL=168
    LOCATION=169
    LOCK=170
    LOCKS=171
    LOGICAL=172
    MACRO=173
    MAP=174
    MATCHED=175
    MERGE=176
    MINUTE=177
    MONTH=178
    MSCK=179
    NAMESPACE=180
    NAMESPACES=181
    NATURAL=182
    NO=183
    NOT=184
    NULL=185
    NULLS=186
    OF=187
    ON=188
    ONLY=189
    OPTION=190
    OPTIONS=191
    OR=192
    ORDER=193
    OUT=194
    OUTER=195
    OUTPUTFORMAT=196
    OVER=197
    OVERLAPS=198
    OVERLAY=199
    OVERWRITE=200
    PARTITION=201
    PARTITIONED=202
    PARTITIONS=203
    PERCENTLIT=204
    PIVOT=205
    PLACING=206
    POSITION=207
    PRECEDING=208
    PRIMARY=209
    PRINCIPALS=210
    PROPERTIES=211
    PURGE=212
    QUERY=213
    RANGE=214
    RECORDREADER=215
    RECORDWRITER=216
    RECOVER=217
    REDUCE=218
    REFERENCES=219
    REFRESH=220
    RENAME=221
    REPAIR=222
    REPLACE=223
    RESET=224
    RESTRICT=225
    REVOKE=226
    RIGHT=227
    RLIKE=228
    ROLE=229
    ROLES=230
    ROLLBACK=231
    ROLLUP=232
    ROW=233
    ROWS=234
    SCHEMA=235
    SECOND=236
    SELECT=237
    SEMI=238
    SEPARATED=239
    SERDE=240
    SERDEPROPERTIES=241
    SESSION_USER=242
    SET=243
    SETMINUS=244
    SETS=245
    SHOW=246
    SKEWED=247
    SOME=248
    SORT=249
    SORTED=250
    START=251
    STATISTICS=252
    STORED=253
    STRATIFY=254
    STRUCT=255
    SUBSTR=256
    SUBSTRING=257
    TABLE=258
    TABLES=259
    TABLESAMPLE=260
    TBLPROPERTIES=261
    TEMPORARY=262
    TERMINATED=263
    THEN=264
    TO=265
    TOUCH=266
    TRAILING=267
    TRANSACTION=268
    TRANSACTIONS=269
    TRANSFORM=270
    TRIM=271
    TRUE=272
    TRUNCATE=273
    TYPE=274
    UNARCHIVE=275
    UNBOUNDED=276
    UNCACHE=277
    UNION=278
    UNIQUE=279
    UNKNOWN=280
    UNLOCK=281
    UNSET=282
    UPDATE=283
    USE=284
    USER=285
    USING=286
    VALUES=287
    VIEW=288
    VIEWS=289
    WHEN=290
    WHERE=291
    WINDOW=292
    WITH=293
    YEAR=294
    EQUAL=295
    DOUBLEEQUAL=296
    NSEQ=297
    NEQ=298
    NEQJ=299
    LT=300
    LTE=301
    GT=302
    GTE=303
    PLUS=304
    MINUS=305
    ASTERISK=306
    SLASH=307
    PERCENT=308
    DIV=309
    TILDE=310
    AMPERSAND=311
    PIPE=312
    CONCAT_PIPE=313
    HAT=314
    STRING=315
    BIGINT_LITERAL=316
    SMALLINT_LITERAL=317
    TINYINT_LITERAL=318
    INTEGER_VALUE=319
    EXPONENT_VALUE=320
    DECIMAL_VALUE=321
    DOUBLE_LITERAL=322
    BIGDECIMAL_LITERAL=323
    IDENTIFIER=324
    BACKQUOTED_IDENTIFIER=325
    SIMPLE_COMMENT=326
    BRACKETED_COMMENT=327
    WS=328
    UNRECOGNIZED=329

    def __init__(self, input:TokenStream, output:TextIO = sys.stdout):
        super().__init__(input, output)
        self.checkVersion("4.8")
        self._interp = ParserATNSimulator(self, self.atn, self.decisionsToDFA, self.sharedContextCache)
        self._predicates = None



    # When false, INTERSECT is given the greater precedence over the other set
    # operations (UNION, EXCEPT and MINUS) as per the SQL standard.
    legacy_setops_precedence_enbled = False

    # When false, a literal with an exponent would be converted into
    # double type rather than decimal type.
    legacy_exponent_literal_as_decimal_enabled = 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.
    def isValidDecimal(self):
        return True  # TODO: remove this
        nextChar = self._input.LA(1);
        if (nextChar >= 'A' and nextChar <= 'Z') or (nextChar >= '0' and nextChar <= '9') or nextChar == '_':
            return False
        else:
            return True

    # When true, the behavior of keywords follows ANSI SQL standard.
    @property
    def SQL_standard_keyword_behavior(self):
        if "_ansi_sql" in self.__dict__:
            return self._ansi_sql
        return False

    # This method will be called when we see '/ *' and try to match it as a bracketed comment.
    # If the next character is '+', it should be parsed as hint later, and we cannot match
    # it as a bracketed comment.

    # Returns true if the next character is '+'.
    def isHint(self):
        return False  # TODO: remove this
        nextChar = self._input.LA(1);
        if nextChar == '+':
            return True
        else:
            return False


    @property
    def allUpperCase(self):
        if "_all_upper_case" in self.__dict__:
            return self._all_upper_case
        return False

    @property
    def simpleAssign(self):
        if "_simple_assign" in self.__dict__:
            return self._simple_assign
        return False




    class FugueLanguageContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def fugueSingleTask(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueSingleTaskContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueSingleTaskContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueLanguage

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueLanguage" ):
                return visitor.visitFugueLanguage(self)
            else:
                return visitor.visitChildren(self)




    def fugueLanguage(self):

        localctx = fugue_sqlParser.FugueLanguageContext(self, self._ctx, self.state)
        self.enterRule(localctx, 0, self.RULE_fugueLanguage)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 401 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 400
                    self.fugueSingleTask()

                else:
                    raise NoViableAltException(self)
                self.state = 403 
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,0,self._ctx)

            self.state = 405
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSingleStatementContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueSingleTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleTaskContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSingleStatement

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSingleStatement" ):
                return visitor.visitFugueSingleStatement(self)
            else:
                return visitor.visitChildren(self)




    def fugueSingleStatement(self):

        localctx = fugue_sqlParser.FugueSingleStatementContext(self, self._ctx, self.state)
        self.enterRule(localctx, 2, self.RULE_fugueSingleStatement)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 407
            self.fugueSingleTask()
            self.state = 408
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSingleTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueNestableTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueNestableTaskContext,0)


        def fugueOutputTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueOutputTaskContext,0)


        def fuguePrintTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrintTaskContext,0)


        def fugueSaveTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSaveTaskContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSingleTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSingleTask" ):
                return visitor.visitFugueSingleTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueSingleTask(self):

        localctx = fugue_sqlParser.FugueSingleTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 4, self.RULE_fugueSingleTask)
        try:
            self.state = 414
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,1,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 410
                self.fugueNestableTask()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 411
                self.fugueOutputTask()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 412
                self.fuguePrintTask()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 413
                self.fugueSaveTask()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueNestableTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.assign = None # FugueAssignmentContext
            self.q = None # QueryContext
            self.checkpoint = None # FugueCheckpointContext
            self.broadcast = None # FugueBroadcastContext

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def fugueAssignment(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueAssignmentContext,0)


        def fugueCheckpoint(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueCheckpointContext,0)


        def fugueBroadcast(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueBroadcastContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueNestableTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueNestableTask" ):
                return visitor.visitFugueNestableTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueNestableTask(self):

        localctx = fugue_sqlParser.FugueNestableTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 6, self.RULE_fugueNestableTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 417
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,2,self._ctx)
            if la_ == 1:
                self.state = 416
                localctx.assign = self.fugueAssignment()


            self.state = 419
            localctx.q = self.query()
            self.state = 421
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,3,self._ctx)
            if la_ == 1:
                self.state = 420
                localctx.checkpoint = self.fugueCheckpoint()


            self.state = 424
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,4,self._ctx)
            if la_ == 1:
                self.state = 423
                localctx.broadcast = self.fugueBroadcast()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueNestableTaskCollectionNoSelectContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueTransformTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueTransformTaskContext,0)


        def fugueProcessTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueProcessTaskContext,0)


        def fugueZipTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueZipTaskContext,0)


        def fugueCreateTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueCreateTaskContext,0)


        def fugueCreateDataTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueCreateDataTaskContext,0)


        def fugueLoadTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueLoadTaskContext,0)


        def fugueSaveAndUseTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSaveAndUseTaskContext,0)


        def fugueDropColumnsTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDropColumnsTaskContext,0)


        def fugueDropnaTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDropnaTaskContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueNestableTaskCollectionNoSelect

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueNestableTaskCollectionNoSelect" ):
                return visitor.visitFugueNestableTaskCollectionNoSelect(self)
            else:
                return visitor.visitChildren(self)




    def fugueNestableTaskCollectionNoSelect(self):

        localctx = fugue_sqlParser.FugueNestableTaskCollectionNoSelectContext(self, self._ctx, self.state)
        self.enterRule(localctx, 8, self.RULE_fugueNestableTaskCollectionNoSelect)
        try:
            self.state = 435
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,5,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 426
                self.fugueTransformTask()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 427
                self.fugueProcessTask()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 428
                self.fugueZipTask()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 429
                self.fugueCreateTask()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 430
                self.fugueCreateDataTask()
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 431
                self.fugueLoadTask()
                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 432
                self.fugueSaveAndUseTask()
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 433
                self.fugueDropColumnsTask()
                pass

            elif la_ == 9:
                self.enterOuterAlt(localctx, 9)
                self.state = 434
                self.fugueDropnaTask()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueTransformTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.dfs = None # FugueDataFramesContext
            self.partition = None # FuguePrepartitionContext
            self.params = None # FugueSingleOutputExtensionCommonWildContext

        def TRANSFORM(self):
            return self.getToken(fugue_sqlParser.TRANSFORM, 0)

        def fugueSingleOutputExtensionCommonWild(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleOutputExtensionCommonWildContext,0)


        def fugueDataFrames(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramesContext,0)


        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueTransformTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueTransformTask" ):
                return visitor.visitFugueTransformTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueTransformTask(self):

        localctx = fugue_sqlParser.FugueTransformTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 10, self.RULE_fugueTransformTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 437
            self.match(fugue_sqlParser.TRANSFORM)
            self.state = 439
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,6,self._ctx)
            if la_ == 1:
                self.state = 438
                localctx.dfs = self.fugueDataFrames()


            self.state = 442
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN) | (1 << fugue_sqlParser.PREPARTITION))) != 0):
                self.state = 441
                localctx.partition = self.fuguePrepartition()


            self.state = 444
            localctx.params = self.fugueSingleOutputExtensionCommonWild()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueProcessTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.dfs = None # FugueDataFramesContext
            self.partition = None # FuguePrepartitionContext
            self.params = None # FugueSingleOutputExtensionCommonContext

        def PROCESS(self):
            return self.getToken(fugue_sqlParser.PROCESS, 0)

        def fugueSingleOutputExtensionCommon(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleOutputExtensionCommonContext,0)


        def fugueDataFrames(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramesContext,0)


        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueProcessTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueProcessTask" ):
                return visitor.visitFugueProcessTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueProcessTask(self):

        localctx = fugue_sqlParser.FugueProcessTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 12, self.RULE_fugueProcessTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 446
            self.match(fugue_sqlParser.PROCESS)
            self.state = 448
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,8,self._ctx)
            if la_ == 1:
                self.state = 447
                localctx.dfs = self.fugueDataFrames()


            self.state = 451
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN) | (1 << fugue_sqlParser.PREPARTITION))) != 0):
                self.state = 450
                localctx.partition = self.fuguePrepartition()


            self.state = 453
            localctx.params = self.fugueSingleOutputExtensionCommon()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSaveAndUseTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.df = None # FugueDataFrameContext
            self.partition = None # FuguePrepartitionContext
            self.m = None # FugueSaveModeContext
            self.single = None # FugueSingleFileContext
            self.fmt = None # FugueFileFormatContext
            self.path = None # FuguePathContext
            self.params = None # FugueParamsContext

        def SAVE(self):
            return self.getToken(fugue_sqlParser.SAVE, 0)

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def USE(self):
            return self.getToken(fugue_sqlParser.USE, 0)

        def fugueSaveMode(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSaveModeContext,0)


        def fuguePath(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePathContext,0)


        def fugueDataFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,0)


        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)


        def fugueSingleFile(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleFileContext,0)


        def fugueFileFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueFileFormatContext,0)


        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSaveAndUseTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSaveAndUseTask" ):
                return visitor.visitFugueSaveAndUseTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueSaveAndUseTask(self):

        localctx = fugue_sqlParser.FugueSaveAndUseTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 14, self.RULE_fugueSaveAndUseTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 455
            self.match(fugue_sqlParser.SAVE)
            self.state = 456
            self.match(fugue_sqlParser.AND)
            self.state = 457
            self.match(fugue_sqlParser.USE)
            self.state = 459
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,10,self._ctx)
            if la_ == 1:
                self.state = 458
                localctx.df = self.fugueDataFrame()


            self.state = 462
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN) | (1 << fugue_sqlParser.PREPARTITION))) != 0):
                self.state = 461
                localctx.partition = self.fuguePrepartition()


            self.state = 464
            localctx.m = self.fugueSaveMode()
            self.state = 466
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SINGLE:
                self.state = 465
                localctx.single = self.fugueSingleFile()


            self.state = 469
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PARQUET) | (1 << fugue_sqlParser.CSV) | (1 << fugue_sqlParser.JSON))) != 0):
                self.state = 468
                localctx.fmt = self.fugueFileFormat()


            self.state = 471
            localctx.path = self.fuguePath()
            self.state = 473
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,14,self._ctx)
            if la_ == 1:
                self.state = 472
                localctx.params = self.fugueParams()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueDropColumnsTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.cols = None # FugueColsContext
            self.df = None # FugueDataFrameContext

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)

        def fugueCols(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsContext,0)


        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)

        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)

        def fugueDataFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDropColumnsTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDropColumnsTask" ):
                return visitor.visitFugueDropColumnsTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueDropColumnsTask(self):

        localctx = fugue_sqlParser.FugueDropColumnsTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 16, self.RULE_fugueDropColumnsTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 475
            self.match(fugue_sqlParser.DROP)
            self.state = 476
            self.match(fugue_sqlParser.COLUMNS)
            self.state = 477
            localctx.cols = self.fugueCols()
            self.state = 480
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,15,self._ctx)
            if la_ == 1:
                self.state = 478
                self.match(fugue_sqlParser.IF)
                self.state = 479
                self.match(fugue_sqlParser.EXISTS)


            self.state = 484
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,16,self._ctx)
            if la_ == 1:
                self.state = 482
                self.match(fugue_sqlParser.FROM)
                self.state = 483
                localctx.df = self.fugueDataFrame()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueDropnaTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.how = None # Token
            self.cols = None # FugueColsContext
            self.df = None # FugueDataFrameContext

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def ANY(self):
            return self.getToken(fugue_sqlParser.ANY, 0)

        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)

        def fugueCols(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsContext,0)


        def fugueDataFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDropnaTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDropnaTask" ):
                return visitor.visitFugueDropnaTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueDropnaTask(self):

        localctx = fugue_sqlParser.FugueDropnaTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 18, self.RULE_fugueDropnaTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 486
            self.match(fugue_sqlParser.DROP)
            self.state = 487
            self.match(fugue_sqlParser.ROWS)
            self.state = 488
            self.match(fugue_sqlParser.IF)
            self.state = 489
            localctx.how = self._input.LT(1)
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.ALL or _la==fugue_sqlParser.ANY):
                localctx.how = self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
            self.state = 490
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.NULL or _la==fugue_sqlParser.NULLS):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
            self.state = 493
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,17,self._ctx)
            if la_ == 1:
                self.state = 491
                self.match(fugue_sqlParser.ON)
                self.state = 492
                localctx.cols = self.fugueCols()


            self.state = 497
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,18,self._ctx)
            if la_ == 1:
                self.state = 495
                self.match(fugue_sqlParser.FROM)
                self.state = 496
                localctx.df = self.fugueDataFrame()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueZipTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.dfs = None # FugueDataFramesContext
            self.how = None # FugueZipTypeContext
            self.by = None # FugueColsContext
            self.presort = None # FugueColsSortContext

        def ZIP(self):
            return self.getToken(fugue_sqlParser.ZIP, 0)

        def fugueDataFrames(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramesContext,0)


        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def PRESORT(self):
            return self.getToken(fugue_sqlParser.PRESORT, 0)

        def fugueZipType(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueZipTypeContext,0)


        def fugueCols(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsContext,0)


        def fugueColsSort(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsSortContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueZipTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueZipTask" ):
                return visitor.visitFugueZipTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueZipTask(self):

        localctx = fugue_sqlParser.FugueZipTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 20, self.RULE_fugueZipTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 499
            self.match(fugue_sqlParser.ZIP)
            self.state = 500
            localctx.dfs = self.fugueDataFrames()
            self.state = 502
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,19,self._ctx)
            if la_ == 1:
                self.state = 501
                localctx.how = self.fugueZipType()


            self.state = 506
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,20,self._ctx)
            if la_ == 1:
                self.state = 504
                self.match(fugue_sqlParser.BY)
                self.state = 505
                localctx.by = self.fugueCols()


            self.state = 510
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,21,self._ctx)
            if la_ == 1:
                self.state = 508
                self.match(fugue_sqlParser.PRESORT)
                self.state = 509
                localctx.presort = self.fugueColsSort()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueCreateTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.params = None # FugueSingleOutputExtensionCommonContext

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def fugueSingleOutputExtensionCommon(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleOutputExtensionCommonContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueCreateTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCreateTask" ):
                return visitor.visitFugueCreateTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueCreateTask(self):

        localctx = fugue_sqlParser.FugueCreateTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 22, self.RULE_fugueCreateTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 512
            self.match(fugue_sqlParser.CREATE)
            self.state = 513
            localctx.params = self.fugueSingleOutputExtensionCommon()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueCreateDataTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.data = None # FugueJsonArrayContext
            self.schema = None # FugueSchemaContext

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def fugueJsonArray(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonArrayContext,0)


        def fugueSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaContext,0)


        def DATA(self):
            return self.getToken(fugue_sqlParser.DATA, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueCreateDataTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCreateDataTask" ):
                return visitor.visitFugueCreateDataTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueCreateDataTask(self):

        localctx = fugue_sqlParser.FugueCreateDataTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 24, self.RULE_fugueCreateDataTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 515
            self.match(fugue_sqlParser.CREATE)
            self.state = 517
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.DATA:
                self.state = 516
                self.match(fugue_sqlParser.DATA)


            self.state = 519
            localctx.data = self.fugueJsonArray()
            self.state = 520
            self.match(fugue_sqlParser.SCHEMA)
            self.state = 521
            localctx.schema = self.fugueSchema()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueLoadTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.fmt = None # FugueFileFormatContext
            self.path = None # FuguePathContext
            self.params = None # FugueParamsContext
            self.columns = None # FugueLoadColumnsContext

        def LOAD(self):
            return self.getToken(fugue_sqlParser.LOAD, 0)

        def fuguePath(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePathContext,0)


        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)

        def fugueFileFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueFileFormatContext,0)


        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def fugueLoadColumns(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueLoadColumnsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueLoadTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueLoadTask" ):
                return visitor.visitFugueLoadTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueLoadTask(self):

        localctx = fugue_sqlParser.FugueLoadTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 26, self.RULE_fugueLoadTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 523
            self.match(fugue_sqlParser.LOAD)
            self.state = 525
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PARQUET) | (1 << fugue_sqlParser.CSV) | (1 << fugue_sqlParser.JSON))) != 0):
                self.state = 524
                localctx.fmt = self.fugueFileFormat()


            self.state = 527
            localctx.path = self.fuguePath()
            self.state = 529
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,24,self._ctx)
            if la_ == 1:
                self.state = 528
                localctx.params = self.fugueParams()


            self.state = 533
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,25,self._ctx)
            if la_ == 1:
                self.state = 531
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 532
                localctx.columns = self.fugueLoadColumns()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueOutputTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.dfs = None # FugueDataFramesContext
            self.partition = None # FuguePrepartitionContext
            self.using = None # FugueExtensionContext
            self.params = None # FugueParamsContext

        def OUTPUT(self):
            return self.getToken(fugue_sqlParser.OUTPUT, 0)

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def fugueExtension(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueExtensionContext,0)


        def fugueDataFrames(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramesContext,0)


        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)


        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueOutputTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueOutputTask" ):
                return visitor.visitFugueOutputTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueOutputTask(self):

        localctx = fugue_sqlParser.FugueOutputTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 28, self.RULE_fugueOutputTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 535
            self.match(fugue_sqlParser.OUTPUT)
            self.state = 537
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,26,self._ctx)
            if la_ == 1:
                self.state = 536
                localctx.dfs = self.fugueDataFrames()


            self.state = 540
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN) | (1 << fugue_sqlParser.PREPARTITION))) != 0):
                self.state = 539
                localctx.partition = self.fuguePrepartition()


            self.state = 542
            self.match(fugue_sqlParser.USING)
            self.state = 543
            localctx.using = self.fugueExtension()
            self.state = 545
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,28,self._ctx)
            if la_ == 1:
                self.state = 544
                localctx.params = self.fugueParams()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FuguePrintTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.dfs = None # FugueDataFramesContext
            self.rows = None # Token
            self.count = None # Token
            self.title = None # Token

        def PRINT(self):
            return self.getToken(fugue_sqlParser.PRINT, 0)

        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def TITLE(self):
            return self.getToken(fugue_sqlParser.TITLE, 0)

        def fugueDataFrames(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramesContext,0)


        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)

        def ROWCOUNT(self):
            return self.getToken(fugue_sqlParser.ROWCOUNT, 0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePrintTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePrintTask" ):
                return visitor.visitFuguePrintTask(self)
            else:
                return visitor.visitChildren(self)




    def fuguePrintTask(self):

        localctx = fugue_sqlParser.FuguePrintTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 30, self.RULE_fuguePrintTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 547
            self.match(fugue_sqlParser.PRINT)
            self.state = 549
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,29,self._ctx)
            if la_ == 1:
                self.state = 548
                localctx.dfs = self.fugueDataFrames()


            self.state = 553
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,30,self._ctx)
            if la_ == 1:
                self.state = 551
                self.match(fugue_sqlParser.ROWS)
                self.state = 552
                localctx.rows = self.match(fugue_sqlParser.INTEGER_VALUE)


            self.state = 556
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,31,self._ctx)
            if la_ == 1:
                self.state = 555
                localctx.count = self.match(fugue_sqlParser.ROWCOUNT)


            self.state = 560
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,32,self._ctx)
            if la_ == 1:
                self.state = 558
                self.match(fugue_sqlParser.TITLE)
                self.state = 559
                localctx.title = self.match(fugue_sqlParser.STRING)


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSaveTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.df = None # FugueDataFrameContext
            self.partition = None # FuguePrepartitionContext
            self.m = None # FugueSaveModeContext
            self.single = None # FugueSingleFileContext
            self.fmt = None # FugueFileFormatContext
            self.path = None # FuguePathContext
            self.params = None # FugueParamsContext

        def SAVE(self):
            return self.getToken(fugue_sqlParser.SAVE, 0)

        def fugueSaveMode(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSaveModeContext,0)


        def fuguePath(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePathContext,0)


        def fugueDataFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,0)


        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)


        def fugueSingleFile(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleFileContext,0)


        def fugueFileFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueFileFormatContext,0)


        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSaveTask

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSaveTask" ):
                return visitor.visitFugueSaveTask(self)
            else:
                return visitor.visitChildren(self)




    def fugueSaveTask(self):

        localctx = fugue_sqlParser.FugueSaveTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 32, self.RULE_fugueSaveTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 562
            self.match(fugue_sqlParser.SAVE)
            self.state = 564
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,33,self._ctx)
            if la_ == 1:
                self.state = 563
                localctx.df = self.fugueDataFrame()


            self.state = 567
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN) | (1 << fugue_sqlParser.PREPARTITION))) != 0):
                self.state = 566
                localctx.partition = self.fuguePrepartition()


            self.state = 569
            localctx.m = self.fugueSaveMode()
            self.state = 571
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SINGLE:
                self.state = 570
                localctx.single = self.fugueSingleFile()


            self.state = 574
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PARQUET) | (1 << fugue_sqlParser.CSV) | (1 << fugue_sqlParser.JSON))) != 0):
                self.state = 573
                localctx.fmt = self.fugueFileFormat()


            self.state = 576
            localctx.path = self.fuguePath()
            self.state = 578
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,37,self._ctx)
            if la_ == 1:
                self.state = 577
                localctx.params = self.fugueParams()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSingleFileContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.single = None # Token

        def SINGLE(self):
            return self.getToken(fugue_sqlParser.SINGLE, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSingleFile

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSingleFile" ):
                return visitor.visitFugueSingleFile(self)
            else:
                return visitor.visitChildren(self)




    def fugueSingleFile(self):

        localctx = fugue_sqlParser.FugueSingleFileContext(self, self._ctx, self.state)
        self.enterRule(localctx, 34, self.RULE_fugueSingleFile)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 580
            localctx.single = self.match(fugue_sqlParser.SINGLE)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueLoadColumnsContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.schema = None # FugueSchemaContext
            self.cols = None # FugueColsContext

        def fugueSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaContext,0)


        def fugueCols(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueLoadColumns

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueLoadColumns" ):
                return visitor.visitFugueLoadColumns(self)
            else:
                return visitor.visitChildren(self)




    def fugueLoadColumns(self):

        localctx = fugue_sqlParser.FugueLoadColumnsContext(self, self._ctx, self.state)
        self.enterRule(localctx, 36, self.RULE_fugueLoadColumns)
        try:
            self.state = 584
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,38,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 582
                localctx.schema = self.fugueSchema()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 583
                localctx.cols = self.fugueCols()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSaveModeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)

        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)

        def APPEND(self):
            return self.getToken(fugue_sqlParser.APPEND, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSaveMode

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSaveMode" ):
                return visitor.visitFugueSaveMode(self)
            else:
                return visitor.visitChildren(self)




    def fugueSaveMode(self):

        localctx = fugue_sqlParser.FugueSaveModeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 38, self.RULE_fugueSaveMode)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 586
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.APPEND or _la==fugue_sqlParser.OVERWRITE or _la==fugue_sqlParser.TO):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueFileFormatContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def PARQUET(self):
            return self.getToken(fugue_sqlParser.PARQUET, 0)

        def CSV(self):
            return self.getToken(fugue_sqlParser.CSV, 0)

        def JSON(self):
            return self.getToken(fugue_sqlParser.JSON, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueFileFormat

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueFileFormat" ):
                return visitor.visitFugueFileFormat(self)
            else:
                return visitor.visitChildren(self)




    def fugueFileFormat(self):

        localctx = fugue_sqlParser.FugueFileFormatContext(self, self._ctx, self.state)
        self.enterRule(localctx, 40, self.RULE_fugueFileFormat)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 588
            _la = self._input.LA(1)
            if not((((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PARQUET) | (1 << fugue_sqlParser.CSV) | (1 << fugue_sqlParser.JSON))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FuguePathContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePath

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePath" ):
                return visitor.visitFuguePath(self)
            else:
                return visitor.visitChildren(self)




    def fuguePath(self):

        localctx = fugue_sqlParser.FuguePathContext(self, self._ctx, self.state)
        self.enterRule(localctx, 42, self.RULE_fuguePath)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 590
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueCheckpointContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueCheckpoint

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class FugueCheckpointDeterministicContext(FugueCheckpointContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueCheckpointContext
            super().__init__(parser)
            self.ns = None # FugueCheckpointNamespaceContext
            self.partition = None # FuguePrepartitionContext
            self.single = None # FugueSingleFileContext
            self.params = None # FugueParamsContext
            self.copyFrom(ctx)

        def DETERMINISTIC(self):
            return self.getToken(fugue_sqlParser.DETERMINISTIC, 0)
        def CHECKPOINT(self):
            return self.getToken(fugue_sqlParser.CHECKPOINT, 0)
        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)
        def fugueCheckpointNamespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueCheckpointNamespaceContext,0)

        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)

        def fugueSingleFile(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleFileContext,0)

        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCheckpointDeterministic" ):
                return visitor.visitFugueCheckpointDeterministic(self)
            else:
                return visitor.visitChildren(self)


    class FugueCheckpointWeakContext(FugueCheckpointContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueCheckpointContext
            super().__init__(parser)
            self.params = None # FugueParamsContext
            self.copyFrom(ctx)

        def PERSIST(self):
            return self.getToken(fugue_sqlParser.PERSIST, 0)
        def WEAK(self):
            return self.getToken(fugue_sqlParser.WEAK, 0)
        def CHECKPOINT(self):
            return self.getToken(fugue_sqlParser.CHECKPOINT, 0)
        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)
        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCheckpointWeak" ):
                return visitor.visitFugueCheckpointWeak(self)
            else:
                return visitor.visitChildren(self)


    class FugueCheckpointStrongContext(FugueCheckpointContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueCheckpointContext
            super().__init__(parser)
            self.partition = None # FuguePrepartitionContext
            self.single = None # FugueSingleFileContext
            self.params = None # FugueParamsContext
            self.copyFrom(ctx)

        def CHECKPOINT(self):
            return self.getToken(fugue_sqlParser.CHECKPOINT, 0)
        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)
        def STRONG(self):
            return self.getToken(fugue_sqlParser.STRONG, 0)
        def fuguePrepartition(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePrepartitionContext,0)

        def fugueSingleFile(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSingleFileContext,0)

        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCheckpointStrong" ):
                return visitor.visitFugueCheckpointStrong(self)
            else:
                return visitor.visitChildren(self)



    def fugueCheckpoint(self):

        localctx = fugue_sqlParser.FugueCheckpointContext(self, self._ctx, self.state)
        self.enterRule(localctx, 44, self.RULE_fugueCheckpoint)
        self._la = 0 # Token type
        try:
            self.state = 636
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,52,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueCheckpointWeakContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 593
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 592
                    self.match(fugue_sqlParser.LAZY)


                self.state = 598
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.PERSIST]:
                    self.state = 595
                    self.match(fugue_sqlParser.PERSIST)
                    pass
                elif token in [fugue_sqlParser.WEAK]:
                    self.state = 596
                    self.match(fugue_sqlParser.WEAK)
                    self.state = 597
                    self.match(fugue_sqlParser.CHECKPOINT)
                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 601
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,41,self._ctx)
                if la_ == 1:
                    self.state = 600
                    localctx.params = self.fugueParams()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueCheckpointStrongContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 604
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 603
                    self.match(fugue_sqlParser.LAZY)


                self.state = 607
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.STRONG:
                    self.state = 606
                    self.match(fugue_sqlParser.STRONG)


                self.state = 609
                self.match(fugue_sqlParser.CHECKPOINT)
                self.state = 611
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,44,self._ctx)
                if la_ == 1:
                    self.state = 610
                    localctx.partition = self.fuguePrepartition()


                self.state = 614
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,45,self._ctx)
                if la_ == 1:
                    self.state = 613
                    localctx.single = self.fugueSingleFile()


                self.state = 617
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,46,self._ctx)
                if la_ == 1:
                    self.state = 616
                    localctx.params = self.fugueParams()


                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.FugueCheckpointDeterministicContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 620
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 619
                    self.match(fugue_sqlParser.LAZY)


                self.state = 622
                self.match(fugue_sqlParser.DETERMINISTIC)
                self.state = 623
                self.match(fugue_sqlParser.CHECKPOINT)
                self.state = 625
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,48,self._ctx)
                if la_ == 1:
                    self.state = 624
                    localctx.ns = self.fugueCheckpointNamespace()


                self.state = 628
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,49,self._ctx)
                if la_ == 1:
                    self.state = 627
                    localctx.partition = self.fuguePrepartition()


                self.state = 631
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,50,self._ctx)
                if la_ == 1:
                    self.state = 630
                    localctx.single = self.fugueSingleFile()


                self.state = 634
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,51,self._ctx)
                if la_ == 1:
                    self.state = 633
                    localctx.params = self.fugueParams()


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueCheckpointNamespaceContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueCheckpointNamespace

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCheckpointNamespace" ):
                return visitor.visitFugueCheckpointNamespace(self)
            else:
                return visitor.visitChildren(self)




    def fugueCheckpointNamespace(self):

        localctx = fugue_sqlParser.FugueCheckpointNamespaceContext(self, self._ctx, self.state)
        self.enterRule(localctx, 46, self.RULE_fugueCheckpointNamespace)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 638
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueBroadcastContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def BROADCAST(self):
            return self.getToken(fugue_sqlParser.BROADCAST, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueBroadcast

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueBroadcast" ):
                return visitor.visitFugueBroadcast(self)
            else:
                return visitor.visitChildren(self)




    def fugueBroadcast(self):

        localctx = fugue_sqlParser.FugueBroadcastContext(self, self._ctx, self.state)
        self.enterRule(localctx, 48, self.RULE_fugueBroadcast)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 640
            self.match(fugue_sqlParser.BROADCAST)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueDataFramesContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDataFrames

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class FugueDataFramesDictContext(FugueDataFramesContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueDataFramesContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueDataFramePair(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueDataFramePairContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueDataFramePairContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDataFramesDict" ):
                return visitor.visitFugueDataFramesDict(self)
            else:
                return visitor.visitChildren(self)


    class FugueDataFramesListContext(FugueDataFramesContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueDataFramesContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueDataFrame(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueDataFrameContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDataFramesList" ):
                return visitor.visitFugueDataFramesList(self)
            else:
                return visitor.visitChildren(self)



    def fugueDataFrames(self):

        localctx = fugue_sqlParser.FugueDataFramesContext(self, self._ctx, self.state)
        self.enterRule(localctx, 50, self.RULE_fugueDataFrames)
        try:
            self.state = 658
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,55,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueDataFramesListContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 642
                self.fugueDataFrame()
                self.state = 647
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,53,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 643
                        self.match(fugue_sqlParser.T__0)
                        self.state = 644
                        self.fugueDataFrame() 
                    self.state = 649
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,53,self._ctx)

                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueDataFramesDictContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 650
                self.fugueDataFramePair()
                self.state = 655
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,54,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 651
                        self.match(fugue_sqlParser.T__0)
                        self.state = 652
                        self.fugueDataFramePair() 
                    self.state = 657
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,54,self._ctx)

                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueDataFramePairContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.key = None # FugueIdentifierContext
            self.value = None # FugueDataFrameContext

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def fugueDataFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDataFramePair

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDataFramePair" ):
                return visitor.visitFugueDataFramePair(self)
            else:
                return visitor.visitChildren(self)




    def fugueDataFramePair(self):

        localctx = fugue_sqlParser.FugueDataFramePairContext(self, self._ctx, self.state)
        self.enterRule(localctx, 52, self.RULE_fugueDataFramePair)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 660
            localctx.key = self.fugueIdentifier()
            self.state = 661
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.T__1 or _la==fugue_sqlParser.EQUAL):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
            self.state = 662
            localctx.value = self.fugueDataFrame()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueDataFrameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDataFrame

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class FugueDataFrameSourceContext(FugueDataFrameContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueDataFrameContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDataFrameSource" ):
                return visitor.visitFugueDataFrameSource(self)
            else:
                return visitor.visitChildren(self)


    class FugueDataFrameNestedContext(FugueDataFrameContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueDataFrameContext
            super().__init__(parser)
            self.task = None # FugueNestableTaskContext
            self.copyFrom(ctx)

        def fugueNestableTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueNestableTaskContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueDataFrameNested" ):
                return visitor.visitFugueDataFrameNested(self)
            else:
                return visitor.visitChildren(self)



    def fugueDataFrame(self):

        localctx = fugue_sqlParser.FugueDataFrameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 54, self.RULE_fugueDataFrame)
        try:
            self.state = 669
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,56,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueDataFrameSourceContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 664
                self.fugueIdentifier()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueDataFrameNestedContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 665
                self.match(fugue_sqlParser.T__2)
                self.state = 666
                localctx.task = self.fugueNestableTask()
                self.state = 667
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueAssignmentContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.varname = None # FugueIdentifierContext
            self.sign = None # FugueAssignmentSignContext

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def fugueAssignmentSign(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueAssignmentSignContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueAssignment

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueAssignment" ):
                return visitor.visitFugueAssignment(self)
            else:
                return visitor.visitChildren(self)




    def fugueAssignment(self):

        localctx = fugue_sqlParser.FugueAssignmentContext(self, self._ctx, self.state)
        self.enterRule(localctx, 56, self.RULE_fugueAssignment)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 671
            localctx.varname = self.fugueIdentifier()
            self.state = 672
            localctx.sign = self.fugueAssignmentSign()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueAssignmentSignContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def COLONEQUAL(self):
            return self.getToken(fugue_sqlParser.COLONEQUAL, 0)

        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueAssignmentSign

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueAssignmentSign" ):
                return visitor.visitFugueAssignmentSign(self)
            else:
                return visitor.visitChildren(self)




    def fugueAssignmentSign(self):

        localctx = fugue_sqlParser.FugueAssignmentSignContext(self, self._ctx, self.state)
        self.enterRule(localctx, 58, self.RULE_fugueAssignmentSign)
        try:
            self.state = 677
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,57,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 674
                self.match(fugue_sqlParser.COLONEQUAL)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 675
                if not self.simpleAssign:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "self.simpleAssign")
                self.state = 676
                self.match(fugue_sqlParser.EQUAL)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSingleOutputExtensionCommonWildContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.using = None # FugueExtensionContext
            self.params = None # FugueParamsContext
            self.schema = None # FugueWildSchemaContext

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def fugueExtension(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueExtensionContext,0)


        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def fugueWildSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueWildSchemaContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSingleOutputExtensionCommonWild

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSingleOutputExtensionCommonWild" ):
                return visitor.visitFugueSingleOutputExtensionCommonWild(self)
            else:
                return visitor.visitChildren(self)




    def fugueSingleOutputExtensionCommonWild(self):

        localctx = fugue_sqlParser.FugueSingleOutputExtensionCommonWildContext(self, self._ctx, self.state)
        self.enterRule(localctx, 60, self.RULE_fugueSingleOutputExtensionCommonWild)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 679
            self.match(fugue_sqlParser.USING)
            self.state = 680
            localctx.using = self.fugueExtension()
            self.state = 682
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,58,self._ctx)
            if la_ == 1:
                self.state = 681
                localctx.params = self.fugueParams()


            self.state = 686
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,59,self._ctx)
            if la_ == 1:
                self.state = 684
                self.match(fugue_sqlParser.SCHEMA)
                self.state = 685
                localctx.schema = self.fugueWildSchema()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSingleOutputExtensionCommonContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.using = None # FugueExtensionContext
            self.params = None # FugueParamsContext
            self.schema = None # FugueSchemaContext

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def fugueExtension(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueExtensionContext,0)


        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,0)


        def fugueSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSingleOutputExtensionCommon

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSingleOutputExtensionCommon" ):
                return visitor.visitFugueSingleOutputExtensionCommon(self)
            else:
                return visitor.visitChildren(self)




    def fugueSingleOutputExtensionCommon(self):

        localctx = fugue_sqlParser.FugueSingleOutputExtensionCommonContext(self, self._ctx, self.state)
        self.enterRule(localctx, 62, self.RULE_fugueSingleOutputExtensionCommon)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 688
            self.match(fugue_sqlParser.USING)
            self.state = 689
            localctx.using = self.fugueExtension()
            self.state = 691
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,60,self._ctx)
            if la_ == 1:
                self.state = 690
                localctx.params = self.fugueParams()


            self.state = 695
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,61,self._ctx)
            if la_ == 1:
                self.state = 693
                self.match(fugue_sqlParser.SCHEMA)
                self.state = 694
                localctx.schema = self.fugueSchema()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueExtensionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueExtension

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueExtension" ):
                return visitor.visitFugueExtension(self)
            else:
                return visitor.visitChildren(self)




    def fugueExtension(self):

        localctx = fugue_sqlParser.FugueExtensionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 64, self.RULE_fugueExtension)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 697
            self.fugueIdentifier()
            self.state = 702
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,62,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 698
                    self.match(fugue_sqlParser.T__4)
                    self.state = 699
                    self.fugueIdentifier() 
                self.state = 704
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,62,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueZipTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def CROSS(self):
            return self.getToken(fugue_sqlParser.CROSS, 0)

        def INNER(self):
            return self.getToken(fugue_sqlParser.INNER, 0)

        def LEFT(self):
            return self.getToken(fugue_sqlParser.LEFT, 0)

        def OUTER(self):
            return self.getToken(fugue_sqlParser.OUTER, 0)

        def RIGHT(self):
            return self.getToken(fugue_sqlParser.RIGHT, 0)

        def FULL(self):
            return self.getToken(fugue_sqlParser.FULL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueZipType

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueZipType" ):
                return visitor.visitFugueZipType(self)
            else:
                return visitor.visitChildren(self)




    def fugueZipType(self):

        localctx = fugue_sqlParser.FugueZipTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 66, self.RULE_fugueZipType)
        try:
            self.state = 713
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.CROSS]:
                self.enterOuterAlt(localctx, 1)
                self.state = 705
                self.match(fugue_sqlParser.CROSS)
                pass
            elif token in [fugue_sqlParser.INNER]:
                self.enterOuterAlt(localctx, 2)
                self.state = 706
                self.match(fugue_sqlParser.INNER)
                pass
            elif token in [fugue_sqlParser.LEFT]:
                self.enterOuterAlt(localctx, 3)
                self.state = 707
                self.match(fugue_sqlParser.LEFT)
                self.state = 708
                self.match(fugue_sqlParser.OUTER)
                pass
            elif token in [fugue_sqlParser.RIGHT]:
                self.enterOuterAlt(localctx, 4)
                self.state = 709
                self.match(fugue_sqlParser.RIGHT)
                self.state = 710
                self.match(fugue_sqlParser.OUTER)
                pass
            elif token in [fugue_sqlParser.FULL]:
                self.enterOuterAlt(localctx, 5)
                self.state = 711
                self.match(fugue_sqlParser.FULL)
                self.state = 712
                self.match(fugue_sqlParser.OUTER)
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FuguePrepartitionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.algo = None # FuguePartitionAlgoContext
            self.num = None # FuguePartitionNumContext
            self.by = None # FugueColsContext
            self.presort = None # FugueColsSortContext

        def PREPARTITION(self):
            return self.getToken(fugue_sqlParser.PREPARTITION, 0)

        def fuguePartitionNum(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePartitionNumContext,0)


        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def PRESORT(self):
            return self.getToken(fugue_sqlParser.PRESORT, 0)

        def fuguePartitionAlgo(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePartitionAlgoContext,0)


        def fugueCols(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsContext,0)


        def fugueColsSort(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColsSortContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePrepartition

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePrepartition" ):
                return visitor.visitFuguePrepartition(self)
            else:
                return visitor.visitChildren(self)




    def fuguePrepartition(self):

        localctx = fugue_sqlParser.FuguePrepartitionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 68, self.RULE_fuguePrepartition)
        self._la = 0 # Token type
        try:
            self.state = 738
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,69,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 716
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN))) != 0):
                    self.state = 715
                    localctx.algo = self.fuguePartitionAlgo()


                self.state = 718
                self.match(fugue_sqlParser.PREPARTITION)
                self.state = 719
                localctx.num = self.fuguePartitionNum(0)
                self.state = 722
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,65,self._ctx)
                if la_ == 1:
                    self.state = 720
                    self.match(fugue_sqlParser.BY)
                    self.state = 721
                    localctx.by = self.fugueCols()


                self.state = 726
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,66,self._ctx)
                if la_ == 1:
                    self.state = 724
                    self.match(fugue_sqlParser.PRESORT)
                    self.state = 725
                    localctx.presort = self.fugueColsSort()


                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 729
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN))) != 0):
                    self.state = 728
                    localctx.algo = self.fuguePartitionAlgo()


                self.state = 731
                self.match(fugue_sqlParser.PREPARTITION)
                self.state = 732
                self.match(fugue_sqlParser.BY)
                self.state = 733
                localctx.by = self.fugueCols()
                self.state = 736
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,68,self._ctx)
                if la_ == 1:
                    self.state = 734
                    self.match(fugue_sqlParser.PRESORT)
                    self.state = 735
                    localctx.presort = self.fugueColsSort()


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FuguePartitionAlgoContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def HASH(self):
            return self.getToken(fugue_sqlParser.HASH, 0)

        def RAND(self):
            return self.getToken(fugue_sqlParser.RAND, 0)

        def EVEN(self):
            return self.getToken(fugue_sqlParser.EVEN, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePartitionAlgo

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePartitionAlgo" ):
                return visitor.visitFuguePartitionAlgo(self)
            else:
                return visitor.visitChildren(self)




    def fuguePartitionAlgo(self):

        localctx = fugue_sqlParser.FuguePartitionAlgoContext(self, self._ctx, self.state)
        self.enterRule(localctx, 70, self.RULE_fuguePartitionAlgo)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 740
            _la = self._input.LA(1)
            if not((((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.HASH) | (1 << fugue_sqlParser.RAND) | (1 << fugue_sqlParser.EVEN))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FuguePartitionNumContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fuguePartitionNumber(self):
            return self.getTypedRuleContext(fugue_sqlParser.FuguePartitionNumberContext,0)


        def fuguePartitionNum(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FuguePartitionNumContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FuguePartitionNumContext,i)


        def PLUS(self):
            return self.getToken(fugue_sqlParser.PLUS, 0)

        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)

        def SLASH(self):
            return self.getToken(fugue_sqlParser.SLASH, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePartitionNum

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePartitionNum" ):
                return visitor.visitFuguePartitionNum(self)
            else:
                return visitor.visitChildren(self)



    def fuguePartitionNum(self, _p:int=0):
        _parentctx = self._ctx
        _parentState = self.state
        localctx = fugue_sqlParser.FuguePartitionNumContext(self, self._ctx, _parentState)
        _prevctx = localctx
        _startState = 72
        self.enterRecursionRule(localctx, 72, self.RULE_fuguePartitionNum, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 748
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.ROWCOUNT, fugue_sqlParser.CONCURRENCY, fugue_sqlParser.MINUS, fugue_sqlParser.INTEGER_VALUE, fugue_sqlParser.DECIMAL_VALUE]:
                self.state = 743
                self.fuguePartitionNumber()
                pass
            elif token in [fugue_sqlParser.T__2]:
                self.state = 744
                self.match(fugue_sqlParser.T__2)
                self.state = 745
                self.fuguePartitionNum(0)
                self.state = 746
                self.match(fugue_sqlParser.T__3)
                pass
            else:
                raise NoViableAltException(self)

            self._ctx.stop = self._input.LT(-1)
            self.state = 755
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,71,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    if self._parseListeners is not None:
                        self.triggerExitRuleEvent()
                    _prevctx = localctx
                    localctx = fugue_sqlParser.FuguePartitionNumContext(self, _parentctx, _parentState)
                    self.pushNewRecursionContext(localctx, _startState, self.RULE_fuguePartitionNum)
                    self.state = 750
                    if not self.precpred(self._ctx, 1):
                        from antlr4.error.Errors import FailedPredicateException
                        raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                    self.state = 751
                    _la = self._input.LA(1)
                    if not(((((_la - 304)) & ~0x3f) == 0 and ((1 << (_la - 304)) & ((1 << (fugue_sqlParser.PLUS - 304)) | (1 << (fugue_sqlParser.MINUS - 304)) | (1 << (fugue_sqlParser.ASTERISK - 304)) | (1 << (fugue_sqlParser.SLASH - 304)))) != 0)):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 752
                    self.fuguePartitionNum(2) 
                self.state = 757
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,71,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.unrollRecursionContexts(_parentctx)
        return localctx


    class FuguePartitionNumberContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)

        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)

        def ROWCOUNT(self):
            return self.getToken(fugue_sqlParser.ROWCOUNT, 0)

        def CONCURRENCY(self):
            return self.getToken(fugue_sqlParser.CONCURRENCY, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fuguePartitionNumber

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFuguePartitionNumber" ):
                return visitor.visitFuguePartitionNumber(self)
            else:
                return visitor.visitChildren(self)




    def fuguePartitionNumber(self):

        localctx = fugue_sqlParser.FuguePartitionNumberContext(self, self._ctx, self.state)
        self.enterRule(localctx, 74, self.RULE_fuguePartitionNumber)
        self._la = 0 # Token type
        try:
            self.state = 768
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,74,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 759
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 758
                    self.match(fugue_sqlParser.MINUS)


                self.state = 761
                self.match(fugue_sqlParser.DECIMAL_VALUE)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 763
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 762
                    self.match(fugue_sqlParser.MINUS)


                self.state = 765
                self.match(fugue_sqlParser.INTEGER_VALUE)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 766
                self.match(fugue_sqlParser.ROWCOUNT)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 767
                self.match(fugue_sqlParser.CONCURRENCY)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueParamsContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueParams

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class FugueParamsPairsContext(FugueParamsContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueParamsContext
            super().__init__(parser)
            self.pairs = None # FugueJsonPairsContext
            self.copyFrom(ctx)

        def PARAMS(self):
            return self.getToken(fugue_sqlParser.PARAMS, 0)
        def fugueJsonPairs(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonPairsContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueParamsPairs" ):
                return visitor.visitFugueParamsPairs(self)
            else:
                return visitor.visitChildren(self)


    class FugueParamsObjContext(FugueParamsContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueParamsContext
            super().__init__(parser)
            self.obj = None # FugueJsonObjContext
            self.copyFrom(ctx)

        def fugueJsonObj(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonObjContext,0)

        def PARAMS(self):
            return self.getToken(fugue_sqlParser.PARAMS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueParamsObj" ):
                return visitor.visitFugueParamsObj(self)
            else:
                return visitor.visitChildren(self)



    def fugueParams(self):

        localctx = fugue_sqlParser.FugueParamsContext(self, self._ctx, self.state)
        self.enterRule(localctx, 76, self.RULE_fugueParams)
        self._la = 0 # Token type
        try:
            self.state = 776
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,76,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueParamsPairsContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 770
                self.match(fugue_sqlParser.PARAMS)
                self.state = 771
                localctx.pairs = self.fugueJsonPairs()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueParamsObjContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 773
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARAMS:
                    self.state = 772
                    self.match(fugue_sqlParser.PARAMS)


                self.state = 775
                localctx.obj = self.fugueJsonObj()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueColsContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueColumnIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueColumnIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueColumnIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueCols

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueCols" ):
                return visitor.visitFugueCols(self)
            else:
                return visitor.visitChildren(self)




    def fugueCols(self):

        localctx = fugue_sqlParser.FugueColsContext(self, self._ctx, self.state)
        self.enterRule(localctx, 78, self.RULE_fugueCols)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 778
            self.fugueColumnIdentifier()
            self.state = 783
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,77,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 779
                    self.match(fugue_sqlParser.T__0)
                    self.state = 780
                    self.fugueColumnIdentifier() 
                self.state = 785
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,77,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueColsSortContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueColSort(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueColSortContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueColSortContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueColsSort

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueColsSort" ):
                return visitor.visitFugueColsSort(self)
            else:
                return visitor.visitChildren(self)




    def fugueColsSort(self):

        localctx = fugue_sqlParser.FugueColsSortContext(self, self._ctx, self.state)
        self.enterRule(localctx, 80, self.RULE_fugueColsSort)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 786
            self.fugueColSort()
            self.state = 791
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,78,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 787
                    self.match(fugue_sqlParser.T__0)
                    self.state = 788
                    self.fugueColSort() 
                self.state = 793
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,78,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueColSortContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueColumnIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueColumnIdentifierContext,0)


        def ASC(self):
            return self.getToken(fugue_sqlParser.ASC, 0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueColSort

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueColSort" ):
                return visitor.visitFugueColSort(self)
            else:
                return visitor.visitChildren(self)




    def fugueColSort(self):

        localctx = fugue_sqlParser.FugueColSortContext(self, self._ctx, self.state)
        self.enterRule(localctx, 82, self.RULE_fugueColSort)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 794
            self.fugueColumnIdentifier()
            self.state = 796
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,79,self._ctx)
            if la_ == 1:
                self.state = 795
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ASC or _la==fugue_sqlParser.DESC):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueColumnIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueColumnIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueColumnIdentifier" ):
                return visitor.visitFugueColumnIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def fugueColumnIdentifier(self):

        localctx = fugue_sqlParser.FugueColumnIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 84, self.RULE_fugueColumnIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 798
            self.fugueIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueWildSchemaContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueWildSchemaPair(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueWildSchemaPairContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueWildSchemaPairContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueWildSchema

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueWildSchema" ):
                return visitor.visitFugueWildSchema(self)
            else:
                return visitor.visitChildren(self)




    def fugueWildSchema(self):

        localctx = fugue_sqlParser.FugueWildSchemaContext(self, self._ctx, self.state)
        self.enterRule(localctx, 86, self.RULE_fugueWildSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 800
            self.fugueWildSchemaPair()
            self.state = 805
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,80,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 801
                    self.match(fugue_sqlParser.T__0)
                    self.state = 802
                    self.fugueWildSchemaPair() 
                self.state = 807
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,80,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueWildSchemaPairContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.pair = None # FugueSchemaPairContext

        def fugueSchemaPair(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaPairContext,0)


        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueWildSchemaPair

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueWildSchemaPair" ):
                return visitor.visitFugueWildSchemaPair(self)
            else:
                return visitor.visitChildren(self)




    def fugueWildSchemaPair(self):

        localctx = fugue_sqlParser.FugueWildSchemaPairContext(self, self._ctx, self.state)
        self.enterRule(localctx, 88, self.RULE_fugueWildSchemaPair)
        try:
            self.state = 810
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,81,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 808
                localctx.pair = self.fugueSchemaPair()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 809
                self.match(fugue_sqlParser.ASTERISK)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSchemaContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueSchemaPair(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueSchemaPairContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaPairContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSchema

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchema" ):
                return visitor.visitFugueSchema(self)
            else:
                return visitor.visitChildren(self)




    def fugueSchema(self):

        localctx = fugue_sqlParser.FugueSchemaContext(self, self._ctx, self.state)
        self.enterRule(localctx, 90, self.RULE_fugueSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 812
            self.fugueSchemaPair()
            self.state = 817
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,82,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 813
                    self.match(fugue_sqlParser.T__0)
                    self.state = 814
                    self.fugueSchemaPair() 
                self.state = 819
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,82,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSchemaPairContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.key = None # FugueSchemaKeyContext
            self.value = None # FugueSchemaTypeContext

        def fugueSchemaKey(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaKeyContext,0)


        def fugueSchemaType(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaTypeContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSchemaPair

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchemaPair" ):
                return visitor.visitFugueSchemaPair(self)
            else:
                return visitor.visitChildren(self)




    def fugueSchemaPair(self):

        localctx = fugue_sqlParser.FugueSchemaPairContext(self, self._ctx, self.state)
        self.enterRule(localctx, 92, self.RULE_fugueSchemaPair)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 820
            localctx.key = self.fugueSchemaKey()
            self.state = 821
            self.match(fugue_sqlParser.T__1)
            self.state = 822
            localctx.value = self.fugueSchemaType()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSchemaKeyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSchemaKey

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchemaKey" ):
                return visitor.visitFugueSchemaKey(self)
            else:
                return visitor.visitChildren(self)




    def fugueSchemaKey(self):

        localctx = fugue_sqlParser.FugueSchemaKeyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 94, self.RULE_fugueSchemaKey)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 824
            self.fugueIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueSchemaTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSchemaType

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class FugueSchemaSimpleTypeContext(FugueSchemaTypeContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueSchemaTypeContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchemaSimpleType" ):
                return visitor.visitFugueSchemaSimpleType(self)
            else:
                return visitor.visitChildren(self)


    class FugueSchemaStructTypeContext(FugueSchemaTypeContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueSchemaTypeContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchemaStructType" ):
                return visitor.visitFugueSchemaStructType(self)
            else:
                return visitor.visitChildren(self)


    class FugueSchemaListTypeContext(FugueSchemaTypeContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FugueSchemaTypeContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueSchemaType(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaTypeContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueSchemaListType" ):
                return visitor.visitFugueSchemaListType(self)
            else:
                return visitor.visitChildren(self)



    def fugueSchemaType(self):

        localctx = fugue_sqlParser.FugueSchemaTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 96, self.RULE_fugueSchemaType)
        try:
            self.state = 835
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,83,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueSchemaSimpleTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 826
                self.fugueIdentifier()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueSchemaListTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 827
                self.match(fugue_sqlParser.T__5)
                self.state = 828
                self.fugueSchemaType()
                self.state = 829
                self.match(fugue_sqlParser.T__6)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.FugueSchemaStructTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 831
                self.match(fugue_sqlParser.T__7)
                self.state = 832
                self.fugueSchema()
                self.state = 833
                self.match(fugue_sqlParser.T__8)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueJsonValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonValueContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJson

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJson" ):
                return visitor.visitFugueJson(self)
            else:
                return visitor.visitChildren(self)




    def fugueJson(self):

        localctx = fugue_sqlParser.FugueJsonContext(self, self._ctx, self.state)
        self.enterRule(localctx, 98, self.RULE_fugueJson)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 837
            self.fugueJsonValue()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonObjContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueJsonPairs(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonPairsContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonObj

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonObj" ):
                return visitor.visitFugueJsonObj(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonObj(self):

        localctx = fugue_sqlParser.FugueJsonObjContext(self, self._ctx, self.state)
        self.enterRule(localctx, 100, self.RULE_fugueJsonObj)
        self._la = 0 # Token type
        try:
            self.state = 857
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,86,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 839
                self.match(fugue_sqlParser.T__7)
                self.state = 840
                self.fugueJsonPairs()
                self.state = 842
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0:
                    self.state = 841
                    self.match(fugue_sqlParser.T__0)


                self.state = 844
                self.match(fugue_sqlParser.T__8)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 846
                self.match(fugue_sqlParser.T__7)
                self.state = 847
                self.match(fugue_sqlParser.T__8)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 848
                self.match(fugue_sqlParser.T__2)
                self.state = 849
                self.fugueJsonPairs()
                self.state = 851
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0:
                    self.state = 850
                    self.match(fugue_sqlParser.T__0)


                self.state = 853
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 855
                self.match(fugue_sqlParser.T__2)
                self.state = 856
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonPairsContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueJsonPair(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueJsonPairContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueJsonPairContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonPairs

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonPairs" ):
                return visitor.visitFugueJsonPairs(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonPairs(self):

        localctx = fugue_sqlParser.FugueJsonPairsContext(self, self._ctx, self.state)
        self.enterRule(localctx, 102, self.RULE_fugueJsonPairs)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 859
            self.fugueJsonPair()
            self.state = 864
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,87,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 860
                    self.match(fugue_sqlParser.T__0)
                    self.state = 861
                    self.fugueJsonPair() 
                self.state = 866
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,87,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonPairContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.key = None # FugueJsonKeyContext
            self.value = None # FugueJsonValueContext

        def fugueJsonKey(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonKeyContext,0)


        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def fugueJsonValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonValueContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonPair

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonPair" ):
                return visitor.visitFugueJsonPair(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonPair(self):

        localctx = fugue_sqlParser.FugueJsonPairContext(self, self._ctx, self.state)
        self.enterRule(localctx, 104, self.RULE_fugueJsonPair)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 867
            localctx.key = self.fugueJsonKey()
            self.state = 868
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.T__1 or _la==fugue_sqlParser.EQUAL):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
            self.state = 869
            localctx.value = self.fugueJsonValue()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonKeyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueIdentifierContext,0)


        def fugueJsonString(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonStringContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonKey

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonKey" ):
                return visitor.visitFugueJsonKey(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonKey(self):

        localctx = fugue_sqlParser.FugueJsonKeyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 106, self.RULE_fugueJsonKey)
        try:
            self.state = 873
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,88,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 871
                self.fugueIdentifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 872
                self.fugueJsonString()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonArrayContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueJsonValue(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FugueJsonValueContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FugueJsonValueContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonArray

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonArray" ):
                return visitor.visitFugueJsonArray(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonArray(self):

        localctx = fugue_sqlParser.FugueJsonArrayContext(self, self._ctx, self.state)
        self.enterRule(localctx, 108, self.RULE_fugueJsonArray)
        self._la = 0 # Token type
        try:
            self.state = 891
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,91,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 875
                self.match(fugue_sqlParser.T__5)
                self.state = 876
                self.fugueJsonValue()
                self.state = 881
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,89,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 877
                        self.match(fugue_sqlParser.T__0)
                        self.state = 878
                        self.fugueJsonValue() 
                    self.state = 883
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,89,self._ctx)

                self.state = 885
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0:
                    self.state = 884
                    self.match(fugue_sqlParser.T__0)


                self.state = 887
                self.match(fugue_sqlParser.T__6)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 889
                self.match(fugue_sqlParser.T__5)
                self.state = 890
                self.match(fugue_sqlParser.T__6)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonValueContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fugueJsonString(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonStringContext,0)


        def fugueJsonNumber(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonNumberContext,0)


        def fugueJsonObj(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonObjContext,0)


        def fugueJsonArray(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonArrayContext,0)


        def fugueJsonBool(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonBoolContext,0)


        def fugueJsonNull(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueJsonNullContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonValue

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonValue" ):
                return visitor.visitFugueJsonValue(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonValue(self):

        localctx = fugue_sqlParser.FugueJsonValueContext(self, self._ctx, self.state)
        self.enterRule(localctx, 110, self.RULE_fugueJsonValue)
        try:
            self.state = 899
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,92,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 893
                self.fugueJsonString()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 894
                self.fugueJsonNumber()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 895
                self.fugueJsonObj()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 896
                self.fugueJsonArray()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 897
                self.fugueJsonBool()
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 898
                self.fugueJsonNull()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonNumberContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def number(self):
            return self.getTypedRuleContext(fugue_sqlParser.NumberContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonNumber

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonNumber" ):
                return visitor.visitFugueJsonNumber(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonNumber(self):

        localctx = fugue_sqlParser.FugueJsonNumberContext(self, self._ctx, self.state)
        self.enterRule(localctx, 112, self.RULE_fugueJsonNumber)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 901
            self.number()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonStringContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonString

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonString" ):
                return visitor.visitFugueJsonString(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonString(self):

        localctx = fugue_sqlParser.FugueJsonStringContext(self, self._ctx, self.state)
        self.enterRule(localctx, 114, self.RULE_fugueJsonString)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 903
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonBoolContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def TRUE(self):
            return self.getToken(fugue_sqlParser.TRUE, 0)

        def FALSE(self):
            return self.getToken(fugue_sqlParser.FALSE, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonBool

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonBool" ):
                return visitor.visitFugueJsonBool(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonBool(self):

        localctx = fugue_sqlParser.FugueJsonBoolContext(self, self._ctx, self.state)
        self.enterRule(localctx, 116, self.RULE_fugueJsonBool)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 905
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.T__9 or _la==fugue_sqlParser.T__10 or _la==fugue_sqlParser.FALSE or _la==fugue_sqlParser.TRUE):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueJsonNullContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueJsonNull

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueJsonNull" ):
                return visitor.visitFugueJsonNull(self)
            else:
                return visitor.visitChildren(self)




    def fugueJsonNull(self):

        localctx = fugue_sqlParser.FugueJsonNullContext(self, self._ctx, self.state)
        self.enterRule(localctx, 118, self.RULE_fugueJsonNull)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 907
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.T__11 or _la==fugue_sqlParser.NULL):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FugueIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueIdentifier" ):
                return visitor.visitFugueIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def fugueIdentifier(self):

        localctx = fugue_sqlParser.FugueIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 120, self.RULE_fugueIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 909
            self.identifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleStatementContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def statement(self):
            return self.getTypedRuleContext(fugue_sqlParser.StatementContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleStatement

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleStatement" ):
                return visitor.visitSingleStatement(self)
            else:
                return visitor.visitChildren(self)




    def singleStatement(self):

        localctx = fugue_sqlParser.SingleStatementContext(self, self._ctx, self.state)
        self.enterRule(localctx, 122, self.RULE_singleStatement)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 911
            self.statement()
            self.state = 915
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__12:
                self.state = 912
                self.match(fugue_sqlParser.T__12)
                self.state = 917
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 918
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def namedExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleExpression

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleExpression" ):
                return visitor.visitSingleExpression(self)
            else:
                return visitor.visitChildren(self)




    def singleExpression(self):

        localctx = fugue_sqlParser.SingleExpressionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 124, self.RULE_singleExpression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 920
            self.namedExpression()
            self.state = 921
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleTableIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def tableIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableIdentifierContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleTableIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleTableIdentifier" ):
                return visitor.visitSingleTableIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def singleTableIdentifier(self):

        localctx = fugue_sqlParser.SingleTableIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 126, self.RULE_singleTableIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 923
            self.tableIdentifier()
            self.state = 924
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleMultipartIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleMultipartIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleMultipartIdentifier" ):
                return visitor.visitSingleMultipartIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def singleMultipartIdentifier(self):

        localctx = fugue_sqlParser.SingleMultipartIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 128, self.RULE_singleMultipartIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 926
            self.multipartIdentifier()
            self.state = 927
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleFunctionIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def functionIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.FunctionIdentifierContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleFunctionIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleFunctionIdentifier" ):
                return visitor.visitSingleFunctionIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def singleFunctionIdentifier(self):

        localctx = fugue_sqlParser.SingleFunctionIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 130, self.RULE_singleFunctionIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 929
            self.functionIdentifier()
            self.state = 930
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleDataTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleDataType

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleDataType" ):
                return visitor.visitSingleDataType(self)
            else:
                return visitor.visitChildren(self)




    def singleDataType(self):

        localctx = fugue_sqlParser.SingleDataTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 132, self.RULE_singleDataType)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 932
            self.dataType()
            self.state = 933
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SingleTableSchemaContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def colTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,0)


        def EOF(self):
            return self.getToken(fugue_sqlParser.EOF, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_singleTableSchema

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleTableSchema" ):
                return visitor.visitSingleTableSchema(self)
            else:
                return visitor.visitChildren(self)




    def singleTableSchema(self):

        localctx = fugue_sqlParser.SingleTableSchemaContext(self, self._ctx, self.state)
        self.enterRule(localctx, 134, self.RULE_singleTableSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 935
            self.colTypeList()
            self.state = 936
            self.match(fugue_sqlParser.EOF)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class StatementContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_statement

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class ExplainContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def EXPLAIN(self):
            return self.getToken(fugue_sqlParser.EXPLAIN, 0)
        def statement(self):
            return self.getTypedRuleContext(fugue_sqlParser.StatementContext,0)

        def LOGICAL(self):
            return self.getToken(fugue_sqlParser.LOGICAL, 0)
        def FORMATTED(self):
            return self.getToken(fugue_sqlParser.FORMATTED, 0)
        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)
        def CODEGEN(self):
            return self.getToken(fugue_sqlParser.CODEGEN, 0)
        def COST(self):
            return self.getToken(fugue_sqlParser.COST, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitExplain" ):
                return visitor.visitExplain(self)
            else:
                return visitor.visitChildren(self)


    class ResetConfigurationContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def RESET(self):
            return self.getToken(fugue_sqlParser.RESET, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitResetConfiguration" ):
                return visitor.visitResetConfiguration(self)
            else:
                return visitor.visitChildren(self)


    class AlterViewQueryContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAlterViewQuery" ):
                return visitor.visitAlterViewQuery(self)
            else:
                return visitor.visitChildren(self)


    class UseContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def USE(self):
            return self.getToken(fugue_sqlParser.USE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def NAMESPACE(self):
            return self.getToken(fugue_sqlParser.NAMESPACE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUse" ):
                return visitor.visitUse(self)
            else:
                return visitor.visitChildren(self)


    class DropNamespaceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def RESTRICT(self):
            return self.getToken(fugue_sqlParser.RESTRICT, 0)
        def CASCADE(self):
            return self.getToken(fugue_sqlParser.CASCADE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropNamespace" ):
                return visitor.visitDropNamespace(self)
            else:
                return visitor.visitChildren(self)


    class CreateTempViewUsingContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def tableIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableIdentifierContext,0)

        def tableProvider(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableProviderContext,0)

        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)
        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)
        def GLOBAL(self):
            return self.getToken(fugue_sqlParser.GLOBAL, 0)
        def colTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,0)

        def OPTIONS(self):
            return self.getToken(fugue_sqlParser.OPTIONS, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateTempViewUsing" ):
                return visitor.visitCreateTempViewUsing(self)
            else:
                return visitor.visitChildren(self)


    class RenameTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.ifrom = None # MultipartIdentifierContext
            self.to = None # MultipartIdentifierContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def RENAME(self):
            return self.getToken(fugue_sqlParser.RENAME, 0)
        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRenameTable" ):
                return visitor.visitRenameTable(self)
            else:
                return visitor.visitChildren(self)


    class FailNativeCommandContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def ROLE(self):
            return self.getToken(fugue_sqlParser.ROLE, 0)
        def unsupportedHiveNativeCommands(self):
            return self.getTypedRuleContext(fugue_sqlParser.UnsupportedHiveNativeCommandsContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFailNativeCommand" ):
                return visitor.visitFailNativeCommand(self)
            else:
                return visitor.visitChildren(self)


    class ClearCacheContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def CLEAR(self):
            return self.getToken(fugue_sqlParser.CLEAR, 0)
        def CACHE(self):
            return self.getToken(fugue_sqlParser.CACHE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitClearCache" ):
                return visitor.visitClearCache(self)
            else:
                return visitor.visitChildren(self)


    class DropViewContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropView" ):
                return visitor.visitDropView(self)
            else:
                return visitor.visitChildren(self)


    class ShowTablesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.pattern = None # Token
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def TABLES(self):
            return self.getToken(fugue_sqlParser.TABLES, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowTables" ):
                return visitor.visitShowTables(self)
            else:
                return visitor.visitChildren(self)


    class RecoverPartitionsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def RECOVER(self):
            return self.getToken(fugue_sqlParser.RECOVER, 0)
        def PARTITIONS(self):
            return self.getToken(fugue_sqlParser.PARTITIONS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRecoverPartitions" ):
                return visitor.visitRecoverPartitions(self)
            else:
                return visitor.visitChildren(self)


    class ShowCurrentNamespaceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def CURRENT(self):
            return self.getToken(fugue_sqlParser.CURRENT, 0)
        def NAMESPACE(self):
            return self.getToken(fugue_sqlParser.NAMESPACE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowCurrentNamespace" ):
                return visitor.visitShowCurrentNamespace(self)
            else:
                return visitor.visitChildren(self)


    class RenameTablePartitionContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.ifrom = None # PartitionSpecContext
            self.to = None # PartitionSpecContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def RENAME(self):
            return self.getToken(fugue_sqlParser.RENAME, 0)
        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)
        def partitionSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PartitionSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRenameTablePartition" ):
                return visitor.visitRenameTablePartition(self)
            else:
                return visitor.visitChildren(self)


    class RepairTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def MSCK(self):
            return self.getToken(fugue_sqlParser.MSCK, 0)
        def REPAIR(self):
            return self.getToken(fugue_sqlParser.REPAIR, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRepairTable" ):
                return visitor.visitRepairTable(self)
            else:
                return visitor.visitChildren(self)


    class RefreshResourceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def REFRESH(self):
            return self.getToken(fugue_sqlParser.REFRESH, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRefreshResource" ):
                return visitor.visitRefreshResource(self)
            else:
                return visitor.visitChildren(self)


    class ShowCreateTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)
        def SERDE(self):
            return self.getToken(fugue_sqlParser.SERDE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowCreateTable" ):
                return visitor.visitShowCreateTable(self)
            else:
                return visitor.visitChildren(self)


    class ShowNamespacesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.pattern = None # Token
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def DATABASES(self):
            return self.getToken(fugue_sqlParser.DATABASES, 0)
        def NAMESPACES(self):
            return self.getToken(fugue_sqlParser.NAMESPACES, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowNamespaces" ):
                return visitor.visitShowNamespaces(self)
            else:
                return visitor.visitChildren(self)


    class ShowColumnsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.ns = None # MultipartIdentifierContext
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)
        def FROM(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.FROM)
            else:
                return self.getToken(fugue_sqlParser.FROM, i)
        def IN(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.IN)
            else:
                return self.getToken(fugue_sqlParser.IN, i)
        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowColumns" ):
                return visitor.visitShowColumns(self)
            else:
                return visitor.visitChildren(self)


    class ReplaceTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def replaceTableHeader(self):
            return self.getTypedRuleContext(fugue_sqlParser.ReplaceTableHeaderContext,0)

        def tableProvider(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableProviderContext,0)

        def createTableClauses(self):
            return self.getTypedRuleContext(fugue_sqlParser.CreateTableClausesContext,0)

        def colTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,0)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitReplaceTable" ):
                return visitor.visitReplaceTable(self)
            else:
                return visitor.visitChildren(self)


    class AddTablePartitionContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def ADD(self):
            return self.getToken(fugue_sqlParser.ADD, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def partitionSpecLocation(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PartitionSpecLocationContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecLocationContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAddTablePartition" ):
                return visitor.visitAddTablePartition(self)
            else:
                return visitor.visitChildren(self)


    class SetNamespaceLocationContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def locationSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetNamespaceLocation" ):
                return visitor.visitSetNamespaceLocation(self)
            else:
                return visitor.visitChildren(self)


    class RefreshTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def REFRESH(self):
            return self.getToken(fugue_sqlParser.REFRESH, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRefreshTable" ):
                return visitor.visitRefreshTable(self)
            else:
                return visitor.visitChildren(self)


    class SetNamespacePropertiesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)

        def DBPROPERTIES(self):
            return self.getToken(fugue_sqlParser.DBPROPERTIES, 0)
        def PROPERTIES(self):
            return self.getToken(fugue_sqlParser.PROPERTIES, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetNamespaceProperties" ):
                return visitor.visitSetNamespaceProperties(self)
            else:
                return visitor.visitChildren(self)


    class ManageResourceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.op = None # Token
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def ADD(self):
            return self.getToken(fugue_sqlParser.ADD, 0)
        def LIST(self):
            return self.getToken(fugue_sqlParser.LIST, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitManageResource" ):
                return visitor.visitManageResource(self)
            else:
                return visitor.visitChildren(self)


    class AnalyzeContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ANALYZE(self):
            return self.getToken(fugue_sqlParser.ANALYZE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def COMPUTE(self):
            return self.getToken(fugue_sqlParser.COMPUTE, 0)
        def STATISTICS(self):
            return self.getToken(fugue_sqlParser.STATISTICS, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def FOR(self):
            return self.getToken(fugue_sqlParser.FOR, 0)
        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)
        def identifierSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierSeqContext,0)

        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAnalyze" ):
                return visitor.visitAnalyze(self)
            else:
                return visitor.visitChildren(self)


    class CreateHiveTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.columns = None # ColTypeListContext
            self.partitionColumns = None # ColTypeListContext
            self.partitionColumnNames = None # IdentifierListContext
            self.tableProps = None # TablePropertyListContext
            self.copyFrom(ctx)

        def createTableHeader(self):
            return self.getTypedRuleContext(fugue_sqlParser.CreateTableHeaderContext,0)

        def commentSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CommentSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,i)

        def bucketSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.BucketSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.BucketSpecContext,i)

        def skewSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.SkewSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.SkewSpecContext,i)

        def rowFormat(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.RowFormatContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.RowFormatContext,i)

        def createFileFormat(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CreateFileFormatContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CreateFileFormatContext,i)

        def locationSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LocationSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,i)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def colTypeList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ColTypeListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,i)

        def PARTITIONED(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.PARTITIONED)
            else:
                return self.getToken(fugue_sqlParser.PARTITIONED, i)
        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)
        def TBLPROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.TBLPROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.TBLPROPERTIES, i)
        def identifierList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,i)

        def tablePropertyList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,i)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateHiveTable" ):
                return visitor.visitCreateHiveTable(self)
            else:
                return visitor.visitChildren(self)


    class CreateFunctionContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.className = None # Token
            self.copyFrom(ctx)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def FUNCTION(self):
            return self.getToken(fugue_sqlParser.FUNCTION, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)
        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)
        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)
        def resource(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ResourceContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ResourceContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateFunction" ):
                return visitor.visitCreateFunction(self)
            else:
                return visitor.visitChildren(self)


    class ShowTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.ns = None # MultipartIdentifierContext
            self.pattern = None # Token
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)
        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowTable" ):
                return visitor.visitShowTable(self)
            else:
                return visitor.visitChildren(self)


    class HiveReplaceColumnsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.columns = None # QualifiedColTypeWithPositionListContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)
        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def qualifiedColTypeWithPositionList(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedColTypeWithPositionListContext,0)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitHiveReplaceColumns" ):
                return visitor.visitHiveReplaceColumns(self)
            else:
                return visitor.visitChildren(self)


    class CommentNamespaceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.comment = None # Token
            self.copyFrom(ctx)

        def COMMENT(self):
            return self.getToken(fugue_sqlParser.COMMENT, 0)
        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)
        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IS(self):
            return self.getToken(fugue_sqlParser.IS, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCommentNamespace" ):
                return visitor.visitCommentNamespace(self)
            else:
                return visitor.visitChildren(self)


    class CreateTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def createTableHeader(self):
            return self.getTypedRuleContext(fugue_sqlParser.CreateTableHeaderContext,0)

        def tableProvider(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableProviderContext,0)

        def createTableClauses(self):
            return self.getTypedRuleContext(fugue_sqlParser.CreateTableClausesContext,0)

        def colTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,0)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateTable" ):
                return visitor.visitCreateTable(self)
            else:
                return visitor.visitChildren(self)


    class DmlStatementContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def dmlStatementNoWith(self):
            return self.getTypedRuleContext(fugue_sqlParser.DmlStatementNoWithContext,0)

        def ctes(self):
            return self.getTypedRuleContext(fugue_sqlParser.CtesContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDmlStatement" ):
                return visitor.visitDmlStatement(self)
            else:
                return visitor.visitChildren(self)


    class CreateTableLikeContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.target = None # TableIdentifierContext
            self.source = None # TableIdentifierContext
            self.tableProps = None # TablePropertyListContext
            self.copyFrom(ctx)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)
        def tableIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TableIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TableIdentifierContext,i)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def tableProvider(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TableProviderContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TableProviderContext,i)

        def rowFormat(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.RowFormatContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.RowFormatContext,i)

        def createFileFormat(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CreateFileFormatContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CreateFileFormatContext,i)

        def locationSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LocationSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,i)

        def TBLPROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.TBLPROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.TBLPROPERTIES, i)
        def tablePropertyList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateTableLike" ):
                return visitor.visitCreateTableLike(self)
            else:
                return visitor.visitChildren(self)


    class UncacheTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def UNCACHE(self):
            return self.getToken(fugue_sqlParser.UNCACHE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUncacheTable" ):
                return visitor.visitUncacheTable(self)
            else:
                return visitor.visitChildren(self)


    class DropFunctionContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def FUNCTION(self):
            return self.getToken(fugue_sqlParser.FUNCTION, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropFunction" ):
                return visitor.visitDropFunction(self)
            else:
                return visitor.visitChildren(self)


    class DescribeRelationContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.option = None # Token
            self.copyFrom(ctx)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)
        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def describeColName(self):
            return self.getTypedRuleContext(fugue_sqlParser.DescribeColNameContext,0)

        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)
        def FORMATTED(self):
            return self.getToken(fugue_sqlParser.FORMATTED, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeRelation" ):
                return visitor.visitDescribeRelation(self)
            else:
                return visitor.visitChildren(self)


    class LoadDataContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.path = None # Token
            self.copyFrom(ctx)

        def LOAD(self):
            return self.getToken(fugue_sqlParser.LOAD, 0)
        def DATA(self):
            return self.getToken(fugue_sqlParser.DATA, 0)
        def INPATH(self):
            return self.getToken(fugue_sqlParser.INPATH, 0)
        def INTO(self):
            return self.getToken(fugue_sqlParser.INTO, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def LOCAL(self):
            return self.getToken(fugue_sqlParser.LOCAL, 0)
        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLoadData" ):
                return visitor.visitLoadData(self)
            else:
                return visitor.visitChildren(self)


    class ShowPartitionsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def PARTITIONS(self):
            return self.getToken(fugue_sqlParser.PARTITIONS, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowPartitions" ):
                return visitor.visitShowPartitions(self)
            else:
                return visitor.visitChildren(self)


    class DescribeFunctionContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def FUNCTION(self):
            return self.getToken(fugue_sqlParser.FUNCTION, 0)
        def describeFuncName(self):
            return self.getTypedRuleContext(fugue_sqlParser.DescribeFuncNameContext,0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)
        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)
        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeFunction" ):
                return visitor.visitDescribeFunction(self)
            else:
                return visitor.visitChildren(self)


    class RenameTableColumnContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.ifrom = None # MultipartIdentifierContext
            self.to = None # ErrorCapturingIdentifierContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def RENAME(self):
            return self.getToken(fugue_sqlParser.RENAME, 0)
        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)
        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)
        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)

        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRenameTableColumn" ):
                return visitor.visitRenameTableColumn(self)
            else:
                return visitor.visitChildren(self)


    class StatementDefaultContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStatementDefault" ):
                return visitor.visitStatementDefault(self)
            else:
                return visitor.visitChildren(self)


    class HiveChangeColumnContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.colName = None # MultipartIdentifierContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def CHANGE(self):
            return self.getToken(fugue_sqlParser.CHANGE, 0)
        def colType(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeContext,0)

        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)
        def colPosition(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColPositionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitHiveChangeColumn" ):
                return visitor.visitHiveChangeColumn(self)
            else:
                return visitor.visitChildren(self)


    class DescribeQueryContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)
        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)
        def QUERY(self):
            return self.getToken(fugue_sqlParser.QUERY, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeQuery" ):
                return visitor.visitDescribeQuery(self)
            else:
                return visitor.visitChildren(self)


    class TruncateTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def TRUNCATE(self):
            return self.getToken(fugue_sqlParser.TRUNCATE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTruncateTable" ):
                return visitor.visitTruncateTable(self)
            else:
                return visitor.visitChildren(self)


    class SetTableSerDeContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def SERDE(self):
            return self.getToken(fugue_sqlParser.SERDE, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)
        def SERDEPROPERTIES(self):
            return self.getToken(fugue_sqlParser.SERDEPROPERTIES, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetTableSerDe" ):
                return visitor.visitSetTableSerDe(self)
            else:
                return visitor.visitChildren(self)


    class CreateViewContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)
        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)
        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)
        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def identifierCommentList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierCommentListContext,0)

        def commentSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CommentSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,i)

        def PARTITIONED(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.PARTITIONED)
            else:
                return self.getToken(fugue_sqlParser.PARTITIONED, i)
        def ON(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.ON)
            else:
                return self.getToken(fugue_sqlParser.ON, i)
        def identifierList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,i)

        def TBLPROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.TBLPROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.TBLPROPERTIES, i)
        def tablePropertyList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,i)

        def GLOBAL(self):
            return self.getToken(fugue_sqlParser.GLOBAL, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateView" ):
                return visitor.visitCreateView(self)
            else:
                return visitor.visitChildren(self)


    class DropTablePartitionsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def partitionSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PartitionSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,i)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def PURGE(self):
            return self.getToken(fugue_sqlParser.PURGE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropTablePartitions" ):
                return visitor.visitDropTablePartitions(self)
            else:
                return visitor.visitChildren(self)


    class SetConfigurationContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetConfiguration" ):
                return visitor.visitSetConfiguration(self)
            else:
                return visitor.visitChildren(self)


    class DropTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def PURGE(self):
            return self.getToken(fugue_sqlParser.PURGE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropTable" ):
                return visitor.visitDropTable(self)
            else:
                return visitor.visitChildren(self)


    class DescribeNamespaceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)
        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)
        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeNamespace" ):
                return visitor.visitDescribeNamespace(self)
            else:
                return visitor.visitChildren(self)


    class AlterTableAlterColumnContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.column = None # MultipartIdentifierContext
            self.copyFrom(ctx)

        def ALTER(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.ALTER)
            else:
                return self.getToken(fugue_sqlParser.ALTER, i)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)

        def CHANGE(self):
            return self.getToken(fugue_sqlParser.CHANGE, 0)
        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)
        def alterColumnAction(self):
            return self.getTypedRuleContext(fugue_sqlParser.AlterColumnActionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAlterTableAlterColumn" ):
                return visitor.visitAlterTableAlterColumn(self)
            else:
                return visitor.visitChildren(self)


    class CommentTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.comment = None # Token
            self.copyFrom(ctx)

        def COMMENT(self):
            return self.getToken(fugue_sqlParser.COMMENT, 0)
        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IS(self):
            return self.getToken(fugue_sqlParser.IS, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCommentTable" ):
                return visitor.visitCommentTable(self)
            else:
                return visitor.visitChildren(self)


    class CreateNamespaceContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)
        def namespace(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamespaceContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def commentSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CommentSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,i)

        def locationSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LocationSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,i)

        def WITH(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.WITH)
            else:
                return self.getToken(fugue_sqlParser.WITH, i)
        def tablePropertyList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,i)

        def DBPROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.DBPROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.DBPROPERTIES, i)
        def PROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.PROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.PROPERTIES, i)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateNamespace" ):
                return visitor.visitCreateNamespace(self)
            else:
                return visitor.visitChildren(self)


    class ShowTblPropertiesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.table = None # MultipartIdentifierContext
            self.key = None # TablePropertyKeyContext
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def TBLPROPERTIES(self):
            return self.getToken(fugue_sqlParser.TBLPROPERTIES, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def tablePropertyKey(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyKeyContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowTblProperties" ):
                return visitor.visitShowTblProperties(self)
            else:
                return visitor.visitChildren(self)


    class UnsetTablePropertiesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def UNSET(self):
            return self.getToken(fugue_sqlParser.UNSET, 0)
        def TBLPROPERTIES(self):
            return self.getToken(fugue_sqlParser.TBLPROPERTIES, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)
        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUnsetTableProperties" ):
                return visitor.visitUnsetTableProperties(self)
            else:
                return visitor.visitChildren(self)


    class SetTableLocationContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def locationSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,0)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetTableLocation" ):
                return visitor.visitSetTableLocation(self)
            else:
                return visitor.visitChildren(self)


    class DropTableColumnsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.columns = None # MultipartIdentifierListContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)
        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)
        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)
        def multipartIdentifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDropTableColumns" ):
                return visitor.visitDropTableColumns(self)
            else:
                return visitor.visitChildren(self)


    class ShowViewsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.pattern = None # Token
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def VIEWS(self):
            return self.getToken(fugue_sqlParser.VIEWS, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowViews" ):
                return visitor.visitShowViews(self)
            else:
                return visitor.visitChildren(self)


    class ShowFunctionsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.pattern = None # Token
            self.copyFrom(ctx)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)
        def FUNCTIONS(self):
            return self.getToken(fugue_sqlParser.FUNCTIONS, 0)
        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitShowFunctions" ):
                return visitor.visitShowFunctions(self)
            else:
                return visitor.visitChildren(self)


    class CacheTableContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.options = None # TablePropertyListContext
            self.copyFrom(ctx)

        def CACHE(self):
            return self.getToken(fugue_sqlParser.CACHE, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)
        def OPTIONS(self):
            return self.getToken(fugue_sqlParser.OPTIONS, 0)
        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCacheTable" ):
                return visitor.visitCacheTable(self)
            else:
                return visitor.visitChildren(self)


    class AddTableColumnsContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.columns = None # QualifiedColTypeWithPositionListContext
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def ADD(self):
            return self.getToken(fugue_sqlParser.ADD, 0)
        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)
        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)
        def qualifiedColTypeWithPositionList(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedColTypeWithPositionListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAddTableColumns" ):
                return visitor.visitAddTableColumns(self)
            else:
                return visitor.visitChildren(self)


    class SetTablePropertiesContext(StatementContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StatementContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)
        def TBLPROPERTIES(self):
            return self.getToken(fugue_sqlParser.TBLPROPERTIES, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetTableProperties" ):
                return visitor.visitSetTableProperties(self)
            else:
                return visitor.visitChildren(self)



    def statement(self):

        localctx = fugue_sqlParser.StatementContext(self, self._ctx, self.state)
        self.enterRule(localctx, 136, self.RULE_statement)
        self._la = 0 # Token type
        try:
            self.state = 1643
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,199,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.StatementDefaultContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 938
                self.query()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.DmlStatementContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 940
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WITH:
                    self.state = 939
                    self.ctes()


                self.state = 942
                self.dmlStatementNoWith()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.UseContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 943
                self.match(fugue_sqlParser.USE)
                self.state = 945
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,95,self._ctx)
                if la_ == 1:
                    self.state = 944
                    self.match(fugue_sqlParser.NAMESPACE)


                self.state = 947
                self.multipartIdentifier()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.CreateNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 948
                self.match(fugue_sqlParser.CREATE)
                self.state = 949
                self.namespace()
                self.state = 953
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,96,self._ctx)
                if la_ == 1:
                    self.state = 950
                    self.match(fugue_sqlParser.IF)
                    self.state = 951
                    self.match(fugue_sqlParser.NOT)
                    self.state = 952
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 955
                self.multipartIdentifier()
                self.state = 963
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.COMMENT or _la==fugue_sqlParser.LOCATION or _la==fugue_sqlParser.WITH:
                    self.state = 961
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 956
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 957
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.WITH]:
                        self.state = 958
                        self.match(fugue_sqlParser.WITH)
                        self.state = 959
                        _la = self._input.LA(1)
                        if not(_la==fugue_sqlParser.DBPROPERTIES or _la==fugue_sqlParser.PROPERTIES):
                            self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 960
                        self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 965
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.SetNamespacePropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 966
                self.match(fugue_sqlParser.ALTER)
                self.state = 967
                self.namespace()
                self.state = 968
                self.multipartIdentifier()
                self.state = 969
                self.match(fugue_sqlParser.SET)
                self.state = 970
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DBPROPERTIES or _la==fugue_sqlParser.PROPERTIES):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 971
                self.tablePropertyList()
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.SetNamespaceLocationContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 973
                self.match(fugue_sqlParser.ALTER)
                self.state = 974
                self.namespace()
                self.state = 975
                self.multipartIdentifier()
                self.state = 976
                self.match(fugue_sqlParser.SET)
                self.state = 977
                self.locationSpec()
                pass

            elif la_ == 7:
                localctx = fugue_sqlParser.DropNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 7)
                self.state = 979
                self.match(fugue_sqlParser.DROP)
                self.state = 980
                self.namespace()
                self.state = 983
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,99,self._ctx)
                if la_ == 1:
                    self.state = 981
                    self.match(fugue_sqlParser.IF)
                    self.state = 982
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 985
                self.multipartIdentifier()
                self.state = 987
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.CASCADE or _la==fugue_sqlParser.RESTRICT:
                    self.state = 986
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.CASCADE or _la==fugue_sqlParser.RESTRICT):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                pass

            elif la_ == 8:
                localctx = fugue_sqlParser.ShowNamespacesContext(self, localctx)
                self.enterOuterAlt(localctx, 8)
                self.state = 989
                self.match(fugue_sqlParser.SHOW)
                self.state = 990
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DATABASES or _la==fugue_sqlParser.NAMESPACES):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 993
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 991
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 992
                    self.multipartIdentifier()


                self.state = 999
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 996
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 995
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 998
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.CreateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 9)
                self.state = 1001
                self.createTableHeader()
                self.state = 1006
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1002
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1003
                    self.colTypeList()
                    self.state = 1004
                    self.match(fugue_sqlParser.T__3)


                self.state = 1008
                self.tableProvider()
                self.state = 1009
                self.createTableClauses()
                self.state = 1014
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & ((1 << (fugue_sqlParser.CREATE - 84)) | (1 << (fugue_sqlParser.DROP - 84)) | (1 << (fugue_sqlParser.FROM - 84)))) != 0) or ((((_la - 167)) & ~0x3f) == 0 and ((1 << (_la - 167)) & ((1 << (fugue_sqlParser.LOAD - 167)) | (1 << (fugue_sqlParser.MAP - 167)) | (1 << (fugue_sqlParser.REDUCE - 167)))) != 0) or ((((_la - 237)) & ~0x3f) == 0 and ((1 << (_la - 237)) & ((1 << (fugue_sqlParser.SELECT - 237)) | (1 << (fugue_sqlParser.TABLE - 237)) | (1 << (fugue_sqlParser.TRANSFORM - 237)) | (1 << (fugue_sqlParser.VALUES - 237)) | (1 << (fugue_sqlParser.WITH - 237)))) != 0):
                    self.state = 1011
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1010
                        self.match(fugue_sqlParser.AS)


                    self.state = 1013
                    self.query()


                pass

            elif la_ == 10:
                localctx = fugue_sqlParser.CreateHiveTableContext(self, localctx)
                self.enterOuterAlt(localctx, 10)
                self.state = 1016
                self.createTableHeader()
                self.state = 1021
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1017
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1018
                    localctx.columns = self.colTypeList()
                    self.state = 1019
                    self.match(fugue_sqlParser.T__3)


                self.state = 1044
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.CLUSTERED or _la==fugue_sqlParser.COMMENT or _la==fugue_sqlParser.LOCATION or _la==fugue_sqlParser.PARTITIONED or ((((_la - 233)) & ~0x3f) == 0 and ((1 << (_la - 233)) & ((1 << (fugue_sqlParser.ROW - 233)) | (1 << (fugue_sqlParser.SKEWED - 233)) | (1 << (fugue_sqlParser.STORED - 233)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 233)))) != 0):
                    self.state = 1042
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 1023
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.PARTITIONED]:
                        self.state = 1033
                        self._errHandler.sync(self)
                        la_ = self._interp.adaptivePredict(self._input,108,self._ctx)
                        if la_ == 1:
                            self.state = 1024
                            self.match(fugue_sqlParser.PARTITIONED)
                            self.state = 1025
                            self.match(fugue_sqlParser.BY)
                            self.state = 1026
                            self.match(fugue_sqlParser.T__2)
                            self.state = 1027
                            localctx.partitionColumns = self.colTypeList()
                            self.state = 1028
                            self.match(fugue_sqlParser.T__3)
                            pass

                        elif la_ == 2:
                            self.state = 1030
                            self.match(fugue_sqlParser.PARTITIONED)
                            self.state = 1031
                            self.match(fugue_sqlParser.BY)
                            self.state = 1032
                            localctx.partitionColumnNames = self.identifierList()
                            pass


                        pass
                    elif token in [fugue_sqlParser.CLUSTERED]:
                        self.state = 1035
                        self.bucketSpec()
                        pass
                    elif token in [fugue_sqlParser.SKEWED]:
                        self.state = 1036
                        self.skewSpec()
                        pass
                    elif token in [fugue_sqlParser.ROW]:
                        self.state = 1037
                        self.rowFormat()
                        pass
                    elif token in [fugue_sqlParser.STORED]:
                        self.state = 1038
                        self.createFileFormat()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 1039
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1040
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1041
                        localctx.tableProps = self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1046
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1051
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & ((1 << (fugue_sqlParser.CREATE - 84)) | (1 << (fugue_sqlParser.DROP - 84)) | (1 << (fugue_sqlParser.FROM - 84)))) != 0) or ((((_la - 167)) & ~0x3f) == 0 and ((1 << (_la - 167)) & ((1 << (fugue_sqlParser.LOAD - 167)) | (1 << (fugue_sqlParser.MAP - 167)) | (1 << (fugue_sqlParser.REDUCE - 167)))) != 0) or ((((_la - 237)) & ~0x3f) == 0 and ((1 << (_la - 237)) & ((1 << (fugue_sqlParser.SELECT - 237)) | (1 << (fugue_sqlParser.TABLE - 237)) | (1 << (fugue_sqlParser.TRANSFORM - 237)) | (1 << (fugue_sqlParser.VALUES - 237)) | (1 << (fugue_sqlParser.WITH - 237)))) != 0):
                    self.state = 1048
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1047
                        self.match(fugue_sqlParser.AS)


                    self.state = 1050
                    self.query()


                pass

            elif la_ == 11:
                localctx = fugue_sqlParser.CreateTableLikeContext(self, localctx)
                self.enterOuterAlt(localctx, 11)
                self.state = 1053
                self.match(fugue_sqlParser.CREATE)
                self.state = 1054
                self.match(fugue_sqlParser.TABLE)
                self.state = 1058
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,113,self._ctx)
                if la_ == 1:
                    self.state = 1055
                    self.match(fugue_sqlParser.IF)
                    self.state = 1056
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1057
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1060
                localctx.target = self.tableIdentifier()
                self.state = 1061
                self.match(fugue_sqlParser.LIKE)
                self.state = 1062
                localctx.source = self.tableIdentifier()
                self.state = 1071
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.LOCATION or ((((_la - 233)) & ~0x3f) == 0 and ((1 << (_la - 233)) & ((1 << (fugue_sqlParser.ROW - 233)) | (1 << (fugue_sqlParser.STORED - 233)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 233)) | (1 << (fugue_sqlParser.USING - 233)))) != 0):
                    self.state = 1069
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.USING]:
                        self.state = 1063
                        self.tableProvider()
                        pass
                    elif token in [fugue_sqlParser.ROW]:
                        self.state = 1064
                        self.rowFormat()
                        pass
                    elif token in [fugue_sqlParser.STORED]:
                        self.state = 1065
                        self.createFileFormat()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 1066
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1067
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1068
                        localctx.tableProps = self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1073
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                pass

            elif la_ == 12:
                localctx = fugue_sqlParser.ReplaceTableContext(self, localctx)
                self.enterOuterAlt(localctx, 12)
                self.state = 1074
                self.replaceTableHeader()
                self.state = 1079
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1075
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1076
                    self.colTypeList()
                    self.state = 1077
                    self.match(fugue_sqlParser.T__3)


                self.state = 1081
                self.tableProvider()
                self.state = 1082
                self.createTableClauses()
                self.state = 1087
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & ((1 << (fugue_sqlParser.CREATE - 84)) | (1 << (fugue_sqlParser.DROP - 84)) | (1 << (fugue_sqlParser.FROM - 84)))) != 0) or ((((_la - 167)) & ~0x3f) == 0 and ((1 << (_la - 167)) & ((1 << (fugue_sqlParser.LOAD - 167)) | (1 << (fugue_sqlParser.MAP - 167)) | (1 << (fugue_sqlParser.REDUCE - 167)))) != 0) or ((((_la - 237)) & ~0x3f) == 0 and ((1 << (_la - 237)) & ((1 << (fugue_sqlParser.SELECT - 237)) | (1 << (fugue_sqlParser.TABLE - 237)) | (1 << (fugue_sqlParser.TRANSFORM - 237)) | (1 << (fugue_sqlParser.VALUES - 237)) | (1 << (fugue_sqlParser.WITH - 237)))) != 0):
                    self.state = 1084
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1083
                        self.match(fugue_sqlParser.AS)


                    self.state = 1086
                    self.query()


                pass

            elif la_ == 13:
                localctx = fugue_sqlParser.AnalyzeContext(self, localctx)
                self.enterOuterAlt(localctx, 13)
                self.state = 1089
                self.match(fugue_sqlParser.ANALYZE)
                self.state = 1090
                self.match(fugue_sqlParser.TABLE)
                self.state = 1091
                self.multipartIdentifier()
                self.state = 1093
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1092
                    self.partitionSpec()


                self.state = 1095
                self.match(fugue_sqlParser.COMPUTE)
                self.state = 1096
                self.match(fugue_sqlParser.STATISTICS)
                self.state = 1104
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,120,self._ctx)
                if la_ == 1:
                    self.state = 1097
                    self.identifier()

                elif la_ == 2:
                    self.state = 1098
                    self.match(fugue_sqlParser.FOR)
                    self.state = 1099
                    self.match(fugue_sqlParser.COLUMNS)
                    self.state = 1100
                    self.identifierSeq()

                elif la_ == 3:
                    self.state = 1101
                    self.match(fugue_sqlParser.FOR)
                    self.state = 1102
                    self.match(fugue_sqlParser.ALL)
                    self.state = 1103
                    self.match(fugue_sqlParser.COLUMNS)


                pass

            elif la_ == 14:
                localctx = fugue_sqlParser.AddTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 14)
                self.state = 1106
                self.match(fugue_sqlParser.ALTER)
                self.state = 1107
                self.match(fugue_sqlParser.TABLE)
                self.state = 1108
                self.multipartIdentifier()
                self.state = 1109
                self.match(fugue_sqlParser.ADD)
                self.state = 1110
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.COLUMN or _la==fugue_sqlParser.COLUMNS):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1111
                localctx.columns = self.qualifiedColTypeWithPositionList()
                pass

            elif la_ == 15:
                localctx = fugue_sqlParser.AddTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 15)
                self.state = 1113
                self.match(fugue_sqlParser.ALTER)
                self.state = 1114
                self.match(fugue_sqlParser.TABLE)
                self.state = 1115
                self.multipartIdentifier()
                self.state = 1116
                self.match(fugue_sqlParser.ADD)
                self.state = 1117
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.COLUMN or _la==fugue_sqlParser.COLUMNS):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1118
                self.match(fugue_sqlParser.T__2)
                self.state = 1119
                localctx.columns = self.qualifiedColTypeWithPositionList()
                self.state = 1120
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 16:
                localctx = fugue_sqlParser.RenameTableColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 16)
                self.state = 1122
                self.match(fugue_sqlParser.ALTER)
                self.state = 1123
                self.match(fugue_sqlParser.TABLE)
                self.state = 1124
                localctx.table = self.multipartIdentifier()
                self.state = 1125
                self.match(fugue_sqlParser.RENAME)
                self.state = 1126
                self.match(fugue_sqlParser.COLUMN)
                self.state = 1127
                localctx.ifrom = self.multipartIdentifier()
                self.state = 1128
                self.match(fugue_sqlParser.TO)
                self.state = 1129
                localctx.to = self.errorCapturingIdentifier()
                pass

            elif la_ == 17:
                localctx = fugue_sqlParser.DropTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 17)
                self.state = 1131
                self.match(fugue_sqlParser.ALTER)
                self.state = 1132
                self.match(fugue_sqlParser.TABLE)
                self.state = 1133
                self.multipartIdentifier()
                self.state = 1134
                self.match(fugue_sqlParser.DROP)
                self.state = 1135
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.COLUMN or _la==fugue_sqlParser.COLUMNS):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1136
                self.match(fugue_sqlParser.T__2)
                self.state = 1137
                localctx.columns = self.multipartIdentifierList()
                self.state = 1138
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 18:
                localctx = fugue_sqlParser.DropTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 18)
                self.state = 1140
                self.match(fugue_sqlParser.ALTER)
                self.state = 1141
                self.match(fugue_sqlParser.TABLE)
                self.state = 1142
                self.multipartIdentifier()
                self.state = 1143
                self.match(fugue_sqlParser.DROP)
                self.state = 1144
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.COLUMN or _la==fugue_sqlParser.COLUMNS):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1145
                localctx.columns = self.multipartIdentifierList()
                pass

            elif la_ == 19:
                localctx = fugue_sqlParser.RenameTableContext(self, localctx)
                self.enterOuterAlt(localctx, 19)
                self.state = 1147
                self.match(fugue_sqlParser.ALTER)
                self.state = 1148
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.TABLE or _la==fugue_sqlParser.VIEW):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1149
                localctx.ifrom = self.multipartIdentifier()
                self.state = 1150
                self.match(fugue_sqlParser.RENAME)
                self.state = 1151
                self.match(fugue_sqlParser.TO)
                self.state = 1152
                localctx.to = self.multipartIdentifier()
                pass

            elif la_ == 20:
                localctx = fugue_sqlParser.SetTablePropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 20)
                self.state = 1154
                self.match(fugue_sqlParser.ALTER)
                self.state = 1155
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.TABLE or _la==fugue_sqlParser.VIEW):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1156
                self.multipartIdentifier()
                self.state = 1157
                self.match(fugue_sqlParser.SET)
                self.state = 1158
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1159
                self.tablePropertyList()
                pass

            elif la_ == 21:
                localctx = fugue_sqlParser.UnsetTablePropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 21)
                self.state = 1161
                self.match(fugue_sqlParser.ALTER)
                self.state = 1162
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.TABLE or _la==fugue_sqlParser.VIEW):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1163
                self.multipartIdentifier()
                self.state = 1164
                self.match(fugue_sqlParser.UNSET)
                self.state = 1165
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1168
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1166
                    self.match(fugue_sqlParser.IF)
                    self.state = 1167
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1170
                self.tablePropertyList()
                pass

            elif la_ == 22:
                localctx = fugue_sqlParser.AlterTableAlterColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 22)
                self.state = 1172
                self.match(fugue_sqlParser.ALTER)
                self.state = 1173
                self.match(fugue_sqlParser.TABLE)
                self.state = 1174
                localctx.table = self.multipartIdentifier()
                self.state = 1175
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ALTER or _la==fugue_sqlParser.CHANGE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1177
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,122,self._ctx)
                if la_ == 1:
                    self.state = 1176
                    self.match(fugue_sqlParser.COLUMN)


                self.state = 1179
                localctx.column = self.multipartIdentifier()
                self.state = 1181
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AFTER or ((((_la - 76)) & ~0x3f) == 0 and ((1 << (_la - 76)) & ((1 << (fugue_sqlParser.COMMENT - 76)) | (1 << (fugue_sqlParser.DROP - 76)) | (1 << (fugue_sqlParser.FIRST - 76)))) != 0) or _la==fugue_sqlParser.SET or _la==fugue_sqlParser.TYPE:
                    self.state = 1180
                    self.alterColumnAction()


                pass

            elif la_ == 23:
                localctx = fugue_sqlParser.HiveChangeColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 23)
                self.state = 1183
                self.match(fugue_sqlParser.ALTER)
                self.state = 1184
                self.match(fugue_sqlParser.TABLE)
                self.state = 1185
                localctx.table = self.multipartIdentifier()
                self.state = 1187
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1186
                    self.partitionSpec()


                self.state = 1189
                self.match(fugue_sqlParser.CHANGE)
                self.state = 1191
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,125,self._ctx)
                if la_ == 1:
                    self.state = 1190
                    self.match(fugue_sqlParser.COLUMN)


                self.state = 1193
                localctx.colName = self.multipartIdentifier()
                self.state = 1194
                self.colType()
                self.state = 1196
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AFTER or _la==fugue_sqlParser.FIRST:
                    self.state = 1195
                    self.colPosition()


                pass

            elif la_ == 24:
                localctx = fugue_sqlParser.HiveReplaceColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 24)
                self.state = 1198
                self.match(fugue_sqlParser.ALTER)
                self.state = 1199
                self.match(fugue_sqlParser.TABLE)
                self.state = 1200
                localctx.table = self.multipartIdentifier()
                self.state = 1202
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1201
                    self.partitionSpec()


                self.state = 1204
                self.match(fugue_sqlParser.REPLACE)
                self.state = 1205
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 1206
                self.match(fugue_sqlParser.T__2)
                self.state = 1207
                localctx.columns = self.qualifiedColTypeWithPositionList()
                self.state = 1208
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 25:
                localctx = fugue_sqlParser.SetTableSerDeContext(self, localctx)
                self.enterOuterAlt(localctx, 25)
                self.state = 1210
                self.match(fugue_sqlParser.ALTER)
                self.state = 1211
                self.match(fugue_sqlParser.TABLE)
                self.state = 1212
                self.multipartIdentifier()
                self.state = 1214
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1213
                    self.partitionSpec()


                self.state = 1216
                self.match(fugue_sqlParser.SET)
                self.state = 1217
                self.match(fugue_sqlParser.SERDE)
                self.state = 1218
                self.match(fugue_sqlParser.STRING)
                self.state = 1222
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WITH:
                    self.state = 1219
                    self.match(fugue_sqlParser.WITH)
                    self.state = 1220
                    self.match(fugue_sqlParser.SERDEPROPERTIES)
                    self.state = 1221
                    self.tablePropertyList()


                pass

            elif la_ == 26:
                localctx = fugue_sqlParser.SetTableSerDeContext(self, localctx)
                self.enterOuterAlt(localctx, 26)
                self.state = 1224
                self.match(fugue_sqlParser.ALTER)
                self.state = 1225
                self.match(fugue_sqlParser.TABLE)
                self.state = 1226
                self.multipartIdentifier()
                self.state = 1228
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1227
                    self.partitionSpec()


                self.state = 1230
                self.match(fugue_sqlParser.SET)
                self.state = 1231
                self.match(fugue_sqlParser.SERDEPROPERTIES)
                self.state = 1232
                self.tablePropertyList()
                pass

            elif la_ == 27:
                localctx = fugue_sqlParser.AddTablePartitionContext(self, localctx)
                self.enterOuterAlt(localctx, 27)
                self.state = 1234
                self.match(fugue_sqlParser.ALTER)
                self.state = 1235
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.TABLE or _la==fugue_sqlParser.VIEW):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1236
                self.multipartIdentifier()
                self.state = 1237
                self.match(fugue_sqlParser.ADD)
                self.state = 1241
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1238
                    self.match(fugue_sqlParser.IF)
                    self.state = 1239
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1240
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1244 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 1243
                    self.partitionSpecLocation()
                    self.state = 1246 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.PARTITION):
                        break

                pass

            elif la_ == 28:
                localctx = fugue_sqlParser.RenameTablePartitionContext(self, localctx)
                self.enterOuterAlt(localctx, 28)
                self.state = 1248
                self.match(fugue_sqlParser.ALTER)
                self.state = 1249
                self.match(fugue_sqlParser.TABLE)
                self.state = 1250
                self.multipartIdentifier()
                self.state = 1251
                localctx.ifrom = self.partitionSpec()
                self.state = 1252
                self.match(fugue_sqlParser.RENAME)
                self.state = 1253
                self.match(fugue_sqlParser.TO)
                self.state = 1254
                localctx.to = self.partitionSpec()
                pass

            elif la_ == 29:
                localctx = fugue_sqlParser.DropTablePartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 29)
                self.state = 1256
                self.match(fugue_sqlParser.ALTER)
                self.state = 1257
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.TABLE or _la==fugue_sqlParser.VIEW):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1258
                self.multipartIdentifier()
                self.state = 1259
                self.match(fugue_sqlParser.DROP)
                self.state = 1262
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1260
                    self.match(fugue_sqlParser.IF)
                    self.state = 1261
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1264
                self.partitionSpec()
                self.state = 1269
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 1265
                    self.match(fugue_sqlParser.T__0)
                    self.state = 1266
                    self.partitionSpec()
                    self.state = 1271
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1273
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PURGE:
                    self.state = 1272
                    self.match(fugue_sqlParser.PURGE)


                pass

            elif la_ == 30:
                localctx = fugue_sqlParser.SetTableLocationContext(self, localctx)
                self.enterOuterAlt(localctx, 30)
                self.state = 1275
                self.match(fugue_sqlParser.ALTER)
                self.state = 1276
                self.match(fugue_sqlParser.TABLE)
                self.state = 1277
                self.multipartIdentifier()
                self.state = 1279
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1278
                    self.partitionSpec()


                self.state = 1281
                self.match(fugue_sqlParser.SET)
                self.state = 1282
                self.locationSpec()
                pass

            elif la_ == 31:
                localctx = fugue_sqlParser.RecoverPartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 31)
                self.state = 1284
                self.match(fugue_sqlParser.ALTER)
                self.state = 1285
                self.match(fugue_sqlParser.TABLE)
                self.state = 1286
                self.multipartIdentifier()
                self.state = 1287
                self.match(fugue_sqlParser.RECOVER)
                self.state = 1288
                self.match(fugue_sqlParser.PARTITIONS)
                pass

            elif la_ == 32:
                localctx = fugue_sqlParser.DropTableContext(self, localctx)
                self.enterOuterAlt(localctx, 32)
                self.state = 1290
                self.match(fugue_sqlParser.DROP)
                self.state = 1291
                self.match(fugue_sqlParser.TABLE)
                self.state = 1294
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,137,self._ctx)
                if la_ == 1:
                    self.state = 1292
                    self.match(fugue_sqlParser.IF)
                    self.state = 1293
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1296
                self.multipartIdentifier()
                self.state = 1298
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PURGE:
                    self.state = 1297
                    self.match(fugue_sqlParser.PURGE)


                pass

            elif la_ == 33:
                localctx = fugue_sqlParser.DropViewContext(self, localctx)
                self.enterOuterAlt(localctx, 33)
                self.state = 1300
                self.match(fugue_sqlParser.DROP)
                self.state = 1301
                self.match(fugue_sqlParser.VIEW)
                self.state = 1304
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,139,self._ctx)
                if la_ == 1:
                    self.state = 1302
                    self.match(fugue_sqlParser.IF)
                    self.state = 1303
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1306
                self.multipartIdentifier()
                pass

            elif la_ == 34:
                localctx = fugue_sqlParser.CreateViewContext(self, localctx)
                self.enterOuterAlt(localctx, 34)
                self.state = 1307
                self.match(fugue_sqlParser.CREATE)
                self.state = 1310
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1308
                    self.match(fugue_sqlParser.OR)
                    self.state = 1309
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1316
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.GLOBAL or _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1313
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.GLOBAL:
                        self.state = 1312
                        self.match(fugue_sqlParser.GLOBAL)


                    self.state = 1315
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1318
                self.match(fugue_sqlParser.VIEW)
                self.state = 1322
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,143,self._ctx)
                if la_ == 1:
                    self.state = 1319
                    self.match(fugue_sqlParser.IF)
                    self.state = 1320
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1321
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1324
                self.multipartIdentifier()
                self.state = 1326
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1325
                    self.identifierCommentList()


                self.state = 1336
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.COMMENT or _la==fugue_sqlParser.PARTITIONED or _la==fugue_sqlParser.TBLPROPERTIES:
                    self.state = 1334
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 1328
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.PARTITIONED]:
                        self.state = 1329
                        self.match(fugue_sqlParser.PARTITIONED)
                        self.state = 1330
                        self.match(fugue_sqlParser.ON)
                        self.state = 1331
                        self.identifierList()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1332
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1333
                        self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1338
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1339
                self.match(fugue_sqlParser.AS)
                self.state = 1340
                self.query()
                pass

            elif la_ == 35:
                localctx = fugue_sqlParser.CreateTempViewUsingContext(self, localctx)
                self.enterOuterAlt(localctx, 35)
                self.state = 1342
                self.match(fugue_sqlParser.CREATE)
                self.state = 1345
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1343
                    self.match(fugue_sqlParser.OR)
                    self.state = 1344
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1348
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.GLOBAL:
                    self.state = 1347
                    self.match(fugue_sqlParser.GLOBAL)


                self.state = 1350
                self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1351
                self.match(fugue_sqlParser.VIEW)
                self.state = 1352
                self.tableIdentifier()
                self.state = 1357
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1353
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1354
                    self.colTypeList()
                    self.state = 1355
                    self.match(fugue_sqlParser.T__3)


                self.state = 1359
                self.tableProvider()
                self.state = 1362
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 1360
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1361
                    self.tablePropertyList()


                pass

            elif la_ == 36:
                localctx = fugue_sqlParser.AlterViewQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 36)
                self.state = 1364
                self.match(fugue_sqlParser.ALTER)
                self.state = 1365
                self.match(fugue_sqlParser.VIEW)
                self.state = 1366
                self.multipartIdentifier()
                self.state = 1368
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AS:
                    self.state = 1367
                    self.match(fugue_sqlParser.AS)


                self.state = 1370
                self.query()
                pass

            elif la_ == 37:
                localctx = fugue_sqlParser.CreateFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 37)
                self.state = 1372
                self.match(fugue_sqlParser.CREATE)
                self.state = 1375
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1373
                    self.match(fugue_sqlParser.OR)
                    self.state = 1374
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1378
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1377
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1380
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1384
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,154,self._ctx)
                if la_ == 1:
                    self.state = 1381
                    self.match(fugue_sqlParser.IF)
                    self.state = 1382
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1383
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1386
                self.multipartIdentifier()
                self.state = 1387
                self.match(fugue_sqlParser.AS)
                self.state = 1388
                localctx.className = self.match(fugue_sqlParser.STRING)
                self.state = 1398
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.USING:
                    self.state = 1389
                    self.match(fugue_sqlParser.USING)
                    self.state = 1390
                    self.resource()
                    self.state = 1395
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 1391
                        self.match(fugue_sqlParser.T__0)
                        self.state = 1392
                        self.resource()
                        self.state = 1397
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



                pass

            elif la_ == 38:
                localctx = fugue_sqlParser.DropFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 38)
                self.state = 1400
                self.match(fugue_sqlParser.DROP)
                self.state = 1402
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1401
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1404
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1407
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,158,self._ctx)
                if la_ == 1:
                    self.state = 1405
                    self.match(fugue_sqlParser.IF)
                    self.state = 1406
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1409
                self.multipartIdentifier()
                pass

            elif la_ == 39:
                localctx = fugue_sqlParser.ExplainContext(self, localctx)
                self.enterOuterAlt(localctx, 39)
                self.state = 1410
                self.match(fugue_sqlParser.EXPLAIN)
                self.state = 1412
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if ((((_la - 71)) & ~0x3f) == 0 and ((1 << (_la - 71)) & ((1 << (fugue_sqlParser.CODEGEN - 71)) | (1 << (fugue_sqlParser.COST - 71)) | (1 << (fugue_sqlParser.EXTENDED - 71)) | (1 << (fugue_sqlParser.FORMATTED - 71)))) != 0) or _la==fugue_sqlParser.LOGICAL:
                    self.state = 1411
                    _la = self._input.LA(1)
                    if not(((((_la - 71)) & ~0x3f) == 0 and ((1 << (_la - 71)) & ((1 << (fugue_sqlParser.CODEGEN - 71)) | (1 << (fugue_sqlParser.COST - 71)) | (1 << (fugue_sqlParser.EXTENDED - 71)) | (1 << (fugue_sqlParser.FORMATTED - 71)))) != 0) or _la==fugue_sqlParser.LOGICAL):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                self.state = 1414
                self.statement()
                pass

            elif la_ == 40:
                localctx = fugue_sqlParser.ShowTablesContext(self, localctx)
                self.enterOuterAlt(localctx, 40)
                self.state = 1415
                self.match(fugue_sqlParser.SHOW)
                self.state = 1416
                self.match(fugue_sqlParser.TABLES)
                self.state = 1419
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1417
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 1418
                    self.multipartIdentifier()


                self.state = 1425
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 1422
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 1421
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1424
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 41:
                localctx = fugue_sqlParser.ShowTableContext(self, localctx)
                self.enterOuterAlt(localctx, 41)
                self.state = 1427
                self.match(fugue_sqlParser.SHOW)
                self.state = 1428
                self.match(fugue_sqlParser.TABLE)
                self.state = 1429
                self.match(fugue_sqlParser.EXTENDED)
                self.state = 1432
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1430
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 1431
                    localctx.ns = self.multipartIdentifier()


                self.state = 1434
                self.match(fugue_sqlParser.LIKE)
                self.state = 1435
                localctx.pattern = self.match(fugue_sqlParser.STRING)
                self.state = 1437
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1436
                    self.partitionSpec()


                pass

            elif la_ == 42:
                localctx = fugue_sqlParser.ShowTblPropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 42)
                self.state = 1439
                self.match(fugue_sqlParser.SHOW)
                self.state = 1440
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1441
                localctx.table = self.multipartIdentifier()
                self.state = 1446
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1442
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1443
                    localctx.key = self.tablePropertyKey()
                    self.state = 1444
                    self.match(fugue_sqlParser.T__3)


                pass

            elif la_ == 43:
                localctx = fugue_sqlParser.ShowColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 43)
                self.state = 1448
                self.match(fugue_sqlParser.SHOW)
                self.state = 1449
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 1450
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1451
                localctx.table = self.multipartIdentifier()
                self.state = 1454
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1452
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 1453
                    localctx.ns = self.multipartIdentifier()


                pass

            elif la_ == 44:
                localctx = fugue_sqlParser.ShowViewsContext(self, localctx)
                self.enterOuterAlt(localctx, 44)
                self.state = 1456
                self.match(fugue_sqlParser.SHOW)
                self.state = 1457
                self.match(fugue_sqlParser.VIEWS)
                self.state = 1460
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1458
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 1459
                    self.multipartIdentifier()


                self.state = 1466
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 1463
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 1462
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1465
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 45:
                localctx = fugue_sqlParser.ShowPartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 45)
                self.state = 1468
                self.match(fugue_sqlParser.SHOW)
                self.state = 1469
                self.match(fugue_sqlParser.PARTITIONS)
                self.state = 1470
                self.multipartIdentifier()
                self.state = 1472
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1471
                    self.partitionSpec()


                pass

            elif la_ == 46:
                localctx = fugue_sqlParser.ShowFunctionsContext(self, localctx)
                self.enterOuterAlt(localctx, 46)
                self.state = 1474
                self.match(fugue_sqlParser.SHOW)
                self.state = 1476
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,171,self._ctx)
                if la_ == 1:
                    self.state = 1475
                    self.identifier()


                self.state = 1478
                self.match(fugue_sqlParser.FUNCTIONS)
                self.state = 1486
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,174,self._ctx)
                if la_ == 1:
                    self.state = 1480
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,172,self._ctx)
                    if la_ == 1:
                        self.state = 1479
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1484
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,173,self._ctx)
                    if la_ == 1:
                        self.state = 1482
                        self.multipartIdentifier()
                        pass

                    elif la_ == 2:
                        self.state = 1483
                        localctx.pattern = self.match(fugue_sqlParser.STRING)
                        pass




                pass

            elif la_ == 47:
                localctx = fugue_sqlParser.ShowCreateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 47)
                self.state = 1488
                self.match(fugue_sqlParser.SHOW)
                self.state = 1489
                self.match(fugue_sqlParser.CREATE)
                self.state = 1490
                self.match(fugue_sqlParser.TABLE)
                self.state = 1491
                self.multipartIdentifier()
                self.state = 1494
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AS:
                    self.state = 1492
                    self.match(fugue_sqlParser.AS)
                    self.state = 1493
                    self.match(fugue_sqlParser.SERDE)


                pass

            elif la_ == 48:
                localctx = fugue_sqlParser.ShowCurrentNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 48)
                self.state = 1496
                self.match(fugue_sqlParser.SHOW)
                self.state = 1497
                self.match(fugue_sqlParser.CURRENT)
                self.state = 1498
                self.match(fugue_sqlParser.NAMESPACE)
                pass

            elif la_ == 49:
                localctx = fugue_sqlParser.DescribeFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 49)
                self.state = 1499
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DESC or _la==fugue_sqlParser.DESCRIBE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1500
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1502
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,176,self._ctx)
                if la_ == 1:
                    self.state = 1501
                    self.match(fugue_sqlParser.EXTENDED)


                self.state = 1504
                self.describeFuncName()
                pass

            elif la_ == 50:
                localctx = fugue_sqlParser.DescribeNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 50)
                self.state = 1505
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DESC or _la==fugue_sqlParser.DESCRIBE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1506
                self.namespace()
                self.state = 1508
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,177,self._ctx)
                if la_ == 1:
                    self.state = 1507
                    self.match(fugue_sqlParser.EXTENDED)


                self.state = 1510
                self.multipartIdentifier()
                pass

            elif la_ == 51:
                localctx = fugue_sqlParser.DescribeRelationContext(self, localctx)
                self.enterOuterAlt(localctx, 51)
                self.state = 1512
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DESC or _la==fugue_sqlParser.DESCRIBE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1514
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,178,self._ctx)
                if la_ == 1:
                    self.state = 1513
                    self.match(fugue_sqlParser.TABLE)


                self.state = 1517
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,179,self._ctx)
                if la_ == 1:
                    self.state = 1516
                    localctx.option = self._input.LT(1)
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.EXTENDED or _la==fugue_sqlParser.FORMATTED):
                        localctx.option = self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                self.state = 1519
                self.multipartIdentifier()
                self.state = 1521
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,180,self._ctx)
                if la_ == 1:
                    self.state = 1520
                    self.partitionSpec()


                self.state = 1524
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,181,self._ctx)
                if la_ == 1:
                    self.state = 1523
                    self.describeColName()


                pass

            elif la_ == 52:
                localctx = fugue_sqlParser.DescribeQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 52)
                self.state = 1526
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DESC or _la==fugue_sqlParser.DESCRIBE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1528
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.QUERY:
                    self.state = 1527
                    self.match(fugue_sqlParser.QUERY)


                self.state = 1530
                self.query()
                pass

            elif la_ == 53:
                localctx = fugue_sqlParser.CommentNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 53)
                self.state = 1531
                self.match(fugue_sqlParser.COMMENT)
                self.state = 1532
                self.match(fugue_sqlParser.ON)
                self.state = 1533
                self.namespace()
                self.state = 1534
                self.multipartIdentifier()
                self.state = 1535
                self.match(fugue_sqlParser.IS)
                self.state = 1536
                localctx.comment = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.NULL or _la==fugue_sqlParser.STRING):
                    localctx.comment = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 54:
                localctx = fugue_sqlParser.CommentTableContext(self, localctx)
                self.enterOuterAlt(localctx, 54)
                self.state = 1538
                self.match(fugue_sqlParser.COMMENT)
                self.state = 1539
                self.match(fugue_sqlParser.ON)
                self.state = 1540
                self.match(fugue_sqlParser.TABLE)
                self.state = 1541
                self.multipartIdentifier()
                self.state = 1542
                self.match(fugue_sqlParser.IS)
                self.state = 1543
                localctx.comment = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.NULL or _la==fugue_sqlParser.STRING):
                    localctx.comment = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 55:
                localctx = fugue_sqlParser.RefreshTableContext(self, localctx)
                self.enterOuterAlt(localctx, 55)
                self.state = 1545
                self.match(fugue_sqlParser.REFRESH)
                self.state = 1546
                self.match(fugue_sqlParser.TABLE)
                self.state = 1547
                self.multipartIdentifier()
                pass

            elif la_ == 56:
                localctx = fugue_sqlParser.RefreshResourceContext(self, localctx)
                self.enterOuterAlt(localctx, 56)
                self.state = 1548
                self.match(fugue_sqlParser.REFRESH)
                self.state = 1556
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,184,self._ctx)
                if la_ == 1:
                    self.state = 1549
                    self.match(fugue_sqlParser.STRING)
                    pass

                elif la_ == 2:
                    self.state = 1553
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,183,self._ctx)
                    while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                        if _alt==1+1:
                            self.state = 1550
                            self.matchWildcard() 
                        self.state = 1555
                        self._errHandler.sync(self)
                        _alt = self._interp.adaptivePredict(self._input,183,self._ctx)

                    pass


                pass

            elif la_ == 57:
                localctx = fugue_sqlParser.CacheTableContext(self, localctx)
                self.enterOuterAlt(localctx, 57)
                self.state = 1558
                self.match(fugue_sqlParser.CACHE)
                self.state = 1560
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 1559
                    self.match(fugue_sqlParser.LAZY)


                self.state = 1562
                self.match(fugue_sqlParser.TABLE)
                self.state = 1563
                self.multipartIdentifier()
                self.state = 1566
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 1564
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1565
                    localctx.options = self.tablePropertyList()


                self.state = 1572
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 84)) & ~0x3f) == 0 and ((1 << (_la - 84)) & ((1 << (fugue_sqlParser.CREATE - 84)) | (1 << (fugue_sqlParser.DROP - 84)) | (1 << (fugue_sqlParser.FROM - 84)))) != 0) or ((((_la - 167)) & ~0x3f) == 0 and ((1 << (_la - 167)) & ((1 << (fugue_sqlParser.LOAD - 167)) | (1 << (fugue_sqlParser.MAP - 167)) | (1 << (fugue_sqlParser.REDUCE - 167)))) != 0) or ((((_la - 237)) & ~0x3f) == 0 and ((1 << (_la - 237)) & ((1 << (fugue_sqlParser.SELECT - 237)) | (1 << (fugue_sqlParser.TABLE - 237)) | (1 << (fugue_sqlParser.TRANSFORM - 237)) | (1 << (fugue_sqlParser.VALUES - 237)) | (1 << (fugue_sqlParser.WITH - 237)))) != 0):
                    self.state = 1569
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1568
                        self.match(fugue_sqlParser.AS)


                    self.state = 1571
                    self.query()


                pass

            elif la_ == 58:
                localctx = fugue_sqlParser.UncacheTableContext(self, localctx)
                self.enterOuterAlt(localctx, 58)
                self.state = 1574
                self.match(fugue_sqlParser.UNCACHE)
                self.state = 1575
                self.match(fugue_sqlParser.TABLE)
                self.state = 1578
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,189,self._ctx)
                if la_ == 1:
                    self.state = 1576
                    self.match(fugue_sqlParser.IF)
                    self.state = 1577
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1580
                self.multipartIdentifier()
                pass

            elif la_ == 59:
                localctx = fugue_sqlParser.ClearCacheContext(self, localctx)
                self.enterOuterAlt(localctx, 59)
                self.state = 1581
                self.match(fugue_sqlParser.CLEAR)
                self.state = 1582
                self.match(fugue_sqlParser.CACHE)
                pass

            elif la_ == 60:
                localctx = fugue_sqlParser.LoadDataContext(self, localctx)
                self.enterOuterAlt(localctx, 60)
                self.state = 1583
                self.match(fugue_sqlParser.LOAD)
                self.state = 1584
                self.match(fugue_sqlParser.DATA)
                self.state = 1586
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 1585
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 1588
                self.match(fugue_sqlParser.INPATH)
                self.state = 1589
                localctx.path = self.match(fugue_sqlParser.STRING)
                self.state = 1591
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OVERWRITE:
                    self.state = 1590
                    self.match(fugue_sqlParser.OVERWRITE)


                self.state = 1593
                self.match(fugue_sqlParser.INTO)
                self.state = 1594
                self.match(fugue_sqlParser.TABLE)
                self.state = 1595
                self.multipartIdentifier()
                self.state = 1597
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1596
                    self.partitionSpec()


                pass

            elif la_ == 61:
                localctx = fugue_sqlParser.TruncateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 61)
                self.state = 1599
                self.match(fugue_sqlParser.TRUNCATE)
                self.state = 1600
                self.match(fugue_sqlParser.TABLE)
                self.state = 1601
                self.multipartIdentifier()
                self.state = 1603
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1602
                    self.partitionSpec()


                pass

            elif la_ == 62:
                localctx = fugue_sqlParser.RepairTableContext(self, localctx)
                self.enterOuterAlt(localctx, 62)
                self.state = 1605
                self.match(fugue_sqlParser.MSCK)
                self.state = 1606
                self.match(fugue_sqlParser.REPAIR)
                self.state = 1607
                self.match(fugue_sqlParser.TABLE)
                self.state = 1608
                self.multipartIdentifier()
                pass

            elif la_ == 63:
                localctx = fugue_sqlParser.ManageResourceContext(self, localctx)
                self.enterOuterAlt(localctx, 63)
                self.state = 1609
                localctx.op = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ADD or _la==fugue_sqlParser.LIST):
                    localctx.op = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 1610
                self.identifier()
                self.state = 1618
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,195,self._ctx)
                if la_ == 1:
                    self.state = 1611
                    self.match(fugue_sqlParser.STRING)
                    pass

                elif la_ == 2:
                    self.state = 1615
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,194,self._ctx)
                    while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                        if _alt==1+1:
                            self.state = 1612
                            self.matchWildcard() 
                        self.state = 1617
                        self._errHandler.sync(self)
                        _alt = self._interp.adaptivePredict(self._input,194,self._ctx)

                    pass


                pass

            elif la_ == 64:
                localctx = fugue_sqlParser.FailNativeCommandContext(self, localctx)
                self.enterOuterAlt(localctx, 64)
                self.state = 1620
                self.match(fugue_sqlParser.SET)
                self.state = 1621
                self.match(fugue_sqlParser.ROLE)
                self.state = 1625
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,196,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1622
                        self.matchWildcard() 
                    self.state = 1627
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,196,self._ctx)

                pass

            elif la_ == 65:
                localctx = fugue_sqlParser.SetConfigurationContext(self, localctx)
                self.enterOuterAlt(localctx, 65)
                self.state = 1628
                self.match(fugue_sqlParser.SET)
                self.state = 1632
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,197,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1629
                        self.matchWildcard() 
                    self.state = 1634
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,197,self._ctx)

                pass

            elif la_ == 66:
                localctx = fugue_sqlParser.ResetConfigurationContext(self, localctx)
                self.enterOuterAlt(localctx, 66)
                self.state = 1635
                self.match(fugue_sqlParser.RESET)
                pass

            elif la_ == 67:
                localctx = fugue_sqlParser.FailNativeCommandContext(self, localctx)
                self.enterOuterAlt(localctx, 67)
                self.state = 1636
                self.unsupportedHiveNativeCommands()
                self.state = 1640
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,198,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1637
                        self.matchWildcard() 
                    self.state = 1642
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,198,self._ctx)

                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class UnsupportedHiveNativeCommandsContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.kw1 = None # Token
            self.kw2 = None # Token
            self.kw3 = None # Token
            self.kw4 = None # Token
            self.kw5 = None # Token
            self.kw6 = None # Token

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def ROLE(self):
            return self.getToken(fugue_sqlParser.ROLE, 0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def GRANT(self):
            return self.getToken(fugue_sqlParser.GRANT, 0)

        def REVOKE(self):
            return self.getToken(fugue_sqlParser.REVOKE, 0)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)

        def PRINCIPALS(self):
            return self.getToken(fugue_sqlParser.PRINCIPALS, 0)

        def ROLES(self):
            return self.getToken(fugue_sqlParser.ROLES, 0)

        def CURRENT(self):
            return self.getToken(fugue_sqlParser.CURRENT, 0)

        def EXPORT(self):
            return self.getToken(fugue_sqlParser.EXPORT, 0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)

        def IMPORT(self):
            return self.getToken(fugue_sqlParser.IMPORT, 0)

        def COMPACTIONS(self):
            return self.getToken(fugue_sqlParser.COMPACTIONS, 0)

        def TRANSACTIONS(self):
            return self.getToken(fugue_sqlParser.TRANSACTIONS, 0)

        def INDEXES(self):
            return self.getToken(fugue_sqlParser.INDEXES, 0)

        def LOCKS(self):
            return self.getToken(fugue_sqlParser.LOCKS, 0)

        def INDEX(self):
            return self.getToken(fugue_sqlParser.INDEX, 0)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)

        def LOCK(self):
            return self.getToken(fugue_sqlParser.LOCK, 0)

        def DATABASE(self):
            return self.getToken(fugue_sqlParser.DATABASE, 0)

        def UNLOCK(self):
            return self.getToken(fugue_sqlParser.UNLOCK, 0)

        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)

        def MACRO(self):
            return self.getToken(fugue_sqlParser.MACRO, 0)

        def tableIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableIdentifierContext,0)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def CLUSTERED(self):
            return self.getToken(fugue_sqlParser.CLUSTERED, 0)

        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def SORTED(self):
            return self.getToken(fugue_sqlParser.SORTED, 0)

        def SKEWED(self):
            return self.getToken(fugue_sqlParser.SKEWED, 0)

        def STORED(self):
            return self.getToken(fugue_sqlParser.STORED, 0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def DIRECTORIES(self):
            return self.getToken(fugue_sqlParser.DIRECTORIES, 0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def LOCATION(self):
            return self.getToken(fugue_sqlParser.LOCATION, 0)

        def EXCHANGE(self):
            return self.getToken(fugue_sqlParser.EXCHANGE, 0)

        def PARTITION(self):
            return self.getToken(fugue_sqlParser.PARTITION, 0)

        def ARCHIVE(self):
            return self.getToken(fugue_sqlParser.ARCHIVE, 0)

        def UNARCHIVE(self):
            return self.getToken(fugue_sqlParser.UNARCHIVE, 0)

        def TOUCH(self):
            return self.getToken(fugue_sqlParser.TOUCH, 0)

        def COMPACT(self):
            return self.getToken(fugue_sqlParser.COMPACT, 0)

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def CONCATENATE(self):
            return self.getToken(fugue_sqlParser.CONCATENATE, 0)

        def FILEFORMAT(self):
            return self.getToken(fugue_sqlParser.FILEFORMAT, 0)

        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)

        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)

        def START(self):
            return self.getToken(fugue_sqlParser.START, 0)

        def TRANSACTION(self):
            return self.getToken(fugue_sqlParser.TRANSACTION, 0)

        def COMMIT(self):
            return self.getToken(fugue_sqlParser.COMMIT, 0)

        def ROLLBACK(self):
            return self.getToken(fugue_sqlParser.ROLLBACK, 0)

        def DFS(self):
            return self.getToken(fugue_sqlParser.DFS, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_unsupportedHiveNativeCommands

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUnsupportedHiveNativeCommands" ):
                return visitor.visitUnsupportedHiveNativeCommands(self)
            else:
                return visitor.visitChildren(self)




    def unsupportedHiveNativeCommands(self):

        localctx = fugue_sqlParser.UnsupportedHiveNativeCommandsContext(self, self._ctx, self.state)
        self.enterRule(localctx, 138, self.RULE_unsupportedHiveNativeCommands)
        self._la = 0 # Token type
        try:
            self.state = 1813
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,207,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1645
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1646
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 1647
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1648
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 1649
                localctx.kw1 = self.match(fugue_sqlParser.GRANT)
                self.state = 1651
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,200,self._ctx)
                if la_ == 1:
                    self.state = 1650
                    localctx.kw2 = self.match(fugue_sqlParser.ROLE)


                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 1653
                localctx.kw1 = self.match(fugue_sqlParser.REVOKE)
                self.state = 1655
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,201,self._ctx)
                if la_ == 1:
                    self.state = 1654
                    localctx.kw2 = self.match(fugue_sqlParser.ROLE)


                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 1657
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1658
                localctx.kw2 = self.match(fugue_sqlParser.GRANT)
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 1659
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1660
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                self.state = 1662
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,202,self._ctx)
                if la_ == 1:
                    self.state = 1661
                    localctx.kw3 = self.match(fugue_sqlParser.GRANT)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 1664
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1665
                localctx.kw2 = self.match(fugue_sqlParser.PRINCIPALS)
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 1666
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1667
                localctx.kw2 = self.match(fugue_sqlParser.ROLES)
                pass

            elif la_ == 9:
                self.enterOuterAlt(localctx, 9)
                self.state = 1668
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1669
                localctx.kw2 = self.match(fugue_sqlParser.CURRENT)
                self.state = 1670
                localctx.kw3 = self.match(fugue_sqlParser.ROLES)
                pass

            elif la_ == 10:
                self.enterOuterAlt(localctx, 10)
                self.state = 1671
                localctx.kw1 = self.match(fugue_sqlParser.EXPORT)
                self.state = 1672
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 11:
                self.enterOuterAlt(localctx, 11)
                self.state = 1673
                localctx.kw1 = self.match(fugue_sqlParser.IMPORT)
                self.state = 1674
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 12:
                self.enterOuterAlt(localctx, 12)
                self.state = 1675
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1676
                localctx.kw2 = self.match(fugue_sqlParser.COMPACTIONS)
                pass

            elif la_ == 13:
                self.enterOuterAlt(localctx, 13)
                self.state = 1677
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1678
                localctx.kw2 = self.match(fugue_sqlParser.CREATE)
                self.state = 1679
                localctx.kw3 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 14:
                self.enterOuterAlt(localctx, 14)
                self.state = 1680
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1681
                localctx.kw2 = self.match(fugue_sqlParser.TRANSACTIONS)
                pass

            elif la_ == 15:
                self.enterOuterAlt(localctx, 15)
                self.state = 1682
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1683
                localctx.kw2 = self.match(fugue_sqlParser.INDEXES)
                pass

            elif la_ == 16:
                self.enterOuterAlt(localctx, 16)
                self.state = 1684
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1685
                localctx.kw2 = self.match(fugue_sqlParser.LOCKS)
                pass

            elif la_ == 17:
                self.enterOuterAlt(localctx, 17)
                self.state = 1686
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1687
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 18:
                self.enterOuterAlt(localctx, 18)
                self.state = 1688
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1689
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 19:
                self.enterOuterAlt(localctx, 19)
                self.state = 1690
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1691
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 20:
                self.enterOuterAlt(localctx, 20)
                self.state = 1692
                localctx.kw1 = self.match(fugue_sqlParser.LOCK)
                self.state = 1693
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 21:
                self.enterOuterAlt(localctx, 21)
                self.state = 1694
                localctx.kw1 = self.match(fugue_sqlParser.LOCK)
                self.state = 1695
                localctx.kw2 = self.match(fugue_sqlParser.DATABASE)
                pass

            elif la_ == 22:
                self.enterOuterAlt(localctx, 22)
                self.state = 1696
                localctx.kw1 = self.match(fugue_sqlParser.UNLOCK)
                self.state = 1697
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 23:
                self.enterOuterAlt(localctx, 23)
                self.state = 1698
                localctx.kw1 = self.match(fugue_sqlParser.UNLOCK)
                self.state = 1699
                localctx.kw2 = self.match(fugue_sqlParser.DATABASE)
                pass

            elif la_ == 24:
                self.enterOuterAlt(localctx, 24)
                self.state = 1700
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1701
                localctx.kw2 = self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1702
                localctx.kw3 = self.match(fugue_sqlParser.MACRO)
                pass

            elif la_ == 25:
                self.enterOuterAlt(localctx, 25)
                self.state = 1703
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1704
                localctx.kw2 = self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1705
                localctx.kw3 = self.match(fugue_sqlParser.MACRO)
                pass

            elif la_ == 26:
                self.enterOuterAlt(localctx, 26)
                self.state = 1706
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1707
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1708
                self.tableIdentifier()
                self.state = 1709
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1710
                localctx.kw4 = self.match(fugue_sqlParser.CLUSTERED)
                pass

            elif la_ == 27:
                self.enterOuterAlt(localctx, 27)
                self.state = 1712
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1713
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1714
                self.tableIdentifier()
                self.state = 1715
                localctx.kw3 = self.match(fugue_sqlParser.CLUSTERED)
                self.state = 1716
                localctx.kw4 = self.match(fugue_sqlParser.BY)
                pass

            elif la_ == 28:
                self.enterOuterAlt(localctx, 28)
                self.state = 1718
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1719
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1720
                self.tableIdentifier()
                self.state = 1721
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1722
                localctx.kw4 = self.match(fugue_sqlParser.SORTED)
                pass

            elif la_ == 29:
                self.enterOuterAlt(localctx, 29)
                self.state = 1724
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1725
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1726
                self.tableIdentifier()
                self.state = 1727
                localctx.kw3 = self.match(fugue_sqlParser.SKEWED)
                self.state = 1728
                localctx.kw4 = self.match(fugue_sqlParser.BY)
                pass

            elif la_ == 30:
                self.enterOuterAlt(localctx, 30)
                self.state = 1730
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1731
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1732
                self.tableIdentifier()
                self.state = 1733
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1734
                localctx.kw4 = self.match(fugue_sqlParser.SKEWED)
                pass

            elif la_ == 31:
                self.enterOuterAlt(localctx, 31)
                self.state = 1736
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1737
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1738
                self.tableIdentifier()
                self.state = 1739
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1740
                localctx.kw4 = self.match(fugue_sqlParser.STORED)
                self.state = 1741
                localctx.kw5 = self.match(fugue_sqlParser.AS)
                self.state = 1742
                localctx.kw6 = self.match(fugue_sqlParser.DIRECTORIES)
                pass

            elif la_ == 32:
                self.enterOuterAlt(localctx, 32)
                self.state = 1744
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1745
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1746
                self.tableIdentifier()
                self.state = 1747
                localctx.kw3 = self.match(fugue_sqlParser.SET)
                self.state = 1748
                localctx.kw4 = self.match(fugue_sqlParser.SKEWED)
                self.state = 1749
                localctx.kw5 = self.match(fugue_sqlParser.LOCATION)
                pass

            elif la_ == 33:
                self.enterOuterAlt(localctx, 33)
                self.state = 1751
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1752
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1753
                self.tableIdentifier()
                self.state = 1754
                localctx.kw3 = self.match(fugue_sqlParser.EXCHANGE)
                self.state = 1755
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 34:
                self.enterOuterAlt(localctx, 34)
                self.state = 1757
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1758
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1759
                self.tableIdentifier()
                self.state = 1760
                localctx.kw3 = self.match(fugue_sqlParser.ARCHIVE)
                self.state = 1761
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 35:
                self.enterOuterAlt(localctx, 35)
                self.state = 1763
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1764
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1765
                self.tableIdentifier()
                self.state = 1766
                localctx.kw3 = self.match(fugue_sqlParser.UNARCHIVE)
                self.state = 1767
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 36:
                self.enterOuterAlt(localctx, 36)
                self.state = 1769
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1770
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1771
                self.tableIdentifier()
                self.state = 1772
                localctx.kw3 = self.match(fugue_sqlParser.TOUCH)
                pass

            elif la_ == 37:
                self.enterOuterAlt(localctx, 37)
                self.state = 1774
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1775
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1776
                self.tableIdentifier()
                self.state = 1778
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1777
                    self.partitionSpec()


                self.state = 1780
                localctx.kw3 = self.match(fugue_sqlParser.COMPACT)
                pass

            elif la_ == 38:
                self.enterOuterAlt(localctx, 38)
                self.state = 1782
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1783
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1784
                self.tableIdentifier()
                self.state = 1786
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1785
                    self.partitionSpec()


                self.state = 1788
                localctx.kw3 = self.match(fugue_sqlParser.CONCATENATE)
                pass

            elif la_ == 39:
                self.enterOuterAlt(localctx, 39)
                self.state = 1790
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1791
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1792
                self.tableIdentifier()
                self.state = 1794
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1793
                    self.partitionSpec()


                self.state = 1796
                localctx.kw3 = self.match(fugue_sqlParser.SET)
                self.state = 1797
                localctx.kw4 = self.match(fugue_sqlParser.FILEFORMAT)
                pass

            elif la_ == 40:
                self.enterOuterAlt(localctx, 40)
                self.state = 1799
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1800
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1801
                self.tableIdentifier()
                self.state = 1803
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1802
                    self.partitionSpec()


                self.state = 1805
                localctx.kw3 = self.match(fugue_sqlParser.REPLACE)
                self.state = 1806
                localctx.kw4 = self.match(fugue_sqlParser.COLUMNS)
                pass

            elif la_ == 41:
                self.enterOuterAlt(localctx, 41)
                self.state = 1808
                localctx.kw1 = self.match(fugue_sqlParser.START)
                self.state = 1809
                localctx.kw2 = self.match(fugue_sqlParser.TRANSACTION)
                pass

            elif la_ == 42:
                self.enterOuterAlt(localctx, 42)
                self.state = 1810
                localctx.kw1 = self.match(fugue_sqlParser.COMMIT)
                pass

            elif la_ == 43:
                self.enterOuterAlt(localctx, 43)
                self.state = 1811
                localctx.kw1 = self.match(fugue_sqlParser.ROLLBACK)
                pass

            elif la_ == 44:
                self.enterOuterAlt(localctx, 44)
                self.state = 1812
                localctx.kw1 = self.match(fugue_sqlParser.DFS)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class CreateTableHeaderContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)

        def EXTERNAL(self):
            return self.getToken(fugue_sqlParser.EXTERNAL, 0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)

        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_createTableHeader

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateTableHeader" ):
                return visitor.visitCreateTableHeader(self)
            else:
                return visitor.visitChildren(self)




    def createTableHeader(self):

        localctx = fugue_sqlParser.CreateTableHeaderContext(self, self._ctx, self.state)
        self.enterRule(localctx, 140, self.RULE_createTableHeader)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1815
            self.match(fugue_sqlParser.CREATE)
            self.state = 1817
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.TEMPORARY:
                self.state = 1816
                self.match(fugue_sqlParser.TEMPORARY)


            self.state = 1820
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.EXTERNAL:
                self.state = 1819
                self.match(fugue_sqlParser.EXTERNAL)


            self.state = 1822
            self.match(fugue_sqlParser.TABLE)
            self.state = 1826
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,210,self._ctx)
            if la_ == 1:
                self.state = 1823
                self.match(fugue_sqlParser.IF)
                self.state = 1824
                self.match(fugue_sqlParser.NOT)
                self.state = 1825
                self.match(fugue_sqlParser.EXISTS)


            self.state = 1828
            self.multipartIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ReplaceTableHeaderContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_replaceTableHeader

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitReplaceTableHeader" ):
                return visitor.visitReplaceTableHeader(self)
            else:
                return visitor.visitChildren(self)




    def replaceTableHeader(self):

        localctx = fugue_sqlParser.ReplaceTableHeaderContext(self, self._ctx, self.state)
        self.enterRule(localctx, 142, self.RULE_replaceTableHeader)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1832
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.CREATE:
                self.state = 1830
                self.match(fugue_sqlParser.CREATE)
                self.state = 1831
                self.match(fugue_sqlParser.OR)


            self.state = 1834
            self.match(fugue_sqlParser.REPLACE)
            self.state = 1835
            self.match(fugue_sqlParser.TABLE)
            self.state = 1836
            self.multipartIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class BucketSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def CLUSTERED(self):
            return self.getToken(fugue_sqlParser.CLUSTERED, 0)

        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)

        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def INTO(self):
            return self.getToken(fugue_sqlParser.INTO, 0)

        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)

        def BUCKETS(self):
            return self.getToken(fugue_sqlParser.BUCKETS, 0)

        def SORTED(self):
            return self.getToken(fugue_sqlParser.SORTED, 0)

        def orderedIdentifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.OrderedIdentifierListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_bucketSpec

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitBucketSpec" ):
                return visitor.visitBucketSpec(self)
            else:
                return visitor.visitChildren(self)




    def bucketSpec(self):

        localctx = fugue_sqlParser.BucketSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 144, self.RULE_bucketSpec)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1838
            self.match(fugue_sqlParser.CLUSTERED)
            self.state = 1839
            self.match(fugue_sqlParser.BY)
            self.state = 1840
            self.identifierList()
            self.state = 1844
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SORTED:
                self.state = 1841
                self.match(fugue_sqlParser.SORTED)
                self.state = 1842
                self.match(fugue_sqlParser.BY)
                self.state = 1843
                self.orderedIdentifierList()


            self.state = 1846
            self.match(fugue_sqlParser.INTO)
            self.state = 1847
            self.match(fugue_sqlParser.INTEGER_VALUE)
            self.state = 1848
            self.match(fugue_sqlParser.BUCKETS)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SkewSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def SKEWED(self):
            return self.getToken(fugue_sqlParser.SKEWED, 0)

        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)

        def constantList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ConstantListContext,0)


        def nestedConstantList(self):
            return self.getTypedRuleContext(fugue_sqlParser.NestedConstantListContext,0)


        def STORED(self):
            return self.getToken(fugue_sqlParser.STORED, 0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def DIRECTORIES(self):
            return self.getToken(fugue_sqlParser.DIRECTORIES, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_skewSpec

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSkewSpec" ):
                return visitor.visitSkewSpec(self)
            else:
                return visitor.visitChildren(self)




    def skewSpec(self):

        localctx = fugue_sqlParser.SkewSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 146, self.RULE_skewSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1850
            self.match(fugue_sqlParser.SKEWED)
            self.state = 1851
            self.match(fugue_sqlParser.BY)
            self.state = 1852
            self.identifierList()
            self.state = 1853
            self.match(fugue_sqlParser.ON)
            self.state = 1856
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,213,self._ctx)
            if la_ == 1:
                self.state = 1854
                self.constantList()
                pass

            elif la_ == 2:
                self.state = 1855
                self.nestedConstantList()
                pass


            self.state = 1861
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,214,self._ctx)
            if la_ == 1:
                self.state = 1858
                self.match(fugue_sqlParser.STORED)
                self.state = 1859
                self.match(fugue_sqlParser.AS)
                self.state = 1860
                self.match(fugue_sqlParser.DIRECTORIES)


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class LocationSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def LOCATION(self):
            return self.getToken(fugue_sqlParser.LOCATION, 0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_locationSpec

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLocationSpec" ):
                return visitor.visitLocationSpec(self)
            else:
                return visitor.visitChildren(self)




    def locationSpec(self):

        localctx = fugue_sqlParser.LocationSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 148, self.RULE_locationSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1863
            self.match(fugue_sqlParser.LOCATION)
            self.state = 1864
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class CommentSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def COMMENT(self):
            return self.getToken(fugue_sqlParser.COMMENT, 0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_commentSpec

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCommentSpec" ):
                return visitor.visitCommentSpec(self)
            else:
                return visitor.visitChildren(self)




    def commentSpec(self):

        localctx = fugue_sqlParser.CommentSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 150, self.RULE_commentSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1866
            self.match(fugue_sqlParser.COMMENT)
            self.state = 1867
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QueryContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def queryTerm(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryTermContext,0)


        def queryOrganization(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryOrganizationContext,0)


        def ctes(self):
            return self.getTypedRuleContext(fugue_sqlParser.CtesContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_query

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQuery" ):
                return visitor.visitQuery(self)
            else:
                return visitor.visitChildren(self)




    def query(self):

        localctx = fugue_sqlParser.QueryContext(self, self._ctx, self.state)
        self.enterRule(localctx, 152, self.RULE_query)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1870
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.WITH:
                self.state = 1869
                self.ctes()


            self.state = 1872
            self.queryTerm(0)
            self.state = 1873
            self.queryOrganization()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class InsertIntoContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_insertInto

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class InsertOverwriteHiveDirContext(InsertIntoContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.InsertIntoContext
            super().__init__(parser)
            self.path = None # Token
            self.copyFrom(ctx)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)
        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)
        def DIRECTORY(self):
            return self.getToken(fugue_sqlParser.DIRECTORY, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def LOCAL(self):
            return self.getToken(fugue_sqlParser.LOCAL, 0)
        def rowFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.RowFormatContext,0)

        def createFileFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.CreateFileFormatContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInsertOverwriteHiveDir" ):
                return visitor.visitInsertOverwriteHiveDir(self)
            else:
                return visitor.visitChildren(self)


    class InsertOverwriteDirContext(InsertIntoContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.InsertIntoContext
            super().__init__(parser)
            self.path = None # Token
            self.options = None # TablePropertyListContext
            self.copyFrom(ctx)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)
        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)
        def DIRECTORY(self):
            return self.getToken(fugue_sqlParser.DIRECTORY, 0)
        def tableProvider(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableProviderContext,0)

        def LOCAL(self):
            return self.getToken(fugue_sqlParser.LOCAL, 0)
        def OPTIONS(self):
            return self.getToken(fugue_sqlParser.OPTIONS, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInsertOverwriteDir" ):
                return visitor.visitInsertOverwriteDir(self)
            else:
                return visitor.visitChildren(self)


    class InsertOverwriteTableContext(InsertIntoContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.InsertIntoContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)
        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInsertOverwriteTable" ):
                return visitor.visitInsertOverwriteTable(self)
            else:
                return visitor.visitChildren(self)


    class InsertIntoTableContext(InsertIntoContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.InsertIntoContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)
        def INTO(self):
            return self.getToken(fugue_sqlParser.INTO, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)
        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInsertIntoTable" ):
                return visitor.visitInsertIntoTable(self)
            else:
                return visitor.visitChildren(self)



    def insertInto(self):

        localctx = fugue_sqlParser.InsertIntoContext(self, self._ctx, self.state)
        self.enterRule(localctx, 154, self.RULE_insertInto)
        self._la = 0 # Token type
        try:
            self.state = 1930
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,228,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.InsertOverwriteTableContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 1875
                self.match(fugue_sqlParser.INSERT)
                self.state = 1876
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 1878
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,216,self._ctx)
                if la_ == 1:
                    self.state = 1877
                    self.match(fugue_sqlParser.TABLE)


                self.state = 1880
                self.multipartIdentifier()
                self.state = 1887
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1881
                    self.partitionSpec()
                    self.state = 1885
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.IF:
                        self.state = 1882
                        self.match(fugue_sqlParser.IF)
                        self.state = 1883
                        self.match(fugue_sqlParser.NOT)
                        self.state = 1884
                        self.match(fugue_sqlParser.EXISTS)




                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.InsertIntoTableContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 1889
                self.match(fugue_sqlParser.INSERT)
                self.state = 1890
                self.match(fugue_sqlParser.INTO)
                self.state = 1892
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,219,self._ctx)
                if la_ == 1:
                    self.state = 1891
                    self.match(fugue_sqlParser.TABLE)


                self.state = 1894
                self.multipartIdentifier()
                self.state = 1896
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1895
                    self.partitionSpec()


                self.state = 1901
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1898
                    self.match(fugue_sqlParser.IF)
                    self.state = 1899
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1900
                    self.match(fugue_sqlParser.EXISTS)


                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.InsertOverwriteHiveDirContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 1903
                self.match(fugue_sqlParser.INSERT)
                self.state = 1904
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 1906
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 1905
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 1908
                self.match(fugue_sqlParser.DIRECTORY)
                self.state = 1909
                localctx.path = self.match(fugue_sqlParser.STRING)
                self.state = 1911
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ROW:
                    self.state = 1910
                    self.rowFormat()


                self.state = 1914
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.STORED:
                    self.state = 1913
                    self.createFileFormat()


                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.InsertOverwriteDirContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 1916
                self.match(fugue_sqlParser.INSERT)
                self.state = 1917
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 1919
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 1918
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 1921
                self.match(fugue_sqlParser.DIRECTORY)
                self.state = 1923
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.STRING:
                    self.state = 1922
                    localctx.path = self.match(fugue_sqlParser.STRING)


                self.state = 1925
                self.tableProvider()
                self.state = 1928
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 1926
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1927
                    localctx.options = self.tablePropertyList()


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PartitionSpecLocationContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def partitionSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.PartitionSpecContext,0)


        def locationSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_partitionSpecLocation

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPartitionSpecLocation" ):
                return visitor.visitPartitionSpecLocation(self)
            else:
                return visitor.visitChildren(self)




    def partitionSpecLocation(self):

        localctx = fugue_sqlParser.PartitionSpecLocationContext(self, self._ctx, self.state)
        self.enterRule(localctx, 156, self.RULE_partitionSpecLocation)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1932
            self.partitionSpec()
            self.state = 1934
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.LOCATION:
                self.state = 1933
                self.locationSpec()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PartitionSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def PARTITION(self):
            return self.getToken(fugue_sqlParser.PARTITION, 0)

        def partitionVal(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PartitionValContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PartitionValContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_partitionSpec

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPartitionSpec" ):
                return visitor.visitPartitionSpec(self)
            else:
                return visitor.visitChildren(self)




    def partitionSpec(self):

        localctx = fugue_sqlParser.PartitionSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 158, self.RULE_partitionSpec)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1936
            self.match(fugue_sqlParser.PARTITION)
            self.state = 1937
            self.match(fugue_sqlParser.T__2)
            self.state = 1938
            self.partitionVal()
            self.state = 1943
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 1939
                self.match(fugue_sqlParser.T__0)
                self.state = 1940
                self.partitionVal()
                self.state = 1945
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 1946
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PartitionValContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def constant(self):
            return self.getTypedRuleContext(fugue_sqlParser.ConstantContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_partitionVal

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPartitionVal" ):
                return visitor.visitPartitionVal(self)
            else:
                return visitor.visitChildren(self)




    def partitionVal(self):

        localctx = fugue_sqlParser.PartitionValContext(self, self._ctx, self.state)
        self.enterRule(localctx, 160, self.RULE_partitionVal)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1948
            self.identifier()
            self.state = 1951
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.EQUAL:
                self.state = 1949
                self.match(fugue_sqlParser.EQUAL)
                self.state = 1950
                self.constant()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NamespaceContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def NAMESPACE(self):
            return self.getToken(fugue_sqlParser.NAMESPACE, 0)

        def DATABASE(self):
            return self.getToken(fugue_sqlParser.DATABASE, 0)

        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_namespace

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNamespace" ):
                return visitor.visitNamespace(self)
            else:
                return visitor.visitChildren(self)




    def namespace(self):

        localctx = fugue_sqlParser.NamespaceContext(self, self._ctx, self.state)
        self.enterRule(localctx, 162, self.RULE_namespace)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1953
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.DATABASE or _la==fugue_sqlParser.NAMESPACE or _la==fugue_sqlParser.SCHEMA):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class DescribeFuncNameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def comparisonOperator(self):
            return self.getTypedRuleContext(fugue_sqlParser.ComparisonOperatorContext,0)


        def arithmeticOperator(self):
            return self.getTypedRuleContext(fugue_sqlParser.ArithmeticOperatorContext,0)


        def predicateOperator(self):
            return self.getTypedRuleContext(fugue_sqlParser.PredicateOperatorContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_describeFuncName

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeFuncName" ):
                return visitor.visitDescribeFuncName(self)
            else:
                return visitor.visitChildren(self)




    def describeFuncName(self):

        localctx = fugue_sqlParser.DescribeFuncNameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 164, self.RULE_describeFuncName)
        try:
            self.state = 1960
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,232,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1955
                self.qualifiedName()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 1956
                self.match(fugue_sqlParser.STRING)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 1957
                self.comparisonOperator()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 1958
                self.arithmeticOperator()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 1959
                self.predicateOperator()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class DescribeColNameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._identifier = None # IdentifierContext
            self.nameParts = list() # of IdentifierContexts

        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_describeColName

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDescribeColName" ):
                return visitor.visitDescribeColName(self)
            else:
                return visitor.visitChildren(self)




    def describeColName(self):

        localctx = fugue_sqlParser.DescribeColNameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 166, self.RULE_describeColName)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1962
            localctx._identifier = self.identifier()
            localctx.nameParts.append(localctx._identifier)
            self.state = 1967
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__4:
                self.state = 1963
                self.match(fugue_sqlParser.T__4)
                self.state = 1964
                localctx._identifier = self.identifier()
                localctx.nameParts.append(localctx._identifier)
                self.state = 1969
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class CtesContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)

        def namedQuery(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NamedQueryContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NamedQueryContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_ctes

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCtes" ):
                return visitor.visitCtes(self)
            else:
                return visitor.visitChildren(self)




    def ctes(self):

        localctx = fugue_sqlParser.CtesContext(self, self._ctx, self.state)
        self.enterRule(localctx, 168, self.RULE_ctes)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1970
            self.match(fugue_sqlParser.WITH)
            self.state = 1971
            self.namedQuery()
            self.state = 1976
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 1972
                self.match(fugue_sqlParser.T__0)
                self.state = 1973
                self.namedQuery()
                self.state = 1978
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NamedQueryContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.name = None # ErrorCapturingIdentifierContext
            self.columnAliases = None # IdentifierListContext

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_namedQuery

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNamedQuery" ):
                return visitor.visitNamedQuery(self)
            else:
                return visitor.visitChildren(self)




    def namedQuery(self):

        localctx = fugue_sqlParser.NamedQueryContext(self, self._ctx, self.state)
        self.enterRule(localctx, 170, self.RULE_namedQuery)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1979
            localctx.name = self.errorCapturingIdentifier()
            self.state = 1981
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,235,self._ctx)
            if la_ == 1:
                self.state = 1980
                localctx.columnAliases = self.identifierList()


            self.state = 1984
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AS:
                self.state = 1983
                self.match(fugue_sqlParser.AS)


            self.state = 1986
            self.match(fugue_sqlParser.T__2)
            self.state = 1987
            self.query()
            self.state = 1988
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TableProviderContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tableProvider

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableProvider" ):
                return visitor.visitTableProvider(self)
            else:
                return visitor.visitChildren(self)




    def tableProvider(self):

        localctx = fugue_sqlParser.TableProviderContext(self, self._ctx, self.state)
        self.enterRule(localctx, 172, self.RULE_tableProvider)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1990
            self.match(fugue_sqlParser.USING)
            self.state = 1991
            self.multipartIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class CreateTableClausesContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.options = None # TablePropertyListContext
            self.partitioning = None # TransformListContext
            self.tableProps = None # TablePropertyListContext

        def bucketSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.BucketSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.BucketSpecContext,i)


        def locationSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LocationSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LocationSpecContext,i)


        def commentSpec(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.CommentSpecContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,i)


        def OPTIONS(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.OPTIONS)
            else:
                return self.getToken(fugue_sqlParser.OPTIONS, i)

        def PARTITIONED(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.PARTITIONED)
            else:
                return self.getToken(fugue_sqlParser.PARTITIONED, i)

        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)

        def TBLPROPERTIES(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.TBLPROPERTIES)
            else:
                return self.getToken(fugue_sqlParser.TBLPROPERTIES, i)

        def tablePropertyList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,i)


        def transformList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TransformListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TransformListContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_createTableClauses

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateTableClauses" ):
                return visitor.visitCreateTableClauses(self)
            else:
                return visitor.visitChildren(self)




    def createTableClauses(self):

        localctx = fugue_sqlParser.CreateTableClausesContext(self, self._ctx, self.state)
        self.enterRule(localctx, 174, self.RULE_createTableClauses)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2005
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.CLUSTERED or _la==fugue_sqlParser.COMMENT or ((((_la - 169)) & ~0x3f) == 0 and ((1 << (_la - 169)) & ((1 << (fugue_sqlParser.LOCATION - 169)) | (1 << (fugue_sqlParser.OPTIONS - 169)) | (1 << (fugue_sqlParser.PARTITIONED - 169)))) != 0) or _la==fugue_sqlParser.TBLPROPERTIES:
                self.state = 2003
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.OPTIONS]:
                    self.state = 1993
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1994
                    localctx.options = self.tablePropertyList()
                    pass
                elif token in [fugue_sqlParser.PARTITIONED]:
                    self.state = 1995
                    self.match(fugue_sqlParser.PARTITIONED)
                    self.state = 1996
                    self.match(fugue_sqlParser.BY)
                    self.state = 1997
                    localctx.partitioning = self.transformList()
                    pass
                elif token in [fugue_sqlParser.CLUSTERED]:
                    self.state = 1998
                    self.bucketSpec()
                    pass
                elif token in [fugue_sqlParser.LOCATION]:
                    self.state = 1999
                    self.locationSpec()
                    pass
                elif token in [fugue_sqlParser.COMMENT]:
                    self.state = 2000
                    self.commentSpec()
                    pass
                elif token in [fugue_sqlParser.TBLPROPERTIES]:
                    self.state = 2001
                    self.match(fugue_sqlParser.TBLPROPERTIES)
                    self.state = 2002
                    localctx.tableProps = self.tablePropertyList()
                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 2007
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TablePropertyListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def tableProperty(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TablePropertyContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TablePropertyContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tablePropertyList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTablePropertyList" ):
                return visitor.visitTablePropertyList(self)
            else:
                return visitor.visitChildren(self)




    def tablePropertyList(self):

        localctx = fugue_sqlParser.TablePropertyListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 176, self.RULE_tablePropertyList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2008
            self.match(fugue_sqlParser.T__2)
            self.state = 2009
            self.tableProperty()
            self.state = 2014
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2010
                self.match(fugue_sqlParser.T__0)
                self.state = 2011
                self.tableProperty()
                self.state = 2016
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2017
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TablePropertyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.key = None # TablePropertyKeyContext
            self.value = None # TablePropertyValueContext

        def tablePropertyKey(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyKeyContext,0)


        def tablePropertyValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyValueContext,0)


        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tableProperty

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableProperty" ):
                return visitor.visitTableProperty(self)
            else:
                return visitor.visitChildren(self)




    def tableProperty(self):

        localctx = fugue_sqlParser.TablePropertyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 178, self.RULE_tableProperty)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2019
            localctx.key = self.tablePropertyKey()
            self.state = 2024
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.FALSE or ((((_la - 272)) & ~0x3f) == 0 and ((1 << (_la - 272)) & ((1 << (fugue_sqlParser.TRUE - 272)) | (1 << (fugue_sqlParser.EQUAL - 272)) | (1 << (fugue_sqlParser.STRING - 272)) | (1 << (fugue_sqlParser.INTEGER_VALUE - 272)) | (1 << (fugue_sqlParser.DECIMAL_VALUE - 272)))) != 0):
                self.state = 2021
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.EQUAL:
                    self.state = 2020
                    self.match(fugue_sqlParser.EQUAL)


                self.state = 2023
                localctx.value = self.tablePropertyValue()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TablePropertyKeyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tablePropertyKey

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTablePropertyKey" ):
                return visitor.visitTablePropertyKey(self)
            else:
                return visitor.visitChildren(self)




    def tablePropertyKey(self):

        localctx = fugue_sqlParser.TablePropertyKeyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 180, self.RULE_tablePropertyKey)
        self._la = 0 # Token type
        try:
            self.state = 2035
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,243,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2026
                self.identifier()
                self.state = 2031
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__4:
                    self.state = 2027
                    self.match(fugue_sqlParser.T__4)
                    self.state = 2028
                    self.identifier()
                    self.state = 2033
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2034
                self.match(fugue_sqlParser.STRING)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TablePropertyValueContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)

        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)

        def booleanValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanValueContext,0)


        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tablePropertyValue

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTablePropertyValue" ):
                return visitor.visitTablePropertyValue(self)
            else:
                return visitor.visitChildren(self)




    def tablePropertyValue(self):

        localctx = fugue_sqlParser.TablePropertyValueContext(self, self._ctx, self.state)
        self.enterRule(localctx, 182, self.RULE_tablePropertyValue)
        try:
            self.state = 2041
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.INTEGER_VALUE]:
                self.enterOuterAlt(localctx, 1)
                self.state = 2037
                self.match(fugue_sqlParser.INTEGER_VALUE)
                pass
            elif token in [fugue_sqlParser.DECIMAL_VALUE]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2038
                self.match(fugue_sqlParser.DECIMAL_VALUE)
                pass
            elif token in [fugue_sqlParser.FALSE, fugue_sqlParser.TRUE]:
                self.enterOuterAlt(localctx, 3)
                self.state = 2039
                self.booleanValue()
                pass
            elif token in [fugue_sqlParser.STRING]:
                self.enterOuterAlt(localctx, 4)
                self.state = 2040
                self.match(fugue_sqlParser.STRING)
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ConstantListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def constant(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ConstantContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ConstantContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_constantList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitConstantList" ):
                return visitor.visitConstantList(self)
            else:
                return visitor.visitChildren(self)




    def constantList(self):

        localctx = fugue_sqlParser.ConstantListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 184, self.RULE_constantList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2043
            self.match(fugue_sqlParser.T__2)
            self.state = 2044
            self.constant()
            self.state = 2049
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2045
                self.match(fugue_sqlParser.T__0)
                self.state = 2046
                self.constant()
                self.state = 2051
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2052
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NestedConstantListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def constantList(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ConstantListContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ConstantListContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_nestedConstantList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNestedConstantList" ):
                return visitor.visitNestedConstantList(self)
            else:
                return visitor.visitChildren(self)




    def nestedConstantList(self):

        localctx = fugue_sqlParser.NestedConstantListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 186, self.RULE_nestedConstantList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2054
            self.match(fugue_sqlParser.T__2)
            self.state = 2055
            self.constantList()
            self.state = 2060
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2056
                self.match(fugue_sqlParser.T__0)
                self.state = 2057
                self.constantList()
                self.state = 2062
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2063
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class CreateFileFormatContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def STORED(self):
            return self.getToken(fugue_sqlParser.STORED, 0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def fileFormat(self):
            return self.getTypedRuleContext(fugue_sqlParser.FileFormatContext,0)


        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def storageHandler(self):
            return self.getTypedRuleContext(fugue_sqlParser.StorageHandlerContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_createFileFormat

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCreateFileFormat" ):
                return visitor.visitCreateFileFormat(self)
            else:
                return visitor.visitChildren(self)




    def createFileFormat(self):

        localctx = fugue_sqlParser.CreateFileFormatContext(self, self._ctx, self.state)
        self.enterRule(localctx, 188, self.RULE_createFileFormat)
        try:
            self.state = 2071
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,247,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2065
                self.match(fugue_sqlParser.STORED)
                self.state = 2066
                self.match(fugue_sqlParser.AS)
                self.state = 2067
                self.fileFormat()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2068
                self.match(fugue_sqlParser.STORED)
                self.state = 2069
                self.match(fugue_sqlParser.BY)
                self.state = 2070
                self.storageHandler()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FileFormatContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fileFormat

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class TableFileFormatContext(FileFormatContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FileFormatContext
            super().__init__(parser)
            self.inFmt = None # Token
            self.outFmt = None # Token
            self.copyFrom(ctx)

        def INPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.INPUTFORMAT, 0)
        def OUTPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.OUTPUTFORMAT, 0)
        def STRING(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.STRING)
            else:
                return self.getToken(fugue_sqlParser.STRING, i)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableFileFormat" ):
                return visitor.visitTableFileFormat(self)
            else:
                return visitor.visitChildren(self)


    class GenericFileFormatContext(FileFormatContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.FileFormatContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitGenericFileFormat" ):
                return visitor.visitGenericFileFormat(self)
            else:
                return visitor.visitChildren(self)



    def fileFormat(self):

        localctx = fugue_sqlParser.FileFormatContext(self, self._ctx, self.state)
        self.enterRule(localctx, 190, self.RULE_fileFormat)
        try:
            self.state = 2078
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,248,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TableFileFormatContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2073
                self.match(fugue_sqlParser.INPUTFORMAT)
                self.state = 2074
                localctx.inFmt = self.match(fugue_sqlParser.STRING)
                self.state = 2075
                self.match(fugue_sqlParser.OUTPUTFORMAT)
                self.state = 2076
                localctx.outFmt = self.match(fugue_sqlParser.STRING)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.GenericFileFormatContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2077
                self.identifier()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class StorageHandlerContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)

        def SERDEPROPERTIES(self):
            return self.getToken(fugue_sqlParser.SERDEPROPERTIES, 0)

        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_storageHandler

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStorageHandler" ):
                return visitor.visitStorageHandler(self)
            else:
                return visitor.visitChildren(self)




    def storageHandler(self):

        localctx = fugue_sqlParser.StorageHandlerContext(self, self._ctx, self.state)
        self.enterRule(localctx, 192, self.RULE_storageHandler)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2080
            self.match(fugue_sqlParser.STRING)
            self.state = 2084
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,249,self._ctx)
            if la_ == 1:
                self.state = 2081
                self.match(fugue_sqlParser.WITH)
                self.state = 2082
                self.match(fugue_sqlParser.SERDEPROPERTIES)
                self.state = 2083
                self.tablePropertyList()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ResourceContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_resource

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitResource" ):
                return visitor.visitResource(self)
            else:
                return visitor.visitChildren(self)




    def resource(self):

        localctx = fugue_sqlParser.ResourceContext(self, self._ctx, self.state)
        self.enterRule(localctx, 194, self.RULE_resource)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2086
            self.identifier()
            self.state = 2087
            self.match(fugue_sqlParser.STRING)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class DmlStatementNoWithContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_dmlStatementNoWith

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class DeleteFromTableContext(DmlStatementNoWithContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DmlStatementNoWithContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DELETE(self):
            return self.getToken(fugue_sqlParser.DELETE, 0)
        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)

        def whereClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WhereClauseContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDeleteFromTable" ):
                return visitor.visitDeleteFromTable(self)
            else:
                return visitor.visitChildren(self)


    class SingleInsertQueryContext(DmlStatementNoWithContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DmlStatementNoWithContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def insertInto(self):
            return self.getTypedRuleContext(fugue_sqlParser.InsertIntoContext,0)

        def queryTerm(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryTermContext,0)

        def queryOrganization(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryOrganizationContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSingleInsertQuery" ):
                return visitor.visitSingleInsertQuery(self)
            else:
                return visitor.visitChildren(self)


    class MultiInsertQueryContext(DmlStatementNoWithContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DmlStatementNoWithContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fromClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.FromClauseContext,0)

        def multiInsertQueryBody(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultiInsertQueryBodyContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultiInsertQueryBodyContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMultiInsertQuery" ):
                return visitor.visitMultiInsertQuery(self)
            else:
                return visitor.visitChildren(self)


    class UpdateTableContext(DmlStatementNoWithContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DmlStatementNoWithContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def UPDATE(self):
            return self.getToken(fugue_sqlParser.UPDATE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)

        def setClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.SetClauseContext,0)

        def whereClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WhereClauseContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUpdateTable" ):
                return visitor.visitUpdateTable(self)
            else:
                return visitor.visitChildren(self)


    class MergeIntoTableContext(DmlStatementNoWithContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DmlStatementNoWithContext
            super().__init__(parser)
            self.target = None # MultipartIdentifierContext
            self.targetAlias = None # TableAliasContext
            self.source = None # MultipartIdentifierContext
            self.sourceQuery = None # QueryContext
            self.sourceAlias = None # TableAliasContext
            self.mergeCondition = None # BooleanExpressionContext
            self.copyFrom(ctx)

        def MERGE(self):
            return self.getToken(fugue_sqlParser.MERGE, 0)
        def INTO(self):
            return self.getToken(fugue_sqlParser.INTO, 0)
        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)
        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)
        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)

        def tableAlias(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TableAliasContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,i)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def matchedClause(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MatchedClauseContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MatchedClauseContext,i)

        def notMatchedClause(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NotMatchedClauseContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NotMatchedClauseContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMergeIntoTable" ):
                return visitor.visitMergeIntoTable(self)
            else:
                return visitor.visitChildren(self)



    def dmlStatementNoWith(self):

        localctx = fugue_sqlParser.DmlStatementNoWithContext(self, self._ctx, self.state)
        self.enterRule(localctx, 196, self.RULE_dmlStatementNoWith)
        self._la = 0 # Token type
        try:
            self.state = 2140
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.INSERT]:
                localctx = fugue_sqlParser.SingleInsertQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2089
                self.insertInto()
                self.state = 2090
                self.queryTerm(0)
                self.state = 2091
                self.queryOrganization()
                pass
            elif token in [fugue_sqlParser.FROM]:
                localctx = fugue_sqlParser.MultiInsertQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2093
                self.fromClause()
                self.state = 2095 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 2094
                    self.multiInsertQueryBody()
                    self.state = 2097 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.INSERT):
                        break

                pass
            elif token in [fugue_sqlParser.DELETE]:
                localctx = fugue_sqlParser.DeleteFromTableContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2099
                self.match(fugue_sqlParser.DELETE)
                self.state = 2100
                self.match(fugue_sqlParser.FROM)
                self.state = 2101
                self.multipartIdentifier()
                self.state = 2102
                self.tableAlias()
                self.state = 2104
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WHERE:
                    self.state = 2103
                    self.whereClause()


                pass
            elif token in [fugue_sqlParser.UPDATE]:
                localctx = fugue_sqlParser.UpdateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2106
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2107
                self.multipartIdentifier()
                self.state = 2108
                self.tableAlias()
                self.state = 2109
                self.setClause()
                self.state = 2111
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WHERE:
                    self.state = 2110
                    self.whereClause()


                pass
            elif token in [fugue_sqlParser.MERGE]:
                localctx = fugue_sqlParser.MergeIntoTableContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 2113
                self.match(fugue_sqlParser.MERGE)
                self.state = 2114
                self.match(fugue_sqlParser.INTO)
                self.state = 2115
                localctx.target = self.multipartIdentifier()
                self.state = 2116
                localctx.targetAlias = self.tableAlias()
                self.state = 2117
                self.match(fugue_sqlParser.USING)
                self.state = 2123
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,253,self._ctx)
                if la_ == 1:
                    self.state = 2118
                    localctx.source = self.multipartIdentifier()
                    pass

                elif la_ == 2:
                    self.state = 2119
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2120
                    localctx.sourceQuery = self.query()
                    self.state = 2121
                    self.match(fugue_sqlParser.T__3)
                    pass


                self.state = 2125
                localctx.sourceAlias = self.tableAlias()
                self.state = 2126
                self.match(fugue_sqlParser.ON)
                self.state = 2127
                localctx.mergeCondition = self.booleanExpression(0)
                self.state = 2131
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,254,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2128
                        self.matchedClause() 
                    self.state = 2133
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,254,self._ctx)

                self.state = 2137
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.WHEN:
                    self.state = 2134
                    self.notMatchedClause()
                    self.state = 2139
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QueryOrganizationContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._sortItem = None # SortItemContext
            self.order = list() # of SortItemContexts
            self._expression = None # ExpressionContext
            self.clusterBy = list() # of ExpressionContexts
            self.distributeBy = list() # of ExpressionContexts
            self.sort = list() # of SortItemContexts
            self.limit = None # ExpressionContext

        def ORDER(self):
            return self.getToken(fugue_sqlParser.ORDER, 0)

        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)

        def CLUSTER(self):
            return self.getToken(fugue_sqlParser.CLUSTER, 0)

        def DISTRIBUTE(self):
            return self.getToken(fugue_sqlParser.DISTRIBUTE, 0)

        def SORT(self):
            return self.getToken(fugue_sqlParser.SORT, 0)

        def windowClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowClauseContext,0)


        def LIMIT(self):
            return self.getToken(fugue_sqlParser.LIMIT, 0)

        def sortItem(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.SortItemContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.SortItemContext,i)


        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_queryOrganization

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQueryOrganization" ):
                return visitor.visitQueryOrganization(self)
            else:
                return visitor.visitChildren(self)




    def queryOrganization(self):

        localctx = fugue_sqlParser.QueryOrganizationContext(self, self._ctx, self.state)
        self.enterRule(localctx, 198, self.RULE_queryOrganization)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2152
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,258,self._ctx)
            if la_ == 1:
                self.state = 2142
                self.match(fugue_sqlParser.ORDER)
                self.state = 2143
                self.match(fugue_sqlParser.BY)
                self.state = 2144
                localctx._sortItem = self.sortItem()
                localctx.order.append(localctx._sortItem)
                self.state = 2149
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,257,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2145
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2146
                        localctx._sortItem = self.sortItem()
                        localctx.order.append(localctx._sortItem) 
                    self.state = 2151
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,257,self._ctx)



            self.state = 2164
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,260,self._ctx)
            if la_ == 1:
                self.state = 2154
                self.match(fugue_sqlParser.CLUSTER)
                self.state = 2155
                self.match(fugue_sqlParser.BY)
                self.state = 2156
                localctx._expression = self.expression()
                localctx.clusterBy.append(localctx._expression)
                self.state = 2161
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,259,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2157
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2158
                        localctx._expression = self.expression()
                        localctx.clusterBy.append(localctx._expression) 
                    self.state = 2163
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,259,self._ctx)



            self.state = 2176
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,262,self._ctx)
            if la_ == 1:
                self.state = 2166
                self.match(fugue_sqlParser.DISTRIBUTE)
                self.state = 2167
                self.match(fugue_sqlParser.BY)
                self.state = 2168
                localctx._expression = self.expression()
                localctx.distributeBy.append(localctx._expression)
                self.state = 2173
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,261,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2169
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2170
                        localctx._expression = self.expression()
                        localctx.distributeBy.append(localctx._expression) 
                    self.state = 2175
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,261,self._ctx)



            self.state = 2188
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,264,self._ctx)
            if la_ == 1:
                self.state = 2178
                self.match(fugue_sqlParser.SORT)
                self.state = 2179
                self.match(fugue_sqlParser.BY)
                self.state = 2180
                localctx._sortItem = self.sortItem()
                localctx.sort.append(localctx._sortItem)
                self.state = 2185
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,263,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2181
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2182
                        localctx._sortItem = self.sortItem()
                        localctx.sort.append(localctx._sortItem) 
                    self.state = 2187
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,263,self._ctx)



            self.state = 2191
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,265,self._ctx)
            if la_ == 1:
                self.state = 2190
                self.windowClause()


            self.state = 2198
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,267,self._ctx)
            if la_ == 1:
                self.state = 2193
                self.match(fugue_sqlParser.LIMIT)
                self.state = 2196
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,266,self._ctx)
                if la_ == 1:
                    self.state = 2194
                    self.match(fugue_sqlParser.ALL)
                    pass

                elif la_ == 2:
                    self.state = 2195
                    localctx.limit = self.expression()
                    pass




        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MultiInsertQueryBodyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def insertInto(self):
            return self.getTypedRuleContext(fugue_sqlParser.InsertIntoContext,0)


        def fromStatementBody(self):
            return self.getTypedRuleContext(fugue_sqlParser.FromStatementBodyContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_multiInsertQueryBody

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMultiInsertQueryBody" ):
                return visitor.visitMultiInsertQueryBody(self)
            else:
                return visitor.visitChildren(self)




    def multiInsertQueryBody(self):

        localctx = fugue_sqlParser.MultiInsertQueryBodyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 200, self.RULE_multiInsertQueryBody)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2200
            self.insertInto()
            self.state = 2201
            self.fromStatementBody()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QueryTermContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_queryTerm

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)


    class QueryTermDefaultContext(QueryTermContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryTermContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def queryPrimary(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryPrimaryContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQueryTermDefault" ):
                return visitor.visitQueryTermDefault(self)
            else:
                return visitor.visitChildren(self)


    class FugueTermContext(QueryTermContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryTermContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fugueNestableTaskCollectionNoSelect(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueNestableTaskCollectionNoSelectContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFugueTerm" ):
                return visitor.visitFugueTerm(self)
            else:
                return visitor.visitChildren(self)


    class SetOperationContext(QueryTermContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryTermContext
            super().__init__(parser)
            self.left = None # QueryTermContext
            self.operator = None # Token
            self.right = None # QueryTermContext
            self.copyFrom(ctx)

        def queryTerm(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.QueryTermContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.QueryTermContext,i)

        def INTERSECT(self):
            return self.getToken(fugue_sqlParser.INTERSECT, 0)
        def UNION(self):
            return self.getToken(fugue_sqlParser.UNION, 0)
        def EXCEPT(self):
            return self.getToken(fugue_sqlParser.EXCEPT, 0)
        def SETMINUS(self):
            return self.getToken(fugue_sqlParser.SETMINUS, 0)
        def setQuantifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.SetQuantifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetOperation" ):
                return visitor.visitSetOperation(self)
            else:
                return visitor.visitChildren(self)



    def queryTerm(self, _p:int=0):
        _parentctx = self._ctx
        _parentState = self.state
        localctx = fugue_sqlParser.QueryTermContext(self, self._ctx, _parentState)
        _prevctx = localctx
        _startState = 202
        self.enterRecursionRule(localctx, 202, self.RULE_queryTerm, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2206
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.FROM, fugue_sqlParser.MAP, fugue_sqlParser.REDUCE, fugue_sqlParser.SELECT, fugue_sqlParser.TABLE, fugue_sqlParser.VALUES]:
                localctx = fugue_sqlParser.QueryTermDefaultContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 2204
                self.queryPrimary()
                pass
            elif token in [fugue_sqlParser.PROCESS, fugue_sqlParser.ZIP, fugue_sqlParser.SAVE, fugue_sqlParser.CREATE, fugue_sqlParser.DROP, fugue_sqlParser.LOAD, fugue_sqlParser.TRANSFORM]:
                localctx = fugue_sqlParser.FugueTermContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 2205
                self.fugueNestableTaskCollectionNoSelect()
                pass
            else:
                raise NoViableAltException(self)

            self._ctx.stop = self._input.LT(-1)
            self.state = 2231
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,273,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    if self._parseListeners is not None:
                        self.triggerExitRuleEvent()
                    _prevctx = localctx
                    self.state = 2229
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,272,self._ctx)
                    if la_ == 1:
                        localctx = fugue_sqlParser.SetOperationContext(self, fugue_sqlParser.QueryTermContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_queryTerm)
                        self.state = 2208
                        if not self.precpred(self._ctx, 3):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 3)")
                        self.state = 2209
                        if not fugue_sqlParser.legacy_setops_precedence_enbled:
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "fugue_sqlParser.legacy_setops_precedence_enbled")
                        self.state = 2210
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(_la==fugue_sqlParser.EXCEPT or _la==fugue_sqlParser.INTERSECT or _la==fugue_sqlParser.SETMINUS or _la==fugue_sqlParser.UNION):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 2212
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2211
                            self.setQuantifier()


                        self.state = 2214
                        localctx.right = self.queryTerm(4)
                        pass

                    elif la_ == 2:
                        localctx = fugue_sqlParser.SetOperationContext(self, fugue_sqlParser.QueryTermContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_queryTerm)
                        self.state = 2215
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 2216
                        if not not fugue_sqlParser.legacy_setops_precedence_enbled:
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "not fugue_sqlParser.legacy_setops_precedence_enbled")
                        self.state = 2217
                        localctx.operator = self.match(fugue_sqlParser.INTERSECT)
                        self.state = 2219
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2218
                            self.setQuantifier()


                        self.state = 2221
                        localctx.right = self.queryTerm(3)
                        pass

                    elif la_ == 3:
                        localctx = fugue_sqlParser.SetOperationContext(self, fugue_sqlParser.QueryTermContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_queryTerm)
                        self.state = 2222
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 2223
                        if not not fugue_sqlParser.legacy_setops_precedence_enbled:
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "not fugue_sqlParser.legacy_setops_precedence_enbled")
                        self.state = 2224
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(_la==fugue_sqlParser.EXCEPT or _la==fugue_sqlParser.SETMINUS or _la==fugue_sqlParser.UNION):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 2226
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2225
                            self.setQuantifier()


                        self.state = 2228
                        localctx.right = self.queryTerm(2)
                        pass

             
                self.state = 2233
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,273,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.unrollRecursionContexts(_parentctx)
        return localctx


    class QueryPrimaryContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_queryPrimary

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class QueryPrimaryDefaultContext(QueryPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def querySpecification(self):
            return self.getTypedRuleContext(fugue_sqlParser.QuerySpecificationContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQueryPrimaryDefault" ):
                return visitor.visitQueryPrimaryDefault(self)
            else:
                return visitor.visitChildren(self)


    class InlineTableDefault1Context(QueryPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def inlineTable(self):
            return self.getTypedRuleContext(fugue_sqlParser.InlineTableContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInlineTableDefault1" ):
                return visitor.visitInlineTableDefault1(self)
            else:
                return visitor.visitChildren(self)


    class FromStmtContext(QueryPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def fromStatement(self):
            return self.getTypedRuleContext(fugue_sqlParser.FromStatementContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFromStmt" ):
                return visitor.visitFromStmt(self)
            else:
                return visitor.visitChildren(self)


    class TableContext(QueryPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QueryPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)
        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTable" ):
                return visitor.visitTable(self)
            else:
                return visitor.visitChildren(self)



    def queryPrimary(self):

        localctx = fugue_sqlParser.QueryPrimaryContext(self, self._ctx, self.state)
        self.enterRule(localctx, 204, self.RULE_queryPrimary)
        try:
            self.state = 2239
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.MAP, fugue_sqlParser.REDUCE, fugue_sqlParser.SELECT]:
                localctx = fugue_sqlParser.QueryPrimaryDefaultContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2234
                self.querySpecification()
                pass
            elif token in [fugue_sqlParser.FROM]:
                localctx = fugue_sqlParser.FromStmtContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2235
                self.fromStatement()
                pass
            elif token in [fugue_sqlParser.TABLE]:
                localctx = fugue_sqlParser.TableContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2236
                self.match(fugue_sqlParser.TABLE)
                self.state = 2237
                self.multipartIdentifier()
                pass
            elif token in [fugue_sqlParser.VALUES]:
                localctx = fugue_sqlParser.InlineTableDefault1Context(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2238
                self.inlineTable()
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SortItemContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.ordering = None # Token
            self.nullOrder = None # Token

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def ASC(self):
            return self.getToken(fugue_sqlParser.ASC, 0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)

        def LAST(self):
            return self.getToken(fugue_sqlParser.LAST, 0)

        def FIRST(self):
            return self.getToken(fugue_sqlParser.FIRST, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_sortItem

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSortItem" ):
                return visitor.visitSortItem(self)
            else:
                return visitor.visitChildren(self)




    def sortItem(self):

        localctx = fugue_sqlParser.SortItemContext(self, self._ctx, self.state)
        self.enterRule(localctx, 206, self.RULE_sortItem)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2241
            self.expression()
            self.state = 2243
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,275,self._ctx)
            if la_ == 1:
                self.state = 2242
                localctx.ordering = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ASC or _la==fugue_sqlParser.DESC):
                    localctx.ordering = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()


            self.state = 2247
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,276,self._ctx)
            if la_ == 1:
                self.state = 2245
                self.match(fugue_sqlParser.NULLS)
                self.state = 2246
                localctx.nullOrder = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FIRST or _la==fugue_sqlParser.LAST):
                    localctx.nullOrder = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FromStatementContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fromClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.FromClauseContext,0)


        def fromStatementBody(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FromStatementBodyContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FromStatementBodyContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fromStatement

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFromStatement" ):
                return visitor.visitFromStatement(self)
            else:
                return visitor.visitChildren(self)




    def fromStatement(self):

        localctx = fugue_sqlParser.FromStatementContext(self, self._ctx, self.state)
        self.enterRule(localctx, 208, self.RULE_fromStatement)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2249
            self.fromClause()
            self.state = 2251 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 2250
                    self.fromStatementBody()

                else:
                    raise NoViableAltException(self)
                self.state = 2253 
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,277,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FromStatementBodyContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def transformClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.TransformClauseContext,0)


        def queryOrganization(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryOrganizationContext,0)


        def whereClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WhereClauseContext,0)


        def selectClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.SelectClauseContext,0)


        def lateralView(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LateralViewContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LateralViewContext,i)


        def aggregationClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.AggregationClauseContext,0)


        def havingClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.HavingClauseContext,0)


        def windowClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowClauseContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fromStatementBody

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFromStatementBody" ):
                return visitor.visitFromStatementBody(self)
            else:
                return visitor.visitChildren(self)




    def fromStatementBody(self):

        localctx = fugue_sqlParser.FromStatementBodyContext(self, self._ctx, self.state)
        self.enterRule(localctx, 210, self.RULE_fromStatementBody)
        try:
            self.state = 2282
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,284,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2255
                self.transformClause()
                self.state = 2257
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,278,self._ctx)
                if la_ == 1:
                    self.state = 2256
                    self.whereClause()


                self.state = 2259
                self.queryOrganization()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2261
                self.selectClause()
                self.state = 2265
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,279,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2262
                        self.lateralView() 
                    self.state = 2267
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,279,self._ctx)

                self.state = 2269
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,280,self._ctx)
                if la_ == 1:
                    self.state = 2268
                    self.whereClause()


                self.state = 2272
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,281,self._ctx)
                if la_ == 1:
                    self.state = 2271
                    self.aggregationClause()


                self.state = 2275
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,282,self._ctx)
                if la_ == 1:
                    self.state = 2274
                    self.havingClause()


                self.state = 2278
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,283,self._ctx)
                if la_ == 1:
                    self.state = 2277
                    self.windowClause()


                self.state = 2280
                self.queryOrganization()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QuerySpecificationContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_querySpecification

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class RegularQuerySpecificationContext(QuerySpecificationContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QuerySpecificationContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def selectClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.SelectClauseContext,0)

        def optionalFromClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.OptionalFromClauseContext,0)

        def lateralView(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LateralViewContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LateralViewContext,i)

        def whereClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WhereClauseContext,0)

        def aggregationClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.AggregationClauseContext,0)

        def havingClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.HavingClauseContext,0)

        def windowClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowClauseContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRegularQuerySpecification" ):
                return visitor.visitRegularQuerySpecification(self)
            else:
                return visitor.visitChildren(self)


    class TransformQuerySpecificationContext(QuerySpecificationContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.QuerySpecificationContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def transformClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.TransformClauseContext,0)

        def optionalFromClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.OptionalFromClauseContext,0)

        def whereClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.WhereClauseContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTransformQuerySpecification" ):
                return visitor.visitTransformQuerySpecification(self)
            else:
                return visitor.visitChildren(self)



    def querySpecification(self):

        localctx = fugue_sqlParser.QuerySpecificationContext(self, self._ctx, self.state)
        self.enterRule(localctx, 212, self.RULE_querySpecification)
        try:
            self.state = 2309
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,291,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TransformQuerySpecificationContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2284
                self.transformClause()
                self.state = 2285
                self.optionalFromClause()
                self.state = 2287
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,285,self._ctx)
                if la_ == 1:
                    self.state = 2286
                    self.whereClause()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.RegularQuerySpecificationContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2289
                self.selectClause()
                self.state = 2290
                self.optionalFromClause()
                self.state = 2294
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,286,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2291
                        self.lateralView() 
                    self.state = 2296
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,286,self._ctx)

                self.state = 2298
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,287,self._ctx)
                if la_ == 1:
                    self.state = 2297
                    self.whereClause()


                self.state = 2301
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,288,self._ctx)
                if la_ == 1:
                    self.state = 2300
                    self.aggregationClause()


                self.state = 2304
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,289,self._ctx)
                if la_ == 1:
                    self.state = 2303
                    self.havingClause()


                self.state = 2307
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,290,self._ctx)
                if la_ == 1:
                    self.state = 2306
                    self.windowClause()


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class OptionalFromClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def fromClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.FromClauseContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_optionalFromClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitOptionalFromClause" ):
                return visitor.visitOptionalFromClause(self)
            else:
                return visitor.visitChildren(self)




    def optionalFromClause(self):

        localctx = fugue_sqlParser.OptionalFromClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 214, self.RULE_optionalFromClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2312
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,292,self._ctx)
            if la_ == 1:
                self.state = 2311
                self.fromClause()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TransformClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.kind = None # Token
            self.inRowFormat = None # RowFormatContext
            self.recordWriter = None # Token
            self.script = None # Token
            self.outRowFormat = None # RowFormatContext
            self.recordReader = None # Token

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def STRING(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.STRING)
            else:
                return self.getToken(fugue_sqlParser.STRING, i)

        def SELECT(self):
            return self.getToken(fugue_sqlParser.SELECT, 0)

        def namedExpressionSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionSeqContext,0)


        def TRANSFORM(self):
            return self.getToken(fugue_sqlParser.TRANSFORM, 0)

        def MAP(self):
            return self.getToken(fugue_sqlParser.MAP, 0)

        def REDUCE(self):
            return self.getToken(fugue_sqlParser.REDUCE, 0)

        def RECORDWRITER(self):
            return self.getToken(fugue_sqlParser.RECORDWRITER, 0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def RECORDREADER(self):
            return self.getToken(fugue_sqlParser.RECORDREADER, 0)

        def rowFormat(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.RowFormatContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.RowFormatContext,i)


        def identifierSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierSeqContext,0)


        def colTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColTypeListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_transformClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTransformClause" ):
                return visitor.visitTransformClause(self)
            else:
                return visitor.visitChildren(self)




    def transformClause(self):

        localctx = fugue_sqlParser.TransformClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 216, self.RULE_transformClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2324
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.SELECT]:
                self.state = 2314
                self.match(fugue_sqlParser.SELECT)
                self.state = 2315
                localctx.kind = self.match(fugue_sqlParser.TRANSFORM)
                self.state = 2316
                self.match(fugue_sqlParser.T__2)
                self.state = 2317
                self.namedExpressionSeq()
                self.state = 2318
                self.match(fugue_sqlParser.T__3)
                pass
            elif token in [fugue_sqlParser.MAP]:
                self.state = 2320
                localctx.kind = self.match(fugue_sqlParser.MAP)
                self.state = 2321
                self.namedExpressionSeq()
                pass
            elif token in [fugue_sqlParser.REDUCE]:
                self.state = 2322
                localctx.kind = self.match(fugue_sqlParser.REDUCE)
                self.state = 2323
                self.namedExpressionSeq()
                pass
            else:
                raise NoViableAltException(self)

            self.state = 2327
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.ROW:
                self.state = 2326
                localctx.inRowFormat = self.rowFormat()


            self.state = 2331
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.RECORDWRITER:
                self.state = 2329
                self.match(fugue_sqlParser.RECORDWRITER)
                self.state = 2330
                localctx.recordWriter = self.match(fugue_sqlParser.STRING)


            self.state = 2333
            self.match(fugue_sqlParser.USING)
            self.state = 2334
            localctx.script = self.match(fugue_sqlParser.STRING)
            self.state = 2347
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,298,self._ctx)
            if la_ == 1:
                self.state = 2335
                self.match(fugue_sqlParser.AS)
                self.state = 2345
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,297,self._ctx)
                if la_ == 1:
                    self.state = 2336
                    self.identifierSeq()
                    pass

                elif la_ == 2:
                    self.state = 2337
                    self.colTypeList()
                    pass

                elif la_ == 3:
                    self.state = 2338
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2341
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,296,self._ctx)
                    if la_ == 1:
                        self.state = 2339
                        self.identifierSeq()
                        pass

                    elif la_ == 2:
                        self.state = 2340
                        self.colTypeList()
                        pass


                    self.state = 2343
                    self.match(fugue_sqlParser.T__3)
                    pass




            self.state = 2350
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,299,self._ctx)
            if la_ == 1:
                self.state = 2349
                localctx.outRowFormat = self.rowFormat()


            self.state = 2354
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,300,self._ctx)
            if la_ == 1:
                self.state = 2352
                self.match(fugue_sqlParser.RECORDREADER)
                self.state = 2353
                localctx.recordReader = self.match(fugue_sqlParser.STRING)


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SelectClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._hint = None # HintContext
            self.hints = list() # of HintContexts

        def SELECT(self):
            return self.getToken(fugue_sqlParser.SELECT, 0)

        def namedExpressionSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionSeqContext,0)


        def setQuantifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.SetQuantifierContext,0)


        def hint(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.HintContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.HintContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_selectClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSelectClause" ):
                return visitor.visitSelectClause(self)
            else:
                return visitor.visitChildren(self)




    def selectClause(self):

        localctx = fugue_sqlParser.SelectClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 218, self.RULE_selectClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2356
            self.match(fugue_sqlParser.SELECT)
            self.state = 2360
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,301,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2357
                    localctx._hint = self.hint()
                    localctx.hints.append(localctx._hint) 
                self.state = 2362
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,301,self._ctx)

            self.state = 2364
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,302,self._ctx)
            if la_ == 1:
                self.state = 2363
                self.setQuantifier()


            self.state = 2366
            self.namedExpressionSeq()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SetClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def assignmentList(self):
            return self.getTypedRuleContext(fugue_sqlParser.AssignmentListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_setClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetClause" ):
                return visitor.visitSetClause(self)
            else:
                return visitor.visitChildren(self)




    def setClause(self):

        localctx = fugue_sqlParser.SetClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 220, self.RULE_setClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2368
            self.match(fugue_sqlParser.SET)
            self.state = 2369
            self.assignmentList()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MatchedClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.matchedCond = None # BooleanExpressionContext

        def WHEN(self):
            return self.getToken(fugue_sqlParser.WHEN, 0)

        def MATCHED(self):
            return self.getToken(fugue_sqlParser.MATCHED, 0)

        def THEN(self):
            return self.getToken(fugue_sqlParser.THEN, 0)

        def matchedAction(self):
            return self.getTypedRuleContext(fugue_sqlParser.MatchedActionContext,0)


        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_matchedClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMatchedClause" ):
                return visitor.visitMatchedClause(self)
            else:
                return visitor.visitChildren(self)




    def matchedClause(self):

        localctx = fugue_sqlParser.MatchedClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 222, self.RULE_matchedClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2371
            self.match(fugue_sqlParser.WHEN)
            self.state = 2372
            self.match(fugue_sqlParser.MATCHED)
            self.state = 2375
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AND:
                self.state = 2373
                self.match(fugue_sqlParser.AND)
                self.state = 2374
                localctx.matchedCond = self.booleanExpression(0)


            self.state = 2377
            self.match(fugue_sqlParser.THEN)
            self.state = 2378
            self.matchedAction()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NotMatchedClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.notMatchedCond = None # BooleanExpressionContext

        def WHEN(self):
            return self.getToken(fugue_sqlParser.WHEN, 0)

        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def MATCHED(self):
            return self.getToken(fugue_sqlParser.MATCHED, 0)

        def THEN(self):
            return self.getToken(fugue_sqlParser.THEN, 0)

        def notMatchedAction(self):
            return self.getTypedRuleContext(fugue_sqlParser.NotMatchedActionContext,0)


        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_notMatchedClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNotMatchedClause" ):
                return visitor.visitNotMatchedClause(self)
            else:
                return visitor.visitChildren(self)




    def notMatchedClause(self):

        localctx = fugue_sqlParser.NotMatchedClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 224, self.RULE_notMatchedClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2380
            self.match(fugue_sqlParser.WHEN)
            self.state = 2381
            self.match(fugue_sqlParser.NOT)
            self.state = 2382
            self.match(fugue_sqlParser.MATCHED)
            self.state = 2385
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AND:
                self.state = 2383
                self.match(fugue_sqlParser.AND)
                self.state = 2384
                localctx.notMatchedCond = self.booleanExpression(0)


            self.state = 2387
            self.match(fugue_sqlParser.THEN)
            self.state = 2388
            self.notMatchedAction()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MatchedActionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def DELETE(self):
            return self.getToken(fugue_sqlParser.DELETE, 0)

        def UPDATE(self):
            return self.getToken(fugue_sqlParser.UPDATE, 0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)

        def assignmentList(self):
            return self.getTypedRuleContext(fugue_sqlParser.AssignmentListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_matchedAction

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMatchedAction" ):
                return visitor.visitMatchedAction(self)
            else:
                return visitor.visitChildren(self)




    def matchedAction(self):

        localctx = fugue_sqlParser.MatchedActionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 226, self.RULE_matchedAction)
        try:
            self.state = 2397
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,305,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2390
                self.match(fugue_sqlParser.DELETE)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2391
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2392
                self.match(fugue_sqlParser.SET)
                self.state = 2393
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2394
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2395
                self.match(fugue_sqlParser.SET)
                self.state = 2396
                self.assignmentList()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NotMatchedActionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.columns = None # MultipartIdentifierListContext

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)

        def VALUES(self):
            return self.getToken(fugue_sqlParser.VALUES, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def multipartIdentifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_notMatchedAction

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNotMatchedAction" ):
                return visitor.visitNotMatchedAction(self)
            else:
                return visitor.visitChildren(self)




    def notMatchedAction(self):

        localctx = fugue_sqlParser.NotMatchedActionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 228, self.RULE_notMatchedAction)
        self._la = 0 # Token type
        try:
            self.state = 2417
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,307,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2399
                self.match(fugue_sqlParser.INSERT)
                self.state = 2400
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2401
                self.match(fugue_sqlParser.INSERT)
                self.state = 2402
                self.match(fugue_sqlParser.T__2)
                self.state = 2403
                localctx.columns = self.multipartIdentifierList()
                self.state = 2404
                self.match(fugue_sqlParser.T__3)
                self.state = 2405
                self.match(fugue_sqlParser.VALUES)
                self.state = 2406
                self.match(fugue_sqlParser.T__2)
                self.state = 2407
                self.expression()
                self.state = 2412
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2408
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2409
                    self.expression()
                    self.state = 2414
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2415
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class AssignmentListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def assignment(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.AssignmentContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.AssignmentContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_assignmentList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAssignmentList" ):
                return visitor.visitAssignmentList(self)
            else:
                return visitor.visitChildren(self)




    def assignmentList(self):

        localctx = fugue_sqlParser.AssignmentListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 230, self.RULE_assignmentList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2419
            self.assignment()
            self.state = 2424
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2420
                self.match(fugue_sqlParser.T__0)
                self.state = 2421
                self.assignment()
                self.state = 2426
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class AssignmentContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.key = None # MultipartIdentifierContext
            self.value = None # ExpressionContext

        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_assignment

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAssignment" ):
                return visitor.visitAssignment(self)
            else:
                return visitor.visitChildren(self)




    def assignment(self):

        localctx = fugue_sqlParser.AssignmentContext(self, self._ctx, self.state)
        self.enterRule(localctx, 232, self.RULE_assignment)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2427
            localctx.key = self.multipartIdentifier()
            self.state = 2428
            self.match(fugue_sqlParser.EQUAL)
            self.state = 2429
            localctx.value = self.expression()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class WhereClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def WHERE(self):
            return self.getToken(fugue_sqlParser.WHERE, 0)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_whereClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWhereClause" ):
                return visitor.visitWhereClause(self)
            else:
                return visitor.visitChildren(self)




    def whereClause(self):

        localctx = fugue_sqlParser.WhereClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 234, self.RULE_whereClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2431
            self.match(fugue_sqlParser.WHERE)
            self.state = 2432
            self.booleanExpression(0)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class HavingClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def HAVING(self):
            return self.getToken(fugue_sqlParser.HAVING, 0)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_havingClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitHavingClause" ):
                return visitor.visitHavingClause(self)
            else:
                return visitor.visitChildren(self)




    def havingClause(self):

        localctx = fugue_sqlParser.HavingClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 236, self.RULE_havingClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2434
            self.match(fugue_sqlParser.HAVING)
            self.state = 2435
            self.booleanExpression(0)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class HintContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._hintStatement = None # HintStatementContext
            self.hintStatements = list() # of HintStatementContexts

        def hintStatement(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.HintStatementContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.HintStatementContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_hint

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitHint" ):
                return visitor.visitHint(self)
            else:
                return visitor.visitChildren(self)




    def hint(self):

        localctx = fugue_sqlParser.HintContext(self, self._ctx, self.state)
        self.enterRule(localctx, 238, self.RULE_hint)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2437
            self.match(fugue_sqlParser.T__13)
            self.state = 2438
            localctx._hintStatement = self.hintStatement()
            localctx.hintStatements.append(localctx._hintStatement)
            self.state = 2445
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,310,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2440
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,309,self._ctx)
                    if la_ == 1:
                        self.state = 2439
                        self.match(fugue_sqlParser.T__0)


                    self.state = 2442
                    localctx._hintStatement = self.hintStatement()
                    localctx.hintStatements.append(localctx._hintStatement) 
                self.state = 2447
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,310,self._ctx)

            self.state = 2448
            self.match(fugue_sqlParser.T__14)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class HintStatementContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.hintName = None # IdentifierContext
            self._primaryExpression = None # PrimaryExpressionContext
            self.parameters = list() # of PrimaryExpressionContexts

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def primaryExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PrimaryExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PrimaryExpressionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_hintStatement

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitHintStatement" ):
                return visitor.visitHintStatement(self)
            else:
                return visitor.visitChildren(self)




    def hintStatement(self):

        localctx = fugue_sqlParser.HintStatementContext(self, self._ctx, self.state)
        self.enterRule(localctx, 240, self.RULE_hintStatement)
        self._la = 0 # Token type
        try:
            self.state = 2463
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,312,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2450
                localctx.hintName = self.identifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2451
                localctx.hintName = self.identifier()
                self.state = 2452
                self.match(fugue_sqlParser.T__2)
                self.state = 2453
                localctx._primaryExpression = self.primaryExpression(0)
                localctx.parameters.append(localctx._primaryExpression)
                self.state = 2458
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2454
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2455
                    localctx._primaryExpression = self.primaryExpression(0)
                    localctx.parameters.append(localctx._primaryExpression)
                    self.state = 2460
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2461
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FromClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)

        def relation(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.RelationContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.RelationContext,i)


        def lateralView(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.LateralViewContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.LateralViewContext,i)


        def pivotClause(self):
            return self.getTypedRuleContext(fugue_sqlParser.PivotClauseContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fromClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFromClause" ):
                return visitor.visitFromClause(self)
            else:
                return visitor.visitChildren(self)




    def fromClause(self):

        localctx = fugue_sqlParser.FromClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 242, self.RULE_fromClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2465
            self.match(fugue_sqlParser.FROM)
            self.state = 2466
            self.relation()
            self.state = 2471
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,313,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2467
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2468
                    self.relation() 
                self.state = 2473
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,313,self._ctx)

            self.state = 2477
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,314,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2474
                    self.lateralView() 
                self.state = 2479
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,314,self._ctx)

            self.state = 2481
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,315,self._ctx)
            if la_ == 1:
                self.state = 2480
                self.pivotClause()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class AggregationClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._expression = None # ExpressionContext
            self.groupingExpressions = list() # of ExpressionContexts
            self.kind = None # Token

        def GROUP(self):
            return self.getToken(fugue_sqlParser.GROUP, 0)

        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)

        def SETS(self):
            return self.getToken(fugue_sqlParser.SETS, 0)

        def groupingSet(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.GroupingSetContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.GroupingSetContext,i)


        def ROLLUP(self):
            return self.getToken(fugue_sqlParser.ROLLUP, 0)

        def CUBE(self):
            return self.getToken(fugue_sqlParser.CUBE, 0)

        def GROUPING(self):
            return self.getToken(fugue_sqlParser.GROUPING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_aggregationClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAggregationClause" ):
                return visitor.visitAggregationClause(self)
            else:
                return visitor.visitChildren(self)




    def aggregationClause(self):

        localctx = fugue_sqlParser.AggregationClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 244, self.RULE_aggregationClause)
        self._la = 0 # Token type
        try:
            self.state = 2527
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,320,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2483
                self.match(fugue_sqlParser.GROUP)
                self.state = 2484
                self.match(fugue_sqlParser.BY)
                self.state = 2485
                localctx._expression = self.expression()
                localctx.groupingExpressions.append(localctx._expression)
                self.state = 2490
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,316,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2486
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2487
                        localctx._expression = self.expression()
                        localctx.groupingExpressions.append(localctx._expression) 
                    self.state = 2492
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,316,self._ctx)

                self.state = 2510
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,318,self._ctx)
                if la_ == 1:
                    self.state = 2493
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2494
                    localctx.kind = self.match(fugue_sqlParser.ROLLUP)

                elif la_ == 2:
                    self.state = 2495
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2496
                    localctx.kind = self.match(fugue_sqlParser.CUBE)

                elif la_ == 3:
                    self.state = 2497
                    localctx.kind = self.match(fugue_sqlParser.GROUPING)
                    self.state = 2498
                    self.match(fugue_sqlParser.SETS)
                    self.state = 2499
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2500
                    self.groupingSet()
                    self.state = 2505
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 2501
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2502
                        self.groupingSet()
                        self.state = 2507
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    self.state = 2508
                    self.match(fugue_sqlParser.T__3)


                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2512
                self.match(fugue_sqlParser.GROUP)
                self.state = 2513
                self.match(fugue_sqlParser.BY)
                self.state = 2514
                localctx.kind = self.match(fugue_sqlParser.GROUPING)
                self.state = 2515
                self.match(fugue_sqlParser.SETS)
                self.state = 2516
                self.match(fugue_sqlParser.T__2)
                self.state = 2517
                self.groupingSet()
                self.state = 2522
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2518
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2519
                    self.groupingSet()
                    self.state = 2524
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2525
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class GroupingSetContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_groupingSet

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitGroupingSet" ):
                return visitor.visitGroupingSet(self)
            else:
                return visitor.visitChildren(self)




    def groupingSet(self):

        localctx = fugue_sqlParser.GroupingSetContext(self, self._ctx, self.state)
        self.enterRule(localctx, 246, self.RULE_groupingSet)
        self._la = 0 # Token type
        try:
            self.state = 2542
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,323,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2529
                self.match(fugue_sqlParser.T__2)
                self.state = 2538
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,322,self._ctx)
                if la_ == 1:
                    self.state = 2530
                    self.expression()
                    self.state = 2535
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 2531
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2532
                        self.expression()
                        self.state = 2537
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



                self.state = 2540
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2541
                self.expression()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PivotClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.aggregates = None # NamedExpressionSeqContext
            self._pivotValue = None # PivotValueContext
            self.pivotValues = list() # of PivotValueContexts

        def PIVOT(self):
            return self.getToken(fugue_sqlParser.PIVOT, 0)

        def FOR(self):
            return self.getToken(fugue_sqlParser.FOR, 0)

        def pivotColumn(self):
            return self.getTypedRuleContext(fugue_sqlParser.PivotColumnContext,0)


        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)

        def namedExpressionSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionSeqContext,0)


        def pivotValue(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.PivotValueContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.PivotValueContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_pivotClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPivotClause" ):
                return visitor.visitPivotClause(self)
            else:
                return visitor.visitChildren(self)




    def pivotClause(self):

        localctx = fugue_sqlParser.PivotClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 248, self.RULE_pivotClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2544
            self.match(fugue_sqlParser.PIVOT)
            self.state = 2545
            self.match(fugue_sqlParser.T__2)
            self.state = 2546
            localctx.aggregates = self.namedExpressionSeq()
            self.state = 2547
            self.match(fugue_sqlParser.FOR)
            self.state = 2548
            self.pivotColumn()
            self.state = 2549
            self.match(fugue_sqlParser.IN)
            self.state = 2550
            self.match(fugue_sqlParser.T__2)
            self.state = 2551
            localctx._pivotValue = self.pivotValue()
            localctx.pivotValues.append(localctx._pivotValue)
            self.state = 2556
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2552
                self.match(fugue_sqlParser.T__0)
                self.state = 2553
                localctx._pivotValue = self.pivotValue()
                localctx.pivotValues.append(localctx._pivotValue)
                self.state = 2558
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2559
            self.match(fugue_sqlParser.T__3)
            self.state = 2560
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PivotColumnContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._identifier = None # IdentifierContext
            self.identifiers = list() # of IdentifierContexts

        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_pivotColumn

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPivotColumn" ):
                return visitor.visitPivotColumn(self)
            else:
                return visitor.visitChildren(self)




    def pivotColumn(self):

        localctx = fugue_sqlParser.PivotColumnContext(self, self._ctx, self.state)
        self.enterRule(localctx, 250, self.RULE_pivotColumn)
        self._la = 0 # Token type
        try:
            self.state = 2574
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,326,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2562
                localctx._identifier = self.identifier()
                localctx.identifiers.append(localctx._identifier)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2563
                self.match(fugue_sqlParser.T__2)
                self.state = 2564
                localctx._identifier = self.identifier()
                localctx.identifiers.append(localctx._identifier)
                self.state = 2569
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2565
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2566
                    localctx._identifier = self.identifier()
                    localctx.identifiers.append(localctx._identifier)
                    self.state = 2571
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2572
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PivotValueContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_pivotValue

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPivotValue" ):
                return visitor.visitPivotValue(self)
            else:
                return visitor.visitChildren(self)




    def pivotValue(self):

        localctx = fugue_sqlParser.PivotValueContext(self, self._ctx, self.state)
        self.enterRule(localctx, 252, self.RULE_pivotValue)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2576
            self.expression()
            self.state = 2581
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,328,self._ctx)
            if la_ == 1:
                self.state = 2578
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,327,self._ctx)
                if la_ == 1:
                    self.state = 2577
                    self.match(fugue_sqlParser.AS)


                self.state = 2580
                self.identifier()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class LateralViewContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.tblName = None # IdentifierContext
            self._identifier = None # IdentifierContext
            self.colName = list() # of IdentifierContexts

        def LATERAL(self):
            return self.getToken(fugue_sqlParser.LATERAL, 0)

        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def OUTER(self):
            return self.getToken(fugue_sqlParser.OUTER, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_lateralView

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLateralView" ):
                return visitor.visitLateralView(self)
            else:
                return visitor.visitChildren(self)




    def lateralView(self):

        localctx = fugue_sqlParser.LateralViewContext(self, self._ctx, self.state)
        self.enterRule(localctx, 254, self.RULE_lateralView)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2583
            self.match(fugue_sqlParser.LATERAL)
            self.state = 2584
            self.match(fugue_sqlParser.VIEW)
            self.state = 2586
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,329,self._ctx)
            if la_ == 1:
                self.state = 2585
                self.match(fugue_sqlParser.OUTER)


            self.state = 2588
            self.qualifiedName()
            self.state = 2589
            self.match(fugue_sqlParser.T__2)
            self.state = 2598
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,331,self._ctx)
            if la_ == 1:
                self.state = 2590
                self.expression()
                self.state = 2595
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2591
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2592
                    self.expression()
                    self.state = 2597
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)



            self.state = 2600
            self.match(fugue_sqlParser.T__3)
            self.state = 2601
            localctx.tblName = self.identifier()
            self.state = 2613
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,334,self._ctx)
            if la_ == 1:
                self.state = 2603
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,332,self._ctx)
                if la_ == 1:
                    self.state = 2602
                    self.match(fugue_sqlParser.AS)


                self.state = 2605
                localctx._identifier = self.identifier()
                localctx.colName.append(localctx._identifier)
                self.state = 2610
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,333,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2606
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2607
                        localctx._identifier = self.identifier()
                        localctx.colName.append(localctx._identifier) 
                    self.state = 2612
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,333,self._ctx)



        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SetQuantifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def DISTINCT(self):
            return self.getToken(fugue_sqlParser.DISTINCT, 0)

        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_setQuantifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSetQuantifier" ):
                return visitor.visitSetQuantifier(self)
            else:
                return visitor.visitChildren(self)




    def setQuantifier(self):

        localctx = fugue_sqlParser.SetQuantifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 256, self.RULE_setQuantifier)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2615
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class RelationContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def relationPrimary(self):
            return self.getTypedRuleContext(fugue_sqlParser.RelationPrimaryContext,0)


        def joinRelation(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.JoinRelationContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.JoinRelationContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_relation

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRelation" ):
                return visitor.visitRelation(self)
            else:
                return visitor.visitChildren(self)




    def relation(self):

        localctx = fugue_sqlParser.RelationContext(self, self._ctx, self.state)
        self.enterRule(localctx, 258, self.RULE_relation)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2617
            self.relationPrimary()
            self.state = 2621
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,335,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2618
                    self.joinRelation() 
                self.state = 2623
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,335,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class JoinRelationContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.right = None # RelationPrimaryContext

        def JOIN(self):
            return self.getToken(fugue_sqlParser.JOIN, 0)

        def relationPrimary(self):
            return self.getTypedRuleContext(fugue_sqlParser.RelationPrimaryContext,0)


        def joinType(self):
            return self.getTypedRuleContext(fugue_sqlParser.JoinTypeContext,0)


        def joinCriteria(self):
            return self.getTypedRuleContext(fugue_sqlParser.JoinCriteriaContext,0)


        def NATURAL(self):
            return self.getToken(fugue_sqlParser.NATURAL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_joinRelation

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitJoinRelation" ):
                return visitor.visitJoinRelation(self)
            else:
                return visitor.visitChildren(self)




    def joinRelation(self):

        localctx = fugue_sqlParser.JoinRelationContext(self, self._ctx, self.state)
        self.enterRule(localctx, 260, self.RULE_joinRelation)
        try:
            self.state = 2635
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.ANTI, fugue_sqlParser.CROSS, fugue_sqlParser.FULL, fugue_sqlParser.INNER, fugue_sqlParser.JOIN, fugue_sqlParser.LEFT, fugue_sqlParser.RIGHT, fugue_sqlParser.SEMI]:
                self.enterOuterAlt(localctx, 1)
                self.state = 2624
                self.joinType()
                self.state = 2625
                self.match(fugue_sqlParser.JOIN)
                self.state = 2626
                localctx.right = self.relationPrimary()
                self.state = 2628
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,336,self._ctx)
                if la_ == 1:
                    self.state = 2627
                    self.joinCriteria()


                pass
            elif token in [fugue_sqlParser.NATURAL]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2630
                self.match(fugue_sqlParser.NATURAL)
                self.state = 2631
                self.joinType()
                self.state = 2632
                self.match(fugue_sqlParser.JOIN)
                self.state = 2633
                localctx.right = self.relationPrimary()
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class JoinTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def INNER(self):
            return self.getToken(fugue_sqlParser.INNER, 0)

        def CROSS(self):
            return self.getToken(fugue_sqlParser.CROSS, 0)

        def LEFT(self):
            return self.getToken(fugue_sqlParser.LEFT, 0)

        def OUTER(self):
            return self.getToken(fugue_sqlParser.OUTER, 0)

        def SEMI(self):
            return self.getToken(fugue_sqlParser.SEMI, 0)

        def RIGHT(self):
            return self.getToken(fugue_sqlParser.RIGHT, 0)

        def FULL(self):
            return self.getToken(fugue_sqlParser.FULL, 0)

        def ANTI(self):
            return self.getToken(fugue_sqlParser.ANTI, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_joinType

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitJoinType" ):
                return visitor.visitJoinType(self)
            else:
                return visitor.visitChildren(self)




    def joinType(self):

        localctx = fugue_sqlParser.JoinTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 262, self.RULE_joinType)
        self._la = 0 # Token type
        try:
            self.state = 2661
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,344,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2638
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.INNER:
                    self.state = 2637
                    self.match(fugue_sqlParser.INNER)


                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2640
                self.match(fugue_sqlParser.CROSS)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2641
                self.match(fugue_sqlParser.LEFT)
                self.state = 2643
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2642
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 2646
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LEFT:
                    self.state = 2645
                    self.match(fugue_sqlParser.LEFT)


                self.state = 2648
                self.match(fugue_sqlParser.SEMI)
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 2649
                self.match(fugue_sqlParser.RIGHT)
                self.state = 2651
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2650
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 2653
                self.match(fugue_sqlParser.FULL)
                self.state = 2655
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2654
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 2658
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LEFT:
                    self.state = 2657
                    self.match(fugue_sqlParser.LEFT)


                self.state = 2660
                self.match(fugue_sqlParser.ANTI)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class JoinCriteriaContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_joinCriteria

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitJoinCriteria" ):
                return visitor.visitJoinCriteria(self)
            else:
                return visitor.visitChildren(self)




    def joinCriteria(self):

        localctx = fugue_sqlParser.JoinCriteriaContext(self, self._ctx, self.state)
        self.enterRule(localctx, 264, self.RULE_joinCriteria)
        try:
            self.state = 2667
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.ON]:
                self.enterOuterAlt(localctx, 1)
                self.state = 2663
                self.match(fugue_sqlParser.ON)
                self.state = 2664
                self.booleanExpression(0)
                pass
            elif token in [fugue_sqlParser.USING]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2665
                self.match(fugue_sqlParser.USING)
                self.state = 2666
                self.identifierList()
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SampleContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def TABLESAMPLE(self):
            return self.getToken(fugue_sqlParser.TABLESAMPLE, 0)

        def sampleMethod(self):
            return self.getTypedRuleContext(fugue_sqlParser.SampleMethodContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_sample

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSample" ):
                return visitor.visitSample(self)
            else:
                return visitor.visitChildren(self)




    def sample(self):

        localctx = fugue_sqlParser.SampleContext(self, self._ctx, self.state)
        self.enterRule(localctx, 266, self.RULE_sample)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2669
            self.match(fugue_sqlParser.TABLESAMPLE)
            self.state = 2670
            self.match(fugue_sqlParser.T__2)
            self.state = 2672
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,346,self._ctx)
            if la_ == 1:
                self.state = 2671
                self.sampleMethod()


            self.state = 2674
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class SampleMethodContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_sampleMethod

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class SampleByRowsContext(SampleMethodContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.SampleMethodContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)

        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSampleByRows" ):
                return visitor.visitSampleByRows(self)
            else:
                return visitor.visitChildren(self)


    class SampleByPercentileContext(SampleMethodContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.SampleMethodContext
            super().__init__(parser)
            self.negativeSign = None # Token
            self.percentage = None # Token
            self.copyFrom(ctx)

        def PERCENTLIT(self):
            return self.getToken(fugue_sqlParser.PERCENTLIT, 0)
        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)
        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSampleByPercentile" ):
                return visitor.visitSampleByPercentile(self)
            else:
                return visitor.visitChildren(self)


    class SampleByBucketContext(SampleMethodContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.SampleMethodContext
            super().__init__(parser)
            self.sampleType = None # Token
            self.numerator = None # Token
            self.denominator = None # Token
            self.copyFrom(ctx)

        def OUT(self):
            return self.getToken(fugue_sqlParser.OUT, 0)
        def OF(self):
            return self.getToken(fugue_sqlParser.OF, 0)
        def BUCKET(self):
            return self.getToken(fugue_sqlParser.BUCKET, 0)
        def INTEGER_VALUE(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.INTEGER_VALUE)
            else:
                return self.getToken(fugue_sqlParser.INTEGER_VALUE, i)
        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)
        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSampleByBucket" ):
                return visitor.visitSampleByBucket(self)
            else:
                return visitor.visitChildren(self)


    class SampleByBytesContext(SampleMethodContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.SampleMethodContext
            super().__init__(parser)
            self.bytes = None # ExpressionContext
            self.copyFrom(ctx)

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSampleByBytes" ):
                return visitor.visitSampleByBytes(self)
            else:
                return visitor.visitChildren(self)



    def sampleMethod(self):

        localctx = fugue_sqlParser.SampleMethodContext(self, self._ctx, self.state)
        self.enterRule(localctx, 268, self.RULE_sampleMethod)
        self._la = 0 # Token type
        try:
            self.state = 2700
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,350,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.SampleByPercentileContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2677
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 2676
                    localctx.negativeSign = self.match(fugue_sqlParser.MINUS)


                self.state = 2679
                localctx.percentage = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.INTEGER_VALUE or _la==fugue_sqlParser.DECIMAL_VALUE):
                    localctx.percentage = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 2680
                self.match(fugue_sqlParser.PERCENTLIT)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.SampleByRowsContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2681
                self.expression()
                self.state = 2682
                self.match(fugue_sqlParser.ROWS)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.SampleByBucketContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2684
                localctx.sampleType = self.match(fugue_sqlParser.BUCKET)
                self.state = 2685
                localctx.numerator = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 2686
                self.match(fugue_sqlParser.OUT)
                self.state = 2687
                self.match(fugue_sqlParser.OF)
                self.state = 2688
                localctx.denominator = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 2697
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ON:
                    self.state = 2689
                    self.match(fugue_sqlParser.ON)
                    self.state = 2695
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,348,self._ctx)
                    if la_ == 1:
                        self.state = 2690
                        self.identifier()
                        pass

                    elif la_ == 2:
                        self.state = 2691
                        self.qualifiedName()
                        self.state = 2692
                        self.match(fugue_sqlParser.T__2)
                        self.state = 2693
                        self.match(fugue_sqlParser.T__3)
                        pass




                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.SampleByBytesContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2699
                localctx.bytes = self.expression()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IdentifierListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifierSeq(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierSeqContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_identifierList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentifierList" ):
                return visitor.visitIdentifierList(self)
            else:
                return visitor.visitChildren(self)




    def identifierList(self):

        localctx = fugue_sqlParser.IdentifierListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 270, self.RULE_identifierList)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2702
            self.match(fugue_sqlParser.T__2)
            self.state = 2703
            self.identifierSeq()
            self.state = 2704
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IdentifierSeqContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._errorCapturingIdentifier = None # ErrorCapturingIdentifierContext
            self.ident = list() # of ErrorCapturingIdentifierContexts

        def errorCapturingIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ErrorCapturingIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_identifierSeq

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentifierSeq" ):
                return visitor.visitIdentifierSeq(self)
            else:
                return visitor.visitChildren(self)




    def identifierSeq(self):

        localctx = fugue_sqlParser.IdentifierSeqContext(self, self._ctx, self.state)
        self.enterRule(localctx, 272, self.RULE_identifierSeq)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2706
            localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
            localctx.ident.append(localctx._errorCapturingIdentifier)
            self.state = 2711
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,351,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2707
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2708
                    localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
                    localctx.ident.append(localctx._errorCapturingIdentifier) 
                self.state = 2713
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,351,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class OrderedIdentifierListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def orderedIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.OrderedIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.OrderedIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_orderedIdentifierList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitOrderedIdentifierList" ):
                return visitor.visitOrderedIdentifierList(self)
            else:
                return visitor.visitChildren(self)




    def orderedIdentifierList(self):

        localctx = fugue_sqlParser.OrderedIdentifierListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 274, self.RULE_orderedIdentifierList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2714
            self.match(fugue_sqlParser.T__2)
            self.state = 2715
            self.orderedIdentifier()
            self.state = 2720
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2716
                self.match(fugue_sqlParser.T__0)
                self.state = 2717
                self.orderedIdentifier()
                self.state = 2722
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2723
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class OrderedIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.ident = None # ErrorCapturingIdentifierContext
            self.ordering = None # Token

        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def ASC(self):
            return self.getToken(fugue_sqlParser.ASC, 0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_orderedIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitOrderedIdentifier" ):
                return visitor.visitOrderedIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def orderedIdentifier(self):

        localctx = fugue_sqlParser.OrderedIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 276, self.RULE_orderedIdentifier)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2725
            localctx.ident = self.errorCapturingIdentifier()
            self.state = 2727
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.ASC or _la==fugue_sqlParser.DESC:
                self.state = 2726
                localctx.ordering = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ASC or _la==fugue_sqlParser.DESC):
                    localctx.ordering = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IdentifierCommentListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifierComment(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierCommentContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierCommentContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_identifierCommentList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentifierCommentList" ):
                return visitor.visitIdentifierCommentList(self)
            else:
                return visitor.visitChildren(self)




    def identifierCommentList(self):

        localctx = fugue_sqlParser.IdentifierCommentListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 278, self.RULE_identifierCommentList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2729
            self.match(fugue_sqlParser.T__2)
            self.state = 2730
            self.identifierComment()
            self.state = 2735
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2731
                self.match(fugue_sqlParser.T__0)
                self.state = 2732
                self.identifierComment()
                self.state = 2737
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2738
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IdentifierCommentContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def commentSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_identifierComment

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentifierComment" ):
                return visitor.visitIdentifierComment(self)
            else:
                return visitor.visitChildren(self)




    def identifierComment(self):

        localctx = fugue_sqlParser.IdentifierCommentContext(self, self._ctx, self.state)
        self.enterRule(localctx, 280, self.RULE_identifierComment)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2740
            self.identifier()
            self.state = 2742
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 2741
                self.commentSpec()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class RelationPrimaryContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_relationPrimary

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class TableValuedFunctionContext(RelationPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RelationPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def functionTable(self):
            return self.getTypedRuleContext(fugue_sqlParser.FunctionTableContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableValuedFunction" ):
                return visitor.visitTableValuedFunction(self)
            else:
                return visitor.visitChildren(self)


    class InlineTableDefault2Context(RelationPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RelationPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def inlineTable(self):
            return self.getTypedRuleContext(fugue_sqlParser.InlineTableContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInlineTableDefault2" ):
                return visitor.visitInlineTableDefault2(self)
            else:
                return visitor.visitChildren(self)


    class AliasedRelationContext(RelationPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RelationPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def relation(self):
            return self.getTypedRuleContext(fugue_sqlParser.RelationContext,0)

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)

        def sample(self):
            return self.getTypedRuleContext(fugue_sqlParser.SampleContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAliasedRelation" ):
                return visitor.visitAliasedRelation(self)
            else:
                return visitor.visitChildren(self)


    class AliasedQueryContext(RelationPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RelationPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)

        def sample(self):
            return self.getTypedRuleContext(fugue_sqlParser.SampleContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAliasedQuery" ):
                return visitor.visitAliasedQuery(self)
            else:
                return visitor.visitChildren(self)


    class TableNameContext(RelationPrimaryContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RelationPrimaryContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)

        def sample(self):
            return self.getTypedRuleContext(fugue_sqlParser.SampleContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableName" ):
                return visitor.visitTableName(self)
            else:
                return visitor.visitChildren(self)



    def relationPrimary(self):

        localctx = fugue_sqlParser.RelationPrimaryContext(self, self._ctx, self.state)
        self.enterRule(localctx, 282, self.RULE_relationPrimary)
        try:
            self.state = 2768
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,359,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TableNameContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2744
                self.multipartIdentifier()
                self.state = 2746
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,356,self._ctx)
                if la_ == 1:
                    self.state = 2745
                    self.sample()


                self.state = 2748
                self.tableAlias()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.AliasedQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2750
                self.match(fugue_sqlParser.T__2)
                self.state = 2751
                self.query()
                self.state = 2752
                self.match(fugue_sqlParser.T__3)
                self.state = 2754
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,357,self._ctx)
                if la_ == 1:
                    self.state = 2753
                    self.sample()


                self.state = 2756
                self.tableAlias()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.AliasedRelationContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2758
                self.match(fugue_sqlParser.T__2)
                self.state = 2759
                self.relation()
                self.state = 2760
                self.match(fugue_sqlParser.T__3)
                self.state = 2762
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,358,self._ctx)
                if la_ == 1:
                    self.state = 2761
                    self.sample()


                self.state = 2764
                self.tableAlias()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.InlineTableDefault2Context(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2766
                self.inlineTable()
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.TableValuedFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 2767
                self.functionTable()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class InlineTableContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def VALUES(self):
            return self.getToken(fugue_sqlParser.VALUES, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_inlineTable

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInlineTable" ):
                return visitor.visitInlineTable(self)
            else:
                return visitor.visitChildren(self)




    def inlineTable(self):

        localctx = fugue_sqlParser.InlineTableContext(self, self._ctx, self.state)
        self.enterRule(localctx, 284, self.RULE_inlineTable)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2770
            self.match(fugue_sqlParser.VALUES)
            self.state = 2771
            self.expression()
            self.state = 2776
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,360,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2772
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2773
                    self.expression() 
                self.state = 2778
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,360,self._ctx)

            self.state = 2779
            self.tableAlias()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FunctionTableContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.funcName = None # ErrorCapturingIdentifierContext

        def tableAlias(self):
            return self.getTypedRuleContext(fugue_sqlParser.TableAliasContext,0)


        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_functionTable

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFunctionTable" ):
                return visitor.visitFunctionTable(self)
            else:
                return visitor.visitChildren(self)




    def functionTable(self):

        localctx = fugue_sqlParser.FunctionTableContext(self, self._ctx, self.state)
        self.enterRule(localctx, 286, self.RULE_functionTable)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2781
            localctx.funcName = self.errorCapturingIdentifier()
            self.state = 2782
            self.match(fugue_sqlParser.T__2)
            self.state = 2791
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,362,self._ctx)
            if la_ == 1:
                self.state = 2783
                self.expression()
                self.state = 2788
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2784
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2785
                    self.expression()
                    self.state = 2790
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)



            self.state = 2793
            self.match(fugue_sqlParser.T__3)
            self.state = 2794
            self.tableAlias()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TableAliasContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def strictIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.StrictIdentifierContext,0)


        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tableAlias

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableAlias" ):
                return visitor.visitTableAlias(self)
            else:
                return visitor.visitChildren(self)




    def tableAlias(self):

        localctx = fugue_sqlParser.TableAliasContext(self, self._ctx, self.state)
        self.enterRule(localctx, 288, self.RULE_tableAlias)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2803
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,365,self._ctx)
            if la_ == 1:
                self.state = 2797
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,363,self._ctx)
                if la_ == 1:
                    self.state = 2796
                    self.match(fugue_sqlParser.AS)


                self.state = 2799
                self.strictIdentifier()
                self.state = 2801
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,364,self._ctx)
                if la_ == 1:
                    self.state = 2800
                    self.identifierList()




        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class RowFormatContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_rowFormat

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class RowFormatSerdeContext(RowFormatContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RowFormatContext
            super().__init__(parser)
            self.name = None # Token
            self.props = None # TablePropertyListContext
            self.copyFrom(ctx)

        def ROW(self):
            return self.getToken(fugue_sqlParser.ROW, 0)
        def FORMAT(self):
            return self.getToken(fugue_sqlParser.FORMAT, 0)
        def SERDE(self):
            return self.getToken(fugue_sqlParser.SERDE, 0)
        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)
        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)
        def SERDEPROPERTIES(self):
            return self.getToken(fugue_sqlParser.SERDEPROPERTIES, 0)
        def tablePropertyList(self):
            return self.getTypedRuleContext(fugue_sqlParser.TablePropertyListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRowFormatSerde" ):
                return visitor.visitRowFormatSerde(self)
            else:
                return visitor.visitChildren(self)


    class RowFormatDelimitedContext(RowFormatContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.RowFormatContext
            super().__init__(parser)
            self.fieldsTerminatedBy = None # Token
            self.escapedBy = None # Token
            self.collectionItemsTerminatedBy = None # Token
            self.keysTerminatedBy = None # Token
            self.linesSeparatedBy = None # Token
            self.nullDefinedAs = None # Token
            self.copyFrom(ctx)

        def ROW(self):
            return self.getToken(fugue_sqlParser.ROW, 0)
        def FORMAT(self):
            return self.getToken(fugue_sqlParser.FORMAT, 0)
        def DELIMITED(self):
            return self.getToken(fugue_sqlParser.DELIMITED, 0)
        def FIELDS(self):
            return self.getToken(fugue_sqlParser.FIELDS, 0)
        def TERMINATED(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.TERMINATED)
            else:
                return self.getToken(fugue_sqlParser.TERMINATED, i)
        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)
        def COLLECTION(self):
            return self.getToken(fugue_sqlParser.COLLECTION, 0)
        def ITEMS(self):
            return self.getToken(fugue_sqlParser.ITEMS, 0)
        def MAP(self):
            return self.getToken(fugue_sqlParser.MAP, 0)
        def KEYS(self):
            return self.getToken(fugue_sqlParser.KEYS, 0)
        def LINES(self):
            return self.getToken(fugue_sqlParser.LINES, 0)
        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)
        def DEFINED(self):
            return self.getToken(fugue_sqlParser.DEFINED, 0)
        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)
        def STRING(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.STRING)
            else:
                return self.getToken(fugue_sqlParser.STRING, i)
        def ESCAPED(self):
            return self.getToken(fugue_sqlParser.ESCAPED, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRowFormatDelimited" ):
                return visitor.visitRowFormatDelimited(self)
            else:
                return visitor.visitChildren(self)



    def rowFormat(self):

        localctx = fugue_sqlParser.RowFormatContext(self, self._ctx, self.state)
        self.enterRule(localctx, 290, self.RULE_rowFormat)
        try:
            self.state = 2854
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,373,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.RowFormatSerdeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2805
                self.match(fugue_sqlParser.ROW)
                self.state = 2806
                self.match(fugue_sqlParser.FORMAT)
                self.state = 2807
                self.match(fugue_sqlParser.SERDE)
                self.state = 2808
                localctx.name = self.match(fugue_sqlParser.STRING)
                self.state = 2812
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,366,self._ctx)
                if la_ == 1:
                    self.state = 2809
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2810
                    self.match(fugue_sqlParser.SERDEPROPERTIES)
                    self.state = 2811
                    localctx.props = self.tablePropertyList()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.RowFormatDelimitedContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2814
                self.match(fugue_sqlParser.ROW)
                self.state = 2815
                self.match(fugue_sqlParser.FORMAT)
                self.state = 2816
                self.match(fugue_sqlParser.DELIMITED)
                self.state = 2826
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,368,self._ctx)
                if la_ == 1:
                    self.state = 2817
                    self.match(fugue_sqlParser.FIELDS)
                    self.state = 2818
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2819
                    self.match(fugue_sqlParser.BY)
                    self.state = 2820
                    localctx.fieldsTerminatedBy = self.match(fugue_sqlParser.STRING)
                    self.state = 2824
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,367,self._ctx)
                    if la_ == 1:
                        self.state = 2821
                        self.match(fugue_sqlParser.ESCAPED)
                        self.state = 2822
                        self.match(fugue_sqlParser.BY)
                        self.state = 2823
                        localctx.escapedBy = self.match(fugue_sqlParser.STRING)




                self.state = 2833
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,369,self._ctx)
                if la_ == 1:
                    self.state = 2828
                    self.match(fugue_sqlParser.COLLECTION)
                    self.state = 2829
                    self.match(fugue_sqlParser.ITEMS)
                    self.state = 2830
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2831
                    self.match(fugue_sqlParser.BY)
                    self.state = 2832
                    localctx.collectionItemsTerminatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 2840
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,370,self._ctx)
                if la_ == 1:
                    self.state = 2835
                    self.match(fugue_sqlParser.MAP)
                    self.state = 2836
                    self.match(fugue_sqlParser.KEYS)
                    self.state = 2837
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2838
                    self.match(fugue_sqlParser.BY)
                    self.state = 2839
                    localctx.keysTerminatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 2846
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,371,self._ctx)
                if la_ == 1:
                    self.state = 2842
                    self.match(fugue_sqlParser.LINES)
                    self.state = 2843
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2844
                    self.match(fugue_sqlParser.BY)
                    self.state = 2845
                    localctx.linesSeparatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 2852
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,372,self._ctx)
                if la_ == 1:
                    self.state = 2848
                    self.match(fugue_sqlParser.NULL)
                    self.state = 2849
                    self.match(fugue_sqlParser.DEFINED)
                    self.state = 2850
                    self.match(fugue_sqlParser.AS)
                    self.state = 2851
                    localctx.nullDefinedAs = self.match(fugue_sqlParser.STRING)


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MultipartIdentifierListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def multipartIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.MultipartIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_multipartIdentifierList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMultipartIdentifierList" ):
                return visitor.visitMultipartIdentifierList(self)
            else:
                return visitor.visitChildren(self)




    def multipartIdentifierList(self):

        localctx = fugue_sqlParser.MultipartIdentifierListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 292, self.RULE_multipartIdentifierList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2856
            self.multipartIdentifier()
            self.state = 2861
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2857
                self.match(fugue_sqlParser.T__0)
                self.state = 2858
                self.multipartIdentifier()
                self.state = 2863
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MultipartIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._errorCapturingIdentifier = None # ErrorCapturingIdentifierContext
            self.parts = list() # of ErrorCapturingIdentifierContexts

        def errorCapturingIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ErrorCapturingIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_multipartIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMultipartIdentifier" ):
                return visitor.visitMultipartIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def multipartIdentifier(self):

        localctx = fugue_sqlParser.MultipartIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 294, self.RULE_multipartIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2864
            localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
            localctx.parts.append(localctx._errorCapturingIdentifier)
            self.state = 2869
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,375,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2865
                    self.match(fugue_sqlParser.T__4)
                    self.state = 2866
                    localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
                    localctx.parts.append(localctx._errorCapturingIdentifier) 
                self.state = 2871
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,375,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TableIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.db = None # ErrorCapturingIdentifierContext
            self.table = None # ErrorCapturingIdentifierContext

        def errorCapturingIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ErrorCapturingIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_tableIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTableIdentifier" ):
                return visitor.visitTableIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def tableIdentifier(self):

        localctx = fugue_sqlParser.TableIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 296, self.RULE_tableIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2875
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,376,self._ctx)
            if la_ == 1:
                self.state = 2872
                localctx.db = self.errorCapturingIdentifier()
                self.state = 2873
                self.match(fugue_sqlParser.T__4)


            self.state = 2877
            localctx.table = self.errorCapturingIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FunctionIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.db = None # ErrorCapturingIdentifierContext
            self.function = None # ErrorCapturingIdentifierContext

        def errorCapturingIdentifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ErrorCapturingIdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_functionIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFunctionIdentifier" ):
                return visitor.visitFunctionIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def functionIdentifier(self):

        localctx = fugue_sqlParser.FunctionIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 298, self.RULE_functionIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2882
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,377,self._ctx)
            if la_ == 1:
                self.state = 2879
                localctx.db = self.errorCapturingIdentifier()
                self.state = 2880
                self.match(fugue_sqlParser.T__4)


            self.state = 2884
            localctx.function = self.errorCapturingIdentifier()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NamedExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.name = None # ErrorCapturingIdentifierContext

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def identifierList(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierListContext,0)


        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_namedExpression

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNamedExpression" ):
                return visitor.visitNamedExpression(self)
            else:
                return visitor.visitChildren(self)




    def namedExpression(self):

        localctx = fugue_sqlParser.NamedExpressionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 300, self.RULE_namedExpression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2886
            self.expression()
            self.state = 2894
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,380,self._ctx)
            if la_ == 1:
                self.state = 2888
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,378,self._ctx)
                if la_ == 1:
                    self.state = 2887
                    self.match(fugue_sqlParser.AS)


                self.state = 2892
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,379,self._ctx)
                if la_ == 1:
                    self.state = 2890
                    localctx.name = self.errorCapturingIdentifier()
                    pass

                elif la_ == 2:
                    self.state = 2891
                    self.identifierList()
                    pass




        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NamedExpressionSeqContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def namedExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NamedExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_namedExpressionSeq

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNamedExpressionSeq" ):
                return visitor.visitNamedExpressionSeq(self)
            else:
                return visitor.visitChildren(self)




    def namedExpressionSeq(self):

        localctx = fugue_sqlParser.NamedExpressionSeqContext(self, self._ctx, self.state)
        self.enterRule(localctx, 302, self.RULE_namedExpressionSeq)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2896
            self.namedExpression()
            self.state = 2901
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,381,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2897
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2898
                    self.namedExpression() 
                self.state = 2903
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,381,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TransformListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self._transform = None # TransformContext
            self.transforms = list() # of TransformContexts

        def transform(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TransformContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TransformContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_transformList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTransformList" ):
                return visitor.visitTransformList(self)
            else:
                return visitor.visitChildren(self)




    def transformList(self):

        localctx = fugue_sqlParser.TransformListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 304, self.RULE_transformList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2904
            self.match(fugue_sqlParser.T__2)
            self.state = 2905
            localctx._transform = self.transform()
            localctx.transforms.append(localctx._transform)
            self.state = 2910
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2906
                self.match(fugue_sqlParser.T__0)
                self.state = 2907
                localctx._transform = self.transform()
                localctx.transforms.append(localctx._transform)
                self.state = 2912
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2913
            self.match(fugue_sqlParser.T__3)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TransformContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_transform

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class IdentityTransformContext(TransformContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.TransformContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentityTransform" ):
                return visitor.visitIdentityTransform(self)
            else:
                return visitor.visitChildren(self)


    class ApplyTransformContext(TransformContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.TransformContext
            super().__init__(parser)
            self.transformName = None # IdentifierContext
            self._transformArgument = None # TransformArgumentContext
            self.argument = list() # of TransformArgumentContexts
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def transformArgument(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.TransformArgumentContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.TransformArgumentContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitApplyTransform" ):
                return visitor.visitApplyTransform(self)
            else:
                return visitor.visitChildren(self)



    def transform(self):

        localctx = fugue_sqlParser.TransformContext(self, self._ctx, self.state)
        self.enterRule(localctx, 306, self.RULE_transform)
        self._la = 0 # Token type
        try:
            self.state = 2928
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,384,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.IdentityTransformContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2915
                self.qualifiedName()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ApplyTransformContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2916
                localctx.transformName = self.identifier()
                self.state = 2917
                self.match(fugue_sqlParser.T__2)
                self.state = 2918
                localctx._transformArgument = self.transformArgument()
                localctx.argument.append(localctx._transformArgument)
                self.state = 2923
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2919
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2920
                    localctx._transformArgument = self.transformArgument()
                    localctx.argument.append(localctx._transformArgument)
                    self.state = 2925
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2926
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class TransformArgumentContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def constant(self):
            return self.getTypedRuleContext(fugue_sqlParser.ConstantContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_transformArgument

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTransformArgument" ):
                return visitor.visitTransformArgument(self)
            else:
                return visitor.visitChildren(self)




    def transformArgument(self):

        localctx = fugue_sqlParser.TransformArgumentContext(self, self._ctx, self.state)
        self.enterRule(localctx, 308, self.RULE_transformArgument)
        try:
            self.state = 2932
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,385,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2930
                self.qualifiedName()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2931
                self.constant()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_expression

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitExpression" ):
                return visitor.visitExpression(self)
            else:
                return visitor.visitChildren(self)




    def expression(self):

        localctx = fugue_sqlParser.ExpressionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 310, self.RULE_expression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2934
            self.booleanExpression(0)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class BooleanExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_booleanExpression

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)


    class LogicalNotContext(BooleanExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.BooleanExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)
        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLogicalNot" ):
                return visitor.visitLogicalNot(self)
            else:
                return visitor.visitChildren(self)


    class PredicatedContext(BooleanExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.BooleanExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def valueExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,0)

        def predicate(self):
            return self.getTypedRuleContext(fugue_sqlParser.PredicateContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPredicated" ):
                return visitor.visitPredicated(self)
            else:
                return visitor.visitChildren(self)


    class ExistsContext(BooleanExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.BooleanExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)
        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitExists" ):
                return visitor.visitExists(self)
            else:
                return visitor.visitChildren(self)


    class LogicalBinaryContext(BooleanExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.BooleanExpressionContext
            super().__init__(parser)
            self.left = None # BooleanExpressionContext
            self.operator = None # Token
            self.right = None # BooleanExpressionContext
            self.copyFrom(ctx)

        def booleanExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.BooleanExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,i)

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)
        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLogicalBinary" ):
                return visitor.visitLogicalBinary(self)
            else:
                return visitor.visitChildren(self)



    def booleanExpression(self, _p:int=0):
        _parentctx = self._ctx
        _parentState = self.state
        localctx = fugue_sqlParser.BooleanExpressionContext(self, self._ctx, _parentState)
        _prevctx = localctx
        _startState = 312
        self.enterRecursionRule(localctx, 312, self.RULE_booleanExpression, _p)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2948
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,387,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.LogicalNotContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 2937
                self.match(fugue_sqlParser.NOT)
                self.state = 2938
                self.booleanExpression(5)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ExistsContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 2939
                self.match(fugue_sqlParser.EXISTS)
                self.state = 2940
                self.match(fugue_sqlParser.T__2)
                self.state = 2941
                self.query()
                self.state = 2942
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.PredicatedContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 2944
                self.valueExpression(0)
                self.state = 2946
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,386,self._ctx)
                if la_ == 1:
                    self.state = 2945
                    self.predicate()


                pass


            self._ctx.stop = self._input.LT(-1)
            self.state = 2958
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,389,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    if self._parseListeners is not None:
                        self.triggerExitRuleEvent()
                    _prevctx = localctx
                    self.state = 2956
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,388,self._ctx)
                    if la_ == 1:
                        localctx = fugue_sqlParser.LogicalBinaryContext(self, fugue_sqlParser.BooleanExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_booleanExpression)
                        self.state = 2950
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 2951
                        localctx.operator = self.match(fugue_sqlParser.AND)
                        self.state = 2952
                        localctx.right = self.booleanExpression(3)
                        pass

                    elif la_ == 2:
                        localctx = fugue_sqlParser.LogicalBinaryContext(self, fugue_sqlParser.BooleanExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_booleanExpression)
                        self.state = 2953
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 2954
                        localctx.operator = self.match(fugue_sqlParser.OR)
                        self.state = 2955
                        localctx.right = self.booleanExpression(2)
                        pass

             
                self.state = 2960
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,389,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.unrollRecursionContexts(_parentctx)
        return localctx


    class PredicateContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.kind = None # Token
            self.lower = None # ValueExpressionContext
            self.upper = None # ValueExpressionContext
            self.pattern = None # ValueExpressionContext
            self.quantifier = None # Token
            self.escapeChar = None # Token
            self.right = None # ValueExpressionContext

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def BETWEEN(self):
            return self.getToken(fugue_sqlParser.BETWEEN, 0)

        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def RLIKE(self):
            return self.getToken(fugue_sqlParser.RLIKE, 0)

        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def ANY(self):
            return self.getToken(fugue_sqlParser.ANY, 0)

        def SOME(self):
            return self.getToken(fugue_sqlParser.SOME, 0)

        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def ESCAPE(self):
            return self.getToken(fugue_sqlParser.ESCAPE, 0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def IS(self):
            return self.getToken(fugue_sqlParser.IS, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def TRUE(self):
            return self.getToken(fugue_sqlParser.TRUE, 0)

        def FALSE(self):
            return self.getToken(fugue_sqlParser.FALSE, 0)

        def UNKNOWN(self):
            return self.getToken(fugue_sqlParser.UNKNOWN, 0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)

        def DISTINCT(self):
            return self.getToken(fugue_sqlParser.DISTINCT, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_predicate

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPredicate" ):
                return visitor.visitPredicate(self)
            else:
                return visitor.visitChildren(self)




    def predicate(self):

        localctx = fugue_sqlParser.PredicateContext(self, self._ctx, self.state)
        self.enterRule(localctx, 314, self.RULE_predicate)
        self._la = 0 # Token type
        try:
            self.state = 3043
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,403,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2962
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 2961
                    self.match(fugue_sqlParser.NOT)


                self.state = 2964
                localctx.kind = self.match(fugue_sqlParser.BETWEEN)
                self.state = 2965
                localctx.lower = self.valueExpression(0)
                self.state = 2966
                self.match(fugue_sqlParser.AND)
                self.state = 2967
                localctx.upper = self.valueExpression(0)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2970
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 2969
                    self.match(fugue_sqlParser.NOT)


                self.state = 2972
                localctx.kind = self.match(fugue_sqlParser.IN)
                self.state = 2973
                self.match(fugue_sqlParser.T__2)
                self.state = 2974
                self.expression()
                self.state = 2979
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2975
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2976
                    self.expression()
                    self.state = 2981
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2982
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2985
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 2984
                    self.match(fugue_sqlParser.NOT)


                self.state = 2987
                localctx.kind = self.match(fugue_sqlParser.IN)
                self.state = 2988
                self.match(fugue_sqlParser.T__2)
                self.state = 2989
                self.query()
                self.state = 2990
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 2993
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 2992
                    self.match(fugue_sqlParser.NOT)


                self.state = 2995
                localctx.kind = self.match(fugue_sqlParser.RLIKE)
                self.state = 2996
                localctx.pattern = self.valueExpression(0)
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 2998
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 2997
                    self.match(fugue_sqlParser.NOT)


                self.state = 3000
                localctx.kind = self.match(fugue_sqlParser.LIKE)
                self.state = 3001
                localctx.quantifier = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ALL or _la==fugue_sqlParser.ANY or _la==fugue_sqlParser.SOME):
                    localctx.quantifier = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3015
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,397,self._ctx)
                if la_ == 1:
                    self.state = 3002
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3003
                    self.match(fugue_sqlParser.T__3)
                    pass

                elif la_ == 2:
                    self.state = 3004
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3005
                    self.expression()
                    self.state = 3010
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3006
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3007
                        self.expression()
                        self.state = 3012
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    self.state = 3013
                    self.match(fugue_sqlParser.T__3)
                    pass


                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 3018
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3017
                    self.match(fugue_sqlParser.NOT)


                self.state = 3020
                localctx.kind = self.match(fugue_sqlParser.LIKE)
                self.state = 3021
                localctx.pattern = self.valueExpression(0)
                self.state = 3024
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,399,self._ctx)
                if la_ == 1:
                    self.state = 3022
                    self.match(fugue_sqlParser.ESCAPE)
                    self.state = 3023
                    localctx.escapeChar = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 3026
                self.match(fugue_sqlParser.IS)
                self.state = 3028
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3027
                    self.match(fugue_sqlParser.NOT)


                self.state = 3030
                localctx.kind = self.match(fugue_sqlParser.NULL)
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 3031
                self.match(fugue_sqlParser.IS)
                self.state = 3033
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3032
                    self.match(fugue_sqlParser.NOT)


                self.state = 3035
                localctx.kind = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FALSE or _la==fugue_sqlParser.TRUE or _la==fugue_sqlParser.UNKNOWN):
                    localctx.kind = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 9:
                self.enterOuterAlt(localctx, 9)
                self.state = 3036
                self.match(fugue_sqlParser.IS)
                self.state = 3038
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3037
                    self.match(fugue_sqlParser.NOT)


                self.state = 3040
                localctx.kind = self.match(fugue_sqlParser.DISTINCT)
                self.state = 3041
                self.match(fugue_sqlParser.FROM)
                self.state = 3042
                localctx.right = self.valueExpression(0)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ValueExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_valueExpression

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)


    class ValueExpressionDefaultContext(ValueExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ValueExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def primaryExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.PrimaryExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitValueExpressionDefault" ):
                return visitor.visitValueExpressionDefault(self)
            else:
                return visitor.visitChildren(self)


    class ComparisonContext(ValueExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ValueExpressionContext
            super().__init__(parser)
            self.left = None # ValueExpressionContext
            self.right = None # ValueExpressionContext
            self.copyFrom(ctx)

        def comparisonOperator(self):
            return self.getTypedRuleContext(fugue_sqlParser.ComparisonOperatorContext,0)

        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComparison" ):
                return visitor.visitComparison(self)
            else:
                return visitor.visitChildren(self)


    class ArithmeticBinaryContext(ValueExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ValueExpressionContext
            super().__init__(parser)
            self.left = None # ValueExpressionContext
            self.operator = None # Token
            self.right = None # ValueExpressionContext
            self.copyFrom(ctx)

        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)
        def SLASH(self):
            return self.getToken(fugue_sqlParser.SLASH, 0)
        def PERCENT(self):
            return self.getToken(fugue_sqlParser.PERCENT, 0)
        def DIV(self):
            return self.getToken(fugue_sqlParser.DIV, 0)
        def PLUS(self):
            return self.getToken(fugue_sqlParser.PLUS, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)
        def CONCAT_PIPE(self):
            return self.getToken(fugue_sqlParser.CONCAT_PIPE, 0)
        def AMPERSAND(self):
            return self.getToken(fugue_sqlParser.AMPERSAND, 0)
        def HAT(self):
            return self.getToken(fugue_sqlParser.HAT, 0)
        def PIPE(self):
            return self.getToken(fugue_sqlParser.PIPE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitArithmeticBinary" ):
                return visitor.visitArithmeticBinary(self)
            else:
                return visitor.visitChildren(self)


    class ArithmeticUnaryContext(ValueExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ValueExpressionContext
            super().__init__(parser)
            self.operator = None # Token
            self.copyFrom(ctx)

        def valueExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,0)

        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)
        def PLUS(self):
            return self.getToken(fugue_sqlParser.PLUS, 0)
        def TILDE(self):
            return self.getToken(fugue_sqlParser.TILDE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitArithmeticUnary" ):
                return visitor.visitArithmeticUnary(self)
            else:
                return visitor.visitChildren(self)



    def valueExpression(self, _p:int=0):
        _parentctx = self._ctx
        _parentState = self.state
        localctx = fugue_sqlParser.ValueExpressionContext(self, self._ctx, _parentState)
        _prevctx = localctx
        _startState = 316
        self.enterRecursionRule(localctx, 316, self.RULE_valueExpression, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3049
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,404,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ValueExpressionDefaultContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 3046
                self.primaryExpression(0)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ArithmeticUnaryContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3047
                localctx.operator = self._input.LT(1)
                _la = self._input.LA(1)
                if not(((((_la - 304)) & ~0x3f) == 0 and ((1 << (_la - 304)) & ((1 << (fugue_sqlParser.PLUS - 304)) | (1 << (fugue_sqlParser.MINUS - 304)) | (1 << (fugue_sqlParser.TILDE - 304)))) != 0)):
                    localctx.operator = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3048
                self.valueExpression(7)
                pass


            self._ctx.stop = self._input.LT(-1)
            self.state = 3072
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,406,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    if self._parseListeners is not None:
                        self.triggerExitRuleEvent()
                    _prevctx = localctx
                    self.state = 3070
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,405,self._ctx)
                    if la_ == 1:
                        localctx = fugue_sqlParser.ArithmeticBinaryContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3051
                        if not self.precpred(self._ctx, 6):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 6)")
                        self.state = 3052
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(((((_la - 306)) & ~0x3f) == 0 and ((1 << (_la - 306)) & ((1 << (fugue_sqlParser.ASTERISK - 306)) | (1 << (fugue_sqlParser.SLASH - 306)) | (1 << (fugue_sqlParser.PERCENT - 306)) | (1 << (fugue_sqlParser.DIV - 306)))) != 0)):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3053
                        localctx.right = self.valueExpression(7)
                        pass

                    elif la_ == 2:
                        localctx = fugue_sqlParser.ArithmeticBinaryContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3054
                        if not self.precpred(self._ctx, 5):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 5)")
                        self.state = 3055
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(((((_la - 304)) & ~0x3f) == 0 and ((1 << (_la - 304)) & ((1 << (fugue_sqlParser.PLUS - 304)) | (1 << (fugue_sqlParser.MINUS - 304)) | (1 << (fugue_sqlParser.CONCAT_PIPE - 304)))) != 0)):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3056
                        localctx.right = self.valueExpression(6)
                        pass

                    elif la_ == 3:
                        localctx = fugue_sqlParser.ArithmeticBinaryContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3057
                        if not self.precpred(self._ctx, 4):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 4)")
                        self.state = 3058
                        localctx.operator = self.match(fugue_sqlParser.AMPERSAND)
                        self.state = 3059
                        localctx.right = self.valueExpression(5)
                        pass

                    elif la_ == 4:
                        localctx = fugue_sqlParser.ArithmeticBinaryContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3060
                        if not self.precpred(self._ctx, 3):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 3)")
                        self.state = 3061
                        localctx.operator = self.match(fugue_sqlParser.HAT)
                        self.state = 3062
                        localctx.right = self.valueExpression(4)
                        pass

                    elif la_ == 5:
                        localctx = fugue_sqlParser.ArithmeticBinaryContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3063
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 3064
                        localctx.operator = self.match(fugue_sqlParser.PIPE)
                        self.state = 3065
                        localctx.right = self.valueExpression(3)
                        pass

                    elif la_ == 6:
                        localctx = fugue_sqlParser.ComparisonContext(self, fugue_sqlParser.ValueExpressionContext(self, _parentctx, _parentState))
                        localctx.left = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_valueExpression)
                        self.state = 3066
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 3067
                        self.comparisonOperator()
                        self.state = 3068
                        localctx.right = self.valueExpression(2)
                        pass

             
                self.state = 3074
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,406,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.unrollRecursionContexts(_parentctx)
        return localctx


    class PrimaryExpressionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_primaryExpression

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)


    class StructContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self._namedExpression = None # NamedExpressionContext
            self.argument = list() # of NamedExpressionContexts
            self.copyFrom(ctx)

        def STRUCT(self):
            return self.getToken(fugue_sqlParser.STRUCT, 0)
        def namedExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NamedExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStruct" ):
                return visitor.visitStruct(self)
            else:
                return visitor.visitChildren(self)


    class DereferenceContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.base = None # PrimaryExpressionContext
            self.fieldName = None # IdentifierContext
            self.copyFrom(ctx)

        def primaryExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.PrimaryExpressionContext,0)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDereference" ):
                return visitor.visitDereference(self)
            else:
                return visitor.visitChildren(self)


    class SimpleCaseContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.value = None # ExpressionContext
            self.elseExpression = None # ExpressionContext
            self.copyFrom(ctx)

        def CASE(self):
            return self.getToken(fugue_sqlParser.CASE, 0)
        def END(self):
            return self.getToken(fugue_sqlParser.END, 0)
        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)

        def whenClause(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.WhenClauseContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.WhenClauseContext,i)

        def ELSE(self):
            return self.getToken(fugue_sqlParser.ELSE, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSimpleCase" ):
                return visitor.visitSimpleCase(self)
            else:
                return visitor.visitChildren(self)


    class ColumnReferenceContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitColumnReference" ):
                return visitor.visitColumnReference(self)
            else:
                return visitor.visitChildren(self)


    class RowConstructorContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def namedExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NamedExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NamedExpressionContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRowConstructor" ):
                return visitor.visitRowConstructor(self)
            else:
                return visitor.visitChildren(self)


    class LastContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def LAST(self):
            return self.getToken(fugue_sqlParser.LAST, 0)
        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)

        def IGNORE(self):
            return self.getToken(fugue_sqlParser.IGNORE, 0)
        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLast" ):
                return visitor.visitLast(self)
            else:
                return visitor.visitChildren(self)


    class StarContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)
        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStar" ):
                return visitor.visitStar(self)
            else:
                return visitor.visitChildren(self)


    class OverlayContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.iinput = None # ValueExpressionContext
            self.replace = None # ValueExpressionContext
            self.position = None # ValueExpressionContext
            self.length = None # ValueExpressionContext
            self.copyFrom(ctx)

        def OVERLAY(self):
            return self.getToken(fugue_sqlParser.OVERLAY, 0)
        def PLACING(self):
            return self.getToken(fugue_sqlParser.PLACING, 0)
        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)

        def FOR(self):
            return self.getToken(fugue_sqlParser.FOR, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitOverlay" ):
                return visitor.visitOverlay(self)
            else:
                return visitor.visitChildren(self)


    class SubscriptContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.value = None # PrimaryExpressionContext
            self.index = None # ValueExpressionContext
            self.copyFrom(ctx)

        def primaryExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.PrimaryExpressionContext,0)

        def valueExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSubscript" ):
                return visitor.visitSubscript(self)
            else:
                return visitor.visitChildren(self)


    class SubqueryExpressionContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def query(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSubqueryExpression" ):
                return visitor.visitSubqueryExpression(self)
            else:
                return visitor.visitChildren(self)


    class SubstringContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.istr = None # ValueExpressionContext
            self.pos = None # ValueExpressionContext
            self.ilen = None # ValueExpressionContext
            self.copyFrom(ctx)

        def SUBSTR(self):
            return self.getToken(fugue_sqlParser.SUBSTR, 0)
        def SUBSTRING(self):
            return self.getToken(fugue_sqlParser.SUBSTRING, 0)
        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def FOR(self):
            return self.getToken(fugue_sqlParser.FOR, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSubstring" ):
                return visitor.visitSubstring(self)
            else:
                return visitor.visitChildren(self)


    class CurrentDatetimeContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.name = None # Token
            self.copyFrom(ctx)

        def CURRENT_DATE(self):
            return self.getToken(fugue_sqlParser.CURRENT_DATE, 0)
        def CURRENT_TIMESTAMP(self):
            return self.getToken(fugue_sqlParser.CURRENT_TIMESTAMP, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCurrentDatetime" ):
                return visitor.visitCurrentDatetime(self)
            else:
                return visitor.visitChildren(self)


    class CastContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def CAST(self):
            return self.getToken(fugue_sqlParser.CAST, 0)
        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)
        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitCast" ):
                return visitor.visitCast(self)
            else:
                return visitor.visitChildren(self)


    class ConstantDefaultContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def constant(self):
            return self.getTypedRuleContext(fugue_sqlParser.ConstantContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitConstantDefault" ):
                return visitor.visitConstantDefault(self)
            else:
                return visitor.visitChildren(self)


    class LambdaContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLambda" ):
                return visitor.visitLambda(self)
            else:
                return visitor.visitChildren(self)


    class ParenthesizedExpressionContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitParenthesizedExpression" ):
                return visitor.visitParenthesizedExpression(self)
            else:
                return visitor.visitChildren(self)


    class ExtractContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.field = None # IdentifierContext
            self.source = None # ValueExpressionContext
            self.copyFrom(ctx)

        def EXTRACT(self):
            return self.getToken(fugue_sqlParser.EXTRACT, 0)
        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def valueExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitExtract" ):
                return visitor.visitExtract(self)
            else:
                return visitor.visitChildren(self)


    class TrimContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.trimOption = None # Token
            self.trimStr = None # ValueExpressionContext
            self.srcStr = None # ValueExpressionContext
            self.copyFrom(ctx)

        def TRIM(self):
            return self.getToken(fugue_sqlParser.TRIM, 0)
        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)
        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)

        def BOTH(self):
            return self.getToken(fugue_sqlParser.BOTH, 0)
        def LEADING(self):
            return self.getToken(fugue_sqlParser.LEADING, 0)
        def TRAILING(self):
            return self.getToken(fugue_sqlParser.TRAILING, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTrim" ):
                return visitor.visitTrim(self)
            else:
                return visitor.visitChildren(self)


    class FunctionCallContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self._expression = None # ExpressionContext
            self.argument = list() # of ExpressionContexts
            self.where = None # BooleanExpressionContext
            self.copyFrom(ctx)

        def functionName(self):
            return self.getTypedRuleContext(fugue_sqlParser.FunctionNameContext,0)

        def FILTER(self):
            return self.getToken(fugue_sqlParser.FILTER, 0)
        def WHERE(self):
            return self.getToken(fugue_sqlParser.WHERE, 0)
        def OVER(self):
            return self.getToken(fugue_sqlParser.OVER, 0)
        def windowSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowSpecContext,0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)

        def booleanExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanExpressionContext,0)

        def setQuantifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.SetQuantifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFunctionCall" ):
                return visitor.visitFunctionCall(self)
            else:
                return visitor.visitChildren(self)


    class SearchedCaseContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.elseExpression = None # ExpressionContext
            self.copyFrom(ctx)

        def CASE(self):
            return self.getToken(fugue_sqlParser.CASE, 0)
        def END(self):
            return self.getToken(fugue_sqlParser.END, 0)
        def whenClause(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.WhenClauseContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.WhenClauseContext,i)

        def ELSE(self):
            return self.getToken(fugue_sqlParser.ELSE, 0)
        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSearchedCase" ):
                return visitor.visitSearchedCase(self)
            else:
                return visitor.visitChildren(self)


    class PositionContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.substr = None # ValueExpressionContext
            self.istr = None # ValueExpressionContext
            self.copyFrom(ctx)

        def POSITION(self):
            return self.getToken(fugue_sqlParser.POSITION, 0)
        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)
        def valueExpression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ValueExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ValueExpressionContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPosition" ):
                return visitor.visitPosition(self)
            else:
                return visitor.visitChildren(self)


    class FirstContext(PrimaryExpressionContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.PrimaryExpressionContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def FIRST(self):
            return self.getToken(fugue_sqlParser.FIRST, 0)
        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)

        def IGNORE(self):
            return self.getToken(fugue_sqlParser.IGNORE, 0)
        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFirst" ):
                return visitor.visitFirst(self)
            else:
                return visitor.visitChildren(self)



    def primaryExpression(self, _p:int=0):
        _parentctx = self._ctx
        _parentState = self.state
        localctx = fugue_sqlParser.PrimaryExpressionContext(self, self._ctx, _parentState)
        _prevctx = localctx
        _startState = 318
        self.enterRecursionRule(localctx, 318, self.RULE_primaryExpression, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3259
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,426,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.CurrentDatetimeContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 3076
                localctx.name = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.CURRENT_DATE or _la==fugue_sqlParser.CURRENT_TIMESTAMP):
                    localctx.name = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.SearchedCaseContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3077
                self.match(fugue_sqlParser.CASE)
                self.state = 3079 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3078
                    self.whenClause()
                    self.state = 3081 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.WHEN):
                        break

                self.state = 3085
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ELSE:
                    self.state = 3083
                    self.match(fugue_sqlParser.ELSE)
                    self.state = 3084
                    localctx.elseExpression = self.expression()


                self.state = 3087
                self.match(fugue_sqlParser.END)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.SimpleCaseContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3089
                self.match(fugue_sqlParser.CASE)
                self.state = 3090
                localctx.value = self.expression()
                self.state = 3092 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3091
                    self.whenClause()
                    self.state = 3094 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.WHEN):
                        break

                self.state = 3098
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ELSE:
                    self.state = 3096
                    self.match(fugue_sqlParser.ELSE)
                    self.state = 3097
                    localctx.elseExpression = self.expression()


                self.state = 3100
                self.match(fugue_sqlParser.END)
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.CastContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3102
                self.match(fugue_sqlParser.CAST)
                self.state = 3103
                self.match(fugue_sqlParser.T__2)
                self.state = 3104
                self.expression()
                self.state = 3105
                self.match(fugue_sqlParser.AS)
                self.state = 3106
                self.dataType()
                self.state = 3107
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.StructContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3109
                self.match(fugue_sqlParser.STRUCT)
                self.state = 3110
                self.match(fugue_sqlParser.T__2)
                self.state = 3119
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,412,self._ctx)
                if la_ == 1:
                    self.state = 3111
                    localctx._namedExpression = self.namedExpression()
                    localctx.argument.append(localctx._namedExpression)
                    self.state = 3116
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3112
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3113
                        localctx._namedExpression = self.namedExpression()
                        localctx.argument.append(localctx._namedExpression)
                        self.state = 3118
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



                self.state = 3121
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.FirstContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3122
                self.match(fugue_sqlParser.FIRST)
                self.state = 3123
                self.match(fugue_sqlParser.T__2)
                self.state = 3124
                self.expression()
                self.state = 3127
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IGNORE:
                    self.state = 3125
                    self.match(fugue_sqlParser.IGNORE)
                    self.state = 3126
                    self.match(fugue_sqlParser.NULLS)


                self.state = 3129
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 7:
                localctx = fugue_sqlParser.LastContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3131
                self.match(fugue_sqlParser.LAST)
                self.state = 3132
                self.match(fugue_sqlParser.T__2)
                self.state = 3133
                self.expression()
                self.state = 3136
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IGNORE:
                    self.state = 3134
                    self.match(fugue_sqlParser.IGNORE)
                    self.state = 3135
                    self.match(fugue_sqlParser.NULLS)


                self.state = 3138
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 8:
                localctx = fugue_sqlParser.PositionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3140
                self.match(fugue_sqlParser.POSITION)
                self.state = 3141
                self.match(fugue_sqlParser.T__2)
                self.state = 3142
                localctx.substr = self.valueExpression(0)
                self.state = 3143
                self.match(fugue_sqlParser.IN)
                self.state = 3144
                localctx.istr = self.valueExpression(0)
                self.state = 3145
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.ConstantDefaultContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3147
                self.constant()
                pass

            elif la_ == 10:
                localctx = fugue_sqlParser.StarContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3148
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 11:
                localctx = fugue_sqlParser.StarContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3149
                self.qualifiedName()
                self.state = 3150
                self.match(fugue_sqlParser.T__4)
                self.state = 3151
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 12:
                localctx = fugue_sqlParser.RowConstructorContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3153
                self.match(fugue_sqlParser.T__2)
                self.state = 3154
                self.namedExpression()
                self.state = 3157 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3155
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3156
                    self.namedExpression()
                    self.state = 3159 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.T__0):
                        break

                self.state = 3161
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 13:
                localctx = fugue_sqlParser.SubqueryExpressionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3163
                self.match(fugue_sqlParser.T__2)
                self.state = 3164
                self.query()
                self.state = 3165
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 14:
                localctx = fugue_sqlParser.FunctionCallContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3167
                self.functionName()
                self.state = 3168
                self.match(fugue_sqlParser.T__2)
                self.state = 3180
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,418,self._ctx)
                if la_ == 1:
                    self.state = 3170
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,416,self._ctx)
                    if la_ == 1:
                        self.state = 3169
                        self.setQuantifier()


                    self.state = 3172
                    localctx._expression = self.expression()
                    localctx.argument.append(localctx._expression)
                    self.state = 3177
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3173
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3174
                        localctx._expression = self.expression()
                        localctx.argument.append(localctx._expression)
                        self.state = 3179
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



                self.state = 3182
                self.match(fugue_sqlParser.T__3)
                self.state = 3189
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,419,self._ctx)
                if la_ == 1:
                    self.state = 3183
                    self.match(fugue_sqlParser.FILTER)
                    self.state = 3184
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3185
                    self.match(fugue_sqlParser.WHERE)
                    self.state = 3186
                    localctx.where = self.booleanExpression(0)
                    self.state = 3187
                    self.match(fugue_sqlParser.T__3)


                self.state = 3193
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,420,self._ctx)
                if la_ == 1:
                    self.state = 3191
                    self.match(fugue_sqlParser.OVER)
                    self.state = 3192
                    self.windowSpec()


                pass

            elif la_ == 15:
                localctx = fugue_sqlParser.LambdaContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3195
                self.identifier()
                self.state = 3196
                self.match(fugue_sqlParser.T__15)
                self.state = 3197
                self.expression()
                pass

            elif la_ == 16:
                localctx = fugue_sqlParser.LambdaContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3199
                self.match(fugue_sqlParser.T__2)
                self.state = 3200
                self.identifier()
                self.state = 3203 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3201
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3202
                    self.identifier()
                    self.state = 3205 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.T__0):
                        break

                self.state = 3207
                self.match(fugue_sqlParser.T__3)
                self.state = 3208
                self.match(fugue_sqlParser.T__15)
                self.state = 3209
                self.expression()
                pass

            elif la_ == 17:
                localctx = fugue_sqlParser.ColumnReferenceContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3211
                self.identifier()
                pass

            elif la_ == 18:
                localctx = fugue_sqlParser.ParenthesizedExpressionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3212
                self.match(fugue_sqlParser.T__2)
                self.state = 3213
                self.expression()
                self.state = 3214
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 19:
                localctx = fugue_sqlParser.ExtractContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3216
                self.match(fugue_sqlParser.EXTRACT)
                self.state = 3217
                self.match(fugue_sqlParser.T__2)
                self.state = 3218
                localctx.field = self.identifier()
                self.state = 3219
                self.match(fugue_sqlParser.FROM)
                self.state = 3220
                localctx.source = self.valueExpression(0)
                self.state = 3221
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 20:
                localctx = fugue_sqlParser.SubstringContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3223
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.SUBSTR or _la==fugue_sqlParser.SUBSTRING):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3224
                self.match(fugue_sqlParser.T__2)
                self.state = 3225
                localctx.istr = self.valueExpression(0)
                self.state = 3226
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.T__0 or _la==fugue_sqlParser.FROM):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3227
                localctx.pos = self.valueExpression(0)
                self.state = 3230
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0 or _la==fugue_sqlParser.FOR:
                    self.state = 3228
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.T__0 or _la==fugue_sqlParser.FOR):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 3229
                    localctx.ilen = self.valueExpression(0)


                self.state = 3232
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 21:
                localctx = fugue_sqlParser.TrimContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3234
                self.match(fugue_sqlParser.TRIM)
                self.state = 3235
                self.match(fugue_sqlParser.T__2)
                self.state = 3237
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,423,self._ctx)
                if la_ == 1:
                    self.state = 3236
                    localctx.trimOption = self._input.LT(1)
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.BOTH or _la==fugue_sqlParser.LEADING or _la==fugue_sqlParser.TRAILING):
                        localctx.trimOption = self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                self.state = 3240
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,424,self._ctx)
                if la_ == 1:
                    self.state = 3239
                    localctx.trimStr = self.valueExpression(0)


                self.state = 3242
                self.match(fugue_sqlParser.FROM)
                self.state = 3243
                localctx.srcStr = self.valueExpression(0)
                self.state = 3244
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 22:
                localctx = fugue_sqlParser.OverlayContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3246
                self.match(fugue_sqlParser.OVERLAY)
                self.state = 3247
                self.match(fugue_sqlParser.T__2)
                self.state = 3248
                localctx.iinput = self.valueExpression(0)
                self.state = 3249
                self.match(fugue_sqlParser.PLACING)
                self.state = 3250
                localctx.replace = self.valueExpression(0)
                self.state = 3251
                self.match(fugue_sqlParser.FROM)
                self.state = 3252
                localctx.position = self.valueExpression(0)
                self.state = 3255
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FOR:
                    self.state = 3253
                    self.match(fugue_sqlParser.FOR)
                    self.state = 3254
                    localctx.length = self.valueExpression(0)


                self.state = 3257
                self.match(fugue_sqlParser.T__3)
                pass


            self._ctx.stop = self._input.LT(-1)
            self.state = 3271
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,428,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    if self._parseListeners is not None:
                        self.triggerExitRuleEvent()
                    _prevctx = localctx
                    self.state = 3269
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,427,self._ctx)
                    if la_ == 1:
                        localctx = fugue_sqlParser.SubscriptContext(self, fugue_sqlParser.PrimaryExpressionContext(self, _parentctx, _parentState))
                        localctx.value = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_primaryExpression)
                        self.state = 3261
                        if not self.precpred(self._ctx, 8):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 8)")
                        self.state = 3262
                        self.match(fugue_sqlParser.T__5)
                        self.state = 3263
                        localctx.index = self.valueExpression(0)
                        self.state = 3264
                        self.match(fugue_sqlParser.T__6)
                        pass

                    elif la_ == 2:
                        localctx = fugue_sqlParser.DereferenceContext(self, fugue_sqlParser.PrimaryExpressionContext(self, _parentctx, _parentState))
                        localctx.base = _prevctx
                        self.pushNewRecursionContext(localctx, _startState, self.RULE_primaryExpression)
                        self.state = 3266
                        if not self.precpred(self._ctx, 6):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 6)")
                        self.state = 3267
                        self.match(fugue_sqlParser.T__4)
                        self.state = 3268
                        localctx.fieldName = self.identifier()
                        pass

             
                self.state = 3273
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,428,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.unrollRecursionContexts(_parentctx)
        return localctx


    class ConstantContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_constant

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class NullLiteralContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNullLiteral" ):
                return visitor.visitNullLiteral(self)
            else:
                return visitor.visitChildren(self)


    class StringLiteralContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def STRING(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.STRING)
            else:
                return self.getToken(fugue_sqlParser.STRING, i)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStringLiteral" ):
                return visitor.visitStringLiteral(self)
            else:
                return visitor.visitChildren(self)


    class TypeConstructorContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTypeConstructor" ):
                return visitor.visitTypeConstructor(self)
            else:
                return visitor.visitChildren(self)


    class IntervalLiteralContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def interval(self):
            return self.getTypedRuleContext(fugue_sqlParser.IntervalContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIntervalLiteral" ):
                return visitor.visitIntervalLiteral(self)
            else:
                return visitor.visitChildren(self)


    class NumericLiteralContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def number(self):
            return self.getTypedRuleContext(fugue_sqlParser.NumberContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNumericLiteral" ):
                return visitor.visitNumericLiteral(self)
            else:
                return visitor.visitChildren(self)


    class BooleanLiteralContext(ConstantContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ConstantContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def booleanValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.BooleanValueContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitBooleanLiteral" ):
                return visitor.visitBooleanLiteral(self)
            else:
                return visitor.visitChildren(self)



    def constant(self):

        localctx = fugue_sqlParser.ConstantContext(self, self._ctx, self.state)
        self.enterRule(localctx, 320, self.RULE_constant)
        try:
            self.state = 3286
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,430,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.NullLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3274
                self.match(fugue_sqlParser.NULL)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.IntervalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3275
                self.interval()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.TypeConstructorContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3276
                self.identifier()
                self.state = 3277
                self.match(fugue_sqlParser.STRING)
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.NumericLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3279
                self.number()
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.BooleanLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 3280
                self.booleanValue()
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.StringLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 3282 
                self._errHandler.sync(self)
                _alt = 1
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt == 1:
                        self.state = 3281
                        self.match(fugue_sqlParser.STRING)

                    else:
                        raise NoViableAltException(self)
                    self.state = 3284 
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,429,self._ctx)

                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ComparisonOperatorContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def comparisonEqualOperator(self):
            return self.getTypedRuleContext(fugue_sqlParser.ComparisonEqualOperatorContext,0)


        def NEQ(self):
            return self.getToken(fugue_sqlParser.NEQ, 0)

        def NEQJ(self):
            return self.getToken(fugue_sqlParser.NEQJ, 0)

        def LT(self):
            return self.getToken(fugue_sqlParser.LT, 0)

        def LTE(self):
            return self.getToken(fugue_sqlParser.LTE, 0)

        def GT(self):
            return self.getToken(fugue_sqlParser.GT, 0)

        def GTE(self):
            return self.getToken(fugue_sqlParser.GTE, 0)

        def NSEQ(self):
            return self.getToken(fugue_sqlParser.NSEQ, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_comparisonOperator

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComparisonOperator" ):
                return visitor.visitComparisonOperator(self)
            else:
                return visitor.visitChildren(self)




    def comparisonOperator(self):

        localctx = fugue_sqlParser.ComparisonOperatorContext(self, self._ctx, self.state)
        self.enterRule(localctx, 322, self.RULE_comparisonOperator)
        try:
            self.state = 3296
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.EQUAL, fugue_sqlParser.DOUBLEEQUAL]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3288
                self.comparisonEqualOperator()
                pass
            elif token in [fugue_sqlParser.NEQ]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3289
                self.match(fugue_sqlParser.NEQ)
                pass
            elif token in [fugue_sqlParser.NEQJ]:
                self.enterOuterAlt(localctx, 3)
                self.state = 3290
                self.match(fugue_sqlParser.NEQJ)
                pass
            elif token in [fugue_sqlParser.LT]:
                self.enterOuterAlt(localctx, 4)
                self.state = 3291
                self.match(fugue_sqlParser.LT)
                pass
            elif token in [fugue_sqlParser.LTE]:
                self.enterOuterAlt(localctx, 5)
                self.state = 3292
                self.match(fugue_sqlParser.LTE)
                pass
            elif token in [fugue_sqlParser.GT]:
                self.enterOuterAlt(localctx, 6)
                self.state = 3293
                self.match(fugue_sqlParser.GT)
                pass
            elif token in [fugue_sqlParser.GTE]:
                self.enterOuterAlt(localctx, 7)
                self.state = 3294
                self.match(fugue_sqlParser.GTE)
                pass
            elif token in [fugue_sqlParser.NSEQ]:
                self.enterOuterAlt(localctx, 8)
                self.state = 3295
                self.match(fugue_sqlParser.NSEQ)
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ComparisonEqualOperatorContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def DOUBLEEQUAL(self):
            return self.getToken(fugue_sqlParser.DOUBLEEQUAL, 0)

        def EQUAL(self):
            return self.getToken(fugue_sqlParser.EQUAL, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_comparisonEqualOperator

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComparisonEqualOperator" ):
                return visitor.visitComparisonEqualOperator(self)
            else:
                return visitor.visitChildren(self)




    def comparisonEqualOperator(self):

        localctx = fugue_sqlParser.ComparisonEqualOperatorContext(self, self._ctx, self.state)
        self.enterRule(localctx, 324, self.RULE_comparisonEqualOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3298
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.EQUAL or _la==fugue_sqlParser.DOUBLEEQUAL):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ArithmeticOperatorContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def PLUS(self):
            return self.getToken(fugue_sqlParser.PLUS, 0)

        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def ASTERISK(self):
            return self.getToken(fugue_sqlParser.ASTERISK, 0)

        def SLASH(self):
            return self.getToken(fugue_sqlParser.SLASH, 0)

        def PERCENT(self):
            return self.getToken(fugue_sqlParser.PERCENT, 0)

        def DIV(self):
            return self.getToken(fugue_sqlParser.DIV, 0)

        def TILDE(self):
            return self.getToken(fugue_sqlParser.TILDE, 0)

        def AMPERSAND(self):
            return self.getToken(fugue_sqlParser.AMPERSAND, 0)

        def PIPE(self):
            return self.getToken(fugue_sqlParser.PIPE, 0)

        def CONCAT_PIPE(self):
            return self.getToken(fugue_sqlParser.CONCAT_PIPE, 0)

        def HAT(self):
            return self.getToken(fugue_sqlParser.HAT, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_arithmeticOperator

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitArithmeticOperator" ):
                return visitor.visitArithmeticOperator(self)
            else:
                return visitor.visitChildren(self)




    def arithmeticOperator(self):

        localctx = fugue_sqlParser.ArithmeticOperatorContext(self, self._ctx, self.state)
        self.enterRule(localctx, 326, self.RULE_arithmeticOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3300
            _la = self._input.LA(1)
            if not(((((_la - 304)) & ~0x3f) == 0 and ((1 << (_la - 304)) & ((1 << (fugue_sqlParser.PLUS - 304)) | (1 << (fugue_sqlParser.MINUS - 304)) | (1 << (fugue_sqlParser.ASTERISK - 304)) | (1 << (fugue_sqlParser.SLASH - 304)) | (1 << (fugue_sqlParser.PERCENT - 304)) | (1 << (fugue_sqlParser.DIV - 304)) | (1 << (fugue_sqlParser.TILDE - 304)) | (1 << (fugue_sqlParser.AMPERSAND - 304)) | (1 << (fugue_sqlParser.PIPE - 304)) | (1 << (fugue_sqlParser.CONCAT_PIPE - 304)) | (1 << (fugue_sqlParser.HAT - 304)))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class PredicateOperatorContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)

        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_predicateOperator

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPredicateOperator" ):
                return visitor.visitPredicateOperator(self)
            else:
                return visitor.visitChildren(self)




    def predicateOperator(self):

        localctx = fugue_sqlParser.PredicateOperatorContext(self, self._ctx, self.state)
        self.enterRule(localctx, 328, self.RULE_predicateOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3302
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.AND or ((((_la - 144)) & ~0x3f) == 0 and ((1 << (_la - 144)) & ((1 << (fugue_sqlParser.IN - 144)) | (1 << (fugue_sqlParser.NOT - 144)) | (1 << (fugue_sqlParser.OR - 144)))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class BooleanValueContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def TRUE(self):
            return self.getToken(fugue_sqlParser.TRUE, 0)

        def FALSE(self):
            return self.getToken(fugue_sqlParser.FALSE, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_booleanValue

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitBooleanValue" ):
                return visitor.visitBooleanValue(self)
            else:
                return visitor.visitChildren(self)




    def booleanValue(self):

        localctx = fugue_sqlParser.BooleanValueContext(self, self._ctx, self.state)
        self.enterRule(localctx, 330, self.RULE_booleanValue)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3304
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.FALSE or _la==fugue_sqlParser.TRUE):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IntervalContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def INTERVAL(self):
            return self.getToken(fugue_sqlParser.INTERVAL, 0)

        def errorCapturingMultiUnitsInterval(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingMultiUnitsIntervalContext,0)


        def errorCapturingUnitToUnitInterval(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingUnitToUnitIntervalContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_interval

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitInterval" ):
                return visitor.visitInterval(self)
            else:
                return visitor.visitChildren(self)




    def interval(self):

        localctx = fugue_sqlParser.IntervalContext(self, self._ctx, self.state)
        self.enterRule(localctx, 332, self.RULE_interval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3306
            self.match(fugue_sqlParser.INTERVAL)
            self.state = 3309
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,432,self._ctx)
            if la_ == 1:
                self.state = 3307
                self.errorCapturingMultiUnitsInterval()

            elif la_ == 2:
                self.state = 3308
                self.errorCapturingUnitToUnitInterval()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ErrorCapturingMultiUnitsIntervalContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def multiUnitsInterval(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultiUnitsIntervalContext,0)


        def unitToUnitInterval(self):
            return self.getTypedRuleContext(fugue_sqlParser.UnitToUnitIntervalContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_errorCapturingMultiUnitsInterval

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitErrorCapturingMultiUnitsInterval" ):
                return visitor.visitErrorCapturingMultiUnitsInterval(self)
            else:
                return visitor.visitChildren(self)




    def errorCapturingMultiUnitsInterval(self):

        localctx = fugue_sqlParser.ErrorCapturingMultiUnitsIntervalContext(self, self._ctx, self.state)
        self.enterRule(localctx, 334, self.RULE_errorCapturingMultiUnitsInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3311
            self.multiUnitsInterval()
            self.state = 3313
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,433,self._ctx)
            if la_ == 1:
                self.state = 3312
                self.unitToUnitInterval()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class MultiUnitsIntervalContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def intervalValue(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IntervalValueContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IntervalValueContext,i)


        def intervalUnit(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IntervalUnitContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IntervalUnitContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_multiUnitsInterval

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitMultiUnitsInterval" ):
                return visitor.visitMultiUnitsInterval(self)
            else:
                return visitor.visitChildren(self)




    def multiUnitsInterval(self):

        localctx = fugue_sqlParser.MultiUnitsIntervalContext(self, self._ctx, self.state)
        self.enterRule(localctx, 336, self.RULE_multiUnitsInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3318 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 3315
                    self.intervalValue()
                    self.state = 3316
                    self.intervalUnit()

                else:
                    raise NoViableAltException(self)
                self.state = 3320 
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,434,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ErrorCapturingUnitToUnitIntervalContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.body = None # UnitToUnitIntervalContext
            self.error1 = None # MultiUnitsIntervalContext
            self.error2 = None # UnitToUnitIntervalContext

        def unitToUnitInterval(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.UnitToUnitIntervalContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.UnitToUnitIntervalContext,i)


        def multiUnitsInterval(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultiUnitsIntervalContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_errorCapturingUnitToUnitInterval

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitErrorCapturingUnitToUnitInterval" ):
                return visitor.visitErrorCapturingUnitToUnitInterval(self)
            else:
                return visitor.visitChildren(self)




    def errorCapturingUnitToUnitInterval(self):

        localctx = fugue_sqlParser.ErrorCapturingUnitToUnitIntervalContext(self, self._ctx, self.state)
        self.enterRule(localctx, 338, self.RULE_errorCapturingUnitToUnitInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3322
            localctx.body = self.unitToUnitInterval()
            self.state = 3325
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,435,self._ctx)
            if la_ == 1:
                self.state = 3323
                localctx.error1 = self.multiUnitsInterval()

            elif la_ == 2:
                self.state = 3324
                localctx.error2 = self.unitToUnitInterval()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class UnitToUnitIntervalContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.value = None # IntervalValueContext
            self.ifrom = None # IntervalUnitContext
            self.to = None # IntervalUnitContext

        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)

        def intervalValue(self):
            return self.getTypedRuleContext(fugue_sqlParser.IntervalValueContext,0)


        def intervalUnit(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IntervalUnitContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IntervalUnitContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_unitToUnitInterval

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUnitToUnitInterval" ):
                return visitor.visitUnitToUnitInterval(self)
            else:
                return visitor.visitChildren(self)




    def unitToUnitInterval(self):

        localctx = fugue_sqlParser.UnitToUnitIntervalContext(self, self._ctx, self.state)
        self.enterRule(localctx, 340, self.RULE_unitToUnitInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3327
            localctx.value = self.intervalValue()
            self.state = 3328
            localctx.ifrom = self.intervalUnit()
            self.state = 3329
            self.match(fugue_sqlParser.TO)
            self.state = 3330
            localctx.to = self.intervalUnit()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IntervalValueContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)

        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)

        def PLUS(self):
            return self.getToken(fugue_sqlParser.PLUS, 0)

        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def STRING(self):
            return self.getToken(fugue_sqlParser.STRING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_intervalValue

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIntervalValue" ):
                return visitor.visitIntervalValue(self)
            else:
                return visitor.visitChildren(self)




    def intervalValue(self):

        localctx = fugue_sqlParser.IntervalValueContext(self, self._ctx, self.state)
        self.enterRule(localctx, 342, self.RULE_intervalValue)
        self._la = 0 # Token type
        try:
            self.state = 3337
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.PLUS, fugue_sqlParser.MINUS, fugue_sqlParser.INTEGER_VALUE, fugue_sqlParser.DECIMAL_VALUE]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3333
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PLUS or _la==fugue_sqlParser.MINUS:
                    self.state = 3332
                    _la = self._input.LA(1)
                    if not(_la==fugue_sqlParser.PLUS or _la==fugue_sqlParser.MINUS):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                self.state = 3335
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.INTEGER_VALUE or _la==fugue_sqlParser.DECIMAL_VALUE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass
            elif token in [fugue_sqlParser.STRING]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3336
                self.match(fugue_sqlParser.STRING)
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IntervalUnitContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def DAY(self):
            return self.getToken(fugue_sqlParser.DAY, 0)

        def HOUR(self):
            return self.getToken(fugue_sqlParser.HOUR, 0)

        def MINUTE(self):
            return self.getToken(fugue_sqlParser.MINUTE, 0)

        def MONTH(self):
            return self.getToken(fugue_sqlParser.MONTH, 0)

        def SECOND(self):
            return self.getToken(fugue_sqlParser.SECOND, 0)

        def YEAR(self):
            return self.getToken(fugue_sqlParser.YEAR, 0)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_intervalUnit

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIntervalUnit" ):
                return visitor.visitIntervalUnit(self)
            else:
                return visitor.visitChildren(self)




    def intervalUnit(self):

        localctx = fugue_sqlParser.IntervalUnitContext(self, self._ctx, self.state)
        self.enterRule(localctx, 344, self.RULE_intervalUnit)
        try:
            self.state = 3346
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,438,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3339
                self.match(fugue_sqlParser.DAY)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3340
                self.match(fugue_sqlParser.HOUR)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3341
                self.match(fugue_sqlParser.MINUTE)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3342
                self.match(fugue_sqlParser.MONTH)
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 3343
                self.match(fugue_sqlParser.SECOND)
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 3344
                self.match(fugue_sqlParser.YEAR)
                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 3345
                self.identifier()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ColPositionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.position = None # Token
            self.afterCol = None # ErrorCapturingIdentifierContext

        def FIRST(self):
            return self.getToken(fugue_sqlParser.FIRST, 0)

        def AFTER(self):
            return self.getToken(fugue_sqlParser.AFTER, 0)

        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_colPosition

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitColPosition" ):
                return visitor.visitColPosition(self)
            else:
                return visitor.visitChildren(self)




    def colPosition(self):

        localctx = fugue_sqlParser.ColPositionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 346, self.RULE_colPosition)
        try:
            self.state = 3351
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.FIRST]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3348
                localctx.position = self.match(fugue_sqlParser.FIRST)
                pass
            elif token in [fugue_sqlParser.AFTER]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3349
                localctx.position = self.match(fugue_sqlParser.AFTER)
                self.state = 3350
                localctx.afterCol = self.errorCapturingIdentifier()
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class DataTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_dataType

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class ComplexDataTypeContext(DataTypeContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DataTypeContext
            super().__init__(parser)
            self.icomplex = None # Token
            self.copyFrom(ctx)

        def LT(self):
            return self.getToken(fugue_sqlParser.LT, 0)
        def dataType(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.DataTypeContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,i)

        def GT(self):
            return self.getToken(fugue_sqlParser.GT, 0)
        def ARRAY(self):
            return self.getToken(fugue_sqlParser.ARRAY, 0)
        def MAP(self):
            return self.getToken(fugue_sqlParser.MAP, 0)
        def STRUCT(self):
            return self.getToken(fugue_sqlParser.STRUCT, 0)
        def NEQ(self):
            return self.getToken(fugue_sqlParser.NEQ, 0)
        def complexColTypeList(self):
            return self.getTypedRuleContext(fugue_sqlParser.ComplexColTypeListContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComplexDataType" ):
                return visitor.visitComplexDataType(self)
            else:
                return visitor.visitChildren(self)


    class PrimitiveDataTypeContext(DataTypeContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.DataTypeContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)

        def INTEGER_VALUE(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.INTEGER_VALUE)
            else:
                return self.getToken(fugue_sqlParser.INTEGER_VALUE, i)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitPrimitiveDataType" ):
                return visitor.visitPrimitiveDataType(self)
            else:
                return visitor.visitChildren(self)



    def dataType(self):

        localctx = fugue_sqlParser.DataTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 348, self.RULE_dataType)
        self._la = 0 # Token type
        try:
            self.state = 3387
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,444,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3353
                localctx.icomplex = self.match(fugue_sqlParser.ARRAY)
                self.state = 3354
                self.match(fugue_sqlParser.LT)
                self.state = 3355
                self.dataType()
                self.state = 3356
                self.match(fugue_sqlParser.GT)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3358
                localctx.icomplex = self.match(fugue_sqlParser.MAP)
                self.state = 3359
                self.match(fugue_sqlParser.LT)
                self.state = 3360
                self.dataType()
                self.state = 3361
                self.match(fugue_sqlParser.T__0)
                self.state = 3362
                self.dataType()
                self.state = 3363
                self.match(fugue_sqlParser.GT)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3365
                localctx.icomplex = self.match(fugue_sqlParser.STRUCT)
                self.state = 3372
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.LT]:
                    self.state = 3366
                    self.match(fugue_sqlParser.LT)
                    self.state = 3368
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,440,self._ctx)
                    if la_ == 1:
                        self.state = 3367
                        self.complexColTypeList()


                    self.state = 3370
                    self.match(fugue_sqlParser.GT)
                    pass
                elif token in [fugue_sqlParser.NEQ]:
                    self.state = 3371
                    self.match(fugue_sqlParser.NEQ)
                    pass
                else:
                    raise NoViableAltException(self)

                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.PrimitiveDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3374
                self.identifier()
                self.state = 3385
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,443,self._ctx)
                if la_ == 1:
                    self.state = 3375
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3376
                    self.match(fugue_sqlParser.INTEGER_VALUE)
                    self.state = 3381
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3377
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3378
                        self.match(fugue_sqlParser.INTEGER_VALUE)
                        self.state = 3383
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    self.state = 3384
                    self.match(fugue_sqlParser.T__3)


                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QualifiedColTypeWithPositionListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def qualifiedColTypeWithPosition(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.QualifiedColTypeWithPositionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.QualifiedColTypeWithPositionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_qualifiedColTypeWithPositionList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQualifiedColTypeWithPositionList" ):
                return visitor.visitQualifiedColTypeWithPositionList(self)
            else:
                return visitor.visitChildren(self)




    def qualifiedColTypeWithPositionList(self):

        localctx = fugue_sqlParser.QualifiedColTypeWithPositionListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 350, self.RULE_qualifiedColTypeWithPositionList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3389
            self.qualifiedColTypeWithPosition()
            self.state = 3394
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3390
                self.match(fugue_sqlParser.T__0)
                self.state = 3391
                self.qualifiedColTypeWithPosition()
                self.state = 3396
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QualifiedColTypeWithPositionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.name = None # MultipartIdentifierContext

        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def multipartIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.MultipartIdentifierContext,0)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def commentSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,0)


        def colPosition(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColPositionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_qualifiedColTypeWithPosition

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQualifiedColTypeWithPosition" ):
                return visitor.visitQualifiedColTypeWithPosition(self)
            else:
                return visitor.visitChildren(self)




    def qualifiedColTypeWithPosition(self):

        localctx = fugue_sqlParser.QualifiedColTypeWithPositionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 352, self.RULE_qualifiedColTypeWithPosition)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3397
            localctx.name = self.multipartIdentifier()
            self.state = 3398
            self.dataType()
            self.state = 3401
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.NOT:
                self.state = 3399
                self.match(fugue_sqlParser.NOT)
                self.state = 3400
                self.match(fugue_sqlParser.NULL)


            self.state = 3404
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 3403
                self.commentSpec()


            self.state = 3407
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AFTER or _la==fugue_sqlParser.FIRST:
                self.state = 3406
                self.colPosition()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ColTypeListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def colType(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ColTypeContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ColTypeContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_colTypeList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitColTypeList" ):
                return visitor.visitColTypeList(self)
            else:
                return visitor.visitChildren(self)




    def colTypeList(self):

        localctx = fugue_sqlParser.ColTypeListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 354, self.RULE_colTypeList)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3409
            self.colType()
            self.state = 3414
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,449,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3410
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3411
                    self.colType() 
                self.state = 3416
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,449,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ColTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.colName = None # ErrorCapturingIdentifierContext

        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def commentSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_colType

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitColType" ):
                return visitor.visitColType(self)
            else:
                return visitor.visitChildren(self)




    def colType(self):

        localctx = fugue_sqlParser.ColTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 356, self.RULE_colType)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3417
            localctx.colName = self.errorCapturingIdentifier()
            self.state = 3418
            self.dataType()
            self.state = 3421
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,450,self._ctx)
            if la_ == 1:
                self.state = 3419
                self.match(fugue_sqlParser.NOT)
                self.state = 3420
                self.match(fugue_sqlParser.NULL)


            self.state = 3424
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,451,self._ctx)
            if la_ == 1:
                self.state = 3423
                self.commentSpec()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ComplexColTypeListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def complexColType(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ComplexColTypeContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ComplexColTypeContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_complexColTypeList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComplexColTypeList" ):
                return visitor.visitComplexColTypeList(self)
            else:
                return visitor.visitChildren(self)




    def complexColTypeList(self):

        localctx = fugue_sqlParser.ComplexColTypeListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 358, self.RULE_complexColTypeList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3426
            self.complexColType()
            self.state = 3431
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3427
                self.match(fugue_sqlParser.T__0)
                self.state = 3428
                self.complexColType()
                self.state = 3433
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ComplexColTypeContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def commentSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_complexColType

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitComplexColType" ):
                return visitor.visitComplexColType(self)
            else:
                return visitor.visitChildren(self)




    def complexColType(self):

        localctx = fugue_sqlParser.ComplexColTypeContext(self, self._ctx, self.state)
        self.enterRule(localctx, 360, self.RULE_complexColType)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3434
            self.identifier()
            self.state = 3435
            self.match(fugue_sqlParser.T__1)
            self.state = 3436
            self.dataType()
            self.state = 3439
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.NOT:
                self.state = 3437
                self.match(fugue_sqlParser.NOT)
                self.state = 3438
                self.match(fugue_sqlParser.NULL)


            self.state = 3442
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 3441
                self.commentSpec()


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class WhenClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.condition = None # ExpressionContext
            self.result = None # ExpressionContext

        def WHEN(self):
            return self.getToken(fugue_sqlParser.WHEN, 0)

        def THEN(self):
            return self.getToken(fugue_sqlParser.THEN, 0)

        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_whenClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWhenClause" ):
                return visitor.visitWhenClause(self)
            else:
                return visitor.visitChildren(self)




    def whenClause(self):

        localctx = fugue_sqlParser.WhenClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 362, self.RULE_whenClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3444
            self.match(fugue_sqlParser.WHEN)
            self.state = 3445
            localctx.condition = self.expression()
            self.state = 3446
            self.match(fugue_sqlParser.THEN)
            self.state = 3447
            localctx.result = self.expression()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class WindowClauseContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def WINDOW(self):
            return self.getToken(fugue_sqlParser.WINDOW, 0)

        def namedWindow(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.NamedWindowContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.NamedWindowContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_windowClause

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWindowClause" ):
                return visitor.visitWindowClause(self)
            else:
                return visitor.visitChildren(self)




    def windowClause(self):

        localctx = fugue_sqlParser.WindowClauseContext(self, self._ctx, self.state)
        self.enterRule(localctx, 364, self.RULE_windowClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3449
            self.match(fugue_sqlParser.WINDOW)
            self.state = 3450
            self.namedWindow()
            self.state = 3455
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,455,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3451
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3452
                    self.namedWindow() 
                self.state = 3457
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,455,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NamedWindowContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.name = None # ErrorCapturingIdentifierContext

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def windowSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowSpecContext,0)


        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_namedWindow

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNamedWindow" ):
                return visitor.visitNamedWindow(self)
            else:
                return visitor.visitChildren(self)




    def namedWindow(self):

        localctx = fugue_sqlParser.NamedWindowContext(self, self._ctx, self.state)
        self.enterRule(localctx, 366, self.RULE_namedWindow)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3458
            localctx.name = self.errorCapturingIdentifier()
            self.state = 3459
            self.match(fugue_sqlParser.AS)
            self.state = 3460
            self.windowSpec()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class WindowSpecContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_windowSpec

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class WindowRefContext(WindowSpecContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.WindowSpecContext
            super().__init__(parser)
            self.name = None # ErrorCapturingIdentifierContext
            self.copyFrom(ctx)

        def errorCapturingIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWindowRef" ):
                return visitor.visitWindowRef(self)
            else:
                return visitor.visitChildren(self)


    class WindowDefContext(WindowSpecContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.WindowSpecContext
            super().__init__(parser)
            self._expression = None # ExpressionContext
            self.partition = list() # of ExpressionContexts
            self.copyFrom(ctx)

        def CLUSTER(self):
            return self.getToken(fugue_sqlParser.CLUSTER, 0)
        def BY(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.BY)
            else:
                return self.getToken(fugue_sqlParser.BY, i)
        def expression(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.ExpressionContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,i)

        def windowFrame(self):
            return self.getTypedRuleContext(fugue_sqlParser.WindowFrameContext,0)

        def sortItem(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.SortItemContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.SortItemContext,i)

        def PARTITION(self):
            return self.getToken(fugue_sqlParser.PARTITION, 0)
        def DISTRIBUTE(self):
            return self.getToken(fugue_sqlParser.DISTRIBUTE, 0)
        def ORDER(self):
            return self.getToken(fugue_sqlParser.ORDER, 0)
        def SORT(self):
            return self.getToken(fugue_sqlParser.SORT, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWindowDef" ):
                return visitor.visitWindowDef(self)
            else:
                return visitor.visitChildren(self)



    def windowSpec(self):

        localctx = fugue_sqlParser.WindowSpecContext(self, self._ctx, self.state)
        self.enterRule(localctx, 368, self.RULE_windowSpec)
        self._la = 0 # Token type
        try:
            self.state = 3508
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,463,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.WindowRefContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3462
                localctx.name = self.errorCapturingIdentifier()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.WindowRefContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3463
                self.match(fugue_sqlParser.T__2)
                self.state = 3464
                localctx.name = self.errorCapturingIdentifier()
                self.state = 3465
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.WindowDefContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3467
                self.match(fugue_sqlParser.T__2)
                self.state = 3502
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.CLUSTER]:
                    self.state = 3468
                    self.match(fugue_sqlParser.CLUSTER)
                    self.state = 3469
                    self.match(fugue_sqlParser.BY)
                    self.state = 3470
                    localctx._expression = self.expression()
                    localctx.partition.append(localctx._expression)
                    self.state = 3475
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3471
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3472
                        localctx._expression = self.expression()
                        localctx.partition.append(localctx._expression)
                        self.state = 3477
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    pass
                elif token in [fugue_sqlParser.T__3, fugue_sqlParser.DISTRIBUTE, fugue_sqlParser.ORDER, fugue_sqlParser.PARTITION, fugue_sqlParser.RANGE, fugue_sqlParser.ROWS, fugue_sqlParser.SORT]:
                    self.state = 3488
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.DISTRIBUTE or _la==fugue_sqlParser.PARTITION:
                        self.state = 3478
                        _la = self._input.LA(1)
                        if not(_la==fugue_sqlParser.DISTRIBUTE or _la==fugue_sqlParser.PARTITION):
                            self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3479
                        self.match(fugue_sqlParser.BY)
                        self.state = 3480
                        localctx._expression = self.expression()
                        localctx.partition.append(localctx._expression)
                        self.state = 3485
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        while _la==fugue_sqlParser.T__0:
                            self.state = 3481
                            self.match(fugue_sqlParser.T__0)
                            self.state = 3482
                            localctx._expression = self.expression()
                            localctx.partition.append(localctx._expression)
                            self.state = 3487
                            self._errHandler.sync(self)
                            _la = self._input.LA(1)



                    self.state = 3500
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.ORDER or _la==fugue_sqlParser.SORT:
                        self.state = 3490
                        _la = self._input.LA(1)
                        if not(_la==fugue_sqlParser.ORDER or _la==fugue_sqlParser.SORT):
                            self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3491
                        self.match(fugue_sqlParser.BY)
                        self.state = 3492
                        self.sortItem()
                        self.state = 3497
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        while _la==fugue_sqlParser.T__0:
                            self.state = 3493
                            self.match(fugue_sqlParser.T__0)
                            self.state = 3494
                            self.sortItem()
                            self.state = 3499
                            self._errHandler.sync(self)
                            _la = self._input.LA(1)



                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 3505
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.RANGE or _la==fugue_sqlParser.ROWS:
                    self.state = 3504
                    self.windowFrame()


                self.state = 3507
                self.match(fugue_sqlParser.T__3)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class WindowFrameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.frameType = None # Token
            self.start = None # FrameBoundContext
            self.end = None # FrameBoundContext

        def RANGE(self):
            return self.getToken(fugue_sqlParser.RANGE, 0)

        def frameBound(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.FrameBoundContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.FrameBoundContext,i)


        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def BETWEEN(self):
            return self.getToken(fugue_sqlParser.BETWEEN, 0)

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_windowFrame

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitWindowFrame" ):
                return visitor.visitWindowFrame(self)
            else:
                return visitor.visitChildren(self)




    def windowFrame(self):

        localctx = fugue_sqlParser.WindowFrameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 370, self.RULE_windowFrame)
        try:
            self.state = 3526
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,464,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3510
                localctx.frameType = self.match(fugue_sqlParser.RANGE)
                self.state = 3511
                localctx.start = self.frameBound()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3512
                localctx.frameType = self.match(fugue_sqlParser.ROWS)
                self.state = 3513
                localctx.start = self.frameBound()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3514
                localctx.frameType = self.match(fugue_sqlParser.RANGE)
                self.state = 3515
                self.match(fugue_sqlParser.BETWEEN)
                self.state = 3516
                localctx.start = self.frameBound()
                self.state = 3517
                self.match(fugue_sqlParser.AND)
                self.state = 3518
                localctx.end = self.frameBound()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3520
                localctx.frameType = self.match(fugue_sqlParser.ROWS)
                self.state = 3521
                self.match(fugue_sqlParser.BETWEEN)
                self.state = 3522
                localctx.start = self.frameBound()
                self.state = 3523
                self.match(fugue_sqlParser.AND)
                self.state = 3524
                localctx.end = self.frameBound()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FrameBoundContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.boundType = None # Token

        def UNBOUNDED(self):
            return self.getToken(fugue_sqlParser.UNBOUNDED, 0)

        def PRECEDING(self):
            return self.getToken(fugue_sqlParser.PRECEDING, 0)

        def FOLLOWING(self):
            return self.getToken(fugue_sqlParser.FOLLOWING, 0)

        def ROW(self):
            return self.getToken(fugue_sqlParser.ROW, 0)

        def CURRENT(self):
            return self.getToken(fugue_sqlParser.CURRENT, 0)

        def expression(self):
            return self.getTypedRuleContext(fugue_sqlParser.ExpressionContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_frameBound

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFrameBound" ):
                return visitor.visitFrameBound(self)
            else:
                return visitor.visitChildren(self)




    def frameBound(self):

        localctx = fugue_sqlParser.FrameBoundContext(self, self._ctx, self.state)
        self.enterRule(localctx, 372, self.RULE_frameBound)
        self._la = 0 # Token type
        try:
            self.state = 3535
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,465,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3528
                self.match(fugue_sqlParser.UNBOUNDED)
                self.state = 3529
                localctx.boundType = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FOLLOWING or _la==fugue_sqlParser.PRECEDING):
                    localctx.boundType = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3530
                localctx.boundType = self.match(fugue_sqlParser.CURRENT)
                self.state = 3531
                self.match(fugue_sqlParser.ROW)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3532
                self.expression()
                self.state = 3533
                localctx.boundType = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FOLLOWING or _la==fugue_sqlParser.PRECEDING):
                    localctx.boundType = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QualifiedNameListContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def qualifiedName(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.QualifiedNameContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_qualifiedNameList

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQualifiedNameList" ):
                return visitor.visitQualifiedNameList(self)
            else:
                return visitor.visitChildren(self)




    def qualifiedNameList(self):

        localctx = fugue_sqlParser.QualifiedNameListContext(self, self._ctx, self.state)
        self.enterRule(localctx, 374, self.RULE_qualifiedNameList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3537
            self.qualifiedName()
            self.state = 3542
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3538
                self.match(fugue_sqlParser.T__0)
                self.state = 3539
                self.qualifiedName()
                self.state = 3544
                self._errHandler.sync(self)
                _la = self._input.LA(1)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class FunctionNameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def qualifiedName(self):
            return self.getTypedRuleContext(fugue_sqlParser.QualifiedNameContext,0)


        def FILTER(self):
            return self.getToken(fugue_sqlParser.FILTER, 0)

        def LEFT(self):
            return self.getToken(fugue_sqlParser.LEFT, 0)

        def RIGHT(self):
            return self.getToken(fugue_sqlParser.RIGHT, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_functionName

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitFunctionName" ):
                return visitor.visitFunctionName(self)
            else:
                return visitor.visitChildren(self)




    def functionName(self):

        localctx = fugue_sqlParser.FunctionNameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 376, self.RULE_functionName)
        try:
            self.state = 3549
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,467,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3545
                self.qualifiedName()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3546
                self.match(fugue_sqlParser.FILTER)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3547
                self.match(fugue_sqlParser.LEFT)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3548
                self.match(fugue_sqlParser.RIGHT)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QualifiedNameContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_qualifiedName

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQualifiedName" ):
                return visitor.visitQualifiedName(self)
            else:
                return visitor.visitChildren(self)




    def qualifiedName(self):

        localctx = fugue_sqlParser.QualifiedNameContext(self, self._ctx, self.state)
        self.enterRule(localctx, 378, self.RULE_qualifiedName)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3551
            self.identifier()
            self.state = 3556
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,468,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3552
                    self.match(fugue_sqlParser.T__4)
                    self.state = 3553
                    self.identifier() 
                self.state = 3558
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,468,self._ctx)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ErrorCapturingIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def identifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,0)


        def errorCapturingIdentifierExtra(self):
            return self.getTypedRuleContext(fugue_sqlParser.ErrorCapturingIdentifierExtraContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_errorCapturingIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitErrorCapturingIdentifier" ):
                return visitor.visitErrorCapturingIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def errorCapturingIdentifier(self):

        localctx = fugue_sqlParser.ErrorCapturingIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 380, self.RULE_errorCapturingIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3559
            self.identifier()
            self.state = 3560
            self.errorCapturingIdentifierExtra()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class ErrorCapturingIdentifierExtraContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_errorCapturingIdentifierExtra

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class ErrorIdentContext(ErrorCapturingIdentifierExtraContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ErrorCapturingIdentifierExtraContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def MINUS(self, i:int=None):
            if i is None:
                return self.getTokens(fugue_sqlParser.MINUS)
            else:
                return self.getToken(fugue_sqlParser.MINUS, i)
        def identifier(self, i:int=None):
            if i is None:
                return self.getTypedRuleContexts(fugue_sqlParser.IdentifierContext)
            else:
                return self.getTypedRuleContext(fugue_sqlParser.IdentifierContext,i)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitErrorIdent" ):
                return visitor.visitErrorIdent(self)
            else:
                return visitor.visitChildren(self)


    class RealIdentContext(ErrorCapturingIdentifierExtraContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.ErrorCapturingIdentifierExtraContext
            super().__init__(parser)
            self.copyFrom(ctx)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitRealIdent" ):
                return visitor.visitRealIdent(self)
            else:
                return visitor.visitChildren(self)



    def errorCapturingIdentifierExtra(self):

        localctx = fugue_sqlParser.ErrorCapturingIdentifierExtraContext(self, self._ctx, self.state)
        self.enterRule(localctx, 382, self.RULE_errorCapturingIdentifierExtra)
        try:
            self.state = 3569
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,470,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ErrorIdentContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3564 
                self._errHandler.sync(self)
                _alt = 1
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt == 1:
                        self.state = 3562
                        self.match(fugue_sqlParser.MINUS)
                        self.state = 3563
                        self.identifier()

                    else:
                        raise NoViableAltException(self)
                    self.state = 3566 
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,469,self._ctx)

                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.RealIdentContext(self, localctx)
                self.enterOuterAlt(localctx, 2)

                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class IdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def strictIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.StrictIdentifierContext,0)


        def strictNonReserved(self):
            return self.getTypedRuleContext(fugue_sqlParser.StrictNonReservedContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_identifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIdentifier" ):
                return visitor.visitIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def identifier(self):

        localctx = fugue_sqlParser.IdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 384, self.RULE_identifier)
        try:
            self.state = 3574
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,471,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3571
                self.strictIdentifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3572
                if not not self.SQL_standard_keyword_behavior:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "not self.SQL_standard_keyword_behavior")
                self.state = 3573
                self.strictNonReserved()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class StrictIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_strictIdentifier

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class QuotedIdentifierAlternativeContext(StrictIdentifierContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StrictIdentifierContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def quotedIdentifier(self):
            return self.getTypedRuleContext(fugue_sqlParser.QuotedIdentifierContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQuotedIdentifierAlternative" ):
                return visitor.visitQuotedIdentifierAlternative(self)
            else:
                return visitor.visitChildren(self)


    class UnquotedIdentifierContext(StrictIdentifierContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.StrictIdentifierContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def IDENTIFIER(self):
            return self.getToken(fugue_sqlParser.IDENTIFIER, 0)
        def ansiNonReserved(self):
            return self.getTypedRuleContext(fugue_sqlParser.AnsiNonReservedContext,0)

        def nonReserved(self):
            return self.getTypedRuleContext(fugue_sqlParser.NonReservedContext,0)


        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitUnquotedIdentifier" ):
                return visitor.visitUnquotedIdentifier(self)
            else:
                return visitor.visitChildren(self)



    def strictIdentifier(self):

        localctx = fugue_sqlParser.StrictIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 386, self.RULE_strictIdentifier)
        try:
            self.state = 3582
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,472,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3576
                self.match(fugue_sqlParser.IDENTIFIER)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.QuotedIdentifierAlternativeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3577
                self.quotedIdentifier()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3578
                if not self.SQL_standard_keyword_behavior:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "self.SQL_standard_keyword_behavior")
                self.state = 3579
                self.ansiNonReserved()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3580
                if not not self.SQL_standard_keyword_behavior:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "not self.SQL_standard_keyword_behavior")
                self.state = 3581
                self.nonReserved()
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class QuotedIdentifierContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def BACKQUOTED_IDENTIFIER(self):
            return self.getToken(fugue_sqlParser.BACKQUOTED_IDENTIFIER, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_quotedIdentifier

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitQuotedIdentifier" ):
                return visitor.visitQuotedIdentifier(self)
            else:
                return visitor.visitChildren(self)




    def quotedIdentifier(self):

        localctx = fugue_sqlParser.QuotedIdentifierContext(self, self._ctx, self.state)
        self.enterRule(localctx, 388, self.RULE_quotedIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3584
            self.match(fugue_sqlParser.BACKQUOTED_IDENTIFIER)
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NumberContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_number

     
        def copyFrom(self, ctx:ParserRuleContext):
            super().copyFrom(ctx)



    class DecimalLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDecimalLiteral" ):
                return visitor.visitDecimalLiteral(self)
            else:
                return visitor.visitChildren(self)


    class BigIntLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def BIGINT_LITERAL(self):
            return self.getToken(fugue_sqlParser.BIGINT_LITERAL, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitBigIntLiteral" ):
                return visitor.visitBigIntLiteral(self)
            else:
                return visitor.visitChildren(self)


    class TinyIntLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def TINYINT_LITERAL(self):
            return self.getToken(fugue_sqlParser.TINYINT_LITERAL, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitTinyIntLiteral" ):
                return visitor.visitTinyIntLiteral(self)
            else:
                return visitor.visitChildren(self)


    class LegacyDecimalLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def EXPONENT_VALUE(self):
            return self.getToken(fugue_sqlParser.EXPONENT_VALUE, 0)
        def DECIMAL_VALUE(self):
            return self.getToken(fugue_sqlParser.DECIMAL_VALUE, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitLegacyDecimalLiteral" ):
                return visitor.visitLegacyDecimalLiteral(self)
            else:
                return visitor.visitChildren(self)


    class BigDecimalLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def BIGDECIMAL_LITERAL(self):
            return self.getToken(fugue_sqlParser.BIGDECIMAL_LITERAL, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitBigDecimalLiteral" ):
                return visitor.visitBigDecimalLiteral(self)
            else:
                return visitor.visitChildren(self)


    class ExponentLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def EXPONENT_VALUE(self):
            return self.getToken(fugue_sqlParser.EXPONENT_VALUE, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitExponentLiteral" ):
                return visitor.visitExponentLiteral(self)
            else:
                return visitor.visitChildren(self)


    class DoubleLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def DOUBLE_LITERAL(self):
            return self.getToken(fugue_sqlParser.DOUBLE_LITERAL, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitDoubleLiteral" ):
                return visitor.visitDoubleLiteral(self)
            else:
                return visitor.visitChildren(self)


    class IntegerLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def INTEGER_VALUE(self):
            return self.getToken(fugue_sqlParser.INTEGER_VALUE, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitIntegerLiteral" ):
                return visitor.visitIntegerLiteral(self)
            else:
                return visitor.visitChildren(self)


    class SmallIntLiteralContext(NumberContext):

        def __init__(self, parser, ctx:ParserRuleContext): # actually a fugue_sqlParser.NumberContext
            super().__init__(parser)
            self.copyFrom(ctx)

        def SMALLINT_LITERAL(self):
            return self.getToken(fugue_sqlParser.SMALLINT_LITERAL, 0)
        def MINUS(self):
            return self.getToken(fugue_sqlParser.MINUS, 0)

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitSmallIntLiteral" ):
                return visitor.visitSmallIntLiteral(self)
            else:
                return visitor.visitChildren(self)



    def number(self):

        localctx = fugue_sqlParser.NumberContext(self, self._ctx, self.state)
        self.enterRule(localctx, 390, self.RULE_number)
        self._la = 0 # Token type
        try:
            self.state = 3625
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,482,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ExponentLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3586
                if not not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled")
                self.state = 3588
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3587
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3590
                self.match(fugue_sqlParser.EXPONENT_VALUE)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.DecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3591
                if not not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled")
                self.state = 3593
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3592
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3595
                self.match(fugue_sqlParser.DECIMAL_VALUE)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.LegacyDecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3596
                if not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled")
                self.state = 3598
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3597
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3600
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.EXPONENT_VALUE or _la==fugue_sqlParser.DECIMAL_VALUE):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.IntegerLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3602
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3601
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3604
                self.match(fugue_sqlParser.INTEGER_VALUE)
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.BigIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 3606
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3605
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3608
                self.match(fugue_sqlParser.BIGINT_LITERAL)
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.SmallIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 3610
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3609
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3612
                self.match(fugue_sqlParser.SMALLINT_LITERAL)
                pass

            elif la_ == 7:
                localctx = fugue_sqlParser.TinyIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 7)
                self.state = 3614
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3613
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3616
                self.match(fugue_sqlParser.TINYINT_LITERAL)
                pass

            elif la_ == 8:
                localctx = fugue_sqlParser.DoubleLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 8)
                self.state = 3618
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3617
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3620
                self.match(fugue_sqlParser.DOUBLE_LITERAL)
                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.BigDecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 9)
                self.state = 3622
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3621
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3624
                self.match(fugue_sqlParser.BIGDECIMAL_LITERAL)
                pass


        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class AlterColumnActionContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.setOrDrop = None # Token

        def TYPE(self):
            return self.getToken(fugue_sqlParser.TYPE, 0)

        def dataType(self):
            return self.getTypedRuleContext(fugue_sqlParser.DataTypeContext,0)


        def commentSpec(self):
            return self.getTypedRuleContext(fugue_sqlParser.CommentSpecContext,0)


        def colPosition(self):
            return self.getTypedRuleContext(fugue_sqlParser.ColPositionContext,0)


        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_alterColumnAction

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAlterColumnAction" ):
                return visitor.visitAlterColumnAction(self)
            else:
                return visitor.visitChildren(self)




    def alterColumnAction(self):

        localctx = fugue_sqlParser.AlterColumnActionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 392, self.RULE_alterColumnAction)
        self._la = 0 # Token type
        try:
            self.state = 3634
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.TYPE]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3627
                self.match(fugue_sqlParser.TYPE)
                self.state = 3628
                self.dataType()
                pass
            elif token in [fugue_sqlParser.COMMENT]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3629
                self.commentSpec()
                pass
            elif token in [fugue_sqlParser.AFTER, fugue_sqlParser.FIRST]:
                self.enterOuterAlt(localctx, 3)
                self.state = 3630
                self.colPosition()
                pass
            elif token in [fugue_sqlParser.DROP, fugue_sqlParser.SET]:
                self.enterOuterAlt(localctx, 4)
                self.state = 3631
                localctx.setOrDrop = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.DROP or _la==fugue_sqlParser.SET):
                    localctx.setOrDrop = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3632
                self.match(fugue_sqlParser.NOT)
                self.state = 3633
                self.match(fugue_sqlParser.NULL)
                pass
            else:
                raise NoViableAltException(self)

        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class AnsiNonReservedContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def ADD(self):
            return self.getToken(fugue_sqlParser.ADD, 0)

        def AFTER(self):
            return self.getToken(fugue_sqlParser.AFTER, 0)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)

        def ANALYZE(self):
            return self.getToken(fugue_sqlParser.ANALYZE, 0)

        def ARCHIVE(self):
            return self.getToken(fugue_sqlParser.ARCHIVE, 0)

        def ARRAY(self):
            return self.getToken(fugue_sqlParser.ARRAY, 0)

        def ASC(self):
            return self.getToken(fugue_sqlParser.ASC, 0)

        def AT(self):
            return self.getToken(fugue_sqlParser.AT, 0)

        def BETWEEN(self):
            return self.getToken(fugue_sqlParser.BETWEEN, 0)

        def BUCKET(self):
            return self.getToken(fugue_sqlParser.BUCKET, 0)

        def BUCKETS(self):
            return self.getToken(fugue_sqlParser.BUCKETS, 0)

        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def CACHE(self):
            return self.getToken(fugue_sqlParser.CACHE, 0)

        def CASCADE(self):
            return self.getToken(fugue_sqlParser.CASCADE, 0)

        def CHANGE(self):
            return self.getToken(fugue_sqlParser.CHANGE, 0)

        def CLEAR(self):
            return self.getToken(fugue_sqlParser.CLEAR, 0)

        def CLUSTER(self):
            return self.getToken(fugue_sqlParser.CLUSTER, 0)

        def CLUSTERED(self):
            return self.getToken(fugue_sqlParser.CLUSTERED, 0)

        def CODEGEN(self):
            return self.getToken(fugue_sqlParser.CODEGEN, 0)

        def COLLECTION(self):
            return self.getToken(fugue_sqlParser.COLLECTION, 0)

        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)

        def COMMENT(self):
            return self.getToken(fugue_sqlParser.COMMENT, 0)

        def COMMIT(self):
            return self.getToken(fugue_sqlParser.COMMIT, 0)

        def COMPACT(self):
            return self.getToken(fugue_sqlParser.COMPACT, 0)

        def COMPACTIONS(self):
            return self.getToken(fugue_sqlParser.COMPACTIONS, 0)

        def COMPUTE(self):
            return self.getToken(fugue_sqlParser.COMPUTE, 0)

        def CONCATENATE(self):
            return self.getToken(fugue_sqlParser.CONCATENATE, 0)

        def COST(self):
            return self.getToken(fugue_sqlParser.COST, 0)

        def CUBE(self):
            return self.getToken(fugue_sqlParser.CUBE, 0)

        def CURRENT(self):
            return self.getToken(fugue_sqlParser.CURRENT, 0)

        def DATA(self):
            return self.getToken(fugue_sqlParser.DATA, 0)

        def DATABASE(self):
            return self.getToken(fugue_sqlParser.DATABASE, 0)

        def DATABASES(self):
            return self.getToken(fugue_sqlParser.DATABASES, 0)

        def DBPROPERTIES(self):
            return self.getToken(fugue_sqlParser.DBPROPERTIES, 0)

        def DEFINED(self):
            return self.getToken(fugue_sqlParser.DEFINED, 0)

        def DELETE(self):
            return self.getToken(fugue_sqlParser.DELETE, 0)

        def DELIMITED(self):
            return self.getToken(fugue_sqlParser.DELIMITED, 0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)

        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)

        def DFS(self):
            return self.getToken(fugue_sqlParser.DFS, 0)

        def DIRECTORIES(self):
            return self.getToken(fugue_sqlParser.DIRECTORIES, 0)

        def DIRECTORY(self):
            return self.getToken(fugue_sqlParser.DIRECTORY, 0)

        def DISTRIBUTE(self):
            return self.getToken(fugue_sqlParser.DISTRIBUTE, 0)

        def DIV(self):
            return self.getToken(fugue_sqlParser.DIV, 0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def ESCAPED(self):
            return self.getToken(fugue_sqlParser.ESCAPED, 0)

        def EXCHANGE(self):
            return self.getToken(fugue_sqlParser.EXCHANGE, 0)

        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def EXPLAIN(self):
            return self.getToken(fugue_sqlParser.EXPLAIN, 0)

        def EXPORT(self):
            return self.getToken(fugue_sqlParser.EXPORT, 0)

        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)

        def EXTERNAL(self):
            return self.getToken(fugue_sqlParser.EXTERNAL, 0)

        def EXTRACT(self):
            return self.getToken(fugue_sqlParser.EXTRACT, 0)

        def FIELDS(self):
            return self.getToken(fugue_sqlParser.FIELDS, 0)

        def FILEFORMAT(self):
            return self.getToken(fugue_sqlParser.FILEFORMAT, 0)

        def FIRST(self):
            return self.getToken(fugue_sqlParser.FIRST, 0)

        def FOLLOWING(self):
            return self.getToken(fugue_sqlParser.FOLLOWING, 0)

        def FORMAT(self):
            return self.getToken(fugue_sqlParser.FORMAT, 0)

        def FORMATTED(self):
            return self.getToken(fugue_sqlParser.FORMATTED, 0)

        def FUNCTION(self):
            return self.getToken(fugue_sqlParser.FUNCTION, 0)

        def FUNCTIONS(self):
            return self.getToken(fugue_sqlParser.FUNCTIONS, 0)

        def GLOBAL(self):
            return self.getToken(fugue_sqlParser.GLOBAL, 0)

        def GROUPING(self):
            return self.getToken(fugue_sqlParser.GROUPING, 0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)

        def IGNORE(self):
            return self.getToken(fugue_sqlParser.IGNORE, 0)

        def IMPORT(self):
            return self.getToken(fugue_sqlParser.IMPORT, 0)

        def INDEX(self):
            return self.getToken(fugue_sqlParser.INDEX, 0)

        def INDEXES(self):
            return self.getToken(fugue_sqlParser.INDEXES, 0)

        def INPATH(self):
            return self.getToken(fugue_sqlParser.INPATH, 0)

        def INPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.INPUTFORMAT, 0)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)

        def INTERVAL(self):
            return self.getToken(fugue_sqlParser.INTERVAL, 0)

        def ITEMS(self):
            return self.getToken(fugue_sqlParser.ITEMS, 0)

        def KEYS(self):
            return self.getToken(fugue_sqlParser.KEYS, 0)

        def LAST(self):
            return self.getToken(fugue_sqlParser.LAST, 0)

        def LATERAL(self):
            return self.getToken(fugue_sqlParser.LATERAL, 0)

        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)

        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def LIMIT(self):
            return self.getToken(fugue_sqlParser.LIMIT, 0)

        def LINES(self):
            return self.getToken(fugue_sqlParser.LINES, 0)

        def LIST(self):
            return self.getToken(fugue_sqlParser.LIST, 0)

        def LOAD(self):
            return self.getToken(fugue_sqlParser.LOAD, 0)

        def LOCAL(self):
            return self.getToken(fugue_sqlParser.LOCAL, 0)

        def LOCATION(self):
            return self.getToken(fugue_sqlParser.LOCATION, 0)

        def LOCK(self):
            return self.getToken(fugue_sqlParser.LOCK, 0)

        def LOCKS(self):
            return self.getToken(fugue_sqlParser.LOCKS, 0)

        def LOGICAL(self):
            return self.getToken(fugue_sqlParser.LOGICAL, 0)

        def MACRO(self):
            return self.getToken(fugue_sqlParser.MACRO, 0)

        def MAP(self):
            return self.getToken(fugue_sqlParser.MAP, 0)

        def MATCHED(self):
            return self.getToken(fugue_sqlParser.MATCHED, 0)

        def MERGE(self):
            return self.getToken(fugue_sqlParser.MERGE, 0)

        def MSCK(self):
            return self.getToken(fugue_sqlParser.MSCK, 0)

        def NAMESPACE(self):
            return self.getToken(fugue_sqlParser.NAMESPACE, 0)

        def NAMESPACES(self):
            return self.getToken(fugue_sqlParser.NAMESPACES, 0)

        def NO(self):
            return self.getToken(fugue_sqlParser.NO, 0)

        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def OF(self):
            return self.getToken(fugue_sqlParser.OF, 0)

        def OPTION(self):
            return self.getToken(fugue_sqlParser.OPTION, 0)

        def OPTIONS(self):
            return self.getToken(fugue_sqlParser.OPTIONS, 0)

        def OUT(self):
            return self.getToken(fugue_sqlParser.OUT, 0)

        def OUTPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.OUTPUTFORMAT, 0)

        def OVER(self):
            return self.getToken(fugue_sqlParser.OVER, 0)

        def OVERLAY(self):
            return self.getToken(fugue_sqlParser.OVERLAY, 0)

        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)

        def PARTITION(self):
            return self.getToken(fugue_sqlParser.PARTITION, 0)

        def PARTITIONED(self):
            return self.getToken(fugue_sqlParser.PARTITIONED, 0)

        def PARTITIONS(self):
            return self.getToken(fugue_sqlParser.PARTITIONS, 0)

        def PERCENTLIT(self):
            return self.getToken(fugue_sqlParser.PERCENTLIT, 0)

        def PIVOT(self):
            return self.getToken(fugue_sqlParser.PIVOT, 0)

        def PLACING(self):
            return self.getToken(fugue_sqlParser.PLACING, 0)

        def POSITION(self):
            return self.getToken(fugue_sqlParser.POSITION, 0)

        def PRECEDING(self):
            return self.getToken(fugue_sqlParser.PRECEDING, 0)

        def PRINCIPALS(self):
            return self.getToken(fugue_sqlParser.PRINCIPALS, 0)

        def PROPERTIES(self):
            return self.getToken(fugue_sqlParser.PROPERTIES, 0)

        def PURGE(self):
            return self.getToken(fugue_sqlParser.PURGE, 0)

        def QUERY(self):
            return self.getToken(fugue_sqlParser.QUERY, 0)

        def RANGE(self):
            return self.getToken(fugue_sqlParser.RANGE, 0)

        def RECORDREADER(self):
            return self.getToken(fugue_sqlParser.RECORDREADER, 0)

        def RECORDWRITER(self):
            return self.getToken(fugue_sqlParser.RECORDWRITER, 0)

        def RECOVER(self):
            return self.getToken(fugue_sqlParser.RECOVER, 0)

        def REDUCE(self):
            return self.getToken(fugue_sqlParser.REDUCE, 0)

        def REFRESH(self):
            return self.getToken(fugue_sqlParser.REFRESH, 0)

        def RENAME(self):
            return self.getToken(fugue_sqlParser.RENAME, 0)

        def REPAIR(self):
            return self.getToken(fugue_sqlParser.REPAIR, 0)

        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)

        def RESET(self):
            return self.getToken(fugue_sqlParser.RESET, 0)

        def RESTRICT(self):
            return self.getToken(fugue_sqlParser.RESTRICT, 0)

        def REVOKE(self):
            return self.getToken(fugue_sqlParser.REVOKE, 0)

        def RLIKE(self):
            return self.getToken(fugue_sqlParser.RLIKE, 0)

        def ROLE(self):
            return self.getToken(fugue_sqlParser.ROLE, 0)

        def ROLES(self):
            return self.getToken(fugue_sqlParser.ROLES, 0)

        def ROLLBACK(self):
            return self.getToken(fugue_sqlParser.ROLLBACK, 0)

        def ROLLUP(self):
            return self.getToken(fugue_sqlParser.ROLLUP, 0)

        def ROW(self):
            return self.getToken(fugue_sqlParser.ROW, 0)

        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def SEPARATED(self):
            return self.getToken(fugue_sqlParser.SEPARATED, 0)

        def SERDE(self):
            return self.getToken(fugue_sqlParser.SERDE, 0)

        def SERDEPROPERTIES(self):
            return self.getToken(fugue_sqlParser.SERDEPROPERTIES, 0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def SETS(self):
            return self.getToken(fugue_sqlParser.SETS, 0)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)

        def SKEWED(self):
            return self.getToken(fugue_sqlParser.SKEWED, 0)

        def SORT(self):
            return self.getToken(fugue_sqlParser.SORT, 0)

        def SORTED(self):
            return self.getToken(fugue_sqlParser.SORTED, 0)

        def START(self):
            return self.getToken(fugue_sqlParser.START, 0)

        def STATISTICS(self):
            return self.getToken(fugue_sqlParser.STATISTICS, 0)

        def STORED(self):
            return self.getToken(fugue_sqlParser.STORED, 0)

        def STRATIFY(self):
            return self.getToken(fugue_sqlParser.STRATIFY, 0)

        def STRUCT(self):
            return self.getToken(fugue_sqlParser.STRUCT, 0)

        def SUBSTR(self):
            return self.getToken(fugue_sqlParser.SUBSTR, 0)

        def SUBSTRING(self):
            return self.getToken(fugue_sqlParser.SUBSTRING, 0)

        def TABLES(self):
            return self.getToken(fugue_sqlParser.TABLES, 0)

        def TABLESAMPLE(self):
            return self.getToken(fugue_sqlParser.TABLESAMPLE, 0)

        def TBLPROPERTIES(self):
            return self.getToken(fugue_sqlParser.TBLPROPERTIES, 0)

        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)

        def TERMINATED(self):
            return self.getToken(fugue_sqlParser.TERMINATED, 0)

        def TOUCH(self):
            return self.getToken(fugue_sqlParser.TOUCH, 0)

        def TRANSACTION(self):
            return self.getToken(fugue_sqlParser.TRANSACTION, 0)

        def TRANSACTIONS(self):
            return self.getToken(fugue_sqlParser.TRANSACTIONS, 0)

        def TRANSFORM(self):
            return self.getToken(fugue_sqlParser.TRANSFORM, 0)

        def TRIM(self):
            return self.getToken(fugue_sqlParser.TRIM, 0)

        def TRUE(self):
            return self.getToken(fugue_sqlParser.TRUE, 0)

        def TRUNCATE(self):
            return self.getToken(fugue_sqlParser.TRUNCATE, 0)

        def UNARCHIVE(self):
            return self.getToken(fugue_sqlParser.UNARCHIVE, 0)

        def UNBOUNDED(self):
            return self.getToken(fugue_sqlParser.UNBOUNDED, 0)

        def UNCACHE(self):
            return self.getToken(fugue_sqlParser.UNCACHE, 0)

        def UNLOCK(self):
            return self.getToken(fugue_sqlParser.UNLOCK, 0)

        def UNSET(self):
            return self.getToken(fugue_sqlParser.UNSET, 0)

        def UPDATE(self):
            return self.getToken(fugue_sqlParser.UPDATE, 0)

        def USE(self):
            return self.getToken(fugue_sqlParser.USE, 0)

        def VALUES(self):
            return self.getToken(fugue_sqlParser.VALUES, 0)

        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)

        def VIEWS(self):
            return self.getToken(fugue_sqlParser.VIEWS, 0)

        def WINDOW(self):
            return self.getToken(fugue_sqlParser.WINDOW, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_ansiNonReserved

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitAnsiNonReserved" ):
                return visitor.visitAnsiNonReserved(self)
            else:
                return visitor.visitChildren(self)




    def ansiNonReserved(self):

        localctx = fugue_sqlParser.AnsiNonReservedContext(self, self._ctx, self.state)
        self.enterRule(localctx, 394, self.RULE_ansiNonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3636
            _la = self._input.LA(1)
            if not((((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.ADD) | (1 << fugue_sqlParser.AFTER) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.ANALYZE) | (1 << fugue_sqlParser.ARCHIVE) | (1 << fugue_sqlParser.ARRAY) | (1 << fugue_sqlParser.ASC) | (1 << fugue_sqlParser.AT) | (1 << fugue_sqlParser.BETWEEN) | (1 << fugue_sqlParser.BUCKET) | (1 << fugue_sqlParser.BUCKETS) | (1 << fugue_sqlParser.BY) | (1 << fugue_sqlParser.CACHE) | (1 << fugue_sqlParser.CASCADE))) != 0) or ((((_la - 66)) & ~0x3f) == 0 and ((1 << (_la - 66)) & ((1 << (fugue_sqlParser.CHANGE - 66)) | (1 << (fugue_sqlParser.CLEAR - 66)) | (1 << (fugue_sqlParser.CLUSTER - 66)) | (1 << (fugue_sqlParser.CLUSTERED - 66)) | (1 << (fugue_sqlParser.CODEGEN - 66)) | (1 << (fugue_sqlParser.COLLECTION - 66)) | (1 << (fugue_sqlParser.COLUMNS - 66)) | (1 << (fugue_sqlParser.COMMENT - 66)) | (1 << (fugue_sqlParser.COMMIT - 66)) | (1 << (fugue_sqlParser.COMPACT - 66)) | (1 << (fugue_sqlParser.COMPACTIONS - 66)) | (1 << (fugue_sqlParser.COMPUTE - 66)) | (1 << (fugue_sqlParser.CONCATENATE - 66)) | (1 << (fugue_sqlParser.COST - 66)) | (1 << (fugue_sqlParser.CUBE - 66)) | (1 << (fugue_sqlParser.CURRENT - 66)) | (1 << (fugue_sqlParser.DATA - 66)) | (1 << (fugue_sqlParser.DATABASE - 66)) | (1 << (fugue_sqlParser.DATABASES - 66)) | (1 << (fugue_sqlParser.DBPROPERTIES - 66)) | (1 << (fugue_sqlParser.DEFINED - 66)) | (1 << (fugue_sqlParser.DELETE - 66)) | (1 << (fugue_sqlParser.DELIMITED - 66)) | (1 << (fugue_sqlParser.DESC - 66)) | (1 << (fugue_sqlParser.DESCRIBE - 66)) | (1 << (fugue_sqlParser.DFS - 66)) | (1 << (fugue_sqlParser.DIRECTORIES - 66)) | (1 << (fugue_sqlParser.DIRECTORY - 66)) | (1 << (fugue_sqlParser.DISTRIBUTE - 66)) | (1 << (fugue_sqlParser.DROP - 66)) | (1 << (fugue_sqlParser.ESCAPED - 66)) | (1 << (fugue_sqlParser.EXCHANGE - 66)) | (1 << (fugue_sqlParser.EXISTS - 66)) | (1 << (fugue_sqlParser.EXPLAIN - 66)) | (1 << (fugue_sqlParser.EXPORT - 66)) | (1 << (fugue_sqlParser.EXTENDED - 66)) | (1 << (fugue_sqlParser.EXTERNAL - 66)) | (1 << (fugue_sqlParser.EXTRACT - 66)) | (1 << (fugue_sqlParser.FIELDS - 66)) | (1 << (fugue_sqlParser.FILEFORMAT - 66)) | (1 << (fugue_sqlParser.FIRST - 66)) | (1 << (fugue_sqlParser.FOLLOWING - 66)) | (1 << (fugue_sqlParser.FORMAT - 66)))) != 0) or ((((_la - 130)) & ~0x3f) == 0 and ((1 << (_la - 130)) & ((1 << (fugue_sqlParser.FORMATTED - 130)) | (1 << (fugue_sqlParser.FUNCTION - 130)) | (1 << (fugue_sqlParser.FUNCTIONS - 130)) | (1 << (fugue_sqlParser.GLOBAL - 130)) | (1 << (fugue_sqlParser.GROUPING - 130)) | (1 << (fugue_sqlParser.IF - 130)) | (1 << (fugue_sqlParser.IGNORE - 130)) | (1 << (fugue_sqlParser.IMPORT - 130)) | (1 << (fugue_sqlParser.INDEX - 130)) | (1 << (fugue_sqlParser.INDEXES - 130)) | (1 << (fugue_sqlParser.INPATH - 130)) | (1 << (fugue_sqlParser.INPUTFORMAT - 130)) | (1 << (fugue_sqlParser.INSERT - 130)) | (1 << (fugue_sqlParser.INTERVAL - 130)) | (1 << (fugue_sqlParser.ITEMS - 130)) | (1 << (fugue_sqlParser.KEYS - 130)) | (1 << (fugue_sqlParser.LAST - 130)) | (1 << (fugue_sqlParser.LATERAL - 130)) | (1 << (fugue_sqlParser.LAZY - 130)) | (1 << (fugue_sqlParser.LIKE - 130)) | (1 << (fugue_sqlParser.LIMIT - 130)) | (1 << (fugue_sqlParser.LINES - 130)) | (1 << (fugue_sqlParser.LIST - 130)) | (1 << (fugue_sqlParser.LOAD - 130)) | (1 << (fugue_sqlParser.LOCAL - 130)) | (1 << (fugue_sqlParser.LOCATION - 130)) | (1 << (fugue_sqlParser.LOCK - 130)) | (1 << (fugue_sqlParser.LOCKS - 130)) | (1 << (fugue_sqlParser.LOGICAL - 130)) | (1 << (fugue_sqlParser.MACRO - 130)) | (1 << (fugue_sqlParser.MAP - 130)) | (1 << (fugue_sqlParser.MATCHED - 130)) | (1 << (fugue_sqlParser.MERGE - 130)) | (1 << (fugue_sqlParser.MSCK - 130)) | (1 << (fugue_sqlParser.NAMESPACE - 130)) | (1 << (fugue_sqlParser.NAMESPACES - 130)) | (1 << (fugue_sqlParser.NO - 130)) | (1 << (fugue_sqlParser.NULLS - 130)) | (1 << (fugue_sqlParser.OF - 130)) | (1 << (fugue_sqlParser.OPTION - 130)) | (1 << (fugue_sqlParser.OPTIONS - 130)))) != 0) or ((((_la - 194)) & ~0x3f) == 0 and ((1 << (_la - 194)) & ((1 << (fugue_sqlParser.OUT - 194)) | (1 << (fugue_sqlParser.OUTPUTFORMAT - 194)) | (1 << (fugue_sqlParser.OVER - 194)) | (1 << (fugue_sqlParser.OVERLAY - 194)) | (1 << (fugue_sqlParser.OVERWRITE - 194)) | (1 << (fugue_sqlParser.PARTITION - 194)) | (1 << (fugue_sqlParser.PARTITIONED - 194)) | (1 << (fugue_sqlParser.PARTITIONS - 194)) | (1 << (fugue_sqlParser.PERCENTLIT - 194)) | (1 << (fugue_sqlParser.PIVOT - 194)) | (1 << (fugue_sqlParser.PLACING - 194)) | (1 << (fugue_sqlParser.POSITION - 194)) | (1 << (fugue_sqlParser.PRECEDING - 194)) | (1 << (fugue_sqlParser.PRINCIPALS - 194)) | (1 << (fugue_sqlParser.PROPERTIES - 194)) | (1 << (fugue_sqlParser.PURGE - 194)) | (1 << (fugue_sqlParser.QUERY - 194)) | (1 << (fugue_sqlParser.RANGE - 194)) | (1 << (fugue_sqlParser.RECORDREADER - 194)) | (1 << (fugue_sqlParser.RECORDWRITER - 194)) | (1 << (fugue_sqlParser.RECOVER - 194)) | (1 << (fugue_sqlParser.REDUCE - 194)) | (1 << (fugue_sqlParser.REFRESH - 194)) | (1 << (fugue_sqlParser.RENAME - 194)) | (1 << (fugue_sqlParser.REPAIR - 194)) | (1 << (fugue_sqlParser.REPLACE - 194)) | (1 << (fugue_sqlParser.RESET - 194)) | (1 << (fugue_sqlParser.RESTRICT - 194)) | (1 << (fugue_sqlParser.REVOKE - 194)) | (1 << (fugue_sqlParser.RLIKE - 194)) | (1 << (fugue_sqlParser.ROLE - 194)) | (1 << (fugue_sqlParser.ROLES - 194)) | (1 << (fugue_sqlParser.ROLLBACK - 194)) | (1 << (fugue_sqlParser.ROLLUP - 194)) | (1 << (fugue_sqlParser.ROW - 194)) | (1 << (fugue_sqlParser.ROWS - 194)) | (1 << (fugue_sqlParser.SCHEMA - 194)) | (1 << (fugue_sqlParser.SEPARATED - 194)) | (1 << (fugue_sqlParser.SERDE - 194)) | (1 << (fugue_sqlParser.SERDEPROPERTIES - 194)) | (1 << (fugue_sqlParser.SET - 194)) | (1 << (fugue_sqlParser.SETS - 194)) | (1 << (fugue_sqlParser.SHOW - 194)) | (1 << (fugue_sqlParser.SKEWED - 194)) | (1 << (fugue_sqlParser.SORT - 194)) | (1 << (fugue_sqlParser.SORTED - 194)) | (1 << (fugue_sqlParser.START - 194)) | (1 << (fugue_sqlParser.STATISTICS - 194)) | (1 << (fugue_sqlParser.STORED - 194)) | (1 << (fugue_sqlParser.STRATIFY - 194)) | (1 << (fugue_sqlParser.STRUCT - 194)) | (1 << (fugue_sqlParser.SUBSTR - 194)) | (1 << (fugue_sqlParser.SUBSTRING - 194)))) != 0) or ((((_la - 259)) & ~0x3f) == 0 and ((1 << (_la - 259)) & ((1 << (fugue_sqlParser.TABLES - 259)) | (1 << (fugue_sqlParser.TABLESAMPLE - 259)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 259)) | (1 << (fugue_sqlParser.TEMPORARY - 259)) | (1 << (fugue_sqlParser.TERMINATED - 259)) | (1 << (fugue_sqlParser.TOUCH - 259)) | (1 << (fugue_sqlParser.TRANSACTION - 259)) | (1 << (fugue_sqlParser.TRANSACTIONS - 259)) | (1 << (fugue_sqlParser.TRANSFORM - 259)) | (1 << (fugue_sqlParser.TRIM - 259)) | (1 << (fugue_sqlParser.TRUE - 259)) | (1 << (fugue_sqlParser.TRUNCATE - 259)) | (1 << (fugue_sqlParser.UNARCHIVE - 259)) | (1 << (fugue_sqlParser.UNBOUNDED - 259)) | (1 << (fugue_sqlParser.UNCACHE - 259)) | (1 << (fugue_sqlParser.UNLOCK - 259)) | (1 << (fugue_sqlParser.UNSET - 259)) | (1 << (fugue_sqlParser.UPDATE - 259)) | (1 << (fugue_sqlParser.USE - 259)) | (1 << (fugue_sqlParser.VALUES - 259)) | (1 << (fugue_sqlParser.VIEW - 259)) | (1 << (fugue_sqlParser.VIEWS - 259)) | (1 << (fugue_sqlParser.WINDOW - 259)) | (1 << (fugue_sqlParser.DIV - 259)))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class StrictNonReservedContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def ANTI(self):
            return self.getToken(fugue_sqlParser.ANTI, 0)

        def CROSS(self):
            return self.getToken(fugue_sqlParser.CROSS, 0)

        def EXCEPT(self):
            return self.getToken(fugue_sqlParser.EXCEPT, 0)

        def FULL(self):
            return self.getToken(fugue_sqlParser.FULL, 0)

        def INNER(self):
            return self.getToken(fugue_sqlParser.INNER, 0)

        def INTERSECT(self):
            return self.getToken(fugue_sqlParser.INTERSECT, 0)

        def JOIN(self):
            return self.getToken(fugue_sqlParser.JOIN, 0)

        def LEFT(self):
            return self.getToken(fugue_sqlParser.LEFT, 0)

        def NATURAL(self):
            return self.getToken(fugue_sqlParser.NATURAL, 0)

        def ON(self):
            return self.getToken(fugue_sqlParser.ON, 0)

        def RIGHT(self):
            return self.getToken(fugue_sqlParser.RIGHT, 0)

        def SEMI(self):
            return self.getToken(fugue_sqlParser.SEMI, 0)

        def SETMINUS(self):
            return self.getToken(fugue_sqlParser.SETMINUS, 0)

        def UNION(self):
            return self.getToken(fugue_sqlParser.UNION, 0)

        def USING(self):
            return self.getToken(fugue_sqlParser.USING, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_strictNonReserved

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitStrictNonReserved" ):
                return visitor.visitStrictNonReserved(self)
            else:
                return visitor.visitChildren(self)




    def strictNonReserved(self):

        localctx = fugue_sqlParser.StrictNonReservedContext(self, self._ctx, self.state)
        self.enterRule(localctx, 396, self.RULE_strictNonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3638
            _la = self._input.LA(1)
            if not(((((_la - 49)) & ~0x3f) == 0 and ((1 << (_la - 49)) & ((1 << (fugue_sqlParser.ANTI - 49)) | (1 << (fugue_sqlParser.CROSS - 49)) | (1 << (fugue_sqlParser.EXCEPT - 49)))) != 0) or ((((_la - 132)) & ~0x3f) == 0 and ((1 << (_la - 132)) & ((1 << (fugue_sqlParser.FULL - 132)) | (1 << (fugue_sqlParser.INNER - 132)) | (1 << (fugue_sqlParser.INTERSECT - 132)) | (1 << (fugue_sqlParser.JOIN - 132)) | (1 << (fugue_sqlParser.LEFT - 132)) | (1 << (fugue_sqlParser.NATURAL - 132)) | (1 << (fugue_sqlParser.ON - 132)))) != 0) or ((((_la - 227)) & ~0x3f) == 0 and ((1 << (_la - 227)) & ((1 << (fugue_sqlParser.RIGHT - 227)) | (1 << (fugue_sqlParser.SEMI - 227)) | (1 << (fugue_sqlParser.SETMINUS - 227)) | (1 << (fugue_sqlParser.UNION - 227)) | (1 << (fugue_sqlParser.USING - 227)))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx


    class NonReservedContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser

        def ADD(self):
            return self.getToken(fugue_sqlParser.ADD, 0)

        def AFTER(self):
            return self.getToken(fugue_sqlParser.AFTER, 0)

        def ALL(self):
            return self.getToken(fugue_sqlParser.ALL, 0)

        def ALTER(self):
            return self.getToken(fugue_sqlParser.ALTER, 0)

        def ANALYZE(self):
            return self.getToken(fugue_sqlParser.ANALYZE, 0)

        def AND(self):
            return self.getToken(fugue_sqlParser.AND, 0)

        def ANY(self):
            return self.getToken(fugue_sqlParser.ANY, 0)

        def ARCHIVE(self):
            return self.getToken(fugue_sqlParser.ARCHIVE, 0)

        def ARRAY(self):
            return self.getToken(fugue_sqlParser.ARRAY, 0)

        def AS(self):
            return self.getToken(fugue_sqlParser.AS, 0)

        def ASC(self):
            return self.getToken(fugue_sqlParser.ASC, 0)

        def AT(self):
            return self.getToken(fugue_sqlParser.AT, 0)

        def AUTHORIZATION(self):
            return self.getToken(fugue_sqlParser.AUTHORIZATION, 0)

        def BETWEEN(self):
            return self.getToken(fugue_sqlParser.BETWEEN, 0)

        def BOTH(self):
            return self.getToken(fugue_sqlParser.BOTH, 0)

        def BUCKET(self):
            return self.getToken(fugue_sqlParser.BUCKET, 0)

        def BUCKETS(self):
            return self.getToken(fugue_sqlParser.BUCKETS, 0)

        def BY(self):
            return self.getToken(fugue_sqlParser.BY, 0)

        def CACHE(self):
            return self.getToken(fugue_sqlParser.CACHE, 0)

        def CASCADE(self):
            return self.getToken(fugue_sqlParser.CASCADE, 0)

        def CASE(self):
            return self.getToken(fugue_sqlParser.CASE, 0)

        def CAST(self):
            return self.getToken(fugue_sqlParser.CAST, 0)

        def CHANGE(self):
            return self.getToken(fugue_sqlParser.CHANGE, 0)

        def CHECK(self):
            return self.getToken(fugue_sqlParser.CHECK, 0)

        def CLEAR(self):
            return self.getToken(fugue_sqlParser.CLEAR, 0)

        def CLUSTER(self):
            return self.getToken(fugue_sqlParser.CLUSTER, 0)

        def CLUSTERED(self):
            return self.getToken(fugue_sqlParser.CLUSTERED, 0)

        def CODEGEN(self):
            return self.getToken(fugue_sqlParser.CODEGEN, 0)

        def COLLATE(self):
            return self.getToken(fugue_sqlParser.COLLATE, 0)

        def COLLECTION(self):
            return self.getToken(fugue_sqlParser.COLLECTION, 0)

        def COLUMN(self):
            return self.getToken(fugue_sqlParser.COLUMN, 0)

        def COLUMNS(self):
            return self.getToken(fugue_sqlParser.COLUMNS, 0)

        def COMMENT(self):
            return self.getToken(fugue_sqlParser.COMMENT, 0)

        def COMMIT(self):
            return self.getToken(fugue_sqlParser.COMMIT, 0)

        def COMPACT(self):
            return self.getToken(fugue_sqlParser.COMPACT, 0)

        def COMPACTIONS(self):
            return self.getToken(fugue_sqlParser.COMPACTIONS, 0)

        def COMPUTE(self):
            return self.getToken(fugue_sqlParser.COMPUTE, 0)

        def CONCATENATE(self):
            return self.getToken(fugue_sqlParser.CONCATENATE, 0)

        def CONSTRAINT(self):
            return self.getToken(fugue_sqlParser.CONSTRAINT, 0)

        def COST(self):
            return self.getToken(fugue_sqlParser.COST, 0)

        def CREATE(self):
            return self.getToken(fugue_sqlParser.CREATE, 0)

        def CUBE(self):
            return self.getToken(fugue_sqlParser.CUBE, 0)

        def CURRENT(self):
            return self.getToken(fugue_sqlParser.CURRENT, 0)

        def CURRENT_DATE(self):
            return self.getToken(fugue_sqlParser.CURRENT_DATE, 0)

        def CURRENT_TIME(self):
            return self.getToken(fugue_sqlParser.CURRENT_TIME, 0)

        def CURRENT_TIMESTAMP(self):
            return self.getToken(fugue_sqlParser.CURRENT_TIMESTAMP, 0)

        def CURRENT_USER(self):
            return self.getToken(fugue_sqlParser.CURRENT_USER, 0)

        def DATA(self):
            return self.getToken(fugue_sqlParser.DATA, 0)

        def DATABASE(self):
            return self.getToken(fugue_sqlParser.DATABASE, 0)

        def DATABASES(self):
            return self.getToken(fugue_sqlParser.DATABASES, 0)

        def DAY(self):
            return self.getToken(fugue_sqlParser.DAY, 0)

        def DBPROPERTIES(self):
            return self.getToken(fugue_sqlParser.DBPROPERTIES, 0)

        def DEFINED(self):
            return self.getToken(fugue_sqlParser.DEFINED, 0)

        def DELETE(self):
            return self.getToken(fugue_sqlParser.DELETE, 0)

        def DELIMITED(self):
            return self.getToken(fugue_sqlParser.DELIMITED, 0)

        def DESC(self):
            return self.getToken(fugue_sqlParser.DESC, 0)

        def DESCRIBE(self):
            return self.getToken(fugue_sqlParser.DESCRIBE, 0)

        def DFS(self):
            return self.getToken(fugue_sqlParser.DFS, 0)

        def DIRECTORIES(self):
            return self.getToken(fugue_sqlParser.DIRECTORIES, 0)

        def DIRECTORY(self):
            return self.getToken(fugue_sqlParser.DIRECTORY, 0)

        def DISTINCT(self):
            return self.getToken(fugue_sqlParser.DISTINCT, 0)

        def DISTRIBUTE(self):
            return self.getToken(fugue_sqlParser.DISTRIBUTE, 0)

        def DIV(self):
            return self.getToken(fugue_sqlParser.DIV, 0)

        def DROP(self):
            return self.getToken(fugue_sqlParser.DROP, 0)

        def ELSE(self):
            return self.getToken(fugue_sqlParser.ELSE, 0)

        def END(self):
            return self.getToken(fugue_sqlParser.END, 0)

        def ESCAPE(self):
            return self.getToken(fugue_sqlParser.ESCAPE, 0)

        def ESCAPED(self):
            return self.getToken(fugue_sqlParser.ESCAPED, 0)

        def EXCHANGE(self):
            return self.getToken(fugue_sqlParser.EXCHANGE, 0)

        def EXISTS(self):
            return self.getToken(fugue_sqlParser.EXISTS, 0)

        def EXPLAIN(self):
            return self.getToken(fugue_sqlParser.EXPLAIN, 0)

        def EXPORT(self):
            return self.getToken(fugue_sqlParser.EXPORT, 0)

        def EXTENDED(self):
            return self.getToken(fugue_sqlParser.EXTENDED, 0)

        def EXTERNAL(self):
            return self.getToken(fugue_sqlParser.EXTERNAL, 0)

        def EXTRACT(self):
            return self.getToken(fugue_sqlParser.EXTRACT, 0)

        def FALSE(self):
            return self.getToken(fugue_sqlParser.FALSE, 0)

        def FETCH(self):
            return self.getToken(fugue_sqlParser.FETCH, 0)

        def FILTER(self):
            return self.getToken(fugue_sqlParser.FILTER, 0)

        def FIELDS(self):
            return self.getToken(fugue_sqlParser.FIELDS, 0)

        def FILEFORMAT(self):
            return self.getToken(fugue_sqlParser.FILEFORMAT, 0)

        def FIRST(self):
            return self.getToken(fugue_sqlParser.FIRST, 0)

        def FOLLOWING(self):
            return self.getToken(fugue_sqlParser.FOLLOWING, 0)

        def FOR(self):
            return self.getToken(fugue_sqlParser.FOR, 0)

        def FOREIGN(self):
            return self.getToken(fugue_sqlParser.FOREIGN, 0)

        def FORMAT(self):
            return self.getToken(fugue_sqlParser.FORMAT, 0)

        def FORMATTED(self):
            return self.getToken(fugue_sqlParser.FORMATTED, 0)

        def FROM(self):
            return self.getToken(fugue_sqlParser.FROM, 0)

        def FUNCTION(self):
            return self.getToken(fugue_sqlParser.FUNCTION, 0)

        def FUNCTIONS(self):
            return self.getToken(fugue_sqlParser.FUNCTIONS, 0)

        def GLOBAL(self):
            return self.getToken(fugue_sqlParser.GLOBAL, 0)

        def GRANT(self):
            return self.getToken(fugue_sqlParser.GRANT, 0)

        def GROUP(self):
            return self.getToken(fugue_sqlParser.GROUP, 0)

        def GROUPING(self):
            return self.getToken(fugue_sqlParser.GROUPING, 0)

        def HAVING(self):
            return self.getToken(fugue_sqlParser.HAVING, 0)

        def HOUR(self):
            return self.getToken(fugue_sqlParser.HOUR, 0)

        def IF(self):
            return self.getToken(fugue_sqlParser.IF, 0)

        def IGNORE(self):
            return self.getToken(fugue_sqlParser.IGNORE, 0)

        def IMPORT(self):
            return self.getToken(fugue_sqlParser.IMPORT, 0)

        def IN(self):
            return self.getToken(fugue_sqlParser.IN, 0)

        def INDEX(self):
            return self.getToken(fugue_sqlParser.INDEX, 0)

        def INDEXES(self):
            return self.getToken(fugue_sqlParser.INDEXES, 0)

        def INPATH(self):
            return self.getToken(fugue_sqlParser.INPATH, 0)

        def INPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.INPUTFORMAT, 0)

        def INSERT(self):
            return self.getToken(fugue_sqlParser.INSERT, 0)

        def INTERVAL(self):
            return self.getToken(fugue_sqlParser.INTERVAL, 0)

        def INTO(self):
            return self.getToken(fugue_sqlParser.INTO, 0)

        def IS(self):
            return self.getToken(fugue_sqlParser.IS, 0)

        def ITEMS(self):
            return self.getToken(fugue_sqlParser.ITEMS, 0)

        def KEYS(self):
            return self.getToken(fugue_sqlParser.KEYS, 0)

        def LAST(self):
            return self.getToken(fugue_sqlParser.LAST, 0)

        def LATERAL(self):
            return self.getToken(fugue_sqlParser.LATERAL, 0)

        def LAZY(self):
            return self.getToken(fugue_sqlParser.LAZY, 0)

        def LEADING(self):
            return self.getToken(fugue_sqlParser.LEADING, 0)

        def LIKE(self):
            return self.getToken(fugue_sqlParser.LIKE, 0)

        def LIMIT(self):
            return self.getToken(fugue_sqlParser.LIMIT, 0)

        def LINES(self):
            return self.getToken(fugue_sqlParser.LINES, 0)

        def LIST(self):
            return self.getToken(fugue_sqlParser.LIST, 0)

        def LOAD(self):
            return self.getToken(fugue_sqlParser.LOAD, 0)

        def LOCAL(self):
            return self.getToken(fugue_sqlParser.LOCAL, 0)

        def LOCATION(self):
            return self.getToken(fugue_sqlParser.LOCATION, 0)

        def LOCK(self):
            return self.getToken(fugue_sqlParser.LOCK, 0)

        def LOCKS(self):
            return self.getToken(fugue_sqlParser.LOCKS, 0)

        def LOGICAL(self):
            return self.getToken(fugue_sqlParser.LOGICAL, 0)

        def MACRO(self):
            return self.getToken(fugue_sqlParser.MACRO, 0)

        def MAP(self):
            return self.getToken(fugue_sqlParser.MAP, 0)

        def MATCHED(self):
            return self.getToken(fugue_sqlParser.MATCHED, 0)

        def MERGE(self):
            return self.getToken(fugue_sqlParser.MERGE, 0)

        def MINUTE(self):
            return self.getToken(fugue_sqlParser.MINUTE, 0)

        def MONTH(self):
            return self.getToken(fugue_sqlParser.MONTH, 0)

        def MSCK(self):
            return self.getToken(fugue_sqlParser.MSCK, 0)

        def NAMESPACE(self):
            return self.getToken(fugue_sqlParser.NAMESPACE, 0)

        def NAMESPACES(self):
            return self.getToken(fugue_sqlParser.NAMESPACES, 0)

        def NO(self):
            return self.getToken(fugue_sqlParser.NO, 0)

        def NOT(self):
            return self.getToken(fugue_sqlParser.NOT, 0)

        def NULL(self):
            return self.getToken(fugue_sqlParser.NULL, 0)

        def NULLS(self):
            return self.getToken(fugue_sqlParser.NULLS, 0)

        def OF(self):
            return self.getToken(fugue_sqlParser.OF, 0)

        def ONLY(self):
            return self.getToken(fugue_sqlParser.ONLY, 0)

        def OPTION(self):
            return self.getToken(fugue_sqlParser.OPTION, 0)

        def OPTIONS(self):
            return self.getToken(fugue_sqlParser.OPTIONS, 0)

        def OR(self):
            return self.getToken(fugue_sqlParser.OR, 0)

        def ORDER(self):
            return self.getToken(fugue_sqlParser.ORDER, 0)

        def OUT(self):
            return self.getToken(fugue_sqlParser.OUT, 0)

        def OUTER(self):
            return self.getToken(fugue_sqlParser.OUTER, 0)

        def OUTPUTFORMAT(self):
            return self.getToken(fugue_sqlParser.OUTPUTFORMAT, 0)

        def OVER(self):
            return self.getToken(fugue_sqlParser.OVER, 0)

        def OVERLAPS(self):
            return self.getToken(fugue_sqlParser.OVERLAPS, 0)

        def OVERLAY(self):
            return self.getToken(fugue_sqlParser.OVERLAY, 0)

        def OVERWRITE(self):
            return self.getToken(fugue_sqlParser.OVERWRITE, 0)

        def PARTITION(self):
            return self.getToken(fugue_sqlParser.PARTITION, 0)

        def PARTITIONED(self):
            return self.getToken(fugue_sqlParser.PARTITIONED, 0)

        def PARTITIONS(self):
            return self.getToken(fugue_sqlParser.PARTITIONS, 0)

        def PERCENTLIT(self):
            return self.getToken(fugue_sqlParser.PERCENTLIT, 0)

        def PIVOT(self):
            return self.getToken(fugue_sqlParser.PIVOT, 0)

        def PLACING(self):
            return self.getToken(fugue_sqlParser.PLACING, 0)

        def POSITION(self):
            return self.getToken(fugue_sqlParser.POSITION, 0)

        def PRECEDING(self):
            return self.getToken(fugue_sqlParser.PRECEDING, 0)

        def PRIMARY(self):
            return self.getToken(fugue_sqlParser.PRIMARY, 0)

        def PRINCIPALS(self):
            return self.getToken(fugue_sqlParser.PRINCIPALS, 0)

        def PROPERTIES(self):
            return self.getToken(fugue_sqlParser.PROPERTIES, 0)

        def PURGE(self):
            return self.getToken(fugue_sqlParser.PURGE, 0)

        def QUERY(self):
            return self.getToken(fugue_sqlParser.QUERY, 0)

        def RANGE(self):
            return self.getToken(fugue_sqlParser.RANGE, 0)

        def RECORDREADER(self):
            return self.getToken(fugue_sqlParser.RECORDREADER, 0)

        def RECORDWRITER(self):
            return self.getToken(fugue_sqlParser.RECORDWRITER, 0)

        def RECOVER(self):
            return self.getToken(fugue_sqlParser.RECOVER, 0)

        def REDUCE(self):
            return self.getToken(fugue_sqlParser.REDUCE, 0)

        def REFERENCES(self):
            return self.getToken(fugue_sqlParser.REFERENCES, 0)

        def REFRESH(self):
            return self.getToken(fugue_sqlParser.REFRESH, 0)

        def RENAME(self):
            return self.getToken(fugue_sqlParser.RENAME, 0)

        def REPAIR(self):
            return self.getToken(fugue_sqlParser.REPAIR, 0)

        def REPLACE(self):
            return self.getToken(fugue_sqlParser.REPLACE, 0)

        def RESET(self):
            return self.getToken(fugue_sqlParser.RESET, 0)

        def RESTRICT(self):
            return self.getToken(fugue_sqlParser.RESTRICT, 0)

        def REVOKE(self):
            return self.getToken(fugue_sqlParser.REVOKE, 0)

        def RLIKE(self):
            return self.getToken(fugue_sqlParser.RLIKE, 0)

        def ROLE(self):
            return self.getToken(fugue_sqlParser.ROLE, 0)

        def ROLES(self):
            return self.getToken(fugue_sqlParser.ROLES, 0)

        def ROLLBACK(self):
            return self.getToken(fugue_sqlParser.ROLLBACK, 0)

        def ROLLUP(self):
            return self.getToken(fugue_sqlParser.ROLLUP, 0)

        def ROW(self):
            return self.getToken(fugue_sqlParser.ROW, 0)

        def ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def SCHEMA(self):
            return self.getToken(fugue_sqlParser.SCHEMA, 0)

        def SECOND(self):
            return self.getToken(fugue_sqlParser.SECOND, 0)

        def SELECT(self):
            return self.getToken(fugue_sqlParser.SELECT, 0)

        def SEPARATED(self):
            return self.getToken(fugue_sqlParser.SEPARATED, 0)

        def SERDE(self):
            return self.getToken(fugue_sqlParser.SERDE, 0)

        def SERDEPROPERTIES(self):
            return self.getToken(fugue_sqlParser.SERDEPROPERTIES, 0)

        def SESSION_USER(self):
            return self.getToken(fugue_sqlParser.SESSION_USER, 0)

        def SET(self):
            return self.getToken(fugue_sqlParser.SET, 0)

        def SETS(self):
            return self.getToken(fugue_sqlParser.SETS, 0)

        def SHOW(self):
            return self.getToken(fugue_sqlParser.SHOW, 0)

        def SKEWED(self):
            return self.getToken(fugue_sqlParser.SKEWED, 0)

        def SOME(self):
            return self.getToken(fugue_sqlParser.SOME, 0)

        def SORT(self):
            return self.getToken(fugue_sqlParser.SORT, 0)

        def SORTED(self):
            return self.getToken(fugue_sqlParser.SORTED, 0)

        def START(self):
            return self.getToken(fugue_sqlParser.START, 0)

        def STATISTICS(self):
            return self.getToken(fugue_sqlParser.STATISTICS, 0)

        def STORED(self):
            return self.getToken(fugue_sqlParser.STORED, 0)

        def STRATIFY(self):
            return self.getToken(fugue_sqlParser.STRATIFY, 0)

        def STRUCT(self):
            return self.getToken(fugue_sqlParser.STRUCT, 0)

        def SUBSTR(self):
            return self.getToken(fugue_sqlParser.SUBSTR, 0)

        def SUBSTRING(self):
            return self.getToken(fugue_sqlParser.SUBSTRING, 0)

        def TABLE(self):
            return self.getToken(fugue_sqlParser.TABLE, 0)

        def TABLES(self):
            return self.getToken(fugue_sqlParser.TABLES, 0)

        def TABLESAMPLE(self):
            return self.getToken(fugue_sqlParser.TABLESAMPLE, 0)

        def TBLPROPERTIES(self):
            return self.getToken(fugue_sqlParser.TBLPROPERTIES, 0)

        def TEMPORARY(self):
            return self.getToken(fugue_sqlParser.TEMPORARY, 0)

        def TERMINATED(self):
            return self.getToken(fugue_sqlParser.TERMINATED, 0)

        def THEN(self):
            return self.getToken(fugue_sqlParser.THEN, 0)

        def TO(self):
            return self.getToken(fugue_sqlParser.TO, 0)

        def TOUCH(self):
            return self.getToken(fugue_sqlParser.TOUCH, 0)

        def TRAILING(self):
            return self.getToken(fugue_sqlParser.TRAILING, 0)

        def TRANSACTION(self):
            return self.getToken(fugue_sqlParser.TRANSACTION, 0)

        def TRANSACTIONS(self):
            return self.getToken(fugue_sqlParser.TRANSACTIONS, 0)

        def TRANSFORM(self):
            return self.getToken(fugue_sqlParser.TRANSFORM, 0)

        def TRIM(self):
            return self.getToken(fugue_sqlParser.TRIM, 0)

        def TRUE(self):
            return self.getToken(fugue_sqlParser.TRUE, 0)

        def TRUNCATE(self):
            return self.getToken(fugue_sqlParser.TRUNCATE, 0)

        def TYPE(self):
            return self.getToken(fugue_sqlParser.TYPE, 0)

        def UNARCHIVE(self):
            return self.getToken(fugue_sqlParser.UNARCHIVE, 0)

        def UNBOUNDED(self):
            return self.getToken(fugue_sqlParser.UNBOUNDED, 0)

        def UNCACHE(self):
            return self.getToken(fugue_sqlParser.UNCACHE, 0)

        def UNIQUE(self):
            return self.getToken(fugue_sqlParser.UNIQUE, 0)

        def UNKNOWN(self):
            return self.getToken(fugue_sqlParser.UNKNOWN, 0)

        def UNLOCK(self):
            return self.getToken(fugue_sqlParser.UNLOCK, 0)

        def UNSET(self):
            return self.getToken(fugue_sqlParser.UNSET, 0)

        def UPDATE(self):
            return self.getToken(fugue_sqlParser.UPDATE, 0)

        def USE(self):
            return self.getToken(fugue_sqlParser.USE, 0)

        def USER(self):
            return self.getToken(fugue_sqlParser.USER, 0)

        def VALUES(self):
            return self.getToken(fugue_sqlParser.VALUES, 0)

        def VIEW(self):
            return self.getToken(fugue_sqlParser.VIEW, 0)

        def VIEWS(self):
            return self.getToken(fugue_sqlParser.VIEWS, 0)

        def WHEN(self):
            return self.getToken(fugue_sqlParser.WHEN, 0)

        def WHERE(self):
            return self.getToken(fugue_sqlParser.WHERE, 0)

        def WINDOW(self):
            return self.getToken(fugue_sqlParser.WINDOW, 0)

        def WITH(self):
            return self.getToken(fugue_sqlParser.WITH, 0)

        def YEAR(self):
            return self.getToken(fugue_sqlParser.YEAR, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_nonReserved

        def accept(self, visitor:ParseTreeVisitor):
            if hasattr( visitor, "visitNonReserved" ):
                return visitor.visitNonReserved(self)
            else:
                return visitor.visitChildren(self)




    def nonReserved(self):

        localctx = fugue_sqlParser.NonReservedContext(self, self._ctx, self.state)
        self.enterRule(localctx, 398, self.RULE_nonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3640
            _la = self._input.LA(1)
            if not((((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.ADD) | (1 << fugue_sqlParser.AFTER) | (1 << fugue_sqlParser.ALL) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.ANALYZE) | (1 << fugue_sqlParser.AND) | (1 << fugue_sqlParser.ANY) | (1 << fugue_sqlParser.ARCHIVE) | (1 << fugue_sqlParser.ARRAY) | (1 << fugue_sqlParser.AS) | (1 << fugue_sqlParser.ASC) | (1 << fugue_sqlParser.AT) | (1 << fugue_sqlParser.AUTHORIZATION) | (1 << fugue_sqlParser.BETWEEN) | (1 << fugue_sqlParser.BOTH) | (1 << fugue_sqlParser.BUCKET) | (1 << fugue_sqlParser.BUCKETS) | (1 << fugue_sqlParser.BY) | (1 << fugue_sqlParser.CACHE) | (1 << fugue_sqlParser.CASCADE))) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & ((1 << (fugue_sqlParser.CASE - 64)) | (1 << (fugue_sqlParser.CAST - 64)) | (1 << (fugue_sqlParser.CHANGE - 64)) | (1 << (fugue_sqlParser.CHECK - 64)) | (1 << (fugue_sqlParser.CLEAR - 64)) | (1 << (fugue_sqlParser.CLUSTER - 64)) | (1 << (fugue_sqlParser.CLUSTERED - 64)) | (1 << (fugue_sqlParser.CODEGEN - 64)) | (1 << (fugue_sqlParser.COLLATE - 64)) | (1 << (fugue_sqlParser.COLLECTION - 64)) | (1 << (fugue_sqlParser.COLUMN - 64)) | (1 << (fugue_sqlParser.COLUMNS - 64)) | (1 << (fugue_sqlParser.COMMENT - 64)) | (1 << (fugue_sqlParser.COMMIT - 64)) | (1 << (fugue_sqlParser.COMPACT - 64)) | (1 << (fugue_sqlParser.COMPACTIONS - 64)) | (1 << (fugue_sqlParser.COMPUTE - 64)) | (1 << (fugue_sqlParser.CONCATENATE - 64)) | (1 << (fugue_sqlParser.CONSTRAINT - 64)) | (1 << (fugue_sqlParser.COST - 64)) | (1 << (fugue_sqlParser.CREATE - 64)) | (1 << (fugue_sqlParser.CUBE - 64)) | (1 << (fugue_sqlParser.CURRENT - 64)) | (1 << (fugue_sqlParser.CURRENT_DATE - 64)) | (1 << (fugue_sqlParser.CURRENT_TIME - 64)) | (1 << (fugue_sqlParser.CURRENT_TIMESTAMP - 64)) | (1 << (fugue_sqlParser.CURRENT_USER - 64)) | (1 << (fugue_sqlParser.DATA - 64)) | (1 << (fugue_sqlParser.DATABASE - 64)) | (1 << (fugue_sqlParser.DATABASES - 64)) | (1 << (fugue_sqlParser.DAY - 64)) | (1 << (fugue_sqlParser.DBPROPERTIES - 64)) | (1 << (fugue_sqlParser.DEFINED - 64)) | (1 << (fugue_sqlParser.DELETE - 64)) | (1 << (fugue_sqlParser.DELIMITED - 64)) | (1 << (fugue_sqlParser.DESC - 64)) | (1 << (fugue_sqlParser.DESCRIBE - 64)) | (1 << (fugue_sqlParser.DFS - 64)) | (1 << (fugue_sqlParser.DIRECTORIES - 64)) | (1 << (fugue_sqlParser.DIRECTORY - 64)) | (1 << (fugue_sqlParser.DISTINCT - 64)) | (1 << (fugue_sqlParser.DISTRIBUTE - 64)) | (1 << (fugue_sqlParser.DROP - 64)) | (1 << (fugue_sqlParser.ELSE - 64)) | (1 << (fugue_sqlParser.END - 64)) | (1 << (fugue_sqlParser.ESCAPE - 64)) | (1 << (fugue_sqlParser.ESCAPED - 64)) | (1 << (fugue_sqlParser.EXCHANGE - 64)) | (1 << (fugue_sqlParser.EXISTS - 64)) | (1 << (fugue_sqlParser.EXPLAIN - 64)) | (1 << (fugue_sqlParser.EXPORT - 64)) | (1 << (fugue_sqlParser.EXTENDED - 64)) | (1 << (fugue_sqlParser.EXTERNAL - 64)) | (1 << (fugue_sqlParser.EXTRACT - 64)) | (1 << (fugue_sqlParser.FALSE - 64)) | (1 << (fugue_sqlParser.FETCH - 64)) | (1 << (fugue_sqlParser.FIELDS - 64)) | (1 << (fugue_sqlParser.FILTER - 64)) | (1 << (fugue_sqlParser.FILEFORMAT - 64)) | (1 << (fugue_sqlParser.FIRST - 64)) | (1 << (fugue_sqlParser.FOLLOWING - 64)) | (1 << (fugue_sqlParser.FOR - 64)))) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & ((1 << (fugue_sqlParser.FOREIGN - 128)) | (1 << (fugue_sqlParser.FORMAT - 128)) | (1 << (fugue_sqlParser.FORMATTED - 128)) | (1 << (fugue_sqlParser.FROM - 128)) | (1 << (fugue_sqlParser.FUNCTION - 128)) | (1 << (fugue_sqlParser.FUNCTIONS - 128)) | (1 << (fugue_sqlParser.GLOBAL - 128)) | (1 << (fugue_sqlParser.GRANT - 128)) | (1 << (fugue_sqlParser.GROUP - 128)) | (1 << (fugue_sqlParser.GROUPING - 128)) | (1 << (fugue_sqlParser.HAVING - 128)) | (1 << (fugue_sqlParser.HOUR - 128)) | (1 << (fugue_sqlParser.IF - 128)) | (1 << (fugue_sqlParser.IGNORE - 128)) | (1 << (fugue_sqlParser.IMPORT - 128)) | (1 << (fugue_sqlParser.IN - 128)) | (1 << (fugue_sqlParser.INDEX - 128)) | (1 << (fugue_sqlParser.INDEXES - 128)) | (1 << (fugue_sqlParser.INPATH - 128)) | (1 << (fugue_sqlParser.INPUTFORMAT - 128)) | (1 << (fugue_sqlParser.INSERT - 128)) | (1 << (fugue_sqlParser.INTERVAL - 128)) | (1 << (fugue_sqlParser.INTO - 128)) | (1 << (fugue_sqlParser.IS - 128)) | (1 << (fugue_sqlParser.ITEMS - 128)) | (1 << (fugue_sqlParser.KEYS - 128)) | (1 << (fugue_sqlParser.LAST - 128)) | (1 << (fugue_sqlParser.LATERAL - 128)) | (1 << (fugue_sqlParser.LAZY - 128)) | (1 << (fugue_sqlParser.LEADING - 128)) | (1 << (fugue_sqlParser.LIKE - 128)) | (1 << (fugue_sqlParser.LIMIT - 128)) | (1 << (fugue_sqlParser.LINES - 128)) | (1 << (fugue_sqlParser.LIST - 128)) | (1 << (fugue_sqlParser.LOAD - 128)) | (1 << (fugue_sqlParser.LOCAL - 128)) | (1 << (fugue_sqlParser.LOCATION - 128)) | (1 << (fugue_sqlParser.LOCK - 128)) | (1 << (fugue_sqlParser.LOCKS - 128)) | (1 << (fugue_sqlParser.LOGICAL - 128)) | (1 << (fugue_sqlParser.MACRO - 128)) | (1 << (fugue_sqlParser.MAP - 128)) | (1 << (fugue_sqlParser.MATCHED - 128)) | (1 << (fugue_sqlParser.MERGE - 128)) | (1 << (fugue_sqlParser.MINUTE - 128)) | (1 << (fugue_sqlParser.MONTH - 128)) | (1 << (fugue_sqlParser.MSCK - 128)) | (1 << (fugue_sqlParser.NAMESPACE - 128)) | (1 << (fugue_sqlParser.NAMESPACES - 128)) | (1 << (fugue_sqlParser.NO - 128)) | (1 << (fugue_sqlParser.NOT - 128)) | (1 << (fugue_sqlParser.NULL - 128)) | (1 << (fugue_sqlParser.NULLS - 128)) | (1 << (fugue_sqlParser.OF - 128)) | (1 << (fugue_sqlParser.ONLY - 128)) | (1 << (fugue_sqlParser.OPTION - 128)) | (1 << (fugue_sqlParser.OPTIONS - 128)))) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & ((1 << (fugue_sqlParser.OR - 192)) | (1 << (fugue_sqlParser.ORDER - 192)) | (1 << (fugue_sqlParser.OUT - 192)) | (1 << (fugue_sqlParser.OUTER - 192)) | (1 << (fugue_sqlParser.OUTPUTFORMAT - 192)) | (1 << (fugue_sqlParser.OVER - 192)) | (1 << (fugue_sqlParser.OVERLAPS - 192)) | (1 << (fugue_sqlParser.OVERLAY - 192)) | (1 << (fugue_sqlParser.OVERWRITE - 192)) | (1 << (fugue_sqlParser.PARTITION - 192)) | (1 << (fugue_sqlParser.PARTITIONED - 192)) | (1 << (fugue_sqlParser.PARTITIONS - 192)) | (1 << (fugue_sqlParser.PERCENTLIT - 192)) | (1 << (fugue_sqlParser.PIVOT - 192)) | (1 << (fugue_sqlParser.PLACING - 192)) | (1 << (fugue_sqlParser.POSITION - 192)) | (1 << (fugue_sqlParser.PRECEDING - 192)) | (1 << (fugue_sqlParser.PRIMARY - 192)) | (1 << (fugue_sqlParser.PRINCIPALS - 192)) | (1 << (fugue_sqlParser.PROPERTIES - 192)) | (1 << (fugue_sqlParser.PURGE - 192)) | (1 << (fugue_sqlParser.QUERY - 192)) | (1 << (fugue_sqlParser.RANGE - 192)) | (1 << (fugue_sqlParser.RECORDREADER - 192)) | (1 << (fugue_sqlParser.RECORDWRITER - 192)) | (1 << (fugue_sqlParser.RECOVER - 192)) | (1 << (fugue_sqlParser.REDUCE - 192)) | (1 << (fugue_sqlParser.REFERENCES - 192)) | (1 << (fugue_sqlParser.REFRESH - 192)) | (1 << (fugue_sqlParser.RENAME - 192)) | (1 << (fugue_sqlParser.REPAIR - 192)) | (1 << (fugue_sqlParser.REPLACE - 192)) | (1 << (fugue_sqlParser.RESET - 192)) | (1 << (fugue_sqlParser.RESTRICT - 192)) | (1 << (fugue_sqlParser.REVOKE - 192)) | (1 << (fugue_sqlParser.RLIKE - 192)) | (1 << (fugue_sqlParser.ROLE - 192)) | (1 << (fugue_sqlParser.ROLES - 192)) | (1 << (fugue_sqlParser.ROLLBACK - 192)) | (1 << (fugue_sqlParser.ROLLUP - 192)) | (1 << (fugue_sqlParser.ROW - 192)) | (1 << (fugue_sqlParser.ROWS - 192)) | (1 << (fugue_sqlParser.SCHEMA - 192)) | (1 << (fugue_sqlParser.SECOND - 192)) | (1 << (fugue_sqlParser.SELECT - 192)) | (1 << (fugue_sqlParser.SEPARATED - 192)) | (1 << (fugue_sqlParser.SERDE - 192)) | (1 << (fugue_sqlParser.SERDEPROPERTIES - 192)) | (1 << (fugue_sqlParser.SESSION_USER - 192)) | (1 << (fugue_sqlParser.SET - 192)) | (1 << (fugue_sqlParser.SETS - 192)) | (1 << (fugue_sqlParser.SHOW - 192)) | (1 << (fugue_sqlParser.SKEWED - 192)) | (1 << (fugue_sqlParser.SOME - 192)) | (1 << (fugue_sqlParser.SORT - 192)) | (1 << (fugue_sqlParser.SORTED - 192)) | (1 << (fugue_sqlParser.START - 192)) | (1 << (fugue_sqlParser.STATISTICS - 192)) | (1 << (fugue_sqlParser.STORED - 192)) | (1 << (fugue_sqlParser.STRATIFY - 192)) | (1 << (fugue_sqlParser.STRUCT - 192)))) != 0) or ((((_la - 256)) & ~0x3f) == 0 and ((1 << (_la - 256)) & ((1 << (fugue_sqlParser.SUBSTR - 256)) | (1 << (fugue_sqlParser.SUBSTRING - 256)) | (1 << (fugue_sqlParser.TABLE - 256)) | (1 << (fugue_sqlParser.TABLES - 256)) | (1 << (fugue_sqlParser.TABLESAMPLE - 256)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 256)) | (1 << (fugue_sqlParser.TEMPORARY - 256)) | (1 << (fugue_sqlParser.TERMINATED - 256)) | (1 << (fugue_sqlParser.THEN - 256)) | (1 << (fugue_sqlParser.TO - 256)) | (1 << (fugue_sqlParser.TOUCH - 256)) | (1 << (fugue_sqlParser.TRAILING - 256)) | (1 << (fugue_sqlParser.TRANSACTION - 256)) | (1 << (fugue_sqlParser.TRANSACTIONS - 256)) | (1 << (fugue_sqlParser.TRANSFORM - 256)) | (1 << (fugue_sqlParser.TRIM - 256)) | (1 << (fugue_sqlParser.TRUE - 256)) | (1 << (fugue_sqlParser.TRUNCATE - 256)) | (1 << (fugue_sqlParser.TYPE - 256)) | (1 << (fugue_sqlParser.UNARCHIVE - 256)) | (1 << (fugue_sqlParser.UNBOUNDED - 256)) | (1 << (fugue_sqlParser.UNCACHE - 256)) | (1 << (fugue_sqlParser.UNIQUE - 256)) | (1 << (fugue_sqlParser.UNKNOWN - 256)) | (1 << (fugue_sqlParser.UNLOCK - 256)) | (1 << (fugue_sqlParser.UNSET - 256)) | (1 << (fugue_sqlParser.UPDATE - 256)) | (1 << (fugue_sqlParser.USE - 256)) | (1 << (fugue_sqlParser.USER - 256)) | (1 << (fugue_sqlParser.VALUES - 256)) | (1 << (fugue_sqlParser.VIEW - 256)) | (1 << (fugue_sqlParser.VIEWS - 256)) | (1 << (fugue_sqlParser.WHEN - 256)) | (1 << (fugue_sqlParser.WHERE - 256)) | (1 << (fugue_sqlParser.WINDOW - 256)) | (1 << (fugue_sqlParser.WITH - 256)) | (1 << (fugue_sqlParser.YEAR - 256)) | (1 << (fugue_sqlParser.DIV - 256)))) != 0)):
                self._errHandler.recoverInline(self)
            else:
                self._errHandler.reportMatch(self)
                self.consume()
        except RecognitionException as re:
            localctx.exception = re
            self._errHandler.reportError(self, re)
            self._errHandler.recover(self, re)
        finally:
            self.exitRule()
        return localctx



    def sempred(self, localctx:RuleContext, ruleIndex:int, predIndex:int):
        if self._predicates == None:
            self._predicates = dict()
        self._predicates[29] = self.fugueAssignmentSign_sempred
        self._predicates[36] = self.fuguePartitionNum_sempred
        self._predicates[101] = self.queryTerm_sempred
        self._predicates[156] = self.booleanExpression_sempred
        self._predicates[158] = self.valueExpression_sempred
        self._predicates[159] = self.primaryExpression_sempred
        self._predicates[192] = self.identifier_sempred
        self._predicates[193] = self.strictIdentifier_sempred
        self._predicates[195] = self.number_sempred
        pred = self._predicates.get(ruleIndex, None)
        if pred is None:
            raise Exception("No predicate with index:" + str(ruleIndex))
        else:
            return pred(localctx, predIndex)

    def fugueAssignmentSign_sempred(self, localctx:FugueAssignmentSignContext, predIndex:int):
            if predIndex == 0:
                return self.simpleAssign
         

    def fuguePartitionNum_sempred(self, localctx:FuguePartitionNumContext, predIndex:int):
            if predIndex == 1:
                return self.precpred(self._ctx, 1)
         

    def queryTerm_sempred(self, localctx:QueryTermContext, predIndex:int):
            if predIndex == 2:
                return self.precpred(self._ctx, 3)
         

            if predIndex == 3:
                return fugue_sqlParser.legacy_setops_precedence_enbled
         

            if predIndex == 4:
                return self.precpred(self._ctx, 2)
         

            if predIndex == 5:
                return not fugue_sqlParser.legacy_setops_precedence_enbled
         

            if predIndex == 6:
                return self.precpred(self._ctx, 1)
         

            if predIndex == 7:
                return not fugue_sqlParser.legacy_setops_precedence_enbled
         

    def booleanExpression_sempred(self, localctx:BooleanExpressionContext, predIndex:int):
            if predIndex == 8:
                return self.precpred(self._ctx, 2)
         

            if predIndex == 9:
                return self.precpred(self._ctx, 1)
         

    def valueExpression_sempred(self, localctx:ValueExpressionContext, predIndex:int):
            if predIndex == 10:
                return self.precpred(self._ctx, 6)
         

            if predIndex == 11:
                return self.precpred(self._ctx, 5)
         

            if predIndex == 12:
                return self.precpred(self._ctx, 4)
         

            if predIndex == 13:
                return self.precpred(self._ctx, 3)
         

            if predIndex == 14:
                return self.precpred(self._ctx, 2)
         

            if predIndex == 15:
                return self.precpred(self._ctx, 1)
         

    def primaryExpression_sempred(self, localctx:PrimaryExpressionContext, predIndex:int):
            if predIndex == 16:
                return self.precpred(self._ctx, 8)
         

            if predIndex == 17:
                return self.precpred(self._ctx, 6)
         

    def identifier_sempred(self, localctx:IdentifierContext, predIndex:int):
            if predIndex == 18:
                return not self.SQL_standard_keyword_behavior
         

    def strictIdentifier_sempred(self, localctx:StrictIdentifierContext, predIndex:int):
            if predIndex == 19:
                return self.SQL_standard_keyword_behavior
         

            if predIndex == 20:
                return not self.SQL_standard_keyword_behavior
         

    def number_sempred(self, localctx:NumberContext, predIndex:int):
            if predIndex == 21:
                return not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled
         

            if predIndex == 22:
                return not fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled
         

            if predIndex == 23:
                return fugue_sqlParser.legacy_exponent_literal_as_decimal_enabled
         




