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

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

    def __init__(self, input:TokenStream, output:TextIO = sys.stdout):
        super().__init__(input, output)
        self.checkVersion("4.9")
        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 = 429 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 428
                    self.fugueSingleTask()

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

            self.state = 433
            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 = 435
            self.fugueSingleTask()
            self.state = 436
            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 fugueOutputTransformTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueOutputTransformTaskContext,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 fugueModuleTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueModuleTaskContext,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 = 444
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,1,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 438
                self.fugueNestableTask()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 439
                self.fugueOutputTransformTask()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 440
                self.fugueOutputTask()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 441
                self.fuguePrintTask()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 442
                self.fugueSaveTask()
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 443
                self.fugueModuleTask()
                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 = 447
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,2,self._ctx)
            if la_ == 1:
                self.state = 446
                localctx.assign = self.fugueAssignment()


            self.state = 449
            localctx.q = self.query()
            self.state = 451
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,3,self._ctx)
            if la_ == 1:
                self.state = 450
                localctx.checkpoint = self.fugueCheckpoint()


            self.state = 454
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,4,self._ctx)
            if la_ == 1:
                self.state = 453
                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 fugueEngineSpecificQueryTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueEngineSpecificQueryTaskContext,0)


        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 fugueRenameColumnsTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueRenameColumnsTaskContext,0)


        def fugueAlterColumnsTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueAlterColumnsTaskContext,0)


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


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


        def fugueFillnaTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueFillnaTaskContext,0)


        def fugueSampleTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSampleTaskContext,0)


        def fugueTakeTask(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueTakeTaskContext,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 = 471
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,5,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 456
                self.fugueEngineSpecificQueryTask()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 457
                self.fugueTransformTask()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 458
                self.fugueProcessTask()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 459
                self.fugueZipTask()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 460
                self.fugueCreateTask()
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 461
                self.fugueCreateDataTask()
                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 462
                self.fugueLoadTask()
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 463
                self.fugueSaveAndUseTask()
                pass

            elif la_ == 9:
                self.enterOuterAlt(localctx, 9)
                self.state = 464
                self.fugueRenameColumnsTask()
                pass

            elif la_ == 10:
                self.enterOuterAlt(localctx, 10)
                self.state = 465
                self.fugueAlterColumnsTask()
                pass

            elif la_ == 11:
                self.enterOuterAlt(localctx, 11)
                self.state = 466
                self.fugueDropColumnsTask()
                pass

            elif la_ == 12:
                self.enterOuterAlt(localctx, 12)
                self.state = 467
                self.fugueDropnaTask()
                pass

            elif la_ == 13:
                self.enterOuterAlt(localctx, 13)
                self.state = 468
                self.fugueFillnaTask()
                pass

            elif la_ == 14:
                self.enterOuterAlt(localctx, 14)
                self.state = 469
                self.fugueSampleTask()
                pass

            elif la_ == 15:
                self.enterOuterAlt(localctx, 15)
                self.state = 470
                self.fugueTakeTask()
                pass


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


    class FugueEngineSpecificQueryTaskContext(ParserRuleContext):

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

        def fugueSqlEngine(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSqlEngineContext,0)


        def queryPrimary(self):
            return self.getTypedRuleContext(fugue_sqlParser.QueryPrimaryContext,0)


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueEngineSpecificQueryTask

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




    def fugueEngineSpecificQueryTask(self):

        localctx = fugue_sqlParser.FugueEngineSpecificQueryTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 10, self.RULE_fugueEngineSpecificQueryTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 473
            self.fugueSqlEngine()
            self.state = 474
            self.queryPrimary()
        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
            self.callback = None # FugueExtensionContext

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

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


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

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


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


        def fugueExtension(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueExtensionContext,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, 12, self.RULE_fugueTransformTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 476
            self.match(fugue_sqlParser.TRANSFORM)
            self.state = 478
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,6,self._ctx)
            if la_ == 1:
                self.state = 477
                localctx.dfs = self.fugueDataFrames()


            self.state = 481
            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 = 480
                localctx.partition = self.fuguePrepartition()


            self.state = 483
            localctx.params = self.fugueSingleOutputExtensionCommonWild()
            self.state = 486
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,8,self._ctx)
            if la_ == 1:
                self.state = 484
                self.match(fugue_sqlParser.CALLBACK)
                self.state = 485
                localctx.callback = self.fugueExtension()


        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, 14, self.RULE_fugueProcessTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 488
            self.match(fugue_sqlParser.PROCESS)
            self.state = 490
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,9,self._ctx)
            if la_ == 1:
                self.state = 489
                localctx.dfs = self.fugueDataFrames()


            self.state = 493
            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 = 492
                localctx.partition = self.fuguePrepartition()


            self.state = 495
            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, 16, self.RULE_fugueSaveAndUseTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 497
            self.match(fugue_sqlParser.SAVE)
            self.state = 498
            self.match(fugue_sqlParser.AND)
            self.state = 499
            self.match(fugue_sqlParser.USE)
            self.state = 501
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,11,self._ctx)
            if la_ == 1:
                self.state = 500
                localctx.df = self.fugueDataFrame()


            self.state = 504
            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 = 503
                localctx.partition = self.fuguePrepartition()


            self.state = 506
            localctx.m = self.fugueSaveMode()
            self.state = 508
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SINGLE:
                self.state = 507
                localctx.single = self.fugueSingleFile()


            self.state = 511
            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 = 510
                localctx.fmt = self.fugueFileFormat()


            self.state = 513
            localctx.path = self.fuguePath()
            self.state = 515
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,15,self._ctx)
            if la_ == 1:
                self.state = 514
                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 FugueRenameColumnsTaskContext(ParserRuleContext):

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

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

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

        def fugueRenameExpression(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueRenameExpressionContext,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_fugueRenameColumnsTask

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




    def fugueRenameColumnsTask(self):

        localctx = fugue_sqlParser.FugueRenameColumnsTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 18, self.RULE_fugueRenameColumnsTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 517
            self.match(fugue_sqlParser.RENAME)
            self.state = 518
            self.match(fugue_sqlParser.COLUMNS)
            self.state = 519
            localctx.cols = self.fugueRenameExpression()
            self.state = 522
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,16,self._ctx)
            if la_ == 1:
                self.state = 520
                self.match(fugue_sqlParser.FROM)
                self.state = 521
                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 FugueAlterColumnsTaskContext(ParserRuleContext):

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

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

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

        def fugueSchema(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSchemaContext,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_fugueAlterColumnsTask

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




    def fugueAlterColumnsTask(self):

        localctx = fugue_sqlParser.FugueAlterColumnsTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 20, self.RULE_fugueAlterColumnsTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 524
            self.match(fugue_sqlParser.ALTER)
            self.state = 525
            self.match(fugue_sqlParser.COLUMNS)
            self.state = 526
            localctx.cols = self.fugueSchema()
            self.state = 529
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,17,self._ctx)
            if la_ == 1:
                self.state = 527
                self.match(fugue_sqlParser.FROM)
                self.state = 528
                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 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, 22, self.RULE_fugueDropColumnsTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 531
            self.match(fugue_sqlParser.DROP)
            self.state = 532
            self.match(fugue_sqlParser.COLUMNS)
            self.state = 533
            localctx.cols = self.fugueCols()
            self.state = 536
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,18,self._ctx)
            if la_ == 1:
                self.state = 534
                self.match(fugue_sqlParser.IF)
                self.state = 535
                self.match(fugue_sqlParser.EXISTS)


            self.state = 540
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,19,self._ctx)
            if la_ == 1:
                self.state = 538
                self.match(fugue_sqlParser.FROM)
                self.state = 539
                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, 24, self.RULE_fugueDropnaTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 542
            self.match(fugue_sqlParser.DROP)
            self.state = 543
            self.match(fugue_sqlParser.ROWS)
            self.state = 544
            self.match(fugue_sqlParser.IF)
            self.state = 545
            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 = 546
            _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 = 549
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,20,self._ctx)
            if la_ == 1:
                self.state = 547
                self.match(fugue_sqlParser.ON)
                self.state = 548
                localctx.cols = self.fugueCols()


            self.state = 553
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,21,self._ctx)
            if la_ == 1:
                self.state = 551
                self.match(fugue_sqlParser.FROM)
                self.state = 552
                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 FugueFillnaTaskContext(ParserRuleContext):

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

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

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

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

        def fugueParams(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueParamsContext,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_fugueFillnaTask

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




    def fugueFillnaTask(self):

        localctx = fugue_sqlParser.FugueFillnaTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 26, self.RULE_fugueFillnaTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 555
            self.match(fugue_sqlParser.FILL)
            self.state = 556
            _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 = 557
            localctx.params = self.fugueParams()
            self.state = 560
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,22,self._ctx)
            if la_ == 1:
                self.state = 558
                self.match(fugue_sqlParser.FROM)
                self.state = 559
                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 FugueSampleTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.method = None # FugueSampleMethodContext
            self.seed = None # Token
            self.df = None # FugueDataFrameContext

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

        def fugueSampleMethod(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueSampleMethodContext,0)


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

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

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

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

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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSampleTask

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




    def fugueSampleTask(self):

        localctx = fugue_sqlParser.FugueSampleTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 28, self.RULE_fugueSampleTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 562
            self.match(fugue_sqlParser.SAMPLE)
            self.state = 564
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.REPLACE:
                self.state = 563
                self.match(fugue_sqlParser.REPLACE)


            self.state = 566
            localctx.method = self.fugueSampleMethod()
            self.state = 569
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,24,self._ctx)
            if la_ == 1:
                self.state = 567
                self.match(fugue_sqlParser.SEED)
                self.state = 568
                localctx.seed = self.match(fugue_sqlParser.INTEGER_VALUE)


            self.state = 573
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,25,self._ctx)
            if la_ == 1:
                self.state = 571
                self.match(fugue_sqlParser.FROM)
                self.state = 572
                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 FugueTakeTaskContext(ParserRuleContext):

        def __init__(self, parser, parent:ParserRuleContext=None, invokingState:int=-1):
            super().__init__(parent, invokingState)
            self.parser = parser
            self.rows = None # Token
            self.df = None # FugueDataFrameContext
            self.partition = None # FuguePrepartitionContext
            self.presort = None # FugueColsSortContext
            self.na_position = None # Token

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

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

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

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

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

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


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

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

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

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

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

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


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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueTakeTask

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




    def fugueTakeTask(self):

        localctx = fugue_sqlParser.FugueTakeTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 30, self.RULE_fugueTakeTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 575
            self.match(fugue_sqlParser.TAKE)
            self.state = 578
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,26,self._ctx)
            if la_ == 1:
                self.state = 576
                localctx.rows = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 577
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.ROW or _la==fugue_sqlParser.ROWS):
                    self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()


            self.state = 582
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,27,self._ctx)
            if la_ == 1:
                self.state = 580
                self.match(fugue_sqlParser.FROM)
                self.state = 581
                localctx.df = self.fugueDataFrame()


            self.state = 587
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,28,self._ctx)
            if la_ == 1:
                self.state = 584
                localctx.partition = self.fuguePrepartition()

            elif la_ == 2:
                self.state = 585
                self.match(fugue_sqlParser.PRESORT)
                self.state = 586
                localctx.presort = self.fugueColsSort()


            self.state = 591
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,29,self._ctx)
            if la_ == 1:
                self.state = 589
                _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 = 590
                localctx.na_position = self._input.LT(1)
                _la = self._input.LA(1)
                if not(_la==fugue_sqlParser.FIRST or _la==fugue_sqlParser.LAST):
                    localctx.na_position = 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 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, 32, self.RULE_fugueZipTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 593
            self.match(fugue_sqlParser.ZIP)
            self.state = 594
            localctx.dfs = self.fugueDataFrames()
            self.state = 596
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,30,self._ctx)
            if la_ == 1:
                self.state = 595
                localctx.how = self.fugueZipType()


            self.state = 600
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,31,self._ctx)
            if la_ == 1:
                self.state = 598
                self.match(fugue_sqlParser.BY)
                self.state = 599
                localctx.by = self.fugueCols()


            self.state = 604
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,32,self._ctx)
            if la_ == 1:
                self.state = 602
                self.match(fugue_sqlParser.PRESORT)
                self.state = 603
                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, 34, self.RULE_fugueCreateTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 606
            self.match(fugue_sqlParser.CREATE)
            self.state = 607
            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, 36, self.RULE_fugueCreateDataTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 609
            self.match(fugue_sqlParser.CREATE)
            self.state = 611
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.DATA:
                self.state = 610
                self.match(fugue_sqlParser.DATA)


            self.state = 613
            localctx.data = self.fugueJsonArray()
            self.state = 614
            self.match(fugue_sqlParser.SCHEMA)
            self.state = 615
            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, 38, self.RULE_fugueLoadTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 617
            self.match(fugue_sqlParser.LOAD)
            self.state = 619
            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 = 618
                localctx.fmt = self.fugueFileFormat()


            self.state = 621
            localctx.path = self.fuguePath()
            self.state = 623
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,35,self._ctx)
            if la_ == 1:
                self.state = 622
                localctx.params = self.fugueParams()


            self.state = 627
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,36,self._ctx)
            if la_ == 1:
                self.state = 625
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 626
                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, 40, self.RULE_fugueOutputTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 629
            self.match(fugue_sqlParser.OUTPUT)
            self.state = 631
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,37,self._ctx)
            if la_ == 1:
                self.state = 630
                localctx.dfs = self.fugueDataFrames()


            self.state = 634
            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 = 633
                localctx.partition = self.fuguePrepartition()


            self.state = 636
            self.match(fugue_sqlParser.USING)
            self.state = 637
            localctx.using = self.fugueExtension()
            self.state = 639
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,39,self._ctx)
            if la_ == 1:
                self.state = 638
                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, 42, self.RULE_fuguePrintTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 641
            self.match(fugue_sqlParser.PRINT)
            self.state = 643
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,40,self._ctx)
            if la_ == 1:
                self.state = 642
                localctx.dfs = self.fugueDataFrames()


            self.state = 647
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,41,self._ctx)
            if la_ == 1:
                self.state = 645
                self.match(fugue_sqlParser.ROWS)
                self.state = 646
                localctx.rows = self.match(fugue_sqlParser.INTEGER_VALUE)


            self.state = 650
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,42,self._ctx)
            if la_ == 1:
                self.state = 649
                localctx.count = self.match(fugue_sqlParser.ROWCOUNT)


            self.state = 654
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,43,self._ctx)
            if la_ == 1:
                self.state = 652
                self.match(fugue_sqlParser.TITLE)
                self.state = 653
                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, 44, self.RULE_fugueSaveTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 656
            self.match(fugue_sqlParser.SAVE)
            self.state = 658
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,44,self._ctx)
            if la_ == 1:
                self.state = 657
                localctx.df = self.fugueDataFrame()


            self.state = 661
            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 = 660
                localctx.partition = self.fuguePrepartition()


            self.state = 663
            localctx.m = self.fugueSaveMode()
            self.state = 665
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SINGLE:
                self.state = 664
                localctx.single = self.fugueSingleFile()


            self.state = 668
            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 = 667
                localctx.fmt = self.fugueFileFormat()


            self.state = 670
            localctx.path = self.fuguePath()
            self.state = 672
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,48,self._ctx)
            if la_ == 1:
                self.state = 671
                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 FugueOutputTransformTaskContext(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
            self.callback = None # FugueExtensionContext

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

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

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


        def CALLBACK(self):
            return self.getToken(fugue_sqlParser.CALLBACK, 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_fugueOutputTransformTask

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




    def fugueOutputTransformTask(self):

        localctx = fugue_sqlParser.FugueOutputTransformTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 46, self.RULE_fugueOutputTransformTask)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 674
            self.match(fugue_sqlParser.OUTTRANSFORM)
            self.state = 676
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,49,self._ctx)
            if la_ == 1:
                self.state = 675
                localctx.dfs = self.fugueDataFrames()


            self.state = 679
            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 = 678
                localctx.partition = self.fuguePrepartition()


            self.state = 681
            self.match(fugue_sqlParser.USING)
            self.state = 682
            localctx.using = self.fugueExtension()
            self.state = 684
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,51,self._ctx)
            if la_ == 1:
                self.state = 683
                localctx.params = self.fugueParams()


            self.state = 688
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,52,self._ctx)
            if la_ == 1:
                self.state = 686
                self.match(fugue_sqlParser.CALLBACK)
                self.state = 687
                localctx.callback = self.fugueExtension()


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


    class FugueModuleTaskContext(ParserRuleContext):

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

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

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

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


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


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


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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueModuleTask

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




    def fugueModuleTask(self):

        localctx = fugue_sqlParser.FugueModuleTaskContext(self, self._ctx, self.state)
        self.enterRule(localctx, 48, self.RULE_fugueModuleTask)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 691
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,53,self._ctx)
            if la_ == 1:
                self.state = 690
                localctx.assign = self.fugueAssignment()


            self.state = 693
            self.match(fugue_sqlParser.SUB)
            self.state = 695
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,54,self._ctx)
            if la_ == 1:
                self.state = 694
                localctx.dfs = self.fugueDataFrames()


            self.state = 697
            self.match(fugue_sqlParser.USING)
            self.state = 698
            localctx.using = self.fugueExtension()
            self.state = 700
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,55,self._ctx)
            if la_ == 1:
                self.state = 699
                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 FugueSqlEngineContext(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

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

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


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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSqlEngine

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




    def fugueSqlEngine(self):

        localctx = fugue_sqlParser.FugueSqlEngineContext(self, self._ctx, self.state)
        self.enterRule(localctx, 50, self.RULE_fugueSqlEngine)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 702
            self.match(fugue_sqlParser.CONNECT)
            self.state = 703
            localctx.using = self.fugueExtension()
            self.state = 705
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.T__2) | (1 << fugue_sqlParser.T__7) | (1 << fugue_sqlParser.PARAMS))) != 0):
                self.state = 704
                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, 52, self.RULE_fugueSingleFile)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 707
            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, 54, self.RULE_fugueLoadColumns)
        try:
            self.state = 711
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,57,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 709
                localctx.schema = self.fugueSchema()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 710
                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, 56, self.RULE_fugueSaveMode)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 713
            _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, 58, self.RULE_fugueFileFormat)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 715
            _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, 60, self.RULE_fuguePath)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 717
            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 FugueCheckpointYieldContext(FugueCheckpointContext):

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

        def fugueYield(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueYieldContext,0)


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


    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 fugueYield(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueYieldContext,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, 62, self.RULE_fugueCheckpoint)
        self._la = 0 # Token type
        try:
            self.state = 767
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,72,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueCheckpointWeakContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 720
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 719
                    self.match(fugue_sqlParser.LAZY)


                self.state = 725
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.PERSIST]:
                    self.state = 722
                    self.match(fugue_sqlParser.PERSIST)
                    pass
                elif token in [fugue_sqlParser.WEAK]:
                    self.state = 723
                    self.match(fugue_sqlParser.WEAK)
                    self.state = 724
                    self.match(fugue_sqlParser.CHECKPOINT)
                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 728
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,60,self._ctx)
                if la_ == 1:
                    self.state = 727
                    localctx.params = self.fugueParams()


                pass

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


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


                self.state = 736
                self.match(fugue_sqlParser.CHECKPOINT)
                self.state = 738
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,63,self._ctx)
                if la_ == 1:
                    self.state = 737
                    localctx.partition = self.fuguePrepartition()


                self.state = 741
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,64,self._ctx)
                if la_ == 1:
                    self.state = 740
                    localctx.single = self.fugueSingleFile()


                self.state = 744
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,65,self._ctx)
                if la_ == 1:
                    self.state = 743
                    localctx.params = self.fugueParams()


                pass

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


                self.state = 749
                self.match(fugue_sqlParser.DETERMINISTIC)
                self.state = 750
                self.match(fugue_sqlParser.CHECKPOINT)
                self.state = 752
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,67,self._ctx)
                if la_ == 1:
                    self.state = 751
                    localctx.ns = self.fugueCheckpointNamespace()


                self.state = 755
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,68,self._ctx)
                if la_ == 1:
                    self.state = 754
                    localctx.partition = self.fuguePrepartition()


                self.state = 758
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,69,self._ctx)
                if la_ == 1:
                    self.state = 757
                    localctx.single = self.fugueSingleFile()


                self.state = 761
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,70,self._ctx)
                if la_ == 1:
                    self.state = 760
                    localctx.params = self.fugueParams()


                self.state = 764
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,71,self._ctx)
                if la_ == 1:
                    self.state = 763
                    self.fugueYield()


                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.FugueCheckpointYieldContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 766
                self.fugueYield()
                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, 64, self.RULE_fugueCheckpointNamespace)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 769
            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 FugueYieldContext(ParserRuleContext):

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

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

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

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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueYield

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




    def fugueYield(self):

        localctx = fugue_sqlParser.FugueYieldContext(self, self._ctx, self.state)
        self.enterRule(localctx, 66, self.RULE_fugueYield)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 771
            self.match(fugue_sqlParser.YIELD)
            self.state = 774
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,73,self._ctx)
            if la_ == 1:
                self.state = 772
                self.match(fugue_sqlParser.AS)
                self.state = 773
                localctx.name = 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 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, 68, self.RULE_fugueBroadcast)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 776
            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, 70, self.RULE_fugueDataFrames)
        try:
            self.state = 794
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,76,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueDataFramesListContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 778
                self.fugueDataFrame()
                self.state = 783
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,74,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.fugueDataFrame() 
                    self.state = 785
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,74,self._ctx)

                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueDataFramesDictContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 786
                self.fugueDataFramePair()
                self.state = 791
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,75,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.fugueDataFramePair() 
                    self.state = 793
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,75,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, 72, self.RULE_fugueDataFramePair)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 796
            localctx.key = self.fugueIdentifier()
            self.state = 797
            _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 = 798
            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 fugueDataFrameMember(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameMemberContext,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, 74, self.RULE_fugueDataFrame)
        try:
            self.state = 808
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,78,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueDataFrameSourceContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 800
                self.fugueIdentifier()
                self.state = 802
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,77,self._ctx)
                if la_ == 1:
                    self.state = 801
                    self.fugueDataFrameMember()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueDataFrameNestedContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 804
                self.match(fugue_sqlParser.T__2)
                self.state = 805
                localctx.task = self.fugueNestableTask()
                self.state = 806
                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 FugueDataFrameMemberContext(ParserRuleContext):

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

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

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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueDataFrameMember

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




    def fugueDataFrameMember(self):

        localctx = fugue_sqlParser.FugueDataFrameMemberContext(self, self._ctx, self.state)
        self.enterRule(localctx, 76, self.RULE_fugueDataFrameMember)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 810
            self.match(fugue_sqlParser.T__4)
            self.state = 813
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,79,self._ctx)
            if la_ == 1:
                self.state = 811
                localctx.index = self.match(fugue_sqlParser.INTEGER_VALUE)
                pass

            elif la_ == 2:
                self.state = 812
                localctx.key = self.fugueIdentifier()
                pass


            self.state = 815
            self.match(fugue_sqlParser.T__5)
        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, 78, self.RULE_fugueAssignment)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 817
            localctx.varname = self.fugueIdentifier()
            self.state = 818
            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, 80, self.RULE_fugueAssignmentSign)
        try:
            self.state = 823
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,80,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 820
                self.match(fugue_sqlParser.COLONEQUAL)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 821
                if not self.simpleAssign:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "self.simpleAssign")
                self.state = 822
                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, 82, self.RULE_fugueSingleOutputExtensionCommonWild)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 825
            self.match(fugue_sqlParser.USING)
            self.state = 826
            localctx.using = self.fugueExtension()
            self.state = 828
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,81,self._ctx)
            if la_ == 1:
                self.state = 827
                localctx.params = self.fugueParams()


            self.state = 832
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,82,self._ctx)
            if la_ == 1:
                self.state = 830
                self.match(fugue_sqlParser.SCHEMA)
                self.state = 831
                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, 84, self.RULE_fugueSingleOutputExtensionCommon)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 834
            self.match(fugue_sqlParser.USING)
            self.state = 835
            localctx.using = self.fugueExtension()
            self.state = 837
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,83,self._ctx)
            if la_ == 1:
                self.state = 836
                localctx.params = self.fugueParams()


            self.state = 841
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,84,self._ctx)
            if la_ == 1:
                self.state = 839
                self.match(fugue_sqlParser.SCHEMA)
                self.state = 840
                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, 86, self.RULE_fugueExtension)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 843
            self.fugueIdentifier()
            self.state = 848
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,85,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 844
                    self.match(fugue_sqlParser.T__6)
                    self.state = 845
                    self.fugueIdentifier() 
                self.state = 850
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,85,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 FugueSampleMethodContext(ParserRuleContext):

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

        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 ROWS(self):
            return self.getToken(fugue_sqlParser.ROWS, 0)

        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueSampleMethod

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




    def fugueSampleMethod(self):

        localctx = fugue_sqlParser.FugueSampleMethodContext(self, self._ctx, self.state)
        self.enterRule(localctx, 88, self.RULE_fugueSampleMethod)
        self._la = 0 # Token type
        try:
            self.state = 855
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,86,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 851
                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 = 852
                self.match(fugue_sqlParser.PERCENTLIT)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 853
                localctx.rows = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 854
                self.match(fugue_sqlParser.ROWS)
                pass


        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, 90, self.RULE_fugueZipType)
        try:
            self.state = 865
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.CROSS]:
                self.enterOuterAlt(localctx, 1)
                self.state = 857
                self.match(fugue_sqlParser.CROSS)
                pass
            elif token in [fugue_sqlParser.INNER]:
                self.enterOuterAlt(localctx, 2)
                self.state = 858
                self.match(fugue_sqlParser.INNER)
                pass
            elif token in [fugue_sqlParser.LEFT]:
                self.enterOuterAlt(localctx, 3)
                self.state = 859
                self.match(fugue_sqlParser.LEFT)
                self.state = 860
                self.match(fugue_sqlParser.OUTER)
                pass
            elif token in [fugue_sqlParser.RIGHT]:
                self.enterOuterAlt(localctx, 4)
                self.state = 861
                self.match(fugue_sqlParser.RIGHT)
                self.state = 862
                self.match(fugue_sqlParser.OUTER)
                pass
            elif token in [fugue_sqlParser.FULL]:
                self.enterOuterAlt(localctx, 5)
                self.state = 863
                self.match(fugue_sqlParser.FULL)
                self.state = 864
                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, 92, self.RULE_fuguePrepartition)
        self._la = 0 # Token type
        try:
            self.state = 890
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,93,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 868
                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 = 867
                    localctx.algo = self.fuguePartitionAlgo()


                self.state = 870
                self.match(fugue_sqlParser.PREPARTITION)
                self.state = 871
                localctx.num = self.fuguePartitionNum(0)
                self.state = 874
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,89,self._ctx)
                if la_ == 1:
                    self.state = 872
                    self.match(fugue_sqlParser.BY)
                    self.state = 873
                    localctx.by = self.fugueCols()


                self.state = 878
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,90,self._ctx)
                if la_ == 1:
                    self.state = 876
                    self.match(fugue_sqlParser.PRESORT)
                    self.state = 877
                    localctx.presort = self.fugueColsSort()


                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 881
                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 = 880
                    localctx.algo = self.fuguePartitionAlgo()


                self.state = 883
                self.match(fugue_sqlParser.PREPARTITION)
                self.state = 884
                self.match(fugue_sqlParser.BY)
                self.state = 885
                localctx.by = self.fugueCols()
                self.state = 888
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,92,self._ctx)
                if la_ == 1:
                    self.state = 886
                    self.match(fugue_sqlParser.PRESORT)
                    self.state = 887
                    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, 94, self.RULE_fuguePartitionAlgo)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 892
            _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 = 96
        self.enterRecursionRule(localctx, 96, self.RULE_fuguePartitionNum, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 900
            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 = 895
                self.fuguePartitionNumber()
                pass
            elif token in [fugue_sqlParser.T__2]:
                self.state = 896
                self.match(fugue_sqlParser.T__2)
                self.state = 897
                self.fuguePartitionNum(0)
                self.state = 898
                self.match(fugue_sqlParser.T__3)
                pass
            else:
                raise NoViableAltException(self)

            self._ctx.stop = self._input.LT(-1)
            self.state = 907
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,95,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 = 902
                    if not self.precpred(self._ctx, 1):
                        from antlr4.error.Errors import FailedPredicateException
                        raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                    self.state = 903
                    _la = self._input.LA(1)
                    if not(((((_la - 313)) & ~0x3f) == 0 and ((1 << (_la - 313)) & ((1 << (fugue_sqlParser.PLUS - 313)) | (1 << (fugue_sqlParser.MINUS - 313)) | (1 << (fugue_sqlParser.ASTERISK - 313)) | (1 << (fugue_sqlParser.SLASH - 313)))) != 0)):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()
                    self.state = 904
                    self.fuguePartitionNum(2) 
                self.state = 909
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,95,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, 98, self.RULE_fuguePartitionNumber)
        self._la = 0 # Token type
        try:
            self.state = 920
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,98,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 911
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 910
                    self.match(fugue_sqlParser.MINUS)


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

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


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

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

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 919
                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, 100, self.RULE_fugueParams)
        self._la = 0 # Token type
        try:
            self.state = 928
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,100,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueParamsPairsContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 922
                self.match(fugue_sqlParser.PARAMS)
                self.state = 923
                localctx.pairs = self.fugueJsonPairs()
                pass

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


                self.state = 927
                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, 102, self.RULE_fugueCols)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 930
            self.fugueColumnIdentifier()
            self.state = 935
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,101,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 931
                    self.match(fugue_sqlParser.T__0)
                    self.state = 932
                    self.fugueColumnIdentifier() 
                self.state = 937
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,101,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, 104, self.RULE_fugueColsSort)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 938
            self.fugueColSort()
            self.state = 943
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,102,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 939
                    self.match(fugue_sqlParser.T__0)
                    self.state = 940
                    self.fugueColSort() 
                self.state = 945
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,102,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, 106, self.RULE_fugueColSort)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 946
            self.fugueColumnIdentifier()
            self.state = 948
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,103,self._ctx)
            if la_ == 1:
                self.state = 947
                _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, 108, self.RULE_fugueColumnIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 950
            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 FugueRenameExpressionContext(ParserRuleContext):

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

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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueRenameExpression

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




    def fugueRenameExpression(self):

        localctx = fugue_sqlParser.FugueRenameExpressionContext(self, self._ctx, self.state)
        self.enterRule(localctx, 110, self.RULE_fugueRenameExpression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 952
            self.fugueRenamePair()
            self.state = 957
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,104,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 953
                    self.match(fugue_sqlParser.T__0)
                    self.state = 954
                    self.fugueRenamePair() 
                self.state = 959
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,104,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 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, 112, self.RULE_fugueWildSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 960
            self.fugueWildSchemaPair()
            self.state = 965
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,105,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 961
                    self.match(fugue_sqlParser.T__0)
                    self.state = 962
                    self.fugueWildSchemaPair() 
                self.state = 967
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,105,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, 114, self.RULE_fugueWildSchemaPair)
        try:
            self.state = 970
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,106,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 968
                localctx.pair = self.fugueSchemaPair()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 969
                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, 116, self.RULE_fugueSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 972
            self.fugueSchemaPair()
            self.state = 977
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,107,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 973
                    self.match(fugue_sqlParser.T__0)
                    self.state = 974
                    self.fugueSchemaPair() 
                self.state = 979
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,107,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, 118, self.RULE_fugueSchemaPair)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 980
            localctx.key = self.fugueSchemaKey()
            self.state = 981
            self.match(fugue_sqlParser.T__1)
            self.state = 982
            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, 120, self.RULE_fugueSchemaKey)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 984
            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, 122, self.RULE_fugueSchemaType)
        try:
            self.state = 995
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,108,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.FugueSchemaSimpleTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 986
                self.fugueIdentifier()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.FugueSchemaListTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 987
                self.match(fugue_sqlParser.T__4)
                self.state = 988
                self.fugueSchemaType()
                self.state = 989
                self.match(fugue_sqlParser.T__5)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.FugueSchemaStructTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 991
                self.match(fugue_sqlParser.T__7)
                self.state = 992
                self.fugueSchema()
                self.state = 993
                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 FugueRenamePairContext(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 # FugueSchemaKeyContext

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


        def getRuleIndex(self):
            return fugue_sqlParser.RULE_fugueRenamePair

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




    def fugueRenamePair(self):

        localctx = fugue_sqlParser.FugueRenamePairContext(self, self._ctx, self.state)
        self.enterRule(localctx, 124, self.RULE_fugueRenamePair)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 997
            localctx.key = self.fugueSchemaKey()
            self.state = 998
            self.match(fugue_sqlParser.T__1)
            self.state = 999
            localctx.value = self.fugueSchemaKey()
        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, 126, self.RULE_fugueJson)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1001
            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, 128, self.RULE_fugueJsonObj)
        self._la = 0 # Token type
        try:
            self.state = 1021
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,111,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1003
                self.match(fugue_sqlParser.T__7)
                self.state = 1004
                self.fugueJsonPairs()
                self.state = 1006
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0:
                    self.state = 1005
                    self.match(fugue_sqlParser.T__0)


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

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

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 1012
                self.match(fugue_sqlParser.T__2)
                self.state = 1013
                self.fugueJsonPairs()
                self.state = 1015
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0:
                    self.state = 1014
                    self.match(fugue_sqlParser.T__0)


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

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 1019
                self.match(fugue_sqlParser.T__2)
                self.state = 1020
                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, 130, self.RULE_fugueJsonPairs)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1023
            self.fugueJsonPair()
            self.state = 1028
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,112,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 1024
                    self.match(fugue_sqlParser.T__0)
                    self.state = 1025
                    self.fugueJsonPair() 
                self.state = 1030
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,112,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, 132, self.RULE_fugueJsonPair)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1031
            localctx.key = self.fugueJsonKey()
            self.state = 1032
            _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 = 1033
            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, 134, self.RULE_fugueJsonKey)
        try:
            self.state = 1037
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,113,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1035
                self.fugueIdentifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 1036
                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, 136, self.RULE_fugueJsonArray)
        self._la = 0 # Token type
        try:
            self.state = 1055
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,116,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1039
                self.match(fugue_sqlParser.T__4)
                self.state = 1040
                self.fugueJsonValue()
                self.state = 1045
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,114,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 1041
                        self.match(fugue_sqlParser.T__0)
                        self.state = 1042
                        self.fugueJsonValue() 
                    self.state = 1047
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,114,self._ctx)

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


                self.state = 1051
                self.match(fugue_sqlParser.T__5)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 1053
                self.match(fugue_sqlParser.T__4)
                self.state = 1054
                self.match(fugue_sqlParser.T__5)
                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, 138, self.RULE_fugueJsonValue)
        try:
            self.state = 1063
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,117,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1057
                self.fugueJsonString()
                pass

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

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

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

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

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 1062
                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, 140, self.RULE_fugueJsonNumber)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1065
            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, 142, self.RULE_fugueJsonString)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1067
            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, 144, self.RULE_fugueJsonBool)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1069
            _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, 146, self.RULE_fugueJsonNull)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1071
            _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, 148, self.RULE_fugueIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1073
            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, 150, self.RULE_singleStatement)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1075
            self.statement()
            self.state = 1079
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__12:
                self.state = 1076
                self.match(fugue_sqlParser.T__12)
                self.state = 1081
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 1082
            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, 152, self.RULE_singleExpression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1084
            self.namedExpression()
            self.state = 1085
            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, 154, self.RULE_singleTableIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1087
            self.tableIdentifier()
            self.state = 1088
            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, 156, self.RULE_singleMultipartIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1090
            self.multipartIdentifier()
            self.state = 1091
            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, 158, self.RULE_singleFunctionIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1093
            self.functionIdentifier()
            self.state = 1094
            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, 160, self.RULE_singleDataType)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1096
            self.dataType()
            self.state = 1097
            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, 162, self.RULE_singleTableSchema)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1099
            self.colTypeList()
            self.state = 1100
            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, 164, self.RULE_statement)
        self._la = 0 # Token type
        try:
            self.state = 1807
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,224,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.StatementDefaultContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 1102
                self.query()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.DmlStatementContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 1104
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WITH:
                    self.state = 1103
                    self.ctes()


                self.state = 1106
                self.dmlStatementNoWith()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.UseContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 1107
                self.match(fugue_sqlParser.USE)
                self.state = 1109
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,120,self._ctx)
                if la_ == 1:
                    self.state = 1108
                    self.match(fugue_sqlParser.NAMESPACE)


                self.state = 1111
                self.multipartIdentifier()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.CreateNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 1112
                self.match(fugue_sqlParser.CREATE)
                self.state = 1113
                self.namespace()
                self.state = 1117
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,121,self._ctx)
                if la_ == 1:
                    self.state = 1114
                    self.match(fugue_sqlParser.IF)
                    self.state = 1115
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1116
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1119
                self.multipartIdentifier()
                self.state = 1127
                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 = 1125
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 1120
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 1121
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.WITH]:
                        self.state = 1122
                        self.match(fugue_sqlParser.WITH)
                        self.state = 1123
                        _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 = 1124
                        self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1129
                    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 = 1130
                self.match(fugue_sqlParser.ALTER)
                self.state = 1131
                self.namespace()
                self.state = 1132
                self.multipartIdentifier()
                self.state = 1133
                self.match(fugue_sqlParser.SET)
                self.state = 1134
                _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 = 1135
                self.tablePropertyList()
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.SetNamespaceLocationContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 1137
                self.match(fugue_sqlParser.ALTER)
                self.state = 1138
                self.namespace()
                self.state = 1139
                self.multipartIdentifier()
                self.state = 1140
                self.match(fugue_sqlParser.SET)
                self.state = 1141
                self.locationSpec()
                pass

            elif la_ == 7:
                localctx = fugue_sqlParser.DropNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 7)
                self.state = 1143
                self.match(fugue_sqlParser.DROP)
                self.state = 1144
                self.namespace()
                self.state = 1147
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,124,self._ctx)
                if la_ == 1:
                    self.state = 1145
                    self.match(fugue_sqlParser.IF)
                    self.state = 1146
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1149
                self.multipartIdentifier()
                self.state = 1151
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.CASCADE or _la==fugue_sqlParser.RESTRICT:
                    self.state = 1150
                    _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 = 1153
                self.match(fugue_sqlParser.SHOW)
                self.state = 1154
                _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 = 1157
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1155
                    _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 = 1156
                    self.multipartIdentifier()


                self.state = 1163
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 1160
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 1159
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1162
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.CreateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 9)
                self.state = 1165
                self.createTableHeader()
                self.state = 1170
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1166
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1167
                    self.colTypeList()
                    self.state = 1168
                    self.match(fugue_sqlParser.T__3)


                self.state = 1172
                self.tableProvider()
                self.state = 1173
                self.createTableClauses()
                self.state = 1178
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.FILL) | (1 << fugue_sqlParser.TAKE) | (1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.CONNECT) | (1 << fugue_sqlParser.SAMPLE) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 93)) & ~0x3f) == 0 and ((1 << (_la - 93)) & ((1 << (fugue_sqlParser.CREATE - 93)) | (1 << (fugue_sqlParser.DROP - 93)) | (1 << (fugue_sqlParser.FROM - 93)))) != 0) or ((((_la - 176)) & ~0x3f) == 0 and ((1 << (_la - 176)) & ((1 << (fugue_sqlParser.LOAD - 176)) | (1 << (fugue_sqlParser.MAP - 176)) | (1 << (fugue_sqlParser.REDUCE - 176)) | (1 << (fugue_sqlParser.RENAME - 176)))) != 0) or ((((_la - 246)) & ~0x3f) == 0 and ((1 << (_la - 246)) & ((1 << (fugue_sqlParser.SELECT - 246)) | (1 << (fugue_sqlParser.TABLE - 246)) | (1 << (fugue_sqlParser.TRANSFORM - 246)) | (1 << (fugue_sqlParser.VALUES - 246)) | (1 << (fugue_sqlParser.WITH - 246)))) != 0):
                    self.state = 1175
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1174
                        self.match(fugue_sqlParser.AS)


                    self.state = 1177
                    self.query()


                pass

            elif la_ == 10:
                localctx = fugue_sqlParser.CreateHiveTableContext(self, localctx)
                self.enterOuterAlt(localctx, 10)
                self.state = 1180
                self.createTableHeader()
                self.state = 1185
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1181
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1182
                    localctx.columns = self.colTypeList()
                    self.state = 1183
                    self.match(fugue_sqlParser.T__3)


                self.state = 1208
                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 - 242)) & ~0x3f) == 0 and ((1 << (_la - 242)) & ((1 << (fugue_sqlParser.ROW - 242)) | (1 << (fugue_sqlParser.SKEWED - 242)) | (1 << (fugue_sqlParser.STORED - 242)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 242)))) != 0):
                    self.state = 1206
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 1187
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.PARTITIONED]:
                        self.state = 1197
                        self._errHandler.sync(self)
                        la_ = self._interp.adaptivePredict(self._input,133,self._ctx)
                        if la_ == 1:
                            self.state = 1188
                            self.match(fugue_sqlParser.PARTITIONED)
                            self.state = 1189
                            self.match(fugue_sqlParser.BY)
                            self.state = 1190
                            self.match(fugue_sqlParser.T__2)
                            self.state = 1191
                            localctx.partitionColumns = self.colTypeList()
                            self.state = 1192
                            self.match(fugue_sqlParser.T__3)
                            pass

                        elif la_ == 2:
                            self.state = 1194
                            self.match(fugue_sqlParser.PARTITIONED)
                            self.state = 1195
                            self.match(fugue_sqlParser.BY)
                            self.state = 1196
                            localctx.partitionColumnNames = self.identifierList()
                            pass


                        pass
                    elif token in [fugue_sqlParser.CLUSTERED]:
                        self.state = 1199
                        self.bucketSpec()
                        pass
                    elif token in [fugue_sqlParser.SKEWED]:
                        self.state = 1200
                        self.skewSpec()
                        pass
                    elif token in [fugue_sqlParser.ROW]:
                        self.state = 1201
                        self.rowFormat()
                        pass
                    elif token in [fugue_sqlParser.STORED]:
                        self.state = 1202
                        self.createFileFormat()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 1203
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1204
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1205
                        localctx.tableProps = self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1210
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1215
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.FILL) | (1 << fugue_sqlParser.TAKE) | (1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.CONNECT) | (1 << fugue_sqlParser.SAMPLE) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 93)) & ~0x3f) == 0 and ((1 << (_la - 93)) & ((1 << (fugue_sqlParser.CREATE - 93)) | (1 << (fugue_sqlParser.DROP - 93)) | (1 << (fugue_sqlParser.FROM - 93)))) != 0) or ((((_la - 176)) & ~0x3f) == 0 and ((1 << (_la - 176)) & ((1 << (fugue_sqlParser.LOAD - 176)) | (1 << (fugue_sqlParser.MAP - 176)) | (1 << (fugue_sqlParser.REDUCE - 176)) | (1 << (fugue_sqlParser.RENAME - 176)))) != 0) or ((((_la - 246)) & ~0x3f) == 0 and ((1 << (_la - 246)) & ((1 << (fugue_sqlParser.SELECT - 246)) | (1 << (fugue_sqlParser.TABLE - 246)) | (1 << (fugue_sqlParser.TRANSFORM - 246)) | (1 << (fugue_sqlParser.VALUES - 246)) | (1 << (fugue_sqlParser.WITH - 246)))) != 0):
                    self.state = 1212
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1211
                        self.match(fugue_sqlParser.AS)


                    self.state = 1214
                    self.query()


                pass

            elif la_ == 11:
                localctx = fugue_sqlParser.CreateTableLikeContext(self, localctx)
                self.enterOuterAlt(localctx, 11)
                self.state = 1217
                self.match(fugue_sqlParser.CREATE)
                self.state = 1218
                self.match(fugue_sqlParser.TABLE)
                self.state = 1222
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,138,self._ctx)
                if la_ == 1:
                    self.state = 1219
                    self.match(fugue_sqlParser.IF)
                    self.state = 1220
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1221
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1224
                localctx.target = self.tableIdentifier()
                self.state = 1225
                self.match(fugue_sqlParser.LIKE)
                self.state = 1226
                localctx.source = self.tableIdentifier()
                self.state = 1235
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.LOCATION or ((((_la - 242)) & ~0x3f) == 0 and ((1 << (_la - 242)) & ((1 << (fugue_sqlParser.ROW - 242)) | (1 << (fugue_sqlParser.STORED - 242)) | (1 << (fugue_sqlParser.TBLPROPERTIES - 242)) | (1 << (fugue_sqlParser.USING - 242)))) != 0):
                    self.state = 1233
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.USING]:
                        self.state = 1227
                        self.tableProvider()
                        pass
                    elif token in [fugue_sqlParser.ROW]:
                        self.state = 1228
                        self.rowFormat()
                        pass
                    elif token in [fugue_sqlParser.STORED]:
                        self.state = 1229
                        self.createFileFormat()
                        pass
                    elif token in [fugue_sqlParser.LOCATION]:
                        self.state = 1230
                        self.locationSpec()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1231
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1232
                        localctx.tableProps = self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1237
                    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 = 1238
                self.replaceTableHeader()
                self.state = 1243
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1239
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1240
                    self.colTypeList()
                    self.state = 1241
                    self.match(fugue_sqlParser.T__3)


                self.state = 1245
                self.tableProvider()
                self.state = 1246
                self.createTableClauses()
                self.state = 1251
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.FILL) | (1 << fugue_sqlParser.TAKE) | (1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.CONNECT) | (1 << fugue_sqlParser.SAMPLE) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 93)) & ~0x3f) == 0 and ((1 << (_la - 93)) & ((1 << (fugue_sqlParser.CREATE - 93)) | (1 << (fugue_sqlParser.DROP - 93)) | (1 << (fugue_sqlParser.FROM - 93)))) != 0) or ((((_la - 176)) & ~0x3f) == 0 and ((1 << (_la - 176)) & ((1 << (fugue_sqlParser.LOAD - 176)) | (1 << (fugue_sqlParser.MAP - 176)) | (1 << (fugue_sqlParser.REDUCE - 176)) | (1 << (fugue_sqlParser.RENAME - 176)))) != 0) or ((((_la - 246)) & ~0x3f) == 0 and ((1 << (_la - 246)) & ((1 << (fugue_sqlParser.SELECT - 246)) | (1 << (fugue_sqlParser.TABLE - 246)) | (1 << (fugue_sqlParser.TRANSFORM - 246)) | (1 << (fugue_sqlParser.VALUES - 246)) | (1 << (fugue_sqlParser.WITH - 246)))) != 0):
                    self.state = 1248
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1247
                        self.match(fugue_sqlParser.AS)


                    self.state = 1250
                    self.query()


                pass

            elif la_ == 13:
                localctx = fugue_sqlParser.AnalyzeContext(self, localctx)
                self.enterOuterAlt(localctx, 13)
                self.state = 1253
                self.match(fugue_sqlParser.ANALYZE)
                self.state = 1254
                self.match(fugue_sqlParser.TABLE)
                self.state = 1255
                self.multipartIdentifier()
                self.state = 1257
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1256
                    self.partitionSpec()


                self.state = 1259
                self.match(fugue_sqlParser.COMPUTE)
                self.state = 1260
                self.match(fugue_sqlParser.STATISTICS)
                self.state = 1268
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,145,self._ctx)
                if la_ == 1:
                    self.state = 1261
                    self.identifier()

                elif la_ == 2:
                    self.state = 1262
                    self.match(fugue_sqlParser.FOR)
                    self.state = 1263
                    self.match(fugue_sqlParser.COLUMNS)
                    self.state = 1264
                    self.identifierSeq()

                elif la_ == 3:
                    self.state = 1265
                    self.match(fugue_sqlParser.FOR)
                    self.state = 1266
                    self.match(fugue_sqlParser.ALL)
                    self.state = 1267
                    self.match(fugue_sqlParser.COLUMNS)


                pass

            elif la_ == 14:
                localctx = fugue_sqlParser.AddTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 14)
                self.state = 1270
                self.match(fugue_sqlParser.ALTER)
                self.state = 1271
                self.match(fugue_sqlParser.TABLE)
                self.state = 1272
                self.multipartIdentifier()
                self.state = 1273
                self.match(fugue_sqlParser.ADD)
                self.state = 1274
                _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 = 1275
                localctx.columns = self.qualifiedColTypeWithPositionList()
                pass

            elif la_ == 15:
                localctx = fugue_sqlParser.AddTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 15)
                self.state = 1277
                self.match(fugue_sqlParser.ALTER)
                self.state = 1278
                self.match(fugue_sqlParser.TABLE)
                self.state = 1279
                self.multipartIdentifier()
                self.state = 1280
                self.match(fugue_sqlParser.ADD)
                self.state = 1281
                _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 = 1282
                self.match(fugue_sqlParser.T__2)
                self.state = 1283
                localctx.columns = self.qualifiedColTypeWithPositionList()
                self.state = 1284
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 16:
                localctx = fugue_sqlParser.RenameTableColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 16)
                self.state = 1286
                self.match(fugue_sqlParser.ALTER)
                self.state = 1287
                self.match(fugue_sqlParser.TABLE)
                self.state = 1288
                localctx.table = self.multipartIdentifier()
                self.state = 1289
                self.match(fugue_sqlParser.RENAME)
                self.state = 1290
                self.match(fugue_sqlParser.COLUMN)
                self.state = 1291
                localctx.ifrom = self.multipartIdentifier()
                self.state = 1292
                self.match(fugue_sqlParser.TO)
                self.state = 1293
                localctx.to = self.errorCapturingIdentifier()
                pass

            elif la_ == 17:
                localctx = fugue_sqlParser.DropTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 17)
                self.state = 1295
                self.match(fugue_sqlParser.ALTER)
                self.state = 1296
                self.match(fugue_sqlParser.TABLE)
                self.state = 1297
                self.multipartIdentifier()
                self.state = 1298
                self.match(fugue_sqlParser.DROP)
                self.state = 1299
                _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 = 1300
                self.match(fugue_sqlParser.T__2)
                self.state = 1301
                localctx.columns = self.multipartIdentifierList()
                self.state = 1302
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 18:
                localctx = fugue_sqlParser.DropTableColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 18)
                self.state = 1304
                self.match(fugue_sqlParser.ALTER)
                self.state = 1305
                self.match(fugue_sqlParser.TABLE)
                self.state = 1306
                self.multipartIdentifier()
                self.state = 1307
                self.match(fugue_sqlParser.DROP)
                self.state = 1308
                _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 = 1309
                localctx.columns = self.multipartIdentifierList()
                pass

            elif la_ == 19:
                localctx = fugue_sqlParser.RenameTableContext(self, localctx)
                self.enterOuterAlt(localctx, 19)
                self.state = 1311
                self.match(fugue_sqlParser.ALTER)
                self.state = 1312
                _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 = 1313
                localctx.ifrom = self.multipartIdentifier()
                self.state = 1314
                self.match(fugue_sqlParser.RENAME)
                self.state = 1315
                self.match(fugue_sqlParser.TO)
                self.state = 1316
                localctx.to = self.multipartIdentifier()
                pass

            elif la_ == 20:
                localctx = fugue_sqlParser.SetTablePropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 20)
                self.state = 1318
                self.match(fugue_sqlParser.ALTER)
                self.state = 1319
                _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 = 1320
                self.multipartIdentifier()
                self.state = 1321
                self.match(fugue_sqlParser.SET)
                self.state = 1322
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1323
                self.tablePropertyList()
                pass

            elif la_ == 21:
                localctx = fugue_sqlParser.UnsetTablePropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 21)
                self.state = 1325
                self.match(fugue_sqlParser.ALTER)
                self.state = 1326
                _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 = 1327
                self.multipartIdentifier()
                self.state = 1328
                self.match(fugue_sqlParser.UNSET)
                self.state = 1329
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1332
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1330
                    self.match(fugue_sqlParser.IF)
                    self.state = 1331
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1334
                self.tablePropertyList()
                pass

            elif la_ == 22:
                localctx = fugue_sqlParser.AlterTableAlterColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 22)
                self.state = 1336
                self.match(fugue_sqlParser.ALTER)
                self.state = 1337
                self.match(fugue_sqlParser.TABLE)
                self.state = 1338
                localctx.table = self.multipartIdentifier()
                self.state = 1339
                _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 = 1341
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,147,self._ctx)
                if la_ == 1:
                    self.state = 1340
                    self.match(fugue_sqlParser.COLUMN)


                self.state = 1343
                localctx.column = self.multipartIdentifier()
                self.state = 1345
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AFTER or ((((_la - 85)) & ~0x3f) == 0 and ((1 << (_la - 85)) & ((1 << (fugue_sqlParser.COMMENT - 85)) | (1 << (fugue_sqlParser.DROP - 85)) | (1 << (fugue_sqlParser.FIRST - 85)))) != 0) or _la==fugue_sqlParser.SET or _la==fugue_sqlParser.TYPE:
                    self.state = 1344
                    self.alterColumnAction()


                pass

            elif la_ == 23:
                localctx = fugue_sqlParser.HiveChangeColumnContext(self, localctx)
                self.enterOuterAlt(localctx, 23)
                self.state = 1347
                self.match(fugue_sqlParser.ALTER)
                self.state = 1348
                self.match(fugue_sqlParser.TABLE)
                self.state = 1349
                localctx.table = self.multipartIdentifier()
                self.state = 1351
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1350
                    self.partitionSpec()


                self.state = 1353
                self.match(fugue_sqlParser.CHANGE)
                self.state = 1355
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,150,self._ctx)
                if la_ == 1:
                    self.state = 1354
                    self.match(fugue_sqlParser.COLUMN)


                self.state = 1357
                localctx.colName = self.multipartIdentifier()
                self.state = 1358
                self.colType()
                self.state = 1360
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AFTER or _la==fugue_sqlParser.FIRST:
                    self.state = 1359
                    self.colPosition()


                pass

            elif la_ == 24:
                localctx = fugue_sqlParser.HiveReplaceColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 24)
                self.state = 1362
                self.match(fugue_sqlParser.ALTER)
                self.state = 1363
                self.match(fugue_sqlParser.TABLE)
                self.state = 1364
                localctx.table = self.multipartIdentifier()
                self.state = 1366
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1365
                    self.partitionSpec()


                self.state = 1368
                self.match(fugue_sqlParser.REPLACE)
                self.state = 1369
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 1370
                self.match(fugue_sqlParser.T__2)
                self.state = 1371
                localctx.columns = self.qualifiedColTypeWithPositionList()
                self.state = 1372
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 25:
                localctx = fugue_sqlParser.SetTableSerDeContext(self, localctx)
                self.enterOuterAlt(localctx, 25)
                self.state = 1374
                self.match(fugue_sqlParser.ALTER)
                self.state = 1375
                self.match(fugue_sqlParser.TABLE)
                self.state = 1376
                self.multipartIdentifier()
                self.state = 1378
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1377
                    self.partitionSpec()


                self.state = 1380
                self.match(fugue_sqlParser.SET)
                self.state = 1381
                self.match(fugue_sqlParser.SERDE)
                self.state = 1382
                self.match(fugue_sqlParser.STRING)
                self.state = 1386
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WITH:
                    self.state = 1383
                    self.match(fugue_sqlParser.WITH)
                    self.state = 1384
                    self.match(fugue_sqlParser.SERDEPROPERTIES)
                    self.state = 1385
                    self.tablePropertyList()


                pass

            elif la_ == 26:
                localctx = fugue_sqlParser.SetTableSerDeContext(self, localctx)
                self.enterOuterAlt(localctx, 26)
                self.state = 1388
                self.match(fugue_sqlParser.ALTER)
                self.state = 1389
                self.match(fugue_sqlParser.TABLE)
                self.state = 1390
                self.multipartIdentifier()
                self.state = 1392
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1391
                    self.partitionSpec()


                self.state = 1394
                self.match(fugue_sqlParser.SET)
                self.state = 1395
                self.match(fugue_sqlParser.SERDEPROPERTIES)
                self.state = 1396
                self.tablePropertyList()
                pass

            elif la_ == 27:
                localctx = fugue_sqlParser.AddTablePartitionContext(self, localctx)
                self.enterOuterAlt(localctx, 27)
                self.state = 1398
                self.match(fugue_sqlParser.ALTER)
                self.state = 1399
                _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 = 1400
                self.multipartIdentifier()
                self.state = 1401
                self.match(fugue_sqlParser.ADD)
                self.state = 1405
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1402
                    self.match(fugue_sqlParser.IF)
                    self.state = 1403
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1404
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1408 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 1407
                    self.partitionSpecLocation()
                    self.state = 1410 
                    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 = 1412
                self.match(fugue_sqlParser.ALTER)
                self.state = 1413
                self.match(fugue_sqlParser.TABLE)
                self.state = 1414
                self.multipartIdentifier()
                self.state = 1415
                localctx.ifrom = self.partitionSpec()
                self.state = 1416
                self.match(fugue_sqlParser.RENAME)
                self.state = 1417
                self.match(fugue_sqlParser.TO)
                self.state = 1418
                localctx.to = self.partitionSpec()
                pass

            elif la_ == 29:
                localctx = fugue_sqlParser.DropTablePartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 29)
                self.state = 1420
                self.match(fugue_sqlParser.ALTER)
                self.state = 1421
                _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 = 1422
                self.multipartIdentifier()
                self.state = 1423
                self.match(fugue_sqlParser.DROP)
                self.state = 1426
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 1424
                    self.match(fugue_sqlParser.IF)
                    self.state = 1425
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1428
                self.partitionSpec()
                self.state = 1433
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 1429
                    self.match(fugue_sqlParser.T__0)
                    self.state = 1430
                    self.partitionSpec()
                    self.state = 1435
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1437
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PURGE:
                    self.state = 1436
                    self.match(fugue_sqlParser.PURGE)


                pass

            elif la_ == 30:
                localctx = fugue_sqlParser.SetTableLocationContext(self, localctx)
                self.enterOuterAlt(localctx, 30)
                self.state = 1439
                self.match(fugue_sqlParser.ALTER)
                self.state = 1440
                self.match(fugue_sqlParser.TABLE)
                self.state = 1441
                self.multipartIdentifier()
                self.state = 1443
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1442
                    self.partitionSpec()


                self.state = 1445
                self.match(fugue_sqlParser.SET)
                self.state = 1446
                self.locationSpec()
                pass

            elif la_ == 31:
                localctx = fugue_sqlParser.RecoverPartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 31)
                self.state = 1448
                self.match(fugue_sqlParser.ALTER)
                self.state = 1449
                self.match(fugue_sqlParser.TABLE)
                self.state = 1450
                self.multipartIdentifier()
                self.state = 1451
                self.match(fugue_sqlParser.RECOVER)
                self.state = 1452
                self.match(fugue_sqlParser.PARTITIONS)
                pass

            elif la_ == 32:
                localctx = fugue_sqlParser.DropTableContext(self, localctx)
                self.enterOuterAlt(localctx, 32)
                self.state = 1454
                self.match(fugue_sqlParser.DROP)
                self.state = 1455
                self.match(fugue_sqlParser.TABLE)
                self.state = 1458
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,162,self._ctx)
                if la_ == 1:
                    self.state = 1456
                    self.match(fugue_sqlParser.IF)
                    self.state = 1457
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1460
                self.multipartIdentifier()
                self.state = 1462
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PURGE:
                    self.state = 1461
                    self.match(fugue_sqlParser.PURGE)


                pass

            elif la_ == 33:
                localctx = fugue_sqlParser.DropViewContext(self, localctx)
                self.enterOuterAlt(localctx, 33)
                self.state = 1464
                self.match(fugue_sqlParser.DROP)
                self.state = 1465
                self.match(fugue_sqlParser.VIEW)
                self.state = 1468
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,164,self._ctx)
                if la_ == 1:
                    self.state = 1466
                    self.match(fugue_sqlParser.IF)
                    self.state = 1467
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1470
                self.multipartIdentifier()
                pass

            elif la_ == 34:
                localctx = fugue_sqlParser.CreateViewContext(self, localctx)
                self.enterOuterAlt(localctx, 34)
                self.state = 1471
                self.match(fugue_sqlParser.CREATE)
                self.state = 1474
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1472
                    self.match(fugue_sqlParser.OR)
                    self.state = 1473
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1480
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.GLOBAL or _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1477
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.GLOBAL:
                        self.state = 1476
                        self.match(fugue_sqlParser.GLOBAL)


                    self.state = 1479
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1482
                self.match(fugue_sqlParser.VIEW)
                self.state = 1486
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,168,self._ctx)
                if la_ == 1:
                    self.state = 1483
                    self.match(fugue_sqlParser.IF)
                    self.state = 1484
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1485
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1488
                self.multipartIdentifier()
                self.state = 1490
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1489
                    self.identifierCommentList()


                self.state = 1500
                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 = 1498
                    self._errHandler.sync(self)
                    token = self._input.LA(1)
                    if token in [fugue_sqlParser.COMMENT]:
                        self.state = 1492
                        self.commentSpec()
                        pass
                    elif token in [fugue_sqlParser.PARTITIONED]:
                        self.state = 1493
                        self.match(fugue_sqlParser.PARTITIONED)
                        self.state = 1494
                        self.match(fugue_sqlParser.ON)
                        self.state = 1495
                        self.identifierList()
                        pass
                    elif token in [fugue_sqlParser.TBLPROPERTIES]:
                        self.state = 1496
                        self.match(fugue_sqlParser.TBLPROPERTIES)
                        self.state = 1497
                        self.tablePropertyList()
                        pass
                    else:
                        raise NoViableAltException(self)

                    self.state = 1502
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 1503
                self.match(fugue_sqlParser.AS)
                self.state = 1504
                self.query()
                pass

            elif la_ == 35:
                localctx = fugue_sqlParser.CreateTempViewUsingContext(self, localctx)
                self.enterOuterAlt(localctx, 35)
                self.state = 1506
                self.match(fugue_sqlParser.CREATE)
                self.state = 1509
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1507
                    self.match(fugue_sqlParser.OR)
                    self.state = 1508
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1512
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.GLOBAL:
                    self.state = 1511
                    self.match(fugue_sqlParser.GLOBAL)


                self.state = 1514
                self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1515
                self.match(fugue_sqlParser.VIEW)
                self.state = 1516
                self.tableIdentifier()
                self.state = 1521
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1517
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1518
                    self.colTypeList()
                    self.state = 1519
                    self.match(fugue_sqlParser.T__3)


                self.state = 1523
                self.tableProvider()
                self.state = 1526
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 1524
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1525
                    self.tablePropertyList()


                pass

            elif la_ == 36:
                localctx = fugue_sqlParser.AlterViewQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 36)
                self.state = 1528
                self.match(fugue_sqlParser.ALTER)
                self.state = 1529
                self.match(fugue_sqlParser.VIEW)
                self.state = 1530
                self.multipartIdentifier()
                self.state = 1532
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AS:
                    self.state = 1531
                    self.match(fugue_sqlParser.AS)


                self.state = 1534
                self.query()
                pass

            elif la_ == 37:
                localctx = fugue_sqlParser.CreateFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 37)
                self.state = 1536
                self.match(fugue_sqlParser.CREATE)
                self.state = 1539
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OR:
                    self.state = 1537
                    self.match(fugue_sqlParser.OR)
                    self.state = 1538
                    self.match(fugue_sqlParser.REPLACE)


                self.state = 1542
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1541
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1544
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1548
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,179,self._ctx)
                if la_ == 1:
                    self.state = 1545
                    self.match(fugue_sqlParser.IF)
                    self.state = 1546
                    self.match(fugue_sqlParser.NOT)
                    self.state = 1547
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1550
                self.multipartIdentifier()
                self.state = 1551
                self.match(fugue_sqlParser.AS)
                self.state = 1552
                localctx.className = self.match(fugue_sqlParser.STRING)
                self.state = 1562
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.USING:
                    self.state = 1553
                    self.match(fugue_sqlParser.USING)
                    self.state = 1554
                    self.resource()
                    self.state = 1559
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 1555
                        self.match(fugue_sqlParser.T__0)
                        self.state = 1556
                        self.resource()
                        self.state = 1561
                        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 = 1564
                self.match(fugue_sqlParser.DROP)
                self.state = 1566
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.TEMPORARY:
                    self.state = 1565
                    self.match(fugue_sqlParser.TEMPORARY)


                self.state = 1568
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1571
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,183,self._ctx)
                if la_ == 1:
                    self.state = 1569
                    self.match(fugue_sqlParser.IF)
                    self.state = 1570
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1573
                self.multipartIdentifier()
                pass

            elif la_ == 39:
                localctx = fugue_sqlParser.ExplainContext(self, localctx)
                self.enterOuterAlt(localctx, 39)
                self.state = 1574
                self.match(fugue_sqlParser.EXPLAIN)
                self.state = 1576
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if ((((_la - 80)) & ~0x3f) == 0 and ((1 << (_la - 80)) & ((1 << (fugue_sqlParser.CODEGEN - 80)) | (1 << (fugue_sqlParser.COST - 80)) | (1 << (fugue_sqlParser.EXTENDED - 80)) | (1 << (fugue_sqlParser.FORMATTED - 80)))) != 0) or _la==fugue_sqlParser.LOGICAL:
                    self.state = 1575
                    _la = self._input.LA(1)
                    if not(((((_la - 80)) & ~0x3f) == 0 and ((1 << (_la - 80)) & ((1 << (fugue_sqlParser.CODEGEN - 80)) | (1 << (fugue_sqlParser.COST - 80)) | (1 << (fugue_sqlParser.EXTENDED - 80)) | (1 << (fugue_sqlParser.FORMATTED - 80)))) != 0) or _la==fugue_sqlParser.LOGICAL):
                        self._errHandler.recoverInline(self)
                    else:
                        self._errHandler.reportMatch(self)
                        self.consume()


                self.state = 1578
                self.statement()
                pass

            elif la_ == 40:
                localctx = fugue_sqlParser.ShowTablesContext(self, localctx)
                self.enterOuterAlt(localctx, 40)
                self.state = 1579
                self.match(fugue_sqlParser.SHOW)
                self.state = 1580
                self.match(fugue_sqlParser.TABLES)
                self.state = 1583
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1581
                    _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 = 1582
                    self.multipartIdentifier()


                self.state = 1589
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 1586
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 1585
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1588
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 41:
                localctx = fugue_sqlParser.ShowTableContext(self, localctx)
                self.enterOuterAlt(localctx, 41)
                self.state = 1591
                self.match(fugue_sqlParser.SHOW)
                self.state = 1592
                self.match(fugue_sqlParser.TABLE)
                self.state = 1593
                self.match(fugue_sqlParser.EXTENDED)
                self.state = 1596
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1594
                    _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 = 1595
                    localctx.ns = self.multipartIdentifier()


                self.state = 1598
                self.match(fugue_sqlParser.LIKE)
                self.state = 1599
                localctx.pattern = self.match(fugue_sqlParser.STRING)
                self.state = 1601
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1600
                    self.partitionSpec()


                pass

            elif la_ == 42:
                localctx = fugue_sqlParser.ShowTblPropertiesContext(self, localctx)
                self.enterOuterAlt(localctx, 42)
                self.state = 1603
                self.match(fugue_sqlParser.SHOW)
                self.state = 1604
                self.match(fugue_sqlParser.TBLPROPERTIES)
                self.state = 1605
                localctx.table = self.multipartIdentifier()
                self.state = 1610
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__2:
                    self.state = 1606
                    self.match(fugue_sqlParser.T__2)
                    self.state = 1607
                    localctx.key = self.tablePropertyKey()
                    self.state = 1608
                    self.match(fugue_sqlParser.T__3)


                pass

            elif la_ == 43:
                localctx = fugue_sqlParser.ShowColumnsContext(self, localctx)
                self.enterOuterAlt(localctx, 43)
                self.state = 1612
                self.match(fugue_sqlParser.SHOW)
                self.state = 1613
                self.match(fugue_sqlParser.COLUMNS)
                self.state = 1614
                _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 = 1615
                localctx.table = self.multipartIdentifier()
                self.state = 1618
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1616
                    _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 = 1617
                    localctx.ns = self.multipartIdentifier()


                pass

            elif la_ == 44:
                localctx = fugue_sqlParser.ShowViewsContext(self, localctx)
                self.enterOuterAlt(localctx, 44)
                self.state = 1620
                self.match(fugue_sqlParser.SHOW)
                self.state = 1621
                self.match(fugue_sqlParser.VIEWS)
                self.state = 1624
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FROM or _la==fugue_sqlParser.IN:
                    self.state = 1622
                    _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 = 1623
                    self.multipartIdentifier()


                self.state = 1630
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LIKE or _la==fugue_sqlParser.STRING:
                    self.state = 1627
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.LIKE:
                        self.state = 1626
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1629
                    localctx.pattern = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 45:
                localctx = fugue_sqlParser.ShowPartitionsContext(self, localctx)
                self.enterOuterAlt(localctx, 45)
                self.state = 1632
                self.match(fugue_sqlParser.SHOW)
                self.state = 1633
                self.match(fugue_sqlParser.PARTITIONS)
                self.state = 1634
                self.multipartIdentifier()
                self.state = 1636
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1635
                    self.partitionSpec()


                pass

            elif la_ == 46:
                localctx = fugue_sqlParser.ShowFunctionsContext(self, localctx)
                self.enterOuterAlt(localctx, 46)
                self.state = 1638
                self.match(fugue_sqlParser.SHOW)
                self.state = 1640
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,196,self._ctx)
                if la_ == 1:
                    self.state = 1639
                    self.identifier()


                self.state = 1642
                self.match(fugue_sqlParser.FUNCTIONS)
                self.state = 1650
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,199,self._ctx)
                if la_ == 1:
                    self.state = 1644
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,197,self._ctx)
                    if la_ == 1:
                        self.state = 1643
                        self.match(fugue_sqlParser.LIKE)


                    self.state = 1648
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,198,self._ctx)
                    if la_ == 1:
                        self.state = 1646
                        self.multipartIdentifier()
                        pass

                    elif la_ == 2:
                        self.state = 1647
                        localctx.pattern = self.match(fugue_sqlParser.STRING)
                        pass




                pass

            elif la_ == 47:
                localctx = fugue_sqlParser.ShowCreateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 47)
                self.state = 1652
                self.match(fugue_sqlParser.SHOW)
                self.state = 1653
                self.match(fugue_sqlParser.CREATE)
                self.state = 1654
                self.match(fugue_sqlParser.TABLE)
                self.state = 1655
                self.multipartIdentifier()
                self.state = 1658
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.AS:
                    self.state = 1656
                    self.match(fugue_sqlParser.AS)
                    self.state = 1657
                    self.match(fugue_sqlParser.SERDE)


                pass

            elif la_ == 48:
                localctx = fugue_sqlParser.ShowCurrentNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 48)
                self.state = 1660
                self.match(fugue_sqlParser.SHOW)
                self.state = 1661
                self.match(fugue_sqlParser.CURRENT)
                self.state = 1662
                self.match(fugue_sqlParser.NAMESPACE)
                pass

            elif la_ == 49:
                localctx = fugue_sqlParser.DescribeFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 49)
                self.state = 1663
                _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 = 1664
                self.match(fugue_sqlParser.FUNCTION)
                self.state = 1666
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,201,self._ctx)
                if la_ == 1:
                    self.state = 1665
                    self.match(fugue_sqlParser.EXTENDED)


                self.state = 1668
                self.describeFuncName()
                pass

            elif la_ == 50:
                localctx = fugue_sqlParser.DescribeNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 50)
                self.state = 1669
                _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 = 1670
                self.namespace()
                self.state = 1672
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,202,self._ctx)
                if la_ == 1:
                    self.state = 1671
                    self.match(fugue_sqlParser.EXTENDED)


                self.state = 1674
                self.multipartIdentifier()
                pass

            elif la_ == 51:
                localctx = fugue_sqlParser.DescribeRelationContext(self, localctx)
                self.enterOuterAlt(localctx, 51)
                self.state = 1676
                _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 = 1678
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,203,self._ctx)
                if la_ == 1:
                    self.state = 1677
                    self.match(fugue_sqlParser.TABLE)


                self.state = 1681
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,204,self._ctx)
                if la_ == 1:
                    self.state = 1680
                    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 = 1683
                self.multipartIdentifier()
                self.state = 1685
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,205,self._ctx)
                if la_ == 1:
                    self.state = 1684
                    self.partitionSpec()


                self.state = 1688
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,206,self._ctx)
                if la_ == 1:
                    self.state = 1687
                    self.describeColName()


                pass

            elif la_ == 52:
                localctx = fugue_sqlParser.DescribeQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 52)
                self.state = 1690
                _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 = 1692
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.QUERY:
                    self.state = 1691
                    self.match(fugue_sqlParser.QUERY)


                self.state = 1694
                self.query()
                pass

            elif la_ == 53:
                localctx = fugue_sqlParser.CommentNamespaceContext(self, localctx)
                self.enterOuterAlt(localctx, 53)
                self.state = 1695
                self.match(fugue_sqlParser.COMMENT)
                self.state = 1696
                self.match(fugue_sqlParser.ON)
                self.state = 1697
                self.namespace()
                self.state = 1698
                self.multipartIdentifier()
                self.state = 1699
                self.match(fugue_sqlParser.IS)
                self.state = 1700
                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 = 1702
                self.match(fugue_sqlParser.COMMENT)
                self.state = 1703
                self.match(fugue_sqlParser.ON)
                self.state = 1704
                self.match(fugue_sqlParser.TABLE)
                self.state = 1705
                self.multipartIdentifier()
                self.state = 1706
                self.match(fugue_sqlParser.IS)
                self.state = 1707
                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 = 1709
                self.match(fugue_sqlParser.REFRESH)
                self.state = 1710
                self.match(fugue_sqlParser.TABLE)
                self.state = 1711
                self.multipartIdentifier()
                pass

            elif la_ == 56:
                localctx = fugue_sqlParser.RefreshResourceContext(self, localctx)
                self.enterOuterAlt(localctx, 56)
                self.state = 1712
                self.match(fugue_sqlParser.REFRESH)
                self.state = 1720
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,209,self._ctx)
                if la_ == 1:
                    self.state = 1713
                    self.match(fugue_sqlParser.STRING)
                    pass

                elif la_ == 2:
                    self.state = 1717
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,208,self._ctx)
                    while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                        if _alt==1+1:
                            self.state = 1714
                            self.matchWildcard() 
                        self.state = 1719
                        self._errHandler.sync(self)
                        _alt = self._interp.adaptivePredict(self._input,208,self._ctx)

                    pass


                pass

            elif la_ == 57:
                localctx = fugue_sqlParser.CacheTableContext(self, localctx)
                self.enterOuterAlt(localctx, 57)
                self.state = 1722
                self.match(fugue_sqlParser.CACHE)
                self.state = 1724
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LAZY:
                    self.state = 1723
                    self.match(fugue_sqlParser.LAZY)


                self.state = 1726
                self.match(fugue_sqlParser.TABLE)
                self.state = 1727
                self.multipartIdentifier()
                self.state = 1730
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 1728
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 1729
                    localctx.options = self.tablePropertyList()


                self.state = 1736
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if (((_la) & ~0x3f) == 0 and ((1 << _la) & ((1 << fugue_sqlParser.FILL) | (1 << fugue_sqlParser.TAKE) | (1 << fugue_sqlParser.PROCESS) | (1 << fugue_sqlParser.ZIP) | (1 << fugue_sqlParser.SAVE) | (1 << fugue_sqlParser.CONNECT) | (1 << fugue_sqlParser.SAMPLE) | (1 << fugue_sqlParser.ALTER) | (1 << fugue_sqlParser.AS))) != 0) or ((((_la - 93)) & ~0x3f) == 0 and ((1 << (_la - 93)) & ((1 << (fugue_sqlParser.CREATE - 93)) | (1 << (fugue_sqlParser.DROP - 93)) | (1 << (fugue_sqlParser.FROM - 93)))) != 0) or ((((_la - 176)) & ~0x3f) == 0 and ((1 << (_la - 176)) & ((1 << (fugue_sqlParser.LOAD - 176)) | (1 << (fugue_sqlParser.MAP - 176)) | (1 << (fugue_sqlParser.REDUCE - 176)) | (1 << (fugue_sqlParser.RENAME - 176)))) != 0) or ((((_la - 246)) & ~0x3f) == 0 and ((1 << (_la - 246)) & ((1 << (fugue_sqlParser.SELECT - 246)) | (1 << (fugue_sqlParser.TABLE - 246)) | (1 << (fugue_sqlParser.TRANSFORM - 246)) | (1 << (fugue_sqlParser.VALUES - 246)) | (1 << (fugue_sqlParser.WITH - 246)))) != 0):
                    self.state = 1733
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.AS:
                        self.state = 1732
                        self.match(fugue_sqlParser.AS)


                    self.state = 1735
                    self.query()


                pass

            elif la_ == 58:
                localctx = fugue_sqlParser.UncacheTableContext(self, localctx)
                self.enterOuterAlt(localctx, 58)
                self.state = 1738
                self.match(fugue_sqlParser.UNCACHE)
                self.state = 1739
                self.match(fugue_sqlParser.TABLE)
                self.state = 1742
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,214,self._ctx)
                if la_ == 1:
                    self.state = 1740
                    self.match(fugue_sqlParser.IF)
                    self.state = 1741
                    self.match(fugue_sqlParser.EXISTS)


                self.state = 1744
                self.multipartIdentifier()
                pass

            elif la_ == 59:
                localctx = fugue_sqlParser.ClearCacheContext(self, localctx)
                self.enterOuterAlt(localctx, 59)
                self.state = 1745
                self.match(fugue_sqlParser.CLEAR)
                self.state = 1746
                self.match(fugue_sqlParser.CACHE)
                pass

            elif la_ == 60:
                localctx = fugue_sqlParser.LoadDataContext(self, localctx)
                self.enterOuterAlt(localctx, 60)
                self.state = 1747
                self.match(fugue_sqlParser.LOAD)
                self.state = 1748
                self.match(fugue_sqlParser.DATA)
                self.state = 1750
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 1749
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 1752
                self.match(fugue_sqlParser.INPATH)
                self.state = 1753
                localctx.path = self.match(fugue_sqlParser.STRING)
                self.state = 1755
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OVERWRITE:
                    self.state = 1754
                    self.match(fugue_sqlParser.OVERWRITE)


                self.state = 1757
                self.match(fugue_sqlParser.INTO)
                self.state = 1758
                self.match(fugue_sqlParser.TABLE)
                self.state = 1759
                self.multipartIdentifier()
                self.state = 1761
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1760
                    self.partitionSpec()


                pass

            elif la_ == 61:
                localctx = fugue_sqlParser.TruncateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 61)
                self.state = 1763
                self.match(fugue_sqlParser.TRUNCATE)
                self.state = 1764
                self.match(fugue_sqlParser.TABLE)
                self.state = 1765
                self.multipartIdentifier()
                self.state = 1767
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1766
                    self.partitionSpec()


                pass

            elif la_ == 62:
                localctx = fugue_sqlParser.RepairTableContext(self, localctx)
                self.enterOuterAlt(localctx, 62)
                self.state = 1769
                self.match(fugue_sqlParser.MSCK)
                self.state = 1770
                self.match(fugue_sqlParser.REPAIR)
                self.state = 1771
                self.match(fugue_sqlParser.TABLE)
                self.state = 1772
                self.multipartIdentifier()
                pass

            elif la_ == 63:
                localctx = fugue_sqlParser.ManageResourceContext(self, localctx)
                self.enterOuterAlt(localctx, 63)
                self.state = 1773
                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 = 1774
                self.identifier()
                self.state = 1782
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,220,self._ctx)
                if la_ == 1:
                    self.state = 1775
                    self.match(fugue_sqlParser.STRING)
                    pass

                elif la_ == 2:
                    self.state = 1779
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,219,self._ctx)
                    while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                        if _alt==1+1:
                            self.state = 1776
                            self.matchWildcard() 
                        self.state = 1781
                        self._errHandler.sync(self)
                        _alt = self._interp.adaptivePredict(self._input,219,self._ctx)

                    pass


                pass

            elif la_ == 64:
                localctx = fugue_sqlParser.FailNativeCommandContext(self, localctx)
                self.enterOuterAlt(localctx, 64)
                self.state = 1784
                self.match(fugue_sqlParser.SET)
                self.state = 1785
                self.match(fugue_sqlParser.ROLE)
                self.state = 1789
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,221,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1786
                        self.matchWildcard() 
                    self.state = 1791
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,221,self._ctx)

                pass

            elif la_ == 65:
                localctx = fugue_sqlParser.SetConfigurationContext(self, localctx)
                self.enterOuterAlt(localctx, 65)
                self.state = 1792
                self.match(fugue_sqlParser.SET)
                self.state = 1796
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,222,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1793
                        self.matchWildcard() 
                    self.state = 1798
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,222,self._ctx)

                pass

            elif la_ == 66:
                localctx = fugue_sqlParser.ResetConfigurationContext(self, localctx)
                self.enterOuterAlt(localctx, 66)
                self.state = 1799
                self.match(fugue_sqlParser.RESET)
                pass

            elif la_ == 67:
                localctx = fugue_sqlParser.FailNativeCommandContext(self, localctx)
                self.enterOuterAlt(localctx, 67)
                self.state = 1800
                self.unsupportedHiveNativeCommands()
                self.state = 1804
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,223,self._ctx)
                while _alt!=1 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1+1:
                        self.state = 1801
                        self.matchWildcard() 
                    self.state = 1806
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,223,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, 166, self.RULE_unsupportedHiveNativeCommands)
        self._la = 0 # Token type
        try:
            self.state = 1977
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,232,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 1809
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1810
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 1811
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1812
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 1813
                localctx.kw1 = self.match(fugue_sqlParser.GRANT)
                self.state = 1815
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,225,self._ctx)
                if la_ == 1:
                    self.state = 1814
                    localctx.kw2 = self.match(fugue_sqlParser.ROLE)


                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 1817
                localctx.kw1 = self.match(fugue_sqlParser.REVOKE)
                self.state = 1819
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,226,self._ctx)
                if la_ == 1:
                    self.state = 1818
                    localctx.kw2 = self.match(fugue_sqlParser.ROLE)


                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 1821
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1822
                localctx.kw2 = self.match(fugue_sqlParser.GRANT)
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 1823
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1824
                localctx.kw2 = self.match(fugue_sqlParser.ROLE)
                self.state = 1826
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,227,self._ctx)
                if la_ == 1:
                    self.state = 1825
                    localctx.kw3 = self.match(fugue_sqlParser.GRANT)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 1828
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1829
                localctx.kw2 = self.match(fugue_sqlParser.PRINCIPALS)
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 1830
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1831
                localctx.kw2 = self.match(fugue_sqlParser.ROLES)
                pass

            elif la_ == 9:
                self.enterOuterAlt(localctx, 9)
                self.state = 1832
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1833
                localctx.kw2 = self.match(fugue_sqlParser.CURRENT)
                self.state = 1834
                localctx.kw3 = self.match(fugue_sqlParser.ROLES)
                pass

            elif la_ == 10:
                self.enterOuterAlt(localctx, 10)
                self.state = 1835
                localctx.kw1 = self.match(fugue_sqlParser.EXPORT)
                self.state = 1836
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 11:
                self.enterOuterAlt(localctx, 11)
                self.state = 1837
                localctx.kw1 = self.match(fugue_sqlParser.IMPORT)
                self.state = 1838
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 12:
                self.enterOuterAlt(localctx, 12)
                self.state = 1839
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1840
                localctx.kw2 = self.match(fugue_sqlParser.COMPACTIONS)
                pass

            elif la_ == 13:
                self.enterOuterAlt(localctx, 13)
                self.state = 1841
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1842
                localctx.kw2 = self.match(fugue_sqlParser.CREATE)
                self.state = 1843
                localctx.kw3 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 14:
                self.enterOuterAlt(localctx, 14)
                self.state = 1844
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1845
                localctx.kw2 = self.match(fugue_sqlParser.TRANSACTIONS)
                pass

            elif la_ == 15:
                self.enterOuterAlt(localctx, 15)
                self.state = 1846
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1847
                localctx.kw2 = self.match(fugue_sqlParser.INDEXES)
                pass

            elif la_ == 16:
                self.enterOuterAlt(localctx, 16)
                self.state = 1848
                localctx.kw1 = self.match(fugue_sqlParser.SHOW)
                self.state = 1849
                localctx.kw2 = self.match(fugue_sqlParser.LOCKS)
                pass

            elif la_ == 17:
                self.enterOuterAlt(localctx, 17)
                self.state = 1850
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1851
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 18:
                self.enterOuterAlt(localctx, 18)
                self.state = 1852
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1853
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 19:
                self.enterOuterAlt(localctx, 19)
                self.state = 1854
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1855
                localctx.kw2 = self.match(fugue_sqlParser.INDEX)
                pass

            elif la_ == 20:
                self.enterOuterAlt(localctx, 20)
                self.state = 1856
                localctx.kw1 = self.match(fugue_sqlParser.LOCK)
                self.state = 1857
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 21:
                self.enterOuterAlt(localctx, 21)
                self.state = 1858
                localctx.kw1 = self.match(fugue_sqlParser.LOCK)
                self.state = 1859
                localctx.kw2 = self.match(fugue_sqlParser.DATABASE)
                pass

            elif la_ == 22:
                self.enterOuterAlt(localctx, 22)
                self.state = 1860
                localctx.kw1 = self.match(fugue_sqlParser.UNLOCK)
                self.state = 1861
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                pass

            elif la_ == 23:
                self.enterOuterAlt(localctx, 23)
                self.state = 1862
                localctx.kw1 = self.match(fugue_sqlParser.UNLOCK)
                self.state = 1863
                localctx.kw2 = self.match(fugue_sqlParser.DATABASE)
                pass

            elif la_ == 24:
                self.enterOuterAlt(localctx, 24)
                self.state = 1864
                localctx.kw1 = self.match(fugue_sqlParser.CREATE)
                self.state = 1865
                localctx.kw2 = self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1866
                localctx.kw3 = self.match(fugue_sqlParser.MACRO)
                pass

            elif la_ == 25:
                self.enterOuterAlt(localctx, 25)
                self.state = 1867
                localctx.kw1 = self.match(fugue_sqlParser.DROP)
                self.state = 1868
                localctx.kw2 = self.match(fugue_sqlParser.TEMPORARY)
                self.state = 1869
                localctx.kw3 = self.match(fugue_sqlParser.MACRO)
                pass

            elif la_ == 26:
                self.enterOuterAlt(localctx, 26)
                self.state = 1870
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1871
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1872
                self.tableIdentifier()
                self.state = 1873
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1874
                localctx.kw4 = self.match(fugue_sqlParser.CLUSTERED)
                pass

            elif la_ == 27:
                self.enterOuterAlt(localctx, 27)
                self.state = 1876
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1877
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1878
                self.tableIdentifier()
                self.state = 1879
                localctx.kw3 = self.match(fugue_sqlParser.CLUSTERED)
                self.state = 1880
                localctx.kw4 = self.match(fugue_sqlParser.BY)
                pass

            elif la_ == 28:
                self.enterOuterAlt(localctx, 28)
                self.state = 1882
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1883
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1884
                self.tableIdentifier()
                self.state = 1885
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1886
                localctx.kw4 = self.match(fugue_sqlParser.SORTED)
                pass

            elif la_ == 29:
                self.enterOuterAlt(localctx, 29)
                self.state = 1888
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1889
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1890
                self.tableIdentifier()
                self.state = 1891
                localctx.kw3 = self.match(fugue_sqlParser.SKEWED)
                self.state = 1892
                localctx.kw4 = self.match(fugue_sqlParser.BY)
                pass

            elif la_ == 30:
                self.enterOuterAlt(localctx, 30)
                self.state = 1894
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1895
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1896
                self.tableIdentifier()
                self.state = 1897
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1898
                localctx.kw4 = self.match(fugue_sqlParser.SKEWED)
                pass

            elif la_ == 31:
                self.enterOuterAlt(localctx, 31)
                self.state = 1900
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1901
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1902
                self.tableIdentifier()
                self.state = 1903
                localctx.kw3 = self.match(fugue_sqlParser.NOT)
                self.state = 1904
                localctx.kw4 = self.match(fugue_sqlParser.STORED)
                self.state = 1905
                localctx.kw5 = self.match(fugue_sqlParser.AS)
                self.state = 1906
                localctx.kw6 = self.match(fugue_sqlParser.DIRECTORIES)
                pass

            elif la_ == 32:
                self.enterOuterAlt(localctx, 32)
                self.state = 1908
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1909
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1910
                self.tableIdentifier()
                self.state = 1911
                localctx.kw3 = self.match(fugue_sqlParser.SET)
                self.state = 1912
                localctx.kw4 = self.match(fugue_sqlParser.SKEWED)
                self.state = 1913
                localctx.kw5 = self.match(fugue_sqlParser.LOCATION)
                pass

            elif la_ == 33:
                self.enterOuterAlt(localctx, 33)
                self.state = 1915
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1916
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1917
                self.tableIdentifier()
                self.state = 1918
                localctx.kw3 = self.match(fugue_sqlParser.EXCHANGE)
                self.state = 1919
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 34:
                self.enterOuterAlt(localctx, 34)
                self.state = 1921
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1922
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1923
                self.tableIdentifier()
                self.state = 1924
                localctx.kw3 = self.match(fugue_sqlParser.ARCHIVE)
                self.state = 1925
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 35:
                self.enterOuterAlt(localctx, 35)
                self.state = 1927
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1928
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1929
                self.tableIdentifier()
                self.state = 1930
                localctx.kw3 = self.match(fugue_sqlParser.UNARCHIVE)
                self.state = 1931
                localctx.kw4 = self.match(fugue_sqlParser.PARTITION)
                pass

            elif la_ == 36:
                self.enterOuterAlt(localctx, 36)
                self.state = 1933
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1934
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1935
                self.tableIdentifier()
                self.state = 1936
                localctx.kw3 = self.match(fugue_sqlParser.TOUCH)
                pass

            elif la_ == 37:
                self.enterOuterAlt(localctx, 37)
                self.state = 1938
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1939
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1940
                self.tableIdentifier()
                self.state = 1942
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1941
                    self.partitionSpec()


                self.state = 1944
                localctx.kw3 = self.match(fugue_sqlParser.COMPACT)
                pass

            elif la_ == 38:
                self.enterOuterAlt(localctx, 38)
                self.state = 1946
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1947
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1948
                self.tableIdentifier()
                self.state = 1950
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1949
                    self.partitionSpec()


                self.state = 1952
                localctx.kw3 = self.match(fugue_sqlParser.CONCATENATE)
                pass

            elif la_ == 39:
                self.enterOuterAlt(localctx, 39)
                self.state = 1954
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1955
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1956
                self.tableIdentifier()
                self.state = 1958
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1957
                    self.partitionSpec()


                self.state = 1960
                localctx.kw3 = self.match(fugue_sqlParser.SET)
                self.state = 1961
                localctx.kw4 = self.match(fugue_sqlParser.FILEFORMAT)
                pass

            elif la_ == 40:
                self.enterOuterAlt(localctx, 40)
                self.state = 1963
                localctx.kw1 = self.match(fugue_sqlParser.ALTER)
                self.state = 1964
                localctx.kw2 = self.match(fugue_sqlParser.TABLE)
                self.state = 1965
                self.tableIdentifier()
                self.state = 1967
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 1966
                    self.partitionSpec()


                self.state = 1969
                localctx.kw3 = self.match(fugue_sqlParser.REPLACE)
                self.state = 1970
                localctx.kw4 = self.match(fugue_sqlParser.COLUMNS)
                pass

            elif la_ == 41:
                self.enterOuterAlt(localctx, 41)
                self.state = 1972
                localctx.kw1 = self.match(fugue_sqlParser.START)
                self.state = 1973
                localctx.kw2 = self.match(fugue_sqlParser.TRANSACTION)
                pass

            elif la_ == 42:
                self.enterOuterAlt(localctx, 42)
                self.state = 1974
                localctx.kw1 = self.match(fugue_sqlParser.COMMIT)
                pass

            elif la_ == 43:
                self.enterOuterAlt(localctx, 43)
                self.state = 1975
                localctx.kw1 = self.match(fugue_sqlParser.ROLLBACK)
                pass

            elif la_ == 44:
                self.enterOuterAlt(localctx, 44)
                self.state = 1976
                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, 168, self.RULE_createTableHeader)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1979
            self.match(fugue_sqlParser.CREATE)
            self.state = 1981
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.TEMPORARY:
                self.state = 1980
                self.match(fugue_sqlParser.TEMPORARY)


            self.state = 1984
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.EXTERNAL:
                self.state = 1983
                self.match(fugue_sqlParser.EXTERNAL)


            self.state = 1986
            self.match(fugue_sqlParser.TABLE)
            self.state = 1990
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,235,self._ctx)
            if la_ == 1:
                self.state = 1987
                self.match(fugue_sqlParser.IF)
                self.state = 1988
                self.match(fugue_sqlParser.NOT)
                self.state = 1989
                self.match(fugue_sqlParser.EXISTS)


            self.state = 1992
            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, 170, self.RULE_replaceTableHeader)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 1996
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.CREATE:
                self.state = 1994
                self.match(fugue_sqlParser.CREATE)
                self.state = 1995
                self.match(fugue_sqlParser.OR)


            self.state = 1998
            self.match(fugue_sqlParser.REPLACE)
            self.state = 1999
            self.match(fugue_sqlParser.TABLE)
            self.state = 2000
            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, 172, self.RULE_bucketSpec)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2002
            self.match(fugue_sqlParser.CLUSTERED)
            self.state = 2003
            self.match(fugue_sqlParser.BY)
            self.state = 2004
            self.identifierList()
            self.state = 2008
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.SORTED:
                self.state = 2005
                self.match(fugue_sqlParser.SORTED)
                self.state = 2006
                self.match(fugue_sqlParser.BY)
                self.state = 2007
                self.orderedIdentifierList()


            self.state = 2010
            self.match(fugue_sqlParser.INTO)
            self.state = 2011
            self.match(fugue_sqlParser.INTEGER_VALUE)
            self.state = 2012
            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, 174, self.RULE_skewSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2014
            self.match(fugue_sqlParser.SKEWED)
            self.state = 2015
            self.match(fugue_sqlParser.BY)
            self.state = 2016
            self.identifierList()
            self.state = 2017
            self.match(fugue_sqlParser.ON)
            self.state = 2020
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,238,self._ctx)
            if la_ == 1:
                self.state = 2018
                self.constantList()
                pass

            elif la_ == 2:
                self.state = 2019
                self.nestedConstantList()
                pass


            self.state = 2025
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,239,self._ctx)
            if la_ == 1:
                self.state = 2022
                self.match(fugue_sqlParser.STORED)
                self.state = 2023
                self.match(fugue_sqlParser.AS)
                self.state = 2024
                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, 176, self.RULE_locationSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2027
            self.match(fugue_sqlParser.LOCATION)
            self.state = 2028
            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, 178, self.RULE_commentSpec)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2030
            self.match(fugue_sqlParser.COMMENT)
            self.state = 2031
            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, 180, self.RULE_query)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2034
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.WITH:
                self.state = 2033
                self.ctes()


            self.state = 2036
            self.queryTerm(0)
            self.state = 2037
            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, 182, self.RULE_insertInto)
        self._la = 0 # Token type
        try:
            self.state = 2094
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,253,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.InsertOverwriteTableContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2039
                self.match(fugue_sqlParser.INSERT)
                self.state = 2040
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 2042
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,241,self._ctx)
                if la_ == 1:
                    self.state = 2041
                    self.match(fugue_sqlParser.TABLE)


                self.state = 2044
                self.multipartIdentifier()
                self.state = 2051
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 2045
                    self.partitionSpec()
                    self.state = 2049
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.IF:
                        self.state = 2046
                        self.match(fugue_sqlParser.IF)
                        self.state = 2047
                        self.match(fugue_sqlParser.NOT)
                        self.state = 2048
                        self.match(fugue_sqlParser.EXISTS)




                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.InsertIntoTableContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2053
                self.match(fugue_sqlParser.INSERT)
                self.state = 2054
                self.match(fugue_sqlParser.INTO)
                self.state = 2056
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,244,self._ctx)
                if la_ == 1:
                    self.state = 2055
                    self.match(fugue_sqlParser.TABLE)


                self.state = 2058
                self.multipartIdentifier()
                self.state = 2060
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PARTITION:
                    self.state = 2059
                    self.partitionSpec()


                self.state = 2065
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IF:
                    self.state = 2062
                    self.match(fugue_sqlParser.IF)
                    self.state = 2063
                    self.match(fugue_sqlParser.NOT)
                    self.state = 2064
                    self.match(fugue_sqlParser.EXISTS)


                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.InsertOverwriteHiveDirContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2067
                self.match(fugue_sqlParser.INSERT)
                self.state = 2068
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 2070
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 2069
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 2072
                self.match(fugue_sqlParser.DIRECTORY)
                self.state = 2073
                localctx.path = self.match(fugue_sqlParser.STRING)
                self.state = 2075
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ROW:
                    self.state = 2074
                    self.rowFormat()


                self.state = 2078
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.STORED:
                    self.state = 2077
                    self.createFileFormat()


                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.InsertOverwriteDirContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2080
                self.match(fugue_sqlParser.INSERT)
                self.state = 2081
                self.match(fugue_sqlParser.OVERWRITE)
                self.state = 2083
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LOCAL:
                    self.state = 2082
                    self.match(fugue_sqlParser.LOCAL)


                self.state = 2085
                self.match(fugue_sqlParser.DIRECTORY)
                self.state = 2087
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.STRING:
                    self.state = 2086
                    localctx.path = self.match(fugue_sqlParser.STRING)


                self.state = 2089
                self.tableProvider()
                self.state = 2092
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OPTIONS:
                    self.state = 2090
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 2091
                    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, 184, self.RULE_partitionSpecLocation)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2096
            self.partitionSpec()
            self.state = 2098
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.LOCATION:
                self.state = 2097
                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, 186, self.RULE_partitionSpec)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2100
            self.match(fugue_sqlParser.PARTITION)
            self.state = 2101
            self.match(fugue_sqlParser.T__2)
            self.state = 2102
            self.partitionVal()
            self.state = 2107
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2103
                self.match(fugue_sqlParser.T__0)
                self.state = 2104
                self.partitionVal()
                self.state = 2109
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2110
            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, 188, self.RULE_partitionVal)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2112
            self.identifier()
            self.state = 2115
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.EQUAL:
                self.state = 2113
                self.match(fugue_sqlParser.EQUAL)
                self.state = 2114
                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, 190, self.RULE_namespace)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2117
            _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, 192, self.RULE_describeFuncName)
        try:
            self.state = 2124
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,257,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2119
                self.qualifiedName()
                pass

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

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2121
                self.comparisonOperator()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 2122
                self.arithmeticOperator()
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 2123
                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, 194, self.RULE_describeColName)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2126
            localctx._identifier = self.identifier()
            localctx.nameParts.append(localctx._identifier)
            self.state = 2131
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__6:
                self.state = 2127
                self.match(fugue_sqlParser.T__6)
                self.state = 2128
                localctx._identifier = self.identifier()
                localctx.nameParts.append(localctx._identifier)
                self.state = 2133
                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, 196, self.RULE_ctes)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2134
            self.match(fugue_sqlParser.WITH)
            self.state = 2135
            self.namedQuery()
            self.state = 2140
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2136
                self.match(fugue_sqlParser.T__0)
                self.state = 2137
                self.namedQuery()
                self.state = 2142
                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, 198, self.RULE_namedQuery)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2143
            localctx.name = self.errorCapturingIdentifier()
            self.state = 2145
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,260,self._ctx)
            if la_ == 1:
                self.state = 2144
                localctx.columnAliases = self.identifierList()


            self.state = 2148
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AS:
                self.state = 2147
                self.match(fugue_sqlParser.AS)


            self.state = 2150
            self.match(fugue_sqlParser.T__2)
            self.state = 2151
            self.query()
            self.state = 2152
            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, 200, self.RULE_tableProvider)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2154
            self.match(fugue_sqlParser.USING)
            self.state = 2155
            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, 202, self.RULE_createTableClauses)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2169
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.CLUSTERED or _la==fugue_sqlParser.COMMENT or ((((_la - 178)) & ~0x3f) == 0 and ((1 << (_la - 178)) & ((1 << (fugue_sqlParser.LOCATION - 178)) | (1 << (fugue_sqlParser.OPTIONS - 178)) | (1 << (fugue_sqlParser.PARTITIONED - 178)))) != 0) or _la==fugue_sqlParser.TBLPROPERTIES:
                self.state = 2167
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.OPTIONS]:
                    self.state = 2157
                    self.match(fugue_sqlParser.OPTIONS)
                    self.state = 2158
                    localctx.options = self.tablePropertyList()
                    pass
                elif token in [fugue_sqlParser.PARTITIONED]:
                    self.state = 2159
                    self.match(fugue_sqlParser.PARTITIONED)
                    self.state = 2160
                    self.match(fugue_sqlParser.BY)
                    self.state = 2161
                    localctx.partitioning = self.transformList()
                    pass
                elif token in [fugue_sqlParser.CLUSTERED]:
                    self.state = 2162
                    self.bucketSpec()
                    pass
                elif token in [fugue_sqlParser.LOCATION]:
                    self.state = 2163
                    self.locationSpec()
                    pass
                elif token in [fugue_sqlParser.COMMENT]:
                    self.state = 2164
                    self.commentSpec()
                    pass
                elif token in [fugue_sqlParser.TBLPROPERTIES]:
                    self.state = 2165
                    self.match(fugue_sqlParser.TBLPROPERTIES)
                    self.state = 2166
                    localctx.tableProps = self.tablePropertyList()
                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 2171
                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, 204, self.RULE_tablePropertyList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2172
            self.match(fugue_sqlParser.T__2)
            self.state = 2173
            self.tableProperty()
            self.state = 2178
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2174
                self.match(fugue_sqlParser.T__0)
                self.state = 2175
                self.tableProperty()
                self.state = 2180
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2181
            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, 206, self.RULE_tableProperty)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2183
            localctx.key = self.tablePropertyKey()
            self.state = 2188
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.FALSE or ((((_la - 281)) & ~0x3f) == 0 and ((1 << (_la - 281)) & ((1 << (fugue_sqlParser.TRUE - 281)) | (1 << (fugue_sqlParser.EQUAL - 281)) | (1 << (fugue_sqlParser.STRING - 281)) | (1 << (fugue_sqlParser.INTEGER_VALUE - 281)) | (1 << (fugue_sqlParser.DECIMAL_VALUE - 281)))) != 0):
                self.state = 2185
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.EQUAL:
                    self.state = 2184
                    self.match(fugue_sqlParser.EQUAL)


                self.state = 2187
                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, 208, self.RULE_tablePropertyKey)
        self._la = 0 # Token type
        try:
            self.state = 2199
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,268,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2190
                self.identifier()
                self.state = 2195
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__6:
                    self.state = 2191
                    self.match(fugue_sqlParser.T__6)
                    self.state = 2192
                    self.identifier()
                    self.state = 2197
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2198
                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, 210, self.RULE_tablePropertyValue)
        try:
            self.state = 2205
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.INTEGER_VALUE]:
                self.enterOuterAlt(localctx, 1)
                self.state = 2201
                self.match(fugue_sqlParser.INTEGER_VALUE)
                pass
            elif token in [fugue_sqlParser.DECIMAL_VALUE]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2202
                self.match(fugue_sqlParser.DECIMAL_VALUE)
                pass
            elif token in [fugue_sqlParser.FALSE, fugue_sqlParser.TRUE]:
                self.enterOuterAlt(localctx, 3)
                self.state = 2203
                self.booleanValue()
                pass
            elif token in [fugue_sqlParser.STRING]:
                self.enterOuterAlt(localctx, 4)
                self.state = 2204
                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, 212, self.RULE_constantList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2207
            self.match(fugue_sqlParser.T__2)
            self.state = 2208
            self.constant()
            self.state = 2213
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2209
                self.match(fugue_sqlParser.T__0)
                self.state = 2210
                self.constant()
                self.state = 2215
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2216
            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, 214, self.RULE_nestedConstantList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2218
            self.match(fugue_sqlParser.T__2)
            self.state = 2219
            self.constantList()
            self.state = 2224
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2220
                self.match(fugue_sqlParser.T__0)
                self.state = 2221
                self.constantList()
                self.state = 2226
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2227
            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, 216, self.RULE_createFileFormat)
        try:
            self.state = 2235
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,272,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2229
                self.match(fugue_sqlParser.STORED)
                self.state = 2230
                self.match(fugue_sqlParser.AS)
                self.state = 2231
                self.fileFormat()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2232
                self.match(fugue_sqlParser.STORED)
                self.state = 2233
                self.match(fugue_sqlParser.BY)
                self.state = 2234
                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, 218, self.RULE_fileFormat)
        try:
            self.state = 2242
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,273,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TableFileFormatContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2237
                self.match(fugue_sqlParser.INPUTFORMAT)
                self.state = 2238
                localctx.inFmt = self.match(fugue_sqlParser.STRING)
                self.state = 2239
                self.match(fugue_sqlParser.OUTPUTFORMAT)
                self.state = 2240
                localctx.outFmt = self.match(fugue_sqlParser.STRING)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.GenericFileFormatContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2241
                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, 220, self.RULE_storageHandler)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2244
            self.match(fugue_sqlParser.STRING)
            self.state = 2248
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,274,self._ctx)
            if la_ == 1:
                self.state = 2245
                self.match(fugue_sqlParser.WITH)
                self.state = 2246
                self.match(fugue_sqlParser.SERDEPROPERTIES)
                self.state = 2247
                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, 222, self.RULE_resource)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2250
            self.identifier()
            self.state = 2251
            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, 224, self.RULE_dmlStatementNoWith)
        self._la = 0 # Token type
        try:
            self.state = 2304
            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 = 2253
                self.insertInto()
                self.state = 2254
                self.queryTerm(0)
                self.state = 2255
                self.queryOrganization()
                pass
            elif token in [fugue_sqlParser.FROM]:
                localctx = fugue_sqlParser.MultiInsertQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2257
                self.fromClause()
                self.state = 2259 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 2258
                    self.multiInsertQueryBody()
                    self.state = 2261 
                    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 = 2263
                self.match(fugue_sqlParser.DELETE)
                self.state = 2264
                self.match(fugue_sqlParser.FROM)
                self.state = 2265
                self.multipartIdentifier()
                self.state = 2266
                self.tableAlias()
                self.state = 2268
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WHERE:
                    self.state = 2267
                    self.whereClause()


                pass
            elif token in [fugue_sqlParser.UPDATE]:
                localctx = fugue_sqlParser.UpdateTableContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2270
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2271
                self.multipartIdentifier()
                self.state = 2272
                self.tableAlias()
                self.state = 2273
                self.setClause()
                self.state = 2275
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.WHERE:
                    self.state = 2274
                    self.whereClause()


                pass
            elif token in [fugue_sqlParser.MERGE]:
                localctx = fugue_sqlParser.MergeIntoTableContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 2277
                self.match(fugue_sqlParser.MERGE)
                self.state = 2278
                self.match(fugue_sqlParser.INTO)
                self.state = 2279
                localctx.target = self.multipartIdentifier()
                self.state = 2280
                localctx.targetAlias = self.tableAlias()
                self.state = 2281
                self.match(fugue_sqlParser.USING)
                self.state = 2287
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,278,self._ctx)
                if la_ == 1:
                    self.state = 2282
                    localctx.source = self.multipartIdentifier()
                    pass

                elif la_ == 2:
                    self.state = 2283
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2284
                    localctx.sourceQuery = self.query()
                    self.state = 2285
                    self.match(fugue_sqlParser.T__3)
                    pass


                self.state = 2289
                localctx.sourceAlias = self.tableAlias()
                self.state = 2290
                self.match(fugue_sqlParser.ON)
                self.state = 2291
                localctx.mergeCondition = self.booleanExpression(0)
                self.state = 2295
                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 = 2292
                        self.matchedClause() 
                    self.state = 2297
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,279,self._ctx)

                self.state = 2301
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.WHEN:
                    self.state = 2298
                    self.notMatchedClause()
                    self.state = 2303
                    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, 226, self.RULE_queryOrganization)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2316
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,283,self._ctx)
            if la_ == 1:
                self.state = 2306
                self.match(fugue_sqlParser.ORDER)
                self.state = 2307
                self.match(fugue_sqlParser.BY)
                self.state = 2308
                localctx._sortItem = self.sortItem()
                localctx.order.append(localctx._sortItem)
                self.state = 2313
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,282,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2309
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2310
                        localctx._sortItem = self.sortItem()
                        localctx.order.append(localctx._sortItem) 
                    self.state = 2315
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,282,self._ctx)



            self.state = 2328
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,285,self._ctx)
            if la_ == 1:
                self.state = 2318
                self.match(fugue_sqlParser.CLUSTER)
                self.state = 2319
                self.match(fugue_sqlParser.BY)
                self.state = 2320
                localctx._expression = self.expression()
                localctx.clusterBy.append(localctx._expression)
                self.state = 2325
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,284,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2321
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2322
                        localctx._expression = self.expression()
                        localctx.clusterBy.append(localctx._expression) 
                    self.state = 2327
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,284,self._ctx)



            self.state = 2340
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,287,self._ctx)
            if la_ == 1:
                self.state = 2330
                self.match(fugue_sqlParser.DISTRIBUTE)
                self.state = 2331
                self.match(fugue_sqlParser.BY)
                self.state = 2332
                localctx._expression = self.expression()
                localctx.distributeBy.append(localctx._expression)
                self.state = 2337
                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 = 2333
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2334
                        localctx._expression = self.expression()
                        localctx.distributeBy.append(localctx._expression) 
                    self.state = 2339
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,286,self._ctx)



            self.state = 2352
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,289,self._ctx)
            if la_ == 1:
                self.state = 2342
                self.match(fugue_sqlParser.SORT)
                self.state = 2343
                self.match(fugue_sqlParser.BY)
                self.state = 2344
                localctx._sortItem = self.sortItem()
                localctx.sort.append(localctx._sortItem)
                self.state = 2349
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,288,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2345
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2346
                        localctx._sortItem = self.sortItem()
                        localctx.sort.append(localctx._sortItem) 
                    self.state = 2351
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,288,self._ctx)



            self.state = 2355
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,290,self._ctx)
            if la_ == 1:
                self.state = 2354
                self.windowClause()


            self.state = 2362
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,292,self._ctx)
            if la_ == 1:
                self.state = 2357
                self.match(fugue_sqlParser.LIMIT)
                self.state = 2360
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,291,self._ctx)
                if la_ == 1:
                    self.state = 2358
                    self.match(fugue_sqlParser.ALL)
                    pass

                elif la_ == 2:
                    self.state = 2359
                    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, 228, self.RULE_multiInsertQueryBody)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2364
            self.insertInto()
            self.state = 2365
            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 = 230
        self.enterRecursionRule(localctx, 230, self.RULE_queryTerm, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2370
            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 = 2368
                self.queryPrimary()
                pass
            elif token in [fugue_sqlParser.FILL, fugue_sqlParser.TAKE, fugue_sqlParser.PROCESS, fugue_sqlParser.ZIP, fugue_sqlParser.SAVE, fugue_sqlParser.CONNECT, fugue_sqlParser.SAMPLE, fugue_sqlParser.ALTER, fugue_sqlParser.CREATE, fugue_sqlParser.DROP, fugue_sqlParser.LOAD, fugue_sqlParser.RENAME, fugue_sqlParser.TRANSFORM]:
                localctx = fugue_sqlParser.FugueTermContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 2369
                self.fugueNestableTaskCollectionNoSelect()
                pass
            else:
                raise NoViableAltException(self)

            self._ctx.stop = self._input.LT(-1)
            self.state = 2395
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,298,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 = 2393
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,297,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 = 2372
                        if not self.precpred(self._ctx, 3):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 3)")
                        self.state = 2373
                        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 = 2374
                        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 = 2376
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2375
                            self.setQuantifier()


                        self.state = 2378
                        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 = 2379
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 2380
                        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 = 2381
                        localctx.operator = self.match(fugue_sqlParser.INTERSECT)
                        self.state = 2383
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2382
                            self.setQuantifier()


                        self.state = 2385
                        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 = 2386
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 2387
                        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 = 2388
                        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 = 2390
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        if _la==fugue_sqlParser.ALL or _la==fugue_sqlParser.DISTINCT:
                            self.state = 2389
                            self.setQuantifier()


                        self.state = 2392
                        localctx.right = self.queryTerm(2)
                        pass

             
                self.state = 2397
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,298,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, 232, self.RULE_queryPrimary)
        try:
            self.state = 2403
            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 = 2398
                self.querySpecification()
                pass
            elif token in [fugue_sqlParser.FROM]:
                localctx = fugue_sqlParser.FromStmtContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2399
                self.fromStatement()
                pass
            elif token in [fugue_sqlParser.TABLE]:
                localctx = fugue_sqlParser.TableContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2400
                self.match(fugue_sqlParser.TABLE)
                self.state = 2401
                self.multipartIdentifier()
                pass
            elif token in [fugue_sqlParser.VALUES]:
                localctx = fugue_sqlParser.InlineTableDefault1Context(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2402
                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, 234, self.RULE_sortItem)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2405
            self.expression()
            self.state = 2407
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,300,self._ctx)
            if la_ == 1:
                self.state = 2406
                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 = 2411
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,301,self._ctx)
            if la_ == 1:
                self.state = 2409
                self.match(fugue_sqlParser.NULLS)
                self.state = 2410
                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, 236, self.RULE_fromStatement)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2413
            self.fromClause()
            self.state = 2415 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 2414
                    self.fromStatementBody()

                else:
                    raise NoViableAltException(self)
                self.state = 2417 
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,302,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, 238, self.RULE_fromStatementBody)
        try:
            self.state = 2446
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,309,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2419
                self.transformClause()
                self.state = 2421
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,303,self._ctx)
                if la_ == 1:
                    self.state = 2420
                    self.whereClause()


                self.state = 2423
                self.queryOrganization()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2425
                self.selectClause()
                self.state = 2429
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,304,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2426
                        self.lateralView() 
                    self.state = 2431
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,304,self._ctx)

                self.state = 2433
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,305,self._ctx)
                if la_ == 1:
                    self.state = 2432
                    self.whereClause()


                self.state = 2436
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,306,self._ctx)
                if la_ == 1:
                    self.state = 2435
                    self.aggregationClause()


                self.state = 2439
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,307,self._ctx)
                if la_ == 1:
                    self.state = 2438
                    self.havingClause()


                self.state = 2442
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,308,self._ctx)
                if la_ == 1:
                    self.state = 2441
                    self.windowClause()


                self.state = 2444
                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, 240, self.RULE_querySpecification)
        try:
            self.state = 2473
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,316,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TransformQuerySpecificationContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2448
                self.transformClause()
                self.state = 2449
                self.optionalFromClause()
                self.state = 2451
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,310,self._ctx)
                if la_ == 1:
                    self.state = 2450
                    self.whereClause()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.RegularQuerySpecificationContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2453
                self.selectClause()
                self.state = 2454
                self.optionalFromClause()
                self.state = 2458
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,311,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2455
                        self.lateralView() 
                    self.state = 2460
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,311,self._ctx)

                self.state = 2462
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,312,self._ctx)
                if la_ == 1:
                    self.state = 2461
                    self.whereClause()


                self.state = 2465
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,313,self._ctx)
                if la_ == 1:
                    self.state = 2464
                    self.aggregationClause()


                self.state = 2468
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,314,self._ctx)
                if la_ == 1:
                    self.state = 2467
                    self.havingClause()


                self.state = 2471
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,315,self._ctx)
                if la_ == 1:
                    self.state = 2470
                    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, 242, self.RULE_optionalFromClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2476
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,317,self._ctx)
            if la_ == 1:
                self.state = 2475
                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, 244, self.RULE_transformClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2488
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.SELECT]:
                self.state = 2478
                self.match(fugue_sqlParser.SELECT)
                self.state = 2479
                localctx.kind = self.match(fugue_sqlParser.TRANSFORM)
                self.state = 2480
                self.match(fugue_sqlParser.T__2)
                self.state = 2481
                self.namedExpressionSeq()
                self.state = 2482
                self.match(fugue_sqlParser.T__3)
                pass
            elif token in [fugue_sqlParser.MAP]:
                self.state = 2484
                localctx.kind = self.match(fugue_sqlParser.MAP)
                self.state = 2485
                self.namedExpressionSeq()
                pass
            elif token in [fugue_sqlParser.REDUCE]:
                self.state = 2486
                localctx.kind = self.match(fugue_sqlParser.REDUCE)
                self.state = 2487
                self.namedExpressionSeq()
                pass
            else:
                raise NoViableAltException(self)

            self.state = 2491
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.ROW:
                self.state = 2490
                localctx.inRowFormat = self.rowFormat()


            self.state = 2495
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.RECORDWRITER:
                self.state = 2493
                self.match(fugue_sqlParser.RECORDWRITER)
                self.state = 2494
                localctx.recordWriter = self.match(fugue_sqlParser.STRING)


            self.state = 2497
            self.match(fugue_sqlParser.USING)
            self.state = 2498
            localctx.script = self.match(fugue_sqlParser.STRING)
            self.state = 2511
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,323,self._ctx)
            if la_ == 1:
                self.state = 2499
                self.match(fugue_sqlParser.AS)
                self.state = 2509
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,322,self._ctx)
                if la_ == 1:
                    self.state = 2500
                    self.identifierSeq()
                    pass

                elif la_ == 2:
                    self.state = 2501
                    self.colTypeList()
                    pass

                elif la_ == 3:
                    self.state = 2502
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2505
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,321,self._ctx)
                    if la_ == 1:
                        self.state = 2503
                        self.identifierSeq()
                        pass

                    elif la_ == 2:
                        self.state = 2504
                        self.colTypeList()
                        pass


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




            self.state = 2514
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,324,self._ctx)
            if la_ == 1:
                self.state = 2513
                localctx.outRowFormat = self.rowFormat()


            self.state = 2518
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,325,self._ctx)
            if la_ == 1:
                self.state = 2516
                self.match(fugue_sqlParser.RECORDREADER)
                self.state = 2517
                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, 246, self.RULE_selectClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2520
            self.match(fugue_sqlParser.SELECT)
            self.state = 2524
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,326,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2521
                    localctx._hint = self.hint()
                    localctx.hints.append(localctx._hint) 
                self.state = 2526
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,326,self._ctx)

            self.state = 2528
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,327,self._ctx)
            if la_ == 1:
                self.state = 2527
                self.setQuantifier()


            self.state = 2530
            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, 248, self.RULE_setClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2532
            self.match(fugue_sqlParser.SET)
            self.state = 2533
            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, 250, self.RULE_matchedClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2535
            self.match(fugue_sqlParser.WHEN)
            self.state = 2536
            self.match(fugue_sqlParser.MATCHED)
            self.state = 2539
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AND:
                self.state = 2537
                self.match(fugue_sqlParser.AND)
                self.state = 2538
                localctx.matchedCond = self.booleanExpression(0)


            self.state = 2541
            self.match(fugue_sqlParser.THEN)
            self.state = 2542
            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, 252, self.RULE_notMatchedClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2544
            self.match(fugue_sqlParser.WHEN)
            self.state = 2545
            self.match(fugue_sqlParser.NOT)
            self.state = 2546
            self.match(fugue_sqlParser.MATCHED)
            self.state = 2549
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AND:
                self.state = 2547
                self.match(fugue_sqlParser.AND)
                self.state = 2548
                localctx.notMatchedCond = self.booleanExpression(0)


            self.state = 2551
            self.match(fugue_sqlParser.THEN)
            self.state = 2552
            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, 254, self.RULE_matchedAction)
        try:
            self.state = 2561
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,330,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2554
                self.match(fugue_sqlParser.DELETE)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2555
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2556
                self.match(fugue_sqlParser.SET)
                self.state = 2557
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2558
                self.match(fugue_sqlParser.UPDATE)
                self.state = 2559
                self.match(fugue_sqlParser.SET)
                self.state = 2560
                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, 256, self.RULE_notMatchedAction)
        self._la = 0 # Token type
        try:
            self.state = 2581
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,332,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2563
                self.match(fugue_sqlParser.INSERT)
                self.state = 2564
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2565
                self.match(fugue_sqlParser.INSERT)
                self.state = 2566
                self.match(fugue_sqlParser.T__2)
                self.state = 2567
                localctx.columns = self.multipartIdentifierList()
                self.state = 2568
                self.match(fugue_sqlParser.T__3)
                self.state = 2569
                self.match(fugue_sqlParser.VALUES)
                self.state = 2570
                self.match(fugue_sqlParser.T__2)
                self.state = 2571
                self.expression()
                self.state = 2576
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2572
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2573
                    self.expression()
                    self.state = 2578
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2579
                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, 258, self.RULE_assignmentList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2583
            self.assignment()
            self.state = 2588
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2584
                self.match(fugue_sqlParser.T__0)
                self.state = 2585
                self.assignment()
                self.state = 2590
                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, 260, self.RULE_assignment)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2591
            localctx.key = self.multipartIdentifier()
            self.state = 2592
            self.match(fugue_sqlParser.EQUAL)
            self.state = 2593
            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, 262, self.RULE_whereClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2595
            self.match(fugue_sqlParser.WHERE)
            self.state = 2596
            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, 264, self.RULE_havingClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2598
            self.match(fugue_sqlParser.HAVING)
            self.state = 2599
            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, 266, self.RULE_hint)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2601
            self.match(fugue_sqlParser.T__13)
            self.state = 2602
            localctx._hintStatement = self.hintStatement()
            localctx.hintStatements.append(localctx._hintStatement)
            self.state = 2609
            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 = 2604
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,334,self._ctx)
                    if la_ == 1:
                        self.state = 2603
                        self.match(fugue_sqlParser.T__0)


                    self.state = 2606
                    localctx._hintStatement = self.hintStatement()
                    localctx.hintStatements.append(localctx._hintStatement) 
                self.state = 2611
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,335,self._ctx)

            self.state = 2612
            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, 268, self.RULE_hintStatement)
        self._la = 0 # Token type
        try:
            self.state = 2627
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,337,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2614
                localctx.hintName = self.identifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2615
                localctx.hintName = self.identifier()
                self.state = 2616
                self.match(fugue_sqlParser.T__2)
                self.state = 2617
                localctx._primaryExpression = self.primaryExpression(0)
                localctx.parameters.append(localctx._primaryExpression)
                self.state = 2622
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2618
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2619
                    localctx._primaryExpression = self.primaryExpression(0)
                    localctx.parameters.append(localctx._primaryExpression)
                    self.state = 2624
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2625
                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, 270, self.RULE_fromClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2629
            self.match(fugue_sqlParser.FROM)
            self.state = 2630
            self.relation()
            self.state = 2635
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,338,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2631
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2632
                    self.relation() 
                self.state = 2637
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,338,self._ctx)

            self.state = 2641
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,339,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2638
                    self.lateralView() 
                self.state = 2643
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,339,self._ctx)

            self.state = 2645
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,340,self._ctx)
            if la_ == 1:
                self.state = 2644
                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, 272, self.RULE_aggregationClause)
        self._la = 0 # Token type
        try:
            self.state = 2691
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,345,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2647
                self.match(fugue_sqlParser.GROUP)
                self.state = 2648
                self.match(fugue_sqlParser.BY)
                self.state = 2649
                localctx._expression = self.expression()
                localctx.groupingExpressions.append(localctx._expression)
                self.state = 2654
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,341,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2650
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2651
                        localctx._expression = self.expression()
                        localctx.groupingExpressions.append(localctx._expression) 
                    self.state = 2656
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,341,self._ctx)

                self.state = 2674
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,343,self._ctx)
                if la_ == 1:
                    self.state = 2657
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2658
                    localctx.kind = self.match(fugue_sqlParser.ROLLUP)

                elif la_ == 2:
                    self.state = 2659
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2660
                    localctx.kind = self.match(fugue_sqlParser.CUBE)

                elif la_ == 3:
                    self.state = 2661
                    localctx.kind = self.match(fugue_sqlParser.GROUPING)
                    self.state = 2662
                    self.match(fugue_sqlParser.SETS)
                    self.state = 2663
                    self.match(fugue_sqlParser.T__2)
                    self.state = 2664
                    self.groupingSet()
                    self.state = 2669
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 2665
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2666
                        self.groupingSet()
                        self.state = 2671
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    self.state = 2672
                    self.match(fugue_sqlParser.T__3)


                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2676
                self.match(fugue_sqlParser.GROUP)
                self.state = 2677
                self.match(fugue_sqlParser.BY)
                self.state = 2678
                localctx.kind = self.match(fugue_sqlParser.GROUPING)
                self.state = 2679
                self.match(fugue_sqlParser.SETS)
                self.state = 2680
                self.match(fugue_sqlParser.T__2)
                self.state = 2681
                self.groupingSet()
                self.state = 2686
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2682
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2683
                    self.groupingSet()
                    self.state = 2688
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2689
                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, 274, self.RULE_groupingSet)
        self._la = 0 # Token type
        try:
            self.state = 2706
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,348,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2693
                self.match(fugue_sqlParser.T__2)
                self.state = 2702
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,347,self._ctx)
                if la_ == 1:
                    self.state = 2694
                    self.expression()
                    self.state = 2699
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 2695
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2696
                        self.expression()
                        self.state = 2701
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



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

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2705
                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, 276, self.RULE_pivotClause)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2708
            self.match(fugue_sqlParser.PIVOT)
            self.state = 2709
            self.match(fugue_sqlParser.T__2)
            self.state = 2710
            localctx.aggregates = self.namedExpressionSeq()
            self.state = 2711
            self.match(fugue_sqlParser.FOR)
            self.state = 2712
            self.pivotColumn()
            self.state = 2713
            self.match(fugue_sqlParser.IN)
            self.state = 2714
            self.match(fugue_sqlParser.T__2)
            self.state = 2715
            localctx._pivotValue = self.pivotValue()
            localctx.pivotValues.append(localctx._pivotValue)
            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
                localctx._pivotValue = self.pivotValue()
                localctx.pivotValues.append(localctx._pivotValue)
                self.state = 2722
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2723
            self.match(fugue_sqlParser.T__3)
            self.state = 2724
            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, 278, self.RULE_pivotColumn)
        self._la = 0 # Token type
        try:
            self.state = 2738
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,351,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2726
                localctx._identifier = self.identifier()
                localctx.identifiers.append(localctx._identifier)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 2727
                self.match(fugue_sqlParser.T__2)
                self.state = 2728
                localctx._identifier = self.identifier()
                localctx.identifiers.append(localctx._identifier)
                self.state = 2733
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2729
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2730
                    localctx._identifier = self.identifier()
                    localctx.identifiers.append(localctx._identifier)
                    self.state = 2735
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 2736
                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, 280, self.RULE_pivotValue)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2740
            self.expression()
            self.state = 2745
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,353,self._ctx)
            if la_ == 1:
                self.state = 2742
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,352,self._ctx)
                if la_ == 1:
                    self.state = 2741
                    self.match(fugue_sqlParser.AS)


                self.state = 2744
                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, 282, self.RULE_lateralView)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2747
            self.match(fugue_sqlParser.LATERAL)
            self.state = 2748
            self.match(fugue_sqlParser.VIEW)
            self.state = 2750
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,354,self._ctx)
            if la_ == 1:
                self.state = 2749
                self.match(fugue_sqlParser.OUTER)


            self.state = 2752
            self.qualifiedName()
            self.state = 2753
            self.match(fugue_sqlParser.T__2)
            self.state = 2762
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,356,self._ctx)
            if la_ == 1:
                self.state = 2754
                self.expression()
                self.state = 2759
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2755
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2756
                    self.expression()
                    self.state = 2761
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)



            self.state = 2764
            self.match(fugue_sqlParser.T__3)
            self.state = 2765
            localctx.tblName = self.identifier()
            self.state = 2777
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,359,self._ctx)
            if la_ == 1:
                self.state = 2767
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,357,self._ctx)
                if la_ == 1:
                    self.state = 2766
                    self.match(fugue_sqlParser.AS)


                self.state = 2769
                localctx._identifier = self.identifier()
                localctx.colName.append(localctx._identifier)
                self.state = 2774
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,358,self._ctx)
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt==1:
                        self.state = 2770
                        self.match(fugue_sqlParser.T__0)
                        self.state = 2771
                        localctx._identifier = self.identifier()
                        localctx.colName.append(localctx._identifier) 
                    self.state = 2776
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,358,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, 284, self.RULE_setQuantifier)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2779
            _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, 286, self.RULE_relation)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2781
            self.relationPrimary()
            self.state = 2785
            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 = 2782
                    self.joinRelation() 
                self.state = 2787
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,360,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, 288, self.RULE_joinRelation)
        try:
            self.state = 2799
            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 = 2788
                self.joinType()
                self.state = 2789
                self.match(fugue_sqlParser.JOIN)
                self.state = 2790
                localctx.right = self.relationPrimary()
                self.state = 2792
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,361,self._ctx)
                if la_ == 1:
                    self.state = 2791
                    self.joinCriteria()


                pass
            elif token in [fugue_sqlParser.NATURAL]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2794
                self.match(fugue_sqlParser.NATURAL)
                self.state = 2795
                self.joinType()
                self.state = 2796
                self.match(fugue_sqlParser.JOIN)
                self.state = 2797
                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, 290, self.RULE_joinType)
        self._la = 0 # Token type
        try:
            self.state = 2825
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,369,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 2802
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.INNER:
                    self.state = 2801
                    self.match(fugue_sqlParser.INNER)


                pass

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

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 2805
                self.match(fugue_sqlParser.LEFT)
                self.state = 2807
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2806
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 2810
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LEFT:
                    self.state = 2809
                    self.match(fugue_sqlParser.LEFT)


                self.state = 2812
                self.match(fugue_sqlParser.SEMI)
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 2813
                self.match(fugue_sqlParser.RIGHT)
                self.state = 2815
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2814
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 2817
                self.match(fugue_sqlParser.FULL)
                self.state = 2819
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.OUTER:
                    self.state = 2818
                    self.match(fugue_sqlParser.OUTER)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 2822
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.LEFT:
                    self.state = 2821
                    self.match(fugue_sqlParser.LEFT)


                self.state = 2824
                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, 292, self.RULE_joinCriteria)
        try:
            self.state = 2831
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.ON]:
                self.enterOuterAlt(localctx, 1)
                self.state = 2827
                self.match(fugue_sqlParser.ON)
                self.state = 2828
                self.booleanExpression(0)
                pass
            elif token in [fugue_sqlParser.USING]:
                self.enterOuterAlt(localctx, 2)
                self.state = 2829
                self.match(fugue_sqlParser.USING)
                self.state = 2830
                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, 294, self.RULE_sample)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2833
            self.match(fugue_sqlParser.TABLESAMPLE)
            self.state = 2834
            self.match(fugue_sqlParser.T__2)
            self.state = 2836
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,371,self._ctx)
            if la_ == 1:
                self.state = 2835
                self.sampleMethod()


            self.state = 2838
            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, 296, self.RULE_sampleMethod)
        self._la = 0 # Token type
        try:
            self.state = 2864
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,375,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.SampleByPercentileContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2841
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 2840
                    localctx.negativeSign = self.match(fugue_sqlParser.MINUS)


                self.state = 2843
                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 = 2844
                self.match(fugue_sqlParser.PERCENTLIT)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.SampleByRowsContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2845
                self.expression()
                self.state = 2846
                self.match(fugue_sqlParser.ROWS)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.SampleByBucketContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2848
                localctx.sampleType = self.match(fugue_sqlParser.BUCKET)
                self.state = 2849
                localctx.numerator = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 2850
                self.match(fugue_sqlParser.OUT)
                self.state = 2851
                self.match(fugue_sqlParser.OF)
                self.state = 2852
                localctx.denominator = self.match(fugue_sqlParser.INTEGER_VALUE)
                self.state = 2861
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ON:
                    self.state = 2853
                    self.match(fugue_sqlParser.ON)
                    self.state = 2859
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,373,self._ctx)
                    if la_ == 1:
                        self.state = 2854
                        self.identifier()
                        pass

                    elif la_ == 2:
                        self.state = 2855
                        self.qualifiedName()
                        self.state = 2856
                        self.match(fugue_sqlParser.T__2)
                        self.state = 2857
                        self.match(fugue_sqlParser.T__3)
                        pass




                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.SampleByBytesContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2863
                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, 298, self.RULE_identifierList)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2866
            self.match(fugue_sqlParser.T__2)
            self.state = 2867
            self.identifierSeq()
            self.state = 2868
            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, 300, self.RULE_identifierSeq)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2870
            localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
            localctx.ident.append(localctx._errorCapturingIdentifier)
            self.state = 2875
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,376,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2871
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2872
                    localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
                    localctx.ident.append(localctx._errorCapturingIdentifier) 
                self.state = 2877
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,376,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, 302, self.RULE_orderedIdentifierList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2878
            self.match(fugue_sqlParser.T__2)
            self.state = 2879
            self.orderedIdentifier()
            self.state = 2884
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2880
                self.match(fugue_sqlParser.T__0)
                self.state = 2881
                self.orderedIdentifier()
                self.state = 2886
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2887
            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, 304, self.RULE_orderedIdentifier)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2889
            localctx.ident = self.errorCapturingIdentifier()
            self.state = 2891
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.ASC or _la==fugue_sqlParser.DESC:
                self.state = 2890
                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, 306, self.RULE_identifierCommentList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2893
            self.match(fugue_sqlParser.T__2)
            self.state = 2894
            self.identifierComment()
            self.state = 2899
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 2895
                self.match(fugue_sqlParser.T__0)
                self.state = 2896
                self.identifierComment()
                self.state = 2901
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 2902
            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, 308, self.RULE_identifierComment)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2904
            self.identifier()
            self.state = 2906
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 2905
                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 fugueDataFrameMember(self):
            return self.getTypedRuleContext(fugue_sqlParser.FugueDataFrameMemberContext,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, 310, self.RULE_relationPrimary)
        try:
            self.state = 2935
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,385,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.TableNameContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2908
                self.multipartIdentifier()
                self.state = 2910
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,381,self._ctx)
                if la_ == 1:
                    self.state = 2909
                    self.fugueDataFrameMember()


                self.state = 2913
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,382,self._ctx)
                if la_ == 1:
                    self.state = 2912
                    self.sample()


                self.state = 2915
                self.tableAlias()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.AliasedQueryContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2917
                self.match(fugue_sqlParser.T__2)
                self.state = 2918
                self.query()
                self.state = 2919
                self.match(fugue_sqlParser.T__3)
                self.state = 2921
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,383,self._ctx)
                if la_ == 1:
                    self.state = 2920
                    self.sample()


                self.state = 2923
                self.tableAlias()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.AliasedRelationContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 2925
                self.match(fugue_sqlParser.T__2)
                self.state = 2926
                self.relation()
                self.state = 2927
                self.match(fugue_sqlParser.T__3)
                self.state = 2929
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,384,self._ctx)
                if la_ == 1:
                    self.state = 2928
                    self.sample()


                self.state = 2931
                self.tableAlias()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.InlineTableDefault2Context(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 2933
                self.inlineTable()
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.TableValuedFunctionContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 2934
                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, 312, self.RULE_inlineTable)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2937
            self.match(fugue_sqlParser.VALUES)
            self.state = 2938
            self.expression()
            self.state = 2943
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,386,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 2939
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2940
                    self.expression() 
                self.state = 2945
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,386,self._ctx)

            self.state = 2946
            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, 314, self.RULE_functionTable)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2948
            localctx.funcName = self.errorCapturingIdentifier()
            self.state = 2949
            self.match(fugue_sqlParser.T__2)
            self.state = 2958
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,388,self._ctx)
            if la_ == 1:
                self.state = 2950
                self.expression()
                self.state = 2955
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 2951
                    self.match(fugue_sqlParser.T__0)
                    self.state = 2952
                    self.expression()
                    self.state = 2957
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)



            self.state = 2960
            self.match(fugue_sqlParser.T__3)
            self.state = 2961
            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, 316, self.RULE_tableAlias)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 2970
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,391,self._ctx)
            if la_ == 1:
                self.state = 2964
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,389,self._ctx)
                if la_ == 1:
                    self.state = 2963
                    self.match(fugue_sqlParser.AS)


                self.state = 2966
                self.strictIdentifier()
                self.state = 2968
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,390,self._ctx)
                if la_ == 1:
                    self.state = 2967
                    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, 318, self.RULE_rowFormat)
        try:
            self.state = 3021
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,399,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.RowFormatSerdeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 2972
                self.match(fugue_sqlParser.ROW)
                self.state = 2973
                self.match(fugue_sqlParser.FORMAT)
                self.state = 2974
                self.match(fugue_sqlParser.SERDE)
                self.state = 2975
                localctx.name = self.match(fugue_sqlParser.STRING)
                self.state = 2979
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,392,self._ctx)
                if la_ == 1:
                    self.state = 2976
                    self.match(fugue_sqlParser.WITH)
                    self.state = 2977
                    self.match(fugue_sqlParser.SERDEPROPERTIES)
                    self.state = 2978
                    localctx.props = self.tablePropertyList()


                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.RowFormatDelimitedContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 2981
                self.match(fugue_sqlParser.ROW)
                self.state = 2982
                self.match(fugue_sqlParser.FORMAT)
                self.state = 2983
                self.match(fugue_sqlParser.DELIMITED)
                self.state = 2993
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,394,self._ctx)
                if la_ == 1:
                    self.state = 2984
                    self.match(fugue_sqlParser.FIELDS)
                    self.state = 2985
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2986
                    self.match(fugue_sqlParser.BY)
                    self.state = 2987
                    localctx.fieldsTerminatedBy = self.match(fugue_sqlParser.STRING)
                    self.state = 2991
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,393,self._ctx)
                    if la_ == 1:
                        self.state = 2988
                        self.match(fugue_sqlParser.ESCAPED)
                        self.state = 2989
                        self.match(fugue_sqlParser.BY)
                        self.state = 2990
                        localctx.escapedBy = self.match(fugue_sqlParser.STRING)




                self.state = 3000
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,395,self._ctx)
                if la_ == 1:
                    self.state = 2995
                    self.match(fugue_sqlParser.COLLECTION)
                    self.state = 2996
                    self.match(fugue_sqlParser.ITEMS)
                    self.state = 2997
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 2998
                    self.match(fugue_sqlParser.BY)
                    self.state = 2999
                    localctx.collectionItemsTerminatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 3007
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,396,self._ctx)
                if la_ == 1:
                    self.state = 3002
                    self.match(fugue_sqlParser.MAP)
                    self.state = 3003
                    self.match(fugue_sqlParser.KEYS)
                    self.state = 3004
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 3005
                    self.match(fugue_sqlParser.BY)
                    self.state = 3006
                    localctx.keysTerminatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 3013
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,397,self._ctx)
                if la_ == 1:
                    self.state = 3009
                    self.match(fugue_sqlParser.LINES)
                    self.state = 3010
                    self.match(fugue_sqlParser.TERMINATED)
                    self.state = 3011
                    self.match(fugue_sqlParser.BY)
                    self.state = 3012
                    localctx.linesSeparatedBy = self.match(fugue_sqlParser.STRING)


                self.state = 3019
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,398,self._ctx)
                if la_ == 1:
                    self.state = 3015
                    self.match(fugue_sqlParser.NULL)
                    self.state = 3016
                    self.match(fugue_sqlParser.DEFINED)
                    self.state = 3017
                    self.match(fugue_sqlParser.AS)
                    self.state = 3018
                    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, 320, self.RULE_multipartIdentifierList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3023
            self.multipartIdentifier()
            self.state = 3028
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3024
                self.match(fugue_sqlParser.T__0)
                self.state = 3025
                self.multipartIdentifier()
                self.state = 3030
                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, 322, self.RULE_multipartIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3031
            localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
            localctx.parts.append(localctx._errorCapturingIdentifier)
            self.state = 3036
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,401,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3032
                    self.match(fugue_sqlParser.T__6)
                    self.state = 3033
                    localctx._errorCapturingIdentifier = self.errorCapturingIdentifier()
                    localctx.parts.append(localctx._errorCapturingIdentifier) 
                self.state = 3038
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,401,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, 324, self.RULE_tableIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3042
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,402,self._ctx)
            if la_ == 1:
                self.state = 3039
                localctx.db = self.errorCapturingIdentifier()
                self.state = 3040
                self.match(fugue_sqlParser.T__6)


            self.state = 3044
            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, 326, self.RULE_functionIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3049
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,403,self._ctx)
            if la_ == 1:
                self.state = 3046
                localctx.db = self.errorCapturingIdentifier()
                self.state = 3047
                self.match(fugue_sqlParser.T__6)


            self.state = 3051
            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, 328, self.RULE_namedExpression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3053
            self.expression()
            self.state = 3061
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,406,self._ctx)
            if la_ == 1:
                self.state = 3055
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,404,self._ctx)
                if la_ == 1:
                    self.state = 3054
                    self.match(fugue_sqlParser.AS)


                self.state = 3059
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,405,self._ctx)
                if la_ == 1:
                    self.state = 3057
                    localctx.name = self.errorCapturingIdentifier()
                    pass

                elif la_ == 2:
                    self.state = 3058
                    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, 330, self.RULE_namedExpressionSeq)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3063
            self.namedExpression()
            self.state = 3068
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,407,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3064
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3065
                    self.namedExpression() 
                self.state = 3070
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,407,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, 332, self.RULE_transformList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3071
            self.match(fugue_sqlParser.T__2)
            self.state = 3072
            localctx._transform = self.transform()
            localctx.transforms.append(localctx._transform)
            self.state = 3077
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3073
                self.match(fugue_sqlParser.T__0)
                self.state = 3074
                localctx._transform = self.transform()
                localctx.transforms.append(localctx._transform)
                self.state = 3079
                self._errHandler.sync(self)
                _la = self._input.LA(1)

            self.state = 3080
            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, 334, self.RULE_transform)
        self._la = 0 # Token type
        try:
            self.state = 3095
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,410,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.IdentityTransformContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3082
                self.qualifiedName()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ApplyTransformContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3083
                localctx.transformName = self.identifier()
                self.state = 3084
                self.match(fugue_sqlParser.T__2)
                self.state = 3085
                localctx._transformArgument = self.transformArgument()
                localctx.argument.append(localctx._transformArgument)
                self.state = 3090
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 3086
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3087
                    localctx._transformArgument = self.transformArgument()
                    localctx.argument.append(localctx._transformArgument)
                    self.state = 3092
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

                self.state = 3093
                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, 336, self.RULE_transformArgument)
        try:
            self.state = 3099
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,411,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3097
                self.qualifiedName()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3098
                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, 338, self.RULE_expression)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3101
            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 = 340
        self.enterRecursionRule(localctx, 340, self.RULE_booleanExpression, _p)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3115
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,413,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.LogicalNotContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 3104
                self.match(fugue_sqlParser.NOT)
                self.state = 3105
                self.booleanExpression(5)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ExistsContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3106
                self.match(fugue_sqlParser.EXISTS)
                self.state = 3107
                self.match(fugue_sqlParser.T__2)
                self.state = 3108
                self.query()
                self.state = 3109
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.PredicatedContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3111
                self.valueExpression(0)
                self.state = 3113
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,412,self._ctx)
                if la_ == 1:
                    self.state = 3112
                    self.predicate()


                pass


            self._ctx.stop = self._input.LT(-1)
            self.state = 3125
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,415,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 = 3123
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,414,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 = 3117
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 3118
                        localctx.operator = self.match(fugue_sqlParser.AND)
                        self.state = 3119
                        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 = 3120
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 3121
                        localctx.operator = self.match(fugue_sqlParser.OR)
                        self.state = 3122
                        localctx.right = self.booleanExpression(2)
                        pass

             
                self.state = 3127
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,415,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, 342, self.RULE_predicate)
        self._la = 0 # Token type
        try:
            self.state = 3210
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,429,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3129
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3128
                    self.match(fugue_sqlParser.NOT)


                self.state = 3131
                localctx.kind = self.match(fugue_sqlParser.BETWEEN)
                self.state = 3132
                localctx.lower = self.valueExpression(0)
                self.state = 3133
                self.match(fugue_sqlParser.AND)
                self.state = 3134
                localctx.upper = self.valueExpression(0)
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3137
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3136
                    self.match(fugue_sqlParser.NOT)


                self.state = 3139
                localctx.kind = self.match(fugue_sqlParser.IN)
                self.state = 3140
                self.match(fugue_sqlParser.T__2)
                self.state = 3141
                self.expression()
                self.state = 3146
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while _la==fugue_sqlParser.T__0:
                    self.state = 3142
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3143
                    self.expression()
                    self.state = 3148
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)

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

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3152
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3151
                    self.match(fugue_sqlParser.NOT)


                self.state = 3154
                localctx.kind = self.match(fugue_sqlParser.IN)
                self.state = 3155
                self.match(fugue_sqlParser.T__2)
                self.state = 3156
                self.query()
                self.state = 3157
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3160
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3159
                    self.match(fugue_sqlParser.NOT)


                self.state = 3162
                localctx.kind = self.match(fugue_sqlParser.RLIKE)
                self.state = 3163
                localctx.pattern = self.valueExpression(0)
                pass

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 3165
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3164
                    self.match(fugue_sqlParser.NOT)


                self.state = 3167
                localctx.kind = self.match(fugue_sqlParser.LIKE)
                self.state = 3168
                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 = 3182
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,423,self._ctx)
                if la_ == 1:
                    self.state = 3169
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3170
                    self.match(fugue_sqlParser.T__3)
                    pass

                elif la_ == 2:
                    self.state = 3171
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3172
                    self.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
                        self.expression()
                        self.state = 3179
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

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


                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 3185
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3184
                    self.match(fugue_sqlParser.NOT)


                self.state = 3187
                localctx.kind = self.match(fugue_sqlParser.LIKE)
                self.state = 3188
                localctx.pattern = self.valueExpression(0)
                self.state = 3191
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,425,self._ctx)
                if la_ == 1:
                    self.state = 3189
                    self.match(fugue_sqlParser.ESCAPE)
                    self.state = 3190
                    localctx.escapeChar = self.match(fugue_sqlParser.STRING)


                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 3193
                self.match(fugue_sqlParser.IS)
                self.state = 3195
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3194
                    self.match(fugue_sqlParser.NOT)


                self.state = 3197
                localctx.kind = self.match(fugue_sqlParser.NULL)
                pass

            elif la_ == 8:
                self.enterOuterAlt(localctx, 8)
                self.state = 3198
                self.match(fugue_sqlParser.IS)
                self.state = 3200
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3199
                    self.match(fugue_sqlParser.NOT)


                self.state = 3202
                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 = 3203
                self.match(fugue_sqlParser.IS)
                self.state = 3205
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.NOT:
                    self.state = 3204
                    self.match(fugue_sqlParser.NOT)


                self.state = 3207
                localctx.kind = self.match(fugue_sqlParser.DISTINCT)
                self.state = 3208
                self.match(fugue_sqlParser.FROM)
                self.state = 3209
                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 = 344
        self.enterRecursionRule(localctx, 344, self.RULE_valueExpression, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3216
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,430,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ValueExpressionDefaultContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 3213
                self.primaryExpression(0)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ArithmeticUnaryContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3214
                localctx.operator = self._input.LT(1)
                _la = self._input.LA(1)
                if not(((((_la - 313)) & ~0x3f) == 0 and ((1 << (_la - 313)) & ((1 << (fugue_sqlParser.PLUS - 313)) | (1 << (fugue_sqlParser.MINUS - 313)) | (1 << (fugue_sqlParser.TILDE - 313)))) != 0)):
                    localctx.operator = self._errHandler.recoverInline(self)
                else:
                    self._errHandler.reportMatch(self)
                    self.consume()
                self.state = 3215
                self.valueExpression(7)
                pass


            self._ctx.stop = self._input.LT(-1)
            self.state = 3239
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,432,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 = 3237
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,431,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 = 3218
                        if not self.precpred(self._ctx, 6):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 6)")
                        self.state = 3219
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(((((_la - 315)) & ~0x3f) == 0 and ((1 << (_la - 315)) & ((1 << (fugue_sqlParser.ASTERISK - 315)) | (1 << (fugue_sqlParser.SLASH - 315)) | (1 << (fugue_sqlParser.PERCENT - 315)) | (1 << (fugue_sqlParser.DIV - 315)))) != 0)):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3220
                        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 = 3221
                        if not self.precpred(self._ctx, 5):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 5)")
                        self.state = 3222
                        localctx.operator = self._input.LT(1)
                        _la = self._input.LA(1)
                        if not(((((_la - 313)) & ~0x3f) == 0 and ((1 << (_la - 313)) & ((1 << (fugue_sqlParser.PLUS - 313)) | (1 << (fugue_sqlParser.MINUS - 313)) | (1 << (fugue_sqlParser.CONCAT_PIPE - 313)))) != 0)):
                            localctx.operator = self._errHandler.recoverInline(self)
                        else:
                            self._errHandler.reportMatch(self)
                            self.consume()
                        self.state = 3223
                        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 = 3224
                        if not self.precpred(self._ctx, 4):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 4)")
                        self.state = 3225
                        localctx.operator = self.match(fugue_sqlParser.AMPERSAND)
                        self.state = 3226
                        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 = 3227
                        if not self.precpred(self._ctx, 3):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 3)")
                        self.state = 3228
                        localctx.operator = self.match(fugue_sqlParser.HAT)
                        self.state = 3229
                        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 = 3230
                        if not self.precpred(self._ctx, 2):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 2)")
                        self.state = 3231
                        localctx.operator = self.match(fugue_sqlParser.PIPE)
                        self.state = 3232
                        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 = 3233
                        if not self.precpred(self._ctx, 1):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 1)")
                        self.state = 3234
                        self.comparisonOperator()
                        self.state = 3235
                        localctx.right = self.valueExpression(2)
                        pass

             
                self.state = 3241
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,432,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 = 346
        self.enterRecursionRule(localctx, 346, self.RULE_primaryExpression, _p)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3426
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,452,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.CurrentDatetimeContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx

                self.state = 3243
                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 = 3244
                self.match(fugue_sqlParser.CASE)
                self.state = 3246 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3245
                    self.whenClause()
                    self.state = 3248 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.WHEN):
                        break

                self.state = 3252
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ELSE:
                    self.state = 3250
                    self.match(fugue_sqlParser.ELSE)
                    self.state = 3251
                    localctx.elseExpression = self.expression()


                self.state = 3254
                self.match(fugue_sqlParser.END)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.SimpleCaseContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3256
                self.match(fugue_sqlParser.CASE)
                self.state = 3257
                localctx.value = self.expression()
                self.state = 3259 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3258
                    self.whenClause()
                    self.state = 3261 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.WHEN):
                        break

                self.state = 3265
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.ELSE:
                    self.state = 3263
                    self.match(fugue_sqlParser.ELSE)
                    self.state = 3264
                    localctx.elseExpression = self.expression()


                self.state = 3267
                self.match(fugue_sqlParser.END)
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.CastContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3269
                self.match(fugue_sqlParser.CAST)
                self.state = 3270
                self.match(fugue_sqlParser.T__2)
                self.state = 3271
                self.expression()
                self.state = 3272
                self.match(fugue_sqlParser.AS)
                self.state = 3273
                self.dataType()
                self.state = 3274
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.StructContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3276
                self.match(fugue_sqlParser.STRUCT)
                self.state = 3277
                self.match(fugue_sqlParser.T__2)
                self.state = 3286
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,438,self._ctx)
                if la_ == 1:
                    self.state = 3278
                    localctx._namedExpression = self.namedExpression()
                    localctx.argument.append(localctx._namedExpression)
                    self.state = 3283
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3279
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3280
                        localctx._namedExpression = self.namedExpression()
                        localctx.argument.append(localctx._namedExpression)
                        self.state = 3285
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



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

            elif la_ == 6:
                localctx = fugue_sqlParser.FirstContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3289
                self.match(fugue_sqlParser.FIRST)
                self.state = 3290
                self.match(fugue_sqlParser.T__2)
                self.state = 3291
                self.expression()
                self.state = 3294
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IGNORE:
                    self.state = 3292
                    self.match(fugue_sqlParser.IGNORE)
                    self.state = 3293
                    self.match(fugue_sqlParser.NULLS)


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

            elif la_ == 7:
                localctx = fugue_sqlParser.LastContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3298
                self.match(fugue_sqlParser.LAST)
                self.state = 3299
                self.match(fugue_sqlParser.T__2)
                self.state = 3300
                self.expression()
                self.state = 3303
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.IGNORE:
                    self.state = 3301
                    self.match(fugue_sqlParser.IGNORE)
                    self.state = 3302
                    self.match(fugue_sqlParser.NULLS)


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

            elif la_ == 8:
                localctx = fugue_sqlParser.PositionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3307
                self.match(fugue_sqlParser.POSITION)
                self.state = 3308
                self.match(fugue_sqlParser.T__2)
                self.state = 3309
                localctx.substr = self.valueExpression(0)
                self.state = 3310
                self.match(fugue_sqlParser.IN)
                self.state = 3311
                localctx.istr = self.valueExpression(0)
                self.state = 3312
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.ConstantDefaultContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3314
                self.constant()
                pass

            elif la_ == 10:
                localctx = fugue_sqlParser.StarContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3315
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 11:
                localctx = fugue_sqlParser.StarContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3316
                self.qualifiedName()
                self.state = 3317
                self.match(fugue_sqlParser.T__6)
                self.state = 3318
                self.match(fugue_sqlParser.ASTERISK)
                pass

            elif la_ == 12:
                localctx = fugue_sqlParser.RowConstructorContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3320
                self.match(fugue_sqlParser.T__2)
                self.state = 3321
                self.namedExpression()
                self.state = 3324 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3322
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3323
                    self.namedExpression()
                    self.state = 3326 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.T__0):
                        break

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

            elif la_ == 13:
                localctx = fugue_sqlParser.SubqueryExpressionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3330
                self.match(fugue_sqlParser.T__2)
                self.state = 3331
                self.query()
                self.state = 3332
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 14:
                localctx = fugue_sqlParser.FunctionCallContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3334
                self.functionName()
                self.state = 3335
                self.match(fugue_sqlParser.T__2)
                self.state = 3347
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,444,self._ctx)
                if la_ == 1:
                    self.state = 3337
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,442,self._ctx)
                    if la_ == 1:
                        self.state = 3336
                        self.setQuantifier()


                    self.state = 3339
                    localctx._expression = self.expression()
                    localctx.argument.append(localctx._expression)
                    self.state = 3344
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3340
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3341
                        localctx._expression = self.expression()
                        localctx.argument.append(localctx._expression)
                        self.state = 3346
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)



                self.state = 3349
                self.match(fugue_sqlParser.T__3)
                self.state = 3356
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,445,self._ctx)
                if la_ == 1:
                    self.state = 3350
                    self.match(fugue_sqlParser.FILTER)
                    self.state = 3351
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3352
                    self.match(fugue_sqlParser.WHERE)
                    self.state = 3353
                    localctx.where = self.booleanExpression(0)
                    self.state = 3354
                    self.match(fugue_sqlParser.T__3)


                self.state = 3360
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,446,self._ctx)
                if la_ == 1:
                    self.state = 3358
                    self.match(fugue_sqlParser.OVER)
                    self.state = 3359
                    self.windowSpec()


                pass

            elif la_ == 15:
                localctx = fugue_sqlParser.LambdaContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3362
                self.identifier()
                self.state = 3363
                self.match(fugue_sqlParser.T__15)
                self.state = 3364
                self.expression()
                pass

            elif la_ == 16:
                localctx = fugue_sqlParser.LambdaContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3366
                self.match(fugue_sqlParser.T__2)
                self.state = 3367
                self.identifier()
                self.state = 3370 
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                while True:
                    self.state = 3368
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3369
                    self.identifier()
                    self.state = 3372 
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if not (_la==fugue_sqlParser.T__0):
                        break

                self.state = 3374
                self.match(fugue_sqlParser.T__3)
                self.state = 3375
                self.match(fugue_sqlParser.T__15)
                self.state = 3376
                self.expression()
                pass

            elif la_ == 17:
                localctx = fugue_sqlParser.ColumnReferenceContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3378
                self.identifier()
                pass

            elif la_ == 18:
                localctx = fugue_sqlParser.ParenthesizedExpressionContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3379
                self.match(fugue_sqlParser.T__2)
                self.state = 3380
                self.expression()
                self.state = 3381
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 19:
                localctx = fugue_sqlParser.ExtractContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3383
                self.match(fugue_sqlParser.EXTRACT)
                self.state = 3384
                self.match(fugue_sqlParser.T__2)
                self.state = 3385
                localctx.field = self.identifier()
                self.state = 3386
                self.match(fugue_sqlParser.FROM)
                self.state = 3387
                localctx.source = self.valueExpression(0)
                self.state = 3388
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 20:
                localctx = fugue_sqlParser.SubstringContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3390
                _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 = 3391
                self.match(fugue_sqlParser.T__2)
                self.state = 3392
                localctx.istr = self.valueExpression(0)
                self.state = 3393
                _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 = 3394
                localctx.pos = self.valueExpression(0)
                self.state = 3397
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.T__0 or _la==fugue_sqlParser.FOR:
                    self.state = 3395
                    _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 = 3396
                    localctx.ilen = self.valueExpression(0)


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

            elif la_ == 21:
                localctx = fugue_sqlParser.TrimContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3401
                self.match(fugue_sqlParser.TRIM)
                self.state = 3402
                self.match(fugue_sqlParser.T__2)
                self.state = 3404
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,449,self._ctx)
                if la_ == 1:
                    self.state = 3403
                    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 = 3407
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,450,self._ctx)
                if la_ == 1:
                    self.state = 3406
                    localctx.trimStr = self.valueExpression(0)


                self.state = 3409
                self.match(fugue_sqlParser.FROM)
                self.state = 3410
                localctx.srcStr = self.valueExpression(0)
                self.state = 3411
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 22:
                localctx = fugue_sqlParser.OverlayContext(self, localctx)
                self._ctx = localctx
                _prevctx = localctx
                self.state = 3413
                self.match(fugue_sqlParser.OVERLAY)
                self.state = 3414
                self.match(fugue_sqlParser.T__2)
                self.state = 3415
                localctx.iinput = self.valueExpression(0)
                self.state = 3416
                self.match(fugue_sqlParser.PLACING)
                self.state = 3417
                localctx.replace = self.valueExpression(0)
                self.state = 3418
                self.match(fugue_sqlParser.FROM)
                self.state = 3419
                localctx.position = self.valueExpression(0)
                self.state = 3422
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.FOR:
                    self.state = 3420
                    self.match(fugue_sqlParser.FOR)
                    self.state = 3421
                    localctx.length = self.valueExpression(0)


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


            self._ctx.stop = self._input.LT(-1)
            self.state = 3438
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,454,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 = 3436
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,453,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 = 3428
                        if not self.precpred(self._ctx, 8):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 8)")
                        self.state = 3429
                        self.match(fugue_sqlParser.T__4)
                        self.state = 3430
                        localctx.index = self.valueExpression(0)
                        self.state = 3431
                        self.match(fugue_sqlParser.T__5)
                        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 = 3433
                        if not self.precpred(self._ctx, 6):
                            from antlr4.error.Errors import FailedPredicateException
                            raise FailedPredicateException(self, "self.precpred(self._ctx, 6)")
                        self.state = 3434
                        self.match(fugue_sqlParser.T__6)
                        self.state = 3435
                        localctx.fieldName = self.identifier()
                        pass

             
                self.state = 3440
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,454,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, 348, self.RULE_constant)
        try:
            self.state = 3453
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,456,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.NullLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3441
                self.match(fugue_sqlParser.NULL)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.IntervalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3442
                self.interval()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.TypeConstructorContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3443
                self.identifier()
                self.state = 3444
                self.match(fugue_sqlParser.STRING)
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.NumericLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3446
                self.number()
                pass

            elif la_ == 5:
                localctx = fugue_sqlParser.BooleanLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 3447
                self.booleanValue()
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.StringLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 3449 
                self._errHandler.sync(self)
                _alt = 1
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt == 1:
                        self.state = 3448
                        self.match(fugue_sqlParser.STRING)

                    else:
                        raise NoViableAltException(self)
                    self.state = 3451 
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,455,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, 350, self.RULE_comparisonOperator)
        try:
            self.state = 3463
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.EQUAL, fugue_sqlParser.DOUBLEEQUAL]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3455
                self.comparisonEqualOperator()
                pass
            elif token in [fugue_sqlParser.NEQ]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3456
                self.match(fugue_sqlParser.NEQ)
                pass
            elif token in [fugue_sqlParser.NEQJ]:
                self.enterOuterAlt(localctx, 3)
                self.state = 3457
                self.match(fugue_sqlParser.NEQJ)
                pass
            elif token in [fugue_sqlParser.LT]:
                self.enterOuterAlt(localctx, 4)
                self.state = 3458
                self.match(fugue_sqlParser.LT)
                pass
            elif token in [fugue_sqlParser.LTE]:
                self.enterOuterAlt(localctx, 5)
                self.state = 3459
                self.match(fugue_sqlParser.LTE)
                pass
            elif token in [fugue_sqlParser.GT]:
                self.enterOuterAlt(localctx, 6)
                self.state = 3460
                self.match(fugue_sqlParser.GT)
                pass
            elif token in [fugue_sqlParser.GTE]:
                self.enterOuterAlt(localctx, 7)
                self.state = 3461
                self.match(fugue_sqlParser.GTE)
                pass
            elif token in [fugue_sqlParser.NSEQ]:
                self.enterOuterAlt(localctx, 8)
                self.state = 3462
                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, 352, self.RULE_comparisonEqualOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3465
            _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, 354, self.RULE_arithmeticOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3467
            _la = self._input.LA(1)
            if not(((((_la - 313)) & ~0x3f) == 0 and ((1 << (_la - 313)) & ((1 << (fugue_sqlParser.PLUS - 313)) | (1 << (fugue_sqlParser.MINUS - 313)) | (1 << (fugue_sqlParser.ASTERISK - 313)) | (1 << (fugue_sqlParser.SLASH - 313)) | (1 << (fugue_sqlParser.PERCENT - 313)) | (1 << (fugue_sqlParser.DIV - 313)) | (1 << (fugue_sqlParser.TILDE - 313)) | (1 << (fugue_sqlParser.AMPERSAND - 313)) | (1 << (fugue_sqlParser.PIPE - 313)) | (1 << (fugue_sqlParser.CONCAT_PIPE - 313)) | (1 << (fugue_sqlParser.HAT - 313)))) != 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, 356, self.RULE_predicateOperator)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3469
            _la = self._input.LA(1)
            if not(_la==fugue_sqlParser.AND or ((((_la - 153)) & ~0x3f) == 0 and ((1 << (_la - 153)) & ((1 << (fugue_sqlParser.IN - 153)) | (1 << (fugue_sqlParser.NOT - 153)) | (1 << (fugue_sqlParser.OR - 153)))) != 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, 358, self.RULE_booleanValue)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3471
            _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, 360, self.RULE_interval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3473
            self.match(fugue_sqlParser.INTERVAL)
            self.state = 3476
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,458,self._ctx)
            if la_ == 1:
                self.state = 3474
                self.errorCapturingMultiUnitsInterval()

            elif la_ == 2:
                self.state = 3475
                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, 362, self.RULE_errorCapturingMultiUnitsInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3478
            self.multiUnitsInterval()
            self.state = 3480
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,459,self._ctx)
            if la_ == 1:
                self.state = 3479
                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, 364, self.RULE_multiUnitsInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3485 
            self._errHandler.sync(self)
            _alt = 1
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt == 1:
                    self.state = 3482
                    self.intervalValue()
                    self.state = 3483
                    self.intervalUnit()

                else:
                    raise NoViableAltException(self)
                self.state = 3487 
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,460,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, 366, self.RULE_errorCapturingUnitToUnitInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3489
            localctx.body = self.unitToUnitInterval()
            self.state = 3492
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,461,self._ctx)
            if la_ == 1:
                self.state = 3490
                localctx.error1 = self.multiUnitsInterval()

            elif la_ == 2:
                self.state = 3491
                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, 368, self.RULE_unitToUnitInterval)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3494
            localctx.value = self.intervalValue()
            self.state = 3495
            localctx.ifrom = self.intervalUnit()
            self.state = 3496
            self.match(fugue_sqlParser.TO)
            self.state = 3497
            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, 370, self.RULE_intervalValue)
        self._la = 0 # Token type
        try:
            self.state = 3504
            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 = 3500
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.PLUS or _la==fugue_sqlParser.MINUS:
                    self.state = 3499
                    _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 = 3502
                _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 = 3503
                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, 372, self.RULE_intervalUnit)
        try:
            self.state = 3513
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,464,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3506
                self.match(fugue_sqlParser.DAY)
                pass

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

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

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

            elif la_ == 5:
                self.enterOuterAlt(localctx, 5)
                self.state = 3510
                self.match(fugue_sqlParser.SECOND)
                pass

            elif la_ == 6:
                self.enterOuterAlt(localctx, 6)
                self.state = 3511
                self.match(fugue_sqlParser.YEAR)
                pass

            elif la_ == 7:
                self.enterOuterAlt(localctx, 7)
                self.state = 3512
                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, 374, self.RULE_colPosition)
        try:
            self.state = 3518
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.FIRST]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3515
                localctx.position = self.match(fugue_sqlParser.FIRST)
                pass
            elif token in [fugue_sqlParser.AFTER]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3516
                localctx.position = self.match(fugue_sqlParser.AFTER)
                self.state = 3517
                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, 376, self.RULE_dataType)
        self._la = 0 # Token type
        try:
            self.state = 3554
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,470,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3520
                localctx.icomplex = self.match(fugue_sqlParser.ARRAY)
                self.state = 3521
                self.match(fugue_sqlParser.LT)
                self.state = 3522
                self.dataType()
                self.state = 3523
                self.match(fugue_sqlParser.GT)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3525
                localctx.icomplex = self.match(fugue_sqlParser.MAP)
                self.state = 3526
                self.match(fugue_sqlParser.LT)
                self.state = 3527
                self.dataType()
                self.state = 3528
                self.match(fugue_sqlParser.T__0)
                self.state = 3529
                self.dataType()
                self.state = 3530
                self.match(fugue_sqlParser.GT)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.ComplexDataTypeContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3532
                localctx.icomplex = self.match(fugue_sqlParser.STRUCT)
                self.state = 3539
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.LT]:
                    self.state = 3533
                    self.match(fugue_sqlParser.LT)
                    self.state = 3535
                    self._errHandler.sync(self)
                    la_ = self._interp.adaptivePredict(self._input,466,self._ctx)
                    if la_ == 1:
                        self.state = 3534
                        self.complexColTypeList()


                    self.state = 3537
                    self.match(fugue_sqlParser.GT)
                    pass
                elif token in [fugue_sqlParser.NEQ]:
                    self.state = 3538
                    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 = 3541
                self.identifier()
                self.state = 3552
                self._errHandler.sync(self)
                la_ = self._interp.adaptivePredict(self._input,469,self._ctx)
                if la_ == 1:
                    self.state = 3542
                    self.match(fugue_sqlParser.T__2)
                    self.state = 3543
                    self.match(fugue_sqlParser.INTEGER_VALUE)
                    self.state = 3548
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3544
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3545
                        self.match(fugue_sqlParser.INTEGER_VALUE)
                        self.state = 3550
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)

                    self.state = 3551
                    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, 378, self.RULE_qualifiedColTypeWithPositionList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3556
            self.qualifiedColTypeWithPosition()
            self.state = 3561
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3557
                self.match(fugue_sqlParser.T__0)
                self.state = 3558
                self.qualifiedColTypeWithPosition()
                self.state = 3563
                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, 380, self.RULE_qualifiedColTypeWithPosition)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3564
            localctx.name = self.multipartIdentifier()
            self.state = 3565
            self.dataType()
            self.state = 3568
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.NOT:
                self.state = 3566
                self.match(fugue_sqlParser.NOT)
                self.state = 3567
                self.match(fugue_sqlParser.NULL)


            self.state = 3571
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 3570
                self.commentSpec()


            self.state = 3574
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.AFTER or _la==fugue_sqlParser.FIRST:
                self.state = 3573
                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, 382, self.RULE_colTypeList)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3576
            self.colType()
            self.state = 3581
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,475,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3577
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3578
                    self.colType() 
                self.state = 3583
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,475,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, 384, self.RULE_colType)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3584
            localctx.colName = self.errorCapturingIdentifier()
            self.state = 3585
            self.dataType()
            self.state = 3588
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,476,self._ctx)
            if la_ == 1:
                self.state = 3586
                self.match(fugue_sqlParser.NOT)
                self.state = 3587
                self.match(fugue_sqlParser.NULL)


            self.state = 3591
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,477,self._ctx)
            if la_ == 1:
                self.state = 3590
                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, 386, self.RULE_complexColTypeList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3593
            self.complexColType()
            self.state = 3598
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3594
                self.match(fugue_sqlParser.T__0)
                self.state = 3595
                self.complexColType()
                self.state = 3600
                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, 388, self.RULE_complexColType)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3601
            self.identifier()
            self.state = 3602
            self.match(fugue_sqlParser.T__1)
            self.state = 3603
            self.dataType()
            self.state = 3606
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.NOT:
                self.state = 3604
                self.match(fugue_sqlParser.NOT)
                self.state = 3605
                self.match(fugue_sqlParser.NULL)


            self.state = 3609
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            if _la==fugue_sqlParser.COMMENT:
                self.state = 3608
                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, 390, self.RULE_whenClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3611
            self.match(fugue_sqlParser.WHEN)
            self.state = 3612
            localctx.condition = self.expression()
            self.state = 3613
            self.match(fugue_sqlParser.THEN)
            self.state = 3614
            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, 392, self.RULE_windowClause)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3616
            self.match(fugue_sqlParser.WINDOW)
            self.state = 3617
            self.namedWindow()
            self.state = 3622
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,481,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3618
                    self.match(fugue_sqlParser.T__0)
                    self.state = 3619
                    self.namedWindow() 
                self.state = 3624
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,481,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, 394, self.RULE_namedWindow)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3625
            localctx.name = self.errorCapturingIdentifier()
            self.state = 3626
            self.match(fugue_sqlParser.AS)
            self.state = 3627
            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, 396, self.RULE_windowSpec)
        self._la = 0 # Token type
        try:
            self.state = 3675
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,489,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.WindowRefContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3629
                localctx.name = self.errorCapturingIdentifier()
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.WindowRefContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3630
                self.match(fugue_sqlParser.T__2)
                self.state = 3631
                localctx.name = self.errorCapturingIdentifier()
                self.state = 3632
                self.match(fugue_sqlParser.T__3)
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.WindowDefContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3634
                self.match(fugue_sqlParser.T__2)
                self.state = 3669
                self._errHandler.sync(self)
                token = self._input.LA(1)
                if token in [fugue_sqlParser.CLUSTER]:
                    self.state = 3635
                    self.match(fugue_sqlParser.CLUSTER)
                    self.state = 3636
                    self.match(fugue_sqlParser.BY)
                    self.state = 3637
                    localctx._expression = self.expression()
                    localctx.partition.append(localctx._expression)
                    self.state = 3642
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    while _la==fugue_sqlParser.T__0:
                        self.state = 3638
                        self.match(fugue_sqlParser.T__0)
                        self.state = 3639
                        localctx._expression = self.expression()
                        localctx.partition.append(localctx._expression)
                        self.state = 3644
                        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 = 3655
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.DISTRIBUTE or _la==fugue_sqlParser.PARTITION:
                        self.state = 3645
                        _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 = 3646
                        self.match(fugue_sqlParser.BY)
                        self.state = 3647
                        localctx._expression = self.expression()
                        localctx.partition.append(localctx._expression)
                        self.state = 3652
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        while _la==fugue_sqlParser.T__0:
                            self.state = 3648
                            self.match(fugue_sqlParser.T__0)
                            self.state = 3649
                            localctx._expression = self.expression()
                            localctx.partition.append(localctx._expression)
                            self.state = 3654
                            self._errHandler.sync(self)
                            _la = self._input.LA(1)



                    self.state = 3667
                    self._errHandler.sync(self)
                    _la = self._input.LA(1)
                    if _la==fugue_sqlParser.ORDER or _la==fugue_sqlParser.SORT:
                        self.state = 3657
                        _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 = 3658
                        self.match(fugue_sqlParser.BY)
                        self.state = 3659
                        self.sortItem()
                        self.state = 3664
                        self._errHandler.sync(self)
                        _la = self._input.LA(1)
                        while _la==fugue_sqlParser.T__0:
                            self.state = 3660
                            self.match(fugue_sqlParser.T__0)
                            self.state = 3661
                            self.sortItem()
                            self.state = 3666
                            self._errHandler.sync(self)
                            _la = self._input.LA(1)



                    pass
                else:
                    raise NoViableAltException(self)

                self.state = 3672
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.RANGE or _la==fugue_sqlParser.ROWS:
                    self.state = 3671
                    self.windowFrame()


                self.state = 3674
                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, 398, self.RULE_windowFrame)
        try:
            self.state = 3693
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,490,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3677
                localctx.frameType = self.match(fugue_sqlParser.RANGE)
                self.state = 3678
                localctx.start = self.frameBound()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3679
                localctx.frameType = self.match(fugue_sqlParser.ROWS)
                self.state = 3680
                localctx.start = self.frameBound()
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3681
                localctx.frameType = self.match(fugue_sqlParser.RANGE)
                self.state = 3682
                self.match(fugue_sqlParser.BETWEEN)
                self.state = 3683
                localctx.start = self.frameBound()
                self.state = 3684
                self.match(fugue_sqlParser.AND)
                self.state = 3685
                localctx.end = self.frameBound()
                pass

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3687
                localctx.frameType = self.match(fugue_sqlParser.ROWS)
                self.state = 3688
                self.match(fugue_sqlParser.BETWEEN)
                self.state = 3689
                localctx.start = self.frameBound()
                self.state = 3690
                self.match(fugue_sqlParser.AND)
                self.state = 3691
                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, 400, self.RULE_frameBound)
        self._la = 0 # Token type
        try:
            self.state = 3702
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,491,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3695
                self.match(fugue_sqlParser.UNBOUNDED)
                self.state = 3696
                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 = 3697
                localctx.boundType = self.match(fugue_sqlParser.CURRENT)
                self.state = 3698
                self.match(fugue_sqlParser.ROW)
                pass

            elif la_ == 3:
                self.enterOuterAlt(localctx, 3)
                self.state = 3699
                self.expression()
                self.state = 3700
                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, 402, self.RULE_qualifiedNameList)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3704
            self.qualifiedName()
            self.state = 3709
            self._errHandler.sync(self)
            _la = self._input.LA(1)
            while _la==fugue_sqlParser.T__0:
                self.state = 3705
                self.match(fugue_sqlParser.T__0)
                self.state = 3706
                self.qualifiedName()
                self.state = 3711
                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, 404, self.RULE_functionName)
        try:
            self.state = 3716
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,493,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3712
                self.qualifiedName()
                pass

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

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

            elif la_ == 4:
                self.enterOuterAlt(localctx, 4)
                self.state = 3715
                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, 406, self.RULE_qualifiedName)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3718
            self.identifier()
            self.state = 3723
            self._errHandler.sync(self)
            _alt = self._interp.adaptivePredict(self._input,494,self._ctx)
            while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                if _alt==1:
                    self.state = 3719
                    self.match(fugue_sqlParser.T__6)
                    self.state = 3720
                    self.identifier() 
                self.state = 3725
                self._errHandler.sync(self)
                _alt = self._interp.adaptivePredict(self._input,494,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, 408, self.RULE_errorCapturingIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3726
            self.identifier()
            self.state = 3727
            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, 410, self.RULE_errorCapturingIdentifierExtra)
        try:
            self.state = 3736
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,496,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ErrorIdentContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3731 
                self._errHandler.sync(self)
                _alt = 1
                while _alt!=2 and _alt!=ATN.INVALID_ALT_NUMBER:
                    if _alt == 1:
                        self.state = 3729
                        self.match(fugue_sqlParser.MINUS)
                        self.state = 3730
                        self.identifier()

                    else:
                        raise NoViableAltException(self)
                    self.state = 3733 
                    self._errHandler.sync(self)
                    _alt = self._interp.adaptivePredict(self._input,495,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, 412, self.RULE_identifier)
        try:
            self.state = 3741
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,497,self._ctx)
            if la_ == 1:
                self.enterOuterAlt(localctx, 1)
                self.state = 3738
                self.strictIdentifier()
                pass

            elif la_ == 2:
                self.enterOuterAlt(localctx, 2)
                self.state = 3739
                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 = 3740
                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, 414, self.RULE_strictIdentifier)
        try:
            self.state = 3749
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,498,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3743
                self.match(fugue_sqlParser.IDENTIFIER)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.QuotedIdentifierAlternativeContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3744
                self.quotedIdentifier()
                pass

            elif la_ == 3:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3745
                if not self.SQL_standard_keyword_behavior:
                    from antlr4.error.Errors import FailedPredicateException
                    raise FailedPredicateException(self, "self.SQL_standard_keyword_behavior")
                self.state = 3746
                self.ansiNonReserved()
                pass

            elif la_ == 4:
                localctx = fugue_sqlParser.UnquotedIdentifierContext(self, localctx)
                self.enterOuterAlt(localctx, 4)
                self.state = 3747
                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 = 3748
                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, 416, self.RULE_quotedIdentifier)
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3751
            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, 418, self.RULE_number)
        self._la = 0 # Token type
        try:
            self.state = 3792
            self._errHandler.sync(self)
            la_ = self._interp.adaptivePredict(self._input,508,self._ctx)
            if la_ == 1:
                localctx = fugue_sqlParser.ExponentLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 1)
                self.state = 3753
                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 = 3755
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3754
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3757
                self.match(fugue_sqlParser.EXPONENT_VALUE)
                pass

            elif la_ == 2:
                localctx = fugue_sqlParser.DecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 2)
                self.state = 3758
                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 = 3760
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3759
                    self.match(fugue_sqlParser.MINUS)


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

            elif la_ == 3:
                localctx = fugue_sqlParser.LegacyDecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 3)
                self.state = 3763
                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 = 3765
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3764
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3767
                _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 = 3769
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3768
                    self.match(fugue_sqlParser.MINUS)


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

            elif la_ == 5:
                localctx = fugue_sqlParser.BigIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 5)
                self.state = 3773
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3772
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3775
                self.match(fugue_sqlParser.BIGINT_LITERAL)
                pass

            elif la_ == 6:
                localctx = fugue_sqlParser.SmallIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 6)
                self.state = 3777
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3776
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3779
                self.match(fugue_sqlParser.SMALLINT_LITERAL)
                pass

            elif la_ == 7:
                localctx = fugue_sqlParser.TinyIntLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 7)
                self.state = 3781
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3780
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3783
                self.match(fugue_sqlParser.TINYINT_LITERAL)
                pass

            elif la_ == 8:
                localctx = fugue_sqlParser.DoubleLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 8)
                self.state = 3785
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3784
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3787
                self.match(fugue_sqlParser.DOUBLE_LITERAL)
                pass

            elif la_ == 9:
                localctx = fugue_sqlParser.BigDecimalLiteralContext(self, localctx)
                self.enterOuterAlt(localctx, 9)
                self.state = 3789
                self._errHandler.sync(self)
                _la = self._input.LA(1)
                if _la==fugue_sqlParser.MINUS:
                    self.state = 3788
                    self.match(fugue_sqlParser.MINUS)


                self.state = 3791
                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, 420, self.RULE_alterColumnAction)
        self._la = 0 # Token type
        try:
            self.state = 3801
            self._errHandler.sync(self)
            token = self._input.LA(1)
            if token in [fugue_sqlParser.TYPE]:
                self.enterOuterAlt(localctx, 1)
                self.state = 3794
                self.match(fugue_sqlParser.TYPE)
                self.state = 3795
                self.dataType()
                pass
            elif token in [fugue_sqlParser.COMMENT]:
                self.enterOuterAlt(localctx, 2)
                self.state = 3796
                self.commentSpec()
                pass
            elif token in [fugue_sqlParser.AFTER, fugue_sqlParser.FIRST]:
                self.enterOuterAlt(localctx, 3)
                self.state = 3797
                self.colPosition()
                pass
            elif token in [fugue_sqlParser.DROP, fugue_sqlParser.SET]:
                self.enterOuterAlt(localctx, 4)
                self.state = 3798
                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 = 3799
                self.match(fugue_sqlParser.NOT)
                self.state = 3800
                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, 422, self.RULE_ansiNonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3803
            _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))) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & ((1 << (fugue_sqlParser.AT - 64)) | (1 << (fugue_sqlParser.BETWEEN - 64)) | (1 << (fugue_sqlParser.BUCKET - 64)) | (1 << (fugue_sqlParser.BUCKETS - 64)) | (1 << (fugue_sqlParser.BY - 64)) | (1 << (fugue_sqlParser.CACHE - 64)) | (1 << (fugue_sqlParser.CASCADE - 64)) | (1 << (fugue_sqlParser.CHANGE - 64)) | (1 << (fugue_sqlParser.CLEAR - 64)) | (1 << (fugue_sqlParser.CLUSTER - 64)) | (1 << (fugue_sqlParser.CLUSTERED - 64)) | (1 << (fugue_sqlParser.CODEGEN - 64)) | (1 << (fugue_sqlParser.COLLECTION - 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.COST - 64)) | (1 << (fugue_sqlParser.CUBE - 64)) | (1 << (fugue_sqlParser.CURRENT - 64)) | (1 << (fugue_sqlParser.DATA - 64)) | (1 << (fugue_sqlParser.DATABASE - 64)) | (1 << (fugue_sqlParser.DATABASES - 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.DISTRIBUTE - 64)) | (1 << (fugue_sqlParser.DROP - 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)))) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & ((1 << (fugue_sqlParser.EXTRACT - 128)) | (1 << (fugue_sqlParser.FIELDS - 128)) | (1 << (fugue_sqlParser.FILEFORMAT - 128)) | (1 << (fugue_sqlParser.FIRST - 128)) | (1 << (fugue_sqlParser.FOLLOWING - 128)) | (1 << (fugue_sqlParser.FORMAT - 128)) | (1 << (fugue_sqlParser.FORMATTED - 128)) | (1 << (fugue_sqlParser.FUNCTION - 128)) | (1 << (fugue_sqlParser.FUNCTIONS - 128)) | (1 << (fugue_sqlParser.GLOBAL - 128)) | (1 << (fugue_sqlParser.GROUPING - 128)) | (1 << (fugue_sqlParser.IF - 128)) | (1 << (fugue_sqlParser.IGNORE - 128)) | (1 << (fugue_sqlParser.IMPORT - 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.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.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.MSCK - 128)) | (1 << (fugue_sqlParser.NAMESPACE - 128)) | (1 << (fugue_sqlParser.NAMESPACES - 128)))) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & ((1 << (fugue_sqlParser.NO - 192)) | (1 << (fugue_sqlParser.NULLS - 192)) | (1 << (fugue_sqlParser.OF - 192)) | (1 << (fugue_sqlParser.OPTION - 192)) | (1 << (fugue_sqlParser.OPTIONS - 192)) | (1 << (fugue_sqlParser.OUT - 192)) | (1 << (fugue_sqlParser.OUTPUTFORMAT - 192)) | (1 << (fugue_sqlParser.OVER - 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.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.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.SEPARATED - 192)) | (1 << (fugue_sqlParser.SERDE - 192)) | (1 << (fugue_sqlParser.SERDEPROPERTIES - 192)) | (1 << (fugue_sqlParser.SET - 192)) | (1 << (fugue_sqlParser.SETS - 192)) | (1 << (fugue_sqlParser.SHOW - 192)))) != 0) or ((((_la - 256)) & ~0x3f) == 0 and ((1 << (_la - 256)) & ((1 << (fugue_sqlParser.SKEWED - 256)) | (1 << (fugue_sqlParser.SORT - 256)) | (1 << (fugue_sqlParser.SORTED - 256)) | (1 << (fugue_sqlParser.START - 256)) | (1 << (fugue_sqlParser.STATISTICS - 256)) | (1 << (fugue_sqlParser.STORED - 256)) | (1 << (fugue_sqlParser.STRATIFY - 256)) | (1 << (fugue_sqlParser.STRUCT - 256)) | (1 << (fugue_sqlParser.SUBSTR - 256)) | (1 << (fugue_sqlParser.SUBSTRING - 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.TOUCH - 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.UNARCHIVE - 256)) | (1 << (fugue_sqlParser.UNBOUNDED - 256)) | (1 << (fugue_sqlParser.UNCACHE - 256)) | (1 << (fugue_sqlParser.UNLOCK - 256)) | (1 << (fugue_sqlParser.UNSET - 256)) | (1 << (fugue_sqlParser.UPDATE - 256)) | (1 << (fugue_sqlParser.USE - 256)) | (1 << (fugue_sqlParser.VALUES - 256)) | (1 << (fugue_sqlParser.VIEW - 256)) | (1 << (fugue_sqlParser.VIEWS - 256)) | (1 << (fugue_sqlParser.WINDOW - 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


    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, 424, self.RULE_strictNonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3805
            _la = self._input.LA(1)
            if not(((((_la - 58)) & ~0x3f) == 0 and ((1 << (_la - 58)) & ((1 << (fugue_sqlParser.ANTI - 58)) | (1 << (fugue_sqlParser.CROSS - 58)) | (1 << (fugue_sqlParser.EXCEPT - 58)))) != 0) or ((((_la - 141)) & ~0x3f) == 0 and ((1 << (_la - 141)) & ((1 << (fugue_sqlParser.FULL - 141)) | (1 << (fugue_sqlParser.INNER - 141)) | (1 << (fugue_sqlParser.INTERSECT - 141)) | (1 << (fugue_sqlParser.JOIN - 141)) | (1 << (fugue_sqlParser.LEFT - 141)) | (1 << (fugue_sqlParser.NATURAL - 141)) | (1 << (fugue_sqlParser.ON - 141)))) != 0) or ((((_la - 236)) & ~0x3f) == 0 and ((1 << (_la - 236)) & ((1 << (fugue_sqlParser.RIGHT - 236)) | (1 << (fugue_sqlParser.SEMI - 236)) | (1 << (fugue_sqlParser.SETMINUS - 236)) | (1 << (fugue_sqlParser.UNION - 236)) | (1 << (fugue_sqlParser.USING - 236)))) != 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, 426, self.RULE_nonReserved)
        self._la = 0 # Token type
        try:
            self.enterOuterAlt(localctx, 1)
            self.state = 3807
            _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))) != 0) or ((((_la - 64)) & ~0x3f) == 0 and ((1 << (_la - 64)) & ((1 << (fugue_sqlParser.AT - 64)) | (1 << (fugue_sqlParser.AUTHORIZATION - 64)) | (1 << (fugue_sqlParser.BETWEEN - 64)) | (1 << (fugue_sqlParser.BOTH - 64)) | (1 << (fugue_sqlParser.BUCKET - 64)) | (1 << (fugue_sqlParser.BUCKETS - 64)) | (1 << (fugue_sqlParser.BY - 64)) | (1 << (fugue_sqlParser.CACHE - 64)) | (1 << (fugue_sqlParser.CASCADE - 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)))) != 0) or ((((_la - 128)) & ~0x3f) == 0 and ((1 << (_la - 128)) & ((1 << (fugue_sqlParser.EXTRACT - 128)) | (1 << (fugue_sqlParser.FALSE - 128)) | (1 << (fugue_sqlParser.FETCH - 128)) | (1 << (fugue_sqlParser.FIELDS - 128)) | (1 << (fugue_sqlParser.FILTER - 128)) | (1 << (fugue_sqlParser.FILEFORMAT - 128)) | (1 << (fugue_sqlParser.FIRST - 128)) | (1 << (fugue_sqlParser.FOLLOWING - 128)) | (1 << (fugue_sqlParser.FOR - 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)))) != 0) or ((((_la - 192)) & ~0x3f) == 0 and ((1 << (_la - 192)) & ((1 << (fugue_sqlParser.NO - 192)) | (1 << (fugue_sqlParser.NOT - 192)) | (1 << (fugue_sqlParser.NULL - 192)) | (1 << (fugue_sqlParser.NULLS - 192)) | (1 << (fugue_sqlParser.OF - 192)) | (1 << (fugue_sqlParser.ONLY - 192)) | (1 << (fugue_sqlParser.OPTION - 192)) | (1 << (fugue_sqlParser.OPTIONS - 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)))) != 0) or ((((_la - 256)) & ~0x3f) == 0 and ((1 << (_la - 256)) & ((1 << (fugue_sqlParser.SKEWED - 256)) | (1 << (fugue_sqlParser.SOME - 256)) | (1 << (fugue_sqlParser.SORT - 256)) | (1 << (fugue_sqlParser.SORTED - 256)) | (1 << (fugue_sqlParser.START - 256)) | (1 << (fugue_sqlParser.STATISTICS - 256)) | (1 << (fugue_sqlParser.STORED - 256)) | (1 << (fugue_sqlParser.STRATIFY - 256)) | (1 << (fugue_sqlParser.STRUCT - 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[40] = self.fugueAssignmentSign_sempred
        self._predicates[48] = self.fuguePartitionNum_sempred
        self._predicates[115] = self.queryTerm_sempred
        self._predicates[170] = self.booleanExpression_sempred
        self._predicates[172] = self.valueExpression_sempred
        self._predicates[173] = self.primaryExpression_sempred
        self._predicates[206] = self.identifier_sempred
        self._predicates[207] = self.strictIdentifier_sempred
        self._predicates[209] = 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
         




