
js.prompto.parser.OParser.js Maven / Gradle / Ivy
// Generated from OParser.g4 by ANTLR 4.5
// jshint ignore: start
var antlr4 = require('antlr4/index');
var OParserListener = require('./OParserListener').OParserListener;
var AbstractParser = require('./AbstractParser').AbstractParser;
var grammarFileName = "OParser.g4";
var serializedATN = ["\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd",
"\3\u00ab\u08d2\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\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\t\16\4\17\t\17\4\20",
"\t\20\4\21\t\21\4\22\t\22\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4",
"\27\t\27\4\30\t\30\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35",
"\4\36\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'",
"\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\4\61",
"\t\61\4\62\t\62\4\63\t\63\4\64\t\64\4\65\t\65\4\66\t\66\4\67\t\67\4",
"8\t8\49\t9\4:\t:\4;\t;\4<\t<\4=\t=\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C",
"\tC\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\tJ\4K\tK\4L\tL\4M\tM\4N\t",
"N\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT\4U\tU\4V\tV\4W\tW\4X\tX\4Y\tY",
"\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4^\t^\4_\t_\4`\t`\4a\ta\4b\tb\4c\tc\4d\t",
"d\4e\te\4f\tf\4g\tg\4h\th\4i\ti\4j\tj\4k\tk\4l\tl\4m\tm\4n\tn\4o\to",
"\4p\tp\4q\tq\4r\tr\4s\ts\4t\tt\4u\tu\4v\tv\4w\tw\4x\tx\4y\ty\4z\tz\4",
"{\t{\4|\t|\4}\t}\4~\t~\4\177\t\177\4\u0080\t\u0080\4\u0081\t\u0081\4",
"\u0082\t\u0082\4\u0083\t\u0083\4\u0084\t\u0084\4\u0085\t\u0085\4\u0086",
"\t\u0086\4\u0087\t\u0087\4\u0088\t\u0088\4\u0089\t\u0089\4\u008a\t\u008a",
"\4\u008b\t\u008b\4\u008c\t\u008c\4\u008d\t\u008d\4\u008e\t\u008e\4\u008f",
"\t\u008f\4\u0090\t\u0090\4\u0091\t\u0091\4\u0092\t\u0092\4\u0093\t\u0093",
"\4\u0094\t\u0094\4\u0095\t\u0095\4\u0096\t\u0096\4\u0097\t\u0097\4\u0098",
"\t\u0098\4\u0099\t\u0099\4\u009a\t\u009a\4\u009b\t\u009b\4\u009c\t\u009c",
"\4\u009d\t\u009d\4\u009e\t\u009e\4\u009f\t\u009f\4\u00a0\t\u00a0\4\u00a1",
"\t\u00a1\4\u00a2\t\u00a2\4\u00a3\t\u00a3\4\u00a4\t\u00a4\4\u00a5\t\u00a5",
"\4\u00a6\t\u00a6\4\u00a7\t\u00a7\4\u00a8\t\u00a8\4\u00a9\t\u00a9\4\u00aa",
"\t\u00aa\4\u00ab\t\u00ab\4\u00ac\t\u00ac\4\u00ad\t\u00ad\4\u00ae\t\u00ae",
"\4\u00af\t\u00af\4\u00b0\t\u00b0\4\u00b1\t\u00b1\4\u00b2\t\u00b2\4\u00b3",
"\t\u00b3\4\u00b4\t\u00b4\4\u00b5\t\u00b5\4\u00b6\t\u00b6\4\u00b7\t\u00b7",
"\4\u00b8\t\u00b8\4\u00b9\t\u00b9\4\u00ba\t\u00ba\4\u00bb\t\u00bb\4\u00bc",
"\t\u00bc\4\u00bd\t\u00bd\4\u00be\t\u00be\4\u00bf\t\u00bf\4\u00c0\t\u00c0",
"\4\u00c1\t\u00c1\4\u00c2\t\u00c2\4\u00c3\t\u00c3\4\u00c4\t\u00c4\4\u00c5",
"\t\u00c5\4\u00c6\t\u00c6\4\u00c7\t\u00c7\4\u00c8\t\u00c8\4\u00c9\t\u00c9",
"\4\u00ca\t\u00ca\4\u00cb\t\u00cb\4\u00cc\t\u00cc\4\u00cd\t\u00cd\4\u00ce",
"\t\u00ce\4\u00cf\t\u00cf\3\2\3\2\3\2\3\2\3\2\3\2\3\2\5\2\u01a6\n\2\3",
"\2\3\2\5\2\u01aa\n\2\3\2\3\2\3\2\3\2\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3",
"\3\3\3\4\3\4\3\4\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\6\5\6\u01c5\n\6\3",
"\6\3\6\3\6\3\6\3\6\5\6\u01cc\n\6\3\6\3\6\3\6\3\6\3\6\3\6\5\6\u01d4\n",
"\6\5\6\u01d6\n\6\3\6\3\6\3\7\5\7\u01db\n\7\3\7\3\7\3\7\3\7\3\7\3\7\5",
"\7\u01e3\n\7\3\7\3\7\5\7\u01e7\n\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\b\5",
"\b\u01f1\n\b\3\b\3\b\3\t\3\t\3\t\3\t\3\t\3\t\7\t\u01fb\n\t\f\t\16\t",
"\u01fe\13\t\3\n\3\n\3\n\5\n\u0203\n\n\3\n\5\n\u0206\n\n\3\13\5\13\u0209",
"\n\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\5\13\u0212\n\13\3\13\3\13\3",
"\f\3\f\3\f\3\f\5\f\u021a\n\f\3\f\3\f\3\r\5\r\u021f\n\r\3\r\3\r\3\r\3",
"\r\5\r\u0225\n\r\3\r\3\r\3\16\3\16\3\16\3\16\5\16\u022d\n\16\3\16\3",
"\16\3\17\5\17\u0232\n\17\3\17\3\17\3\17\3\17\5\17\u0238\n\17\3\17\3",
"\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\5\20\u0243\n\20\3\20\3\20\3\20",
"\5\20\u0248\n\20\3\20\3\20\3\21\5\21\u024d\n\21\3\21\3\21\3\21\3\21",
"\3\21\3\21\3\21\5\21\u0256\n\21\3\21\3\21\3\21\5\21\u025b\n\21\3\21",
"\3\21\3\22\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3",
"\23\3\23\7\23\u026d\n\23\f\23\16\23\u0270\13\23\3\24\3\24\5\24\u0274",
"\n\24\3\24\3\24\3\24\3\24\5\24\u027a\n\24\3\24\3\24\3\24\3\25\5\25\u0280",
"\n\25\3\25\3\25\3\25\3\25\5\25\u0286\n\25\3\25\3\25\3\25\5\25\u028b",
"\n\25\3\25\3\25\3\26\5\26\u0290\n\26\3\26\5\26\u0293\n\26\3\26\3\26",
"\3\26\3\26\5\26\u0299\n\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3",
"\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\3\27\5\27",
"\u02b0\n\27\3\30\3\30\3\30\3\31\3\31\3\31\3\31\3\31\5\31\u02ba\n\31",
"\3\31\3\31\3\31\5\31\u02bf\n\31\3\32\3\32\3\32\3\32\3\32\5\32\u02c6",
"\n\32\5\32\u02c8\n\32\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3",
"\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\33\5\33\u02df",
"\n\33\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3",
"\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35",
"\3\35\3\35\5\35\u02fd\n\35\3\36\3\36\3\36\3\36\3\36\3\36\3\37\3\37\3",
"\37\3\37\3\37\3\37\3 \3 \3 \3 \3 \3 \3 \3 \3 \5 \u0314\n \5 \u0316\n",
" \3 \3 \3!\3!\3!\3!\5!\u031e\n!\3!\3!\3!\3!\3!\5!\u0325\n!\5!\u0327",
"\n!\3\"\3\"\3\"\3\"\3\"\3\"\5\"\u032f\n\"\3\"\3\"\3\"\3\"\3\"\3#\3#",
"\3#\5#\u0339\n#\3#\3#\3#\3#\3#\3#\3#\3$\3$\3$\3$\3$\3$\3%\3%\3%\3%\3",
"%\3%\5%\u034e\n%\3%\3%\5%\u0352\n%\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&",
"\3&\3&\3&\3&\3&\7&\u0364\n&\f&\16&\u0367\13&\3\'\3\'\3\'\3\'\3(\3(\3",
"(\3(\3(\3(\5(\u0373\n(\3(\3(\5(\u0377\n(\3(\3(\3(\3(\3(\3(\5(\u037f",
"\n(\3(\5(\u0382\n(\3(\3(\3(\5(\u0387\n(\3(\5(\u038a\n(\3)\3)\3)\3)\3",
")\3)\5)\u0392\n)\3)\3)\3)\3)\3)\3)\3)\3)\3)\5)\u039d\n)\3)\3)\5)\u03a1",
"\n)\3*\3*\3*\3+\3+\5+\u03a8\n+\3+\3+\3,\3,\3,\5,\u03af\n,\3,\3,\3-\3",
"-\3-\3-\3-\5-\u03b8\n-\3.\3.\3.\3.\3.\7.\u03bf\n.\f.\16.\u03c2\13.\3",
"/\3/\3/\3/\3/\3/\5/\u03ca\n/\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60",
"\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3",
"\60\3\60\5\60\u03e3\n\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60",
"\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3",
"\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60",
"\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3",
"\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60",
"\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3",
"\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60",
"\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3\60\3",
"\60\3\60\3\60\3\60\7\60\u0450\n\60\f\60\16\60\u0453\13\60\3\61\3\61",
"\3\61\3\61\3\62\3\62\3\63\3\63\3\63\3\63\3\63\7\63\u0460\n\63\f\63\16",
"\63\u0463\13\63\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\64\5\64\u046e",
"\n\64\3\65\3\65\3\65\3\65\3\65\3\66\3\66\3\66\5\66\u0478\n\66\3\66\3",
"\66\3\67\3\67\3\67\3\67\3\67\3\67\3\67\3\67\38\38\38\38\38\38\38\38",
"\38\38\38\38\38\39\39\39\39\39\39\59\u0497\n9\39\39\39\39\39\39\39\3",
"9\39\39\39\59\u04a4\n9\39\39\39\39\59\u04aa\n9\39\39\39\39\39\39\39",
"\59\u04b3\n9\39\39\39\39\39\59\u04ba\n9\39\39\39\39\39\39\59\u04c2\n",
"9\59\u04c4\n9\3:\3:\5:\u04c8\n:\3:\3:\3:\3:\3:\3:\3:\5:\u04d1\n:\3:",
"\3:\3;\3;\3;\3;\3;\3;\3;\3;\3;\3;\5;\u04df\n;\3<\3<\3<\5<\u04e4\n<\3",
"<\3<\3=\3=\3=\3=\3=\5=\u04ed\n=\3=\3=\3=\7=\u04f2\n=\f=\16=\u04f5\13",
"=\3>\3>\3>\3>\3?\3?\3?\3?\3?\3@\3@\3@\3@\3@\3@\5@\u0506\n@\3A\3A\3A",
"\3A\3A\3B\3B\3C\5C\u0510\nC\3C\3C\3C\3D\3D\3D\3D\7D\u0519\nD\fD\16D",
"\u051c\13D\3E\3E\3E\7E\u0521\nE\fE\16E\u0524\13E\3E\3E\3E\3E\3E\5E\u052b",
"\nE\3F\3F\3G\3G\5G\u0531\nG\3H\3H\3H\3H\7H\u0537\nH\fH\16H\u053a\13",
"H\3I\3I\3I\3I\7I\u0540\nI\fI\16I\u0543\13I\3J\3J\3J\7J\u0548\nJ\fJ\16",
"J\u054b\13J\3K\3K\3K\3K\3K\3K\3K\3K\3K\3K\5K\u0557\nK\3L\5L\u055a\n",
"L\3L\3L\5L\u055e\nL\3L\3L\3M\5M\u0563\nM\3M\3M\5M\u0567\nM\3M\3M\3N",
"\3N\3N\7N\u056e\nN\fN\16N\u0571\13N\3O\3O\3O\3O\3O\3O\3P\3P\3P\3P\3",
"P\3P\3P\3P\3P\3P\3P\3P\5P\u0585\nP\3P\3P\3P\3P\3P\3P\3P\3P\7P\u058f",
"\nP\fP\16P\u0592\13P\3Q\3Q\5Q\u0596\nQ\3R\3R\3R\3R\3R\3R\3R\3R\3R\3",
"R\3R\3R\3R\3R\5R\u05a6\nR\3S\3S\3T\5T\u05ab\nT\3T\3T\3U\3U\3V\3V\3V",
"\5V\u05b4\nV\3W\3W\3W\7W\u05b9\nW\fW\16W\u05bc\13W\3X\3X\5X\u05c0\n",
"X\3Y\3Y\3Y\5Y\u05c5\nY\3Z\3Z\3[\3[\3\\\3\\\3]\3]\3^\3^\3^\7^\u05d2\n",
"^\f^\16^\u05d5\13^\3_\3_\5_\u05d9\n_\3_\5_\u05dc\n_\3`\3`\5`\u05e0\n",
"`\3a\3a\3a\5a\u05e5\na\3b\3b\3b\3c\3c\5c\u05ec\nc\3d\3d\3d\3d\3d\3d",
"\3d\3d\3d\7d\u05f7\nd\fd\16d\u05fa\13d\3e\3e\3e\3e\7e\u0600\ne\fe\16",
"e\u0603\13e\3f\3f\3f\3f\3f\5f\u060a\nf\3g\3g\3g\3g\7g\u0610\ng\fg\16",
"g\u0613\13g\3h\3h\3h\5h\u0618\nh\3i\3i\3i\3i\3i\3i\3i\3i\3i\3i\5i\u0624",
"\ni\3j\3j\5j\u0628\nj\3k\3k\3k\3k\3k\3k\7k\u0630\nk\fk\16k\u0633\13",
"k\3l\3l\5l\u0637\nl\3m\3m\3m\3m\5m\u063d\nm\3m\3m\3m\7m\u0642\nm\fm",
"\16m\u0645\13m\3m\3m\5m\u0649\nm\3n\3n\3n\7n\u064e\nn\fn\16n\u0651\13",
"n\3o\3o\3o\7o\u0656\no\fo\16o\u0659\13o\3p\3p\3p\3p\5p\u065f\np\3q\3",
"q\3r\3r\3r\3r\7r\u0667\nr\fr\16r\u066a\13r\3s\3s\3s\3s\3s\3s\3s\3s\3",
"s\3s\5s\u0676\ns\3t\3t\5t\u067a\nt\3t\5t\u067d\nt\3u\3u\5u\u0681\nu",
"\3u\5u\u0684\nu\3v\3v\3v\3v\7v\u068a\nv\fv\16v\u068d\13v\3w\3w\3w\3",
"w\7w\u0693\nw\fw\16w\u0696\13w\3x\3x\3x\3x\7x\u069c\nx\fx\16x\u069f",
"\13x\3y\3y\3y\3y\7y\u06a5\ny\fy\16y\u06a8\13y\3z\3z\3z\3z\3z\3z\3z\3",
"z\3z\3z\3z\3z\3z\3z\5z\u06b8\nz\3{\3{\3{\3{\3{\3{\3{\3{\3{\3{\3{\3{",
"\3{\3{\5{\u06c8\n{\3|\3|\3|\7|\u06cd\n|\f|\16|\u06d0\13|\3}\3}\3}\3",
"}\5}\u06d6\n}\3~\3~\3\177\3\177\3\177\3\177\3\u0080\3\u0080\5\u0080",
"\u06e0\n\u0080\3\u0081\3\u0081\3\u0081\3\u0081\3\u0081\5\u0081\u06e7",
"\n\u0081\3\u0082\5\u0082\u06ea\n\u0082\3\u0082\3\u0082\5\u0082\u06ee",
"\n\u0082\3\u0082\3\u0082\3\u0083\5\u0083\u06f3\n\u0083\3\u0083\3\u0083",
"\5\u0083\u06f7\n\u0083\3\u0083\3\u0083\3\u0084\3\u0084\3\u0084\3\u0084",
"\3\u0084\7\u0084\u0700\n\u0084\f\u0084\16\u0084\u0703\13\u0084\5\u0084",
"\u0705\n\u0084\3\u0085\3\u0085\3\u0085\7\u0085\u070a\n\u0085\f\u0085",
"\16\u0085\u070d\13\u0085\3\u0086\3\u0086\3\u0086\3\u0086\3\u0087\3\u0087",
"\3\u0087\3\u0087\3\u0087\3\u0087\3\u0087\3\u0087\3\u0087\5\u0087\u071c",
"\n\u0087\3\u0088\3\u0088\3\u0088\3\u0088\3\u0089\3\u0089\3\u0089\3\u0089",
"\3\u0089\7\u0089\u0727\n\u0089\f\u0089\16\u0089\u072a\13\u0089\3\u008a",
"\3\u008a\3\u008a\3\u008a\5\u008a\u0730\n\u008a\3\u008b\3\u008b\3\u008b",
"\3\u008b\3\u008b\3\u008c\3\u008c\3\u008c\3\u008c\3\u008c\3\u008d\3\u008d",
"\3\u008d\7\u008d\u073f\n\u008d\f\u008d\16\u008d\u0742\13\u008d\3\u008e",
"\3\u008e\3\u008e\7\u008e\u0747\n\u008e\f\u008e\16\u008e\u074a\13\u008e",
"\3\u008e\5\u008e\u074d\n\u008e\3\u008f\3\u008f\3\u008f\3\u008f\3\u008f",
"\3\u008f\5\u008f\u0755\n\u008f\3\u0090\3\u0090\3\u0090\3\u0091\3\u0091",
"\3\u0091\3\u0092\3\u0092\3\u0092\3\u0093\3\u0093\3\u0093\3\u0094\3\u0094",
"\3\u0094\3\u0095\3\u0095\3\u0096\3\u0096\3\u0097\3\u0097\3\u0098\3\u0098",
"\3\u0099\3\u0099\3\u009a\3\u009a\3\u009b\3\u009b\3\u009c\3\u009c\3\u009c",
"\3\u009c\3\u009c\3\u009c\3\u009c\5\u009c\u077b\n\u009c\3\u009d\3\u009d",
"\3\u009d\3\u009d\3\u009d\7\u009d\u0782\n\u009d\f\u009d\16\u009d\u0785",
"\13\u009d\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e\3\u009e\5",
"\u009e\u078e\n\u009e\3\u009f\3\u009f\3\u00a0\3\u00a0\3\u00a0\3\u00a1",
"\3\u00a1\3\u00a1\3\u00a1\3\u00a1\5\u00a1\u079a\n\u00a1\3\u00a2\3\u00a2",
"\3\u00a2\5\u00a2\u079f\n\u00a2\3\u00a2\3\u00a2\3\u00a3\3\u00a3\3\u00a3",
"\3\u00a3\3\u00a3\3\u00a3\7\u00a3\u07a9\n\u00a3\f\u00a3\16\u00a3\u07ac",
"\13\u00a3\3\u00a4\3\u00a4\3\u00a4\3\u00a4\3\u00a5\3\u00a5\3\u00a5\3",
"\u00a5\3\u00a6\3\u00a6\3\u00a7\3\u00a7\3\u00a7\3\u00a7\3\u00a7\5\u00a7",
"\u07bd\n\u00a7\3\u00a8\3\u00a8\3\u00a9\3\u00a9\3\u00a9\5\u00a9\u07c4",
"\n\u00a9\3\u00aa\3\u00aa\3\u00aa\3\u00aa\3\u00aa\7\u00aa\u07cb\n\u00aa",
"\f\u00aa\16\u00aa\u07ce\13\u00aa\3\u00ab\3\u00ab\3\u00ab\3\u00ab\5\u00ab",
"\u07d4\n\u00ab\3\u00ac\3\u00ac\3\u00ac\3\u00ac\3\u00ac\3\u00ac\5\u00ac",
"\u07dc\n\u00ac\3\u00ad\3\u00ad\3\u00ad\5\u00ad\u07e1\n\u00ad\3\u00ad",
"\3\u00ad\3\u00ae\3\u00ae\3\u00ae\3\u00ae\3\u00ae\3\u00ae\5\u00ae\u07eb",
"\n\u00ae\3\u00af\3\u00af\3\u00af\3\u00af\3\u00af\3\u00af\7\u00af\u07f3",
"\n\u00af\f\u00af\16\u00af\u07f6\13\u00af\3\u00b0\3\u00b0\3\u00b0\3\u00b0",
"\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\3\u00b0\7\u00b0\u0803",
"\n\u00b0\f\u00b0\16\u00b0\u0806\13\u00b0\3\u00b1\3\u00b1\3\u00b1\3\u00b1",
"\3\u00b2\3\u00b2\3\u00b2\5\u00b2\u080f\n\u00b2\3\u00b2\3\u00b2\3\u00b2",
"\7\u00b2\u0814\n\u00b2\f\u00b2\16\u00b2\u0817\13\u00b2\3\u00b3\3\u00b3",
"\3\u00b3\3\u00b3\3\u00b3\5\u00b3\u081e\n\u00b3\3\u00b4\3\u00b4\3\u00b5",
"\3\u00b5\3\u00b5\3\u00b5\3\u00b5\3\u00b5\3\u00b5\5\u00b5\u0829\n\u00b5",
"\3\u00b6\3\u00b6\3\u00b6\3\u00b6\3\u00b6\7\u00b6\u0830\n\u00b6\f\u00b6",
"\16\u00b6\u0833\13\u00b6\3\u00b7\3\u00b7\3\u00b7\3\u00b7\3\u00b7\5\u00b7",
"\u083a\n\u00b7\3\u00b8\3\u00b8\3\u00b9\3\u00b9\3\u00b9\3\u00ba\3\u00ba",
"\3\u00ba\5\u00ba\u0844\n\u00ba\3\u00bb\3\u00bb\3\u00bb\5\u00bb\u0849",
"\n\u00bb\3\u00bb\3\u00bb\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc\3\u00bc",
"\7\u00bc\u0853\n\u00bc\f\u00bc\16\u00bc\u0856\13\u00bc\3\u00bd\3\u00bd",
"\3\u00bd\3\u00bd\3\u00be\3\u00be\3\u00be\3\u00be\3\u00bf\3\u00bf\3\u00bf",
"\3\u00bf\3\u00bf\3\u00bf\7\u00bf\u0866\n\u00bf\f\u00bf\16\u00bf\u0869",
"\13\u00bf\3\u00c0\3\u00c0\3\u00c0\3\u00c0\3\u00c0\7\u00c0\u0870\n\u00c0",
"\f\u00c0\16\u00c0\u0873\13\u00c0\3\u00c1\3\u00c1\3\u00c1\3\u00c1\3\u00c1",
"\5\u00c1\u087a\n\u00c1\3\u00c2\3\u00c2\3\u00c3\3\u00c3\3\u00c3\3\u00c3",
"\3\u00c3\3\u00c3\3\u00c3\5\u00c3\u0885\n\u00c3\3\u00c4\3\u00c4\3\u00c4",
"\3\u00c4\3\u00c4\7\u00c4\u088c\n\u00c4\f\u00c4\16\u00c4\u088f\13\u00c4",
"\3\u00c5\3\u00c5\3\u00c5\3\u00c5\3\u00c5\5\u00c5\u0896\n\u00c5\3\u00c6",
"\3\u00c6\3\u00c7\3\u00c7\3\u00c7\3\u00c8\3\u00c8\3\u00c8\5\u00c8\u08a0",
"\n\u00c8\3\u00c9\3\u00c9\3\u00c9\5\u00c9\u08a5\n\u00c9\3\u00c9\3\u00c9",
"\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\3\u00ca\7\u00ca\u08af\n\u00ca",
"\f\u00ca\16\u00ca\u08b2\13\u00ca\3\u00cb\3\u00cb\3\u00cb\3\u00cb\3\u00cc",
"\3\u00cc\3\u00cc\3\u00cc\3\u00cd\3\u00cd\3\u00cd\5\u00cd\u08bf\n\u00cd",
"\3\u00cd\3\u00cd\3\u00cd\7\u00cd\u08c4\n\u00cd\f\u00cd\16\u00cd\u08c7",
"\13\u00cd\3\u00ce\3\u00ce\3\u00ce\3\u00ce\3\u00ce\5\u00ce\u08ce\n\u00ce",
"\3\u00cf\3\u00cf\3\u00cf\2\31\20$JZ^dx\u009e\u00c6\u0110\u0138\u0144",
"\u0152\u015c\u015e\u0162\u016a\u0176\u017c\u017e\u0186\u0192\u0198\u00d0",
"\2\4\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BD",
"FHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0080\u0082\u0084\u0086\u0088\u008a\u008c",
"\u008e\u0090\u0092\u0094\u0096\u0098\u009a\u009c\u009e\u00a0\u00a2\u00a4",
"\u00a6\u00a8\u00aa\u00ac\u00ae\u00b0\u00b2\u00b4\u00b6\u00b8\u00ba\u00bc",
"\u00be\u00c0\u00c2\u00c4\u00c6\u00c8\u00ca\u00cc\u00ce\u00d0\u00d2\u00d4",
"\u00d6\u00d8\u00da\u00dc\u00de\u00e0\u00e2\u00e4\u00e6\u00e8\u00ea\u00ec",
"\u00ee\u00f0\u00f2\u00f4\u00f6\u00f8\u00fa\u00fc\u00fe\u0100\u0102\u0104",
"\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c",
"\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134",
"\u0136\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148\u014a\u014c",
"\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164",
"\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178\u017a\u017c",
"\u017e\u0180\u0182\u0184\u0186\u0188\u018a\u018c\u018e\u0190\u0192\u0194",
"\u0196\u0198\u019a\u019c\2\13\3\2\36\37\4\2\u008c\u008c\u00a0\u00a0",
"\4\2\u0088\u0088\u0090\u0090\4\2GGXX\4\2##rr\b\2\608\u0082\u0082\u008f",
"\u008f\u0099\u0099\u009e\u00a0\u00a2\u00a2\b\2\608\u0082\u0082\u0088",
"\u0088\u008f\u0090\u0099\u0099\u009e\u00a0\7\2\608\u0082\u0082\u008f",
"\u008f\u0099\u0099\u009e\u00a2\7\2\608\u0082\u0082\u008f\u008f\u0099",
"\u0099\u009e\u00a0\u0957\2\u019e\3\2\2\2\4\u01af\3\2\2\2\6\u01b8\3\2",
"\2\2\b\u01be\3\2\2\2\n\u01c4\3\2\2\2\f\u01da\3\2\2\2\16\u01ea\3\2\2",
"\2\20\u01f4\3\2\2\2\22\u0205\3\2\2\2\24\u0208\3\2\2\2\26\u0215\3\2\2",
"\2\30\u021e\3\2\2\2\32\u0228\3\2\2\2\34\u0231\3\2\2\2\36\u023b\3\2\2",
"\2 \u024c\3\2\2\2\"\u025e\3\2\2\2$\u0264\3\2\2\2&\u0271\3\2\2\2(\u027f",
"\3\2\2\2*\u028f\3\2\2\2,\u029f\3\2\2\2.\u02b1\3\2\2\2\60\u02b4\3\2\2",
"\2\62\u02c7\3\2\2\2\64\u02de\3\2\2\2\66\u02e0\3\2\2\28\u02fc\3\2\2\2",
":\u02fe\3\2\2\2<\u0304\3\2\2\2>\u030a\3\2\2\2@\u0326\3\2\2\2B\u0328",
"\3\2\2\2D\u0335\3\2\2\2F\u0341\3\2\2\2H\u0347\3\2\2\2J\u0353\3\2\2\2",
"L\u0368\3\2\2\2N\u036c\3\2\2\2P\u03a0\3\2\2\2R\u03a2\3\2\2\2T\u03a5",
"\3\2\2\2V\u03ab\3\2\2\2X\u03b7\3\2\2\2Z\u03b9\3\2\2\2\\\u03c9\3\2\2",
"\2^\u03e2\3\2\2\2`\u0454\3\2\2\2b\u0458\3\2\2\2d\u045a\3\2\2\2f\u046d",
"\3\2\2\2h\u046f\3\2\2\2j\u0474\3\2\2\2l\u047b\3\2\2\2n\u0483\3\2\2\2",
"p\u04c3\3\2\2\2r\u04c5\3\2\2\2t\u04de\3\2\2\2v\u04e0\3\2\2\2x\u04ec",
"\3\2\2\2z\u04f6\3\2\2\2|\u04fa\3\2\2\2~\u0505\3\2\2\2\u0080\u0507\3",
"\2\2\2\u0082\u050c\3\2\2\2\u0084\u050f\3\2\2\2\u0086\u0514\3\2\2\2\u0088",
"\u0522\3\2\2\2\u008a\u052c\3\2\2\2\u008c\u0530\3\2\2\2\u008e\u0532\3",
"\2\2\2\u0090\u053b\3\2\2\2\u0092\u0544\3\2\2\2\u0094\u0556\3\2\2\2\u0096",
"\u0559\3\2\2\2\u0098\u0562\3\2\2\2\u009a\u056a\3\2\2\2\u009c\u0572\3",
"\2\2\2\u009e\u0584\3\2\2\2\u00a0\u0595\3\2\2\2\u00a2\u05a5\3\2\2\2\u00a4",
"\u05a7\3\2\2\2\u00a6\u05aa\3\2\2\2\u00a8\u05ae\3\2\2\2\u00aa\u05b3\3",
"\2\2\2\u00ac\u05b5\3\2\2\2\u00ae\u05bf\3\2\2\2\u00b0\u05c4\3\2\2\2\u00b2",
"\u05c6\3\2\2\2\u00b4\u05c8\3\2\2\2\u00b6\u05ca\3\2\2\2\u00b8\u05cc\3",
"\2\2\2\u00ba\u05ce\3\2\2\2\u00bc\u05db\3\2\2\2\u00be\u05df\3\2\2\2\u00c0",
"\u05e1\3\2\2\2\u00c2\u05e6\3\2\2\2\u00c4\u05eb\3\2\2\2\u00c6\u05ed\3",
"\2\2\2\u00c8\u05fb\3\2\2\2\u00ca\u0609\3\2\2\2\u00cc\u060b\3\2\2\2\u00ce",
"\u0617\3\2\2\2\u00d0\u0623\3\2\2\2\u00d2\u0625\3\2\2\2\u00d4\u0629\3",
"\2\2\2\u00d6\u0634\3\2\2\2\u00d8\u0638\3\2\2\2\u00da\u064a\3\2\2\2\u00dc",
"\u0652\3\2\2\2\u00de\u065e\3\2\2\2\u00e0\u0660\3\2\2\2\u00e2\u0662\3",
"\2\2\2\u00e4\u0675\3\2\2\2\u00e6\u0677\3\2\2\2\u00e8\u067e\3\2\2\2\u00ea",
"\u0685\3\2\2\2\u00ec\u068e\3\2\2\2\u00ee\u0697\3\2\2\2\u00f0\u06a0\3",
"\2\2\2\u00f2\u06b7\3\2\2\2\u00f4\u06c7\3\2\2\2\u00f6\u06c9\3\2\2\2\u00f8",
"\u06d5\3\2\2\2\u00fa\u06d7\3\2\2\2\u00fc\u06d9\3\2\2\2\u00fe\u06df\3",
"\2\2\2\u0100\u06e6\3\2\2\2\u0102\u06e9\3\2\2\2\u0104\u06f2\3\2\2\2\u0106",
"\u06fa\3\2\2\2\u0108\u0706\3\2\2\2\u010a\u070e\3\2\2\2\u010c\u071b\3",
"\2\2\2\u010e\u071d\3\2\2\2\u0110\u0721\3\2\2\2\u0112\u072f\3\2\2\2\u0114",
"\u0731\3\2\2\2\u0116\u0736\3\2\2\2\u0118\u073b\3\2\2\2\u011a\u0743\3",
"\2\2\2\u011c\u0754\3\2\2\2\u011e\u0756\3\2\2\2\u0120\u0759\3\2\2\2\u0122",
"\u075c\3\2\2\2\u0124\u075f\3\2\2\2\u0126\u0762\3\2\2\2\u0128\u0765\3",
"\2\2\2\u012a\u0767\3\2\2\2\u012c\u0769\3\2\2\2\u012e\u076b\3\2\2\2\u0130",
"\u076d\3\2\2\2\u0132\u076f\3\2\2\2\u0134\u0771\3\2\2\2\u0136\u077a\3",
"\2\2\2\u0138\u077c\3\2\2\2\u013a\u078d\3\2\2\2\u013c\u078f\3\2\2\2\u013e",
"\u0791\3\2\2\2\u0140\u0799\3\2\2\2\u0142\u079b\3\2\2\2\u0144\u07a2\3",
"\2\2\2\u0146\u07ad\3\2\2\2\u0148\u07b1\3\2\2\2\u014a\u07b5\3\2\2\2\u014c",
"\u07bc\3\2\2\2\u014e\u07be\3\2\2\2\u0150\u07c3\3\2\2\2\u0152\u07c5\3",
"\2\2\2\u0154\u07d3\3\2\2\2\u0156\u07db\3\2\2\2\u0158\u07dd\3\2\2\2\u015a",
"\u07ea\3\2\2\2\u015c\u07ec\3\2\2\2\u015e\u07f7\3\2\2\2\u0160\u0807\3",
"\2\2\2\u0162\u080e\3\2\2\2\u0164\u081d\3\2\2\2\u0166\u081f\3\2\2\2\u0168",
"\u0828\3\2\2\2\u016a\u082a\3\2\2\2\u016c\u0839\3\2\2\2\u016e\u083b\3",
"\2\2\2\u0170\u083d\3\2\2\2\u0172\u0843\3\2\2\2\u0174\u0845\3\2\2\2\u0176",
"\u084c\3\2\2\2\u0178\u0857\3\2\2\2\u017a\u085b\3\2\2\2\u017c\u085f\3",
"\2\2\2\u017e\u086a\3\2\2\2\u0180\u0879\3\2\2\2\u0182\u087b\3\2\2\2\u0184",
"\u0884\3\2\2\2\u0186\u0886\3\2\2\2\u0188\u0895\3\2\2\2\u018a\u0897\3",
"\2\2\2\u018c\u0899\3\2\2\2\u018e\u089f\3\2\2\2\u0190\u08a1\3\2\2\2\u0192",
"\u08a8\3\2\2\2\u0194\u08b3\3\2\2\2\u0196\u08b7\3\2\2\2\u0198\u08be\3",
"\2\2\2\u019a\u08cd\3\2\2\2\u019c\u08cf\3\2\2\2\u019e\u019f\7^\2\2\u019f",
"\u01a0\7P\2\2\u01a0\u01a5\5\u00b6\\\2\u01a1\u01a2\7\22\2\2\u01a2\u01a3",
"\5\u00dco\2\u01a3\u01a4\7\23\2\2\u01a4\u01a6\3\2\2\2\u01a5\u01a1\3\2",
"\2\2\u01a5\u01a6\3\2\2\2\u01a6\u01a9\3\2\2\2\u01a7\u01a8\7b\2\2\u01a8",
"\u01aa\5\u00b6\\\2\u01a9\u01a7\3\2\2\2\u01a9\u01aa\3\2\2\2\u01aa\u01ab",
"\3\2\2\2\u01ab\u01ac\7\26\2\2\u01ac\u01ad\5\u0090I\2\u01ad\u01ae\7\27",
"\2\2\u01ae\3\3\2\2\2\u01af\u01b0\7^\2\2\u01b0\u01b1\5\u00b6\\\2\u01b1",
"\u01b2\7\22\2\2\u01b2\u01b3\5\u00a2R\2\u01b3\u01b4\7\23\2\2\u01b4\u01b5",
"\7\26\2\2\u01b5\u01b6\5\u008eH\2\u01b6\u01b7\7\27\2\2\u01b7\5\3\2\2",
"\2\u01b8\u01b9\5\u00b8]\2\u01b9\u01ba\7\22\2\2\u01ba\u01bb\5x=\2\u01bb",
"\u01bc\7\23\2\2\u01bc\u01bd\7\16\2\2\u01bd\7\3\2\2\2\u01be\u01bf\5\u00b8",
"]\2\u01bf\u01c0\7)\2\2\u01c0\u01c1\5^\60\2\u01c1\u01c2\7\16\2\2\u01c2",
"\t\3\2\2\2\u01c3\u01c5\7\u008c\2\2\u01c4\u01c3\3\2\2\2\u01c4\u01c5\3",
"\2\2\2\u01c5\u01c6\3\2\2\2\u01c6\u01c7\7I\2\2\u01c7\u01c8\5\u00b4[\2",
"\u01c8\u01c9\7\r\2\2\u01c9\u01cb\5\u009eP\2\u01ca\u01cc\5\u0094K\2\u01cb",
"\u01ca\3\2\2\2\u01cb\u01cc\3\2\2\2\u01cc\u01d5\3\2\2\2\u01cd\u01ce\7",
"\u0095\2\2\u01ce\u01d3\7l\2\2\u01cf\u01d0\7\22\2\2\u01d0\u01d1\5\u00da",
"n\2\u01d1\u01d2\7\23\2\2\u01d2\u01d4\3\2\2\2\u01d3\u01cf\3\2\2\2\u01d3",
"\u01d4\3\2\2\2\u01d4\u01d6\3\2\2\2\u01d5\u01cd\3\2\2\2\u01d5\u01d6\3",
"\2\2\2\u01d6\u01d7\3\2\2\2\u01d7\u01d8\7\16\2\2\u01d8\13\3\2\2\2\u01d9",
"\u01db\7\u008c\2\2\u01da\u01d9\3\2\2\2\u01da\u01db\3\2\2\2\u01db\u01dc",
"\3\2\2\2\u01dc\u01dd\7P\2\2\u01dd\u01e2\5\u00b6\\\2\u01de\u01df\7\22",
"\2\2\u01df\u01e0\5\u00dco\2\u01e0\u01e1\7\23\2\2\u01e1\u01e3\3\2\2\2",
"\u01e2\u01de\3\2\2\2\u01e2\u01e3\3\2\2\2\u01e3\u01e6\3\2\2\2\u01e4\u01e5",
"\7b\2\2\u01e5\u01e7\5\20\t\2\u01e6\u01e4\3\2\2\2\u01e6\u01e7\3\2\2\2",
"\u01e7\u01e8\3\2\2\2\u01e8\u01e9\5\22\n\2\u01e9\r\3\2\2\2\u01ea\u01eb",
"\7\u008a\2\2\u01eb\u01f0\5\u00b6\\\2\u01ec\u01ed\7\22\2\2\u01ed\u01ee",
"\5\u00dco\2\u01ee\u01ef\7\23\2\2\u01ef\u01f1\3\2\2\2\u01f0\u01ec\3\2",
"\2\2\u01f0\u01f1\3\2\2\2\u01f1\u01f2\3\2\2\2\u01f2\u01f3\5\22\n\2\u01f3",
"\17\3\2\2\2\u01f4\u01f5\b\t\1\2\u01f5\u01f6\5\u00b6\\\2\u01f6\u01fc",
"\3\2\2\2\u01f7\u01f8\f\3\2\2\u01f8\u01f9\7\17\2\2\u01f9\u01fb\5\u00b6",
"\\\2\u01fa\u01f7\3\2\2\2\u01fb\u01fe\3\2\2\2\u01fc\u01fa\3\2\2\2\u01fc",
"\u01fd\3\2\2\2\u01fd\21\3\2\2\2\u01fe\u01fc\3\2\2\2\u01ff\u0206\7\16",
"\2\2\u0200\u0202\7\26\2\2\u0201\u0203\5\u00c8e\2\u0202\u0201\3\2\2\2",
"\u0202\u0203\3\2\2\2\u0203\u0204\3\2\2\2\u0204\u0206\7\27\2\2\u0205",
"\u01ff\3\2\2\2\u0205\u0200\3\2\2\2\u0206\23\3\2\2\2\u0207\u0209\5\u009e",
"P\2\u0208\u0207\3\2\2\2\u0208\u0209\3\2\2\2\u0209\u020a\3\2\2\2\u020a",
"\u020b\7|\2\2\u020b\u020c\5\u011c\u008f\2\u020c\u020d\7\22\2\2\u020d",
"\u020e\5\u00be`\2\u020e\u020f\7\23\2\2\u020f\u0211\7\26\2\2\u0210\u0212",
"\5\u00eav\2\u0211\u0210\3\2\2\2\u0211\u0212\3\2\2\2\u0212\u0213\3\2",
"\2\2\u0213\u0214\7\27\2\2\u0214\25\3\2\2\2\u0215\u0216\7\u0089\2\2\u0216",
"\u0217\5\u00b2Z\2\u0217\u0219\7\26\2\2\u0218\u021a\5\u00eav\2\u0219",
"\u0218\3\2\2\2\u0219\u021a\3\2\2\2\u021a\u021b\3\2\2\2\u021b\u021c\7",
"\27\2\2\u021c\27\3\2\2\2\u021d\u021f\7t\2\2\u021e\u021d\3\2\2\2\u021e",
"\u021f\3\2\2\2\u021f\u0220\3\2\2\2\u0220\u0221\7\u0089\2\2\u0221\u0222",
"\5\u00b2Z\2\u0222\u0224\7\26\2\2\u0223\u0225\5\u00e2r\2\u0224\u0223",
"\3\2\2\2\u0224\u0225\3\2\2\2\u0225\u0226\3\2\2\2\u0226\u0227\7\27\2",
"\2\u0227\31\3\2\2\2\u0228\u0229\7i\2\2\u0229\u022a\5\u00b2Z\2\u022a",
"\u022c\7\26\2\2\u022b\u022d\5\u00eav\2\u022c\u022b\3\2\2\2\u022c\u022d",
"\3\2\2\2\u022d\u022e\3\2\2\2\u022e\u022f\7\27\2\2\u022f\33\3\2\2\2\u0230",
"\u0232\7t\2\2\u0231\u0230\3\2\2\2\u0231\u0232\3\2\2\2\u0232\u0233\3",
"\2\2\2\u0233\u0234\7i\2\2\u0234\u0235\5\u00b2Z\2\u0235\u0237\7\26\2",
"\2\u0236\u0238\5\u00e2r\2\u0237\u0236\3\2\2\2\u0237\u0238\3\2\2\2\u0238",
"\u0239\3\2\2\2\u0239\u023a\7\27\2\2\u023a\35\3\2\2\2\u023b\u023c\7t",
"\2\2\u023c\u023d\7\u0084\2\2\u023d\u0242\5\u00b6\\\2\u023e\u023f\7\22",
"\2\2\u023f\u0240\5\u00dco\2\u0240\u0241\7\23\2\2\u0241\u0243\3\2\2\2",
"\u0242\u023e\3\2\2\2\u0242\u0243\3\2\2\2\u0243\u0244\3\2\2\2\u0244\u0245",
"\7\26\2\2\u0245\u0247\5\"\22\2\u0246\u0248\5\u00ccg\2\u0247\u0246\3",
"\2\2\2\u0247\u0248\3\2\2\2\u0248\u0249\3\2\2\2\u0249\u024a\7\27\2\2",
"\u024a\37\3\2\2\2\u024b\u024d\7\u008c\2\2\u024c\u024b\3\2\2\2\u024c",
"\u024d\3\2\2\2\u024d\u024e\3\2\2\2\u024e\u024f\7t\2\2\u024f\u0250\7",
"P\2\2\u0250\u0255\5\u00b6\\\2\u0251\u0252\7\22\2\2\u0252\u0253\5\u00dc",
"o\2\u0253\u0254\7\23\2\2\u0254\u0256\3\2\2\2\u0255\u0251\3\2\2\2\u0255",
"\u0256\3\2\2\2\u0256\u0257\3\2\2\2\u0257\u0258\7\26\2\2\u0258\u025a",
"\5\"\22\2\u0259\u025b\5\u00ccg\2\u025a\u0259\3\2\2\2\u025a\u025b\3\2",
"\2\2\u025b\u025c\3\2\2\2\u025c\u025d\7\27\2\2\u025d!\3\2\2\2\u025e\u025f",
"\7P\2\2\u025f\u0260\7K\2\2\u0260\u0261\7\26\2\2\u0261\u0262\5$\23\2",
"\u0262\u0263\7\27\2\2\u0263#\3\2\2\2\u0264\u0265\b\23\1\2\u0265\u0266",
"\5\u00d0i\2\u0266\u0267\7\16\2\2\u0267\u026e\3\2\2\2\u0268\u0269\f\3",
"\2\2\u0269\u026a\5\u00d0i\2\u026a\u026b\7\16\2\2\u026b\u026d\3\2\2\2",
"\u026c\u0268\3\2\2\2\u026d\u0270\3\2\2\2\u026e\u026c\3\2\2\2\u026e\u026f",
"\3\2\2\2\u026f%\3\2\2\2\u0270\u026e\3\2\2\2\u0271\u0273\7A\2\2\u0272",
"\u0274\5\u009eP\2\u0273\u0272\3\2\2\2\u0273\u0274\3\2\2\2\u0274\u0275",
"\3\2\2\2\u0275\u0276\7p\2\2\u0276\u0277\5\u00aeX\2\u0277\u0279\7\22",
"\2\2\u0278\u027a\5\u00ba^\2\u0279\u0278\3\2\2\2\u0279\u027a\3\2\2\2",
"\u027a\u027b\3\2\2\2\u027b\u027c\7\23\2\2\u027c\u027d\7\16\2\2\u027d",
"\'\3\2\2\2\u027e\u0280\5\u009eP\2\u027f\u027e\3\2\2\2\u027f\u0280\3",
"\2\2\2\u0280\u0281\3\2\2\2\u0281\u0282\7p\2\2\u0282\u0283\5\u00aeX\2",
"\u0283\u0285\7\22\2\2\u0284\u0286\5\u00ba^\2\u0285\u0284\3\2\2\2\u0285",
"\u0286\3\2\2\2\u0286\u0287\3\2\2\2\u0287\u0288\7\23\2\2\u0288\u028a",
"\7\26\2\2\u0289\u028b\5\u00eav\2\u028a\u0289\3\2\2\2\u028a\u028b\3\2",
"\2\2\u028b\u028c\3\2\2\2\u028c\u028d\7\27\2\2\u028d)\3\2\2\2\u028e\u0290",
"\5\u00c4c\2\u028f\u028e\3\2\2\2\u028f\u0290\3\2\2\2\u0290\u0292\3\2",
"\2\2\u0291\u0293\7t\2\2\u0292\u0291\3\2\2\2\u0292\u0293\3\2\2\2\u0293",
"\u0294\3\2\2\2\u0294\u0295\7p\2\2\u0295\u0296\5\u00aeX\2\u0296\u0298",
"\7\22\2\2\u0297\u0299\5\u00ba^\2\u0298\u0297\3\2\2\2\u0298\u0299\3\2",
"\2\2\u0299\u029a\3\2\2\2\u029a\u029b\7\23\2\2\u029b\u029c\7\26\2\2\u029c",
"\u029d\5\u00e2r\2\u029d\u029e\7\27\2\2\u029e+\3\2\2\2\u029f\u02a0\7",
"\u008f\2\2\u02a0\u02a1\7p\2\2\u02a1\u02a2\7\u00a3\2\2\u02a2\u02a3\7",
"\22\2\2\u02a3\u02a4\7\23\2\2\u02a4\u02a5\7\26\2\2\u02a5\u02a6\5\u00ea",
"v\2\u02a6\u02a7\7\27\2\2\u02a7\u02af\7\u0094\2\2\u02a8\u02a9\7\26\2",
"\2\u02a9\u02aa\5\u00ecw\2\u02aa\u02ab\7\27\2\2\u02ab\u02b0\3\2\2\2\u02ac",
"\u02ad\5\u00b8]\2\u02ad\u02ae\7\16\2\2\u02ae\u02b0\3\2\2\2\u02af\u02a8",
"\3\2\2\2\u02af\u02ac\3\2\2\2\u02b0-\3\2\2\2\u02b1\u02b2\5^\60\2\u02b2",
"\u02b3\7\16\2\2\u02b3/\3\2\2\2\u02b4\u02b9\5\u00c4c\2\u02b5\u02b6\7",
"\22\2\2\u02b6\u02b7\5\u00dco\2\u02b7\u02b8\7\23\2\2\u02b8\u02ba\3\2",
"\2\2\u02b9\u02b5\3\2\2\2\u02b9\u02ba\3\2\2\2\u02ba\u02bb\3\2\2\2\u02bb",
"\u02be\5\u00b2Z\2\u02bc\u02bd\7)\2\2\u02bd\u02bf\5\u00fe\u0080\2\u02be",
"\u02bc\3\2\2\2\u02be\u02bf\3\2\2\2\u02bf\61\3\2\2\2\u02c0\u02c8\5\64",
"\33\2\u02c1\u02c5\7\26\2\2\u02c2\u02c3\5\u00eav\2\u02c3\u02c4\7\27\2",
"\2\u02c4\u02c6\3\2\2\2\u02c5\u02c2\3\2\2\2\u02c5\u02c6\3\2\2\2\u02c6",
"\u02c8\3\2\2\2\u02c7\u02c0\3\2\2\2\u02c7\u02c1\3\2\2\2\u02c8\63\3\2",
"\2\2\u02c9\u02ca\5V,\2\u02ca\u02cb\7\16\2\2\u02cb\u02df\3\2\2\2\u02cc",
"\u02df\5|?\2\u02cd\u02df\5\u0080A\2\u02ce\u02df\58\35\2\u02cf\u02df",
"\5\66\34\2\u02d0\u02df\5R*\2\u02d1\u02df\5T+\2\u02d2\u02df\5H%\2\u02d3",
"\u02df\5> \2\u02d4\u02df\5B\"\2\u02d5\u02df\5F$\2\u02d6\u02df\5D#\2",
"\u02d7\u02df\5N(\2\u02d8\u02df\5L\'\2\u02d9\u02df\5l\67\2\u02da\u02df",
"\5:\36\2\u02db\u02df\5<\37\2\u02dc\u02df\5(\25\2\u02dd\u02df\5\u00e0",
"q\2\u02de\u02c9\3\2\2\2\u02de\u02cc\3\2\2\2\u02de\u02cd\3\2\2\2\u02de",
"\u02ce\3\2\2\2\u02de\u02cf\3\2\2\2\u02de\u02d0\3\2\2\2\u02de\u02d1\3",
"\2\2\2\u02de\u02d2\3\2\2\2\u02de\u02d3\3\2\2\2\u02de\u02d4\3\2\2\2\u02de",
"\u02d5\3\2\2\2\u02de\u02d6\3\2\2\2\u02de\u02d7\3\2\2\2\u02de\u02d8\3",
"\2\2\2\u02de\u02d9\3\2\2\2\u02de\u02da\3\2\2\2\u02de\u02db\3\2\2\2\u02de",
"\u02dc\3\2\2\2\u02de\u02dd\3\2\2\2\u02df\65\3\2\2\2\u02e0\u02e1\7f\2",
"\2\u02e1\u02e2\7\22\2\2\u02e2\u02e3\7\23\2\2\u02e3\u02e4\7\16\2\2\u02e4",
"\67\3\2\2\2\u02e5\u02e6\7W\2\2\u02e6\u02e7\7\22\2\2\u02e7\u02e8\5\u009a",
"N\2\u02e8\u02e9\7\23\2\2\u02e9\u02ea\7\16\2\2\u02ea\u02fd\3\2\2\2\u02eb",
"\u02ec\7\u008d\2\2\u02ec\u02ed\7\22\2\2\u02ed\u02ee\5\u009aN\2\u02ee",
"\u02ef\7\23\2\2\u02ef\u02f0\7\16\2\2\u02f0\u02fd\3\2\2\2\u02f1\u02f2",
"\7W\2\2\u02f2\u02f3\7\22\2\2\u02f3\u02f4\5\u009aN\2\u02f4\u02f5\7\23",
"\2\2\u02f5\u02f6\7D\2\2\u02f6\u02f7\7\u008d\2\2\u02f7\u02f8\7\22\2\2",
"\u02f8\u02f9\5\u009aN\2\u02f9\u02fa\7\23\2\2\u02fa\u02fb\7\16\2\2\u02fb",
"\u02fd\3\2\2\2\u02fc\u02e5\3\2\2\2\u02fc\u02eb\3\2\2\2\u02fc\u02f1\3",
"\2\2\2\u02fd9\3\2\2\2\u02fe\u02ff\7\u0095\2\2\u02ff\u0300\7\22\2\2\u0300",
"\u0301\5\u010e\u0088\2\u0301\u0302\7\23\2\2\u0302\u0303\5\62\32\2\u0303",
";\3\2\2\2\u0304\u0305\7\u0095\2\2\u0305\u0306\7\22\2\2\u0306\u0307\5",
"\u00b6\\\2\u0307\u0308\7\23\2\2\u0308\u0309\5\62\32\2\u0309=\3\2\2\2",
"\u030a\u030b\7\u008e\2\2\u030b\u030c\7\22\2\2\u030c\u030d\5^\60\2\u030d",
"\u030e\7\23\2\2\u030e\u030f\7\26\2\2\u030f\u0315\5\u00eex\2\u0310\u0311",
"\7U\2\2\u0311\u0313\7\r\2\2\u0312\u0314\5\u00eav\2\u0313\u0312\3\2\2",
"\2\u0313\u0314\3\2\2\2\u0314\u0316\3\2\2\2\u0315\u0310\3\2\2\2\u0315",
"\u0316\3\2\2\2\u0316\u0317\3\2\2\2\u0317\u0318\7\27\2\2\u0318?\3\2\2",
"\2\u0319\u031a\7N\2\2\u031a\u031b\5\u00f4{\2\u031b\u031d\7\r\2\2\u031c",
"\u031e\5\u00eav\2\u031d\u031c\3\2\2\2\u031d\u031e\3\2\2\2\u031e\u0327",
"\3\2\2\2\u031f\u0320\7N\2\2\u0320\u0321\7k\2\2\u0321\u0322\5\u00f2z",
"\2\u0322\u0324\7\r\2\2\u0323\u0325\5\u00eav\2\u0324\u0323\3\2\2\2\u0324",
"\u0325\3\2\2\2\u0325\u0327\3\2\2\2\u0326\u0319\3\2\2\2\u0326\u031f\3",
"\2\2\2\u0327A\3\2\2\2\u0328\u0329\7g\2\2\u0329\u032a\7[\2\2\u032a\u032b",
"\7\22\2\2\u032b\u032e\5\u00b2Z\2\u032c\u032d\7\17\2\2\u032d\u032f\5",
"\u00b2Z\2\u032e\u032c\3\2\2\2\u032e\u032f\3\2\2\2\u032f\u0330\3\2\2",
"\2\u0330\u0331\7k\2\2\u0331\u0332\5^\60\2\u0332\u0333\7\23\2\2\u0333",
"\u0334\5\62\32\2\u0334C\3\2\2\2\u0335\u0336\7Y\2\2\u0336\u0338\7\26",
"\2\2\u0337\u0339\5\u00eav\2\u0338\u0337\3\2\2\2\u0338\u0339\3\2\2\2",
"\u0339\u033a\3\2\2\2\u033a\u033b\7\27\2\2\u033b\u033c\7\u0098\2\2\u033c",
"\u033d\7\22\2\2\u033d\u033e\5^\60\2\u033e\u033f\7\23\2\2\u033f\u0340",
"\7\16\2\2\u0340E\3\2\2\2\u0341\u0342\7\u0098\2\2\u0342\u0343\7\22\2",
"\2\u0343\u0344\5^\60\2\u0344\u0345\7\23\2\2\u0345\u0346\5\62\32\2\u0346",
"G\3\2\2\2\u0347\u0348\7j\2\2\u0348\u0349\7\22\2\2\u0349\u034a\5^\60",
"\2\u034a\u034b\7\23\2\2\u034b\u034d\5\62\32\2\u034c\u034e\5J&\2\u034d",
"\u034c\3\2\2\2\u034d\u034e\3\2\2\2\u034e\u0351\3\2\2\2\u034f\u0350\7",
"\\\2\2\u0350\u0352\5\62\32\2\u0351\u034f\3\2\2\2\u0351\u0352\3\2\2\2",
"\u0352I\3\2\2\2\u0353\u0354\b&\1\2\u0354\u0355\7\\\2\2\u0355\u0356\7",
"j\2\2\u0356\u0357\7\22\2\2\u0357\u0358\5^\60\2\u0358\u0359\7\23\2\2",
"\u0359\u035a\5\62\32\2\u035a\u0365\3\2\2\2\u035b\u035c\f\3\2\2\u035c",
"\u035d\7\\\2\2\u035d\u035e\7j\2\2\u035e\u035f\7\22\2\2\u035f\u0360\5",
"^\60\2\u0360\u0361\7\23\2\2\u0361\u0362\5\62\32\2\u0362\u0364\3\2\2",
"\2\u0363\u035b\3\2\2\2\u0364\u0367\3\2\2\2\u0365\u0363\3\2\2\2\u0365",
"\u0366\3\2\2\2\u0366K\3\2\2\2\u0367\u0365\3\2\2\2\u0368\u0369\7\u0091",
"\2\2\u0369\u036a\5^\60\2\u036a\u036b\7\16\2\2\u036bM\3\2\2\2\u036c\u036d",
"\7\u0093\2\2\u036d\u036e\7\22\2\2\u036e\u036f\5\u00b2Z\2\u036f\u0370",
"\7\23\2\2\u0370\u0372\7\26\2\2\u0371\u0373\5\u00eav\2\u0372\u0371\3",
"\2\2\2\u0372\u0373\3\2\2\2\u0373\u0374\3\2\2\2\u0374\u0376\7\27\2\2",
"\u0375\u0377\5\u00f0y\2\u0376\u0375\3\2\2\2\u0376\u0377\3\2\2\2\u0377",
"\u0381\3\2\2\2\u0378\u0379\7O\2\2\u0379\u037a\7\22\2\2\u037a\u037b\7",
"E\2\2\u037b\u037c\7\23\2\2\u037c\u037e\7\26\2\2\u037d\u037f\5\u00ea",
"v\2\u037e\u037d\3\2\2\2\u037e\u037f\3\2\2\2\u037f\u0380\3\2\2\2\u0380",
"\u0382\7\27\2\2\u0381\u0378\3\2\2\2\u0381\u0382\3\2\2\2\u0382\u0389",
"\3\2\2\2\u0383\u0384\7e\2\2\u0384\u0386\7\26\2\2\u0385\u0387\5\u00ea",
"v\2\u0386\u0385\3\2\2\2\u0386\u0387\3\2\2\2\u0387\u0388\3\2\2\2\u0388",
"\u038a\7\27\2\2\u0389\u0383\3\2\2\2\u0389\u038a\3\2\2\2\u038aO\3\2\2",
"\2\u038b\u038c\7O\2\2\u038c\u038d\7\22\2\2\u038d\u038e\5\u00b8]\2\u038e",
"\u038f\7\23\2\2\u038f\u0391\7\26\2\2\u0390\u0392\5\u00eav\2\u0391\u0390",
"\3\2\2\2\u0391\u0392\3\2\2\2\u0392\u0393\3\2\2\2\u0393\u0394\7\27\2",
"\2\u0394\u03a1\3\2\2\2\u0395\u0396\7O\2\2\u0396\u0397\7k\2\2\u0397\u0398",
"\7\22\2\2\u0398\u0399\5\u0092J\2\u0399\u039a\7\23\2\2\u039a\u039c\7",
"\26\2\2\u039b\u039d\5\u00eav\2\u039c\u039b\3\2\2\2\u039c\u039d\3\2\2",
"\2\u039d\u039e\3\2\2\2\u039e\u039f\7\27\2\2\u039f\u03a1\3\2\2\2\u03a0",
"\u038b\3\2\2\2\u03a0\u0395\3\2\2\2\u03a1Q\3\2\2\2\u03a2\u03a3\7L\2\2",
"\u03a3\u03a4\7\16\2\2\u03a4S\3\2\2\2\u03a5\u03a7\7\u0085\2\2\u03a6\u03a8",
"\5^\60\2\u03a7\u03a6\3\2\2\2\u03a7\u03a8\3\2\2\2\u03a8\u03a9\3\2\2\2",
"\u03a9\u03aa\7\16\2\2\u03aaU\3\2\2\2\u03ab\u03ac\5X-\2\u03ac\u03ae\7",
"\22\2\2\u03ad\u03af\5x=\2\u03ae\u03ad\3\2\2\2\u03ae\u03af\3\2\2\2\u03af",
"\u03b0\3\2\2\2\u03b0\u03b1\7\23\2\2\u03b1W\3\2\2\2\u03b2\u03b8\5\u00ae",
"X\2\u03b3\u03b4\5Z.\2\u03b4\u03b5\7\21\2\2\u03b5\u03b6\5\u00aeX\2\u03b6",
"\u03b8\3\2\2\2\u03b7\u03b2\3\2\2\2\u03b7\u03b3\3\2\2\2\u03b8Y\3\2\2",
"\2\u03b9\u03ba\b.\1\2\u03ba\u03bb\5\u00b0Y\2\u03bb\u03c0\3\2\2\2\u03bc",
"\u03bd\f\3\2\2\u03bd\u03bf\5\\/\2\u03be\u03bc\3\2\2\2\u03bf\u03c2\3",
"\2\2\2\u03c0\u03be\3\2\2\2\u03c0\u03c1\3\2\2\2\u03c1[\3\2\2\2\u03c2",
"\u03c0\3\2\2\2\u03c3\u03c4\7\21\2\2\u03c4\u03ca\5\u00b2Z\2\u03c5\u03c6",
"\7\24\2\2\u03c6\u03c7\5^\60\2\u03c7\u03c8\7\25\2\2\u03c8\u03ca\3\2\2",
"\2\u03c9\u03c3\3\2\2\2\u03c9\u03c5\3\2\2\2\u03ca]\3\2\2\2\u03cb\u03cc",
"\b\60\1\2\u03cc\u03cd\7\37\2\2\u03cd\u03e3\5^\60$\u03ce\u03cf\7\31\2",
"\2\u03cf\u03e3\5^\60#\u03d0\u03d1\7\22\2\2\u03d1\u03d2\5\u00c4c\2\u03d2",
"\u03d3\7\23\2\2\u03d3\u03d4\5^\60\17\u03d4\u03e3\3\2\2\2\u03d5\u03e3",
"\5d\63\2\u03d6\u03e3\5f\64\2\u03d7\u03d8\7:\2\2\u03d8\u03d9\7\22\2\2",
"\u03d9\u03da\5^\60\2\u03da\u03db\7\23\2\2\u03db\u03e3\3\2\2\2\u03dc",
"\u03dd\7`\2\2\u03dd\u03de\7\22\2\2\u03de\u03df\5\u00b2Z\2\u03df\u03e0",
"\7\23\2\2\u03e0\u03e3\3\2\2\2\u03e1\u03e3\5b\62\2\u03e2\u03cb\3\2\2",
"\2\u03e2\u03ce\3\2\2\2\u03e2\u03d0\3\2\2\2\u03e2\u03d5\3\2\2\2\u03e2",
"\u03d6\3\2\2\2\u03e2\u03d7\3\2\2\2\u03e2\u03dc\3\2\2\2\u03e2\u03e1\3",
"\2\2\2\u03e3\u0451\3\2\2\2\u03e4\u03e5\f\"\2\2\u03e5\u03e6\5\u012a\u0096",
"\2\u03e6\u03e7\5^\60#\u03e7\u0450\3\2\2\2\u03e8\u03e9\f!\2\2\u03e9\u03ea",
"\5\u012c\u0097\2\u03ea\u03eb\5^\60\"\u03eb\u0450\3\2\2\2\u03ec\u03ed",
"\f \2\2\u03ed\u03ee\5\u0130\u0099\2\u03ee\u03ef\5^\60!\u03ef\u0450\3",
"\2\2\2\u03f0\u03f1\f\37\2\2\u03f1\u03f2\5\u012e\u0098\2\u03f2\u03f3",
"\5^\60 \u03f3\u0450\3\2\2\2\u03f4\u03f5\f\36\2\2\u03f5\u03f6\t\2\2\2",
"\u03f6\u0450\5^\60\37\u03f7\u03f8\f\35\2\2\u03f8\u03f9\7&\2\2\u03f9",
"\u0450\5^\60\36\u03fa\u03fb\f\34\2\2\u03fb\u03fc\7\'\2\2\u03fc\u0450",
"\5^\60\35\u03fd\u03fe\f\33\2\2\u03fe\u03ff\7$\2\2\u03ff\u0450\5^\60",
"\34\u0400\u0401\f\32\2\2\u0401\u0402\7%\2\2\u0402\u0450\5^\60\33\u0403",
"\u0404\f\27\2\2\u0404\u0405\7n\2\2\u0405\u0406\7v\2\2\u0406\u0450\5",
"^\60\30\u0407\u0408\f\26\2\2\u0408\u0409\7n\2\2\u0409\u0450\5^\60\27",
"\u040a\u040b\f\25\2\2\u040b\u040c\7+\2\2\u040c\u0450\5^\60\26\u040d",
"\u040e\f\24\2\2\u040e\u040f\7*\2\2\u040f\u0450\5^\60\25\u0410\u0411",
"\f\23\2\2\u0411\u0412\7,\2\2\u0412\u0450\5^\60\24\u0413\u0414\f\22\2",
"\2\u0414\u0415\7\35\2\2\u0415\u0450\5^\60\23\u0416\u0417\f\21\2\2\u0417",
"\u0418\7\33\2\2\u0418\u0450\5^\60\22\u0419\u041a\f\20\2\2\u041a\u041b",
"\7\30\2\2\u041b\u041c\5^\60\2\u041c\u041d\7\r\2\2\u041d\u041e\5^\60",
"\21\u041e\u0450\3\2\2\2\u041f\u0420\f\16\2\2\u0420\u0421\7k\2\2\u0421",
"\u0450\5^\60\17\u0422\u0423\f\r\2\2\u0423\u0424\7S\2\2\u0424\u0450\5",
"^\60\16\u0425\u0426\f\f\2\2\u0426\u0427\7S\2\2\u0427\u0428\7B\2\2\u0428",
"\u0450\5^\60\r\u0429\u042a\f\13\2\2\u042a\u042b\7S\2\2\u042b\u042c\7",
"E\2\2\u042c\u0450\5^\60\f\u042d\u042e\f\n\2\2\u042e\u042f\7v\2\2\u042f",
"\u0430\7k\2\2\u0430\u0450\5^\60\13\u0431\u0432\f\t\2\2\u0432\u0433\7",
"v\2\2\u0433\u0434\7S\2\2\u0434\u0450\5^\60\n\u0435\u0436\f\b\2\2\u0436",
"\u0437\7v\2\2\u0437\u0438\7S\2\2\u0438\u0439\7B\2\2\u0439\u0450\5^\60",
"\t\u043a\u043b\f\7\2\2\u043b\u043c\7v\2\2\u043c\u043d\7S\2\2\u043d\u043e",
"\7E\2\2\u043e\u0450\5^\60\b\u043f\u0440\f\31\2\2\u0440\u0441\7n\2\2",
"\u0441\u0442\7v\2\2\u0442\u0450\5`\61\2\u0443\u0444\f\30\2\2\u0444\u0445",
"\7n\2\2\u0445\u0450\5`\61\2\u0446\u0447\f\3\2\2\u0447\u0448\7g\2\2\u0448",
"\u0449\7[\2\2\u0449\u044a\7\22\2\2\u044a\u044b\5\u00b2Z\2\u044b\u044c",
"\7k\2\2\u044c\u044d\5^\60\2\u044d\u044e\7\23\2\2\u044e\u0450\3\2\2\2",
"\u044f\u03e4\3\2\2\2\u044f\u03e8\3\2\2\2\u044f\u03ec\3\2\2\2\u044f\u03f0",
"\3\2\2\2\u044f\u03f4\3\2\2\2\u044f\u03f7\3\2\2\2\u044f\u03fa\3\2\2\2",
"\u044f\u03fd\3\2\2\2\u044f\u0400\3\2\2\2\u044f\u0403\3\2\2\2\u044f\u0407",
"\3\2\2\2\u044f\u040a\3\2\2\2\u044f\u040d\3\2\2\2\u044f\u0410\3\2\2\2",
"\u044f\u0413\3\2\2\2\u044f\u0416\3\2\2\2\u044f\u0419\3\2\2\2\u044f\u041f",
"\3\2\2\2\u044f\u0422\3\2\2\2\u044f\u0425\3\2\2\2\u044f\u0429\3\2\2\2",
"\u044f\u042d\3\2\2\2\u044f\u0431\3\2\2\2\u044f\u0435\3\2\2\2\u044f\u043a",
"\3\2\2\2\u044f\u043f\3\2\2\2\u044f\u0443\3\2\2\2\u044f\u0446\3\2\2\2",
"\u0450\u0453\3\2\2\2\u0451\u044f\3\2\2\2\u0451\u0452\3\2\2\2\u0452_",
"\3\2\2\2\u0453\u0451\3\2\2\2\u0454\u0455\6\61\"\3\u0455\u0456\7\u00a0",
"\2\2\u0456\u0457\5\u00c4c\2\u0457a\3\2\2\2\u0458\u0459\5\u00b6\\\2\u0459",
"c\3\2\2\2\u045a\u045b\b\63\1\2\u045b\u045c\5\u00f8}\2\u045c\u0461\3",
"\2\2\2\u045d\u045e\f\3\2\2\u045e\u0460\5t;\2\u045f\u045d\3\2\2\2\u0460",
"\u0463\3\2\2\2\u0461\u045f\3\2\2\2\u0461\u0462\3\2\2\2\u0462e\3\2\2",
"\2\u0463\u0461\3\2\2\2\u0464\u046e\5h\65\2\u0465\u046e\5j\66\2\u0466",
"\u046e\5n8\2\u0467\u046e\5p9\2\u0468\u046e\5\u0114\u008b\2\u0469\u046e",
"\5\u0116\u008c\2\u046a\u046e\5r:\2\u046b\u046e\5V,\2\u046c\u046e\5v",
"<\2\u046d\u0464\3\2\2\2\u046d\u0465\3\2\2\2\u046d\u0466\3\2\2\2\u046d",
"\u0467\3\2\2\2\u046d\u0468\3\2\2\2\u046d\u0469\3\2\2\2\u046d\u046a\3",
"\2\2\2\u046d\u046b\3\2\2\2\u046d\u046c\3\2\2\2\u046eg\3\2\2\2\u046f",
"\u0470\7<\2\2\u0470\u0471\7\22\2\2\u0471\u0472\5^\60\2\u0472\u0473\7",
"\23\2\2\u0473i\3\2\2\2\u0474\u0475\7;\2\2\u0475\u0477\7\22\2\2\u0476",
"\u0478\5^\60\2\u0477\u0476\3\2\2\2\u0477\u0478\3\2\2\2\u0478\u0479\3",
"\2\2\2\u0479\u047a\7\23\2\2\u047ak\3\2\2\2\u047b\u047c\7\u0099\2\2\u047c",
"\u047d\7\22\2\2\u047d\u047e\5^\60\2\u047e\u047f\7\23\2\2\u047f\u0480",
"\7\u0092\2\2\u0480\u0481\5^\60\2\u0481\u0482\7\16\2\2\u0482m\3\2\2\2",
"\u0483\u0484\7d\2\2\u0484\u0485\7\22\2\2\u0485\u0486\5^\60\2\u0486\u0487",
"\7\23\2\2\u0487\u0488\7\u0095\2\2\u0488\u0489\7\22\2\2\u0489\u048a\5",
"\u00b2Z\2\u048a\u048b\7\23\2\2\u048b\u048c\7\u0097\2\2\u048c\u048d\7",
"\22\2\2\u048d\u048e\5^\60\2\u048e\u048f\7\23\2\2\u048fo\3\2\2\2\u0490",
"\u0491\7c\2\2\u0491\u0496\7z\2\2\u0492\u0493\7\22\2\2\u0493\u0494\5",
"\u00a6T\2\u0494\u0495\7\23\2\2\u0495\u0497\3\2\2\2\u0496\u0492\3\2\2",
"\2\u0496\u0497\3\2\2\2\u0497\u0498\3\2\2\2\u0498\u0499\7\u0097\2\2\u0499",
"\u049a\7\22\2\2\u049a\u049b\5^\60\2\u049b\u049c\7\23\2\2\u049c\u04c4",
"\3\2\2\2\u049d\u04b2\7c\2\2\u049e\u04a3\7B\2\2\u049f\u04a0\7\22\2\2",
"\u04a0\u04a1\5\u00a6T\2\u04a1\u04a2\7\23\2\2\u04a2\u04a4\3\2\2\2\u04a3",
"\u049f\3\2\2\2\u04a3\u04a4\3\2\2\2\u04a4\u04b3\3\2\2\2\u04a5\u04a6\7",
"\22\2\2\u04a6\u04a7\5\u00a6T\2\u04a7\u04a8\7\23\2\2\u04a8\u04aa\3\2",
"\2\2\u04a9\u04a5\3\2\2\2\u04a9\u04aa\3\2\2\2\u04aa\u04ab\3\2\2\2\u04ab",
"\u04ac\7\u0087\2\2\u04ac\u04ad\7\22\2\2\u04ad\u04ae\5^\60\2\u04ae\u04af",
"\7\u0092\2\2\u04af\u04b0\5^\60\2\u04b0\u04b1\7\23\2\2\u04b1\u04b3\3",
"\2\2\2\u04b2\u049e\3\2\2\2\u04b2\u04a9\3\2\2\2\u04b3\u04b9\3\2\2\2\u04b4",
"\u04b5\7\u0097\2\2\u04b5\u04b6\7\22\2\2\u04b6\u04b7\5^\60\2\u04b7\u04b8",
"\7\23\2\2\u04b8\u04ba\3\2\2\2\u04b9\u04b4\3\2\2\2\u04b9\u04ba\3\2\2",
"\2\u04ba\u04c1\3\2\2\2\u04bb\u04bc\7~\2\2\u04bc\u04bd\7M\2\2\u04bd\u04be",
"\7\22\2\2\u04be\u04bf\5\u0118\u008d\2\u04bf\u04c0\7\23\2\2\u04c0\u04c2",
"\3\2\2\2\u04c1\u04bb\3\2\2\2\u04c1\u04c2\3\2\2\2\u04c2\u04c4\3\2\2\2",
"\u04c3\u0490\3\2\2\2\u04c3\u049d\3\2\2\2\u04c4q\3\2\2\2\u04c5\u04c7",
"\7\u008b\2\2\u04c6\u04c8\7X\2\2\u04c7\u04c6\3\2\2\2\u04c7\u04c8\3\2",
"\2\2\u04c8\u04c9\3\2\2\2\u04c9\u04ca\7\22\2\2\u04ca\u04d0\5d\63\2\u04cb",
"\u04cc\7\17\2\2\u04cc\u04cd\5\u0120\u0091\2\u04cd\u04ce\7)\2\2\u04ce",
"\u04cf\5d\63\2\u04cf\u04d1\3\2\2\2\u04d0\u04cb\3\2\2\2\u04d0\u04d1\3",
"\2\2\2\u04d1\u04d2\3\2\2\2\u04d2\u04d3\7\23\2\2\u04d3s\3\2\2\2\u04d4",
"\u04d5\7\21\2\2\u04d5\u04df\5\u00b2Z\2\u04d6\u04d7\7\24\2\2\u04d7\u04d8",
"\5^\60\2\u04d8\u04d9\7\25\2\2\u04d9\u04df\3\2\2\2\u04da\u04db\7\24\2",
"\2\u04db\u04dc\5\u010c\u0087\2\u04dc\u04dd\7\25\2\2\u04dd\u04df\3\2",
"\2\2\u04de\u04d4\3\2\2\2\u04de\u04d6\3\2\2\2\u04de\u04da\3\2\2\2\u04df",
"u\3\2\2\2\u04e0\u04e1\5\u00a6T\2\u04e1\u04e3\7\22\2\2\u04e2\u04e4\5",
"x=\2\u04e3\u04e2\3\2\2\2\u04e3\u04e4\3\2\2\2\u04e4\u04e5\3\2\2\2\u04e5",
"\u04e6\7\23\2\2\u04e6w\3\2\2\2\u04e7\u04e8\b=\1\2\u04e8\u04e9\5^\60",
"\2\u04e9\u04ea\6=$\3\u04ea\u04ed\3\2\2\2\u04eb\u04ed\5z>\2\u04ec\u04e7",
"\3\2\2\2\u04ec\u04eb\3\2\2\2\u04ed\u04f3\3\2\2\2\u04ee\u04ef\f\3\2\2",
"\u04ef\u04f0\7\17\2\2\u04f0\u04f2\5z>\2\u04f1\u04ee\3\2\2\2\u04f2\u04f5",
"\3\2\2\2\u04f3\u04f1\3\2\2\2\u04f3\u04f4\3\2\2\2\u04f4y\3\2\2\2\u04f5",
"\u04f3\3\2\2\2\u04f6\u04f7\5\u00b2Z\2\u04f7\u04f8\5\u0128\u0095\2\u04f8",
"\u04f9\5^\60\2\u04f9{\3\2\2\2\u04fa\u04fb\5\u0110\u0089\2\u04fb\u04fc",
"\5\u0128\u0095\2\u04fc\u04fd\5^\60\2\u04fd\u04fe\7\16\2\2\u04fe}\3\2",
"\2\2\u04ff\u0500\7\21\2\2\u0500\u0506\5\u00b2Z\2\u0501\u0502\7\24\2",
"\2\u0502\u0503\5^\60\2\u0503\u0504\7\25\2\2\u0504\u0506\3\2\2\2\u0505",
"\u04ff\3\2\2\2\u0505\u0501\3\2\2\2\u0506\177\3\2\2\2\u0507\u0508\5\u00da",
"n\2\u0508\u0509\5\u0128\u0095\2\u0509\u050a\5^\60\2\u050a\u050b\7\16",
"\2\2\u050b\u0081\3\2\2\2\u050c\u050d\7x\2\2\u050d\u0083\3\2\2\2\u050e",
"\u0510\5\u0086D\2\u050f\u050e\3\2\2\2\u050f\u0510\3\2\2\2\u0510\u0511",
"\3\2\2\2\u0511\u0512\5\u0132\u009a\2\u0512\u0513\7\2\2\3\u0513\u0085",
"\3\2\2\2\u0514\u051a\5\u0088E\2\u0515\u0516\5\u0134\u009b\2\u0516\u0517",
"\5\u0088E\2\u0517\u0519\3\2\2\2\u0518\u0515\3\2\2\2\u0519\u051c\3\2",
"\2\2\u051a\u0518\3\2\2\2\u051a\u051b\3\2\2\2\u051b\u0087\3\2\2\2\u051c",
"\u051a\3\2\2\2\u051d\u051e\5\u00e0q\2\u051e\u051f\5\u0134\u009b\2\u051f",
"\u0521\3\2\2\2\u0520\u051d\3\2\2\2\u0521\u0524\3\2\2\2\u0522\u0520\3",
"\2\2\2\u0522\u0523\3\2\2\2\u0523\u052a\3\2\2\2\u0524\u0522\3\2\2\2\u0525",
"\u052b\5\n\6\2\u0526\u052b\5\u00aaV\2\u0527\u052b\5\u008aF\2\u0528\u052b",
"\5\u008cG\2\u0529\u052b\5\u00dep\2\u052a\u0525\3\2\2\2\u052a\u0526\3",
"\2\2\2\u052a\u0527\3\2\2\2\u052a\u0528\3\2\2\2\u052a\u0529\3\2\2\2\u052b",
"\u0089\3\2\2\2\u052c\u052d\5\36\20\2\u052d\u008b\3\2\2\2\u052e\u0531",
"\5\2\2\2\u052f\u0531\5\4\3\2\u0530\u052e\3\2\2\2\u0530\u052f\3\2\2\2",
"\u0531\u008d\3\2\2\2\u0532\u0538\5\b\5\2\u0533\u0534\5\u0134\u009b\2",
"\u0534\u0535\5\b\5\2\u0535\u0537\3\2\2\2\u0536\u0533\3\2\2\2\u0537\u053a",
"\3\2\2\2\u0538\u0536\3\2\2\2\u0538\u0539\3\2\2\2\u0539\u008f\3\2\2\2",
"\u053a\u0538\3\2\2\2\u053b\u0541\5\6\4\2\u053c\u053d\5\u0134\u009b\2",
"\u053d\u053e\5\6\4\2\u053e\u0540\3\2\2\2\u053f\u053c\3\2\2\2\u0540\u0543",
"\3\2\2\2\u0541\u053f\3\2\2\2\u0541\u0542\3\2\2\2\u0542\u0091\3\2\2\2",
"\u0543\u0541\3\2\2\2\u0544\u0549\5\u00b8]\2\u0545\u0546\7\17\2\2\u0546",
"\u0548\5\u00b8]\2\u0547\u0545\3\2\2\2\u0548\u054b\3\2\2\2\u0549\u0547",
"\3\2\2\2\u0549\u054a\3\2\2\2\u054a\u0093\3\2\2\2\u054b\u0549\3\2\2\2",
"\u054c\u054d\7k\2\2\u054d\u0557\5\u0096L\2\u054e\u054f\7k\2\2\u054f",
"\u0557\5\u0098M\2\u0550\u0551\7k\2\2\u0551\u0557\5\u009cO\2\u0552\u0553",
"\7o\2\2\u0553\u0557\7\u00a3\2\2\u0554\u0555\7o\2\2\u0555\u0557\5^\60",
"\2\u0556\u054c\3\2\2\2\u0556\u054e\3\2\2\2\u0556\u0550\3\2\2\2\u0556",
"\u0552\3\2\2\2\u0556\u0554\3\2\2\2\u0557\u0095\3\2\2\2\u0558\u055a\7",
"s\2\2\u0559\u0558\3\2\2\2\u0559\u055a\3\2\2\2\u055a\u055b\3\2\2\2\u055b",
"\u055d\7\24\2\2\u055c\u055e\5\u009aN\2\u055d\u055c\3\2\2\2\u055d\u055e",
"\3\2\2\2\u055e\u055f\3\2\2\2\u055f\u0560\7\25\2\2\u0560\u0097\3\2\2",
"\2\u0561\u0563\7s\2\2\u0562\u0561\3\2\2\2\u0562\u0563\3\2\2\2\u0563",
"\u0564\3\2\2\2\u0564\u0566\7&\2\2\u0565\u0567\5\u009aN\2\u0566\u0565",
"\3\2\2\2\u0566\u0567\3\2\2\2\u0567\u0568\3\2\2\2\u0568\u0569\7$\2\2",
"\u0569\u0099\3\2\2\2\u056a\u056f\5^\60\2\u056b\u056c\7\17\2\2\u056c",
"\u056e\5^\60\2\u056d\u056b\3\2\2\2\u056e\u0571\3\2\2\2\u056f\u056d\3",
"\2\2\2\u056f\u0570\3\2\2\2\u0570\u009b\3\2\2\2\u0571\u056f\3\2\2\2\u0572",
"\u0573\7\24\2\2\u0573\u0574\5^\60\2\u0574\u0575\7\20\2\2\u0575\u0576",
"\5^\60\2\u0576\u0577\7\25\2\2\u0577\u009d\3\2\2\2\u0578\u0579\bP\1\2",
"\u0579\u0585\5\u00a0Q\2\u057a\u057b\7@\2\2\u057b\u057c\7&\2\2\u057c",
"\u057d\5\u009eP\2\u057d\u057e\7$\2\2\u057e\u0585\3\2\2\2\u057f\u0580",
"\7?\2\2\u0580\u0581\7&\2\2\u0581\u0582\5\u009eP\2\u0582\u0583\7$\2\2",
"\u0583\u0585\3\2\2\2\u0584\u0578\3\2\2\2\u0584\u057a\3\2\2\2\u0584\u057f",
"\3\2\2\2\u0585\u0590\3\2\2\2\u0586\u0587\f\7\2\2\u0587\u058f\7(\2\2",
"\u0588\u0589\f\6\2\2\u0589\u058a\7\24\2\2\u058a\u058f\7\25\2\2\u058b",
"\u058c\f\5\2\2\u058c\u058d\7\26\2\2\u058d\u058f\7\27\2\2\u058e\u0586",
"\3\2\2\2\u058e\u0588\3\2\2\2\u058e\u058b\3\2\2\2\u058f\u0592\3\2\2\2",
"\u0590\u058e\3\2\2\2\u0590\u0591\3\2\2\2\u0591\u009f\3\2\2\2\u0592\u0590",
"\3\2\2\2\u0593\u0596\5\u00a2R\2\u0594\u0596\5\u00a4S\2\u0595\u0593\3",
"\2\2\2\u0595\u0594\3\2\2\2\u0596\u00a1\3\2\2\2\u0597\u05a6\7\60\2\2",
"\u0598\u05a6\7\61\2\2\u0599\u05a6\7\62\2\2\u059a\u05a6\7=\2\2\u059b",
"\u05a6\7\63\2\2\u059c\u05a6\7\64\2\2\u059d\u05a6\7;\2\2\u059e\u05a6",
"\7\65\2\2\u059f\u05a6\7\67\2\2\u05a0\u05a6\7\66\2\2\u05a1\u05a6\78\2",
"\2\u05a2\u05a6\7:\2\2\u05a3\u05a6\7<\2\2\u05a4\u05a6\7>\2\2\u05a5\u0597",
"\3\2\2\2\u05a5\u0598\3\2\2\2\u05a5\u0599\3\2\2\2\u05a5\u059a\3\2\2\2",
"\u05a5\u059b\3\2\2\2\u05a5\u059c\3\2\2\2\u05a5\u059d\3\2\2\2\u05a5\u059e",
"\3\2\2\2\u05a5\u059f\3\2\2\2\u05a5\u05a0\3\2\2\2\u05a5\u05a1\3\2\2\2",
"\u05a5\u05a2\3\2\2\2\u05a5\u05a3\3\2\2\2\u05a5\u05a4\3\2\2\2\u05a6\u00a3",
"\3\2\2\2\u05a7\u05a8\7\u009f\2\2\u05a8\u00a5\3\2\2\2\u05a9\u05ab\7s",
"\2\2\u05aa\u05a9\3\2\2\2\u05aa\u05ab\3\2\2\2\u05ab\u05ac\3\2\2\2\u05ac",
"\u05ad\5\u00a4S\2\u05ad\u00a7\3\2\2\2\u05ae\u05af\7:\2\2\u05af\u00a9",
"\3\2\2\2\u05b0\u05b4\5\f\7\2\u05b1\u05b4\5 \21\2\u05b2\u05b4\5\16\b",
"\2\u05b3\u05b0\3\2\2\2\u05b3\u05b1\3\2\2\2\u05b3\u05b2\3\2\2\2\u05b4",
"\u00ab\3\2\2\2\u05b5\u05ba\5\u00b6\\\2\u05b6\u05b7\7\17\2\2\u05b7\u05b9",
"\5\u00b6\\\2\u05b8\u05b6\3\2\2\2\u05b9\u05bc\3\2\2\2\u05ba\u05b8\3\2",
"\2\2\u05ba\u05bb\3\2\2\2\u05bb\u00ad\3\2\2\2\u05bc\u05ba\3\2\2\2\u05bd",
"\u05c0\5\u00b2Z\2\u05be\u05c0\5\u00b6\\\2\u05bf\u05bd\3\2\2\2\u05bf",
"\u05be\3\2\2\2\u05c0\u00af\3\2\2\2\u05c1\u05c5\5\u00b2Z\2\u05c2\u05c5",
"\5\u00b6\\\2\u05c3\u05c5\5\u00b8]\2\u05c4\u05c1\3\2\2\2\u05c4\u05c2",
"\3\2\2\2\u05c4\u05c3\3\2\2\2\u05c5\u00b1\3\2\2\2\u05c6\u05c7\7\u00a0",
"\2\2\u05c7\u00b3\3\2\2\2\u05c8\u05c9\t\3\2\2\u05c9\u00b5\3\2\2\2\u05ca",
"\u05cb\7\u009f\2\2\u05cb\u00b7\3\2\2\2\u05cc\u05cd\7\u009e\2\2\u05cd",
"\u00b9\3\2\2\2\u05ce\u05d3\5\u00bc_\2\u05cf\u05d0\7\17\2\2\u05d0\u05d2",
"\5\u00bc_\2\u05d1\u05cf\3\2\2\2\u05d2\u05d5\3\2\2\2\u05d3\u05d1\3\2",
"\2\2\u05d3\u05d4\3\2\2\2\u05d4\u00bb\3\2\2\2\u05d5\u05d3\3\2\2\2\u05d6",
"\u05dc\5\u00c2b\2\u05d7\u05d9\7s\2\2\u05d8\u05d7\3\2\2\2\u05d8\u05d9",
"\3\2\2\2\u05d9\u05da\3\2\2\2\u05da\u05dc\5\u00be`\2\u05db\u05d6\3\2",
"\2\2\u05db\u05d8\3\2\2\2\u05dc\u00bd\3\2\2\2\u05dd\u05e0\5\u00c0a\2",
"\u05de\u05e0\5\60\31\2\u05df\u05dd\3\2\2\2\u05df\u05de\3\2\2\2\u05e0",
"\u00bf\3\2\2\2\u05e1\u05e4\5\u00b2Z\2\u05e2\u05e3\7)\2\2\u05e3\u05e5",
"\5\u00fe\u0080\2\u05e4\u05e2\3\2\2\2\u05e4\u05e5\3\2\2\2\u05e5\u00c1",
"\3\2\2\2\u05e6\u05e7\5\u00a8U\2\u05e7\u05e8\5\u00b2Z\2\u05e8\u00c3\3",
"\2\2\2\u05e9\u05ec\5\u009eP\2\u05ea\u05ec\5\u00c6d\2\u05eb\u05e9\3\2",
"\2\2\u05eb\u05ea\3\2\2\2\u05ec\u00c5\3\2\2\2\u05ed\u05ee\bd\1\2\u05ee",
"\u05ef\7E\2\2\u05ef\u05f8\3\2\2\2\u05f0\u05f1\f\4\2\2\u05f1\u05f2\7",
"\24\2\2\u05f2\u05f7\7\25\2\2\u05f3\u05f4\f\3\2\2\u05f4\u05f5\7\26\2",
"\2\u05f5\u05f7\7\27\2\2\u05f6\u05f0\3\2\2\2\u05f6\u05f3\3\2\2\2\u05f7",
"\u05fa\3\2\2\2\u05f8\u05f6\3\2\2\2\u05f8\u05f9\3\2\2\2\u05f9\u00c7\3",
"\2\2\2\u05fa\u05f8\3\2\2\2\u05fb\u0601\5\u00caf\2\u05fc\u05fd\5\u0134",
"\u009b\2\u05fd\u05fe\5\u00caf\2\u05fe\u0600\3\2\2\2\u05ff\u05fc\3\2",
"\2\2\u0600\u0603\3\2\2\2\u0601\u05ff\3\2\2\2\u0601\u0602\3\2\2\2\u0602",
"\u00c9\3\2\2\2\u0603\u0601\3\2\2\2\u0604\u060a\5\26\f\2\u0605\u060a",
"\5\32\16\2\u0606\u060a\5(\25\2\u0607\u060a\5&\24\2\u0608\u060a\5\24",
"\13\2\u0609\u0604\3\2\2\2\u0609\u0605\3\2\2\2\u0609\u0606\3\2\2\2\u0609",
"\u0607\3\2\2\2\u0609\u0608\3\2\2\2\u060a\u00cb\3\2\2\2\u060b\u0611\5",
"\u00ceh\2\u060c\u060d\5\u0134\u009b\2\u060d\u060e\5\u00ceh\2\u060e\u0610",
"\3\2\2\2\u060f\u060c\3\2\2\2\u0610\u0613\3\2\2\2\u0611\u060f\3\2\2\2",
"\u0611\u0612\3\2\2\2\u0612\u00cd\3\2\2\2\u0613\u0611\3\2\2\2\u0614\u0618",
"\5\34\17\2\u0615\u0618\5\30\r\2\u0616\u0618\5*\26\2\u0617\u0614\3\2",
"\2\2\u0617\u0615\3\2\2\2\u0617\u0616\3\2\2\2\u0618\u00cf\3\2\2\2\u0619",
"\u061a\7\7\2\2\u061a\u0624\5\u017e\u00c0\2\u061b\u061c\7\b\2\2\u061c",
"\u0624\5\u0198\u00cd\2\u061d\u061e\7\t\2\2\u061e\u0624\5\u00d2j\2\u061f",
"\u0620\7\n\2\2\u0620\u0624\5\u00d2j\2\u0621\u0622\7\13\2\2\u0622\u0624",
"\5\u00d6l\2\u0623\u0619\3\2\2\2\u0623\u061b\3\2\2\2\u0623\u061d\3\2",
"\2\2\u0623\u061f\3\2\2\2\u0623\u0621\3\2\2\2\u0624\u00d1\3\2\2\2\u0625",
"\u0627\5\u00b0Y\2\u0626\u0628\5\u00d4k\2\u0627\u0626\3\2\2\2\u0627\u0628",
"\3\2\2\2\u0628\u00d3\3\2\2\2\u0629\u062a\7h\2\2\u062a\u062b\5\u0122",
"\u0092\2\u062b\u062c\7\r\2\2\u062c\u0631\5\u00b0Y\2\u062d\u062e\7\21",
"\2\2\u062e\u0630\5\u00b0Y\2\u062f\u062d\3\2\2\2\u0630\u0633\3\2\2\2",
"\u0631\u062f\3\2\2\2\u0631\u0632\3\2\2\2\u0632\u00d5\3\2\2\2\u0633\u0631",
"\3\2\2\2\u0634\u0636\5\u00b0Y\2\u0635\u0637\5\u00d8m\2\u0636\u0635\3",
"\2\2\2\u0636\u0637\3\2\2\2\u0637\u00d7\3\2\2\2\u0638\u0639\7h\2\2\u0639",
"\u063a\5\u0122\u0092\2\u063a\u063c\7\r\2\2\u063b\u063d\7!\2\2\u063c",
"\u063b\3\2\2\2\u063c\u063d\3\2\2\2\u063d\u063e\3\2\2\2\u063e\u0643\5",
"\u014e\u00a8\2\u063f\u0640\7!\2\2\u0640\u0642\5\u014e\u00a8\2\u0641",
"\u063f\3\2\2\2\u0642\u0645\3\2\2\2\u0643\u0641\3\2\2\2\u0643\u0644\3",
"\2\2\2\u0644\u0648\3\2\2\2\u0645\u0643\3\2\2\2\u0646\u0647\7\21\2\2",
"\u0647\u0649\5\u014e\u00a8\2\u0648\u0646\3\2\2\2\u0648\u0649\3\2\2\2",
"\u0649\u00d9\3\2\2\2\u064a\u064f\5\u00b2Z\2\u064b\u064c\7\17\2\2\u064c",
"\u064e\5\u00b2Z\2\u064d\u064b\3\2\2\2\u064e\u0651\3\2\2\2\u064f\u064d",
"\3\2\2\2\u064f\u0650\3\2\2\2\u0650\u00db\3\2\2\2\u0651\u064f\3\2\2\2",
"\u0652\u0657\5\u00b4[\2\u0653\u0654\7\17\2\2\u0654\u0656\5\u00b4[\2",
"\u0655\u0653\3\2\2\2\u0656\u0659\3\2\2\2\u0657\u0655\3\2\2\2\u0657\u0658",
"\3\2\2\2\u0658\u00dd\3\2\2\2\u0659\u0657\3\2\2\2\u065a\u065f\5&\24\2",
"\u065b\u065f\5(\25\2\u065c\u065f\5*\26\2\u065d\u065f\5,\27\2\u065e\u065a",
"\3\2\2\2\u065e\u065b\3\2\2\2\u065e\u065c\3\2\2\2\u065e\u065d\3\2\2\2",
"\u065f\u00df\3\2\2\2\u0660\u0661\7\6\2\2\u0661\u00e1\3\2\2\2\u0662\u0668",
"\5\u00e4s\2\u0663\u0664\5\u0134\u009b\2\u0664\u0665\5\u00e4s\2\u0665",
"\u0667\3\2\2\2\u0666\u0663\3\2\2\2\u0667\u066a\3\2\2\2\u0668\u0666\3",
"\2\2\2\u0668\u0669\3\2\2\2\u0669\u00e3\3\2\2\2\u066a\u0668\3\2\2\2\u066b",
"\u066c\7\7\2\2\u066c\u0676\5\u0168\u00b5\2\u066d\u066e\7\b\2\2\u066e",
"\u0676\5\u0184\u00c3\2\u066f\u0670\7\t\2\2\u0670\u0676\5\u00e6t\2\u0671",
"\u0672\7\n\2\2\u0672\u0676\5\u00e6t\2\u0673\u0674\7\13\2\2\u0674\u0676",
"\5\u00e8u\2\u0675\u066b\3\2\2\2\u0675\u066d\3\2\2\2\u0675\u066f\3\2",
"\2\2\u0675\u0671\3\2\2\2\u0675\u0673\3\2\2\2\u0676\u00e5\3\2\2\2\u0677",
"\u0679\5\u0150\u00a9\2\u0678\u067a\7\16\2\2\u0679\u0678\3\2\2\2\u0679",
"\u067a\3\2\2\2\u067a\u067c\3\2\2\2\u067b\u067d\5\u00d4k\2\u067c\u067b",
"\3\2\2\2\u067c\u067d\3\2\2\2\u067d\u00e7\3\2\2\2\u067e\u0680\5\u0136",
"\u009c\2\u067f\u0681\7\16\2\2\u0680\u067f\3\2\2\2\u0680\u0681\3\2\2",
"\2\u0681\u0683\3\2\2\2\u0682\u0684\5\u00d8m\2\u0683\u0682\3\2\2\2\u0683",
"\u0684\3\2\2\2\u0684\u00e9\3\2\2\2\u0685\u068b\5\64\33\2\u0686\u0687",
"\5\u0134\u009b\2\u0687\u0688\5\64\33\2\u0688\u068a\3\2\2\2\u0689\u0686",
"\3\2\2\2\u068a\u068d\3\2\2\2\u068b\u0689\3\2\2\2\u068b\u068c\3\2\2\2",
"\u068c\u00eb\3\2\2\2\u068d\u068b\3\2\2\2\u068e\u0694\5.\30\2\u068f\u0690",
"\5\u0134\u009b\2\u0690\u0691\5.\30\2\u0691\u0693\3\2\2\2\u0692\u068f",
"\3\2\2\2\u0693\u0696\3\2\2\2\u0694\u0692\3\2\2\2\u0694\u0695\3\2\2\2",
"\u0695\u00ed\3\2\2\2\u0696\u0694\3\2\2\2\u0697\u069d\5@!\2\u0698\u0699",
"\5\u0134\u009b\2\u0699\u069a\5@!\2\u069a\u069c\3\2\2\2\u069b\u0698\3",
"\2\2\2\u069c\u069f\3\2\2\2\u069d\u069b\3\2\2\2\u069d\u069e\3\2\2\2\u069e",
"\u00ef\3\2\2\2\u069f\u069d\3\2\2\2\u06a0\u06a6\5P)\2\u06a1\u06a2\5\u0134",
"\u009b\2\u06a2\u06a3\5P)\2\u06a3\u06a5\3\2\2\2\u06a4\u06a1\3\2\2\2\u06a5",
"\u06a8\3\2\2\2\u06a6\u06a4\3\2\2\2\u06a6\u06a7\3\2\2\2\u06a7\u00f1\3",
"\2\2\2\u06a8\u06a6\3\2\2\2\u06a9\u06aa\7\24\2\2\u06aa\u06ab\5\u00f4",
"{\2\u06ab\u06ac\7\20\2\2\u06ac\u06ad\5\u00f4{\2\u06ad\u06ae\7\25\2\2",
"\u06ae\u06b8\3\2\2\2\u06af\u06b0\7\24\2\2\u06b0\u06b1\5\u00f6|\2\u06b1",
"\u06b2\7\25\2\2\u06b2\u06b8\3\2\2\2\u06b3\u06b4\7&\2\2\u06b4\u06b5\5",
"\u00f6|\2\u06b5\u06b6\7$\2\2\u06b6\u06b8\3\2\2\2\u06b7\u06a9\3\2\2\2",
"\u06b7\u06af\3\2\2\2\u06b7\u06b3\3\2\2\2\u06b8\u00f3\3\2\2\2\u06b9\u06c8",
"\7\u009c\2\2\u06ba\u06c8\7\u009d\2\2\u06bb\u06c8\7\u00a5\2\2\u06bc\u06c8",
"\7\u00a6\2\2\u06bd\u06c8\7\u009b\2\2\u06be\u06c8\7\u00aa\2\2\u06bf\u06c8",
"\7\u00a9\2\2\u06c0\u06c8\7\u00a3\2\2\u06c1\u06c8\7\u00a7\2\2\u06c2\u06c8",
"\7\u00a8\2\2\u06c3\u06c8\7\u009a\2\2\u06c4\u06c8\7\u00ab\2\2\u06c5\u06c8",
"\7\u00a4\2\2\u06c6\u06c8\5\u0082B\2\u06c7\u06b9\3\2\2\2\u06c7\u06ba",
"\3\2\2\2\u06c7\u06bb\3\2\2\2\u06c7\u06bc\3\2\2\2\u06c7\u06bd\3\2\2\2",
"\u06c7\u06be\3\2\2\2\u06c7\u06bf\3\2\2\2\u06c7\u06c0\3\2\2\2\u06c7\u06c1",
"\3\2\2\2\u06c7\u06c2\3\2\2\2\u06c7\u06c3\3\2\2\2\u06c7\u06c4\3\2\2\2",
"\u06c7\u06c5\3\2\2\2\u06c7\u06c6\3\2\2\2\u06c8\u00f5\3\2\2\2\u06c9\u06ce",
"\5\u00f4{\2\u06ca\u06cb\7\17\2\2\u06cb\u06cd\5\u00f4{\2\u06cc\u06ca",
"\3\2\2\2\u06cd\u06d0\3\2\2\2\u06ce\u06cc\3\2\2\2\u06ce\u06cf\3\2\2\2",
"\u06cf\u00f7\3\2\2\2\u06d0\u06ce\3\2\2\2\u06d1\u06d6\5\u00fc\177\2\u06d2",
"\u06d6\5\u00fe\u0080\2\u06d3\u06d6\5\u00b0Y\2\u06d4\u06d6\5\u00fa~\2",
"\u06d5\u06d1\3\2\2\2\u06d5\u06d2\3\2\2\2\u06d5\u06d3\3\2\2\2\u06d5\u06d4",
"\3\2\2\2\u06d6\u00f9\3\2\2\2\u06d7\u06d8\t\4\2\2\u06d8\u00fb\3\2\2\2",
"\u06d9\u06da\7\22\2\2\u06da\u06db\5^\60\2\u06db\u06dc\7\23\2\2\u06dc",
"\u00fd\3\2\2\2\u06dd\u06e0\5\u00f4{\2\u06de\u06e0\5\u0100\u0081\2\u06df",
"\u06dd\3\2\2\2\u06df\u06de\3\2\2\2\u06e0\u00ff\3\2\2\2\u06e1\u06e7\5",
"\u009cO\2\u06e2\u06e7\5\u0096L\2\u06e3\u06e7\5\u0098M\2\u06e4\u06e7",
"\5\u0104\u0083\2\u06e5\u06e7\5\u0102\u0082\2\u06e6\u06e1\3\2\2\2\u06e6",
"\u06e2\3\2\2\2\u06e6\u06e3\3\2\2\2\u06e6\u06e4\3\2\2\2\u06e6\u06e5\3",
"\2\2\2\u06e7\u0101\3\2\2\2\u06e8\u06ea\7s\2\2\u06e9\u06e8\3\2\2\2\u06e9",
"\u06ea\3\2\2\2\u06ea\u06eb\3\2\2\2\u06eb\u06ed\7\22\2\2\u06ec\u06ee",
"\5\u0106\u0084\2\u06ed\u06ec\3\2\2\2\u06ed\u06ee\3\2\2\2\u06ee\u06ef",
"\3\2\2\2\u06ef\u06f0\7\23\2\2\u06f0\u0103\3\2\2\2\u06f1\u06f3\7s\2\2",
"\u06f2\u06f1\3\2\2\2\u06f2\u06f3\3\2\2\2\u06f3\u06f4\3\2\2\2\u06f4\u06f6",
"\7\26\2\2\u06f5\u06f7\5\u0108\u0085\2\u06f6\u06f5\3\2\2\2\u06f6\u06f7",
"\3\2\2\2\u06f7\u06f8\3\2\2\2\u06f8\u06f9\7\27\2\2\u06f9\u0105\3\2\2",
"\2\u06fa\u06fb\5^\60\2\u06fb\u0704\7\17\2\2\u06fc\u0701\5^\60\2\u06fd",
"\u06fe\7\17\2\2\u06fe\u0700\5^\60\2\u06ff\u06fd\3\2\2\2\u0700\u0703",
"\3\2\2\2\u0701\u06ff\3\2\2\2\u0701\u0702\3\2\2\2\u0702\u0705\3\2\2\2",
"\u0703\u0701\3\2\2\2\u0704\u06fc\3\2\2\2\u0704\u0705\3\2\2\2\u0705\u0107",
"\3\2\2\2\u0706\u070b\5\u010a\u0086\2\u0707\u0708\7\17\2\2\u0708\u070a",
"\5\u010a\u0086\2\u0709\u0707\3\2\2\2\u070a\u070d\3\2\2\2\u070b\u0709",
"\3\2\2\2\u070b\u070c\3\2\2\2\u070c\u0109\3\2\2\2\u070d\u070b\3\2\2\2",
"\u070e\u070f\5^\60\2\u070f\u0710\7\r\2\2\u0710\u0711\5^\60\2\u0711\u010b",
"\3\2\2\2\u0712\u0713\5^\60\2\u0713\u0714\7\r\2\2\u0714\u0715\5^\60\2",
"\u0715\u071c\3\2\2\2\u0716\u0717\5^\60\2\u0717\u0718\7\r\2\2\u0718\u071c",
"\3\2\2\2\u0719\u071a\7\r\2\2\u071a\u071c\5^\60\2\u071b\u0712\3\2\2\2",
"\u071b\u0716\3\2\2\2\u071b\u0719\3\2\2\2\u071c\u010d\3\2\2\2\u071d\u071e",
"\5\u00b2Z\2\u071e\u071f\5\u0128\u0095\2\u071f\u0720\5^\60\2\u0720\u010f",
"\3\2\2\2\u0721\u0722\b\u0089\1\2\u0722\u0723\5\u00b2Z\2\u0723\u0728",
"\3\2\2\2\u0724\u0725\f\3\2\2\u0725\u0727\5~@\2\u0726\u0724\3\2\2\2\u0727",
"\u072a\3\2\2\2\u0728\u0726\3\2\2\2\u0728\u0729\3\2\2\2\u0729\u0111\3",
"\2\2\2\u072a\u0728\3\2\2\2\u072b\u072c\6\u008a,\3\u072c\u072d\7\u00a0",
"\2\2\u072d\u0730\5\u00c4c\2\u072e\u0730\5^\60\2\u072f\u072b\3\2\2\2",
"\u072f\u072e\3\2\2\2\u0730\u0113\3\2\2\2\u0731\u0732\7\u0082\2\2\u0732",
"\u0733\7B\2\2\u0733\u0734\7h\2\2\u0734\u0735\5^\60\2\u0735\u0115\3\2",
"\2\2\u0736\u0737\7\u0082\2\2\u0737\u0738\7z\2\2\u0738\u0739\7h\2\2\u0739",
"\u073a\5^\60\2\u073a\u0117\3\2\2\2\u073b\u0740\5\u011a\u008e\2\u073c",
"\u073d\7\17\2\2\u073d\u073f\5\u011a\u008e\2\u073e\u073c\3\2\2\2\u073f",
"\u0742\3\2\2\2\u0740\u073e\3\2\2\2\u0740\u0741\3\2\2\2\u0741\u0119\3",
"\2\2\2\u0742\u0740\3\2\2\2\u0743\u0748\5\u00b2Z\2\u0744\u0745\7\21\2",
"\2\u0745\u0747\5\u00b2Z\2\u0746\u0744\3\2\2\2\u0747\u074a\3\2\2\2\u0748",
"\u0746\3\2\2\2\u0748\u0749\3\2\2\2\u0749\u074c\3\2\2\2\u074a\u0748\3",
"\2\2\2\u074b\u074d\t\5\2\2\u074c\u074b\3\2\2\2\u074c\u074d\3\2\2\2\u074d",
"\u011b\3\2\2\2\u074e\u0755\7\36\2\2\u074f\u0755\7\37\2\2\u0750\u0755",
"\5\u012a\u0096\2\u0751\u0755\5\u012c\u0097\2\u0752\u0755\5\u012e\u0098",
"\2\u0753\u0755\5\u0130\u0099\2\u0754\u074e\3\2\2\2\u0754\u074f\3\2\2",
"\2\u0754\u0750\3\2\2\2\u0754\u0751\3\2\2\2\u0754\u0752\3\2\2\2\u0754",
"\u0753\3\2\2\2\u0755\u011d\3\2\2\2\u0756\u0757\7\u00a0\2\2\u0757\u0758",
"\6\u0090-\3\u0758\u011f\3\2\2\2\u0759\u075a\7\u00a0\2\2\u075a\u075b",
"\6\u0091.\3\u075b\u0121\3\2\2\2\u075c\u075d\7\u00a0\2\2\u075d\u075e",
"\6\u0092/\3\u075e\u0123\3\2\2\2\u075f\u0760\7\u00a0\2\2\u0760\u0761",
"\6\u0093\60\3\u0761\u0125\3\2\2\2\u0762\u0763\7\u00a0\2\2\u0763\u0764",
"\6\u0094\61\3\u0764\u0127\3\2\2\2\u0765\u0766\7)\2\2\u0766\u0129\3\2",
"\2\2\u0767\u0768\7 \2\2\u0768\u012b\3\2\2\2\u0769\u076a\7!\2\2\u076a",
"\u012d\3\2\2\2\u076b\u076c\7\"\2\2\u076c\u012f\3\2\2\2\u076d\u076e\t",
"\6\2\2\u076e\u0131\3\2\2\2\u076f\u0770\3\2\2\2\u0770\u0133\3\2\2\2\u0771",
"\u0772\3\2\2\2\u0772\u0135\3\2\2\2\u0773\u0774\7\u0085\2\2\u0774\u0775",
"\5\u0138\u009d\2\u0775\u0776\7\16\2\2\u0776\u077b\3\2\2\2\u0777\u0778",
"\5\u0138\u009d\2\u0778\u0779\7\16\2\2\u0779\u077b\3\2\2\2\u077a\u0773",
"\3\2\2\2\u077a\u0777\3\2\2\2\u077b\u0137\3\2\2\2\u077c\u077d\b\u009d",
"\1\2\u077d\u077e\5\u013a\u009e\2\u077e\u0783\3\2\2\2\u077f\u0780\f\3",
"\2\2\u0780\u0782\5\u0140\u00a1\2\u0781\u077f\3\2\2\2\u0782\u0785\3\2",
"\2\2\u0783\u0781\3\2\2\2\u0783\u0784\3\2\2\2\u0784\u0139\3\2\2\2\u0785",
"\u0783\3\2\2\2\u0786\u078e\5\u013c\u009f\2\u0787\u078e\5\u013e\u00a0",
"\2\u0788\u078e\5\u0148\u00a5\2\u0789\u078e\5\u014a\u00a6\2\u078a\u078e",
"\5\u014c\u00a7\2\u078b\u078e\5\u0142\u00a2\2\u078c\u078e\5\u0146\u00a4",
"\2\u078d\u0786\3\2\2\2\u078d\u0787\3\2\2\2\u078d\u0788\3\2\2\2\u078d",
"\u0789\3\2\2\2\u078d\u078a\3\2\2\2\u078d\u078b\3\2\2\2\u078d\u078c\3",
"\2\2\2\u078e\u013b\3\2\2\2\u078f\u0790\5\u00fa~\2\u0790\u013d\3\2\2",
"\2\u0791\u0792\5\u011e\u0090\2\u0792\u0793\5\u0142\u00a2\2\u0793\u013f",
"\3\2\2\2\u0794\u0795\7\21\2\2\u0795\u079a\5\u0142\u00a2\2\u0796\u0797",
"\7\21\2\2\u0797\u079a\5\u014e\u00a8\2\u0798\u079a\5\u0146\u00a4\2\u0799",
"\u0794\3\2\2\2\u0799\u0796\3\2\2\2\u0799\u0798\3\2\2\2\u079a\u0141\3",
"\2\2\2\u079b\u079c\5\u014e\u00a8\2\u079c\u079e\7\22\2\2\u079d\u079f",
"\5\u0144\u00a3\2\u079e\u079d\3\2\2\2\u079e\u079f\3\2\2\2\u079f\u07a0",
"\3\2\2\2\u07a0\u07a1\7\23\2\2\u07a1\u0143\3\2\2\2\u07a2\u07a3\b\u00a3",
"\1\2\u07a3\u07a4\5\u0138\u009d\2\u07a4\u07aa\3\2\2\2\u07a5\u07a6\f\3",
"\2\2\u07a6\u07a7\7\17\2\2\u07a7\u07a9\5\u0138\u009d\2\u07a8\u07a5\3",
"\2\2\2\u07a9\u07ac\3\2\2\2\u07aa\u07a8\3\2\2\2\u07aa\u07ab\3\2\2\2\u07ab",
"\u0145\3\2\2\2\u07ac\u07aa\3\2\2\2\u07ad\u07ae\7\24\2\2\u07ae\u07af",
"\5\u0138\u009d\2\u07af\u07b0\7\25\2\2\u07b0\u0147\3\2\2\2\u07b1\u07b2",
"\7\22\2\2\u07b2\u07b3\5\u0138\u009d\2\u07b3\u07b4\7\23\2\2\u07b4\u0149",
"\3\2\2\2\u07b5\u07b6\5\u014e\u00a8\2\u07b6\u014b\3\2\2\2\u07b7\u07bd",
"\7\u00a5\2\2\u07b8\u07bd\7\u00a7\2\2\u07b9\u07bd\7\u00a3\2\2\u07ba\u07bd",
"\7\u009a\2\2\u07bb\u07bd\7\u009b\2\2\u07bc\u07b7\3\2\2\2\u07bc\u07b8",
"\3\2\2\2\u07bc\u07b9\3\2\2\2\u07bc\u07ba\3\2\2\2\u07bc\u07bb\3\2\2\2",
"\u07bd\u014d\3\2\2\2\u07be\u07bf\t\7\2\2\u07bf\u014f\3\2\2\2\u07c0\u07c1",
"\7\u0085\2\2\u07c1\u07c4\5\u0152\u00aa\2\u07c2\u07c4\5\u0152\u00aa\2",
"\u07c3\u07c0\3\2\2\2\u07c3\u07c2\3\2\2\2\u07c4\u0151\3\2\2\2\u07c5\u07c6",
"\b\u00aa\1\2\u07c6\u07c7\5\u0154\u00ab\2\u07c7\u07cc\3\2\2\2\u07c8\u07c9",
"\f\3\2\2\u07c9\u07cb\5\u0156\u00ac\2\u07ca\u07c8\3\2\2\2\u07cb\u07ce",
"\3\2\2\2\u07cc\u07ca\3\2\2\2\u07cc\u07cd\3\2\2\2\u07cd\u0153\3\2\2\2",
"\u07ce\u07cc\3\2\2\2\u07cf\u07d4\5\u0160\u00b1\2\u07d0\u07d4\5\u0162",
"\u00b2\2\u07d1\u07d4\5\u0164\u00b3\2\u07d2\u07d4\5\u0158\u00ad\2\u07d3",
"\u07cf\3\2\2\2\u07d3\u07d0\3\2\2\2\u07d3\u07d1\3\2\2\2\u07d3\u07d2\3",
"\2\2\2\u07d4\u0155\3\2\2\2\u07d5\u07d6\7\21\2\2\u07d6\u07dc\5\u0158",
"\u00ad\2\u07d7\u07d8\7\24\2\2\u07d8\u07d9\5\u0152\u00aa\2\u07d9\u07da",
"\7\25\2\2\u07da\u07dc\3\2\2\2\u07db\u07d5\3\2\2\2\u07db\u07d7\3\2\2",
"\2\u07dc\u0157\3\2\2\2\u07dd\u07de\5\u0166\u00b4\2\u07de\u07e0\7\22",
"\2\2\u07df\u07e1\5\u015a\u00ae\2\u07e0\u07df\3\2\2\2\u07e0\u07e1\3\2",
"\2\2\u07e1\u07e2\3\2\2\2\u07e2\u07e3\7\23\2\2\u07e3\u0159\3\2\2\2\u07e4",
"\u07eb\5\u015c\u00af\2\u07e5\u07eb\5\u015e\u00b0\2\u07e6\u07e7\5\u015c",
"\u00af\2\u07e7\u07e8\7\17\2\2\u07e8\u07e9\5\u015e\u00b0\2\u07e9\u07eb",
"\3\2\2\2\u07ea\u07e4\3\2\2\2\u07ea\u07e5\3\2\2\2\u07ea\u07e6\3\2\2\2",
"\u07eb\u015b\3\2\2\2\u07ec\u07ed\b\u00af\1\2\u07ed\u07ee\5\u0152\u00aa",
"\2\u07ee\u07f4\3\2\2\2\u07ef\u07f0\f\3\2\2\u07f0\u07f1\7\17\2\2\u07f1",
"\u07f3\5\u0152\u00aa\2\u07f2\u07ef\3\2\2\2\u07f3\u07f6\3\2\2\2\u07f4",
"\u07f2\3\2\2\2\u07f4\u07f5\3\2\2\2\u07f5\u015d\3\2\2\2\u07f6\u07f4\3",
"\2\2\2\u07f7\u07f8\b\u00b0\1\2\u07f8\u07f9\5\u0166\u00b4\2\u07f9\u07fa",
"\7)\2\2\u07fa\u07fb\5\u0152\u00aa\2\u07fb\u0804\3\2\2\2\u07fc\u07fd",
"\f\3\2\2\u07fd\u07fe\7\17\2\2\u07fe\u07ff\5\u0166\u00b4\2\u07ff\u0800",
"\7)\2\2\u0800\u0801\5\u0152\u00aa\2\u0801\u0803\3\2\2\2\u0802\u07fc",
"\3\2\2\2\u0803\u0806\3\2\2\2\u0804\u0802\3\2\2\2\u0804\u0805\3\2\2\2",
"\u0805\u015f\3\2\2\2\u0806\u0804\3\2\2\2\u0807\u0808\7\22\2\2\u0808",
"\u0809\5\u0152\u00aa\2\u0809\u080a\7\23\2\2\u080a\u0161\3\2\2\2\u080b",
"\u080c\b\u00b2\1\2\u080c\u080f\7\u00a2\2\2\u080d\u080f\5\u0166\u00b4",
"\2\u080e\u080b\3\2\2\2\u080e\u080d\3\2\2\2\u080f\u0815\3\2\2\2\u0810",
"\u0811\f\3\2\2\u0811\u0812\7\21\2\2\u0812\u0814\5\u0166\u00b4\2\u0813",
"\u0810\3\2\2\2\u0814\u0817\3\2\2\2\u0815\u0813\3\2\2\2\u0815\u0816\3",
"\2\2\2\u0816\u0163\3\2\2\2\u0817\u0815\3\2\2\2\u0818\u081e\7\u00a5\2",
"\2\u0819\u081e\7\u00a7\2\2\u081a\u081e\7\u00a3\2\2\u081b\u081e\7\u009a",
"\2\2\u081c\u081e\7\u009b\2\2\u081d\u0818\3\2\2\2\u081d\u0819\3\2\2\2",
"\u081d\u081a\3\2\2\2\u081d\u081b\3\2\2\2\u081d\u081c\3\2\2\2\u081e\u0165",
"\3\2\2\2\u081f\u0820\t\b\2\2\u0820\u0167\3\2\2\2\u0821\u0822\7\u0085",
"\2\2\u0822\u0823\5\u016a\u00b6\2\u0823\u0824\7\16\2\2\u0824\u0829\3",
"\2\2\2\u0825\u0826\5\u016a\u00b6\2\u0826\u0827\7\16\2\2\u0827\u0829",
"\3\2\2\2\u0828\u0821\3\2\2\2\u0828\u0825\3\2\2\2\u0829\u0169\3\2\2\2",
"\u082a\u082b\b\u00b6\1\2\u082b\u082c\5\u016c\u00b7\2\u082c\u0831\3\2",
"\2\2\u082d\u082e\f\3\2\2\u082e\u0830\5\u0172\u00ba\2\u082f\u082d\3\2",
"\2\2\u0830\u0833\3\2\2\2\u0831\u082f\3\2\2\2\u0831\u0832\3\2\2\2\u0832",
"\u016b\3\2\2\2\u0833\u0831\3\2\2\2\u0834\u083a\5\u016e\u00b8\2\u0835",
"\u083a\5\u0170\u00b9\2\u0836\u083a\5\u017a\u00be\2\u0837\u083a\5\u017c",
"\u00bf\2\u0838\u083a\5\u0180\u00c1\2\u0839\u0834\3\2\2\2\u0839\u0835",
"\3\2\2\2\u0839\u0836\3\2\2\2\u0839\u0837\3\2\2\2\u0839\u0838\3\2\2\2",
"\u083a\u016d\3\2\2\2\u083b\u083c\5\u00fa~\2\u083c\u016f\3\2\2\2\u083d",
"\u083e\5\u011e\u0090\2\u083e\u083f\5\u0174\u00bb\2\u083f\u0171\3\2\2",
"\2\u0840\u0841\7\21\2\2\u0841\u0844\5\u0174\u00bb\2\u0842\u0844\5\u0178",
"\u00bd\2\u0843\u0840\3\2\2\2\u0843\u0842\3\2\2\2\u0844\u0173\3\2\2\2",
"\u0845\u0846\5\u0182\u00c2\2\u0846\u0848\7\22\2\2\u0847\u0849\5\u0176",
"\u00bc\2\u0848\u0847\3\2\2\2\u0848\u0849\3\2\2\2\u0849\u084a\3\2\2\2",
"\u084a\u084b\7\23\2\2\u084b\u0175\3\2\2\2\u084c\u084d\b\u00bc\1\2\u084d",
"\u084e\5\u016a\u00b6\2\u084e\u0854\3\2\2\2\u084f\u0850\f\3\2\2\u0850",
"\u0851\7\17\2\2\u0851\u0853\5\u016a\u00b6\2\u0852\u084f\3\2\2\2\u0853",
"\u0856\3\2\2\2\u0854\u0852\3\2\2\2\u0854\u0855\3\2\2\2\u0855\u0177\3",
"\2\2\2\u0856\u0854\3\2\2\2\u0857\u0858\7\24\2\2\u0858\u0859\5\u016a",
"\u00b6\2\u0859\u085a\7\25\2\2\u085a\u0179\3\2\2\2\u085b\u085c\7\22\2",
"\2\u085c\u085d\5\u016a\u00b6\2\u085d\u085e\7\23\2\2\u085e\u017b\3\2",
"\2\2\u085f\u0860\b\u00bf\1\2\u0860\u0861\5\u0182\u00c2\2\u0861\u0867",
"\3\2\2\2\u0862\u0863\f\3\2\2\u0863\u0864\7\21\2\2\u0864\u0866\5\u0182",
"\u00c2\2\u0865\u0862\3\2\2\2\u0866\u0869\3\2\2\2\u0867\u0865\3\2\2\2",
"\u0867\u0868\3\2\2\2\u0868\u017d\3\2\2\2\u0869\u0867\3\2\2\2\u086a\u086b",
"\b\u00c0\1\2\u086b\u086c\5\u017c\u00bf\2\u086c\u0871\3\2\2\2\u086d\u086e",
"\f\3\2\2\u086e\u0870\7\u00a2\2\2\u086f\u086d\3\2\2\2\u0870\u0873\3\2",
"\2\2\u0871\u086f\3\2\2\2\u0871\u0872\3\2\2\2\u0872\u017f\3\2\2\2\u0873",
"\u0871\3\2\2\2\u0874\u087a\7\u00a5\2\2\u0875\u087a\7\u00a7\2\2\u0876",
"\u087a\7\u00a3\2\2\u0877\u087a\7\u009a\2\2\u0878\u087a\7\u009b\2\2\u0879",
"\u0874\3\2\2\2\u0879\u0875\3\2\2\2\u0879\u0876\3\2\2\2\u0879\u0877\3",
"\2\2\2\u0879\u0878\3\2\2\2\u087a\u0181\3\2\2\2\u087b\u087c\t\t\2\2\u087c",
"\u0183\3\2\2\2\u087d\u087e\7\u0085\2\2\u087e\u087f\5\u0186\u00c4\2\u087f",
"\u0880\7\16\2\2\u0880\u0885\3\2\2\2\u0881\u0882\5\u0186\u00c4\2\u0882",
"\u0883\7\16\2\2\u0883\u0885\3\2\2\2\u0884\u087d\3\2\2\2\u0884\u0881",
"\3\2\2\2\u0885\u0185\3\2\2\2\u0886\u0887\b\u00c4\1\2\u0887\u0888\5\u0188",
"\u00c5\2\u0888\u088d\3\2\2\2\u0889\u088a\f\3\2\2\u088a\u088c\5\u018e",
"\u00c8\2\u088b\u0889\3\2\2\2\u088c\u088f\3\2\2\2\u088d\u088b\3\2\2\2",
"\u088d\u088e\3\2\2\2\u088e\u0187\3\2\2\2\u088f\u088d\3\2\2\2\u0890\u0896",
"\5\u018a\u00c6\2\u0891\u0896\5\u018c\u00c7\2\u0892\u0896\5\u0196\u00cc",
"\2\u0893\u0896\5\u0198\u00cd\2\u0894\u0896\5\u019a\u00ce\2\u0895\u0890",
"\3\2\2\2\u0895\u0891\3\2\2\2\u0895\u0892\3\2\2\2\u0895\u0893\3\2\2\2",
"\u0895\u0894\3\2\2\2\u0896\u0189\3\2\2\2\u0897\u0898\5\u00fa~\2\u0898",
"\u018b\3\2\2\2\u0899\u089a\5\u011e\u0090\2\u089a\u089b\5\u0190\u00c9",
"\2\u089b\u018d\3\2\2\2\u089c\u089d\7\21\2\2\u089d\u08a0\5\u0190\u00c9",
"\2\u089e\u08a0\5\u0194\u00cb\2\u089f\u089c\3\2\2\2\u089f\u089e\3\2\2",
"\2\u08a0\u018f\3\2\2\2\u08a1\u08a2\5\u019c\u00cf\2\u08a2\u08a4\7\22",
"\2\2\u08a3\u08a5\5\u0192\u00ca\2\u08a4\u08a3\3\2\2\2\u08a4\u08a5\3\2",
"\2\2\u08a5\u08a6\3\2\2\2\u08a6\u08a7\7\23\2\2\u08a7\u0191\3\2\2\2\u08a8",
"\u08a9\b\u00ca\1\2\u08a9\u08aa\5\u0186\u00c4\2\u08aa\u08b0\3\2\2\2\u08ab",
"\u08ac\f\3\2\2\u08ac\u08ad\7\17\2\2\u08ad\u08af\5\u0186\u00c4\2\u08ae",
"\u08ab\3\2\2\2\u08af\u08b2\3\2\2\2\u08b0\u08ae\3\2\2\2\u08b0\u08b1\3",
"\2\2\2\u08b1\u0193\3\2\2\2\u08b2\u08b0\3\2\2\2\u08b3\u08b4\7\24\2\2",
"\u08b4\u08b5\5\u0186\u00c4\2\u08b5\u08b6\7\25\2\2\u08b6\u0195\3\2\2",
"\2\u08b7\u08b8\7\22\2\2\u08b8\u08b9\5\u0186\u00c4\2\u08b9\u08ba\7\23",
"\2\2\u08ba\u0197\3\2\2\2\u08bb\u08bc\b\u00cd\1\2\u08bc\u08bf\7\u00a2",
"\2\2\u08bd\u08bf\5\u019c\u00cf\2\u08be\u08bb\3\2\2\2\u08be\u08bd\3\2",
"\2\2\u08bf\u08c5\3\2\2\2\u08c0\u08c1\f\3\2\2\u08c1\u08c2\7\21\2\2\u08c2",
"\u08c4\5\u019c\u00cf\2\u08c3\u08c0\3\2\2\2\u08c4\u08c7\3\2\2\2\u08c5",
"\u08c3\3\2\2\2\u08c5\u08c6\3\2\2\2\u08c6\u0199\3\2\2\2\u08c7\u08c5\3",
"\2\2\2\u08c8\u08ce\7\u00a5\2\2\u08c9\u08ce\7\u00a7\2\2\u08ca\u08ce\7",
"\u00a3\2\2\u08cb\u08ce\7\u009a\2\2\u08cc\u08ce\7\u009b\2\2\u08cd\u08c8",
"\3\2\2\2\u08cd\u08c9\3\2\2\2\u08cd\u08ca\3\2\2\2\u08cd\u08cb\3\2\2\2",
"\u08cd\u08cc\3\2\2\2\u08ce\u019b\3\2\2\2\u08cf\u08d0\t\n\2\2\u08d0\u019d",
"\3\2\2\2\u00c8\u01a5\u01a9\u01c4\u01cb\u01d3\u01d5\u01da\u01e2\u01e6",
"\u01f0\u01fc\u0202\u0205\u0208\u0211\u0219\u021e\u0224\u022c\u0231\u0237",
"\u0242\u0247\u024c\u0255\u025a\u026e\u0273\u0279\u027f\u0285\u028a\u028f",
"\u0292\u0298\u02af\u02b9\u02be\u02c5\u02c7\u02de\u02fc\u0313\u0315\u031d",
"\u0324\u0326\u032e\u0338\u034d\u0351\u0365\u0372\u0376\u037e\u0381\u0386",
"\u0389\u0391\u039c\u03a0\u03a7\u03ae\u03b7\u03c0\u03c9\u03e2\u044f\u0451",
"\u0461\u046d\u0477\u0496\u04a3\u04a9\u04b2\u04b9\u04c1\u04c3\u04c7\u04d0",
"\u04de\u04e3\u04ec\u04f3\u0505\u050f\u051a\u0522\u052a\u0530\u0538\u0541",
"\u0549\u0556\u0559\u055d\u0562\u0566\u056f\u0584\u058e\u0590\u0595\u05a5",
"\u05aa\u05b3\u05ba\u05bf\u05c4\u05d3\u05d8\u05db\u05df\u05e4\u05eb\u05f6",
"\u05f8\u0601\u0609\u0611\u0617\u0623\u0627\u0631\u0636\u063c\u0643\u0648",
"\u064f\u0657\u065e\u0668\u0675\u0679\u067c\u0680\u0683\u068b\u0694\u069d",
"\u06a6\u06b7\u06c7\u06ce\u06d5\u06df\u06e6\u06e9\u06ed\u06f2\u06f6\u0701",
"\u0704\u070b\u071b\u0728\u072f\u0740\u0748\u074c\u0754\u077a\u0783\u078d",
"\u0799\u079e\u07aa\u07bc\u07c3\u07cc\u07d3\u07db\u07e0\u07ea\u07f4\u0804",
"\u080e\u0815\u081d\u0828\u0831\u0839\u0843\u0848\u0854\u0867\u0871\u0879",
"\u0884\u088d\u0895\u089f\u08a4\u08b0\u08be\u08c5\u08cd"].join("");
var atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
var decisionsToDFA = atn.decisionToState.map( function(ds, index) { return new antlr4.dfa.DFA(ds, index); });
var sharedContextCache = new antlr4.PredictionContextCache();
var literalNames = [ 'null', "' '", 'null', 'null', 'null', "'Java:'", "'C#:'",
"'Python2:'", "'Python3:'", "'JavaScript:'", "'Swift:'",
"':'", "';'", "','", "'..'", "'.'", "'('", "')'", "'['",
"']'", "'{'", "'}'", "'?'", "'!'", "'&'", "'&&'", "'|'",
"'||'", "'+'", "'-'", "'*'", "'/'", "'\\'", "'%'",
"'>'", "'>='", "'<'", "'<='", "'<>'", "'='", "'!='",
"'=='", "'~='", "'~'", "'<-'", "'->'", "'Boolean'",
"'Character'", "'Text'", "'Integer'", "'Decimal'",
"'Date'", "'Time'", "'DateTime'", "'Period'", "'Method'",
"'Code'", "'Document'", "'Blob'", "'Image'", "'UUID'",
"'Iterator'", "'Cursor'", "'abstract'", "'all'", "'always'",
"'and'", "'any'", "'as'", 'null', "'attr'", "'attribute'",
"'attributes'", "'bindings'", "'break'", "'by'", "'case'",
"'catch'", "'category'", "'class'", "'close'", "'contains'",
"'def'", "'default'", "'define'", "'delete'", 'null',
"'do'", "'doing'", "'each'", "'else'", "'enum'", "'enumerated'",
"'except'", "'execute'", "'expecting'", "'extends'",
"'fetch'", "'filtered'", "'finally'", "'flush'", "'for'",
"'from'", "'getter'", "'if'", "'in'", "'index'", "'invoke'",
"'is'", "'matching'", "'method'", "'methods'", "'modulo'",
"'mutable'", "'native'", "'None'", "'not'", 'null',
"'null'", "'on'", "'one'", "'open'", "'operator'",
"'or'", "'order'", "'otherwise'", "'pass'", "'raise'",
"'read'", "'receiving'", "'resource'", "'return'",
"'returning'", "'rows'", "'self'", "'setter'", "'singleton'",
"'sorted'", "'storable'", "'store'", "'switch'", "'test'",
"'this'", "'throw'", "'to'", "'try'", "'verifying'",
"'with'", "'when'", "'where'", "'while'", "'write'",
'null', 'null', "'MIN_INTEGER'", "'MAX_INTEGER'" ];
var symbolicNames = [ 'null', "SPACE", "WS", "LF", "COMMENT", "JAVA", "CSHARP",
"PYTHON2", "PYTHON3", "JAVASCRIPT", "SWIFT", "COLON",
"SEMI", "COMMA", "RANGE", "DOT", "LPAR", "RPAR", "LBRAK",
"RBRAK", "LCURL", "RCURL", "QMARK", "XMARK", "AMP",
"AMP2", "PIPE", "PIPE2", "PLUS", "MINUS", "STAR",
"SLASH", "BSLASH", "PERCENT", "GT", "GTE", "LT", "LTE",
"LTGT", "EQ", "XEQ", "EQ2", "TEQ", "TILDE", "LARROW",
"RARROW", "BOOLEAN", "CHARACTER", "TEXT", "INTEGER",
"DECIMAL", "DATE", "TIME", "DATETIME", "PERIOD", "METHOD_T",
"CODE", "DOCUMENT", "BLOB", "IMAGE", "UUID", "ITERATOR",
"CURSOR", "ABSTRACT", "ALL", "ALWAYS", "AND", "ANY",
"AS", "ASC", "ATTR", "ATTRIBUTE", "ATTRIBUTES", "BINDINGS",
"BREAK", "BY", "CASE", "CATCH", "CATEGORY", "CLASS",
"CLOSE", "CONTAINS", "DEF", "DEFAULT", "DEFINE", "DELETE",
"DESC", "DO", "DOING", "EACH", "ELSE", "ENUM", "ENUMERATED",
"EXCEPT", "EXECUTE", "EXPECTING", "EXTENDS", "FETCH",
"FILTERED", "FINALLY", "FLUSH", "FOR", "FROM", "GETTER",
"IF", "IN", "INDEX", "INVOKE", "IS", "MATCHING", "METHOD",
"METHODS", "MODULO", "MUTABLE", "NATIVE", "NONE",
"NOT", "NOTHING", "NULL", "ON", "ONE", "OPEN", "OPERATOR",
"OR", "ORDER", "OTHERWISE", "PASS", "RAISE", "READ",
"RECEIVING", "RESOURCE", "RETURN", "RETURNING", "ROWS",
"SELF", "SETTER", "SINGLETON", "SORTED", "STORABLE",
"STORE", "SWITCH", "TEST", "THIS", "THROW", "TO",
"TRY", "VERIFYING", "WITH", "WHEN", "WHERE", "WHILE",
"WRITE", "BOOLEAN_LITERAL", "CHAR_LITERAL", "MIN_INTEGER",
"MAX_INTEGER", "SYMBOL_IDENTIFIER", "TYPE_IDENTIFIER",
"VARIABLE_IDENTIFIER", "NATIVE_IDENTIFIER", "DOLLAR_IDENTIFIER",
"TEXT_LITERAL", "UUID_LITERAL", "INTEGER_LITERAL",
"HEXA_LITERAL", "DECIMAL_LITERAL", "DATETIME_LITERAL",
"TIME_LITERAL", "DATE_LITERAL", "PERIOD_LITERAL" ];
var ruleNames = [ "enum_category_declaration", "enum_native_declaration",
"category_symbol", "native_symbol", "attribute_declaration",
"concrete_category_declaration", "singleton_category_declaration",
"derived_list", "category_method_list", "operator_method_declaration",
"setter_method_declaration", "native_setter_declaration",
"getter_method_declaration", "native_getter_declaration",
"native_resource_declaration", "native_category_declaration",
"native_category_bindings", "native_category_binding_list",
"abstract_method_declaration", "concrete_method_declaration",
"native_method_declaration", "test_method_declaration",
"assertion", "typed_argument", "statement_or_list", "statement",
"flush_statement", "store_statement", "with_resource_statement",
"with_singleton_statement", "switch_statement", "switch_case_statement",
"for_each_statement", "do_while_statement", "while_statement",
"if_statement", "else_if_statement_list", "raise_statement",
"try_statement", "catch_statement", "break_statement",
"return_statement", "method_call", "method_selector",
"callable_parent", "callable_selector", "expression",
"an_expression", "closure_expression", "instance_expression",
"method_expression", "blob_expression", "document_expression",
"write_statement", "filtered_list_expression", "fetch_store_expression",
"sorted_expression", "selector_expression", "constructor_expression",
"argument_assignment_list", "argument_assignment", "assign_instance_statement",
"child_instance", "assign_tuple_statement", "null_literal",
"declaration_list", "declarations", "declaration", "resource_declaration",
"enum_declaration", "native_symbol_list", "category_symbol_list",
"symbol_list", "attribute_constraint", "list_literal",
"set_literal", "expression_list", "range_literal", "typedef",
"primary_type", "native_type", "category_type", "mutable_category_type",
"code_type", "category_declaration", "type_identifier_list",
"method_identifier", "identifier", "variable_identifier",
"attribute_identifier", "type_identifier", "symbol_identifier",
"argument_list", "argument", "operator_argument", "named_argument",
"code_argument", "category_or_any_type", "any_type",
"member_method_declaration_list", "member_method_declaration",
"native_member_method_declaration_list", "native_member_method_declaration",
"native_category_binding", "python_category_binding",
"python_module", "javascript_category_binding", "javascript_module",
"variable_identifier_list", "attribute_identifier_list",
"method_declaration", "comment_statement", "native_statement_list",
"native_statement", "python_native_statement", "javascript_native_statement",
"statement_list", "assertion_list", "switch_case_statement_list",
"catch_statement_list", "literal_collection", "atomic_literal",
"literal_list_literal", "selectable_expression", "this_expression",
"parenthesis_expression", "literal_expression", "collection_literal",
"tuple_literal", "dict_literal", "expression_tuple",
"dict_entry_list", "dict_entry", "slice_arguments", "assign_variable_statement",
"assignable_instance", "is_expression", "read_all_expression",
"read_one_expression", "order_by_list", "order_by", "operator",
"new_token", "key_token", "module_token", "value_token",
"symbols_token", "assign", "multiply", "divide", "idivide",
"modulo", "lfs", "lfp", "javascript_statement", "javascript_expression",
"javascript_primary_expression", "javascript_this_expression",
"javascript_new_expression", "javascript_selector_expression",
"javascript_method_expression", "javascript_arguments",
"javascript_item_expression", "javascript_parenthesis_expression",
"javascript_identifier_expression", "javascript_literal_expression",
"javascript_identifier", "python_statement", "python_expression",
"python_primary_expression", "python_selector_expression",
"python_method_expression", "python_argument_list", "python_ordinal_argument_list",
"python_named_argument_list", "python_parenthesis_expression",
"python_identifier_expression", "python_literal_expression",
"python_identifier", "java_statement", "java_expression",
"java_primary_expression", "java_this_expression", "java_new_expression",
"java_selector_expression", "java_method_expression",
"java_arguments", "java_item_expression", "java_parenthesis_expression",
"java_identifier_expression", "java_class_identifier_expression",
"java_literal_expression", "java_identifier", "csharp_statement",
"csharp_expression", "csharp_primary_expression", "csharp_this_expression",
"csharp_new_expression", "csharp_selector_expression",
"csharp_method_expression", "csharp_arguments", "csharp_item_expression",
"csharp_parenthesis_expression", "csharp_identifier_expression",
"csharp_literal_expression", "csharp_identifier" ];
function OParser (input) {
AbstractParser.call(this, input);
this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache);
this.ruleNames = ruleNames;
this.literalNames = literalNames;
this.symbolicNames = symbolicNames;
return this;
}
OParser.prototype = Object.create(AbstractParser.prototype);
OParser.prototype.constructor = OParser;
Object.defineProperty(OParser.prototype, "atn", {
get : function() {
return atn;
}
});
OParser.EOF = antlr4.Token.EOF;
OParser.SPACE = 1;
OParser.WS = 2;
OParser.LF = 3;
OParser.COMMENT = 4;
OParser.JAVA = 5;
OParser.CSHARP = 6;
OParser.PYTHON2 = 7;
OParser.PYTHON3 = 8;
OParser.JAVASCRIPT = 9;
OParser.SWIFT = 10;
OParser.COLON = 11;
OParser.SEMI = 12;
OParser.COMMA = 13;
OParser.RANGE = 14;
OParser.DOT = 15;
OParser.LPAR = 16;
OParser.RPAR = 17;
OParser.LBRAK = 18;
OParser.RBRAK = 19;
OParser.LCURL = 20;
OParser.RCURL = 21;
OParser.QMARK = 22;
OParser.XMARK = 23;
OParser.AMP = 24;
OParser.AMP2 = 25;
OParser.PIPE = 26;
OParser.PIPE2 = 27;
OParser.PLUS = 28;
OParser.MINUS = 29;
OParser.STAR = 30;
OParser.SLASH = 31;
OParser.BSLASH = 32;
OParser.PERCENT = 33;
OParser.GT = 34;
OParser.GTE = 35;
OParser.LT = 36;
OParser.LTE = 37;
OParser.LTGT = 38;
OParser.EQ = 39;
OParser.XEQ = 40;
OParser.EQ2 = 41;
OParser.TEQ = 42;
OParser.TILDE = 43;
OParser.LARROW = 44;
OParser.RARROW = 45;
OParser.BOOLEAN = 46;
OParser.CHARACTER = 47;
OParser.TEXT = 48;
OParser.INTEGER = 49;
OParser.DECIMAL = 50;
OParser.DATE = 51;
OParser.TIME = 52;
OParser.DATETIME = 53;
OParser.PERIOD = 54;
OParser.METHOD_T = 55;
OParser.CODE = 56;
OParser.DOCUMENT = 57;
OParser.BLOB = 58;
OParser.IMAGE = 59;
OParser.UUID = 60;
OParser.ITERATOR = 61;
OParser.CURSOR = 62;
OParser.ABSTRACT = 63;
OParser.ALL = 64;
OParser.ALWAYS = 65;
OParser.AND = 66;
OParser.ANY = 67;
OParser.AS = 68;
OParser.ASC = 69;
OParser.ATTR = 70;
OParser.ATTRIBUTE = 71;
OParser.ATTRIBUTES = 72;
OParser.BINDINGS = 73;
OParser.BREAK = 74;
OParser.BY = 75;
OParser.CASE = 76;
OParser.CATCH = 77;
OParser.CATEGORY = 78;
OParser.CLASS = 79;
OParser.CLOSE = 80;
OParser.CONTAINS = 81;
OParser.DEF = 82;
OParser.DEFAULT = 83;
OParser.DEFINE = 84;
OParser.DELETE = 85;
OParser.DESC = 86;
OParser.DO = 87;
OParser.DOING = 88;
OParser.EACH = 89;
OParser.ELSE = 90;
OParser.ENUM = 91;
OParser.ENUMERATED = 92;
OParser.EXCEPT = 93;
OParser.EXECUTE = 94;
OParser.EXPECTING = 95;
OParser.EXTENDS = 96;
OParser.FETCH = 97;
OParser.FILTERED = 98;
OParser.FINALLY = 99;
OParser.FLUSH = 100;
OParser.FOR = 101;
OParser.FROM = 102;
OParser.GETTER = 103;
OParser.IF = 104;
OParser.IN = 105;
OParser.INDEX = 106;
OParser.INVOKE = 107;
OParser.IS = 108;
OParser.MATCHING = 109;
OParser.METHOD = 110;
OParser.METHODS = 111;
OParser.MODULO = 112;
OParser.MUTABLE = 113;
OParser.NATIVE = 114;
OParser.NONE = 115;
OParser.NOT = 116;
OParser.NOTHING = 117;
OParser.NULL = 118;
OParser.ON = 119;
OParser.ONE = 120;
OParser.OPEN = 121;
OParser.OPERATOR = 122;
OParser.OR = 123;
OParser.ORDER = 124;
OParser.OTHERWISE = 125;
OParser.PASS = 126;
OParser.RAISE = 127;
OParser.READ = 128;
OParser.RECEIVING = 129;
OParser.RESOURCE = 130;
OParser.RETURN = 131;
OParser.RETURNING = 132;
OParser.ROWS = 133;
OParser.SELF = 134;
OParser.SETTER = 135;
OParser.SINGLETON = 136;
OParser.SORTED = 137;
OParser.STORABLE = 138;
OParser.STORE = 139;
OParser.SWITCH = 140;
OParser.TEST = 141;
OParser.THIS = 142;
OParser.THROW = 143;
OParser.TO = 144;
OParser.TRY = 145;
OParser.VERIFYING = 146;
OParser.WITH = 147;
OParser.WHEN = 148;
OParser.WHERE = 149;
OParser.WHILE = 150;
OParser.WRITE = 151;
OParser.BOOLEAN_LITERAL = 152;
OParser.CHAR_LITERAL = 153;
OParser.MIN_INTEGER = 154;
OParser.MAX_INTEGER = 155;
OParser.SYMBOL_IDENTIFIER = 156;
OParser.TYPE_IDENTIFIER = 157;
OParser.VARIABLE_IDENTIFIER = 158;
OParser.NATIVE_IDENTIFIER = 159;
OParser.DOLLAR_IDENTIFIER = 160;
OParser.TEXT_LITERAL = 161;
OParser.UUID_LITERAL = 162;
OParser.INTEGER_LITERAL = 163;
OParser.HEXA_LITERAL = 164;
OParser.DECIMAL_LITERAL = 165;
OParser.DATETIME_LITERAL = 166;
OParser.TIME_LITERAL = 167;
OParser.DATE_LITERAL = 168;
OParser.PERIOD_LITERAL = 169;
OParser.RULE_enum_category_declaration = 0;
OParser.RULE_enum_native_declaration = 1;
OParser.RULE_category_symbol = 2;
OParser.RULE_native_symbol = 3;
OParser.RULE_attribute_declaration = 4;
OParser.RULE_concrete_category_declaration = 5;
OParser.RULE_singleton_category_declaration = 6;
OParser.RULE_derived_list = 7;
OParser.RULE_category_method_list = 8;
OParser.RULE_operator_method_declaration = 9;
OParser.RULE_setter_method_declaration = 10;
OParser.RULE_native_setter_declaration = 11;
OParser.RULE_getter_method_declaration = 12;
OParser.RULE_native_getter_declaration = 13;
OParser.RULE_native_resource_declaration = 14;
OParser.RULE_native_category_declaration = 15;
OParser.RULE_native_category_bindings = 16;
OParser.RULE_native_category_binding_list = 17;
OParser.RULE_abstract_method_declaration = 18;
OParser.RULE_concrete_method_declaration = 19;
OParser.RULE_native_method_declaration = 20;
OParser.RULE_test_method_declaration = 21;
OParser.RULE_assertion = 22;
OParser.RULE_typed_argument = 23;
OParser.RULE_statement_or_list = 24;
OParser.RULE_statement = 25;
OParser.RULE_flush_statement = 26;
OParser.RULE_store_statement = 27;
OParser.RULE_with_resource_statement = 28;
OParser.RULE_with_singleton_statement = 29;
OParser.RULE_switch_statement = 30;
OParser.RULE_switch_case_statement = 31;
OParser.RULE_for_each_statement = 32;
OParser.RULE_do_while_statement = 33;
OParser.RULE_while_statement = 34;
OParser.RULE_if_statement = 35;
OParser.RULE_else_if_statement_list = 36;
OParser.RULE_raise_statement = 37;
OParser.RULE_try_statement = 38;
OParser.RULE_catch_statement = 39;
OParser.RULE_break_statement = 40;
OParser.RULE_return_statement = 41;
OParser.RULE_method_call = 42;
OParser.RULE_method_selector = 43;
OParser.RULE_callable_parent = 44;
OParser.RULE_callable_selector = 45;
OParser.RULE_expression = 46;
OParser.RULE_an_expression = 47;
OParser.RULE_closure_expression = 48;
OParser.RULE_instance_expression = 49;
OParser.RULE_method_expression = 50;
OParser.RULE_blob_expression = 51;
OParser.RULE_document_expression = 52;
OParser.RULE_write_statement = 53;
OParser.RULE_filtered_list_expression = 54;
OParser.RULE_fetch_store_expression = 55;
OParser.RULE_sorted_expression = 56;
OParser.RULE_selector_expression = 57;
OParser.RULE_constructor_expression = 58;
OParser.RULE_argument_assignment_list = 59;
OParser.RULE_argument_assignment = 60;
OParser.RULE_assign_instance_statement = 61;
OParser.RULE_child_instance = 62;
OParser.RULE_assign_tuple_statement = 63;
OParser.RULE_null_literal = 64;
OParser.RULE_declaration_list = 65;
OParser.RULE_declarations = 66;
OParser.RULE_declaration = 67;
OParser.RULE_resource_declaration = 68;
OParser.RULE_enum_declaration = 69;
OParser.RULE_native_symbol_list = 70;
OParser.RULE_category_symbol_list = 71;
OParser.RULE_symbol_list = 72;
OParser.RULE_attribute_constraint = 73;
OParser.RULE_list_literal = 74;
OParser.RULE_set_literal = 75;
OParser.RULE_expression_list = 76;
OParser.RULE_range_literal = 77;
OParser.RULE_typedef = 78;
OParser.RULE_primary_type = 79;
OParser.RULE_native_type = 80;
OParser.RULE_category_type = 81;
OParser.RULE_mutable_category_type = 82;
OParser.RULE_code_type = 83;
OParser.RULE_category_declaration = 84;
OParser.RULE_type_identifier_list = 85;
OParser.RULE_method_identifier = 86;
OParser.RULE_identifier = 87;
OParser.RULE_variable_identifier = 88;
OParser.RULE_attribute_identifier = 89;
OParser.RULE_type_identifier = 90;
OParser.RULE_symbol_identifier = 91;
OParser.RULE_argument_list = 92;
OParser.RULE_argument = 93;
OParser.RULE_operator_argument = 94;
OParser.RULE_named_argument = 95;
OParser.RULE_code_argument = 96;
OParser.RULE_category_or_any_type = 97;
OParser.RULE_any_type = 98;
OParser.RULE_member_method_declaration_list = 99;
OParser.RULE_member_method_declaration = 100;
OParser.RULE_native_member_method_declaration_list = 101;
OParser.RULE_native_member_method_declaration = 102;
OParser.RULE_native_category_binding = 103;
OParser.RULE_python_category_binding = 104;
OParser.RULE_python_module = 105;
OParser.RULE_javascript_category_binding = 106;
OParser.RULE_javascript_module = 107;
OParser.RULE_variable_identifier_list = 108;
OParser.RULE_attribute_identifier_list = 109;
OParser.RULE_method_declaration = 110;
OParser.RULE_comment_statement = 111;
OParser.RULE_native_statement_list = 112;
OParser.RULE_native_statement = 113;
OParser.RULE_python_native_statement = 114;
OParser.RULE_javascript_native_statement = 115;
OParser.RULE_statement_list = 116;
OParser.RULE_assertion_list = 117;
OParser.RULE_switch_case_statement_list = 118;
OParser.RULE_catch_statement_list = 119;
OParser.RULE_literal_collection = 120;
OParser.RULE_atomic_literal = 121;
OParser.RULE_literal_list_literal = 122;
OParser.RULE_selectable_expression = 123;
OParser.RULE_this_expression = 124;
OParser.RULE_parenthesis_expression = 125;
OParser.RULE_literal_expression = 126;
OParser.RULE_collection_literal = 127;
OParser.RULE_tuple_literal = 128;
OParser.RULE_dict_literal = 129;
OParser.RULE_expression_tuple = 130;
OParser.RULE_dict_entry_list = 131;
OParser.RULE_dict_entry = 132;
OParser.RULE_slice_arguments = 133;
OParser.RULE_assign_variable_statement = 134;
OParser.RULE_assignable_instance = 135;
OParser.RULE_is_expression = 136;
OParser.RULE_read_all_expression = 137;
OParser.RULE_read_one_expression = 138;
OParser.RULE_order_by_list = 139;
OParser.RULE_order_by = 140;
OParser.RULE_operator = 141;
OParser.RULE_new_token = 142;
OParser.RULE_key_token = 143;
OParser.RULE_module_token = 144;
OParser.RULE_value_token = 145;
OParser.RULE_symbols_token = 146;
OParser.RULE_assign = 147;
OParser.RULE_multiply = 148;
OParser.RULE_divide = 149;
OParser.RULE_idivide = 150;
OParser.RULE_modulo = 151;
OParser.RULE_lfs = 152;
OParser.RULE_lfp = 153;
OParser.RULE_javascript_statement = 154;
OParser.RULE_javascript_expression = 155;
OParser.RULE_javascript_primary_expression = 156;
OParser.RULE_javascript_this_expression = 157;
OParser.RULE_javascript_new_expression = 158;
OParser.RULE_javascript_selector_expression = 159;
OParser.RULE_javascript_method_expression = 160;
OParser.RULE_javascript_arguments = 161;
OParser.RULE_javascript_item_expression = 162;
OParser.RULE_javascript_parenthesis_expression = 163;
OParser.RULE_javascript_identifier_expression = 164;
OParser.RULE_javascript_literal_expression = 165;
OParser.RULE_javascript_identifier = 166;
OParser.RULE_python_statement = 167;
OParser.RULE_python_expression = 168;
OParser.RULE_python_primary_expression = 169;
OParser.RULE_python_selector_expression = 170;
OParser.RULE_python_method_expression = 171;
OParser.RULE_python_argument_list = 172;
OParser.RULE_python_ordinal_argument_list = 173;
OParser.RULE_python_named_argument_list = 174;
OParser.RULE_python_parenthesis_expression = 175;
OParser.RULE_python_identifier_expression = 176;
OParser.RULE_python_literal_expression = 177;
OParser.RULE_python_identifier = 178;
OParser.RULE_java_statement = 179;
OParser.RULE_java_expression = 180;
OParser.RULE_java_primary_expression = 181;
OParser.RULE_java_this_expression = 182;
OParser.RULE_java_new_expression = 183;
OParser.RULE_java_selector_expression = 184;
OParser.RULE_java_method_expression = 185;
OParser.RULE_java_arguments = 186;
OParser.RULE_java_item_expression = 187;
OParser.RULE_java_parenthesis_expression = 188;
OParser.RULE_java_identifier_expression = 189;
OParser.RULE_java_class_identifier_expression = 190;
OParser.RULE_java_literal_expression = 191;
OParser.RULE_java_identifier = 192;
OParser.RULE_csharp_statement = 193;
OParser.RULE_csharp_expression = 194;
OParser.RULE_csharp_primary_expression = 195;
OParser.RULE_csharp_this_expression = 196;
OParser.RULE_csharp_new_expression = 197;
OParser.RULE_csharp_selector_expression = 198;
OParser.RULE_csharp_method_expression = 199;
OParser.RULE_csharp_arguments = 200;
OParser.RULE_csharp_item_expression = 201;
OParser.RULE_csharp_parenthesis_expression = 202;
OParser.RULE_csharp_identifier_expression = 203;
OParser.RULE_csharp_literal_expression = 204;
OParser.RULE_csharp_identifier = 205;
function Enum_category_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_enum_category_declaration;
this.name = null; // Type_identifierContext
this.attrs = null; // Attribute_identifier_listContext
this.derived = null; // Type_identifierContext
this.symbols = null; // Category_symbol_listContext
return this;
}
Enum_category_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Enum_category_declarationContext.prototype.constructor = Enum_category_declarationContext;
Enum_category_declarationContext.prototype.ENUMERATED = function() {
return this.getToken(OParser.ENUMERATED, 0);
};
Enum_category_declarationContext.prototype.CATEGORY = function() {
return this.getToken(OParser.CATEGORY, 0);
};
Enum_category_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Enum_category_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Enum_category_declarationContext.prototype.type_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Type_identifierContext);
} else {
return this.getTypedRuleContext(Type_identifierContext,i);
}
};
Enum_category_declarationContext.prototype.category_symbol_list = function() {
return this.getTypedRuleContext(Category_symbol_listContext,0);
};
Enum_category_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Enum_category_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Enum_category_declarationContext.prototype.EXTENDS = function() {
return this.getToken(OParser.EXTENDS, 0);
};
Enum_category_declarationContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Enum_category_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterEnum_category_declaration(this);
}
};
Enum_category_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitEnum_category_declaration(this);
}
};
OParser.prototype.enum_category_declaration = function() {
var localctx = new Enum_category_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 0, OParser.RULE_enum_category_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 412;
this.match(OParser.ENUMERATED);
this.state = 413;
this.match(OParser.CATEGORY);
this.state = 414;
localctx.name = this.type_identifier();
this.state = 419;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 415;
this.match(OParser.LPAR);
this.state = 416;
localctx.attrs = this.attribute_identifier_list();
this.state = 417;
this.match(OParser.RPAR);
}
this.state = 423;
_la = this._input.LA(1);
if(_la===OParser.EXTENDS) {
this.state = 421;
this.match(OParser.EXTENDS);
this.state = 422;
localctx.derived = this.type_identifier();
}
this.state = 425;
this.match(OParser.LCURL);
this.state = 426;
localctx.symbols = this.category_symbol_list();
this.state = 427;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Enum_native_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_enum_native_declaration;
this.name = null; // Type_identifierContext
this.typ = null; // Native_typeContext
this.symbols = null; // Native_symbol_listContext
return this;
}
Enum_native_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Enum_native_declarationContext.prototype.constructor = Enum_native_declarationContext;
Enum_native_declarationContext.prototype.ENUMERATED = function() {
return this.getToken(OParser.ENUMERATED, 0);
};
Enum_native_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Enum_native_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Enum_native_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Enum_native_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Enum_native_declarationContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Enum_native_declarationContext.prototype.native_type = function() {
return this.getTypedRuleContext(Native_typeContext,0);
};
Enum_native_declarationContext.prototype.native_symbol_list = function() {
return this.getTypedRuleContext(Native_symbol_listContext,0);
};
Enum_native_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterEnum_native_declaration(this);
}
};
Enum_native_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitEnum_native_declaration(this);
}
};
OParser.prototype.enum_native_declaration = function() {
var localctx = new Enum_native_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 2, OParser.RULE_enum_native_declaration);
try {
this.enterOuterAlt(localctx, 1);
this.state = 429;
this.match(OParser.ENUMERATED);
this.state = 430;
localctx.name = this.type_identifier();
this.state = 431;
this.match(OParser.LPAR);
this.state = 432;
localctx.typ = this.native_type();
this.state = 433;
this.match(OParser.RPAR);
this.state = 434;
this.match(OParser.LCURL);
this.state = 435;
localctx.symbols = this.native_symbol_list();
this.state = 436;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Category_symbolContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_symbol;
this.name = null; // Symbol_identifierContext
this.args = null; // Argument_assignment_listContext
return this;
}
Category_symbolContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_symbolContext.prototype.constructor = Category_symbolContext;
Category_symbolContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Category_symbolContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Category_symbolContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Category_symbolContext.prototype.symbol_identifier = function() {
return this.getTypedRuleContext(Symbol_identifierContext,0);
};
Category_symbolContext.prototype.argument_assignment_list = function() {
return this.getTypedRuleContext(Argument_assignment_listContext,0);
};
Category_symbolContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCategory_symbol(this);
}
};
Category_symbolContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCategory_symbol(this);
}
};
OParser.prototype.category_symbol = function() {
var localctx = new Category_symbolContext(this, this._ctx, this.state);
this.enterRule(localctx, 4, OParser.RULE_category_symbol);
try {
this.enterOuterAlt(localctx, 1);
this.state = 438;
localctx.name = this.symbol_identifier();
this.state = 439;
this.match(OParser.LPAR);
this.state = 440;
localctx.args = this.argument_assignment_list(0);
this.state = 441;
this.match(OParser.RPAR);
this.state = 442;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_symbolContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_symbol;
this.name = null; // Symbol_identifierContext
this.exp = null; // ExpressionContext
return this;
}
Native_symbolContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_symbolContext.prototype.constructor = Native_symbolContext;
Native_symbolContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
Native_symbolContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Native_symbolContext.prototype.symbol_identifier = function() {
return this.getTypedRuleContext(Symbol_identifierContext,0);
};
Native_symbolContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Native_symbolContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_symbol(this);
}
};
Native_symbolContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_symbol(this);
}
};
OParser.prototype.native_symbol = function() {
var localctx = new Native_symbolContext(this, this._ctx, this.state);
this.enterRule(localctx, 6, OParser.RULE_native_symbol);
try {
this.enterOuterAlt(localctx, 1);
this.state = 444;
localctx.name = this.symbol_identifier();
this.state = 445;
this.match(OParser.EQ);
this.state = 446;
localctx.exp = this.expression(0);
this.state = 447;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Attribute_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_attribute_declaration;
this.name = null; // Attribute_identifierContext
this.typ = null; // TypedefContext
this.match = null; // Attribute_constraintContext
this.indices = null; // Variable_identifier_listContext
return this;
}
Attribute_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Attribute_declarationContext.prototype.constructor = Attribute_declarationContext;
Attribute_declarationContext.prototype.ATTRIBUTE = function() {
return this.getToken(OParser.ATTRIBUTE, 0);
};
Attribute_declarationContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
Attribute_declarationContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Attribute_declarationContext.prototype.attribute_identifier = function() {
return this.getTypedRuleContext(Attribute_identifierContext,0);
};
Attribute_declarationContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
Attribute_declarationContext.prototype.STORABLE = function() {
return this.getToken(OParser.STORABLE, 0);
};
Attribute_declarationContext.prototype.WITH = function() {
return this.getToken(OParser.WITH, 0);
};
Attribute_declarationContext.prototype.INDEX = function() {
return this.getToken(OParser.INDEX, 0);
};
Attribute_declarationContext.prototype.attribute_constraint = function() {
return this.getTypedRuleContext(Attribute_constraintContext,0);
};
Attribute_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Attribute_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Attribute_declarationContext.prototype.variable_identifier_list = function() {
return this.getTypedRuleContext(Variable_identifier_listContext,0);
};
Attribute_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAttribute_declaration(this);
}
};
Attribute_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAttribute_declaration(this);
}
};
OParser.prototype.attribute_declaration = function() {
var localctx = new Attribute_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 8, OParser.RULE_attribute_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 450;
_la = this._input.LA(1);
if(_la===OParser.STORABLE) {
this.state = 449;
this.match(OParser.STORABLE);
}
this.state = 452;
this.match(OParser.ATTRIBUTE);
this.state = 453;
localctx.name = this.attribute_identifier();
this.state = 454;
this.match(OParser.COLON);
this.state = 455;
localctx.typ = this.typedef(0);
this.state = 457;
_la = this._input.LA(1);
if(_la===OParser.IN || _la===OParser.MATCHING) {
this.state = 456;
localctx.match = this.attribute_constraint();
}
this.state = 467;
_la = this._input.LA(1);
if(_la===OParser.WITH) {
this.state = 459;
this.match(OParser.WITH);
this.state = 460;
this.match(OParser.INDEX);
this.state = 465;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 461;
this.match(OParser.LPAR);
this.state = 462;
localctx.indices = this.variable_identifier_list();
this.state = 463;
this.match(OParser.RPAR);
}
}
this.state = 469;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Concrete_category_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_concrete_category_declaration;
this.name = null; // Type_identifierContext
this.attrs = null; // Attribute_identifier_listContext
this.derived = null; // Derived_listContext
this.methods = null; // Category_method_listContext
return this;
}
Concrete_category_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Concrete_category_declarationContext.prototype.constructor = Concrete_category_declarationContext;
Concrete_category_declarationContext.prototype.CATEGORY = function() {
return this.getToken(OParser.CATEGORY, 0);
};
Concrete_category_declarationContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Concrete_category_declarationContext.prototype.category_method_list = function() {
return this.getTypedRuleContext(Category_method_listContext,0);
};
Concrete_category_declarationContext.prototype.STORABLE = function() {
return this.getToken(OParser.STORABLE, 0);
};
Concrete_category_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Concrete_category_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Concrete_category_declarationContext.prototype.EXTENDS = function() {
return this.getToken(OParser.EXTENDS, 0);
};
Concrete_category_declarationContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Concrete_category_declarationContext.prototype.derived_list = function() {
return this.getTypedRuleContext(Derived_listContext,0);
};
Concrete_category_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterConcrete_category_declaration(this);
}
};
Concrete_category_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitConcrete_category_declaration(this);
}
};
OParser.prototype.concrete_category_declaration = function() {
var localctx = new Concrete_category_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 10, OParser.RULE_concrete_category_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 472;
_la = this._input.LA(1);
if(_la===OParser.STORABLE) {
this.state = 471;
this.match(OParser.STORABLE);
}
this.state = 474;
this.match(OParser.CATEGORY);
this.state = 475;
localctx.name = this.type_identifier();
this.state = 480;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 476;
this.match(OParser.LPAR);
this.state = 477;
localctx.attrs = this.attribute_identifier_list();
this.state = 478;
this.match(OParser.RPAR);
}
this.state = 484;
_la = this._input.LA(1);
if(_la===OParser.EXTENDS) {
this.state = 482;
this.match(OParser.EXTENDS);
this.state = 483;
localctx.derived = this.derived_list(0);
}
this.state = 486;
localctx.methods = this.category_method_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Singleton_category_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_singleton_category_declaration;
this.name = null; // Type_identifierContext
this.attrs = null; // Attribute_identifier_listContext
this.methods = null; // Category_method_listContext
return this;
}
Singleton_category_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Singleton_category_declarationContext.prototype.constructor = Singleton_category_declarationContext;
Singleton_category_declarationContext.prototype.SINGLETON = function() {
return this.getToken(OParser.SINGLETON, 0);
};
Singleton_category_declarationContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Singleton_category_declarationContext.prototype.category_method_list = function() {
return this.getTypedRuleContext(Category_method_listContext,0);
};
Singleton_category_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Singleton_category_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Singleton_category_declarationContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Singleton_category_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSingleton_category_declaration(this);
}
};
Singleton_category_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSingleton_category_declaration(this);
}
};
OParser.prototype.singleton_category_declaration = function() {
var localctx = new Singleton_category_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 12, OParser.RULE_singleton_category_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 488;
this.match(OParser.SINGLETON);
this.state = 489;
localctx.name = this.type_identifier();
this.state = 494;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 490;
this.match(OParser.LPAR);
this.state = 491;
localctx.attrs = this.attribute_identifier_list();
this.state = 492;
this.match(OParser.RPAR);
}
this.state = 496;
localctx.methods = this.category_method_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Derived_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_derived_list;
return this;
}
Derived_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Derived_listContext.prototype.constructor = Derived_listContext;
Derived_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function DerivedListItemContext(parser, ctx) {
Derived_listContext.call(this, parser);
this.items = null; // Derived_listContext;
this.item = null; // Type_identifierContext;
Derived_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
DerivedListItemContext.prototype = Object.create(Derived_listContext.prototype);
DerivedListItemContext.prototype.constructor = DerivedListItemContext;
DerivedListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
DerivedListItemContext.prototype.derived_list = function() {
return this.getTypedRuleContext(Derived_listContext,0);
};
DerivedListItemContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
DerivedListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDerivedListItem(this);
}
};
DerivedListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDerivedListItem(this);
}
};
function DerivedListContext(parser, ctx) {
Derived_listContext.call(this, parser);
this.item = null; // Type_identifierContext;
Derived_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
DerivedListContext.prototype = Object.create(Derived_listContext.prototype);
DerivedListContext.prototype.constructor = DerivedListContext;
DerivedListContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
DerivedListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDerivedList(this);
}
};
DerivedListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDerivedList(this);
}
};
OParser.prototype.derived_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Derived_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 14;
this.enterRecursionRule(localctx, 14, OParser.RULE_derived_list, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new DerivedListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 499;
localctx.item = this.type_identifier();
this._ctx.stop = this._input.LT(-1);
this.state = 506;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,10,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new DerivedListItemContext(this, new Derived_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_derived_list);
this.state = 501;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 502;
this.match(OParser.COMMA);
this.state = 503;
localctx.item = this.type_identifier();
}
this.state = 508;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,10,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Category_method_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_method_list;
return this;
}
Category_method_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_method_listContext.prototype.constructor = Category_method_listContext;
Category_method_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function EmptyCategoryMethodListContext(parser, ctx) {
Category_method_listContext.call(this, parser);
Category_method_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
EmptyCategoryMethodListContext.prototype = Object.create(Category_method_listContext.prototype);
EmptyCategoryMethodListContext.prototype.constructor = EmptyCategoryMethodListContext;
EmptyCategoryMethodListContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
EmptyCategoryMethodListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterEmptyCategoryMethodList(this);
}
};
EmptyCategoryMethodListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitEmptyCategoryMethodList(this);
}
};
function CurlyCategoryMethodListContext(parser, ctx) {
Category_method_listContext.call(this, parser);
this.items = null; // Member_method_declaration_listContext;
Category_method_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
CurlyCategoryMethodListContext.prototype = Object.create(Category_method_listContext.prototype);
CurlyCategoryMethodListContext.prototype.constructor = CurlyCategoryMethodListContext;
CurlyCategoryMethodListContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
CurlyCategoryMethodListContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
CurlyCategoryMethodListContext.prototype.member_method_declaration_list = function() {
return this.getTypedRuleContext(Member_method_declaration_listContext,0);
};
CurlyCategoryMethodListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCurlyCategoryMethodList(this);
}
};
CurlyCategoryMethodListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCurlyCategoryMethodList(this);
}
};
OParser.prototype.category_method_list = function() {
var localctx = new Category_method_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 16, OParser.RULE_category_method_list);
var _la = 0; // Token type
try {
this.state = 515;
switch(this._input.LA(1)) {
case OParser.SEMI:
localctx = new EmptyCategoryMethodListContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 509;
this.match(OParser.SEMI);
break;
case OParser.LCURL:
localctx = new CurlyCategoryMethodListContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 510;
this.match(OParser.LCURL);
this.state = 512;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ABSTRACT - 46)))) !== 0) || ((((_la - 103)) & ~0x1f) == 0 && ((1 << (_la - 103)) & ((1 << (OParser.GETTER - 103)) | (1 << (OParser.METHOD - 103)) | (1 << (OParser.OPERATOR - 103)))) !== 0) || _la===OParser.SETTER || _la===OParser.TYPE_IDENTIFIER) {
this.state = 511;
localctx.items = this.member_method_declaration_list();
}
this.state = 514;
this.match(OParser.RCURL);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Operator_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_operator_method_declaration;
this.typ = null; // TypedefContext
this.op = null; // OperatorContext
this.arg = null; // Operator_argumentContext
this.stmts = null; // Statement_listContext
return this;
}
Operator_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Operator_method_declarationContext.prototype.constructor = Operator_method_declarationContext;
Operator_method_declarationContext.prototype.OPERATOR = function() {
return this.getToken(OParser.OPERATOR, 0);
};
Operator_method_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Operator_method_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Operator_method_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Operator_method_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Operator_method_declarationContext.prototype.operator = function() {
return this.getTypedRuleContext(OperatorContext,0);
};
Operator_method_declarationContext.prototype.operator_argument = function() {
return this.getTypedRuleContext(Operator_argumentContext,0);
};
Operator_method_declarationContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
Operator_method_declarationContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Operator_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperator_method_declaration(this);
}
};
Operator_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperator_method_declaration(this);
}
};
OParser.prototype.operator_method_declaration = function() {
var localctx = new Operator_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 18, OParser.RULE_operator_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 518;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 517;
localctx.typ = this.typedef(0);
}
this.state = 520;
this.match(OParser.OPERATOR);
this.state = 521;
localctx.op = this.operator();
this.state = 522;
this.match(OParser.LPAR);
this.state = 523;
localctx.arg = this.operator_argument();
this.state = 524;
this.match(OParser.RPAR);
this.state = 525;
this.match(OParser.LCURL);
this.state = 527;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 526;
localctx.stmts = this.statement_list();
}
this.state = 529;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Setter_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_setter_method_declaration;
this.name = null; // Variable_identifierContext
this.stmts = null; // Statement_listContext
return this;
}
Setter_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Setter_method_declarationContext.prototype.constructor = Setter_method_declarationContext;
Setter_method_declarationContext.prototype.SETTER = function() {
return this.getToken(OParser.SETTER, 0);
};
Setter_method_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Setter_method_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Setter_method_declarationContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Setter_method_declarationContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Setter_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSetter_method_declaration(this);
}
};
Setter_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSetter_method_declaration(this);
}
};
OParser.prototype.setter_method_declaration = function() {
var localctx = new Setter_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 20, OParser.RULE_setter_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 531;
this.match(OParser.SETTER);
this.state = 532;
localctx.name = this.variable_identifier();
this.state = 533;
this.match(OParser.LCURL);
this.state = 535;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 534;
localctx.stmts = this.statement_list();
}
this.state = 537;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_setter_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_setter_declaration;
this.name = null; // Variable_identifierContext
this.stmts = null; // Native_statement_listContext
return this;
}
Native_setter_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_setter_declarationContext.prototype.constructor = Native_setter_declarationContext;
Native_setter_declarationContext.prototype.SETTER = function() {
return this.getToken(OParser.SETTER, 0);
};
Native_setter_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_setter_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_setter_declarationContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Native_setter_declarationContext.prototype.NATIVE = function() {
return this.getToken(OParser.NATIVE, 0);
};
Native_setter_declarationContext.prototype.native_statement_list = function() {
return this.getTypedRuleContext(Native_statement_listContext,0);
};
Native_setter_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_setter_declaration(this);
}
};
Native_setter_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_setter_declaration(this);
}
};
OParser.prototype.native_setter_declaration = function() {
var localctx = new Native_setter_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 22, OParser.RULE_native_setter_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 540;
_la = this._input.LA(1);
if(_la===OParser.NATIVE) {
this.state = 539;
this.match(OParser.NATIVE);
}
this.state = 542;
this.match(OParser.SETTER);
this.state = 543;
localctx.name = this.variable_identifier();
this.state = 544;
this.match(OParser.LCURL);
this.state = 546;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.JAVA) | (1 << OParser.CSHARP) | (1 << OParser.PYTHON2) | (1 << OParser.PYTHON3) | (1 << OParser.JAVASCRIPT))) !== 0)) {
this.state = 545;
localctx.stmts = this.native_statement_list();
}
this.state = 548;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Getter_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_getter_method_declaration;
this.name = null; // Variable_identifierContext
this.stmts = null; // Statement_listContext
return this;
}
Getter_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Getter_method_declarationContext.prototype.constructor = Getter_method_declarationContext;
Getter_method_declarationContext.prototype.GETTER = function() {
return this.getToken(OParser.GETTER, 0);
};
Getter_method_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Getter_method_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Getter_method_declarationContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Getter_method_declarationContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Getter_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterGetter_method_declaration(this);
}
};
Getter_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitGetter_method_declaration(this);
}
};
OParser.prototype.getter_method_declaration = function() {
var localctx = new Getter_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 24, OParser.RULE_getter_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 550;
this.match(OParser.GETTER);
this.state = 551;
localctx.name = this.variable_identifier();
this.state = 552;
this.match(OParser.LCURL);
this.state = 554;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 553;
localctx.stmts = this.statement_list();
}
this.state = 556;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_getter_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_getter_declaration;
this.name = null; // Variable_identifierContext
this.stmts = null; // Native_statement_listContext
return this;
}
Native_getter_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_getter_declarationContext.prototype.constructor = Native_getter_declarationContext;
Native_getter_declarationContext.prototype.GETTER = function() {
return this.getToken(OParser.GETTER, 0);
};
Native_getter_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_getter_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_getter_declarationContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Native_getter_declarationContext.prototype.NATIVE = function() {
return this.getToken(OParser.NATIVE, 0);
};
Native_getter_declarationContext.prototype.native_statement_list = function() {
return this.getTypedRuleContext(Native_statement_listContext,0);
};
Native_getter_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_getter_declaration(this);
}
};
Native_getter_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_getter_declaration(this);
}
};
OParser.prototype.native_getter_declaration = function() {
var localctx = new Native_getter_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 26, OParser.RULE_native_getter_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 559;
_la = this._input.LA(1);
if(_la===OParser.NATIVE) {
this.state = 558;
this.match(OParser.NATIVE);
}
this.state = 561;
this.match(OParser.GETTER);
this.state = 562;
localctx.name = this.variable_identifier();
this.state = 563;
this.match(OParser.LCURL);
this.state = 565;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.JAVA) | (1 << OParser.CSHARP) | (1 << OParser.PYTHON2) | (1 << OParser.PYTHON3) | (1 << OParser.JAVASCRIPT))) !== 0)) {
this.state = 564;
localctx.stmts = this.native_statement_list();
}
this.state = 567;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_resource_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_resource_declaration;
this.name = null; // Type_identifierContext
this.attrs = null; // Attribute_identifier_listContext
this.bindings = null; // Native_category_bindingsContext
this.methods = null; // Native_member_method_declaration_listContext
return this;
}
Native_resource_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_resource_declarationContext.prototype.constructor = Native_resource_declarationContext;
Native_resource_declarationContext.prototype.NATIVE = function() {
return this.getToken(OParser.NATIVE, 0);
};
Native_resource_declarationContext.prototype.RESOURCE = function() {
return this.getToken(OParser.RESOURCE, 0);
};
Native_resource_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_resource_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_resource_declarationContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Native_resource_declarationContext.prototype.native_category_bindings = function() {
return this.getTypedRuleContext(Native_category_bindingsContext,0);
};
Native_resource_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Native_resource_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Native_resource_declarationContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Native_resource_declarationContext.prototype.native_member_method_declaration_list = function() {
return this.getTypedRuleContext(Native_member_method_declaration_listContext,0);
};
Native_resource_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_resource_declaration(this);
}
};
Native_resource_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_resource_declaration(this);
}
};
OParser.prototype.native_resource_declaration = function() {
var localctx = new Native_resource_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 28, OParser.RULE_native_resource_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 569;
this.match(OParser.NATIVE);
this.state = 570;
this.match(OParser.RESOURCE);
this.state = 571;
localctx.name = this.type_identifier();
this.state = 576;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 572;
this.match(OParser.LPAR);
this.state = 573;
localctx.attrs = this.attribute_identifier_list();
this.state = 574;
this.match(OParser.RPAR);
}
this.state = 578;
this.match(OParser.LCURL);
this.state = 579;
localctx.bindings = this.native_category_bindings();
this.state = 581;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || ((((_la - 103)) & ~0x1f) == 0 && ((1 << (_la - 103)) & ((1 << (OParser.GETTER - 103)) | (1 << (OParser.METHOD - 103)) | (1 << (OParser.NATIVE - 103)))) !== 0) || _la===OParser.SETTER || _la===OParser.TYPE_IDENTIFIER) {
this.state = 580;
localctx.methods = this.native_member_method_declaration_list();
}
this.state = 583;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_category_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_category_declaration;
this.name = null; // Type_identifierContext
this.attrs = null; // Attribute_identifier_listContext
this.bindings = null; // Native_category_bindingsContext
this.methods = null; // Native_member_method_declaration_listContext
return this;
}
Native_category_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_category_declarationContext.prototype.constructor = Native_category_declarationContext;
Native_category_declarationContext.prototype.NATIVE = function() {
return this.getToken(OParser.NATIVE, 0);
};
Native_category_declarationContext.prototype.CATEGORY = function() {
return this.getToken(OParser.CATEGORY, 0);
};
Native_category_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_category_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_category_declarationContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Native_category_declarationContext.prototype.native_category_bindings = function() {
return this.getTypedRuleContext(Native_category_bindingsContext,0);
};
Native_category_declarationContext.prototype.STORABLE = function() {
return this.getToken(OParser.STORABLE, 0);
};
Native_category_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Native_category_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Native_category_declarationContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Native_category_declarationContext.prototype.native_member_method_declaration_list = function() {
return this.getTypedRuleContext(Native_member_method_declaration_listContext,0);
};
Native_category_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_category_declaration(this);
}
};
Native_category_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_category_declaration(this);
}
};
OParser.prototype.native_category_declaration = function() {
var localctx = new Native_category_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 30, OParser.RULE_native_category_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 586;
_la = this._input.LA(1);
if(_la===OParser.STORABLE) {
this.state = 585;
this.match(OParser.STORABLE);
}
this.state = 588;
this.match(OParser.NATIVE);
this.state = 589;
this.match(OParser.CATEGORY);
this.state = 590;
localctx.name = this.type_identifier();
this.state = 595;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 591;
this.match(OParser.LPAR);
this.state = 592;
localctx.attrs = this.attribute_identifier_list();
this.state = 593;
this.match(OParser.RPAR);
}
this.state = 597;
this.match(OParser.LCURL);
this.state = 598;
localctx.bindings = this.native_category_bindings();
this.state = 600;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || ((((_la - 103)) & ~0x1f) == 0 && ((1 << (_la - 103)) & ((1 << (OParser.GETTER - 103)) | (1 << (OParser.METHOD - 103)) | (1 << (OParser.NATIVE - 103)))) !== 0) || _la===OParser.SETTER || _la===OParser.TYPE_IDENTIFIER) {
this.state = 599;
localctx.methods = this.native_member_method_declaration_list();
}
this.state = 602;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_category_bindingsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_category_bindings;
this.items = null; // Native_category_binding_listContext
return this;
}
Native_category_bindingsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_category_bindingsContext.prototype.constructor = Native_category_bindingsContext;
Native_category_bindingsContext.prototype.CATEGORY = function() {
return this.getToken(OParser.CATEGORY, 0);
};
Native_category_bindingsContext.prototype.BINDINGS = function() {
return this.getToken(OParser.BINDINGS, 0);
};
Native_category_bindingsContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_category_bindingsContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_category_bindingsContext.prototype.native_category_binding_list = function() {
return this.getTypedRuleContext(Native_category_binding_listContext,0);
};
Native_category_bindingsContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_category_bindings(this);
}
};
Native_category_bindingsContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_category_bindings(this);
}
};
OParser.prototype.native_category_bindings = function() {
var localctx = new Native_category_bindingsContext(this, this._ctx, this.state);
this.enterRule(localctx, 32, OParser.RULE_native_category_bindings);
try {
this.enterOuterAlt(localctx, 1);
this.state = 604;
this.match(OParser.CATEGORY);
this.state = 605;
this.match(OParser.BINDINGS);
this.state = 606;
this.match(OParser.LCURL);
this.state = 607;
localctx.items = this.native_category_binding_list(0);
this.state = 608;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_category_binding_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_category_binding_list;
return this;
}
Native_category_binding_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_category_binding_listContext.prototype.constructor = Native_category_binding_listContext;
Native_category_binding_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function NativeCategoryBindingListItemContext(parser, ctx) {
Native_category_binding_listContext.call(this, parser);
this.items = null; // Native_category_binding_listContext;
this.item = null; // Native_category_bindingContext;
Native_category_binding_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
NativeCategoryBindingListItemContext.prototype = Object.create(Native_category_binding_listContext.prototype);
NativeCategoryBindingListItemContext.prototype.constructor = NativeCategoryBindingListItemContext;
NativeCategoryBindingListItemContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
NativeCategoryBindingListItemContext.prototype.native_category_binding_list = function() {
return this.getTypedRuleContext(Native_category_binding_listContext,0);
};
NativeCategoryBindingListItemContext.prototype.native_category_binding = function() {
return this.getTypedRuleContext(Native_category_bindingContext,0);
};
NativeCategoryBindingListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNativeCategoryBindingListItem(this);
}
};
NativeCategoryBindingListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNativeCategoryBindingListItem(this);
}
};
function NativeCategoryBindingListContext(parser, ctx) {
Native_category_binding_listContext.call(this, parser);
this.item = null; // Native_category_bindingContext;
Native_category_binding_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
NativeCategoryBindingListContext.prototype = Object.create(Native_category_binding_listContext.prototype);
NativeCategoryBindingListContext.prototype.constructor = NativeCategoryBindingListContext;
NativeCategoryBindingListContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
NativeCategoryBindingListContext.prototype.native_category_binding = function() {
return this.getTypedRuleContext(Native_category_bindingContext,0);
};
NativeCategoryBindingListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNativeCategoryBindingList(this);
}
};
NativeCategoryBindingListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNativeCategoryBindingList(this);
}
};
OParser.prototype.native_category_binding_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Native_category_binding_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 34;
this.enterRecursionRule(localctx, 34, OParser.RULE_native_category_binding_list, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new NativeCategoryBindingListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 611;
localctx.item = this.native_category_binding();
this.state = 612;
this.match(OParser.SEMI);
this._ctx.stop = this._input.LT(-1);
this.state = 620;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,26,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new NativeCategoryBindingListItemContext(this, new Native_category_binding_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_native_category_binding_list);
this.state = 614;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 615;
localctx.item = this.native_category_binding();
this.state = 616;
this.match(OParser.SEMI);
}
this.state = 622;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,26,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Abstract_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_abstract_method_declaration;
this.typ = null; // TypedefContext
this.name = null; // Method_identifierContext
this.args = null; // Argument_listContext
return this;
}
Abstract_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Abstract_method_declarationContext.prototype.constructor = Abstract_method_declarationContext;
Abstract_method_declarationContext.prototype.ABSTRACT = function() {
return this.getToken(OParser.ABSTRACT, 0);
};
Abstract_method_declarationContext.prototype.METHOD = function() {
return this.getToken(OParser.METHOD, 0);
};
Abstract_method_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Abstract_method_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Abstract_method_declarationContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Abstract_method_declarationContext.prototype.method_identifier = function() {
return this.getTypedRuleContext(Method_identifierContext,0);
};
Abstract_method_declarationContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
Abstract_method_declarationContext.prototype.argument_list = function() {
return this.getTypedRuleContext(Argument_listContext,0);
};
Abstract_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAbstract_method_declaration(this);
}
};
Abstract_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAbstract_method_declaration(this);
}
};
OParser.prototype.abstract_method_declaration = function() {
var localctx = new Abstract_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 36, OParser.RULE_abstract_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 623;
this.match(OParser.ABSTRACT);
this.state = 625;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 624;
localctx.typ = this.typedef(0);
}
this.state = 627;
this.match(OParser.METHOD);
this.state = 628;
localctx.name = this.method_identifier();
this.state = 629;
this.match(OParser.LPAR);
this.state = 631;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || _la===OParser.MUTABLE || _la===OParser.TYPE_IDENTIFIER || _la===OParser.VARIABLE_IDENTIFIER) {
this.state = 630;
localctx.args = this.argument_list();
}
this.state = 633;
this.match(OParser.RPAR);
this.state = 634;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Concrete_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_concrete_method_declaration;
this.typ = null; // TypedefContext
this.name = null; // Method_identifierContext
this.args = null; // Argument_listContext
this.stmts = null; // Statement_listContext
return this;
}
Concrete_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Concrete_method_declarationContext.prototype.constructor = Concrete_method_declarationContext;
Concrete_method_declarationContext.prototype.METHOD = function() {
return this.getToken(OParser.METHOD, 0);
};
Concrete_method_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Concrete_method_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Concrete_method_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Concrete_method_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Concrete_method_declarationContext.prototype.method_identifier = function() {
return this.getTypedRuleContext(Method_identifierContext,0);
};
Concrete_method_declarationContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
Concrete_method_declarationContext.prototype.argument_list = function() {
return this.getTypedRuleContext(Argument_listContext,0);
};
Concrete_method_declarationContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Concrete_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterConcrete_method_declaration(this);
}
};
Concrete_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitConcrete_method_declaration(this);
}
};
OParser.prototype.concrete_method_declaration = function() {
var localctx = new Concrete_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 38, OParser.RULE_concrete_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 637;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 636;
localctx.typ = this.typedef(0);
}
this.state = 639;
this.match(OParser.METHOD);
this.state = 640;
localctx.name = this.method_identifier();
this.state = 641;
this.match(OParser.LPAR);
this.state = 643;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || _la===OParser.MUTABLE || _la===OParser.TYPE_IDENTIFIER || _la===OParser.VARIABLE_IDENTIFIER) {
this.state = 642;
localctx.args = this.argument_list();
}
this.state = 645;
this.match(OParser.RPAR);
this.state = 646;
this.match(OParser.LCURL);
this.state = 648;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 647;
localctx.stmts = this.statement_list();
}
this.state = 650;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_method_declaration;
this.typ = null; // Category_or_any_typeContext
this.name = null; // Method_identifierContext
this.args = null; // Argument_listContext
this.stmts = null; // Native_statement_listContext
return this;
}
Native_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_method_declarationContext.prototype.constructor = Native_method_declarationContext;
Native_method_declarationContext.prototype.METHOD = function() {
return this.getToken(OParser.METHOD, 0);
};
Native_method_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Native_method_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Native_method_declarationContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Native_method_declarationContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Native_method_declarationContext.prototype.method_identifier = function() {
return this.getTypedRuleContext(Method_identifierContext,0);
};
Native_method_declarationContext.prototype.native_statement_list = function() {
return this.getTypedRuleContext(Native_statement_listContext,0);
};
Native_method_declarationContext.prototype.NATIVE = function() {
return this.getToken(OParser.NATIVE, 0);
};
Native_method_declarationContext.prototype.category_or_any_type = function() {
return this.getTypedRuleContext(Category_or_any_typeContext,0);
};
Native_method_declarationContext.prototype.argument_list = function() {
return this.getTypedRuleContext(Argument_listContext,0);
};
Native_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_method_declaration(this);
}
};
Native_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_method_declaration(this);
}
};
OParser.prototype.native_method_declaration = function() {
var localctx = new Native_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 40, OParser.RULE_native_method_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 653;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 652;
localctx.typ = this.category_or_any_type();
}
this.state = 656;
_la = this._input.LA(1);
if(_la===OParser.NATIVE) {
this.state = 655;
this.match(OParser.NATIVE);
}
this.state = 658;
this.match(OParser.METHOD);
this.state = 659;
localctx.name = this.method_identifier();
this.state = 660;
this.match(OParser.LPAR);
this.state = 662;
_la = this._input.LA(1);
if(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || _la===OParser.MUTABLE || _la===OParser.TYPE_IDENTIFIER || _la===OParser.VARIABLE_IDENTIFIER) {
this.state = 661;
localctx.args = this.argument_list();
}
this.state = 664;
this.match(OParser.RPAR);
this.state = 665;
this.match(OParser.LCURL);
this.state = 666;
localctx.stmts = this.native_statement_list();
this.state = 667;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Test_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_test_method_declaration;
this.name = null; // Token
this.stmts = null; // Statement_listContext
this.exps = null; // Assertion_listContext
this.error = null; // Symbol_identifierContext
return this;
}
Test_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Test_method_declarationContext.prototype.constructor = Test_method_declarationContext;
Test_method_declarationContext.prototype.TEST = function() {
return this.getToken(OParser.TEST, 0);
};
Test_method_declarationContext.prototype.METHOD = function() {
return this.getToken(OParser.METHOD, 0);
};
Test_method_declarationContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Test_method_declarationContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Test_method_declarationContext.prototype.LCURL = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LCURL);
} else {
return this.getToken(OParser.LCURL, i);
}
};
Test_method_declarationContext.prototype.RCURL = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RCURL);
} else {
return this.getToken(OParser.RCURL, i);
}
};
Test_method_declarationContext.prototype.VERIFYING = function() {
return this.getToken(OParser.VERIFYING, 0);
};
Test_method_declarationContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
Test_method_declarationContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Test_method_declarationContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Test_method_declarationContext.prototype.assertion_list = function() {
return this.getTypedRuleContext(Assertion_listContext,0);
};
Test_method_declarationContext.prototype.symbol_identifier = function() {
return this.getTypedRuleContext(Symbol_identifierContext,0);
};
Test_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTest_method_declaration(this);
}
};
Test_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTest_method_declaration(this);
}
};
OParser.prototype.test_method_declaration = function() {
var localctx = new Test_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 42, OParser.RULE_test_method_declaration);
try {
this.enterOuterAlt(localctx, 1);
this.state = 669;
this.match(OParser.TEST);
this.state = 670;
this.match(OParser.METHOD);
this.state = 671;
localctx.name = this.match(OParser.TEXT_LITERAL);
this.state = 672;
this.match(OParser.LPAR);
this.state = 673;
this.match(OParser.RPAR);
this.state = 674;
this.match(OParser.LCURL);
this.state = 675;
localctx.stmts = this.statement_list();
this.state = 676;
this.match(OParser.RCURL);
this.state = 677;
this.match(OParser.VERIFYING);
this.state = 685;
switch(this._input.LA(1)) {
case OParser.LCURL:
this.state = 678;
this.match(OParser.LCURL);
this.state = 679;
localctx.exps = this.assertion_list();
this.state = 680;
this.match(OParser.RCURL);
break;
case OParser.SYMBOL_IDENTIFIER:
this.state = 682;
localctx.error = this.symbol_identifier();
this.state = 683;
this.match(OParser.SEMI);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function AssertionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assertion;
this.exp = null; // ExpressionContext
return this;
}
AssertionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
AssertionContext.prototype.constructor = AssertionContext;
AssertionContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
AssertionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
AssertionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssertion(this);
}
};
AssertionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssertion(this);
}
};
OParser.prototype.assertion = function() {
var localctx = new AssertionContext(this, this._ctx, this.state);
this.enterRule(localctx, 44, OParser.RULE_assertion);
try {
this.enterOuterAlt(localctx, 1);
this.state = 687;
localctx.exp = this.expression(0);
this.state = 688;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Typed_argumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_typed_argument;
this.typ = null; // Category_or_any_typeContext
this.attrs = null; // Attribute_identifier_listContext
this.name = null; // Variable_identifierContext
this.value = null; // Literal_expressionContext
return this;
}
Typed_argumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Typed_argumentContext.prototype.constructor = Typed_argumentContext;
Typed_argumentContext.prototype.category_or_any_type = function() {
return this.getTypedRuleContext(Category_or_any_typeContext,0);
};
Typed_argumentContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Typed_argumentContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Typed_argumentContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Typed_argumentContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
Typed_argumentContext.prototype.attribute_identifier_list = function() {
return this.getTypedRuleContext(Attribute_identifier_listContext,0);
};
Typed_argumentContext.prototype.literal_expression = function() {
return this.getTypedRuleContext(Literal_expressionContext,0);
};
Typed_argumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTyped_argument(this);
}
};
Typed_argumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTyped_argument(this);
}
};
OParser.prototype.typed_argument = function() {
var localctx = new Typed_argumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 46, OParser.RULE_typed_argument);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 690;
localctx.typ = this.category_or_any_type();
this.state = 695;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 691;
this.match(OParser.LPAR);
this.state = 692;
localctx.attrs = this.attribute_identifier_list();
this.state = 693;
this.match(OParser.RPAR);
}
this.state = 697;
localctx.name = this.variable_identifier();
this.state = 700;
_la = this._input.LA(1);
if(_la===OParser.EQ) {
this.state = 698;
this.match(OParser.EQ);
this.state = 699;
localctx.value = this.literal_expression();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Statement_or_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_statement_or_list;
return this;
}
Statement_or_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Statement_or_listContext.prototype.constructor = Statement_or_listContext;
Statement_or_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CurlyStatementListContext(parser, ctx) {
Statement_or_listContext.call(this, parser);
this.items = null; // Statement_listContext;
Statement_or_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
CurlyStatementListContext.prototype = Object.create(Statement_or_listContext.prototype);
CurlyStatementListContext.prototype.constructor = CurlyStatementListContext;
CurlyStatementListContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
CurlyStatementListContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
CurlyStatementListContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
CurlyStatementListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCurlyStatementList(this);
}
};
CurlyStatementListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCurlyStatementList(this);
}
};
function SingleStatementContext(parser, ctx) {
Statement_or_listContext.call(this, parser);
this.stmt = null; // StatementContext;
Statement_or_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
SingleStatementContext.prototype = Object.create(Statement_or_listContext.prototype);
SingleStatementContext.prototype.constructor = SingleStatementContext;
SingleStatementContext.prototype.statement = function() {
return this.getTypedRuleContext(StatementContext,0);
};
SingleStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSingleStatement(this);
}
};
SingleStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSingleStatement(this);
}
};
OParser.prototype.statement_or_list = function() {
var localctx = new Statement_or_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 48, OParser.RULE_statement_or_list);
try {
this.state = 709;
switch(this._input.LA(1)) {
case OParser.COMMENT:
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.CODE:
case OParser.DOCUMENT:
case OParser.BLOB:
case OParser.IMAGE:
case OParser.UUID:
case OParser.ITERATOR:
case OParser.CURSOR:
case OParser.BREAK:
case OParser.DELETE:
case OParser.DO:
case OParser.FLUSH:
case OParser.FOR:
case OParser.IF:
case OParser.METHOD:
case OParser.RETURN:
case OParser.STORE:
case OParser.SWITCH:
case OParser.THROW:
case OParser.TRY:
case OParser.WITH:
case OParser.WHILE:
case OParser.WRITE:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
localctx = new SingleStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 702;
localctx.stmt = this.statement();
break;
case OParser.LCURL:
localctx = new CurlyStatementListContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 703;
this.match(OParser.LCURL);
this.state = 707;
var la_ = this._interp.adaptivePredict(this._input,38,this._ctx);
if(la_===1) {
this.state = 704;
localctx.items = this.statement_list();
this.state = 705;
this.match(OParser.RCURL);
}
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function StatementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_statement;
return this;
}
StatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
StatementContext.prototype.constructor = StatementContext;
StatementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CommentStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.decl = null; // Comment_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CommentStatementContext.prototype = Object.create(StatementContext.prototype);
CommentStatementContext.prototype.constructor = CommentStatementContext;
CommentStatementContext.prototype.comment_statement = function() {
return this.getTypedRuleContext(Comment_statementContext,0);
};
CommentStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCommentStatement(this);
}
};
CommentStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCommentStatement(this);
}
};
function StoreStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Store_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
StoreStatementContext.prototype = Object.create(StatementContext.prototype);
StoreStatementContext.prototype.constructor = StoreStatementContext;
StoreStatementContext.prototype.store_statement = function() {
return this.getTypedRuleContext(Store_statementContext,0);
};
StoreStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterStoreStatement(this);
}
};
StoreStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitStoreStatement(this);
}
};
function WithSingletonStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // With_singleton_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
WithSingletonStatementContext.prototype = Object.create(StatementContext.prototype);
WithSingletonStatementContext.prototype.constructor = WithSingletonStatementContext;
WithSingletonStatementContext.prototype.with_singleton_statement = function() {
return this.getTypedRuleContext(With_singleton_statementContext,0);
};
WithSingletonStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWithSingletonStatement(this);
}
};
WithSingletonStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWithSingletonStatement(this);
}
};
function WriteStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Write_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
WriteStatementContext.prototype = Object.create(StatementContext.prototype);
WriteStatementContext.prototype.constructor = WriteStatementContext;
WriteStatementContext.prototype.write_statement = function() {
return this.getTypedRuleContext(Write_statementContext,0);
};
WriteStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWriteStatement(this);
}
};
WriteStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWriteStatement(this);
}
};
function WhileStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // While_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
WhileStatementContext.prototype = Object.create(StatementContext.prototype);
WhileStatementContext.prototype.constructor = WhileStatementContext;
WhileStatementContext.prototype.while_statement = function() {
return this.getTypedRuleContext(While_statementContext,0);
};
WhileStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWhileStatement(this);
}
};
WhileStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWhileStatement(this);
}
};
function WithResourceStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // With_resource_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
WithResourceStatementContext.prototype = Object.create(StatementContext.prototype);
WithResourceStatementContext.prototype.constructor = WithResourceStatementContext;
WithResourceStatementContext.prototype.with_resource_statement = function() {
return this.getTypedRuleContext(With_resource_statementContext,0);
};
WithResourceStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWithResourceStatement(this);
}
};
WithResourceStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWithResourceStatement(this);
}
};
function RaiseStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Raise_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
RaiseStatementContext.prototype = Object.create(StatementContext.prototype);
RaiseStatementContext.prototype.constructor = RaiseStatementContext;
RaiseStatementContext.prototype.raise_statement = function() {
return this.getTypedRuleContext(Raise_statementContext,0);
};
RaiseStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRaiseStatement(this);
}
};
RaiseStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRaiseStatement(this);
}
};
function BreakStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Break_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
BreakStatementContext.prototype = Object.create(StatementContext.prototype);
BreakStatementContext.prototype.constructor = BreakStatementContext;
BreakStatementContext.prototype.break_statement = function() {
return this.getTypedRuleContext(Break_statementContext,0);
};
BreakStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBreakStatement(this);
}
};
BreakStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBreakStatement(this);
}
};
function AssignInstanceStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Assign_instance_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
AssignInstanceStatementContext.prototype = Object.create(StatementContext.prototype);
AssignInstanceStatementContext.prototype.constructor = AssignInstanceStatementContext;
AssignInstanceStatementContext.prototype.assign_instance_statement = function() {
return this.getTypedRuleContext(Assign_instance_statementContext,0);
};
AssignInstanceStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssignInstanceStatement(this);
}
};
AssignInstanceStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssignInstanceStatement(this);
}
};
function IfStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // If_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
IfStatementContext.prototype = Object.create(StatementContext.prototype);
IfStatementContext.prototype.constructor = IfStatementContext;
IfStatementContext.prototype.if_statement = function() {
return this.getTypedRuleContext(If_statementContext,0);
};
IfStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIfStatement(this);
}
};
IfStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIfStatement(this);
}
};
function SwitchStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Switch_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
SwitchStatementContext.prototype = Object.create(StatementContext.prototype);
SwitchStatementContext.prototype.constructor = SwitchStatementContext;
SwitchStatementContext.prototype.switch_statement = function() {
return this.getTypedRuleContext(Switch_statementContext,0);
};
SwitchStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSwitchStatement(this);
}
};
SwitchStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSwitchStatement(this);
}
};
function TryStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Try_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
TryStatementContext.prototype = Object.create(StatementContext.prototype);
TryStatementContext.prototype.constructor = TryStatementContext;
TryStatementContext.prototype.try_statement = function() {
return this.getTypedRuleContext(Try_statementContext,0);
};
TryStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTryStatement(this);
}
};
TryStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTryStatement(this);
}
};
function MethodCallStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Method_callContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
MethodCallStatementContext.prototype = Object.create(StatementContext.prototype);
MethodCallStatementContext.prototype.constructor = MethodCallStatementContext;
MethodCallStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
MethodCallStatementContext.prototype.method_call = function() {
return this.getTypedRuleContext(Method_callContext,0);
};
MethodCallStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethodCallStatement(this);
}
};
MethodCallStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethodCallStatement(this);
}
};
function ReturnStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Return_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
ReturnStatementContext.prototype = Object.create(StatementContext.prototype);
ReturnStatementContext.prototype.constructor = ReturnStatementContext;
ReturnStatementContext.prototype.return_statement = function() {
return this.getTypedRuleContext(Return_statementContext,0);
};
ReturnStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterReturnStatement(this);
}
};
ReturnStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitReturnStatement(this);
}
};
function AssignTupleStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Assign_tuple_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
AssignTupleStatementContext.prototype = Object.create(StatementContext.prototype);
AssignTupleStatementContext.prototype.constructor = AssignTupleStatementContext;
AssignTupleStatementContext.prototype.assign_tuple_statement = function() {
return this.getTypedRuleContext(Assign_tuple_statementContext,0);
};
AssignTupleStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssignTupleStatement(this);
}
};
AssignTupleStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssignTupleStatement(this);
}
};
function ClosureStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.decl = null; // Concrete_method_declarationContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
ClosureStatementContext.prototype = Object.create(StatementContext.prototype);
ClosureStatementContext.prototype.constructor = ClosureStatementContext;
ClosureStatementContext.prototype.concrete_method_declaration = function() {
return this.getTypedRuleContext(Concrete_method_declarationContext,0);
};
ClosureStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterClosureStatement(this);
}
};
ClosureStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitClosureStatement(this);
}
};
function FlushStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Flush_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
FlushStatementContext.prototype = Object.create(StatementContext.prototype);
FlushStatementContext.prototype.constructor = FlushStatementContext;
FlushStatementContext.prototype.flush_statement = function() {
return this.getTypedRuleContext(Flush_statementContext,0);
};
FlushStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFlushStatement(this);
}
};
FlushStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFlushStatement(this);
}
};
function DoWhileStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // Do_while_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
DoWhileStatementContext.prototype = Object.create(StatementContext.prototype);
DoWhileStatementContext.prototype.constructor = DoWhileStatementContext;
DoWhileStatementContext.prototype.do_while_statement = function() {
return this.getTypedRuleContext(Do_while_statementContext,0);
};
DoWhileStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDoWhileStatement(this);
}
};
DoWhileStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDoWhileStatement(this);
}
};
function ForEachStatementContext(parser, ctx) {
StatementContext.call(this, parser);
this.stmt = null; // For_each_statementContext;
StatementContext.prototype.copyFrom.call(this, ctx);
return this;
}
ForEachStatementContext.prototype = Object.create(StatementContext.prototype);
ForEachStatementContext.prototype.constructor = ForEachStatementContext;
ForEachStatementContext.prototype.for_each_statement = function() {
return this.getTypedRuleContext(For_each_statementContext,0);
};
ForEachStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterForEachStatement(this);
}
};
ForEachStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitForEachStatement(this);
}
};
OParser.prototype.statement = function() {
var localctx = new StatementContext(this, this._ctx, this.state);
this.enterRule(localctx, 50, OParser.RULE_statement);
try {
this.state = 732;
var la_ = this._interp.adaptivePredict(this._input,40,this._ctx);
switch(la_) {
case 1:
localctx = new MethodCallStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 711;
localctx.stmt = this.method_call();
this.state = 712;
this.match(OParser.SEMI);
break;
case 2:
localctx = new AssignInstanceStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 714;
localctx.stmt = this.assign_instance_statement();
break;
case 3:
localctx = new AssignTupleStatementContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 715;
localctx.stmt = this.assign_tuple_statement();
break;
case 4:
localctx = new StoreStatementContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 716;
localctx.stmt = this.store_statement();
break;
case 5:
localctx = new FlushStatementContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 717;
localctx.stmt = this.flush_statement();
break;
case 6:
localctx = new BreakStatementContext(this, localctx);
this.enterOuterAlt(localctx, 6);
this.state = 718;
localctx.stmt = this.break_statement();
break;
case 7:
localctx = new ReturnStatementContext(this, localctx);
this.enterOuterAlt(localctx, 7);
this.state = 719;
localctx.stmt = this.return_statement();
break;
case 8:
localctx = new IfStatementContext(this, localctx);
this.enterOuterAlt(localctx, 8);
this.state = 720;
localctx.stmt = this.if_statement();
break;
case 9:
localctx = new SwitchStatementContext(this, localctx);
this.enterOuterAlt(localctx, 9);
this.state = 721;
localctx.stmt = this.switch_statement();
break;
case 10:
localctx = new ForEachStatementContext(this, localctx);
this.enterOuterAlt(localctx, 10);
this.state = 722;
localctx.stmt = this.for_each_statement();
break;
case 11:
localctx = new WhileStatementContext(this, localctx);
this.enterOuterAlt(localctx, 11);
this.state = 723;
localctx.stmt = this.while_statement();
break;
case 12:
localctx = new DoWhileStatementContext(this, localctx);
this.enterOuterAlt(localctx, 12);
this.state = 724;
localctx.stmt = this.do_while_statement();
break;
case 13:
localctx = new TryStatementContext(this, localctx);
this.enterOuterAlt(localctx, 13);
this.state = 725;
localctx.stmt = this.try_statement();
break;
case 14:
localctx = new RaiseStatementContext(this, localctx);
this.enterOuterAlt(localctx, 14);
this.state = 726;
localctx.stmt = this.raise_statement();
break;
case 15:
localctx = new WriteStatementContext(this, localctx);
this.enterOuterAlt(localctx, 15);
this.state = 727;
localctx.stmt = this.write_statement();
break;
case 16:
localctx = new WithResourceStatementContext(this, localctx);
this.enterOuterAlt(localctx, 16);
this.state = 728;
localctx.stmt = this.with_resource_statement();
break;
case 17:
localctx = new WithSingletonStatementContext(this, localctx);
this.enterOuterAlt(localctx, 17);
this.state = 729;
localctx.stmt = this.with_singleton_statement();
break;
case 18:
localctx = new ClosureStatementContext(this, localctx);
this.enterOuterAlt(localctx, 18);
this.state = 730;
localctx.decl = this.concrete_method_declaration();
break;
case 19:
localctx = new CommentStatementContext(this, localctx);
this.enterOuterAlt(localctx, 19);
this.state = 731;
localctx.decl = this.comment_statement();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Flush_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_flush_statement;
return this;
}
Flush_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Flush_statementContext.prototype.constructor = Flush_statementContext;
Flush_statementContext.prototype.FLUSH = function() {
return this.getToken(OParser.FLUSH, 0);
};
Flush_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Flush_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Flush_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Flush_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFlush_statement(this);
}
};
Flush_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFlush_statement(this);
}
};
OParser.prototype.flush_statement = function() {
var localctx = new Flush_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 52, OParser.RULE_flush_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 734;
this.match(OParser.FLUSH);
this.state = 735;
this.match(OParser.LPAR);
this.state = 736;
this.match(OParser.RPAR);
this.state = 737;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Store_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_store_statement;
this.to_del = null; // Expression_listContext
this.to_add = null; // Expression_listContext
return this;
}
Store_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Store_statementContext.prototype.constructor = Store_statementContext;
Store_statementContext.prototype.DELETE = function() {
return this.getToken(OParser.DELETE, 0);
};
Store_statementContext.prototype.LPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LPAR);
} else {
return this.getToken(OParser.LPAR, i);
}
};
Store_statementContext.prototype.RPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RPAR);
} else {
return this.getToken(OParser.RPAR, i);
}
};
Store_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Store_statementContext.prototype.expression_list = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Expression_listContext);
} else {
return this.getTypedRuleContext(Expression_listContext,i);
}
};
Store_statementContext.prototype.STORE = function() {
return this.getToken(OParser.STORE, 0);
};
Store_statementContext.prototype.AND = function() {
return this.getToken(OParser.AND, 0);
};
Store_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterStore_statement(this);
}
};
Store_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitStore_statement(this);
}
};
OParser.prototype.store_statement = function() {
var localctx = new Store_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 54, OParser.RULE_store_statement);
try {
this.state = 762;
var la_ = this._interp.adaptivePredict(this._input,41,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 739;
this.match(OParser.DELETE);
this.state = 740;
this.match(OParser.LPAR);
this.state = 741;
localctx.to_del = this.expression_list();
this.state = 742;
this.match(OParser.RPAR);
this.state = 743;
this.match(OParser.SEMI);
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 745;
this.match(OParser.STORE);
this.state = 746;
this.match(OParser.LPAR);
this.state = 747;
localctx.to_add = this.expression_list();
this.state = 748;
this.match(OParser.RPAR);
this.state = 749;
this.match(OParser.SEMI);
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 751;
this.match(OParser.DELETE);
this.state = 752;
this.match(OParser.LPAR);
this.state = 753;
localctx.to_del = this.expression_list();
this.state = 754;
this.match(OParser.RPAR);
this.state = 755;
this.match(OParser.AND);
this.state = 756;
this.match(OParser.STORE);
this.state = 757;
this.match(OParser.LPAR);
this.state = 758;
localctx.to_add = this.expression_list();
this.state = 759;
this.match(OParser.RPAR);
this.state = 760;
this.match(OParser.SEMI);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function With_resource_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_with_resource_statement;
this.stmt = null; // Assign_variable_statementContext
this.stmts = null; // Statement_or_listContext
return this;
}
With_resource_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
With_resource_statementContext.prototype.constructor = With_resource_statementContext;
With_resource_statementContext.prototype.WITH = function() {
return this.getToken(OParser.WITH, 0);
};
With_resource_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
With_resource_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
With_resource_statementContext.prototype.assign_variable_statement = function() {
return this.getTypedRuleContext(Assign_variable_statementContext,0);
};
With_resource_statementContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
With_resource_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWith_resource_statement(this);
}
};
With_resource_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWith_resource_statement(this);
}
};
OParser.prototype.with_resource_statement = function() {
var localctx = new With_resource_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 56, OParser.RULE_with_resource_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 764;
this.match(OParser.WITH);
this.state = 765;
this.match(OParser.LPAR);
this.state = 766;
localctx.stmt = this.assign_variable_statement();
this.state = 767;
this.match(OParser.RPAR);
this.state = 768;
localctx.stmts = this.statement_or_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function With_singleton_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_with_singleton_statement;
this.typ = null; // Type_identifierContext
this.stmts = null; // Statement_or_listContext
return this;
}
With_singleton_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
With_singleton_statementContext.prototype.constructor = With_singleton_statementContext;
With_singleton_statementContext.prototype.WITH = function() {
return this.getToken(OParser.WITH, 0);
};
With_singleton_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
With_singleton_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
With_singleton_statementContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
With_singleton_statementContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
With_singleton_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWith_singleton_statement(this);
}
};
With_singleton_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWith_singleton_statement(this);
}
};
OParser.prototype.with_singleton_statement = function() {
var localctx = new With_singleton_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 58, OParser.RULE_with_singleton_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 770;
this.match(OParser.WITH);
this.state = 771;
this.match(OParser.LPAR);
this.state = 772;
localctx.typ = this.type_identifier();
this.state = 773;
this.match(OParser.RPAR);
this.state = 774;
localctx.stmts = this.statement_or_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Switch_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_switch_statement;
this.exp = null; // ExpressionContext
this.cases = null; // Switch_case_statement_listContext
this.stmts = null; // Statement_listContext
return this;
}
Switch_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Switch_statementContext.prototype.constructor = Switch_statementContext;
Switch_statementContext.prototype.SWITCH = function() {
return this.getToken(OParser.SWITCH, 0);
};
Switch_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Switch_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Switch_statementContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Switch_statementContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Switch_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Switch_statementContext.prototype.switch_case_statement_list = function() {
return this.getTypedRuleContext(Switch_case_statement_listContext,0);
};
Switch_statementContext.prototype.DEFAULT = function() {
return this.getToken(OParser.DEFAULT, 0);
};
Switch_statementContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
Switch_statementContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Switch_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSwitch_statement(this);
}
};
Switch_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSwitch_statement(this);
}
};
OParser.prototype.switch_statement = function() {
var localctx = new Switch_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 60, OParser.RULE_switch_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 776;
this.match(OParser.SWITCH);
this.state = 777;
this.match(OParser.LPAR);
this.state = 778;
localctx.exp = this.expression(0);
this.state = 779;
this.match(OParser.RPAR);
this.state = 780;
this.match(OParser.LCURL);
this.state = 781;
localctx.cases = this.switch_case_statement_list();
this.state = 787;
_la = this._input.LA(1);
if(_la===OParser.DEFAULT) {
this.state = 782;
this.match(OParser.DEFAULT);
this.state = 783;
this.match(OParser.COLON);
this.state = 785;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 784;
localctx.stmts = this.statement_list();
}
}
this.state = 789;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Switch_case_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_switch_case_statement;
return this;
}
Switch_case_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Switch_case_statementContext.prototype.constructor = Switch_case_statementContext;
Switch_case_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function AtomicSwitchCaseContext(parser, ctx) {
Switch_case_statementContext.call(this, parser);
this.exp = null; // Atomic_literalContext;
this.stmts = null; // Statement_listContext;
Switch_case_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
AtomicSwitchCaseContext.prototype = Object.create(Switch_case_statementContext.prototype);
AtomicSwitchCaseContext.prototype.constructor = AtomicSwitchCaseContext;
AtomicSwitchCaseContext.prototype.CASE = function() {
return this.getToken(OParser.CASE, 0);
};
AtomicSwitchCaseContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
AtomicSwitchCaseContext.prototype.atomic_literal = function() {
return this.getTypedRuleContext(Atomic_literalContext,0);
};
AtomicSwitchCaseContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
AtomicSwitchCaseContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAtomicSwitchCase(this);
}
};
AtomicSwitchCaseContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAtomicSwitchCase(this);
}
};
function CollectionSwitchCaseContext(parser, ctx) {
Switch_case_statementContext.call(this, parser);
this.exp = null; // Literal_collectionContext;
this.stmts = null; // Statement_listContext;
Switch_case_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CollectionSwitchCaseContext.prototype = Object.create(Switch_case_statementContext.prototype);
CollectionSwitchCaseContext.prototype.constructor = CollectionSwitchCaseContext;
CollectionSwitchCaseContext.prototype.CASE = function() {
return this.getToken(OParser.CASE, 0);
};
CollectionSwitchCaseContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
CollectionSwitchCaseContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
CollectionSwitchCaseContext.prototype.literal_collection = function() {
return this.getTypedRuleContext(Literal_collectionContext,0);
};
CollectionSwitchCaseContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
CollectionSwitchCaseContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCollectionSwitchCase(this);
}
};
CollectionSwitchCaseContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCollectionSwitchCase(this);
}
};
OParser.prototype.switch_case_statement = function() {
var localctx = new Switch_case_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 62, OParser.RULE_switch_case_statement);
var _la = 0; // Token type
try {
this.state = 804;
var la_ = this._interp.adaptivePredict(this._input,46,this._ctx);
switch(la_) {
case 1:
localctx = new AtomicSwitchCaseContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 791;
this.match(OParser.CASE);
this.state = 792;
localctx.exp = this.atomic_literal();
this.state = 793;
this.match(OParser.COLON);
this.state = 795;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 794;
localctx.stmts = this.statement_list();
}
break;
case 2:
localctx = new CollectionSwitchCaseContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 797;
this.match(OParser.CASE);
this.state = 798;
this.match(OParser.IN);
this.state = 799;
localctx.exp = this.literal_collection();
this.state = 800;
this.match(OParser.COLON);
this.state = 802;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 801;
localctx.stmts = this.statement_list();
}
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function For_each_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_for_each_statement;
this.name1 = null; // Variable_identifierContext
this.name2 = null; // Variable_identifierContext
this.source = null; // ExpressionContext
this.stmts = null; // Statement_or_listContext
return this;
}
For_each_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
For_each_statementContext.prototype.constructor = For_each_statementContext;
For_each_statementContext.prototype.FOR = function() {
return this.getToken(OParser.FOR, 0);
};
For_each_statementContext.prototype.EACH = function() {
return this.getToken(OParser.EACH, 0);
};
For_each_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
For_each_statementContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
For_each_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
For_each_statementContext.prototype.variable_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Variable_identifierContext);
} else {
return this.getTypedRuleContext(Variable_identifierContext,i);
}
};
For_each_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
For_each_statementContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
For_each_statementContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
For_each_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFor_each_statement(this);
}
};
For_each_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFor_each_statement(this);
}
};
OParser.prototype.for_each_statement = function() {
var localctx = new For_each_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 64, OParser.RULE_for_each_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 806;
this.match(OParser.FOR);
this.state = 807;
this.match(OParser.EACH);
this.state = 808;
this.match(OParser.LPAR);
this.state = 809;
localctx.name1 = this.variable_identifier();
this.state = 812;
_la = this._input.LA(1);
if(_la===OParser.COMMA) {
this.state = 810;
this.match(OParser.COMMA);
this.state = 811;
localctx.name2 = this.variable_identifier();
}
this.state = 814;
this.match(OParser.IN);
this.state = 815;
localctx.source = this.expression(0);
this.state = 816;
this.match(OParser.RPAR);
this.state = 817;
localctx.stmts = this.statement_or_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Do_while_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_do_while_statement;
this.stmts = null; // Statement_listContext
this.exp = null; // ExpressionContext
return this;
}
Do_while_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Do_while_statementContext.prototype.constructor = Do_while_statementContext;
Do_while_statementContext.prototype.DO = function() {
return this.getToken(OParser.DO, 0);
};
Do_while_statementContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Do_while_statementContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Do_while_statementContext.prototype.WHILE = function() {
return this.getToken(OParser.WHILE, 0);
};
Do_while_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Do_while_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Do_while_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Do_while_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Do_while_statementContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
Do_while_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDo_while_statement(this);
}
};
Do_while_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDo_while_statement(this);
}
};
OParser.prototype.do_while_statement = function() {
var localctx = new Do_while_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 66, OParser.RULE_do_while_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 819;
this.match(OParser.DO);
this.state = 820;
this.match(OParser.LCURL);
this.state = 822;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 821;
localctx.stmts = this.statement_list();
}
this.state = 824;
this.match(OParser.RCURL);
this.state = 825;
this.match(OParser.WHILE);
this.state = 826;
this.match(OParser.LPAR);
this.state = 827;
localctx.exp = this.expression(0);
this.state = 828;
this.match(OParser.RPAR);
this.state = 829;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function While_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_while_statement;
this.exp = null; // ExpressionContext
this.stmts = null; // Statement_or_listContext
return this;
}
While_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
While_statementContext.prototype.constructor = While_statementContext;
While_statementContext.prototype.WHILE = function() {
return this.getToken(OParser.WHILE, 0);
};
While_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
While_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
While_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
While_statementContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
While_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWhile_statement(this);
}
};
While_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWhile_statement(this);
}
};
OParser.prototype.while_statement = function() {
var localctx = new While_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 68, OParser.RULE_while_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 831;
this.match(OParser.WHILE);
this.state = 832;
this.match(OParser.LPAR);
this.state = 833;
localctx.exp = this.expression(0);
this.state = 834;
this.match(OParser.RPAR);
this.state = 835;
localctx.stmts = this.statement_or_list();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function If_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_if_statement;
this.exp = null; // ExpressionContext
this.stmts = null; // Statement_or_listContext
this.elseIfs = null; // Else_if_statement_listContext
this.elseStmts = null; // Statement_or_listContext
return this;
}
If_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
If_statementContext.prototype.constructor = If_statementContext;
If_statementContext.prototype.IF = function() {
return this.getToken(OParser.IF, 0);
};
If_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
If_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
If_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
If_statementContext.prototype.statement_or_list = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Statement_or_listContext);
} else {
return this.getTypedRuleContext(Statement_or_listContext,i);
}
};
If_statementContext.prototype.ELSE = function() {
return this.getToken(OParser.ELSE, 0);
};
If_statementContext.prototype.else_if_statement_list = function() {
return this.getTypedRuleContext(Else_if_statement_listContext,0);
};
If_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIf_statement(this);
}
};
If_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIf_statement(this);
}
};
OParser.prototype.if_statement = function() {
var localctx = new If_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 70, OParser.RULE_if_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 837;
this.match(OParser.IF);
this.state = 838;
this.match(OParser.LPAR);
this.state = 839;
localctx.exp = this.expression(0);
this.state = 840;
this.match(OParser.RPAR);
this.state = 841;
localctx.stmts = this.statement_or_list();
this.state = 843;
var la_ = this._interp.adaptivePredict(this._input,49,this._ctx);
if(la_===1) {
this.state = 842;
localctx.elseIfs = this.else_if_statement_list(0);
}
this.state = 847;
var la_ = this._interp.adaptivePredict(this._input,50,this._ctx);
if(la_===1) {
this.state = 845;
this.match(OParser.ELSE);
this.state = 846;
localctx.elseStmts = this.statement_or_list();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Else_if_statement_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_else_if_statement_list;
return this;
}
Else_if_statement_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Else_if_statement_listContext.prototype.constructor = Else_if_statement_listContext;
Else_if_statement_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function ElseIfStatementListContext(parser, ctx) {
Else_if_statement_listContext.call(this, parser);
this.exp = null; // ExpressionContext;
this.stmts = null; // Statement_or_listContext;
Else_if_statement_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
ElseIfStatementListContext.prototype = Object.create(Else_if_statement_listContext.prototype);
ElseIfStatementListContext.prototype.constructor = ElseIfStatementListContext;
ElseIfStatementListContext.prototype.ELSE = function() {
return this.getToken(OParser.ELSE, 0);
};
ElseIfStatementListContext.prototype.IF = function() {
return this.getToken(OParser.IF, 0);
};
ElseIfStatementListContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
ElseIfStatementListContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
ElseIfStatementListContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
ElseIfStatementListContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
ElseIfStatementListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterElseIfStatementList(this);
}
};
ElseIfStatementListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitElseIfStatementList(this);
}
};
function ElseIfStatementListItemContext(parser, ctx) {
Else_if_statement_listContext.call(this, parser);
this.items = null; // Else_if_statement_listContext;
this.exp = null; // ExpressionContext;
this.stmts = null; // Statement_or_listContext;
Else_if_statement_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
ElseIfStatementListItemContext.prototype = Object.create(Else_if_statement_listContext.prototype);
ElseIfStatementListItemContext.prototype.constructor = ElseIfStatementListItemContext;
ElseIfStatementListItemContext.prototype.ELSE = function() {
return this.getToken(OParser.ELSE, 0);
};
ElseIfStatementListItemContext.prototype.IF = function() {
return this.getToken(OParser.IF, 0);
};
ElseIfStatementListItemContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
ElseIfStatementListItemContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
ElseIfStatementListItemContext.prototype.else_if_statement_list = function() {
return this.getTypedRuleContext(Else_if_statement_listContext,0);
};
ElseIfStatementListItemContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
ElseIfStatementListItemContext.prototype.statement_or_list = function() {
return this.getTypedRuleContext(Statement_or_listContext,0);
};
ElseIfStatementListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterElseIfStatementListItem(this);
}
};
ElseIfStatementListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitElseIfStatementListItem(this);
}
};
OParser.prototype.else_if_statement_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Else_if_statement_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 72;
this.enterRecursionRule(localctx, 72, OParser.RULE_else_if_statement_list, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new ElseIfStatementListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 850;
this.match(OParser.ELSE);
this.state = 851;
this.match(OParser.IF);
this.state = 852;
this.match(OParser.LPAR);
this.state = 853;
localctx.exp = this.expression(0);
this.state = 854;
this.match(OParser.RPAR);
this.state = 855;
localctx.stmts = this.statement_or_list();
this._ctx.stop = this._input.LT(-1);
this.state = 867;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,51,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new ElseIfStatementListItemContext(this, new Else_if_statement_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_else_if_statement_list);
this.state = 857;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 858;
this.match(OParser.ELSE);
this.state = 859;
this.match(OParser.IF);
this.state = 860;
this.match(OParser.LPAR);
this.state = 861;
localctx.exp = this.expression(0);
this.state = 862;
this.match(OParser.RPAR);
this.state = 863;
localctx.stmts = this.statement_or_list();
}
this.state = 869;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,51,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Raise_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_raise_statement;
this.exp = null; // ExpressionContext
return this;
}
Raise_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Raise_statementContext.prototype.constructor = Raise_statementContext;
Raise_statementContext.prototype.THROW = function() {
return this.getToken(OParser.THROW, 0);
};
Raise_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Raise_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Raise_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRaise_statement(this);
}
};
Raise_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRaise_statement(this);
}
};
OParser.prototype.raise_statement = function() {
var localctx = new Raise_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 74, OParser.RULE_raise_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 870;
this.match(OParser.THROW);
this.state = 871;
localctx.exp = this.expression(0);
this.state = 872;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Try_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_try_statement;
this.name = null; // Variable_identifierContext
this.stmts = null; // Statement_listContext
this.handlers = null; // Catch_statement_listContext
this.anyStmts = null; // Statement_listContext
this.finalStmts = null; // Statement_listContext
return this;
}
Try_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Try_statementContext.prototype.constructor = Try_statementContext;
Try_statementContext.prototype.TRY = function() {
return this.getToken(OParser.TRY, 0);
};
Try_statementContext.prototype.LPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LPAR);
} else {
return this.getToken(OParser.LPAR, i);
}
};
Try_statementContext.prototype.RPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RPAR);
} else {
return this.getToken(OParser.RPAR, i);
}
};
Try_statementContext.prototype.LCURL = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LCURL);
} else {
return this.getToken(OParser.LCURL, i);
}
};
Try_statementContext.prototype.RCURL = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RCURL);
} else {
return this.getToken(OParser.RCURL, i);
}
};
Try_statementContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Try_statementContext.prototype.CATCH = function() {
return this.getToken(OParser.CATCH, 0);
};
Try_statementContext.prototype.ANY = function() {
return this.getToken(OParser.ANY, 0);
};
Try_statementContext.prototype.FINALLY = function() {
return this.getToken(OParser.FINALLY, 0);
};
Try_statementContext.prototype.statement_list = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Statement_listContext);
} else {
return this.getTypedRuleContext(Statement_listContext,i);
}
};
Try_statementContext.prototype.catch_statement_list = function() {
return this.getTypedRuleContext(Catch_statement_listContext,0);
};
Try_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTry_statement(this);
}
};
Try_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTry_statement(this);
}
};
OParser.prototype.try_statement = function() {
var localctx = new Try_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 76, OParser.RULE_try_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 874;
this.match(OParser.TRY);
this.state = 875;
this.match(OParser.LPAR);
this.state = 876;
localctx.name = this.variable_identifier();
this.state = 877;
this.match(OParser.RPAR);
this.state = 878;
this.match(OParser.LCURL);
this.state = 880;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 879;
localctx.stmts = this.statement_list();
}
this.state = 882;
this.match(OParser.RCURL);
this.state = 884;
var la_ = this._interp.adaptivePredict(this._input,53,this._ctx);
if(la_===1) {
this.state = 883;
localctx.handlers = this.catch_statement_list();
}
this.state = 895;
var la_ = this._interp.adaptivePredict(this._input,55,this._ctx);
if(la_===1) {
this.state = 886;
this.match(OParser.CATCH);
this.state = 887;
this.match(OParser.LPAR);
this.state = 888;
this.match(OParser.ANY);
this.state = 889;
this.match(OParser.RPAR);
this.state = 890;
this.match(OParser.LCURL);
this.state = 892;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 891;
localctx.anyStmts = this.statement_list();
}
this.state = 894;
this.match(OParser.RCURL);
}
this.state = 903;
var la_ = this._interp.adaptivePredict(this._input,57,this._ctx);
if(la_===1) {
this.state = 897;
this.match(OParser.FINALLY);
this.state = 898;
this.match(OParser.LCURL);
this.state = 900;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 899;
localctx.finalStmts = this.statement_list();
}
this.state = 902;
this.match(OParser.RCURL);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Catch_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_catch_statement;
return this;
}
Catch_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Catch_statementContext.prototype.constructor = Catch_statementContext;
Catch_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CatchAtomicStatementContext(parser, ctx) {
Catch_statementContext.call(this, parser);
this.name = null; // Symbol_identifierContext;
this.stmts = null; // Statement_listContext;
Catch_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CatchAtomicStatementContext.prototype = Object.create(Catch_statementContext.prototype);
CatchAtomicStatementContext.prototype.constructor = CatchAtomicStatementContext;
CatchAtomicStatementContext.prototype.CATCH = function() {
return this.getToken(OParser.CATCH, 0);
};
CatchAtomicStatementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
CatchAtomicStatementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
CatchAtomicStatementContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
CatchAtomicStatementContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
CatchAtomicStatementContext.prototype.symbol_identifier = function() {
return this.getTypedRuleContext(Symbol_identifierContext,0);
};
CatchAtomicStatementContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
CatchAtomicStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCatchAtomicStatement(this);
}
};
CatchAtomicStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCatchAtomicStatement(this);
}
};
function CatchCollectionStatementContext(parser, ctx) {
Catch_statementContext.call(this, parser);
this.exp = null; // Symbol_listContext;
this.stmts = null; // Statement_listContext;
Catch_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CatchCollectionStatementContext.prototype = Object.create(Catch_statementContext.prototype);
CatchCollectionStatementContext.prototype.constructor = CatchCollectionStatementContext;
CatchCollectionStatementContext.prototype.CATCH = function() {
return this.getToken(OParser.CATCH, 0);
};
CatchCollectionStatementContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
CatchCollectionStatementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
CatchCollectionStatementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
CatchCollectionStatementContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
CatchCollectionStatementContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
CatchCollectionStatementContext.prototype.symbol_list = function() {
return this.getTypedRuleContext(Symbol_listContext,0);
};
CatchCollectionStatementContext.prototype.statement_list = function() {
return this.getTypedRuleContext(Statement_listContext,0);
};
CatchCollectionStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCatchCollectionStatement(this);
}
};
CatchCollectionStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCatchCollectionStatement(this);
}
};
OParser.prototype.catch_statement = function() {
var localctx = new Catch_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 78, OParser.RULE_catch_statement);
var _la = 0; // Token type
try {
this.state = 926;
var la_ = this._interp.adaptivePredict(this._input,60,this._ctx);
switch(la_) {
case 1:
localctx = new CatchAtomicStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 905;
this.match(OParser.CATCH);
this.state = 906;
this.match(OParser.LPAR);
this.state = 907;
localctx.name = this.symbol_identifier();
this.state = 908;
this.match(OParser.RPAR);
this.state = 909;
this.match(OParser.LCURL);
this.state = 911;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 910;
localctx.stmts = this.statement_list();
}
this.state = 913;
this.match(OParser.RCURL);
break;
case 2:
localctx = new CatchCollectionStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 915;
this.match(OParser.CATCH);
this.state = 916;
this.match(OParser.IN);
this.state = 917;
this.match(OParser.LPAR);
this.state = 918;
localctx.exp = this.symbol_list();
this.state = 919;
this.match(OParser.RPAR);
this.state = 920;
this.match(OParser.LCURL);
this.state = 922;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 921;
localctx.stmts = this.statement_list();
}
this.state = 924;
this.match(OParser.RCURL);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Break_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_break_statement;
return this;
}
Break_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Break_statementContext.prototype.constructor = Break_statementContext;
Break_statementContext.prototype.BREAK = function() {
return this.getToken(OParser.BREAK, 0);
};
Break_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Break_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBreak_statement(this);
}
};
Break_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBreak_statement(this);
}
};
OParser.prototype.break_statement = function() {
var localctx = new Break_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 80, OParser.RULE_break_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 928;
this.match(OParser.BREAK);
this.state = 929;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Return_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_return_statement;
this.exp = null; // ExpressionContext
return this;
}
Return_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Return_statementContext.prototype.constructor = Return_statementContext;
Return_statementContext.prototype.RETURN = function() {
return this.getToken(OParser.RETURN, 0);
};
Return_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Return_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Return_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterReturn_statement(this);
}
};
Return_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitReturn_statement(this);
}
};
OParser.prototype.return_statement = function() {
var localctx = new Return_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 82, OParser.RULE_return_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 931;
this.match(OParser.RETURN);
this.state = 933;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 932;
localctx.exp = this.expression(0);
}
this.state = 935;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Method_callContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_method_call;
this.method = null; // Method_selectorContext
this.args = null; // Argument_assignment_listContext
return this;
}
Method_callContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Method_callContext.prototype.constructor = Method_callContext;
Method_callContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Method_callContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Method_callContext.prototype.method_selector = function() {
return this.getTypedRuleContext(Method_selectorContext,0);
};
Method_callContext.prototype.argument_assignment_list = function() {
return this.getTypedRuleContext(Argument_assignment_listContext,0);
};
Method_callContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethod_call(this);
}
};
Method_callContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethod_call(this);
}
};
OParser.prototype.method_call = function() {
var localctx = new Method_callContext(this, this._ctx, this.state);
this.enterRule(localctx, 84, OParser.RULE_method_call);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 937;
localctx.method = this.method_selector();
this.state = 938;
this.match(OParser.LPAR);
this.state = 940;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 939;
localctx.args = this.argument_assignment_list(0);
}
this.state = 942;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Method_selectorContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_method_selector;
return this;
}
Method_selectorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Method_selectorContext.prototype.constructor = Method_selectorContext;
Method_selectorContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function MethodParentContext(parser, ctx) {
Method_selectorContext.call(this, parser);
this.parent = null; // Callable_parentContext;
this.name = null; // Method_identifierContext;
Method_selectorContext.prototype.copyFrom.call(this, ctx);
return this;
}
MethodParentContext.prototype = Object.create(Method_selectorContext.prototype);
MethodParentContext.prototype.constructor = MethodParentContext;
MethodParentContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
MethodParentContext.prototype.callable_parent = function() {
return this.getTypedRuleContext(Callable_parentContext,0);
};
MethodParentContext.prototype.method_identifier = function() {
return this.getTypedRuleContext(Method_identifierContext,0);
};
MethodParentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethodParent(this);
}
};
MethodParentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethodParent(this);
}
};
function MethodNameContext(parser, ctx) {
Method_selectorContext.call(this, parser);
this.name = null; // Method_identifierContext;
Method_selectorContext.prototype.copyFrom.call(this, ctx);
return this;
}
MethodNameContext.prototype = Object.create(Method_selectorContext.prototype);
MethodNameContext.prototype.constructor = MethodNameContext;
MethodNameContext.prototype.method_identifier = function() {
return this.getTypedRuleContext(Method_identifierContext,0);
};
MethodNameContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethodName(this);
}
};
MethodNameContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethodName(this);
}
};
OParser.prototype.method_selector = function() {
var localctx = new Method_selectorContext(this, this._ctx, this.state);
this.enterRule(localctx, 86, OParser.RULE_method_selector);
try {
this.state = 949;
var la_ = this._interp.adaptivePredict(this._input,63,this._ctx);
switch(la_) {
case 1:
localctx = new MethodNameContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 944;
localctx.name = this.method_identifier();
break;
case 2:
localctx = new MethodParentContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 945;
localctx.parent = this.callable_parent(0);
this.state = 946;
this.match(OParser.DOT);
this.state = 947;
localctx.name = this.method_identifier();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Callable_parentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_callable_parent;
return this;
}
Callable_parentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Callable_parentContext.prototype.constructor = Callable_parentContext;
Callable_parentContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CallableSelectorContext(parser, ctx) {
Callable_parentContext.call(this, parser);
this.parent = null; // Callable_parentContext;
this.select = null; // Callable_selectorContext;
Callable_parentContext.prototype.copyFrom.call(this, ctx);
return this;
}
CallableSelectorContext.prototype = Object.create(Callable_parentContext.prototype);
CallableSelectorContext.prototype.constructor = CallableSelectorContext;
CallableSelectorContext.prototype.callable_parent = function() {
return this.getTypedRuleContext(Callable_parentContext,0);
};
CallableSelectorContext.prototype.callable_selector = function() {
return this.getTypedRuleContext(Callable_selectorContext,0);
};
CallableSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCallableSelector(this);
}
};
CallableSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCallableSelector(this);
}
};
function CallableRootContext(parser, ctx) {
Callable_parentContext.call(this, parser);
this.name = null; // IdentifierContext;
Callable_parentContext.prototype.copyFrom.call(this, ctx);
return this;
}
CallableRootContext.prototype = Object.create(Callable_parentContext.prototype);
CallableRootContext.prototype.constructor = CallableRootContext;
CallableRootContext.prototype.identifier = function() {
return this.getTypedRuleContext(IdentifierContext,0);
};
CallableRootContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCallableRoot(this);
}
};
CallableRootContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCallableRoot(this);
}
};
OParser.prototype.callable_parent = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Callable_parentContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 88;
this.enterRecursionRule(localctx, 88, OParser.RULE_callable_parent, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new CallableRootContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 952;
localctx.name = this.identifier();
this._ctx.stop = this._input.LT(-1);
this.state = 958;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,64,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new CallableSelectorContext(this, new Callable_parentContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_callable_parent);
this.state = 954;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 955;
localctx.select = this.callable_selector();
}
this.state = 960;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,64,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Callable_selectorContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_callable_selector;
return this;
}
Callable_selectorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Callable_selectorContext.prototype.constructor = Callable_selectorContext;
Callable_selectorContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CallableItemSelectorContext(parser, ctx) {
Callable_selectorContext.call(this, parser);
this.exp = null; // ExpressionContext;
Callable_selectorContext.prototype.copyFrom.call(this, ctx);
return this;
}
CallableItemSelectorContext.prototype = Object.create(Callable_selectorContext.prototype);
CallableItemSelectorContext.prototype.constructor = CallableItemSelectorContext;
CallableItemSelectorContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
CallableItemSelectorContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
CallableItemSelectorContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
CallableItemSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCallableItemSelector(this);
}
};
CallableItemSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCallableItemSelector(this);
}
};
function CallableMemberSelectorContext(parser, ctx) {
Callable_selectorContext.call(this, parser);
this.name = null; // Variable_identifierContext;
Callable_selectorContext.prototype.copyFrom.call(this, ctx);
return this;
}
CallableMemberSelectorContext.prototype = Object.create(Callable_selectorContext.prototype);
CallableMemberSelectorContext.prototype.constructor = CallableMemberSelectorContext;
CallableMemberSelectorContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
CallableMemberSelectorContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
CallableMemberSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCallableMemberSelector(this);
}
};
CallableMemberSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCallableMemberSelector(this);
}
};
OParser.prototype.callable_selector = function() {
var localctx = new Callable_selectorContext(this, this._ctx, this.state);
this.enterRule(localctx, 90, OParser.RULE_callable_selector);
try {
this.state = 967;
switch(this._input.LA(1)) {
case OParser.DOT:
localctx = new CallableMemberSelectorContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 961;
this.match(OParser.DOT);
this.state = 962;
localctx.name = this.variable_identifier();
break;
case OParser.LBRAK:
localctx = new CallableItemSelectorContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 963;
this.match(OParser.LBRAK);
this.state = 964;
localctx.exp = this.expression(0);
this.state = 965;
this.match(OParser.RBRAK);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function ExpressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_expression;
return this;
}
ExpressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
ExpressionContext.prototype.constructor = ExpressionContext;
ExpressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function IntDivideExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IntDivideExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IntDivideExpressionContext.prototype.constructor = IntDivideExpressionContext;
IntDivideExpressionContext.prototype.idivide = function() {
return this.getTypedRuleContext(IdivideContext,0);
};
IntDivideExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
IntDivideExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIntDivideExpression(this);
}
};
IntDivideExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIntDivideExpression(this);
}
};
function TernaryExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.test = null; // ExpressionContext;
this.ifTrue = null; // ExpressionContext;
this.ifFalse = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
TernaryExpressionContext.prototype = Object.create(ExpressionContext.prototype);
TernaryExpressionContext.prototype.constructor = TernaryExpressionContext;
TernaryExpressionContext.prototype.QMARK = function() {
return this.getToken(OParser.QMARK, 0);
};
TernaryExpressionContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
TernaryExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
TernaryExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTernaryExpression(this);
}
};
TernaryExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTernaryExpression(this);
}
};
function ContainsAllExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ContainsAllExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ContainsAllExpressionContext.prototype.constructor = ContainsAllExpressionContext;
ContainsAllExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
ContainsAllExpressionContext.prototype.ALL = function() {
return this.getToken(OParser.ALL, 0);
};
ContainsAllExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
ContainsAllExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterContainsAllExpression(this);
}
};
ContainsAllExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitContainsAllExpression(this);
}
};
function NotEqualsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotEqualsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotEqualsExpressionContext.prototype.constructor = NotEqualsExpressionContext;
NotEqualsExpressionContext.prototype.XEQ = function() {
return this.getToken(OParser.XEQ, 0);
};
NotEqualsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
NotEqualsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotEqualsExpression(this);
}
};
NotEqualsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotEqualsExpression(this);
}
};
function InExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
InExpressionContext.prototype = Object.create(ExpressionContext.prototype);
InExpressionContext.prototype.constructor = InExpressionContext;
InExpressionContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
InExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
InExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterInExpression(this);
}
};
InExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitInExpression(this);
}
};
function IsAnExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // An_expressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsAnExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IsAnExpressionContext.prototype.constructor = IsAnExpressionContext;
IsAnExpressionContext.prototype.IS = function() {
return this.getToken(OParser.IS, 0);
};
IsAnExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
IsAnExpressionContext.prototype.an_expression = function() {
return this.getTypedRuleContext(An_expressionContext,0);
};
IsAnExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsAnExpression(this);
}
};
IsAnExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsAnExpression(this);
}
};
function NotExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotExpressionContext.prototype.constructor = NotExpressionContext;
NotExpressionContext.prototype.XMARK = function() {
return this.getToken(OParser.XMARK, 0);
};
NotExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
NotExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotExpression(this);
}
};
NotExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotExpression(this);
}
};
function GreaterThanExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
GreaterThanExpressionContext.prototype = Object.create(ExpressionContext.prototype);
GreaterThanExpressionContext.prototype.constructor = GreaterThanExpressionContext;
GreaterThanExpressionContext.prototype.GT = function() {
return this.getToken(OParser.GT, 0);
};
GreaterThanExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
GreaterThanExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterGreaterThanExpression(this);
}
};
GreaterThanExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitGreaterThanExpression(this);
}
};
function OrExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
OrExpressionContext.prototype = Object.create(ExpressionContext.prototype);
OrExpressionContext.prototype.constructor = OrExpressionContext;
OrExpressionContext.prototype.PIPE2 = function() {
return this.getToken(OParser.PIPE2, 0);
};
OrExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
OrExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOrExpression(this);
}
};
OrExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOrExpression(this);
}
};
function CodeExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CodeExpressionContext.prototype = Object.create(ExpressionContext.prototype);
CodeExpressionContext.prototype.constructor = CodeExpressionContext;
CodeExpressionContext.prototype.CODE = function() {
return this.getToken(OParser.CODE, 0);
};
CodeExpressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
CodeExpressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
CodeExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
CodeExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCodeExpression(this);
}
};
CodeExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCodeExpression(this);
}
};
function LessThanOrEqualExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LessThanOrEqualExpressionContext.prototype = Object.create(ExpressionContext.prototype);
LessThanOrEqualExpressionContext.prototype.constructor = LessThanOrEqualExpressionContext;
LessThanOrEqualExpressionContext.prototype.LTE = function() {
return this.getToken(OParser.LTE, 0);
};
LessThanOrEqualExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
LessThanOrEqualExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLessThanOrEqualExpression(this);
}
};
LessThanOrEqualExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLessThanOrEqualExpression(this);
}
};
function AndExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
AndExpressionContext.prototype = Object.create(ExpressionContext.prototype);
AndExpressionContext.prototype.constructor = AndExpressionContext;
AndExpressionContext.prototype.AMP2 = function() {
return this.getToken(OParser.AMP2, 0);
};
AndExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
AndExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAndExpression(this);
}
};
AndExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAndExpression(this);
}
};
function ClosureExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // Closure_expressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ClosureExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ClosureExpressionContext.prototype.constructor = ClosureExpressionContext;
ClosureExpressionContext.prototype.closure_expression = function() {
return this.getTypedRuleContext(Closure_expressionContext,0);
};
ClosureExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterClosureExpression(this);
}
};
ClosureExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitClosureExpression(this);
}
};
function NotContainsAnyExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotContainsAnyExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotContainsAnyExpressionContext.prototype.constructor = NotContainsAnyExpressionContext;
NotContainsAnyExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
NotContainsAnyExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
NotContainsAnyExpressionContext.prototype.ANY = function() {
return this.getToken(OParser.ANY, 0);
};
NotContainsAnyExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
NotContainsAnyExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotContainsAnyExpression(this);
}
};
NotContainsAnyExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotContainsAnyExpression(this);
}
};
function ContainsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ContainsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ContainsExpressionContext.prototype.constructor = ContainsExpressionContext;
ContainsExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
ContainsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
ContainsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterContainsExpression(this);
}
};
ContainsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitContainsExpression(this);
}
};
function NotContainsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotContainsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotContainsExpressionContext.prototype.constructor = NotContainsExpressionContext;
NotContainsExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
NotContainsExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
NotContainsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
NotContainsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotContainsExpression(this);
}
};
NotContainsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotContainsExpression(this);
}
};
function MultiplyExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
MultiplyExpressionContext.prototype = Object.create(ExpressionContext.prototype);
MultiplyExpressionContext.prototype.constructor = MultiplyExpressionContext;
MultiplyExpressionContext.prototype.multiply = function() {
return this.getTypedRuleContext(MultiplyContext,0);
};
MultiplyExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
MultiplyExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMultiplyExpression(this);
}
};
MultiplyExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMultiplyExpression(this);
}
};
function RoughlyEqualsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
RoughlyEqualsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
RoughlyEqualsExpressionContext.prototype.constructor = RoughlyEqualsExpressionContext;
RoughlyEqualsExpressionContext.prototype.TEQ = function() {
return this.getToken(OParser.TEQ, 0);
};
RoughlyEqualsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
RoughlyEqualsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRoughlyEqualsExpression(this);
}
};
RoughlyEqualsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRoughlyEqualsExpression(this);
}
};
function IsNotAnExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // An_expressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsNotAnExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IsNotAnExpressionContext.prototype.constructor = IsNotAnExpressionContext;
IsNotAnExpressionContext.prototype.IS = function() {
return this.getToken(OParser.IS, 0);
};
IsNotAnExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
IsNotAnExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
IsNotAnExpressionContext.prototype.an_expression = function() {
return this.getTypedRuleContext(An_expressionContext,0);
};
IsNotAnExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsNotAnExpression(this);
}
};
IsNotAnExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsNotAnExpression(this);
}
};
function ExecuteExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.name = null; // Variable_identifierContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ExecuteExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ExecuteExpressionContext.prototype.constructor = ExecuteExpressionContext;
ExecuteExpressionContext.prototype.EXECUTE = function() {
return this.getToken(OParser.EXECUTE, 0);
};
ExecuteExpressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
ExecuteExpressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
ExecuteExpressionContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
ExecuteExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterExecuteExpression(this);
}
};
ExecuteExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitExecuteExpression(this);
}
};
function MethodExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // Method_expressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
MethodExpressionContext.prototype = Object.create(ExpressionContext.prototype);
MethodExpressionContext.prototype.constructor = MethodExpressionContext;
MethodExpressionContext.prototype.method_expression = function() {
return this.getTypedRuleContext(Method_expressionContext,0);
};
MethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethodExpression(this);
}
};
MethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethodExpression(this);
}
};
function GreaterThanOrEqualExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
GreaterThanOrEqualExpressionContext.prototype = Object.create(ExpressionContext.prototype);
GreaterThanOrEqualExpressionContext.prototype.constructor = GreaterThanOrEqualExpressionContext;
GreaterThanOrEqualExpressionContext.prototype.GTE = function() {
return this.getToken(OParser.GTE, 0);
};
GreaterThanOrEqualExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
GreaterThanOrEqualExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterGreaterThanOrEqualExpression(this);
}
};
GreaterThanOrEqualExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitGreaterThanOrEqualExpression(this);
}
};
function NotInExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotInExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotInExpressionContext.prototype.constructor = NotInExpressionContext;
NotInExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
NotInExpressionContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
NotInExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
NotInExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotInExpression(this);
}
};
NotInExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotInExpression(this);
}
};
function IteratorExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // ExpressionContext;
this.name = null; // Variable_identifierContext;
this.source = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IteratorExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IteratorExpressionContext.prototype.constructor = IteratorExpressionContext;
IteratorExpressionContext.prototype.FOR = function() {
return this.getToken(OParser.FOR, 0);
};
IteratorExpressionContext.prototype.EACH = function() {
return this.getToken(OParser.EACH, 0);
};
IteratorExpressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
IteratorExpressionContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
IteratorExpressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
IteratorExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
IteratorExpressionContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
IteratorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIteratorExpression(this);
}
};
IteratorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIteratorExpression(this);
}
};
function IsNotExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsNotExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IsNotExpressionContext.prototype.constructor = IsNotExpressionContext;
IsNotExpressionContext.prototype.IS = function() {
return this.getToken(OParser.IS, 0);
};
IsNotExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
IsNotExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
IsNotExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsNotExpression(this);
}
};
IsNotExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsNotExpression(this);
}
};
function DivideExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
DivideExpressionContext.prototype = Object.create(ExpressionContext.prototype);
DivideExpressionContext.prototype.constructor = DivideExpressionContext;
DivideExpressionContext.prototype.divide = function() {
return this.getTypedRuleContext(DivideContext,0);
};
DivideExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
DivideExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDivideExpression(this);
}
};
DivideExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDivideExpression(this);
}
};
function IsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
IsExpressionContext.prototype.constructor = IsExpressionContext;
IsExpressionContext.prototype.IS = function() {
return this.getToken(OParser.IS, 0);
};
IsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
IsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsExpression(this);
}
};
IsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsExpression(this);
}
};
function MinusExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
MinusExpressionContext.prototype = Object.create(ExpressionContext.prototype);
MinusExpressionContext.prototype.constructor = MinusExpressionContext;
MinusExpressionContext.prototype.MINUS = function() {
return this.getToken(OParser.MINUS, 0);
};
MinusExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
MinusExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMinusExpression(this);
}
};
MinusExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMinusExpression(this);
}
};
function AddExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.op = null; // Token;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
AddExpressionContext.prototype = Object.create(ExpressionContext.prototype);
AddExpressionContext.prototype.constructor = AddExpressionContext;
AddExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
AddExpressionContext.prototype.PLUS = function() {
return this.getToken(OParser.PLUS, 0);
};
AddExpressionContext.prototype.MINUS = function() {
return this.getToken(OParser.MINUS, 0);
};
AddExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAddExpression(this);
}
};
AddExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAddExpression(this);
}
};
function NotContainsAllExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
NotContainsAllExpressionContext.prototype = Object.create(ExpressionContext.prototype);
NotContainsAllExpressionContext.prototype.constructor = NotContainsAllExpressionContext;
NotContainsAllExpressionContext.prototype.NOT = function() {
return this.getToken(OParser.NOT, 0);
};
NotContainsAllExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
NotContainsAllExpressionContext.prototype.ALL = function() {
return this.getToken(OParser.ALL, 0);
};
NotContainsAllExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
NotContainsAllExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNotContainsAllExpression(this);
}
};
NotContainsAllExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNotContainsAllExpression(this);
}
};
function InstanceExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.exp = null; // Instance_expressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
InstanceExpressionContext.prototype = Object.create(ExpressionContext.prototype);
InstanceExpressionContext.prototype.constructor = InstanceExpressionContext;
InstanceExpressionContext.prototype.instance_expression = function() {
return this.getTypedRuleContext(Instance_expressionContext,0);
};
InstanceExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterInstanceExpression(this);
}
};
InstanceExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitInstanceExpression(this);
}
};
function CastExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.right = null; // Category_or_any_typeContext;
this.left = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CastExpressionContext.prototype = Object.create(ExpressionContext.prototype);
CastExpressionContext.prototype.constructor = CastExpressionContext;
CastExpressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
CastExpressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
CastExpressionContext.prototype.category_or_any_type = function() {
return this.getTypedRuleContext(Category_or_any_typeContext,0);
};
CastExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
CastExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCastExpression(this);
}
};
CastExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCastExpression(this);
}
};
function ContainsAnyExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ContainsAnyExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ContainsAnyExpressionContext.prototype.constructor = ContainsAnyExpressionContext;
ContainsAnyExpressionContext.prototype.CONTAINS = function() {
return this.getToken(OParser.CONTAINS, 0);
};
ContainsAnyExpressionContext.prototype.ANY = function() {
return this.getToken(OParser.ANY, 0);
};
ContainsAnyExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
ContainsAnyExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterContainsAnyExpression(this);
}
};
ContainsAnyExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitContainsAnyExpression(this);
}
};
function ModuloExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ModuloExpressionContext.prototype = Object.create(ExpressionContext.prototype);
ModuloExpressionContext.prototype.constructor = ModuloExpressionContext;
ModuloExpressionContext.prototype.modulo = function() {
return this.getTypedRuleContext(ModuloContext,0);
};
ModuloExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
ModuloExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterModuloExpression(this);
}
};
ModuloExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitModuloExpression(this);
}
};
function LessThanExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LessThanExpressionContext.prototype = Object.create(ExpressionContext.prototype);
LessThanExpressionContext.prototype.constructor = LessThanExpressionContext;
LessThanExpressionContext.prototype.LT = function() {
return this.getToken(OParser.LT, 0);
};
LessThanExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
LessThanExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLessThanExpression(this);
}
};
LessThanExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLessThanExpression(this);
}
};
function EqualsExpressionContext(parser, ctx) {
ExpressionContext.call(this, parser);
this.left = null; // ExpressionContext;
this.right = null; // ExpressionContext;
ExpressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
EqualsExpressionContext.prototype = Object.create(ExpressionContext.prototype);
EqualsExpressionContext.prototype.constructor = EqualsExpressionContext;
EqualsExpressionContext.prototype.EQ2 = function() {
return this.getToken(OParser.EQ2, 0);
};
EqualsExpressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
EqualsExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterEqualsExpression(this);
}
};
EqualsExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitEqualsExpression(this);
}
};
OParser.prototype.expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new ExpressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 92;
this.enterRecursionRule(localctx, 92, OParser.RULE_expression, _p);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 992;
var la_ = this._interp.adaptivePredict(this._input,66,this._ctx);
switch(la_) {
case 1:
localctx = new MinusExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 970;
this.match(OParser.MINUS);
this.state = 971;
localctx.exp = this.expression(34);
break;
case 2:
localctx = new NotExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 972;
this.match(OParser.XMARK);
this.state = 973;
localctx.exp = this.expression(33);
break;
case 3:
localctx = new CastExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 974;
this.match(OParser.LPAR);
this.state = 975;
localctx.right = this.category_or_any_type();
this.state = 976;
this.match(OParser.RPAR);
this.state = 977;
localctx.left = this.expression(13);
break;
case 4:
localctx = new InstanceExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 979;
localctx.exp = this.instance_expression(0);
break;
case 5:
localctx = new MethodExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 980;
localctx.exp = this.method_expression();
break;
case 6:
localctx = new CodeExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 981;
this.match(OParser.CODE);
this.state = 982;
this.match(OParser.LPAR);
this.state = 983;
localctx.exp = this.expression(0);
this.state = 984;
this.match(OParser.RPAR);
break;
case 7:
localctx = new ExecuteExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 986;
this.match(OParser.EXECUTE);
this.state = 987;
this.match(OParser.LPAR);
this.state = 988;
localctx.name = this.variable_identifier();
this.state = 989;
this.match(OParser.RPAR);
break;
case 8:
localctx = new ClosureExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 991;
localctx.exp = this.closure_expression();
break;
}
this._ctx.stop = this._input.LT(-1);
this.state = 1103;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,68,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
this.state = 1101;
var la_ = this._interp.adaptivePredict(this._input,67,this._ctx);
switch(la_) {
case 1:
localctx = new MultiplyExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 994;
if (!( this.precpred(this._ctx, 32))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 32)");
}
this.state = 995;
this.multiply();
this.state = 996;
localctx.right = this.expression(33);
break;
case 2:
localctx = new DivideExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 998;
if (!( this.precpred(this._ctx, 31))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 31)");
}
this.state = 999;
this.divide();
this.state = 1000;
localctx.right = this.expression(32);
break;
case 3:
localctx = new ModuloExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1002;
if (!( this.precpred(this._ctx, 30))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 30)");
}
this.state = 1003;
this.modulo();
this.state = 1004;
localctx.right = this.expression(31);
break;
case 4:
localctx = new IntDivideExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1006;
if (!( this.precpred(this._ctx, 29))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 29)");
}
this.state = 1007;
this.idivide();
this.state = 1008;
localctx.right = this.expression(30);
break;
case 5:
localctx = new AddExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1010;
if (!( this.precpred(this._ctx, 28))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 28)");
}
this.state = 1011;
localctx.op = this._input.LT(1);
_la = this._input.LA(1);
if(!(_la===OParser.PLUS || _la===OParser.MINUS)) {
localctx.op = this._errHandler.recoverInline(this);
}
this.consume();
this.state = 1012;
localctx.right = this.expression(29);
break;
case 6:
localctx = new LessThanExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1013;
if (!( this.precpred(this._ctx, 27))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 27)");
}
this.state = 1014;
this.match(OParser.LT);
this.state = 1015;
localctx.right = this.expression(28);
break;
case 7:
localctx = new LessThanOrEqualExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1016;
if (!( this.precpred(this._ctx, 26))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 26)");
}
this.state = 1017;
this.match(OParser.LTE);
this.state = 1018;
localctx.right = this.expression(27);
break;
case 8:
localctx = new GreaterThanExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1019;
if (!( this.precpred(this._ctx, 25))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 25)");
}
this.state = 1020;
this.match(OParser.GT);
this.state = 1021;
localctx.right = this.expression(26);
break;
case 9:
localctx = new GreaterThanOrEqualExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1022;
if (!( this.precpred(this._ctx, 24))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 24)");
}
this.state = 1023;
this.match(OParser.GTE);
this.state = 1024;
localctx.right = this.expression(25);
break;
case 10:
localctx = new IsNotExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1025;
if (!( this.precpred(this._ctx, 21))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 21)");
}
this.state = 1026;
this.match(OParser.IS);
this.state = 1027;
this.match(OParser.NOT);
this.state = 1028;
localctx.right = this.expression(22);
break;
case 11:
localctx = new IsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1029;
if (!( this.precpred(this._ctx, 20))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 20)");
}
this.state = 1030;
this.match(OParser.IS);
this.state = 1031;
localctx.right = this.expression(21);
break;
case 12:
localctx = new EqualsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1032;
if (!( this.precpred(this._ctx, 19))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 19)");
}
this.state = 1033;
this.match(OParser.EQ2);
this.state = 1034;
localctx.right = this.expression(20);
break;
case 13:
localctx = new NotEqualsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1035;
if (!( this.precpred(this._ctx, 18))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 18)");
}
this.state = 1036;
this.match(OParser.XEQ);
this.state = 1037;
localctx.right = this.expression(19);
break;
case 14:
localctx = new RoughlyEqualsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1038;
if (!( this.precpred(this._ctx, 17))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 17)");
}
this.state = 1039;
this.match(OParser.TEQ);
this.state = 1040;
localctx.right = this.expression(18);
break;
case 15:
localctx = new OrExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1041;
if (!( this.precpred(this._ctx, 16))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 16)");
}
this.state = 1042;
this.match(OParser.PIPE2);
this.state = 1043;
localctx.right = this.expression(17);
break;
case 16:
localctx = new AndExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1044;
if (!( this.precpred(this._ctx, 15))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 15)");
}
this.state = 1045;
this.match(OParser.AMP2);
this.state = 1046;
localctx.right = this.expression(16);
break;
case 17:
localctx = new TernaryExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.test = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1047;
if (!( this.precpred(this._ctx, 14))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 14)");
}
this.state = 1048;
this.match(OParser.QMARK);
this.state = 1049;
localctx.ifTrue = this.expression(0);
this.state = 1050;
this.match(OParser.COLON);
this.state = 1051;
localctx.ifFalse = this.expression(15);
break;
case 18:
localctx = new InExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1053;
if (!( this.precpred(this._ctx, 12))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 12)");
}
this.state = 1054;
this.match(OParser.IN);
this.state = 1055;
localctx.right = this.expression(13);
break;
case 19:
localctx = new ContainsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1056;
if (!( this.precpred(this._ctx, 11))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 11)");
}
this.state = 1057;
this.match(OParser.CONTAINS);
this.state = 1058;
localctx.right = this.expression(12);
break;
case 20:
localctx = new ContainsAllExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1059;
if (!( this.precpred(this._ctx, 10))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 10)");
}
this.state = 1060;
this.match(OParser.CONTAINS);
this.state = 1061;
this.match(OParser.ALL);
this.state = 1062;
localctx.right = this.expression(11);
break;
case 21:
localctx = new ContainsAnyExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1063;
if (!( this.precpred(this._ctx, 9))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 9)");
}
this.state = 1064;
this.match(OParser.CONTAINS);
this.state = 1065;
this.match(OParser.ANY);
this.state = 1066;
localctx.right = this.expression(10);
break;
case 22:
localctx = new NotInExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1067;
if (!( this.precpred(this._ctx, 8))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 8)");
}
this.state = 1068;
this.match(OParser.NOT);
this.state = 1069;
this.match(OParser.IN);
this.state = 1070;
localctx.right = this.expression(9);
break;
case 23:
localctx = new NotContainsExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1071;
if (!( this.precpred(this._ctx, 7))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 7)");
}
this.state = 1072;
this.match(OParser.NOT);
this.state = 1073;
this.match(OParser.CONTAINS);
this.state = 1074;
localctx.right = this.expression(8);
break;
case 24:
localctx = new NotContainsAllExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1075;
if (!( this.precpred(this._ctx, 6))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)");
}
this.state = 1076;
this.match(OParser.NOT);
this.state = 1077;
this.match(OParser.CONTAINS);
this.state = 1078;
this.match(OParser.ALL);
this.state = 1079;
localctx.right = this.expression(7);
break;
case 25:
localctx = new NotContainsAnyExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1080;
if (!( this.precpred(this._ctx, 5))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)");
}
this.state = 1081;
this.match(OParser.NOT);
this.state = 1082;
this.match(OParser.CONTAINS);
this.state = 1083;
this.match(OParser.ANY);
this.state = 1084;
localctx.right = this.expression(6);
break;
case 26:
localctx = new IsNotAnExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1085;
if (!( this.precpred(this._ctx, 23))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 23)");
}
this.state = 1086;
this.match(OParser.IS);
this.state = 1087;
this.match(OParser.NOT);
this.state = 1088;
localctx.right = this.an_expression();
break;
case 27:
localctx = new IsAnExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.left = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1089;
if (!( this.precpred(this._ctx, 22))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 22)");
}
this.state = 1090;
this.match(OParser.IS);
this.state = 1091;
localctx.right = this.an_expression();
break;
case 28:
localctx = new IteratorExpressionContext(this, new ExpressionContext(this, _parentctx, _parentState));
localctx.exp = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_expression);
this.state = 1092;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1093;
this.match(OParser.FOR);
this.state = 1094;
this.match(OParser.EACH);
this.state = 1095;
this.match(OParser.LPAR);
this.state = 1096;
localctx.name = this.variable_identifier();
this.state = 1097;
this.match(OParser.IN);
this.state = 1098;
localctx.source = this.expression(0);
this.state = 1099;
this.match(OParser.RPAR);
break;
}
}
this.state = 1105;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,68,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function An_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_an_expression;
this.typ = null; // Category_or_any_typeContext
return this;
}
An_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
An_expressionContext.prototype.constructor = An_expressionContext;
An_expressionContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
An_expressionContext.prototype.category_or_any_type = function() {
return this.getTypedRuleContext(Category_or_any_typeContext,0);
};
An_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAn_expression(this);
}
};
An_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAn_expression(this);
}
};
OParser.prototype.an_expression = function() {
var localctx = new An_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 94, OParser.RULE_an_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1106;
if (!( this.willBeAOrAn())) {
throw new antlr4.error.FailedPredicateException(this, "$parser.willBeAOrAn()");
}
this.state = 1107;
this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1108;
localctx.typ = this.category_or_any_type();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Closure_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_closure_expression;
this.name = null; // Type_identifierContext
return this;
}
Closure_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Closure_expressionContext.prototype.constructor = Closure_expressionContext;
Closure_expressionContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Closure_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterClosure_expression(this);
}
};
Closure_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitClosure_expression(this);
}
};
OParser.prototype.closure_expression = function() {
var localctx = new Closure_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 96, OParser.RULE_closure_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1110;
localctx.name = this.type_identifier();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Instance_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_instance_expression;
return this;
}
Instance_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Instance_expressionContext.prototype.constructor = Instance_expressionContext;
Instance_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function SelectorExpressionContext(parser, ctx) {
Instance_expressionContext.call(this, parser);
this.parent = null; // Instance_expressionContext;
this.selector = null; // Selector_expressionContext;
Instance_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
SelectorExpressionContext.prototype = Object.create(Instance_expressionContext.prototype);
SelectorExpressionContext.prototype.constructor = SelectorExpressionContext;
SelectorExpressionContext.prototype.instance_expression = function() {
return this.getTypedRuleContext(Instance_expressionContext,0);
};
SelectorExpressionContext.prototype.selector_expression = function() {
return this.getTypedRuleContext(Selector_expressionContext,0);
};
SelectorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSelectorExpression(this);
}
};
SelectorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSelectorExpression(this);
}
};
function SelectableExpressionContext(parser, ctx) {
Instance_expressionContext.call(this, parser);
this.parent = null; // Selectable_expressionContext;
Instance_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
SelectableExpressionContext.prototype = Object.create(Instance_expressionContext.prototype);
SelectableExpressionContext.prototype.constructor = SelectableExpressionContext;
SelectableExpressionContext.prototype.selectable_expression = function() {
return this.getTypedRuleContext(Selectable_expressionContext,0);
};
SelectableExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSelectableExpression(this);
}
};
SelectableExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSelectableExpression(this);
}
};
OParser.prototype.instance_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Instance_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 98;
this.enterRecursionRule(localctx, 98, OParser.RULE_instance_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new SelectableExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1113;
localctx.parent = this.selectable_expression();
this._ctx.stop = this._input.LT(-1);
this.state = 1119;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,69,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new SelectorExpressionContext(this, new Instance_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_instance_expression);
this.state = 1115;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1116;
localctx.selector = this.selector_expression();
}
this.state = 1121;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,69,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Method_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_method_expression;
return this;
}
Method_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Method_expressionContext.prototype.constructor = Method_expressionContext;
Method_expressionContext.prototype.blob_expression = function() {
return this.getTypedRuleContext(Blob_expressionContext,0);
};
Method_expressionContext.prototype.document_expression = function() {
return this.getTypedRuleContext(Document_expressionContext,0);
};
Method_expressionContext.prototype.filtered_list_expression = function() {
return this.getTypedRuleContext(Filtered_list_expressionContext,0);
};
Method_expressionContext.prototype.fetch_store_expression = function() {
return this.getTypedRuleContext(Fetch_store_expressionContext,0);
};
Method_expressionContext.prototype.read_all_expression = function() {
return this.getTypedRuleContext(Read_all_expressionContext,0);
};
Method_expressionContext.prototype.read_one_expression = function() {
return this.getTypedRuleContext(Read_one_expressionContext,0);
};
Method_expressionContext.prototype.sorted_expression = function() {
return this.getTypedRuleContext(Sorted_expressionContext,0);
};
Method_expressionContext.prototype.method_call = function() {
return this.getTypedRuleContext(Method_callContext,0);
};
Method_expressionContext.prototype.constructor_expression = function() {
return this.getTypedRuleContext(Constructor_expressionContext,0);
};
Method_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethod_expression(this);
}
};
Method_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethod_expression(this);
}
};
OParser.prototype.method_expression = function() {
var localctx = new Method_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 100, OParser.RULE_method_expression);
try {
this.state = 1131;
var la_ = this._interp.adaptivePredict(this._input,70,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1122;
this.blob_expression();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1123;
this.document_expression();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1124;
this.filtered_list_expression();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 1125;
this.fetch_store_expression();
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 1126;
this.read_all_expression();
break;
case 6:
this.enterOuterAlt(localctx, 6);
this.state = 1127;
this.read_one_expression();
break;
case 7:
this.enterOuterAlt(localctx, 7);
this.state = 1128;
this.sorted_expression();
break;
case 8:
this.enterOuterAlt(localctx, 8);
this.state = 1129;
this.method_call();
break;
case 9:
this.enterOuterAlt(localctx, 9);
this.state = 1130;
this.constructor_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Blob_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_blob_expression;
return this;
}
Blob_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Blob_expressionContext.prototype.constructor = Blob_expressionContext;
Blob_expressionContext.prototype.BLOB = function() {
return this.getToken(OParser.BLOB, 0);
};
Blob_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Blob_expressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Blob_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Blob_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBlob_expression(this);
}
};
Blob_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBlob_expression(this);
}
};
OParser.prototype.blob_expression = function() {
var localctx = new Blob_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 102, OParser.RULE_blob_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1133;
this.match(OParser.BLOB);
this.state = 1134;
this.match(OParser.LPAR);
this.state = 1135;
this.expression(0);
this.state = 1136;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Document_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_document_expression;
return this;
}
Document_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Document_expressionContext.prototype.constructor = Document_expressionContext;
Document_expressionContext.prototype.DOCUMENT = function() {
return this.getToken(OParser.DOCUMENT, 0);
};
Document_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Document_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Document_expressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Document_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDocument_expression(this);
}
};
Document_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDocument_expression(this);
}
};
OParser.prototype.document_expression = function() {
var localctx = new Document_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 104, OParser.RULE_document_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1138;
this.match(OParser.DOCUMENT);
this.state = 1139;
this.match(OParser.LPAR);
this.state = 1141;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1140;
this.expression(0);
}
this.state = 1143;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Write_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_write_statement;
this.what = null; // ExpressionContext
this.target = null; // ExpressionContext
return this;
}
Write_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Write_statementContext.prototype.constructor = Write_statementContext;
Write_statementContext.prototype.WRITE = function() {
return this.getToken(OParser.WRITE, 0);
};
Write_statementContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Write_statementContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Write_statementContext.prototype.TO = function() {
return this.getToken(OParser.TO, 0);
};
Write_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Write_statementContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Write_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterWrite_statement(this);
}
};
Write_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitWrite_statement(this);
}
};
OParser.prototype.write_statement = function() {
var localctx = new Write_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 106, OParser.RULE_write_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1145;
this.match(OParser.WRITE);
this.state = 1146;
this.match(OParser.LPAR);
this.state = 1147;
localctx.what = this.expression(0);
this.state = 1148;
this.match(OParser.RPAR);
this.state = 1149;
this.match(OParser.TO);
this.state = 1150;
localctx.target = this.expression(0);
this.state = 1151;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Filtered_list_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_filtered_list_expression;
this.source = null; // ExpressionContext
this.name = null; // Variable_identifierContext
this.predicate = null; // ExpressionContext
return this;
}
Filtered_list_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Filtered_list_expressionContext.prototype.constructor = Filtered_list_expressionContext;
Filtered_list_expressionContext.prototype.FILTERED = function() {
return this.getToken(OParser.FILTERED, 0);
};
Filtered_list_expressionContext.prototype.LPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LPAR);
} else {
return this.getToken(OParser.LPAR, i);
}
};
Filtered_list_expressionContext.prototype.RPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RPAR);
} else {
return this.getToken(OParser.RPAR, i);
}
};
Filtered_list_expressionContext.prototype.WITH = function() {
return this.getToken(OParser.WITH, 0);
};
Filtered_list_expressionContext.prototype.WHERE = function() {
return this.getToken(OParser.WHERE, 0);
};
Filtered_list_expressionContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Filtered_list_expressionContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Filtered_list_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFiltered_list_expression(this);
}
};
Filtered_list_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFiltered_list_expression(this);
}
};
OParser.prototype.filtered_list_expression = function() {
var localctx = new Filtered_list_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 108, OParser.RULE_filtered_list_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1153;
this.match(OParser.FILTERED);
this.state = 1154;
this.match(OParser.LPAR);
this.state = 1155;
localctx.source = this.expression(0);
this.state = 1156;
this.match(OParser.RPAR);
this.state = 1157;
this.match(OParser.WITH);
this.state = 1158;
this.match(OParser.LPAR);
this.state = 1159;
localctx.name = this.variable_identifier();
this.state = 1160;
this.match(OParser.RPAR);
this.state = 1161;
this.match(OParser.WHERE);
this.state = 1162;
this.match(OParser.LPAR);
this.state = 1163;
localctx.predicate = this.expression(0);
this.state = 1164;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Fetch_store_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_fetch_store_expression;
return this;
}
Fetch_store_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Fetch_store_expressionContext.prototype.constructor = Fetch_store_expressionContext;
Fetch_store_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function FetchOneContext(parser, ctx) {
Fetch_store_expressionContext.call(this, parser);
this.typ = null; // Mutable_category_typeContext;
this.predicate = null; // ExpressionContext;
Fetch_store_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
FetchOneContext.prototype = Object.create(Fetch_store_expressionContext.prototype);
FetchOneContext.prototype.constructor = FetchOneContext;
FetchOneContext.prototype.FETCH = function() {
return this.getToken(OParser.FETCH, 0);
};
FetchOneContext.prototype.ONE = function() {
return this.getToken(OParser.ONE, 0);
};
FetchOneContext.prototype.WHERE = function() {
return this.getToken(OParser.WHERE, 0);
};
FetchOneContext.prototype.LPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LPAR);
} else {
return this.getToken(OParser.LPAR, i);
}
};
FetchOneContext.prototype.RPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RPAR);
} else {
return this.getToken(OParser.RPAR, i);
}
};
FetchOneContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
FetchOneContext.prototype.mutable_category_type = function() {
return this.getTypedRuleContext(Mutable_category_typeContext,0);
};
FetchOneContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFetchOne(this);
}
};
FetchOneContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFetchOne(this);
}
};
function FetchManyContext(parser, ctx) {
Fetch_store_expressionContext.call(this, parser);
this.typ = null; // Mutable_category_typeContext;
this.xstart = null; // ExpressionContext;
this.xstop = null; // ExpressionContext;
this.predicate = null; // ExpressionContext;
this.orderby = null; // Order_by_listContext;
Fetch_store_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
FetchManyContext.prototype = Object.create(Fetch_store_expressionContext.prototype);
FetchManyContext.prototype.constructor = FetchManyContext;
FetchManyContext.prototype.FETCH = function() {
return this.getToken(OParser.FETCH, 0);
};
FetchManyContext.prototype.WHERE = function() {
return this.getToken(OParser.WHERE, 0);
};
FetchManyContext.prototype.LPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.LPAR);
} else {
return this.getToken(OParser.LPAR, i);
}
};
FetchManyContext.prototype.RPAR = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.RPAR);
} else {
return this.getToken(OParser.RPAR, i);
}
};
FetchManyContext.prototype.ORDER = function() {
return this.getToken(OParser.ORDER, 0);
};
FetchManyContext.prototype.BY = function() {
return this.getToken(OParser.BY, 0);
};
FetchManyContext.prototype.ALL = function() {
return this.getToken(OParser.ALL, 0);
};
FetchManyContext.prototype.ROWS = function() {
return this.getToken(OParser.ROWS, 0);
};
FetchManyContext.prototype.TO = function() {
return this.getToken(OParser.TO, 0);
};
FetchManyContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
FetchManyContext.prototype.order_by_list = function() {
return this.getTypedRuleContext(Order_by_listContext,0);
};
FetchManyContext.prototype.mutable_category_type = function() {
return this.getTypedRuleContext(Mutable_category_typeContext,0);
};
FetchManyContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFetchMany(this);
}
};
FetchManyContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFetchMany(this);
}
};
OParser.prototype.fetch_store_expression = function() {
var localctx = new Fetch_store_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 110, OParser.RULE_fetch_store_expression);
var _la = 0; // Token type
try {
this.state = 1217;
var la_ = this._interp.adaptivePredict(this._input,78,this._ctx);
switch(la_) {
case 1:
localctx = new FetchOneContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1166;
this.match(OParser.FETCH);
this.state = 1167;
this.match(OParser.ONE);
this.state = 1172;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 1168;
this.match(OParser.LPAR);
this.state = 1169;
localctx.typ = this.mutable_category_type();
this.state = 1170;
this.match(OParser.RPAR);
}
this.state = 1174;
this.match(OParser.WHERE);
this.state = 1175;
this.match(OParser.LPAR);
this.state = 1176;
localctx.predicate = this.expression(0);
this.state = 1177;
this.match(OParser.RPAR);
break;
case 2:
localctx = new FetchManyContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1179;
this.match(OParser.FETCH);
this.state = 1200;
switch(this._input.LA(1)) {
case OParser.ALL:
this.state = 1180;
this.match(OParser.ALL);
this.state = 1185;
var la_ = this._interp.adaptivePredict(this._input,73,this._ctx);
if(la_===1) {
this.state = 1181;
this.match(OParser.LPAR);
this.state = 1182;
localctx.typ = this.mutable_category_type();
this.state = 1183;
this.match(OParser.RPAR);
}
break;
case OParser.LPAR:
case OParser.ROWS:
this.state = 1191;
_la = this._input.LA(1);
if(_la===OParser.LPAR) {
this.state = 1187;
this.match(OParser.LPAR);
this.state = 1188;
localctx.typ = this.mutable_category_type();
this.state = 1189;
this.match(OParser.RPAR);
}
this.state = 1193;
this.match(OParser.ROWS);
this.state = 1194;
this.match(OParser.LPAR);
this.state = 1195;
localctx.xstart = this.expression(0);
this.state = 1196;
this.match(OParser.TO);
this.state = 1197;
localctx.xstop = this.expression(0);
this.state = 1198;
this.match(OParser.RPAR);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
this.state = 1207;
var la_ = this._interp.adaptivePredict(this._input,76,this._ctx);
if(la_===1) {
this.state = 1202;
this.match(OParser.WHERE);
this.state = 1203;
this.match(OParser.LPAR);
this.state = 1204;
localctx.predicate = this.expression(0);
this.state = 1205;
this.match(OParser.RPAR);
}
this.state = 1215;
var la_ = this._interp.adaptivePredict(this._input,77,this._ctx);
if(la_===1) {
this.state = 1209;
this.match(OParser.ORDER);
this.state = 1210;
this.match(OParser.BY);
this.state = 1211;
this.match(OParser.LPAR);
this.state = 1212;
localctx.orderby = this.order_by_list();
this.state = 1213;
this.match(OParser.RPAR);
}
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Sorted_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_sorted_expression;
this.source = null; // Instance_expressionContext
this.key = null; // Instance_expressionContext
return this;
}
Sorted_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Sorted_expressionContext.prototype.constructor = Sorted_expressionContext;
Sorted_expressionContext.prototype.SORTED = function() {
return this.getToken(OParser.SORTED, 0);
};
Sorted_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Sorted_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Sorted_expressionContext.prototype.instance_expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Instance_expressionContext);
} else {
return this.getTypedRuleContext(Instance_expressionContext,i);
}
};
Sorted_expressionContext.prototype.DESC = function() {
return this.getToken(OParser.DESC, 0);
};
Sorted_expressionContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
Sorted_expressionContext.prototype.key_token = function() {
return this.getTypedRuleContext(Key_tokenContext,0);
};
Sorted_expressionContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
Sorted_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSorted_expression(this);
}
};
Sorted_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSorted_expression(this);
}
};
OParser.prototype.sorted_expression = function() {
var localctx = new Sorted_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 112, OParser.RULE_sorted_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1219;
this.match(OParser.SORTED);
this.state = 1221;
_la = this._input.LA(1);
if(_la===OParser.DESC) {
this.state = 1220;
this.match(OParser.DESC);
}
this.state = 1223;
this.match(OParser.LPAR);
this.state = 1224;
localctx.source = this.instance_expression(0);
this.state = 1230;
_la = this._input.LA(1);
if(_la===OParser.COMMA) {
this.state = 1225;
this.match(OParser.COMMA);
this.state = 1226;
this.key_token();
this.state = 1227;
this.match(OParser.EQ);
this.state = 1228;
localctx.key = this.instance_expression(0);
}
this.state = 1232;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Selector_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_selector_expression;
return this;
}
Selector_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Selector_expressionContext.prototype.constructor = Selector_expressionContext;
Selector_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function SliceSelectorContext(parser, ctx) {
Selector_expressionContext.call(this, parser);
this.xslice = null; // Slice_argumentsContext;
Selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
SliceSelectorContext.prototype = Object.create(Selector_expressionContext.prototype);
SliceSelectorContext.prototype.constructor = SliceSelectorContext;
SliceSelectorContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
SliceSelectorContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
SliceSelectorContext.prototype.slice_arguments = function() {
return this.getTypedRuleContext(Slice_argumentsContext,0);
};
SliceSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSliceSelector(this);
}
};
SliceSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSliceSelector(this);
}
};
function MemberSelectorContext(parser, ctx) {
Selector_expressionContext.call(this, parser);
this.name = null; // Variable_identifierContext;
Selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
MemberSelectorContext.prototype = Object.create(Selector_expressionContext.prototype);
MemberSelectorContext.prototype.constructor = MemberSelectorContext;
MemberSelectorContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
MemberSelectorContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
MemberSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMemberSelector(this);
}
};
MemberSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMemberSelector(this);
}
};
function ItemSelectorContext(parser, ctx) {
Selector_expressionContext.call(this, parser);
this.exp = null; // ExpressionContext;
Selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ItemSelectorContext.prototype = Object.create(Selector_expressionContext.prototype);
ItemSelectorContext.prototype.constructor = ItemSelectorContext;
ItemSelectorContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
ItemSelectorContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
ItemSelectorContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
ItemSelectorContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterItemSelector(this);
}
};
ItemSelectorContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitItemSelector(this);
}
};
OParser.prototype.selector_expression = function() {
var localctx = new Selector_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 114, OParser.RULE_selector_expression);
try {
this.state = 1244;
var la_ = this._interp.adaptivePredict(this._input,81,this._ctx);
switch(la_) {
case 1:
localctx = new MemberSelectorContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1234;
this.match(OParser.DOT);
this.state = 1235;
localctx.name = this.variable_identifier();
break;
case 2:
localctx = new ItemSelectorContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1236;
this.match(OParser.LBRAK);
this.state = 1237;
localctx.exp = this.expression(0);
this.state = 1238;
this.match(OParser.RBRAK);
break;
case 3:
localctx = new SliceSelectorContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1240;
this.match(OParser.LBRAK);
this.state = 1241;
localctx.xslice = this.slice_arguments();
this.state = 1242;
this.match(OParser.RBRAK);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Constructor_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_constructor_expression;
this.typ = null; // Mutable_category_typeContext
this.args = null; // Argument_assignment_listContext
return this;
}
Constructor_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Constructor_expressionContext.prototype.constructor = Constructor_expressionContext;
Constructor_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Constructor_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Constructor_expressionContext.prototype.mutable_category_type = function() {
return this.getTypedRuleContext(Mutable_category_typeContext,0);
};
Constructor_expressionContext.prototype.argument_assignment_list = function() {
return this.getTypedRuleContext(Argument_assignment_listContext,0);
};
Constructor_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterConstructor_expression(this);
}
};
Constructor_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitConstructor_expression(this);
}
};
OParser.prototype.constructor_expression = function() {
var localctx = new Constructor_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 116, OParser.RULE_constructor_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1246;
localctx.typ = this.mutable_category_type();
this.state = 1247;
this.match(OParser.LPAR);
this.state = 1249;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1248;
localctx.args = this.argument_assignment_list(0);
}
this.state = 1251;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Argument_assignment_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_argument_assignment_list;
return this;
}
Argument_assignment_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Argument_assignment_listContext.prototype.constructor = Argument_assignment_listContext;
Argument_assignment_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function ExpressionAssignmentListContext(parser, ctx) {
Argument_assignment_listContext.call(this, parser);
this.exp = null; // ExpressionContext;
Argument_assignment_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
ExpressionAssignmentListContext.prototype = Object.create(Argument_assignment_listContext.prototype);
ExpressionAssignmentListContext.prototype.constructor = ExpressionAssignmentListContext;
ExpressionAssignmentListContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
ExpressionAssignmentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterExpressionAssignmentList(this);
}
};
ExpressionAssignmentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitExpressionAssignmentList(this);
}
};
function ArgumentAssignmentListContext(parser, ctx) {
Argument_assignment_listContext.call(this, parser);
this.item = null; // Argument_assignmentContext;
Argument_assignment_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
ArgumentAssignmentListContext.prototype = Object.create(Argument_assignment_listContext.prototype);
ArgumentAssignmentListContext.prototype.constructor = ArgumentAssignmentListContext;
ArgumentAssignmentListContext.prototype.argument_assignment = function() {
return this.getTypedRuleContext(Argument_assignmentContext,0);
};
ArgumentAssignmentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterArgumentAssignmentList(this);
}
};
ArgumentAssignmentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitArgumentAssignmentList(this);
}
};
function ArgumentAssignmentListItemContext(parser, ctx) {
Argument_assignment_listContext.call(this, parser);
this.items = null; // Argument_assignment_listContext;
this.item = null; // Argument_assignmentContext;
Argument_assignment_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
ArgumentAssignmentListItemContext.prototype = Object.create(Argument_assignment_listContext.prototype);
ArgumentAssignmentListItemContext.prototype.constructor = ArgumentAssignmentListItemContext;
ArgumentAssignmentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
ArgumentAssignmentListItemContext.prototype.argument_assignment_list = function() {
return this.getTypedRuleContext(Argument_assignment_listContext,0);
};
ArgumentAssignmentListItemContext.prototype.argument_assignment = function() {
return this.getTypedRuleContext(Argument_assignmentContext,0);
};
ArgumentAssignmentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterArgumentAssignmentListItem(this);
}
};
ArgumentAssignmentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitArgumentAssignmentListItem(this);
}
};
OParser.prototype.argument_assignment_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Argument_assignment_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 118;
this.enterRecursionRule(localctx, 118, OParser.RULE_argument_assignment_list, _p);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1258;
var la_ = this._interp.adaptivePredict(this._input,83,this._ctx);
switch(la_) {
case 1:
localctx = new ExpressionAssignmentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1254;
localctx.exp = this.expression(0);
this.state = 1255;
if (!( this.willNotBe(this.equalToken()))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.willNotBe($parser.equalToken())");
}
break;
case 2:
localctx = new ArgumentAssignmentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1257;
localctx.item = this.argument_assignment();
break;
}
this._ctx.stop = this._input.LT(-1);
this.state = 1265;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,84,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new ArgumentAssignmentListItemContext(this, new Argument_assignment_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_argument_assignment_list);
this.state = 1260;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1261;
this.match(OParser.COMMA);
this.state = 1262;
localctx.item = this.argument_assignment();
}
this.state = 1267;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,84,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Argument_assignmentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_argument_assignment;
this.name = null; // Variable_identifierContext
this.exp = null; // ExpressionContext
return this;
}
Argument_assignmentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Argument_assignmentContext.prototype.constructor = Argument_assignmentContext;
Argument_assignmentContext.prototype.assign = function() {
return this.getTypedRuleContext(AssignContext,0);
};
Argument_assignmentContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Argument_assignmentContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Argument_assignmentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterArgument_assignment(this);
}
};
Argument_assignmentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitArgument_assignment(this);
}
};
OParser.prototype.argument_assignment = function() {
var localctx = new Argument_assignmentContext(this, this._ctx, this.state);
this.enterRule(localctx, 120, OParser.RULE_argument_assignment);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1268;
localctx.name = this.variable_identifier();
this.state = 1269;
this.assign();
this.state = 1270;
localctx.exp = this.expression(0);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Assign_instance_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assign_instance_statement;
this.inst = null; // Assignable_instanceContext
this.exp = null; // ExpressionContext
return this;
}
Assign_instance_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Assign_instance_statementContext.prototype.constructor = Assign_instance_statementContext;
Assign_instance_statementContext.prototype.assign = function() {
return this.getTypedRuleContext(AssignContext,0);
};
Assign_instance_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Assign_instance_statementContext.prototype.assignable_instance = function() {
return this.getTypedRuleContext(Assignable_instanceContext,0);
};
Assign_instance_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Assign_instance_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssign_instance_statement(this);
}
};
Assign_instance_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssign_instance_statement(this);
}
};
OParser.prototype.assign_instance_statement = function() {
var localctx = new Assign_instance_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 122, OParser.RULE_assign_instance_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1272;
localctx.inst = this.assignable_instance(0);
this.state = 1273;
this.assign();
this.state = 1274;
localctx.exp = this.expression(0);
this.state = 1275;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Child_instanceContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_child_instance;
return this;
}
Child_instanceContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Child_instanceContext.prototype.constructor = Child_instanceContext;
Child_instanceContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function MemberInstanceContext(parser, ctx) {
Child_instanceContext.call(this, parser);
this.name = null; // Variable_identifierContext;
Child_instanceContext.prototype.copyFrom.call(this, ctx);
return this;
}
MemberInstanceContext.prototype = Object.create(Child_instanceContext.prototype);
MemberInstanceContext.prototype.constructor = MemberInstanceContext;
MemberInstanceContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
MemberInstanceContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
MemberInstanceContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMemberInstance(this);
}
};
MemberInstanceContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMemberInstance(this);
}
};
function ItemInstanceContext(parser, ctx) {
Child_instanceContext.call(this, parser);
this.exp = null; // ExpressionContext;
Child_instanceContext.prototype.copyFrom.call(this, ctx);
return this;
}
ItemInstanceContext.prototype = Object.create(Child_instanceContext.prototype);
ItemInstanceContext.prototype.constructor = ItemInstanceContext;
ItemInstanceContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
ItemInstanceContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
ItemInstanceContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
ItemInstanceContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterItemInstance(this);
}
};
ItemInstanceContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitItemInstance(this);
}
};
OParser.prototype.child_instance = function() {
var localctx = new Child_instanceContext(this, this._ctx, this.state);
this.enterRule(localctx, 124, OParser.RULE_child_instance);
try {
this.state = 1283;
switch(this._input.LA(1)) {
case OParser.DOT:
localctx = new MemberInstanceContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1277;
this.match(OParser.DOT);
this.state = 1278;
localctx.name = this.variable_identifier();
break;
case OParser.LBRAK:
localctx = new ItemInstanceContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1279;
this.match(OParser.LBRAK);
this.state = 1280;
localctx.exp = this.expression(0);
this.state = 1281;
this.match(OParser.RBRAK);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Assign_tuple_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assign_tuple_statement;
this.items = null; // Variable_identifier_listContext
this.exp = null; // ExpressionContext
return this;
}
Assign_tuple_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Assign_tuple_statementContext.prototype.constructor = Assign_tuple_statementContext;
Assign_tuple_statementContext.prototype.assign = function() {
return this.getTypedRuleContext(AssignContext,0);
};
Assign_tuple_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Assign_tuple_statementContext.prototype.variable_identifier_list = function() {
return this.getTypedRuleContext(Variable_identifier_listContext,0);
};
Assign_tuple_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Assign_tuple_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssign_tuple_statement(this);
}
};
Assign_tuple_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssign_tuple_statement(this);
}
};
OParser.prototype.assign_tuple_statement = function() {
var localctx = new Assign_tuple_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 126, OParser.RULE_assign_tuple_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1285;
localctx.items = this.variable_identifier_list();
this.state = 1286;
this.assign();
this.state = 1287;
localctx.exp = this.expression(0);
this.state = 1288;
this.match(OParser.SEMI);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Null_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_null_literal;
return this;
}
Null_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Null_literalContext.prototype.constructor = Null_literalContext;
Null_literalContext.prototype.NULL = function() {
return this.getToken(OParser.NULL, 0);
};
Null_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNull_literal(this);
}
};
Null_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNull_literal(this);
}
};
OParser.prototype.null_literal = function() {
var localctx = new Null_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 128, OParser.RULE_null_literal);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1290;
this.match(OParser.NULL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Declaration_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_declaration_list;
return this;
}
Declaration_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Declaration_listContext.prototype.constructor = Declaration_listContext;
Declaration_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function FullDeclarationListContext(parser, ctx) {
Declaration_listContext.call(this, parser);
Declaration_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
FullDeclarationListContext.prototype = Object.create(Declaration_listContext.prototype);
FullDeclarationListContext.prototype.constructor = FullDeclarationListContext;
FullDeclarationListContext.prototype.lfs = function() {
return this.getTypedRuleContext(LfsContext,0);
};
FullDeclarationListContext.prototype.EOF = function() {
return this.getToken(OParser.EOF, 0);
};
FullDeclarationListContext.prototype.declarations = function() {
return this.getTypedRuleContext(DeclarationsContext,0);
};
FullDeclarationListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterFullDeclarationList(this);
}
};
FullDeclarationListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitFullDeclarationList(this);
}
};
OParser.prototype.declaration_list = function() {
var localctx = new Declaration_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 130, OParser.RULE_declaration_list);
var _la = 0; // Token type
try {
localctx = new FullDeclarationListContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1293;
_la = this._input.LA(1);
if(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ABSTRACT - 46)) | (1 << (OParser.ANY - 46)) | (1 << (OParser.ATTRIBUTE - 46)))) !== 0) || _la===OParser.CATEGORY || _la===OParser.ENUMERATED || ((((_la - 110)) & ~0x1f) == 0 && ((1 << (_la - 110)) & ((1 << (OParser.METHOD - 110)) | (1 << (OParser.NATIVE - 110)) | (1 << (OParser.SINGLETON - 110)) | (1 << (OParser.STORABLE - 110)) | (1 << (OParser.TEST - 110)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 1292;
this.declarations();
}
this.state = 1295;
this.lfs();
this.state = 1296;
this.match(OParser.EOF);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function DeclarationsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_declarations;
return this;
}
DeclarationsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
DeclarationsContext.prototype.constructor = DeclarationsContext;
DeclarationsContext.prototype.declaration = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(DeclarationContext);
} else {
return this.getTypedRuleContext(DeclarationContext,i);
}
};
DeclarationsContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
DeclarationsContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDeclarations(this);
}
};
DeclarationsContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDeclarations(this);
}
};
OParser.prototype.declarations = function() {
var localctx = new DeclarationsContext(this, this._ctx, this.state);
this.enterRule(localctx, 132, OParser.RULE_declarations);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1298;
this.declaration();
this.state = 1304;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ABSTRACT - 46)) | (1 << (OParser.ANY - 46)) | (1 << (OParser.ATTRIBUTE - 46)))) !== 0) || _la===OParser.CATEGORY || _la===OParser.ENUMERATED || ((((_la - 110)) & ~0x1f) == 0 && ((1 << (_la - 110)) & ((1 << (OParser.METHOD - 110)) | (1 << (OParser.NATIVE - 110)) | (1 << (OParser.SINGLETON - 110)) | (1 << (OParser.STORABLE - 110)) | (1 << (OParser.TEST - 110)))) !== 0) || _la===OParser.TYPE_IDENTIFIER) {
this.state = 1299;
this.lfp();
this.state = 1300;
this.declaration();
this.state = 1306;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function DeclarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_declaration;
return this;
}
DeclarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
DeclarationContext.prototype.constructor = DeclarationContext;
DeclarationContext.prototype.attribute_declaration = function() {
return this.getTypedRuleContext(Attribute_declarationContext,0);
};
DeclarationContext.prototype.category_declaration = function() {
return this.getTypedRuleContext(Category_declarationContext,0);
};
DeclarationContext.prototype.resource_declaration = function() {
return this.getTypedRuleContext(Resource_declarationContext,0);
};
DeclarationContext.prototype.enum_declaration = function() {
return this.getTypedRuleContext(Enum_declarationContext,0);
};
DeclarationContext.prototype.method_declaration = function() {
return this.getTypedRuleContext(Method_declarationContext,0);
};
DeclarationContext.prototype.comment_statement = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Comment_statementContext);
} else {
return this.getTypedRuleContext(Comment_statementContext,i);
}
};
DeclarationContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
DeclarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDeclaration(this);
}
};
DeclarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDeclaration(this);
}
};
OParser.prototype.declaration = function() {
var localctx = new DeclarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 134, OParser.RULE_declaration);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1312;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMENT) {
this.state = 1307;
this.comment_statement();
this.state = 1308;
this.lfp();
this.state = 1314;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
this.state = 1320;
var la_ = this._interp.adaptivePredict(this._input,89,this._ctx);
switch(la_) {
case 1:
this.state = 1315;
this.attribute_declaration();
break;
case 2:
this.state = 1316;
this.category_declaration();
break;
case 3:
this.state = 1317;
this.resource_declaration();
break;
case 4:
this.state = 1318;
this.enum_declaration();
break;
case 5:
this.state = 1319;
this.method_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Resource_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_resource_declaration;
return this;
}
Resource_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Resource_declarationContext.prototype.constructor = Resource_declarationContext;
Resource_declarationContext.prototype.native_resource_declaration = function() {
return this.getTypedRuleContext(Native_resource_declarationContext,0);
};
Resource_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterResource_declaration(this);
}
};
Resource_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitResource_declaration(this);
}
};
OParser.prototype.resource_declaration = function() {
var localctx = new Resource_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 136, OParser.RULE_resource_declaration);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1322;
this.native_resource_declaration();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Enum_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_enum_declaration;
return this;
}
Enum_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Enum_declarationContext.prototype.constructor = Enum_declarationContext;
Enum_declarationContext.prototype.enum_category_declaration = function() {
return this.getTypedRuleContext(Enum_category_declarationContext,0);
};
Enum_declarationContext.prototype.enum_native_declaration = function() {
return this.getTypedRuleContext(Enum_native_declarationContext,0);
};
Enum_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterEnum_declaration(this);
}
};
Enum_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitEnum_declaration(this);
}
};
OParser.prototype.enum_declaration = function() {
var localctx = new Enum_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 138, OParser.RULE_enum_declaration);
try {
this.state = 1326;
var la_ = this._interp.adaptivePredict(this._input,90,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1324;
this.enum_category_declaration();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1325;
this.enum_native_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_symbol_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_symbol_list;
return this;
}
Native_symbol_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_symbol_listContext.prototype.constructor = Native_symbol_listContext;
Native_symbol_listContext.prototype.native_symbol = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Native_symbolContext);
} else {
return this.getTypedRuleContext(Native_symbolContext,i);
}
};
Native_symbol_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Native_symbol_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_symbol_list(this);
}
};
Native_symbol_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_symbol_list(this);
}
};
OParser.prototype.native_symbol_list = function() {
var localctx = new Native_symbol_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 140, OParser.RULE_native_symbol_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1328;
this.native_symbol();
this.state = 1334;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.SYMBOL_IDENTIFIER) {
this.state = 1329;
this.lfp();
this.state = 1330;
this.native_symbol();
this.state = 1336;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Category_symbol_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_symbol_list;
return this;
}
Category_symbol_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_symbol_listContext.prototype.constructor = Category_symbol_listContext;
Category_symbol_listContext.prototype.category_symbol = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Category_symbolContext);
} else {
return this.getTypedRuleContext(Category_symbolContext,i);
}
};
Category_symbol_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Category_symbol_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCategory_symbol_list(this);
}
};
Category_symbol_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCategory_symbol_list(this);
}
};
OParser.prototype.category_symbol_list = function() {
var localctx = new Category_symbol_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 142, OParser.RULE_category_symbol_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1337;
this.category_symbol();
this.state = 1343;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.SYMBOL_IDENTIFIER) {
this.state = 1338;
this.lfp();
this.state = 1339;
this.category_symbol();
this.state = 1345;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Symbol_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_symbol_list;
return this;
}
Symbol_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Symbol_listContext.prototype.constructor = Symbol_listContext;
Symbol_listContext.prototype.symbol_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Symbol_identifierContext);
} else {
return this.getTypedRuleContext(Symbol_identifierContext,i);
}
};
Symbol_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Symbol_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSymbol_list(this);
}
};
Symbol_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSymbol_list(this);
}
};
OParser.prototype.symbol_list = function() {
var localctx = new Symbol_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 144, OParser.RULE_symbol_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1346;
this.symbol_identifier();
this.state = 1351;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1347;
this.match(OParser.COMMA);
this.state = 1348;
this.symbol_identifier();
this.state = 1353;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Attribute_constraintContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_attribute_constraint;
return this;
}
Attribute_constraintContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Attribute_constraintContext.prototype.constructor = Attribute_constraintContext;
Attribute_constraintContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function MatchingSetContext(parser, ctx) {
Attribute_constraintContext.call(this, parser);
this.source = null; // Set_literalContext;
Attribute_constraintContext.prototype.copyFrom.call(this, ctx);
return this;
}
MatchingSetContext.prototype = Object.create(Attribute_constraintContext.prototype);
MatchingSetContext.prototype.constructor = MatchingSetContext;
MatchingSetContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
MatchingSetContext.prototype.set_literal = function() {
return this.getTypedRuleContext(Set_literalContext,0);
};
MatchingSetContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMatchingSet(this);
}
};
MatchingSetContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMatchingSet(this);
}
};
function MatchingPatternContext(parser, ctx) {
Attribute_constraintContext.call(this, parser);
this.text = null; // Token;
Attribute_constraintContext.prototype.copyFrom.call(this, ctx);
return this;
}
MatchingPatternContext.prototype = Object.create(Attribute_constraintContext.prototype);
MatchingPatternContext.prototype.constructor = MatchingPatternContext;
MatchingPatternContext.prototype.MATCHING = function() {
return this.getToken(OParser.MATCHING, 0);
};
MatchingPatternContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
MatchingPatternContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMatchingPattern(this);
}
};
MatchingPatternContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMatchingPattern(this);
}
};
function MatchingListContext(parser, ctx) {
Attribute_constraintContext.call(this, parser);
this.source = null; // List_literalContext;
Attribute_constraintContext.prototype.copyFrom.call(this, ctx);
return this;
}
MatchingListContext.prototype = Object.create(Attribute_constraintContext.prototype);
MatchingListContext.prototype.constructor = MatchingListContext;
MatchingListContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
MatchingListContext.prototype.list_literal = function() {
return this.getTypedRuleContext(List_literalContext,0);
};
MatchingListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMatchingList(this);
}
};
MatchingListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMatchingList(this);
}
};
function MatchingRangeContext(parser, ctx) {
Attribute_constraintContext.call(this, parser);
this.source = null; // Range_literalContext;
Attribute_constraintContext.prototype.copyFrom.call(this, ctx);
return this;
}
MatchingRangeContext.prototype = Object.create(Attribute_constraintContext.prototype);
MatchingRangeContext.prototype.constructor = MatchingRangeContext;
MatchingRangeContext.prototype.IN = function() {
return this.getToken(OParser.IN, 0);
};
MatchingRangeContext.prototype.range_literal = function() {
return this.getTypedRuleContext(Range_literalContext,0);
};
MatchingRangeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMatchingRange(this);
}
};
MatchingRangeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMatchingRange(this);
}
};
function MatchingExpressionContext(parser, ctx) {
Attribute_constraintContext.call(this, parser);
this.exp = null; // ExpressionContext;
Attribute_constraintContext.prototype.copyFrom.call(this, ctx);
return this;
}
MatchingExpressionContext.prototype = Object.create(Attribute_constraintContext.prototype);
MatchingExpressionContext.prototype.constructor = MatchingExpressionContext;
MatchingExpressionContext.prototype.MATCHING = function() {
return this.getToken(OParser.MATCHING, 0);
};
MatchingExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
MatchingExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMatchingExpression(this);
}
};
MatchingExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMatchingExpression(this);
}
};
OParser.prototype.attribute_constraint = function() {
var localctx = new Attribute_constraintContext(this, this._ctx, this.state);
this.enterRule(localctx, 146, OParser.RULE_attribute_constraint);
try {
this.state = 1364;
var la_ = this._interp.adaptivePredict(this._input,94,this._ctx);
switch(la_) {
case 1:
localctx = new MatchingListContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1354;
this.match(OParser.IN);
this.state = 1355;
localctx.source = this.list_literal();
break;
case 2:
localctx = new MatchingSetContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1356;
this.match(OParser.IN);
this.state = 1357;
localctx.source = this.set_literal();
break;
case 3:
localctx = new MatchingRangeContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1358;
this.match(OParser.IN);
this.state = 1359;
localctx.source = this.range_literal();
break;
case 4:
localctx = new MatchingPatternContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1360;
this.match(OParser.MATCHING);
this.state = 1361;
localctx.text = this.match(OParser.TEXT_LITERAL);
break;
case 5:
localctx = new MatchingExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1362;
this.match(OParser.MATCHING);
this.state = 1363;
localctx.exp = this.expression(0);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function List_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_list_literal;
return this;
}
List_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
List_literalContext.prototype.constructor = List_literalContext;
List_literalContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
List_literalContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
List_literalContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
List_literalContext.prototype.expression_list = function() {
return this.getTypedRuleContext(Expression_listContext,0);
};
List_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterList_literal(this);
}
};
List_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitList_literal(this);
}
};
OParser.prototype.list_literal = function() {
var localctx = new List_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 148, OParser.RULE_list_literal);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1367;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1366;
this.match(OParser.MUTABLE);
}
this.state = 1369;
this.match(OParser.LBRAK);
this.state = 1371;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1370;
this.expression_list();
}
this.state = 1373;
this.match(OParser.RBRAK);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Set_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_set_literal;
return this;
}
Set_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Set_literalContext.prototype.constructor = Set_literalContext;
Set_literalContext.prototype.LT = function() {
return this.getToken(OParser.LT, 0);
};
Set_literalContext.prototype.GT = function() {
return this.getToken(OParser.GT, 0);
};
Set_literalContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
Set_literalContext.prototype.expression_list = function() {
return this.getTypedRuleContext(Expression_listContext,0);
};
Set_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSet_literal(this);
}
};
Set_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSet_literal(this);
}
};
OParser.prototype.set_literal = function() {
var localctx = new Set_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 150, OParser.RULE_set_literal);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1376;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1375;
this.match(OParser.MUTABLE);
}
this.state = 1378;
this.match(OParser.LT);
this.state = 1380;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1379;
this.expression_list();
}
this.state = 1382;
this.match(OParser.GT);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Expression_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_expression_list;
return this;
}
Expression_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Expression_listContext.prototype.constructor = Expression_listContext;
Expression_listContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Expression_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Expression_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterExpression_list(this);
}
};
Expression_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitExpression_list(this);
}
};
OParser.prototype.expression_list = function() {
var localctx = new Expression_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 152, OParser.RULE_expression_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1384;
this.expression(0);
this.state = 1389;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1385;
this.match(OParser.COMMA);
this.state = 1386;
this.expression(0);
this.state = 1391;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Range_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_range_literal;
this.low = null; // ExpressionContext
this.high = null; // ExpressionContext
return this;
}
Range_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Range_literalContext.prototype.constructor = Range_literalContext;
Range_literalContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
Range_literalContext.prototype.RANGE = function() {
return this.getToken(OParser.RANGE, 0);
};
Range_literalContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
Range_literalContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Range_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRange_literal(this);
}
};
Range_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRange_literal(this);
}
};
OParser.prototype.range_literal = function() {
var localctx = new Range_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 154, OParser.RULE_range_literal);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1392;
this.match(OParser.LBRAK);
this.state = 1393;
localctx.low = this.expression(0);
this.state = 1394;
this.match(OParser.RANGE);
this.state = 1395;
localctx.high = this.expression(0);
this.state = 1396;
this.match(OParser.RBRAK);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function TypedefContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_typedef;
return this;
}
TypedefContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
TypedefContext.prototype.constructor = TypedefContext;
TypedefContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function IteratorTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.i = null; // TypedefContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
IteratorTypeContext.prototype = Object.create(TypedefContext.prototype);
IteratorTypeContext.prototype.constructor = IteratorTypeContext;
IteratorTypeContext.prototype.ITERATOR = function() {
return this.getToken(OParser.ITERATOR, 0);
};
IteratorTypeContext.prototype.LT = function() {
return this.getToken(OParser.LT, 0);
};
IteratorTypeContext.prototype.GT = function() {
return this.getToken(OParser.GT, 0);
};
IteratorTypeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
IteratorTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIteratorType(this);
}
};
IteratorTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIteratorType(this);
}
};
function SetTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.s = null; // TypedefContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
SetTypeContext.prototype = Object.create(TypedefContext.prototype);
SetTypeContext.prototype.constructor = SetTypeContext;
SetTypeContext.prototype.LTGT = function() {
return this.getToken(OParser.LTGT, 0);
};
SetTypeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
SetTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSetType(this);
}
};
SetTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSetType(this);
}
};
function ListTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.l = null; // TypedefContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
ListTypeContext.prototype = Object.create(TypedefContext.prototype);
ListTypeContext.prototype.constructor = ListTypeContext;
ListTypeContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
ListTypeContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
ListTypeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
ListTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterListType(this);
}
};
ListTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitListType(this);
}
};
function DictTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.d = null; // TypedefContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
DictTypeContext.prototype = Object.create(TypedefContext.prototype);
DictTypeContext.prototype.constructor = DictTypeContext;
DictTypeContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
DictTypeContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
DictTypeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
DictTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDictType(this);
}
};
DictTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDictType(this);
}
};
function CursorTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.c = null; // TypedefContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
CursorTypeContext.prototype = Object.create(TypedefContext.prototype);
CursorTypeContext.prototype.constructor = CursorTypeContext;
CursorTypeContext.prototype.CURSOR = function() {
return this.getToken(OParser.CURSOR, 0);
};
CursorTypeContext.prototype.LT = function() {
return this.getToken(OParser.LT, 0);
};
CursorTypeContext.prototype.GT = function() {
return this.getToken(OParser.GT, 0);
};
CursorTypeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
CursorTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCursorType(this);
}
};
CursorTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCursorType(this);
}
};
function PrimaryTypeContext(parser, ctx) {
TypedefContext.call(this, parser);
this.p = null; // Primary_typeContext;
TypedefContext.prototype.copyFrom.call(this, ctx);
return this;
}
PrimaryTypeContext.prototype = Object.create(TypedefContext.prototype);
PrimaryTypeContext.prototype.constructor = PrimaryTypeContext;
PrimaryTypeContext.prototype.primary_type = function() {
return this.getTypedRuleContext(Primary_typeContext,0);
};
PrimaryTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPrimaryType(this);
}
};
PrimaryTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPrimaryType(this);
}
};
OParser.prototype.typedef = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new TypedefContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 156;
this.enterRecursionRule(localctx, 156, OParser.RULE_typedef, _p);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1410;
switch(this._input.LA(1)) {
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.CODE:
case OParser.DOCUMENT:
case OParser.BLOB:
case OParser.IMAGE:
case OParser.UUID:
case OParser.TYPE_IDENTIFIER:
localctx = new PrimaryTypeContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1399;
localctx.p = this.primary_type();
break;
case OParser.CURSOR:
localctx = new CursorTypeContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1400;
this.match(OParser.CURSOR);
this.state = 1401;
this.match(OParser.LT);
this.state = 1402;
localctx.c = this.typedef(0);
this.state = 1403;
this.match(OParser.GT);
break;
case OParser.ITERATOR:
localctx = new IteratorTypeContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1405;
this.match(OParser.ITERATOR);
this.state = 1406;
this.match(OParser.LT);
this.state = 1407;
localctx.i = this.typedef(0);
this.state = 1408;
this.match(OParser.GT);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
this._ctx.stop = this._input.LT(-1);
this.state = 1422;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,102,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
this.state = 1420;
var la_ = this._interp.adaptivePredict(this._input,101,this._ctx);
switch(la_) {
case 1:
localctx = new SetTypeContext(this, new TypedefContext(this, _parentctx, _parentState));
localctx.s = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_typedef);
this.state = 1412;
if (!( this.precpred(this._ctx, 5))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)");
}
this.state = 1413;
this.match(OParser.LTGT);
break;
case 2:
localctx = new ListTypeContext(this, new TypedefContext(this, _parentctx, _parentState));
localctx.l = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_typedef);
this.state = 1414;
if (!( this.precpred(this._ctx, 4))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 4)");
}
this.state = 1415;
this.match(OParser.LBRAK);
this.state = 1416;
this.match(OParser.RBRAK);
break;
case 3:
localctx = new DictTypeContext(this, new TypedefContext(this, _parentctx, _parentState));
localctx.d = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_typedef);
this.state = 1417;
if (!( this.precpred(this._ctx, 3))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 3)");
}
this.state = 1418;
this.match(OParser.LCURL);
this.state = 1419;
this.match(OParser.RCURL);
break;
}
}
this.state = 1424;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,102,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Primary_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_primary_type;
return this;
}
Primary_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Primary_typeContext.prototype.constructor = Primary_typeContext;
Primary_typeContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function NativeTypeContext(parser, ctx) {
Primary_typeContext.call(this, parser);
this.n = null; // Native_typeContext;
Primary_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
NativeTypeContext.prototype = Object.create(Primary_typeContext.prototype);
NativeTypeContext.prototype.constructor = NativeTypeContext;
NativeTypeContext.prototype.native_type = function() {
return this.getTypedRuleContext(Native_typeContext,0);
};
NativeTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNativeType(this);
}
};
NativeTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNativeType(this);
}
};
function CategoryTypeContext(parser, ctx) {
Primary_typeContext.call(this, parser);
this.c = null; // Category_typeContext;
Primary_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
CategoryTypeContext.prototype = Object.create(Primary_typeContext.prototype);
CategoryTypeContext.prototype.constructor = CategoryTypeContext;
CategoryTypeContext.prototype.category_type = function() {
return this.getTypedRuleContext(Category_typeContext,0);
};
CategoryTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCategoryType(this);
}
};
CategoryTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCategoryType(this);
}
};
OParser.prototype.primary_type = function() {
var localctx = new Primary_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 158, OParser.RULE_primary_type);
try {
this.state = 1427;
switch(this._input.LA(1)) {
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.CODE:
case OParser.DOCUMENT:
case OParser.BLOB:
case OParser.IMAGE:
case OParser.UUID:
localctx = new NativeTypeContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1425;
localctx.n = this.native_type();
break;
case OParser.TYPE_IDENTIFIER:
localctx = new CategoryTypeContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1426;
localctx.c = this.category_type();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_type;
return this;
}
Native_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_typeContext.prototype.constructor = Native_typeContext;
Native_typeContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PeriodTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
PeriodTypeContext.prototype = Object.create(Native_typeContext.prototype);
PeriodTypeContext.prototype.constructor = PeriodTypeContext;
PeriodTypeContext.prototype.PERIOD = function() {
return this.getToken(OParser.PERIOD, 0);
};
PeriodTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPeriodType(this);
}
};
PeriodTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPeriodType(this);
}
};
function BooleanTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
BooleanTypeContext.prototype = Object.create(Native_typeContext.prototype);
BooleanTypeContext.prototype.constructor = BooleanTypeContext;
BooleanTypeContext.prototype.BOOLEAN = function() {
return this.getToken(OParser.BOOLEAN, 0);
};
BooleanTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBooleanType(this);
}
};
BooleanTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBooleanType(this);
}
};
function DocumentTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
DocumentTypeContext.prototype = Object.create(Native_typeContext.prototype);
DocumentTypeContext.prototype.constructor = DocumentTypeContext;
DocumentTypeContext.prototype.DOCUMENT = function() {
return this.getToken(OParser.DOCUMENT, 0);
};
DocumentTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDocumentType(this);
}
};
DocumentTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDocumentType(this);
}
};
function CharacterTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
CharacterTypeContext.prototype = Object.create(Native_typeContext.prototype);
CharacterTypeContext.prototype.constructor = CharacterTypeContext;
CharacterTypeContext.prototype.CHARACTER = function() {
return this.getToken(OParser.CHARACTER, 0);
};
CharacterTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCharacterType(this);
}
};
CharacterTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCharacterType(this);
}
};
function TextTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
TextTypeContext.prototype = Object.create(Native_typeContext.prototype);
TextTypeContext.prototype.constructor = TextTypeContext;
TextTypeContext.prototype.TEXT = function() {
return this.getToken(OParser.TEXT, 0);
};
TextTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTextType(this);
}
};
TextTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTextType(this);
}
};
function ImageTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
ImageTypeContext.prototype = Object.create(Native_typeContext.prototype);
ImageTypeContext.prototype.constructor = ImageTypeContext;
ImageTypeContext.prototype.IMAGE = function() {
return this.getToken(OParser.IMAGE, 0);
};
ImageTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterImageType(this);
}
};
ImageTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitImageType(this);
}
};
function TimeTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
TimeTypeContext.prototype = Object.create(Native_typeContext.prototype);
TimeTypeContext.prototype.constructor = TimeTypeContext;
TimeTypeContext.prototype.TIME = function() {
return this.getToken(OParser.TIME, 0);
};
TimeTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTimeType(this);
}
};
TimeTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTimeType(this);
}
};
function IntegerTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
IntegerTypeContext.prototype = Object.create(Native_typeContext.prototype);
IntegerTypeContext.prototype.constructor = IntegerTypeContext;
IntegerTypeContext.prototype.INTEGER = function() {
return this.getToken(OParser.INTEGER, 0);
};
IntegerTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIntegerType(this);
}
};
IntegerTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIntegerType(this);
}
};
function DateTimeTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
DateTimeTypeContext.prototype = Object.create(Native_typeContext.prototype);
DateTimeTypeContext.prototype.constructor = DateTimeTypeContext;
DateTimeTypeContext.prototype.DATETIME = function() {
return this.getToken(OParser.DATETIME, 0);
};
DateTimeTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDateTimeType(this);
}
};
DateTimeTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDateTimeType(this);
}
};
function BlobTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
BlobTypeContext.prototype = Object.create(Native_typeContext.prototype);
BlobTypeContext.prototype.constructor = BlobTypeContext;
BlobTypeContext.prototype.BLOB = function() {
return this.getToken(OParser.BLOB, 0);
};
BlobTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBlobType(this);
}
};
BlobTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBlobType(this);
}
};
function UUIDTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
UUIDTypeContext.prototype = Object.create(Native_typeContext.prototype);
UUIDTypeContext.prototype.constructor = UUIDTypeContext;
UUIDTypeContext.prototype.UUID = function() {
return this.getToken(OParser.UUID, 0);
};
UUIDTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterUUIDType(this);
}
};
UUIDTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitUUIDType(this);
}
};
function DecimalTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
DecimalTypeContext.prototype = Object.create(Native_typeContext.prototype);
DecimalTypeContext.prototype.constructor = DecimalTypeContext;
DecimalTypeContext.prototype.DECIMAL = function() {
return this.getToken(OParser.DECIMAL, 0);
};
DecimalTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDecimalType(this);
}
};
DecimalTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDecimalType(this);
}
};
function CodeTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
CodeTypeContext.prototype = Object.create(Native_typeContext.prototype);
CodeTypeContext.prototype.constructor = CodeTypeContext;
CodeTypeContext.prototype.CODE = function() {
return this.getToken(OParser.CODE, 0);
};
CodeTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCodeType(this);
}
};
CodeTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCodeType(this);
}
};
function DateTypeContext(parser, ctx) {
Native_typeContext.call(this, parser);
Native_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
DateTypeContext.prototype = Object.create(Native_typeContext.prototype);
DateTypeContext.prototype.constructor = DateTypeContext;
DateTypeContext.prototype.DATE = function() {
return this.getToken(OParser.DATE, 0);
};
DateTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDateType(this);
}
};
DateTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDateType(this);
}
};
OParser.prototype.native_type = function() {
var localctx = new Native_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 160, OParser.RULE_native_type);
try {
this.state = 1443;
switch(this._input.LA(1)) {
case OParser.BOOLEAN:
localctx = new BooleanTypeContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1429;
this.match(OParser.BOOLEAN);
break;
case OParser.CHARACTER:
localctx = new CharacterTypeContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1430;
this.match(OParser.CHARACTER);
break;
case OParser.TEXT:
localctx = new TextTypeContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1431;
this.match(OParser.TEXT);
break;
case OParser.IMAGE:
localctx = new ImageTypeContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1432;
this.match(OParser.IMAGE);
break;
case OParser.INTEGER:
localctx = new IntegerTypeContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1433;
this.match(OParser.INTEGER);
break;
case OParser.DECIMAL:
localctx = new DecimalTypeContext(this, localctx);
this.enterOuterAlt(localctx, 6);
this.state = 1434;
this.match(OParser.DECIMAL);
break;
case OParser.DOCUMENT:
localctx = new DocumentTypeContext(this, localctx);
this.enterOuterAlt(localctx, 7);
this.state = 1435;
this.match(OParser.DOCUMENT);
break;
case OParser.DATE:
localctx = new DateTypeContext(this, localctx);
this.enterOuterAlt(localctx, 8);
this.state = 1436;
this.match(OParser.DATE);
break;
case OParser.DATETIME:
localctx = new DateTimeTypeContext(this, localctx);
this.enterOuterAlt(localctx, 9);
this.state = 1437;
this.match(OParser.DATETIME);
break;
case OParser.TIME:
localctx = new TimeTypeContext(this, localctx);
this.enterOuterAlt(localctx, 10);
this.state = 1438;
this.match(OParser.TIME);
break;
case OParser.PERIOD:
localctx = new PeriodTypeContext(this, localctx);
this.enterOuterAlt(localctx, 11);
this.state = 1439;
this.match(OParser.PERIOD);
break;
case OParser.CODE:
localctx = new CodeTypeContext(this, localctx);
this.enterOuterAlt(localctx, 12);
this.state = 1440;
this.match(OParser.CODE);
break;
case OParser.BLOB:
localctx = new BlobTypeContext(this, localctx);
this.enterOuterAlt(localctx, 13);
this.state = 1441;
this.match(OParser.BLOB);
break;
case OParser.UUID:
localctx = new UUIDTypeContext(this, localctx);
this.enterOuterAlt(localctx, 14);
this.state = 1442;
this.match(OParser.UUID);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Category_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_type;
this.t1 = null; // Token
return this;
}
Category_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_typeContext.prototype.constructor = Category_typeContext;
Category_typeContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Category_typeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCategory_type(this);
}
};
Category_typeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCategory_type(this);
}
};
OParser.prototype.category_type = function() {
var localctx = new Category_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 162, OParser.RULE_category_type);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1445;
localctx.t1 = this.match(OParser.TYPE_IDENTIFIER);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Mutable_category_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_mutable_category_type;
return this;
}
Mutable_category_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Mutable_category_typeContext.prototype.constructor = Mutable_category_typeContext;
Mutable_category_typeContext.prototype.category_type = function() {
return this.getTypedRuleContext(Category_typeContext,0);
};
Mutable_category_typeContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
Mutable_category_typeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMutable_category_type(this);
}
};
Mutable_category_typeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMutable_category_type(this);
}
};
OParser.prototype.mutable_category_type = function() {
var localctx = new Mutable_category_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 164, OParser.RULE_mutable_category_type);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1448;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1447;
this.match(OParser.MUTABLE);
}
this.state = 1450;
this.category_type();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Code_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_code_type;
this.t1 = null; // Token
return this;
}
Code_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Code_typeContext.prototype.constructor = Code_typeContext;
Code_typeContext.prototype.CODE = function() {
return this.getToken(OParser.CODE, 0);
};
Code_typeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCode_type(this);
}
};
Code_typeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCode_type(this);
}
};
OParser.prototype.code_type = function() {
var localctx = new Code_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 166, OParser.RULE_code_type);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1452;
localctx.t1 = this.match(OParser.CODE);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Category_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_declaration;
return this;
}
Category_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_declarationContext.prototype.constructor = Category_declarationContext;
Category_declarationContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function ConcreteCategoryDeclarationContext(parser, ctx) {
Category_declarationContext.call(this, parser);
this.decl = null; // Concrete_category_declarationContext;
Category_declarationContext.prototype.copyFrom.call(this, ctx);
return this;
}
ConcreteCategoryDeclarationContext.prototype = Object.create(Category_declarationContext.prototype);
ConcreteCategoryDeclarationContext.prototype.constructor = ConcreteCategoryDeclarationContext;
ConcreteCategoryDeclarationContext.prototype.concrete_category_declaration = function() {
return this.getTypedRuleContext(Concrete_category_declarationContext,0);
};
ConcreteCategoryDeclarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterConcreteCategoryDeclaration(this);
}
};
ConcreteCategoryDeclarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitConcreteCategoryDeclaration(this);
}
};
function NativeCategoryDeclarationContext(parser, ctx) {
Category_declarationContext.call(this, parser);
this.decl = null; // Native_category_declarationContext;
Category_declarationContext.prototype.copyFrom.call(this, ctx);
return this;
}
NativeCategoryDeclarationContext.prototype = Object.create(Category_declarationContext.prototype);
NativeCategoryDeclarationContext.prototype.constructor = NativeCategoryDeclarationContext;
NativeCategoryDeclarationContext.prototype.native_category_declaration = function() {
return this.getTypedRuleContext(Native_category_declarationContext,0);
};
NativeCategoryDeclarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNativeCategoryDeclaration(this);
}
};
NativeCategoryDeclarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNativeCategoryDeclaration(this);
}
};
function SingletonCategoryDeclarationContext(parser, ctx) {
Category_declarationContext.call(this, parser);
this.decl = null; // Singleton_category_declarationContext;
Category_declarationContext.prototype.copyFrom.call(this, ctx);
return this;
}
SingletonCategoryDeclarationContext.prototype = Object.create(Category_declarationContext.prototype);
SingletonCategoryDeclarationContext.prototype.constructor = SingletonCategoryDeclarationContext;
SingletonCategoryDeclarationContext.prototype.singleton_category_declaration = function() {
return this.getTypedRuleContext(Singleton_category_declarationContext,0);
};
SingletonCategoryDeclarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSingletonCategoryDeclaration(this);
}
};
SingletonCategoryDeclarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSingletonCategoryDeclaration(this);
}
};
OParser.prototype.category_declaration = function() {
var localctx = new Category_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 168, OParser.RULE_category_declaration);
try {
this.state = 1457;
var la_ = this._interp.adaptivePredict(this._input,106,this._ctx);
switch(la_) {
case 1:
localctx = new ConcreteCategoryDeclarationContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1454;
localctx.decl = this.concrete_category_declaration();
break;
case 2:
localctx = new NativeCategoryDeclarationContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1455;
localctx.decl = this.native_category_declaration();
break;
case 3:
localctx = new SingletonCategoryDeclarationContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1456;
localctx.decl = this.singleton_category_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Type_identifier_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_type_identifier_list;
return this;
}
Type_identifier_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Type_identifier_listContext.prototype.constructor = Type_identifier_listContext;
Type_identifier_listContext.prototype.type_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Type_identifierContext);
} else {
return this.getTypedRuleContext(Type_identifierContext,i);
}
};
Type_identifier_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Type_identifier_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterType_identifier_list(this);
}
};
Type_identifier_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitType_identifier_list(this);
}
};
OParser.prototype.type_identifier_list = function() {
var localctx = new Type_identifier_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 170, OParser.RULE_type_identifier_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1459;
this.type_identifier();
this.state = 1464;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1460;
this.match(OParser.COMMA);
this.state = 1461;
this.type_identifier();
this.state = 1466;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Method_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_method_identifier;
return this;
}
Method_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Method_identifierContext.prototype.constructor = Method_identifierContext;
Method_identifierContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Method_identifierContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
Method_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethod_identifier(this);
}
};
Method_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethod_identifier(this);
}
};
OParser.prototype.method_identifier = function() {
var localctx = new Method_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 172, OParser.RULE_method_identifier);
try {
this.state = 1469;
switch(this._input.LA(1)) {
case OParser.VARIABLE_IDENTIFIER:
this.enterOuterAlt(localctx, 1);
this.state = 1467;
this.variable_identifier();
break;
case OParser.TYPE_IDENTIFIER:
this.enterOuterAlt(localctx, 2);
this.state = 1468;
this.type_identifier();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function IdentifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_identifier;
return this;
}
IdentifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
IdentifierContext.prototype.constructor = IdentifierContext;
IdentifierContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function TypeIdentifierContext(parser, ctx) {
IdentifierContext.call(this, parser);
IdentifierContext.prototype.copyFrom.call(this, ctx);
return this;
}
TypeIdentifierContext.prototype = Object.create(IdentifierContext.prototype);
TypeIdentifierContext.prototype.constructor = TypeIdentifierContext;
TypeIdentifierContext.prototype.type_identifier = function() {
return this.getTypedRuleContext(Type_identifierContext,0);
};
TypeIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTypeIdentifier(this);
}
};
TypeIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTypeIdentifier(this);
}
};
function SymbolIdentifierContext(parser, ctx) {
IdentifierContext.call(this, parser);
IdentifierContext.prototype.copyFrom.call(this, ctx);
return this;
}
SymbolIdentifierContext.prototype = Object.create(IdentifierContext.prototype);
SymbolIdentifierContext.prototype.constructor = SymbolIdentifierContext;
SymbolIdentifierContext.prototype.symbol_identifier = function() {
return this.getTypedRuleContext(Symbol_identifierContext,0);
};
SymbolIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSymbolIdentifier(this);
}
};
SymbolIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSymbolIdentifier(this);
}
};
function VariableIdentifierContext(parser, ctx) {
IdentifierContext.call(this, parser);
IdentifierContext.prototype.copyFrom.call(this, ctx);
return this;
}
VariableIdentifierContext.prototype = Object.create(IdentifierContext.prototype);
VariableIdentifierContext.prototype.constructor = VariableIdentifierContext;
VariableIdentifierContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
VariableIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterVariableIdentifier(this);
}
};
VariableIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitVariableIdentifier(this);
}
};
OParser.prototype.identifier = function() {
var localctx = new IdentifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 174, OParser.RULE_identifier);
try {
this.state = 1474;
switch(this._input.LA(1)) {
case OParser.VARIABLE_IDENTIFIER:
localctx = new VariableIdentifierContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1471;
this.variable_identifier();
break;
case OParser.TYPE_IDENTIFIER:
localctx = new TypeIdentifierContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1472;
this.type_identifier();
break;
case OParser.SYMBOL_IDENTIFIER:
localctx = new SymbolIdentifierContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1473;
this.symbol_identifier();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Variable_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_variable_identifier;
return this;
}
Variable_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Variable_identifierContext.prototype.constructor = Variable_identifierContext;
Variable_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Variable_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterVariable_identifier(this);
}
};
Variable_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitVariable_identifier(this);
}
};
OParser.prototype.variable_identifier = function() {
var localctx = new Variable_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 176, OParser.RULE_variable_identifier);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1476;
this.match(OParser.VARIABLE_IDENTIFIER);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Attribute_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_attribute_identifier;
return this;
}
Attribute_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Attribute_identifierContext.prototype.constructor = Attribute_identifierContext;
Attribute_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Attribute_identifierContext.prototype.STORABLE = function() {
return this.getToken(OParser.STORABLE, 0);
};
Attribute_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAttribute_identifier(this);
}
};
Attribute_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAttribute_identifier(this);
}
};
OParser.prototype.attribute_identifier = function() {
var localctx = new Attribute_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 178, OParser.RULE_attribute_identifier);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1478;
_la = this._input.LA(1);
if(!(_la===OParser.STORABLE || _la===OParser.VARIABLE_IDENTIFIER)) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Type_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_type_identifier;
return this;
}
Type_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Type_identifierContext.prototype.constructor = Type_identifierContext;
Type_identifierContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Type_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterType_identifier(this);
}
};
Type_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitType_identifier(this);
}
};
OParser.prototype.type_identifier = function() {
var localctx = new Type_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 180, OParser.RULE_type_identifier);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1480;
this.match(OParser.TYPE_IDENTIFIER);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Symbol_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_symbol_identifier;
return this;
}
Symbol_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Symbol_identifierContext.prototype.constructor = Symbol_identifierContext;
Symbol_identifierContext.prototype.SYMBOL_IDENTIFIER = function() {
return this.getToken(OParser.SYMBOL_IDENTIFIER, 0);
};
Symbol_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSymbol_identifier(this);
}
};
Symbol_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSymbol_identifier(this);
}
};
OParser.prototype.symbol_identifier = function() {
var localctx = new Symbol_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 182, OParser.RULE_symbol_identifier);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1482;
this.match(OParser.SYMBOL_IDENTIFIER);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Argument_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_argument_list;
return this;
}
Argument_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Argument_listContext.prototype.constructor = Argument_listContext;
Argument_listContext.prototype.argument = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ArgumentContext);
} else {
return this.getTypedRuleContext(ArgumentContext,i);
}
};
Argument_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Argument_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterArgument_list(this);
}
};
Argument_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitArgument_list(this);
}
};
OParser.prototype.argument_list = function() {
var localctx = new Argument_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 184, OParser.RULE_argument_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1484;
this.argument();
this.state = 1489;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1485;
this.match(OParser.COMMA);
this.state = 1486;
this.argument();
this.state = 1491;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function ArgumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_argument;
return this;
}
ArgumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
ArgumentContext.prototype.constructor = ArgumentContext;
ArgumentContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function OperatorArgumentContext(parser, ctx) {
ArgumentContext.call(this, parser);
this.arg = null; // Operator_argumentContext;
ArgumentContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorArgumentContext.prototype = Object.create(ArgumentContext.prototype);
OperatorArgumentContext.prototype.constructor = OperatorArgumentContext;
OperatorArgumentContext.prototype.operator_argument = function() {
return this.getTypedRuleContext(Operator_argumentContext,0);
};
OperatorArgumentContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
OperatorArgumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorArgument(this);
}
};
OperatorArgumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorArgument(this);
}
};
function CodeArgumentContext(parser, ctx) {
ArgumentContext.call(this, parser);
this.arg = null; // Code_argumentContext;
ArgumentContext.prototype.copyFrom.call(this, ctx);
return this;
}
CodeArgumentContext.prototype = Object.create(ArgumentContext.prototype);
CodeArgumentContext.prototype.constructor = CodeArgumentContext;
CodeArgumentContext.prototype.code_argument = function() {
return this.getTypedRuleContext(Code_argumentContext,0);
};
CodeArgumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCodeArgument(this);
}
};
CodeArgumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCodeArgument(this);
}
};
OParser.prototype.argument = function() {
var localctx = new ArgumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 186, OParser.RULE_argument);
var _la = 0; // Token type
try {
this.state = 1497;
var la_ = this._interp.adaptivePredict(this._input,112,this._ctx);
switch(la_) {
case 1:
localctx = new CodeArgumentContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1492;
localctx.arg = this.code_argument();
break;
case 2:
localctx = new OperatorArgumentContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1494;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1493;
this.match(OParser.MUTABLE);
}
this.state = 1496;
localctx.arg = this.operator_argument();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Operator_argumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_operator_argument;
return this;
}
Operator_argumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Operator_argumentContext.prototype.constructor = Operator_argumentContext;
Operator_argumentContext.prototype.named_argument = function() {
return this.getTypedRuleContext(Named_argumentContext,0);
};
Operator_argumentContext.prototype.typed_argument = function() {
return this.getTypedRuleContext(Typed_argumentContext,0);
};
Operator_argumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperator_argument(this);
}
};
Operator_argumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperator_argument(this);
}
};
OParser.prototype.operator_argument = function() {
var localctx = new Operator_argumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 188, OParser.RULE_operator_argument);
try {
this.state = 1501;
switch(this._input.LA(1)) {
case OParser.VARIABLE_IDENTIFIER:
this.enterOuterAlt(localctx, 1);
this.state = 1499;
this.named_argument();
break;
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.CODE:
case OParser.DOCUMENT:
case OParser.BLOB:
case OParser.IMAGE:
case OParser.UUID:
case OParser.ITERATOR:
case OParser.CURSOR:
case OParser.ANY:
case OParser.TYPE_IDENTIFIER:
this.enterOuterAlt(localctx, 2);
this.state = 1500;
this.typed_argument();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Named_argumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_named_argument;
return this;
}
Named_argumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Named_argumentContext.prototype.constructor = Named_argumentContext;
Named_argumentContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Named_argumentContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
Named_argumentContext.prototype.literal_expression = function() {
return this.getTypedRuleContext(Literal_expressionContext,0);
};
Named_argumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNamed_argument(this);
}
};
Named_argumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNamed_argument(this);
}
};
OParser.prototype.named_argument = function() {
var localctx = new Named_argumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 190, OParser.RULE_named_argument);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1503;
this.variable_identifier();
this.state = 1506;
_la = this._input.LA(1);
if(_la===OParser.EQ) {
this.state = 1504;
this.match(OParser.EQ);
this.state = 1505;
this.literal_expression();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Code_argumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_code_argument;
this.name = null; // Variable_identifierContext
return this;
}
Code_argumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Code_argumentContext.prototype.constructor = Code_argumentContext;
Code_argumentContext.prototype.code_type = function() {
return this.getTypedRuleContext(Code_typeContext,0);
};
Code_argumentContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Code_argumentContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCode_argument(this);
}
};
Code_argumentContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCode_argument(this);
}
};
OParser.prototype.code_argument = function() {
var localctx = new Code_argumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 192, OParser.RULE_code_argument);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1508;
this.code_type();
this.state = 1509;
localctx.name = this.variable_identifier();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Category_or_any_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_category_or_any_type;
return this;
}
Category_or_any_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Category_or_any_typeContext.prototype.constructor = Category_or_any_typeContext;
Category_or_any_typeContext.prototype.typedef = function() {
return this.getTypedRuleContext(TypedefContext,0);
};
Category_or_any_typeContext.prototype.any_type = function() {
return this.getTypedRuleContext(Any_typeContext,0);
};
Category_or_any_typeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCategory_or_any_type(this);
}
};
Category_or_any_typeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCategory_or_any_type(this);
}
};
OParser.prototype.category_or_any_type = function() {
var localctx = new Category_or_any_typeContext(this, this._ctx, this.state);
this.enterRule(localctx, 194, OParser.RULE_category_or_any_type);
try {
this.state = 1513;
switch(this._input.LA(1)) {
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.CODE:
case OParser.DOCUMENT:
case OParser.BLOB:
case OParser.IMAGE:
case OParser.UUID:
case OParser.ITERATOR:
case OParser.CURSOR:
case OParser.TYPE_IDENTIFIER:
this.enterOuterAlt(localctx, 1);
this.state = 1511;
this.typedef(0);
break;
case OParser.ANY:
this.enterOuterAlt(localctx, 2);
this.state = 1512;
this.any_type(0);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Any_typeContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_any_type;
return this;
}
Any_typeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Any_typeContext.prototype.constructor = Any_typeContext;
Any_typeContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function AnyListTypeContext(parser, ctx) {
Any_typeContext.call(this, parser);
Any_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
AnyListTypeContext.prototype = Object.create(Any_typeContext.prototype);
AnyListTypeContext.prototype.constructor = AnyListTypeContext;
AnyListTypeContext.prototype.any_type = function() {
return this.getTypedRuleContext(Any_typeContext,0);
};
AnyListTypeContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
AnyListTypeContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
AnyListTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAnyListType(this);
}
};
AnyListTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAnyListType(this);
}
};
function AnyTypeContext(parser, ctx) {
Any_typeContext.call(this, parser);
Any_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
AnyTypeContext.prototype = Object.create(Any_typeContext.prototype);
AnyTypeContext.prototype.constructor = AnyTypeContext;
AnyTypeContext.prototype.ANY = function() {
return this.getToken(OParser.ANY, 0);
};
AnyTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAnyType(this);
}
};
AnyTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAnyType(this);
}
};
function AnyDictTypeContext(parser, ctx) {
Any_typeContext.call(this, parser);
Any_typeContext.prototype.copyFrom.call(this, ctx);
return this;
}
AnyDictTypeContext.prototype = Object.create(Any_typeContext.prototype);
AnyDictTypeContext.prototype.constructor = AnyDictTypeContext;
AnyDictTypeContext.prototype.any_type = function() {
return this.getTypedRuleContext(Any_typeContext,0);
};
AnyDictTypeContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
AnyDictTypeContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
AnyDictTypeContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAnyDictType(this);
}
};
AnyDictTypeContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAnyDictType(this);
}
};
OParser.prototype.any_type = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Any_typeContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 196;
this.enterRecursionRule(localctx, 196, OParser.RULE_any_type, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new AnyTypeContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1516;
this.match(OParser.ANY);
this._ctx.stop = this._input.LT(-1);
this.state = 1526;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,117,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
this.state = 1524;
var la_ = this._interp.adaptivePredict(this._input,116,this._ctx);
switch(la_) {
case 1:
localctx = new AnyListTypeContext(this, new Any_typeContext(this, _parentctx, _parentState));
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_any_type);
this.state = 1518;
if (!( this.precpred(this._ctx, 2))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)");
}
this.state = 1519;
this.match(OParser.LBRAK);
this.state = 1520;
this.match(OParser.RBRAK);
break;
case 2:
localctx = new AnyDictTypeContext(this, new Any_typeContext(this, _parentctx, _parentState));
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_any_type);
this.state = 1521;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1522;
this.match(OParser.LCURL);
this.state = 1523;
this.match(OParser.RCURL);
break;
}
}
this.state = 1528;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,117,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Member_method_declaration_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_member_method_declaration_list;
return this;
}
Member_method_declaration_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Member_method_declaration_listContext.prototype.constructor = Member_method_declaration_listContext;
Member_method_declaration_listContext.prototype.member_method_declaration = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Member_method_declarationContext);
} else {
return this.getTypedRuleContext(Member_method_declarationContext,i);
}
};
Member_method_declaration_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Member_method_declaration_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMember_method_declaration_list(this);
}
};
Member_method_declaration_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMember_method_declaration_list(this);
}
};
OParser.prototype.member_method_declaration_list = function() {
var localctx = new Member_method_declaration_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 198, OParser.RULE_member_method_declaration_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1529;
this.member_method_declaration();
this.state = 1535;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ABSTRACT - 46)))) !== 0) || ((((_la - 103)) & ~0x1f) == 0 && ((1 << (_la - 103)) & ((1 << (OParser.GETTER - 103)) | (1 << (OParser.METHOD - 103)) | (1 << (OParser.OPERATOR - 103)))) !== 0) || _la===OParser.SETTER || _la===OParser.TYPE_IDENTIFIER) {
this.state = 1530;
this.lfp();
this.state = 1531;
this.member_method_declaration();
this.state = 1537;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Member_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_member_method_declaration;
return this;
}
Member_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Member_method_declarationContext.prototype.constructor = Member_method_declarationContext;
Member_method_declarationContext.prototype.setter_method_declaration = function() {
return this.getTypedRuleContext(Setter_method_declarationContext,0);
};
Member_method_declarationContext.prototype.getter_method_declaration = function() {
return this.getTypedRuleContext(Getter_method_declarationContext,0);
};
Member_method_declarationContext.prototype.concrete_method_declaration = function() {
return this.getTypedRuleContext(Concrete_method_declarationContext,0);
};
Member_method_declarationContext.prototype.abstract_method_declaration = function() {
return this.getTypedRuleContext(Abstract_method_declarationContext,0);
};
Member_method_declarationContext.prototype.operator_method_declaration = function() {
return this.getTypedRuleContext(Operator_method_declarationContext,0);
};
Member_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMember_method_declaration(this);
}
};
Member_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMember_method_declaration(this);
}
};
OParser.prototype.member_method_declaration = function() {
var localctx = new Member_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 200, OParser.RULE_member_method_declaration);
try {
this.state = 1543;
var la_ = this._interp.adaptivePredict(this._input,119,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1538;
this.setter_method_declaration();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1539;
this.getter_method_declaration();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1540;
this.concrete_method_declaration();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 1541;
this.abstract_method_declaration();
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 1542;
this.operator_method_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_member_method_declaration_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_member_method_declaration_list;
return this;
}
Native_member_method_declaration_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_member_method_declaration_listContext.prototype.constructor = Native_member_method_declaration_listContext;
Native_member_method_declaration_listContext.prototype.native_member_method_declaration = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Native_member_method_declarationContext);
} else {
return this.getTypedRuleContext(Native_member_method_declarationContext,i);
}
};
Native_member_method_declaration_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Native_member_method_declaration_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_member_method_declaration_list(this);
}
};
Native_member_method_declaration_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_member_method_declaration_list(this);
}
};
OParser.prototype.native_member_method_declaration_list = function() {
var localctx = new Native_member_method_declaration_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 202, OParser.RULE_native_member_method_declaration_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1545;
this.native_member_method_declaration();
this.state = 1551;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.ANY - 46)))) !== 0) || ((((_la - 103)) & ~0x1f) == 0 && ((1 << (_la - 103)) & ((1 << (OParser.GETTER - 103)) | (1 << (OParser.METHOD - 103)) | (1 << (OParser.NATIVE - 103)))) !== 0) || _la===OParser.SETTER || _la===OParser.TYPE_IDENTIFIER) {
this.state = 1546;
this.lfp();
this.state = 1547;
this.native_member_method_declaration();
this.state = 1553;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_member_method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_member_method_declaration;
return this;
}
Native_member_method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_member_method_declarationContext.prototype.constructor = Native_member_method_declarationContext;
Native_member_method_declarationContext.prototype.native_getter_declaration = function() {
return this.getTypedRuleContext(Native_getter_declarationContext,0);
};
Native_member_method_declarationContext.prototype.native_setter_declaration = function() {
return this.getTypedRuleContext(Native_setter_declarationContext,0);
};
Native_member_method_declarationContext.prototype.native_method_declaration = function() {
return this.getTypedRuleContext(Native_method_declarationContext,0);
};
Native_member_method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_member_method_declaration(this);
}
};
Native_member_method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_member_method_declaration(this);
}
};
OParser.prototype.native_member_method_declaration = function() {
var localctx = new Native_member_method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 204, OParser.RULE_native_member_method_declaration);
try {
this.state = 1557;
var la_ = this._interp.adaptivePredict(this._input,121,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1554;
this.native_getter_declaration();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1555;
this.native_setter_declaration();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1556;
this.native_method_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_category_bindingContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_category_binding;
return this;
}
Native_category_bindingContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_category_bindingContext.prototype.constructor = Native_category_bindingContext;
Native_category_bindingContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function Python2CategoryBindingContext(parser, ctx) {
Native_category_bindingContext.call(this, parser);
this.binding = null; // Python_category_bindingContext;
Native_category_bindingContext.prototype.copyFrom.call(this, ctx);
return this;
}
Python2CategoryBindingContext.prototype = Object.create(Native_category_bindingContext.prototype);
Python2CategoryBindingContext.prototype.constructor = Python2CategoryBindingContext;
Python2CategoryBindingContext.prototype.PYTHON2 = function() {
return this.getToken(OParser.PYTHON2, 0);
};
Python2CategoryBindingContext.prototype.python_category_binding = function() {
return this.getTypedRuleContext(Python_category_bindingContext,0);
};
Python2CategoryBindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython2CategoryBinding(this);
}
};
Python2CategoryBindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython2CategoryBinding(this);
}
};
function Python3CategoryBindingContext(parser, ctx) {
Native_category_bindingContext.call(this, parser);
this.binding = null; // Python_category_bindingContext;
Native_category_bindingContext.prototype.copyFrom.call(this, ctx);
return this;
}
Python3CategoryBindingContext.prototype = Object.create(Native_category_bindingContext.prototype);
Python3CategoryBindingContext.prototype.constructor = Python3CategoryBindingContext;
Python3CategoryBindingContext.prototype.PYTHON3 = function() {
return this.getToken(OParser.PYTHON3, 0);
};
Python3CategoryBindingContext.prototype.python_category_binding = function() {
return this.getTypedRuleContext(Python_category_bindingContext,0);
};
Python3CategoryBindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython3CategoryBinding(this);
}
};
Python3CategoryBindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython3CategoryBinding(this);
}
};
function JavaCategoryBindingContext(parser, ctx) {
Native_category_bindingContext.call(this, parser);
this.binding = null; // Java_class_identifier_expressionContext;
Native_category_bindingContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaCategoryBindingContext.prototype = Object.create(Native_category_bindingContext.prototype);
JavaCategoryBindingContext.prototype.constructor = JavaCategoryBindingContext;
JavaCategoryBindingContext.prototype.JAVA = function() {
return this.getToken(OParser.JAVA, 0);
};
JavaCategoryBindingContext.prototype.java_class_identifier_expression = function() {
return this.getTypedRuleContext(Java_class_identifier_expressionContext,0);
};
JavaCategoryBindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaCategoryBinding(this);
}
};
JavaCategoryBindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaCategoryBinding(this);
}
};
function CSharpCategoryBindingContext(parser, ctx) {
Native_category_bindingContext.call(this, parser);
this.binding = null; // Csharp_identifier_expressionContext;
Native_category_bindingContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpCategoryBindingContext.prototype = Object.create(Native_category_bindingContext.prototype);
CSharpCategoryBindingContext.prototype.constructor = CSharpCategoryBindingContext;
CSharpCategoryBindingContext.prototype.CSHARP = function() {
return this.getToken(OParser.CSHARP, 0);
};
CSharpCategoryBindingContext.prototype.csharp_identifier_expression = function() {
return this.getTypedRuleContext(Csharp_identifier_expressionContext,0);
};
CSharpCategoryBindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpCategoryBinding(this);
}
};
CSharpCategoryBindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpCategoryBinding(this);
}
};
function JavaScriptCategoryBindingContext(parser, ctx) {
Native_category_bindingContext.call(this, parser);
this.binding = null; // Javascript_category_bindingContext;
Native_category_bindingContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaScriptCategoryBindingContext.prototype = Object.create(Native_category_bindingContext.prototype);
JavaScriptCategoryBindingContext.prototype.constructor = JavaScriptCategoryBindingContext;
JavaScriptCategoryBindingContext.prototype.JAVASCRIPT = function() {
return this.getToken(OParser.JAVASCRIPT, 0);
};
JavaScriptCategoryBindingContext.prototype.javascript_category_binding = function() {
return this.getTypedRuleContext(Javascript_category_bindingContext,0);
};
JavaScriptCategoryBindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaScriptCategoryBinding(this);
}
};
JavaScriptCategoryBindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaScriptCategoryBinding(this);
}
};
OParser.prototype.native_category_binding = function() {
var localctx = new Native_category_bindingContext(this, this._ctx, this.state);
this.enterRule(localctx, 206, OParser.RULE_native_category_binding);
try {
this.state = 1569;
switch(this._input.LA(1)) {
case OParser.JAVA:
localctx = new JavaCategoryBindingContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1559;
this.match(OParser.JAVA);
this.state = 1560;
localctx.binding = this.java_class_identifier_expression(0);
break;
case OParser.CSHARP:
localctx = new CSharpCategoryBindingContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1561;
this.match(OParser.CSHARP);
this.state = 1562;
localctx.binding = this.csharp_identifier_expression(0);
break;
case OParser.PYTHON2:
localctx = new Python2CategoryBindingContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1563;
this.match(OParser.PYTHON2);
this.state = 1564;
localctx.binding = this.python_category_binding();
break;
case OParser.PYTHON3:
localctx = new Python3CategoryBindingContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1565;
this.match(OParser.PYTHON3);
this.state = 1566;
localctx.binding = this.python_category_binding();
break;
case OParser.JAVASCRIPT:
localctx = new JavaScriptCategoryBindingContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1567;
this.match(OParser.JAVASCRIPT);
this.state = 1568;
localctx.binding = this.javascript_category_binding();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_category_bindingContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_category_binding;
return this;
}
Python_category_bindingContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_category_bindingContext.prototype.constructor = Python_category_bindingContext;
Python_category_bindingContext.prototype.identifier = function() {
return this.getTypedRuleContext(IdentifierContext,0);
};
Python_category_bindingContext.prototype.python_module = function() {
return this.getTypedRuleContext(Python_moduleContext,0);
};
Python_category_bindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_category_binding(this);
}
};
Python_category_bindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_category_binding(this);
}
};
OParser.prototype.python_category_binding = function() {
var localctx = new Python_category_bindingContext(this, this._ctx, this.state);
this.enterRule(localctx, 208, OParser.RULE_python_category_binding);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1571;
this.identifier();
this.state = 1573;
_la = this._input.LA(1);
if(_la===OParser.FROM) {
this.state = 1572;
this.python_module();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_moduleContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_module;
return this;
}
Python_moduleContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_moduleContext.prototype.constructor = Python_moduleContext;
Python_moduleContext.prototype.FROM = function() {
return this.getToken(OParser.FROM, 0);
};
Python_moduleContext.prototype.module_token = function() {
return this.getTypedRuleContext(Module_tokenContext,0);
};
Python_moduleContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
Python_moduleContext.prototype.identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(IdentifierContext);
} else {
return this.getTypedRuleContext(IdentifierContext,i);
}
};
Python_moduleContext.prototype.DOT = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.DOT);
} else {
return this.getToken(OParser.DOT, i);
}
};
Python_moduleContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_module(this);
}
};
Python_moduleContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_module(this);
}
};
OParser.prototype.python_module = function() {
var localctx = new Python_moduleContext(this, this._ctx, this.state);
this.enterRule(localctx, 210, OParser.RULE_python_module);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1575;
this.match(OParser.FROM);
this.state = 1576;
this.module_token();
this.state = 1577;
this.match(OParser.COLON);
this.state = 1578;
this.identifier();
this.state = 1583;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.DOT) {
this.state = 1579;
this.match(OParser.DOT);
this.state = 1580;
this.identifier();
this.state = 1585;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_category_bindingContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_category_binding;
return this;
}
Javascript_category_bindingContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_category_bindingContext.prototype.constructor = Javascript_category_bindingContext;
Javascript_category_bindingContext.prototype.identifier = function() {
return this.getTypedRuleContext(IdentifierContext,0);
};
Javascript_category_bindingContext.prototype.javascript_module = function() {
return this.getTypedRuleContext(Javascript_moduleContext,0);
};
Javascript_category_bindingContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_category_binding(this);
}
};
Javascript_category_bindingContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_category_binding(this);
}
};
OParser.prototype.javascript_category_binding = function() {
var localctx = new Javascript_category_bindingContext(this, this._ctx, this.state);
this.enterRule(localctx, 212, OParser.RULE_javascript_category_binding);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1586;
this.identifier();
this.state = 1588;
_la = this._input.LA(1);
if(_la===OParser.FROM) {
this.state = 1587;
this.javascript_module();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_moduleContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_module;
return this;
}
Javascript_moduleContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_moduleContext.prototype.constructor = Javascript_moduleContext;
Javascript_moduleContext.prototype.FROM = function() {
return this.getToken(OParser.FROM, 0);
};
Javascript_moduleContext.prototype.module_token = function() {
return this.getTypedRuleContext(Module_tokenContext,0);
};
Javascript_moduleContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
Javascript_moduleContext.prototype.javascript_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Javascript_identifierContext);
} else {
return this.getTypedRuleContext(Javascript_identifierContext,i);
}
};
Javascript_moduleContext.prototype.SLASH = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.SLASH);
} else {
return this.getToken(OParser.SLASH, i);
}
};
Javascript_moduleContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
Javascript_moduleContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_module(this);
}
};
Javascript_moduleContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_module(this);
}
};
OParser.prototype.javascript_module = function() {
var localctx = new Javascript_moduleContext(this, this._ctx, this.state);
this.enterRule(localctx, 214, OParser.RULE_javascript_module);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1590;
this.match(OParser.FROM);
this.state = 1591;
this.module_token();
this.state = 1592;
this.match(OParser.COLON);
this.state = 1594;
_la = this._input.LA(1);
if(_la===OParser.SLASH) {
this.state = 1593;
this.match(OParser.SLASH);
}
this.state = 1596;
this.javascript_identifier();
this.state = 1601;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.SLASH) {
this.state = 1597;
this.match(OParser.SLASH);
this.state = 1598;
this.javascript_identifier();
this.state = 1603;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
this.state = 1606;
_la = this._input.LA(1);
if(_la===OParser.DOT) {
this.state = 1604;
this.match(OParser.DOT);
this.state = 1605;
this.javascript_identifier();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Variable_identifier_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_variable_identifier_list;
return this;
}
Variable_identifier_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Variable_identifier_listContext.prototype.constructor = Variable_identifier_listContext;
Variable_identifier_listContext.prototype.variable_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Variable_identifierContext);
} else {
return this.getTypedRuleContext(Variable_identifierContext,i);
}
};
Variable_identifier_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Variable_identifier_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterVariable_identifier_list(this);
}
};
Variable_identifier_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitVariable_identifier_list(this);
}
};
OParser.prototype.variable_identifier_list = function() {
var localctx = new Variable_identifier_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 216, OParser.RULE_variable_identifier_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1608;
this.variable_identifier();
this.state = 1613;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1609;
this.match(OParser.COMMA);
this.state = 1610;
this.variable_identifier();
this.state = 1615;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Attribute_identifier_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_attribute_identifier_list;
return this;
}
Attribute_identifier_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Attribute_identifier_listContext.prototype.constructor = Attribute_identifier_listContext;
Attribute_identifier_listContext.prototype.attribute_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Attribute_identifierContext);
} else {
return this.getTypedRuleContext(Attribute_identifierContext,i);
}
};
Attribute_identifier_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Attribute_identifier_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAttribute_identifier_list(this);
}
};
Attribute_identifier_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAttribute_identifier_list(this);
}
};
OParser.prototype.attribute_identifier_list = function() {
var localctx = new Attribute_identifier_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 218, OParser.RULE_attribute_identifier_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1616;
this.attribute_identifier();
this.state = 1621;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1617;
this.match(OParser.COMMA);
this.state = 1618;
this.attribute_identifier();
this.state = 1623;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Method_declarationContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_method_declaration;
return this;
}
Method_declarationContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Method_declarationContext.prototype.constructor = Method_declarationContext;
Method_declarationContext.prototype.abstract_method_declaration = function() {
return this.getTypedRuleContext(Abstract_method_declarationContext,0);
};
Method_declarationContext.prototype.concrete_method_declaration = function() {
return this.getTypedRuleContext(Concrete_method_declarationContext,0);
};
Method_declarationContext.prototype.native_method_declaration = function() {
return this.getTypedRuleContext(Native_method_declarationContext,0);
};
Method_declarationContext.prototype.test_method_declaration = function() {
return this.getTypedRuleContext(Test_method_declarationContext,0);
};
Method_declarationContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMethod_declaration(this);
}
};
Method_declarationContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMethod_declaration(this);
}
};
OParser.prototype.method_declaration = function() {
var localctx = new Method_declarationContext(this, this._ctx, this.state);
this.enterRule(localctx, 220, OParser.RULE_method_declaration);
try {
this.state = 1628;
var la_ = this._interp.adaptivePredict(this._input,131,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1624;
this.abstract_method_declaration();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1625;
this.concrete_method_declaration();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1626;
this.native_method_declaration();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 1627;
this.test_method_declaration();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Comment_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_comment_statement;
return this;
}
Comment_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Comment_statementContext.prototype.constructor = Comment_statementContext;
Comment_statementContext.prototype.COMMENT = function() {
return this.getToken(OParser.COMMENT, 0);
};
Comment_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterComment_statement(this);
}
};
Comment_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitComment_statement(this);
}
};
OParser.prototype.comment_statement = function() {
var localctx = new Comment_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 222, OParser.RULE_comment_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1630;
this.match(OParser.COMMENT);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_statement_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_statement_list;
return this;
}
Native_statement_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_statement_listContext.prototype.constructor = Native_statement_listContext;
Native_statement_listContext.prototype.native_statement = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Native_statementContext);
} else {
return this.getTypedRuleContext(Native_statementContext,i);
}
};
Native_statement_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Native_statement_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNative_statement_list(this);
}
};
Native_statement_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNative_statement_list(this);
}
};
OParser.prototype.native_statement_list = function() {
var localctx = new Native_statement_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 224, OParser.RULE_native_statement_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1632;
this.native_statement();
this.state = 1638;
this._errHandler.sync(this);
_la = this._input.LA(1);
while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.JAVA) | (1 << OParser.CSHARP) | (1 << OParser.PYTHON2) | (1 << OParser.PYTHON3) | (1 << OParser.JAVASCRIPT))) !== 0)) {
this.state = 1633;
this.lfp();
this.state = 1634;
this.native_statement();
this.state = 1640;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Native_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_native_statement;
return this;
}
Native_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Native_statementContext.prototype.constructor = Native_statementContext;
Native_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpNativeStatementContext(parser, ctx) {
Native_statementContext.call(this, parser);
Native_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpNativeStatementContext.prototype = Object.create(Native_statementContext.prototype);
CSharpNativeStatementContext.prototype.constructor = CSharpNativeStatementContext;
CSharpNativeStatementContext.prototype.CSHARP = function() {
return this.getToken(OParser.CSHARP, 0);
};
CSharpNativeStatementContext.prototype.csharp_statement = function() {
return this.getTypedRuleContext(Csharp_statementContext,0);
};
CSharpNativeStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpNativeStatement(this);
}
};
CSharpNativeStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpNativeStatement(this);
}
};
function JavaNativeStatementContext(parser, ctx) {
Native_statementContext.call(this, parser);
Native_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaNativeStatementContext.prototype = Object.create(Native_statementContext.prototype);
JavaNativeStatementContext.prototype.constructor = JavaNativeStatementContext;
JavaNativeStatementContext.prototype.JAVA = function() {
return this.getToken(OParser.JAVA, 0);
};
JavaNativeStatementContext.prototype.java_statement = function() {
return this.getTypedRuleContext(Java_statementContext,0);
};
JavaNativeStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaNativeStatement(this);
}
};
JavaNativeStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaNativeStatement(this);
}
};
function JavaScriptNativeStatementContext(parser, ctx) {
Native_statementContext.call(this, parser);
Native_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaScriptNativeStatementContext.prototype = Object.create(Native_statementContext.prototype);
JavaScriptNativeStatementContext.prototype.constructor = JavaScriptNativeStatementContext;
JavaScriptNativeStatementContext.prototype.JAVASCRIPT = function() {
return this.getToken(OParser.JAVASCRIPT, 0);
};
JavaScriptNativeStatementContext.prototype.javascript_native_statement = function() {
return this.getTypedRuleContext(Javascript_native_statementContext,0);
};
JavaScriptNativeStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaScriptNativeStatement(this);
}
};
JavaScriptNativeStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaScriptNativeStatement(this);
}
};
function Python2NativeStatementContext(parser, ctx) {
Native_statementContext.call(this, parser);
Native_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
Python2NativeStatementContext.prototype = Object.create(Native_statementContext.prototype);
Python2NativeStatementContext.prototype.constructor = Python2NativeStatementContext;
Python2NativeStatementContext.prototype.PYTHON2 = function() {
return this.getToken(OParser.PYTHON2, 0);
};
Python2NativeStatementContext.prototype.python_native_statement = function() {
return this.getTypedRuleContext(Python_native_statementContext,0);
};
Python2NativeStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython2NativeStatement(this);
}
};
Python2NativeStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython2NativeStatement(this);
}
};
function Python3NativeStatementContext(parser, ctx) {
Native_statementContext.call(this, parser);
Native_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
Python3NativeStatementContext.prototype = Object.create(Native_statementContext.prototype);
Python3NativeStatementContext.prototype.constructor = Python3NativeStatementContext;
Python3NativeStatementContext.prototype.PYTHON3 = function() {
return this.getToken(OParser.PYTHON3, 0);
};
Python3NativeStatementContext.prototype.python_native_statement = function() {
return this.getTypedRuleContext(Python_native_statementContext,0);
};
Python3NativeStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython3NativeStatement(this);
}
};
Python3NativeStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython3NativeStatement(this);
}
};
OParser.prototype.native_statement = function() {
var localctx = new Native_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 226, OParser.RULE_native_statement);
try {
this.state = 1651;
switch(this._input.LA(1)) {
case OParser.JAVA:
localctx = new JavaNativeStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1641;
this.match(OParser.JAVA);
this.state = 1642;
this.java_statement();
break;
case OParser.CSHARP:
localctx = new CSharpNativeStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1643;
this.match(OParser.CSHARP);
this.state = 1644;
this.csharp_statement();
break;
case OParser.PYTHON2:
localctx = new Python2NativeStatementContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1645;
this.match(OParser.PYTHON2);
this.state = 1646;
this.python_native_statement();
break;
case OParser.PYTHON3:
localctx = new Python3NativeStatementContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1647;
this.match(OParser.PYTHON3);
this.state = 1648;
this.python_native_statement();
break;
case OParser.JAVASCRIPT:
localctx = new JavaScriptNativeStatementContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1649;
this.match(OParser.JAVASCRIPT);
this.state = 1650;
this.javascript_native_statement();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_native_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_native_statement;
return this;
}
Python_native_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_native_statementContext.prototype.constructor = Python_native_statementContext;
Python_native_statementContext.prototype.python_statement = function() {
return this.getTypedRuleContext(Python_statementContext,0);
};
Python_native_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Python_native_statementContext.prototype.python_module = function() {
return this.getTypedRuleContext(Python_moduleContext,0);
};
Python_native_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_native_statement(this);
}
};
Python_native_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_native_statement(this);
}
};
OParser.prototype.python_native_statement = function() {
var localctx = new Python_native_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 228, OParser.RULE_python_native_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1653;
this.python_statement();
this.state = 1655;
_la = this._input.LA(1);
if(_la===OParser.SEMI) {
this.state = 1654;
this.match(OParser.SEMI);
}
this.state = 1658;
_la = this._input.LA(1);
if(_la===OParser.FROM) {
this.state = 1657;
this.python_module();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_native_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_native_statement;
return this;
}
Javascript_native_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_native_statementContext.prototype.constructor = Javascript_native_statementContext;
Javascript_native_statementContext.prototype.javascript_statement = function() {
return this.getTypedRuleContext(Javascript_statementContext,0);
};
Javascript_native_statementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
Javascript_native_statementContext.prototype.javascript_module = function() {
return this.getTypedRuleContext(Javascript_moduleContext,0);
};
Javascript_native_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_native_statement(this);
}
};
Javascript_native_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_native_statement(this);
}
};
OParser.prototype.javascript_native_statement = function() {
var localctx = new Javascript_native_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 230, OParser.RULE_javascript_native_statement);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1660;
this.javascript_statement();
this.state = 1662;
_la = this._input.LA(1);
if(_la===OParser.SEMI) {
this.state = 1661;
this.match(OParser.SEMI);
}
this.state = 1665;
_la = this._input.LA(1);
if(_la===OParser.FROM) {
this.state = 1664;
this.javascript_module();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Statement_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_statement_list;
return this;
}
Statement_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Statement_listContext.prototype.constructor = Statement_listContext;
Statement_listContext.prototype.statement = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(StatementContext);
} else {
return this.getTypedRuleContext(StatementContext,i);
}
};
Statement_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Statement_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterStatement_list(this);
}
};
Statement_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitStatement_list(this);
}
};
OParser.prototype.statement_list = function() {
var localctx = new Statement_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 232, OParser.RULE_statement_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1667;
this.statement();
this.state = 1673;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMENT || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)) | (1 << (OParser.CODE - 46)) | (1 << (OParser.DOCUMENT - 46)) | (1 << (OParser.BLOB - 46)) | (1 << (OParser.IMAGE - 46)) | (1 << (OParser.UUID - 46)) | (1 << (OParser.ITERATOR - 46)) | (1 << (OParser.CURSOR - 46)) | (1 << (OParser.BREAK - 46)))) !== 0) || ((((_la - 85)) & ~0x1f) == 0 && ((1 << (_la - 85)) & ((1 << (OParser.DELETE - 85)) | (1 << (OParser.DO - 85)) | (1 << (OParser.FLUSH - 85)) | (1 << (OParser.FOR - 85)) | (1 << (OParser.IF - 85)) | (1 << (OParser.METHOD - 85)))) !== 0) || ((((_la - 131)) & ~0x1f) == 0 && ((1 << (_la - 131)) & ((1 << (OParser.RETURN - 131)) | (1 << (OParser.STORE - 131)) | (1 << (OParser.SWITCH - 131)) | (1 << (OParser.THROW - 131)) | (1 << (OParser.TRY - 131)) | (1 << (OParser.WITH - 131)) | (1 << (OParser.WHILE - 131)) | (1 << (OParser.WRITE - 131)) | (1 << (OParser.SYMBOL_IDENTIFIER - 131)) | (1 << (OParser.TYPE_IDENTIFIER - 131)) | (1 << (OParser.VARIABLE_IDENTIFIER - 131)))) !== 0)) {
this.state = 1668;
this.lfp();
this.state = 1669;
this.statement();
this.state = 1675;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Assertion_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assertion_list;
return this;
}
Assertion_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Assertion_listContext.prototype.constructor = Assertion_listContext;
Assertion_listContext.prototype.assertion = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(AssertionContext);
} else {
return this.getTypedRuleContext(AssertionContext,i);
}
};
Assertion_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Assertion_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssertion_list(this);
}
};
Assertion_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssertion_list(this);
}
};
OParser.prototype.assertion_list = function() {
var localctx = new Assertion_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 234, OParser.RULE_assertion_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1676;
this.assertion();
this.state = 1682;
this._errHandler.sync(this);
_la = this._input.LA(1);
while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1677;
this.lfp();
this.state = 1678;
this.assertion();
this.state = 1684;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Switch_case_statement_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_switch_case_statement_list;
return this;
}
Switch_case_statement_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Switch_case_statement_listContext.prototype.constructor = Switch_case_statement_listContext;
Switch_case_statement_listContext.prototype.switch_case_statement = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Switch_case_statementContext);
} else {
return this.getTypedRuleContext(Switch_case_statementContext,i);
}
};
Switch_case_statement_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Switch_case_statement_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSwitch_case_statement_list(this);
}
};
Switch_case_statement_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSwitch_case_statement_list(this);
}
};
OParser.prototype.switch_case_statement_list = function() {
var localctx = new Switch_case_statement_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 236, OParser.RULE_switch_case_statement_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1685;
this.switch_case_statement();
this.state = 1691;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.CASE) {
this.state = 1686;
this.lfp();
this.state = 1687;
this.switch_case_statement();
this.state = 1693;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Catch_statement_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_catch_statement_list;
return this;
}
Catch_statement_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Catch_statement_listContext.prototype.constructor = Catch_statement_listContext;
Catch_statement_listContext.prototype.catch_statement = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Catch_statementContext);
} else {
return this.getTypedRuleContext(Catch_statementContext,i);
}
};
Catch_statement_listContext.prototype.lfp = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(LfpContext);
} else {
return this.getTypedRuleContext(LfpContext,i);
}
};
Catch_statement_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCatch_statement_list(this);
}
};
Catch_statement_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCatch_statement_list(this);
}
};
OParser.prototype.catch_statement_list = function() {
var localctx = new Catch_statement_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 238, OParser.RULE_catch_statement_list);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1694;
this.catch_statement();
this.state = 1700;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,141,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
this.state = 1695;
this.lfp();
this.state = 1696;
this.catch_statement();
}
this.state = 1702;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,141,this._ctx);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Literal_collectionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_literal_collection;
return this;
}
Literal_collectionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Literal_collectionContext.prototype.constructor = Literal_collectionContext;
Literal_collectionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function LiteralListLiteralContext(parser, ctx) {
Literal_collectionContext.call(this, parser);
Literal_collectionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LiteralListLiteralContext.prototype = Object.create(Literal_collectionContext.prototype);
LiteralListLiteralContext.prototype.constructor = LiteralListLiteralContext;
LiteralListLiteralContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
LiteralListLiteralContext.prototype.literal_list_literal = function() {
return this.getTypedRuleContext(Literal_list_literalContext,0);
};
LiteralListLiteralContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
LiteralListLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteralListLiteral(this);
}
};
LiteralListLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteralListLiteral(this);
}
};
function LiteralRangeLiteralContext(parser, ctx) {
Literal_collectionContext.call(this, parser);
this.low = null; // Atomic_literalContext;
this.high = null; // Atomic_literalContext;
Literal_collectionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LiteralRangeLiteralContext.prototype = Object.create(Literal_collectionContext.prototype);
LiteralRangeLiteralContext.prototype.constructor = LiteralRangeLiteralContext;
LiteralRangeLiteralContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
LiteralRangeLiteralContext.prototype.RANGE = function() {
return this.getToken(OParser.RANGE, 0);
};
LiteralRangeLiteralContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
LiteralRangeLiteralContext.prototype.atomic_literal = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Atomic_literalContext);
} else {
return this.getTypedRuleContext(Atomic_literalContext,i);
}
};
LiteralRangeLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteralRangeLiteral(this);
}
};
LiteralRangeLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteralRangeLiteral(this);
}
};
function LiteralSetLiteralContext(parser, ctx) {
Literal_collectionContext.call(this, parser);
Literal_collectionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LiteralSetLiteralContext.prototype = Object.create(Literal_collectionContext.prototype);
LiteralSetLiteralContext.prototype.constructor = LiteralSetLiteralContext;
LiteralSetLiteralContext.prototype.LT = function() {
return this.getToken(OParser.LT, 0);
};
LiteralSetLiteralContext.prototype.literal_list_literal = function() {
return this.getTypedRuleContext(Literal_list_literalContext,0);
};
LiteralSetLiteralContext.prototype.GT = function() {
return this.getToken(OParser.GT, 0);
};
LiteralSetLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteralSetLiteral(this);
}
};
LiteralSetLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteralSetLiteral(this);
}
};
OParser.prototype.literal_collection = function() {
var localctx = new Literal_collectionContext(this, this._ctx, this.state);
this.enterRule(localctx, 240, OParser.RULE_literal_collection);
try {
this.state = 1717;
var la_ = this._interp.adaptivePredict(this._input,142,this._ctx);
switch(la_) {
case 1:
localctx = new LiteralRangeLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1703;
this.match(OParser.LBRAK);
this.state = 1704;
localctx.low = this.atomic_literal();
this.state = 1705;
this.match(OParser.RANGE);
this.state = 1706;
localctx.high = this.atomic_literal();
this.state = 1707;
this.match(OParser.RBRAK);
break;
case 2:
localctx = new LiteralListLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1709;
this.match(OParser.LBRAK);
this.state = 1710;
this.literal_list_literal();
this.state = 1711;
this.match(OParser.RBRAK);
break;
case 3:
localctx = new LiteralSetLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1713;
this.match(OParser.LT);
this.state = 1714;
this.literal_list_literal();
this.state = 1715;
this.match(OParser.GT);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Atomic_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_atomic_literal;
return this;
}
Atomic_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Atomic_literalContext.prototype.constructor = Atomic_literalContext;
Atomic_literalContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function MinIntegerLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
MinIntegerLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
MinIntegerLiteralContext.prototype.constructor = MinIntegerLiteralContext;
MinIntegerLiteralContext.prototype.MIN_INTEGER = function() {
return this.getToken(OParser.MIN_INTEGER, 0);
};
MinIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMinIntegerLiteral(this);
}
};
MinIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMinIntegerLiteral(this);
}
};
function DateLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
DateLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
DateLiteralContext.prototype.constructor = DateLiteralContext;
DateLiteralContext.prototype.DATE_LITERAL = function() {
return this.getToken(OParser.DATE_LITERAL, 0);
};
DateLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDateLiteral(this);
}
};
DateLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDateLiteral(this);
}
};
function BooleanLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
BooleanLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
BooleanLiteralContext.prototype.constructor = BooleanLiteralContext;
BooleanLiteralContext.prototype.BOOLEAN_LITERAL = function() {
return this.getToken(OParser.BOOLEAN_LITERAL, 0);
};
BooleanLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterBooleanLiteral(this);
}
};
BooleanLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitBooleanLiteral(this);
}
};
function HexadecimalLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
HexadecimalLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
HexadecimalLiteralContext.prototype.constructor = HexadecimalLiteralContext;
HexadecimalLiteralContext.prototype.HEXA_LITERAL = function() {
return this.getToken(OParser.HEXA_LITERAL, 0);
};
HexadecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterHexadecimalLiteral(this);
}
};
HexadecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitHexadecimalLiteral(this);
}
};
function UUIDLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
UUIDLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
UUIDLiteralContext.prototype.constructor = UUIDLiteralContext;
UUIDLiteralContext.prototype.UUID_LITERAL = function() {
return this.getToken(OParser.UUID_LITERAL, 0);
};
UUIDLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterUUIDLiteral(this);
}
};
UUIDLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitUUIDLiteral(this);
}
};
function MaxIntegerLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
MaxIntegerLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
MaxIntegerLiteralContext.prototype.constructor = MaxIntegerLiteralContext;
MaxIntegerLiteralContext.prototype.MAX_INTEGER = function() {
return this.getToken(OParser.MAX_INTEGER, 0);
};
MaxIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMaxIntegerLiteral(this);
}
};
MaxIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMaxIntegerLiteral(this);
}
};
function DateTimeLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
DateTimeLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
DateTimeLiteralContext.prototype.constructor = DateTimeLiteralContext;
DateTimeLiteralContext.prototype.DATETIME_LITERAL = function() {
return this.getToken(OParser.DATETIME_LITERAL, 0);
};
DateTimeLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDateTimeLiteral(this);
}
};
DateTimeLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDateTimeLiteral(this);
}
};
function PeriodLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
PeriodLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
PeriodLiteralContext.prototype.constructor = PeriodLiteralContext;
PeriodLiteralContext.prototype.PERIOD_LITERAL = function() {
return this.getToken(OParser.PERIOD_LITERAL, 0);
};
PeriodLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPeriodLiteral(this);
}
};
PeriodLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPeriodLiteral(this);
}
};
function DecimalLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
DecimalLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
DecimalLiteralContext.prototype.constructor = DecimalLiteralContext;
DecimalLiteralContext.prototype.DECIMAL_LITERAL = function() {
return this.getToken(OParser.DECIMAL_LITERAL, 0);
};
DecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDecimalLiteral(this);
}
};
DecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDecimalLiteral(this);
}
};
function TextLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
TextLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
TextLiteralContext.prototype.constructor = TextLiteralContext;
TextLiteralContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
TextLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTextLiteral(this);
}
};
TextLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTextLiteral(this);
}
};
function NullLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.n = null; // Null_literalContext;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
NullLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
NullLiteralContext.prototype.constructor = NullLiteralContext;
NullLiteralContext.prototype.null_literal = function() {
return this.getTypedRuleContext(Null_literalContext,0);
};
NullLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNullLiteral(this);
}
};
NullLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNullLiteral(this);
}
};
function IntegerLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
IntegerLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
IntegerLiteralContext.prototype.constructor = IntegerLiteralContext;
IntegerLiteralContext.prototype.INTEGER_LITERAL = function() {
return this.getToken(OParser.INTEGER_LITERAL, 0);
};
IntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIntegerLiteral(this);
}
};
IntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIntegerLiteral(this);
}
};
function TimeLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
TimeLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
TimeLiteralContext.prototype.constructor = TimeLiteralContext;
TimeLiteralContext.prototype.TIME_LITERAL = function() {
return this.getToken(OParser.TIME_LITERAL, 0);
};
TimeLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTimeLiteral(this);
}
};
TimeLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTimeLiteral(this);
}
};
function CharacterLiteralContext(parser, ctx) {
Atomic_literalContext.call(this, parser);
this.t = null; // Token;
Atomic_literalContext.prototype.copyFrom.call(this, ctx);
return this;
}
CharacterLiteralContext.prototype = Object.create(Atomic_literalContext.prototype);
CharacterLiteralContext.prototype.constructor = CharacterLiteralContext;
CharacterLiteralContext.prototype.CHAR_LITERAL = function() {
return this.getToken(OParser.CHAR_LITERAL, 0);
};
CharacterLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCharacterLiteral(this);
}
};
CharacterLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCharacterLiteral(this);
}
};
OParser.prototype.atomic_literal = function() {
var localctx = new Atomic_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 242, OParser.RULE_atomic_literal);
try {
this.state = 1733;
switch(this._input.LA(1)) {
case OParser.MIN_INTEGER:
localctx = new MinIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1719;
localctx.t = this.match(OParser.MIN_INTEGER);
break;
case OParser.MAX_INTEGER:
localctx = new MaxIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1720;
localctx.t = this.match(OParser.MAX_INTEGER);
break;
case OParser.INTEGER_LITERAL:
localctx = new IntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1721;
localctx.t = this.match(OParser.INTEGER_LITERAL);
break;
case OParser.HEXA_LITERAL:
localctx = new HexadecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1722;
localctx.t = this.match(OParser.HEXA_LITERAL);
break;
case OParser.CHAR_LITERAL:
localctx = new CharacterLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1723;
localctx.t = this.match(OParser.CHAR_LITERAL);
break;
case OParser.DATE_LITERAL:
localctx = new DateLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 6);
this.state = 1724;
localctx.t = this.match(OParser.DATE_LITERAL);
break;
case OParser.TIME_LITERAL:
localctx = new TimeLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 7);
this.state = 1725;
localctx.t = this.match(OParser.TIME_LITERAL);
break;
case OParser.TEXT_LITERAL:
localctx = new TextLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 8);
this.state = 1726;
localctx.t = this.match(OParser.TEXT_LITERAL);
break;
case OParser.DECIMAL_LITERAL:
localctx = new DecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 9);
this.state = 1727;
localctx.t = this.match(OParser.DECIMAL_LITERAL);
break;
case OParser.DATETIME_LITERAL:
localctx = new DateTimeLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 10);
this.state = 1728;
localctx.t = this.match(OParser.DATETIME_LITERAL);
break;
case OParser.BOOLEAN_LITERAL:
localctx = new BooleanLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 11);
this.state = 1729;
localctx.t = this.match(OParser.BOOLEAN_LITERAL);
break;
case OParser.PERIOD_LITERAL:
localctx = new PeriodLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 12);
this.state = 1730;
localctx.t = this.match(OParser.PERIOD_LITERAL);
break;
case OParser.UUID_LITERAL:
localctx = new UUIDLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 13);
this.state = 1731;
localctx.t = this.match(OParser.UUID_LITERAL);
break;
case OParser.NULL:
localctx = new NullLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 14);
this.state = 1732;
localctx.n = this.null_literal();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Literal_list_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_literal_list_literal;
return this;
}
Literal_list_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Literal_list_literalContext.prototype.constructor = Literal_list_literalContext;
Literal_list_literalContext.prototype.atomic_literal = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Atomic_literalContext);
} else {
return this.getTypedRuleContext(Atomic_literalContext,i);
}
};
Literal_list_literalContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Literal_list_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteral_list_literal(this);
}
};
Literal_list_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteral_list_literal(this);
}
};
OParser.prototype.literal_list_literal = function() {
var localctx = new Literal_list_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 244, OParser.RULE_literal_list_literal);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1735;
this.atomic_literal();
this.state = 1740;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1736;
this.match(OParser.COMMA);
this.state = 1737;
this.atomic_literal();
this.state = 1742;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Selectable_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_selectable_expression;
return this;
}
Selectable_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Selectable_expressionContext.prototype.constructor = Selectable_expressionContext;
Selectable_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function ThisExpressionContext(parser, ctx) {
Selectable_expressionContext.call(this, parser);
this.exp = null; // This_expressionContext;
Selectable_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ThisExpressionContext.prototype = Object.create(Selectable_expressionContext.prototype);
ThisExpressionContext.prototype.constructor = ThisExpressionContext;
ThisExpressionContext.prototype.this_expression = function() {
return this.getTypedRuleContext(This_expressionContext,0);
};
ThisExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterThisExpression(this);
}
};
ThisExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitThisExpression(this);
}
};
function ParenthesisExpressionContext(parser, ctx) {
Selectable_expressionContext.call(this, parser);
this.exp = null; // Parenthesis_expressionContext;
Selectable_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
ParenthesisExpressionContext.prototype = Object.create(Selectable_expressionContext.prototype);
ParenthesisExpressionContext.prototype.constructor = ParenthesisExpressionContext;
ParenthesisExpressionContext.prototype.parenthesis_expression = function() {
return this.getTypedRuleContext(Parenthesis_expressionContext,0);
};
ParenthesisExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterParenthesisExpression(this);
}
};
ParenthesisExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitParenthesisExpression(this);
}
};
function LiteralExpressionContext(parser, ctx) {
Selectable_expressionContext.call(this, parser);
this.exp = null; // Literal_expressionContext;
Selectable_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
LiteralExpressionContext.prototype = Object.create(Selectable_expressionContext.prototype);
LiteralExpressionContext.prototype.constructor = LiteralExpressionContext;
LiteralExpressionContext.prototype.literal_expression = function() {
return this.getTypedRuleContext(Literal_expressionContext,0);
};
LiteralExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteralExpression(this);
}
};
LiteralExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteralExpression(this);
}
};
function IdentifierExpressionContext(parser, ctx) {
Selectable_expressionContext.call(this, parser);
this.exp = null; // IdentifierContext;
Selectable_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IdentifierExpressionContext.prototype = Object.create(Selectable_expressionContext.prototype);
IdentifierExpressionContext.prototype.constructor = IdentifierExpressionContext;
IdentifierExpressionContext.prototype.identifier = function() {
return this.getTypedRuleContext(IdentifierContext,0);
};
IdentifierExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIdentifierExpression(this);
}
};
IdentifierExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIdentifierExpression(this);
}
};
OParser.prototype.selectable_expression = function() {
var localctx = new Selectable_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 246, OParser.RULE_selectable_expression);
try {
this.state = 1747;
var la_ = this._interp.adaptivePredict(this._input,145,this._ctx);
switch(la_) {
case 1:
localctx = new ParenthesisExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1743;
localctx.exp = this.parenthesis_expression();
break;
case 2:
localctx = new LiteralExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1744;
localctx.exp = this.literal_expression();
break;
case 3:
localctx = new IdentifierExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1745;
localctx.exp = this.identifier();
break;
case 4:
localctx = new ThisExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1746;
localctx.exp = this.this_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function This_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_this_expression;
return this;
}
This_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
This_expressionContext.prototype.constructor = This_expressionContext;
This_expressionContext.prototype.SELF = function() {
return this.getToken(OParser.SELF, 0);
};
This_expressionContext.prototype.THIS = function() {
return this.getToken(OParser.THIS, 0);
};
This_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterThis_expression(this);
}
};
This_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitThis_expression(this);
}
};
OParser.prototype.this_expression = function() {
var localctx = new This_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 248, OParser.RULE_this_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1749;
_la = this._input.LA(1);
if(!(_la===OParser.SELF || _la===OParser.THIS)) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Parenthesis_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_parenthesis_expression;
return this;
}
Parenthesis_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Parenthesis_expressionContext.prototype.constructor = Parenthesis_expressionContext;
Parenthesis_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Parenthesis_expressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Parenthesis_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Parenthesis_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterParenthesis_expression(this);
}
};
Parenthesis_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitParenthesis_expression(this);
}
};
OParser.prototype.parenthesis_expression = function() {
var localctx = new Parenthesis_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 250, OParser.RULE_parenthesis_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1751;
this.match(OParser.LPAR);
this.state = 1752;
this.expression(0);
this.state = 1753;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Literal_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_literal_expression;
return this;
}
Literal_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Literal_expressionContext.prototype.constructor = Literal_expressionContext;
Literal_expressionContext.prototype.atomic_literal = function() {
return this.getTypedRuleContext(Atomic_literalContext,0);
};
Literal_expressionContext.prototype.collection_literal = function() {
return this.getTypedRuleContext(Collection_literalContext,0);
};
Literal_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLiteral_expression(this);
}
};
Literal_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLiteral_expression(this);
}
};
OParser.prototype.literal_expression = function() {
var localctx = new Literal_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 252, OParser.RULE_literal_expression);
try {
this.state = 1757;
switch(this._input.LA(1)) {
case OParser.NULL:
case OParser.BOOLEAN_LITERAL:
case OParser.CHAR_LITERAL:
case OParser.MIN_INTEGER:
case OParser.MAX_INTEGER:
case OParser.TEXT_LITERAL:
case OParser.UUID_LITERAL:
case OParser.INTEGER_LITERAL:
case OParser.HEXA_LITERAL:
case OParser.DECIMAL_LITERAL:
case OParser.DATETIME_LITERAL:
case OParser.TIME_LITERAL:
case OParser.DATE_LITERAL:
case OParser.PERIOD_LITERAL:
this.enterOuterAlt(localctx, 1);
this.state = 1755;
this.atomic_literal();
break;
case OParser.LPAR:
case OParser.LBRAK:
case OParser.LCURL:
case OParser.LT:
case OParser.MUTABLE:
this.enterOuterAlt(localctx, 2);
this.state = 1756;
this.collection_literal();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Collection_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_collection_literal;
return this;
}
Collection_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Collection_literalContext.prototype.constructor = Collection_literalContext;
Collection_literalContext.prototype.range_literal = function() {
return this.getTypedRuleContext(Range_literalContext,0);
};
Collection_literalContext.prototype.list_literal = function() {
return this.getTypedRuleContext(List_literalContext,0);
};
Collection_literalContext.prototype.set_literal = function() {
return this.getTypedRuleContext(Set_literalContext,0);
};
Collection_literalContext.prototype.dict_literal = function() {
return this.getTypedRuleContext(Dict_literalContext,0);
};
Collection_literalContext.prototype.tuple_literal = function() {
return this.getTypedRuleContext(Tuple_literalContext,0);
};
Collection_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCollection_literal(this);
}
};
Collection_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCollection_literal(this);
}
};
OParser.prototype.collection_literal = function() {
var localctx = new Collection_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 254, OParser.RULE_collection_literal);
try {
this.state = 1764;
var la_ = this._interp.adaptivePredict(this._input,147,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1759;
this.range_literal();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1760;
this.list_literal();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1761;
this.set_literal();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 1762;
this.dict_literal();
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 1763;
this.tuple_literal();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Tuple_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_tuple_literal;
return this;
}
Tuple_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Tuple_literalContext.prototype.constructor = Tuple_literalContext;
Tuple_literalContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Tuple_literalContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Tuple_literalContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
Tuple_literalContext.prototype.expression_tuple = function() {
return this.getTypedRuleContext(Expression_tupleContext,0);
};
Tuple_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterTuple_literal(this);
}
};
Tuple_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitTuple_literal(this);
}
};
OParser.prototype.tuple_literal = function() {
var localctx = new Tuple_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 256, OParser.RULE_tuple_literal);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1767;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1766;
this.match(OParser.MUTABLE);
}
this.state = 1769;
this.match(OParser.LPAR);
this.state = 1771;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1770;
this.expression_tuple();
}
this.state = 1773;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Dict_literalContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_dict_literal;
return this;
}
Dict_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Dict_literalContext.prototype.constructor = Dict_literalContext;
Dict_literalContext.prototype.LCURL = function() {
return this.getToken(OParser.LCURL, 0);
};
Dict_literalContext.prototype.RCURL = function() {
return this.getToken(OParser.RCURL, 0);
};
Dict_literalContext.prototype.MUTABLE = function() {
return this.getToken(OParser.MUTABLE, 0);
};
Dict_literalContext.prototype.dict_entry_list = function() {
return this.getTypedRuleContext(Dict_entry_listContext,0);
};
Dict_literalContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDict_literal(this);
}
};
Dict_literalContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDict_literal(this);
}
};
OParser.prototype.dict_literal = function() {
var localctx = new Dict_literalContext(this, this._ctx, this.state);
this.enterRule(localctx, 258, OParser.RULE_dict_literal);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1776;
_la = this._input.LA(1);
if(_la===OParser.MUTABLE) {
this.state = 1775;
this.match(OParser.MUTABLE);
}
this.state = 1778;
this.match(OParser.LCURL);
this.state = 1780;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1779;
this.dict_entry_list();
}
this.state = 1782;
this.match(OParser.RCURL);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Expression_tupleContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_expression_tuple;
return this;
}
Expression_tupleContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Expression_tupleContext.prototype.constructor = Expression_tupleContext;
Expression_tupleContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Expression_tupleContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Expression_tupleContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterExpression_tuple(this);
}
};
Expression_tupleContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitExpression_tuple(this);
}
};
OParser.prototype.expression_tuple = function() {
var localctx = new Expression_tupleContext(this, this._ctx, this.state);
this.enterRule(localctx, 260, OParser.RULE_expression_tuple);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1784;
this.expression(0);
this.state = 1785;
this.match(OParser.COMMA);
this.state = 1794;
_la = this._input.LA(1);
if((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << OParser.LPAR) | (1 << OParser.LBRAK) | (1 << OParser.LCURL) | (1 << OParser.XMARK) | (1 << OParser.MINUS))) !== 0) || ((((_la - 36)) & ~0x1f) == 0 && ((1 << (_la - 36)) & ((1 << (OParser.LT - 36)) | (1 << (OParser.CODE - 36)) | (1 << (OParser.DOCUMENT - 36)) | (1 << (OParser.BLOB - 36)))) !== 0) || ((((_la - 94)) & ~0x1f) == 0 && ((1 << (_la - 94)) & ((1 << (OParser.EXECUTE - 94)) | (1 << (OParser.FETCH - 94)) | (1 << (OParser.FILTERED - 94)) | (1 << (OParser.MUTABLE - 94)) | (1 << (OParser.NULL - 94)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.SORTED - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.MIN_INTEGER - 128)) | (1 << (OParser.MAX_INTEGER - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 161)) & ~0x1f) == 0 && ((1 << (_la - 161)) & ((1 << (OParser.TEXT_LITERAL - 161)) | (1 << (OParser.UUID_LITERAL - 161)) | (1 << (OParser.INTEGER_LITERAL - 161)) | (1 << (OParser.HEXA_LITERAL - 161)) | (1 << (OParser.DECIMAL_LITERAL - 161)) | (1 << (OParser.DATETIME_LITERAL - 161)) | (1 << (OParser.TIME_LITERAL - 161)) | (1 << (OParser.DATE_LITERAL - 161)) | (1 << (OParser.PERIOD_LITERAL - 161)))) !== 0)) {
this.state = 1786;
this.expression(0);
this.state = 1791;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1787;
this.match(OParser.COMMA);
this.state = 1788;
this.expression(0);
this.state = 1793;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Dict_entry_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_dict_entry_list;
return this;
}
Dict_entry_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Dict_entry_listContext.prototype.constructor = Dict_entry_listContext;
Dict_entry_listContext.prototype.dict_entry = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Dict_entryContext);
} else {
return this.getTypedRuleContext(Dict_entryContext,i);
}
};
Dict_entry_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Dict_entry_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDict_entry_list(this);
}
};
Dict_entry_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDict_entry_list(this);
}
};
OParser.prototype.dict_entry_list = function() {
var localctx = new Dict_entry_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 262, OParser.RULE_dict_entry_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1796;
this.dict_entry();
this.state = 1801;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1797;
this.match(OParser.COMMA);
this.state = 1798;
this.dict_entry();
this.state = 1803;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Dict_entryContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_dict_entry;
this.key = null; // ExpressionContext
this.value = null; // ExpressionContext
return this;
}
Dict_entryContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Dict_entryContext.prototype.constructor = Dict_entryContext;
Dict_entryContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
Dict_entryContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
Dict_entryContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDict_entry(this);
}
};
Dict_entryContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDict_entry(this);
}
};
OParser.prototype.dict_entry = function() {
var localctx = new Dict_entryContext(this, this._ctx, this.state);
this.enterRule(localctx, 264, OParser.RULE_dict_entry);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1804;
localctx.key = this.expression(0);
this.state = 1805;
this.match(OParser.COLON);
this.state = 1806;
localctx.value = this.expression(0);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Slice_argumentsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_slice_arguments;
return this;
}
Slice_argumentsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Slice_argumentsContext.prototype.constructor = Slice_argumentsContext;
Slice_argumentsContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function SliceFirstAndLastContext(parser, ctx) {
Slice_argumentsContext.call(this, parser);
this.first = null; // ExpressionContext;
this.last = null; // ExpressionContext;
Slice_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
SliceFirstAndLastContext.prototype = Object.create(Slice_argumentsContext.prototype);
SliceFirstAndLastContext.prototype.constructor = SliceFirstAndLastContext;
SliceFirstAndLastContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
SliceFirstAndLastContext.prototype.expression = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(ExpressionContext);
} else {
return this.getTypedRuleContext(ExpressionContext,i);
}
};
SliceFirstAndLastContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSliceFirstAndLast(this);
}
};
SliceFirstAndLastContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSliceFirstAndLast(this);
}
};
function SliceLastOnlyContext(parser, ctx) {
Slice_argumentsContext.call(this, parser);
this.last = null; // ExpressionContext;
Slice_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
SliceLastOnlyContext.prototype = Object.create(Slice_argumentsContext.prototype);
SliceLastOnlyContext.prototype.constructor = SliceLastOnlyContext;
SliceLastOnlyContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
SliceLastOnlyContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
SliceLastOnlyContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSliceLastOnly(this);
}
};
SliceLastOnlyContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSliceLastOnly(this);
}
};
function SliceFirstOnlyContext(parser, ctx) {
Slice_argumentsContext.call(this, parser);
this.first = null; // ExpressionContext;
Slice_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
SliceFirstOnlyContext.prototype = Object.create(Slice_argumentsContext.prototype);
SliceFirstOnlyContext.prototype.constructor = SliceFirstOnlyContext;
SliceFirstOnlyContext.prototype.COLON = function() {
return this.getToken(OParser.COLON, 0);
};
SliceFirstOnlyContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
SliceFirstOnlyContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSliceFirstOnly(this);
}
};
SliceFirstOnlyContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSliceFirstOnly(this);
}
};
OParser.prototype.slice_arguments = function() {
var localctx = new Slice_argumentsContext(this, this._ctx, this.state);
this.enterRule(localctx, 266, OParser.RULE_slice_arguments);
try {
this.state = 1817;
var la_ = this._interp.adaptivePredict(this._input,155,this._ctx);
switch(la_) {
case 1:
localctx = new SliceFirstAndLastContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1808;
localctx.first = this.expression(0);
this.state = 1809;
this.match(OParser.COLON);
this.state = 1810;
localctx.last = this.expression(0);
break;
case 2:
localctx = new SliceFirstOnlyContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1812;
localctx.first = this.expression(0);
this.state = 1813;
this.match(OParser.COLON);
break;
case 3:
localctx = new SliceLastOnlyContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1815;
this.match(OParser.COLON);
this.state = 1816;
localctx.last = this.expression(0);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Assign_variable_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assign_variable_statement;
return this;
}
Assign_variable_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Assign_variable_statementContext.prototype.constructor = Assign_variable_statementContext;
Assign_variable_statementContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
Assign_variable_statementContext.prototype.assign = function() {
return this.getTypedRuleContext(AssignContext,0);
};
Assign_variable_statementContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Assign_variable_statementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssign_variable_statement(this);
}
};
Assign_variable_statementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssign_variable_statement(this);
}
};
OParser.prototype.assign_variable_statement = function() {
var localctx = new Assign_variable_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 268, OParser.RULE_assign_variable_statement);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1819;
this.variable_identifier();
this.state = 1820;
this.assign();
this.state = 1821;
this.expression(0);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Assignable_instanceContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assignable_instance;
return this;
}
Assignable_instanceContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Assignable_instanceContext.prototype.constructor = Assignable_instanceContext;
Assignable_instanceContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function ChildInstanceContext(parser, ctx) {
Assignable_instanceContext.call(this, parser);
Assignable_instanceContext.prototype.copyFrom.call(this, ctx);
return this;
}
ChildInstanceContext.prototype = Object.create(Assignable_instanceContext.prototype);
ChildInstanceContext.prototype.constructor = ChildInstanceContext;
ChildInstanceContext.prototype.assignable_instance = function() {
return this.getTypedRuleContext(Assignable_instanceContext,0);
};
ChildInstanceContext.prototype.child_instance = function() {
return this.getTypedRuleContext(Child_instanceContext,0);
};
ChildInstanceContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterChildInstance(this);
}
};
ChildInstanceContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitChildInstance(this);
}
};
function RootInstanceContext(parser, ctx) {
Assignable_instanceContext.call(this, parser);
Assignable_instanceContext.prototype.copyFrom.call(this, ctx);
return this;
}
RootInstanceContext.prototype = Object.create(Assignable_instanceContext.prototype);
RootInstanceContext.prototype.constructor = RootInstanceContext;
RootInstanceContext.prototype.variable_identifier = function() {
return this.getTypedRuleContext(Variable_identifierContext,0);
};
RootInstanceContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRootInstance(this);
}
};
RootInstanceContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRootInstance(this);
}
};
OParser.prototype.assignable_instance = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Assignable_instanceContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 270;
this.enterRecursionRule(localctx, 270, OParser.RULE_assignable_instance, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new RootInstanceContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1824;
this.variable_identifier();
this._ctx.stop = this._input.LT(-1);
this.state = 1830;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,156,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new ChildInstanceContext(this, new Assignable_instanceContext(this, _parentctx, _parentState));
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_assignable_instance);
this.state = 1826;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1827;
this.child_instance();
}
this.state = 1832;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,156,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Is_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_is_expression;
return this;
}
Is_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Is_expressionContext.prototype.constructor = Is_expressionContext;
Is_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function IsATypeExpressionContext(parser, ctx) {
Is_expressionContext.call(this, parser);
Is_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsATypeExpressionContext.prototype = Object.create(Is_expressionContext.prototype);
IsATypeExpressionContext.prototype.constructor = IsATypeExpressionContext;
IsATypeExpressionContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
IsATypeExpressionContext.prototype.category_or_any_type = function() {
return this.getTypedRuleContext(Category_or_any_typeContext,0);
};
IsATypeExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsATypeExpression(this);
}
};
IsATypeExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsATypeExpression(this);
}
};
function IsOtherExpressionContext(parser, ctx) {
Is_expressionContext.call(this, parser);
Is_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
IsOtherExpressionContext.prototype = Object.create(Is_expressionContext.prototype);
IsOtherExpressionContext.prototype.constructor = IsOtherExpressionContext;
IsOtherExpressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
IsOtherExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIsOtherExpression(this);
}
};
IsOtherExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIsOtherExpression(this);
}
};
OParser.prototype.is_expression = function() {
var localctx = new Is_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 272, OParser.RULE_is_expression);
try {
this.state = 1837;
var la_ = this._interp.adaptivePredict(this._input,157,this._ctx);
switch(la_) {
case 1:
localctx = new IsATypeExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1833;
if (!( this.willBeAOrAn())) {
throw new antlr4.error.FailedPredicateException(this, "$parser.willBeAOrAn()");
}
this.state = 1834;
this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1835;
this.category_or_any_type();
break;
case 2:
localctx = new IsOtherExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1836;
this.expression(0);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Read_all_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_read_all_expression;
this.source = null; // ExpressionContext
return this;
}
Read_all_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Read_all_expressionContext.prototype.constructor = Read_all_expressionContext;
Read_all_expressionContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Read_all_expressionContext.prototype.ALL = function() {
return this.getToken(OParser.ALL, 0);
};
Read_all_expressionContext.prototype.FROM = function() {
return this.getToken(OParser.FROM, 0);
};
Read_all_expressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Read_all_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRead_all_expression(this);
}
};
Read_all_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRead_all_expression(this);
}
};
OParser.prototype.read_all_expression = function() {
var localctx = new Read_all_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 274, OParser.RULE_read_all_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1839;
this.match(OParser.READ);
this.state = 1840;
this.match(OParser.ALL);
this.state = 1841;
this.match(OParser.FROM);
this.state = 1842;
localctx.source = this.expression(0);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Read_one_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_read_one_expression;
this.source = null; // ExpressionContext
return this;
}
Read_one_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Read_one_expressionContext.prototype.constructor = Read_one_expressionContext;
Read_one_expressionContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Read_one_expressionContext.prototype.ONE = function() {
return this.getToken(OParser.ONE, 0);
};
Read_one_expressionContext.prototype.FROM = function() {
return this.getToken(OParser.FROM, 0);
};
Read_one_expressionContext.prototype.expression = function() {
return this.getTypedRuleContext(ExpressionContext,0);
};
Read_one_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterRead_one_expression(this);
}
};
Read_one_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitRead_one_expression(this);
}
};
OParser.prototype.read_one_expression = function() {
var localctx = new Read_one_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 276, OParser.RULE_read_one_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1844;
this.match(OParser.READ);
this.state = 1845;
this.match(OParser.ONE);
this.state = 1846;
this.match(OParser.FROM);
this.state = 1847;
localctx.source = this.expression(0);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Order_by_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_order_by_list;
return this;
}
Order_by_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Order_by_listContext.prototype.constructor = Order_by_listContext;
Order_by_listContext.prototype.order_by = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Order_byContext);
} else {
return this.getTypedRuleContext(Order_byContext,i);
}
};
Order_by_listContext.prototype.COMMA = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.COMMA);
} else {
return this.getToken(OParser.COMMA, i);
}
};
Order_by_listContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOrder_by_list(this);
}
};
Order_by_listContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOrder_by_list(this);
}
};
OParser.prototype.order_by_list = function() {
var localctx = new Order_by_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 278, OParser.RULE_order_by_list);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1849;
this.order_by();
this.state = 1854;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.COMMA) {
this.state = 1850;
this.match(OParser.COMMA);
this.state = 1851;
this.order_by();
this.state = 1856;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Order_byContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_order_by;
return this;
}
Order_byContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Order_byContext.prototype.constructor = Order_byContext;
Order_byContext.prototype.variable_identifier = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTypedRuleContexts(Variable_identifierContext);
} else {
return this.getTypedRuleContext(Variable_identifierContext,i);
}
};
Order_byContext.prototype.DOT = function(i) {
if(i===undefined) {
i = null;
}
if(i===null) {
return this.getTokens(OParser.DOT);
} else {
return this.getToken(OParser.DOT, i);
}
};
Order_byContext.prototype.ASC = function() {
return this.getToken(OParser.ASC, 0);
};
Order_byContext.prototype.DESC = function() {
return this.getToken(OParser.DESC, 0);
};
Order_byContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOrder_by(this);
}
};
Order_byContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOrder_by(this);
}
};
OParser.prototype.order_by = function() {
var localctx = new Order_byContext(this, this._ctx, this.state);
this.enterRule(localctx, 280, OParser.RULE_order_by);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1857;
this.variable_identifier();
this.state = 1862;
this._errHandler.sync(this);
_la = this._input.LA(1);
while(_la===OParser.DOT) {
this.state = 1858;
this.match(OParser.DOT);
this.state = 1859;
this.variable_identifier();
this.state = 1864;
this._errHandler.sync(this);
_la = this._input.LA(1);
}
this.state = 1866;
_la = this._input.LA(1);
if(_la===OParser.ASC || _la===OParser.DESC) {
this.state = 1865;
_la = this._input.LA(1);
if(!(_la===OParser.ASC || _la===OParser.DESC)) {
this._errHandler.recoverInline(this);
}
this.consume();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function OperatorContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_operator;
return this;
}
OperatorContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
OperatorContext.prototype.constructor = OperatorContext;
OperatorContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function OperatorPlusContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorPlusContext.prototype = Object.create(OperatorContext.prototype);
OperatorPlusContext.prototype.constructor = OperatorPlusContext;
OperatorPlusContext.prototype.PLUS = function() {
return this.getToken(OParser.PLUS, 0);
};
OperatorPlusContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorPlus(this);
}
};
OperatorPlusContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorPlus(this);
}
};
function OperatorDivideContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorDivideContext.prototype = Object.create(OperatorContext.prototype);
OperatorDivideContext.prototype.constructor = OperatorDivideContext;
OperatorDivideContext.prototype.divide = function() {
return this.getTypedRuleContext(DivideContext,0);
};
OperatorDivideContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorDivide(this);
}
};
OperatorDivideContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorDivide(this);
}
};
function OperatorIDivideContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorIDivideContext.prototype = Object.create(OperatorContext.prototype);
OperatorIDivideContext.prototype.constructor = OperatorIDivideContext;
OperatorIDivideContext.prototype.idivide = function() {
return this.getTypedRuleContext(IdivideContext,0);
};
OperatorIDivideContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorIDivide(this);
}
};
OperatorIDivideContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorIDivide(this);
}
};
function OperatorMultiplyContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorMultiplyContext.prototype = Object.create(OperatorContext.prototype);
OperatorMultiplyContext.prototype.constructor = OperatorMultiplyContext;
OperatorMultiplyContext.prototype.multiply = function() {
return this.getTypedRuleContext(MultiplyContext,0);
};
OperatorMultiplyContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorMultiply(this);
}
};
OperatorMultiplyContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorMultiply(this);
}
};
function OperatorMinusContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorMinusContext.prototype = Object.create(OperatorContext.prototype);
OperatorMinusContext.prototype.constructor = OperatorMinusContext;
OperatorMinusContext.prototype.MINUS = function() {
return this.getToken(OParser.MINUS, 0);
};
OperatorMinusContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorMinus(this);
}
};
OperatorMinusContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorMinus(this);
}
};
function OperatorModuloContext(parser, ctx) {
OperatorContext.call(this, parser);
OperatorContext.prototype.copyFrom.call(this, ctx);
return this;
}
OperatorModuloContext.prototype = Object.create(OperatorContext.prototype);
OperatorModuloContext.prototype.constructor = OperatorModuloContext;
OperatorModuloContext.prototype.modulo = function() {
return this.getTypedRuleContext(ModuloContext,0);
};
OperatorModuloContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterOperatorModulo(this);
}
};
OperatorModuloContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitOperatorModulo(this);
}
};
OParser.prototype.operator = function() {
var localctx = new OperatorContext(this, this._ctx, this.state);
this.enterRule(localctx, 282, OParser.RULE_operator);
try {
this.state = 1874;
switch(this._input.LA(1)) {
case OParser.PLUS:
localctx = new OperatorPlusContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1868;
this.match(OParser.PLUS);
break;
case OParser.MINUS:
localctx = new OperatorMinusContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1869;
this.match(OParser.MINUS);
break;
case OParser.STAR:
localctx = new OperatorMultiplyContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1870;
this.multiply();
break;
case OParser.SLASH:
localctx = new OperatorDivideContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1871;
this.divide();
break;
case OParser.BSLASH:
localctx = new OperatorIDivideContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1872;
this.idivide();
break;
case OParser.PERCENT:
case OParser.MODULO:
localctx = new OperatorModuloContext(this, localctx);
this.enterOuterAlt(localctx, 6);
this.state = 1873;
this.modulo();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function New_tokenContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_new_token;
this.i1 = null; // Token
return this;
}
New_tokenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
New_tokenContext.prototype.constructor = New_tokenContext;
New_tokenContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
New_tokenContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterNew_token(this);
}
};
New_tokenContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitNew_token(this);
}
};
OParser.prototype.new_token = function() {
var localctx = new New_tokenContext(this, this._ctx, this.state);
this.enterRule(localctx, 284, OParser.RULE_new_token);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1876;
localctx.i1 = this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1877;
if (!( this.isText(localctx.i1,"new"))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.isText($i1,\"new\")");
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Key_tokenContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_key_token;
this.i1 = null; // Token
return this;
}
Key_tokenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Key_tokenContext.prototype.constructor = Key_tokenContext;
Key_tokenContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Key_tokenContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterKey_token(this);
}
};
Key_tokenContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitKey_token(this);
}
};
OParser.prototype.key_token = function() {
var localctx = new Key_tokenContext(this, this._ctx, this.state);
this.enterRule(localctx, 286, OParser.RULE_key_token);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1879;
localctx.i1 = this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1880;
if (!( this.isText(localctx.i1,"key"))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.isText($i1,\"key\")");
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Module_tokenContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_module_token;
this.i1 = null; // Token
return this;
}
Module_tokenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Module_tokenContext.prototype.constructor = Module_tokenContext;
Module_tokenContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Module_tokenContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterModule_token(this);
}
};
Module_tokenContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitModule_token(this);
}
};
OParser.prototype.module_token = function() {
var localctx = new Module_tokenContext(this, this._ctx, this.state);
this.enterRule(localctx, 288, OParser.RULE_module_token);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1882;
localctx.i1 = this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1883;
if (!( this.isText(localctx.i1,"module"))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.isText($i1,\"module\")");
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Value_tokenContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_value_token;
this.i1 = null; // Token
return this;
}
Value_tokenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Value_tokenContext.prototype.constructor = Value_tokenContext;
Value_tokenContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Value_tokenContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterValue_token(this);
}
};
Value_tokenContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitValue_token(this);
}
};
OParser.prototype.value_token = function() {
var localctx = new Value_tokenContext(this, this._ctx, this.state);
this.enterRule(localctx, 290, OParser.RULE_value_token);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1885;
localctx.i1 = this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1886;
if (!( this.isText(localctx.i1,"value"))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.isText($i1,\"value\")");
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Symbols_tokenContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_symbols_token;
this.i1 = null; // Token
return this;
}
Symbols_tokenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Symbols_tokenContext.prototype.constructor = Symbols_tokenContext;
Symbols_tokenContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Symbols_tokenContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterSymbols_token(this);
}
};
Symbols_tokenContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitSymbols_token(this);
}
};
OParser.prototype.symbols_token = function() {
var localctx = new Symbols_tokenContext(this, this._ctx, this.state);
this.enterRule(localctx, 292, OParser.RULE_symbols_token);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1888;
localctx.i1 = this.match(OParser.VARIABLE_IDENTIFIER);
this.state = 1889;
if (!( this.isText(localctx.i1,"symbols"))) {
throw new antlr4.error.FailedPredicateException(this, "$parser.isText($i1,\"symbols\")");
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function AssignContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_assign;
return this;
}
AssignContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
AssignContext.prototype.constructor = AssignContext;
AssignContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
AssignContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterAssign(this);
}
};
AssignContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitAssign(this);
}
};
OParser.prototype.assign = function() {
var localctx = new AssignContext(this, this._ctx, this.state);
this.enterRule(localctx, 294, OParser.RULE_assign);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1891;
this.match(OParser.EQ);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function MultiplyContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_multiply;
return this;
}
MultiplyContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
MultiplyContext.prototype.constructor = MultiplyContext;
MultiplyContext.prototype.STAR = function() {
return this.getToken(OParser.STAR, 0);
};
MultiplyContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterMultiply(this);
}
};
MultiplyContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitMultiply(this);
}
};
OParser.prototype.multiply = function() {
var localctx = new MultiplyContext(this, this._ctx, this.state);
this.enterRule(localctx, 296, OParser.RULE_multiply);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1893;
this.match(OParser.STAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function DivideContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_divide;
return this;
}
DivideContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
DivideContext.prototype.constructor = DivideContext;
DivideContext.prototype.SLASH = function() {
return this.getToken(OParser.SLASH, 0);
};
DivideContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterDivide(this);
}
};
DivideContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitDivide(this);
}
};
OParser.prototype.divide = function() {
var localctx = new DivideContext(this, this._ctx, this.state);
this.enterRule(localctx, 298, OParser.RULE_divide);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1895;
this.match(OParser.SLASH);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function IdivideContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_idivide;
return this;
}
IdivideContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
IdivideContext.prototype.constructor = IdivideContext;
IdivideContext.prototype.BSLASH = function() {
return this.getToken(OParser.BSLASH, 0);
};
IdivideContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterIdivide(this);
}
};
IdivideContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitIdivide(this);
}
};
OParser.prototype.idivide = function() {
var localctx = new IdivideContext(this, this._ctx, this.state);
this.enterRule(localctx, 300, OParser.RULE_idivide);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1897;
this.match(OParser.BSLASH);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function ModuloContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_modulo;
return this;
}
ModuloContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
ModuloContext.prototype.constructor = ModuloContext;
ModuloContext.prototype.PERCENT = function() {
return this.getToken(OParser.PERCENT, 0);
};
ModuloContext.prototype.MODULO = function() {
return this.getToken(OParser.MODULO, 0);
};
ModuloContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterModulo(this);
}
};
ModuloContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitModulo(this);
}
};
OParser.prototype.modulo = function() {
var localctx = new ModuloContext(this, this._ctx, this.state);
this.enterRule(localctx, 302, OParser.RULE_modulo);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1899;
_la = this._input.LA(1);
if(!(_la===OParser.PERCENT || _la===OParser.MODULO)) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function LfsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_lfs;
return this;
}
LfsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
LfsContext.prototype.constructor = LfsContext;
LfsContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLfs(this);
}
};
LfsContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLfs(this);
}
};
OParser.prototype.lfs = function() {
var localctx = new LfsContext(this, this._ctx, this.state);
this.enterRule(localctx, 304, OParser.RULE_lfs);
try {
this.enterOuterAlt(localctx, 1);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function LfpContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_lfp;
return this;
}
LfpContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
LfpContext.prototype.constructor = LfpContext;
LfpContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterLfp(this);
}
};
LfpContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitLfp(this);
}
};
OParser.prototype.lfp = function() {
var localctx = new LfpContext(this, this._ctx, this.state);
this.enterRule(localctx, 306, OParser.RULE_lfp);
try {
this.enterOuterAlt(localctx, 1);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_statement;
return this;
}
Javascript_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_statementContext.prototype.constructor = Javascript_statementContext;
Javascript_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavascriptStatementContext(parser, ctx) {
Javascript_statementContext.call(this, parser);
this.exp = null; // Javascript_expressionContext;
Javascript_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptStatementContext.prototype = Object.create(Javascript_statementContext.prototype);
JavascriptStatementContext.prototype.constructor = JavascriptStatementContext;
JavascriptStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
JavascriptStatementContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
JavascriptStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptStatement(this);
}
};
JavascriptStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptStatement(this);
}
};
function JavascriptReturnStatementContext(parser, ctx) {
Javascript_statementContext.call(this, parser);
this.exp = null; // Javascript_expressionContext;
Javascript_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptReturnStatementContext.prototype = Object.create(Javascript_statementContext.prototype);
JavascriptReturnStatementContext.prototype.constructor = JavascriptReturnStatementContext;
JavascriptReturnStatementContext.prototype.RETURN = function() {
return this.getToken(OParser.RETURN, 0);
};
JavascriptReturnStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
JavascriptReturnStatementContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
JavascriptReturnStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptReturnStatement(this);
}
};
JavascriptReturnStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptReturnStatement(this);
}
};
OParser.prototype.javascript_statement = function() {
var localctx = new Javascript_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 308, OParser.RULE_javascript_statement);
try {
this.state = 1912;
switch(this._input.LA(1)) {
case OParser.RETURN:
localctx = new JavascriptReturnStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1905;
this.match(OParser.RETURN);
this.state = 1906;
localctx.exp = this.javascript_expression(0);
this.state = 1907;
this.match(OParser.SEMI);
break;
case OParser.LPAR:
case OParser.LBRAK:
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.SELF:
case OParser.TEST:
case OParser.THIS:
case OParser.WRITE:
case OParser.BOOLEAN_LITERAL:
case OParser.CHAR_LITERAL:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
case OParser.DOLLAR_IDENTIFIER:
case OParser.TEXT_LITERAL:
case OParser.INTEGER_LITERAL:
case OParser.DECIMAL_LITERAL:
localctx = new JavascriptStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1909;
localctx.exp = this.javascript_expression(0);
this.state = 1910;
this.match(OParser.SEMI);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_expression;
return this;
}
Javascript_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_expressionContext.prototype.constructor = Javascript_expressionContext;
Javascript_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavascriptSelectorExpressionContext(parser, ctx) {
Javascript_expressionContext.call(this, parser);
this.parent = null; // Javascript_expressionContext;
this.child = null; // Javascript_selector_expressionContext;
Javascript_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptSelectorExpressionContext.prototype = Object.create(Javascript_expressionContext.prototype);
JavascriptSelectorExpressionContext.prototype.constructor = JavascriptSelectorExpressionContext;
JavascriptSelectorExpressionContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
JavascriptSelectorExpressionContext.prototype.javascript_selector_expression = function() {
return this.getTypedRuleContext(Javascript_selector_expressionContext,0);
};
JavascriptSelectorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptSelectorExpression(this);
}
};
JavascriptSelectorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptSelectorExpression(this);
}
};
function JavascriptPrimaryExpressionContext(parser, ctx) {
Javascript_expressionContext.call(this, parser);
this.exp = null; // Javascript_primary_expressionContext;
Javascript_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptPrimaryExpressionContext.prototype = Object.create(Javascript_expressionContext.prototype);
JavascriptPrimaryExpressionContext.prototype.constructor = JavascriptPrimaryExpressionContext;
JavascriptPrimaryExpressionContext.prototype.javascript_primary_expression = function() {
return this.getTypedRuleContext(Javascript_primary_expressionContext,0);
};
JavascriptPrimaryExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptPrimaryExpression(this);
}
};
JavascriptPrimaryExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptPrimaryExpression(this);
}
};
OParser.prototype.javascript_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Javascript_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 310;
this.enterRecursionRule(localctx, 310, OParser.RULE_javascript_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavascriptPrimaryExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1915;
localctx.exp = this.javascript_primary_expression();
this._ctx.stop = this._input.LT(-1);
this.state = 1921;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,163,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavascriptSelectorExpressionContext(this, new Javascript_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_javascript_expression);
this.state = 1917;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1918;
localctx.child = this.javascript_selector_expression();
}
this.state = 1923;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,163,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Javascript_primary_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_primary_expression;
return this;
}
Javascript_primary_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_primary_expressionContext.prototype.constructor = Javascript_primary_expressionContext;
Javascript_primary_expressionContext.prototype.javascript_this_expression = function() {
return this.getTypedRuleContext(Javascript_this_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_new_expression = function() {
return this.getTypedRuleContext(Javascript_new_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_parenthesis_expression = function() {
return this.getTypedRuleContext(Javascript_parenthesis_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_identifier_expression = function() {
return this.getTypedRuleContext(Javascript_identifier_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_literal_expression = function() {
return this.getTypedRuleContext(Javascript_literal_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_method_expression = function() {
return this.getTypedRuleContext(Javascript_method_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.javascript_item_expression = function() {
return this.getTypedRuleContext(Javascript_item_expressionContext,0);
};
Javascript_primary_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_primary_expression(this);
}
};
Javascript_primary_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_primary_expression(this);
}
};
OParser.prototype.javascript_primary_expression = function() {
var localctx = new Javascript_primary_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 312, OParser.RULE_javascript_primary_expression);
try {
this.state = 1931;
var la_ = this._interp.adaptivePredict(this._input,164,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 1924;
this.javascript_this_expression();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 1925;
this.javascript_new_expression();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 1926;
this.javascript_parenthesis_expression();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 1927;
this.javascript_identifier_expression();
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 1928;
this.javascript_literal_expression();
break;
case 6:
this.enterOuterAlt(localctx, 6);
this.state = 1929;
this.javascript_method_expression();
break;
case 7:
this.enterOuterAlt(localctx, 7);
this.state = 1930;
this.javascript_item_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_this_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_this_expression;
return this;
}
Javascript_this_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_this_expressionContext.prototype.constructor = Javascript_this_expressionContext;
Javascript_this_expressionContext.prototype.this_expression = function() {
return this.getTypedRuleContext(This_expressionContext,0);
};
Javascript_this_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_this_expression(this);
}
};
Javascript_this_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_this_expression(this);
}
};
OParser.prototype.javascript_this_expression = function() {
var localctx = new Javascript_this_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 314, OParser.RULE_javascript_this_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1933;
this.this_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_new_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_new_expression;
return this;
}
Javascript_new_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_new_expressionContext.prototype.constructor = Javascript_new_expressionContext;
Javascript_new_expressionContext.prototype.new_token = function() {
return this.getTypedRuleContext(New_tokenContext,0);
};
Javascript_new_expressionContext.prototype.javascript_method_expression = function() {
return this.getTypedRuleContext(Javascript_method_expressionContext,0);
};
Javascript_new_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_new_expression(this);
}
};
Javascript_new_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_new_expression(this);
}
};
OParser.prototype.javascript_new_expression = function() {
var localctx = new Javascript_new_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 316, OParser.RULE_javascript_new_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1935;
this.new_token();
this.state = 1936;
this.javascript_method_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_selector_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_selector_expression;
return this;
}
Javascript_selector_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_selector_expressionContext.prototype.constructor = Javascript_selector_expressionContext;
Javascript_selector_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaScriptMemberExpressionContext(parser, ctx) {
Javascript_selector_expressionContext.call(this, parser);
this.name = null; // Javascript_identifierContext;
Javascript_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaScriptMemberExpressionContext.prototype = Object.create(Javascript_selector_expressionContext.prototype);
JavaScriptMemberExpressionContext.prototype.constructor = JavaScriptMemberExpressionContext;
JavaScriptMemberExpressionContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
JavaScriptMemberExpressionContext.prototype.javascript_identifier = function() {
return this.getTypedRuleContext(Javascript_identifierContext,0);
};
JavaScriptMemberExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaScriptMemberExpression(this);
}
};
JavaScriptMemberExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaScriptMemberExpression(this);
}
};
function JavaScriptItemExpressionContext(parser, ctx) {
Javascript_selector_expressionContext.call(this, parser);
this.exp = null; // Javascript_item_expressionContext;
Javascript_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaScriptItemExpressionContext.prototype = Object.create(Javascript_selector_expressionContext.prototype);
JavaScriptItemExpressionContext.prototype.constructor = JavaScriptItemExpressionContext;
JavaScriptItemExpressionContext.prototype.javascript_item_expression = function() {
return this.getTypedRuleContext(Javascript_item_expressionContext,0);
};
JavaScriptItemExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaScriptItemExpression(this);
}
};
JavaScriptItemExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaScriptItemExpression(this);
}
};
function JavaScriptMethodExpressionContext(parser, ctx) {
Javascript_selector_expressionContext.call(this, parser);
this.method = null; // Javascript_method_expressionContext;
Javascript_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaScriptMethodExpressionContext.prototype = Object.create(Javascript_selector_expressionContext.prototype);
JavaScriptMethodExpressionContext.prototype.constructor = JavaScriptMethodExpressionContext;
JavaScriptMethodExpressionContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
JavaScriptMethodExpressionContext.prototype.javascript_method_expression = function() {
return this.getTypedRuleContext(Javascript_method_expressionContext,0);
};
JavaScriptMethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaScriptMethodExpression(this);
}
};
JavaScriptMethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaScriptMethodExpression(this);
}
};
OParser.prototype.javascript_selector_expression = function() {
var localctx = new Javascript_selector_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 318, OParser.RULE_javascript_selector_expression);
try {
this.state = 1943;
var la_ = this._interp.adaptivePredict(this._input,165,this._ctx);
switch(la_) {
case 1:
localctx = new JavaScriptMethodExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1938;
this.match(OParser.DOT);
this.state = 1939;
localctx.method = this.javascript_method_expression();
break;
case 2:
localctx = new JavaScriptMemberExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1940;
this.match(OParser.DOT);
this.state = 1941;
localctx.name = this.javascript_identifier();
break;
case 3:
localctx = new JavaScriptItemExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1942;
localctx.exp = this.javascript_item_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_method_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_method_expression;
this.name = null; // Javascript_identifierContext
this.args = null; // Javascript_argumentsContext
return this;
}
Javascript_method_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_method_expressionContext.prototype.constructor = Javascript_method_expressionContext;
Javascript_method_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Javascript_method_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Javascript_method_expressionContext.prototype.javascript_identifier = function() {
return this.getTypedRuleContext(Javascript_identifierContext,0);
};
Javascript_method_expressionContext.prototype.javascript_arguments = function() {
return this.getTypedRuleContext(Javascript_argumentsContext,0);
};
Javascript_method_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_method_expression(this);
}
};
Javascript_method_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_method_expression(this);
}
};
OParser.prototype.javascript_method_expression = function() {
var localctx = new Javascript_method_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 320, OParser.RULE_javascript_method_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1945;
localctx.name = this.javascript_identifier();
this.state = 1946;
this.match(OParser.LPAR);
this.state = 1948;
_la = this._input.LA(1);
if(_la===OParser.LPAR || _la===OParser.LBRAK || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (OParser.DOLLAR_IDENTIFIER - 160)) | (1 << (OParser.TEXT_LITERAL - 160)) | (1 << (OParser.INTEGER_LITERAL - 160)) | (1 << (OParser.DECIMAL_LITERAL - 160)))) !== 0)) {
this.state = 1947;
localctx.args = this.javascript_arguments(0);
}
this.state = 1950;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_argumentsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_arguments;
return this;
}
Javascript_argumentsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_argumentsContext.prototype.constructor = Javascript_argumentsContext;
Javascript_argumentsContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavascriptArgumentListContext(parser, ctx) {
Javascript_argumentsContext.call(this, parser);
this.item = null; // Javascript_expressionContext;
Javascript_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptArgumentListContext.prototype = Object.create(Javascript_argumentsContext.prototype);
JavascriptArgumentListContext.prototype.constructor = JavascriptArgumentListContext;
JavascriptArgumentListContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
JavascriptArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptArgumentList(this);
}
};
JavascriptArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptArgumentList(this);
}
};
function JavascriptArgumentListItemContext(parser, ctx) {
Javascript_argumentsContext.call(this, parser);
this.items = null; // Javascript_argumentsContext;
this.item = null; // Javascript_expressionContext;
Javascript_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptArgumentListItemContext.prototype = Object.create(Javascript_argumentsContext.prototype);
JavascriptArgumentListItemContext.prototype.constructor = JavascriptArgumentListItemContext;
JavascriptArgumentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
JavascriptArgumentListItemContext.prototype.javascript_arguments = function() {
return this.getTypedRuleContext(Javascript_argumentsContext,0);
};
JavascriptArgumentListItemContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
JavascriptArgumentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptArgumentListItem(this);
}
};
JavascriptArgumentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptArgumentListItem(this);
}
};
OParser.prototype.javascript_arguments = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Javascript_argumentsContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 322;
this.enterRecursionRule(localctx, 322, OParser.RULE_javascript_arguments, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavascriptArgumentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1953;
localctx.item = this.javascript_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 1960;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,167,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavascriptArgumentListItemContext(this, new Javascript_argumentsContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_javascript_arguments);
this.state = 1955;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1956;
this.match(OParser.COMMA);
this.state = 1957;
localctx.item = this.javascript_expression(0);
}
this.state = 1962;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,167,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Javascript_item_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_item_expression;
this.exp = null; // Javascript_expressionContext
return this;
}
Javascript_item_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_item_expressionContext.prototype.constructor = Javascript_item_expressionContext;
Javascript_item_expressionContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
Javascript_item_expressionContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
Javascript_item_expressionContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
Javascript_item_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_item_expression(this);
}
};
Javascript_item_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_item_expression(this);
}
};
OParser.prototype.javascript_item_expression = function() {
var localctx = new Javascript_item_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 324, OParser.RULE_javascript_item_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1963;
this.match(OParser.LBRAK);
this.state = 1964;
localctx.exp = this.javascript_expression(0);
this.state = 1965;
this.match(OParser.RBRAK);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_parenthesis_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_parenthesis_expression;
this.exp = null; // Javascript_expressionContext
return this;
}
Javascript_parenthesis_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_parenthesis_expressionContext.prototype.constructor = Javascript_parenthesis_expressionContext;
Javascript_parenthesis_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Javascript_parenthesis_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Javascript_parenthesis_expressionContext.prototype.javascript_expression = function() {
return this.getTypedRuleContext(Javascript_expressionContext,0);
};
Javascript_parenthesis_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_parenthesis_expression(this);
}
};
Javascript_parenthesis_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_parenthesis_expression(this);
}
};
OParser.prototype.javascript_parenthesis_expression = function() {
var localctx = new Javascript_parenthesis_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 326, OParser.RULE_javascript_parenthesis_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1967;
this.match(OParser.LPAR);
this.state = 1968;
localctx.exp = this.javascript_expression(0);
this.state = 1969;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_identifier_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_identifier_expression;
this.name = null; // Javascript_identifierContext
return this;
}
Javascript_identifier_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_identifier_expressionContext.prototype.constructor = Javascript_identifier_expressionContext;
Javascript_identifier_expressionContext.prototype.javascript_identifier = function() {
return this.getTypedRuleContext(Javascript_identifierContext,0);
};
Javascript_identifier_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_identifier_expression(this);
}
};
Javascript_identifier_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_identifier_expression(this);
}
};
OParser.prototype.javascript_identifier_expression = function() {
var localctx = new Javascript_identifier_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 328, OParser.RULE_javascript_identifier_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 1971;
localctx.name = this.javascript_identifier();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_literal_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_literal_expression;
return this;
}
Javascript_literal_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_literal_expressionContext.prototype.constructor = Javascript_literal_expressionContext;
Javascript_literal_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavascriptIntegerLiteralContext(parser, ctx) {
Javascript_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Javascript_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptIntegerLiteralContext.prototype = Object.create(Javascript_literal_expressionContext.prototype);
JavascriptIntegerLiteralContext.prototype.constructor = JavascriptIntegerLiteralContext;
JavascriptIntegerLiteralContext.prototype.INTEGER_LITERAL = function() {
return this.getToken(OParser.INTEGER_LITERAL, 0);
};
JavascriptIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptIntegerLiteral(this);
}
};
JavascriptIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptIntegerLiteral(this);
}
};
function JavascriptBooleanLiteralContext(parser, ctx) {
Javascript_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Javascript_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptBooleanLiteralContext.prototype = Object.create(Javascript_literal_expressionContext.prototype);
JavascriptBooleanLiteralContext.prototype.constructor = JavascriptBooleanLiteralContext;
JavascriptBooleanLiteralContext.prototype.BOOLEAN_LITERAL = function() {
return this.getToken(OParser.BOOLEAN_LITERAL, 0);
};
JavascriptBooleanLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptBooleanLiteral(this);
}
};
JavascriptBooleanLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptBooleanLiteral(this);
}
};
function JavascriptCharacterLiteralContext(parser, ctx) {
Javascript_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Javascript_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptCharacterLiteralContext.prototype = Object.create(Javascript_literal_expressionContext.prototype);
JavascriptCharacterLiteralContext.prototype.constructor = JavascriptCharacterLiteralContext;
JavascriptCharacterLiteralContext.prototype.CHAR_LITERAL = function() {
return this.getToken(OParser.CHAR_LITERAL, 0);
};
JavascriptCharacterLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptCharacterLiteral(this);
}
};
JavascriptCharacterLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptCharacterLiteral(this);
}
};
function JavascriptTextLiteralContext(parser, ctx) {
Javascript_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Javascript_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptTextLiteralContext.prototype = Object.create(Javascript_literal_expressionContext.prototype);
JavascriptTextLiteralContext.prototype.constructor = JavascriptTextLiteralContext;
JavascriptTextLiteralContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
JavascriptTextLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptTextLiteral(this);
}
};
JavascriptTextLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptTextLiteral(this);
}
};
function JavascriptDecimalLiteralContext(parser, ctx) {
Javascript_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Javascript_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavascriptDecimalLiteralContext.prototype = Object.create(Javascript_literal_expressionContext.prototype);
JavascriptDecimalLiteralContext.prototype.constructor = JavascriptDecimalLiteralContext;
JavascriptDecimalLiteralContext.prototype.DECIMAL_LITERAL = function() {
return this.getToken(OParser.DECIMAL_LITERAL, 0);
};
JavascriptDecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascriptDecimalLiteral(this);
}
};
JavascriptDecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascriptDecimalLiteral(this);
}
};
OParser.prototype.javascript_literal_expression = function() {
var localctx = new Javascript_literal_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 330, OParser.RULE_javascript_literal_expression);
try {
this.state = 1978;
switch(this._input.LA(1)) {
case OParser.INTEGER_LITERAL:
localctx = new JavascriptIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1973;
localctx.t = this.match(OParser.INTEGER_LITERAL);
break;
case OParser.DECIMAL_LITERAL:
localctx = new JavascriptDecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1974;
localctx.t = this.match(OParser.DECIMAL_LITERAL);
break;
case OParser.TEXT_LITERAL:
localctx = new JavascriptTextLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1975;
localctx.t = this.match(OParser.TEXT_LITERAL);
break;
case OParser.BOOLEAN_LITERAL:
localctx = new JavascriptBooleanLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 1976;
localctx.t = this.match(OParser.BOOLEAN_LITERAL);
break;
case OParser.CHAR_LITERAL:
localctx = new JavascriptCharacterLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 1977;
localctx.t = this.match(OParser.CHAR_LITERAL);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Javascript_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_javascript_identifier;
return this;
}
Javascript_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Javascript_identifierContext.prototype.constructor = Javascript_identifierContext;
Javascript_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Javascript_identifierContext.prototype.SYMBOL_IDENTIFIER = function() {
return this.getToken(OParser.SYMBOL_IDENTIFIER, 0);
};
Javascript_identifierContext.prototype.DOLLAR_IDENTIFIER = function() {
return this.getToken(OParser.DOLLAR_IDENTIFIER, 0);
};
Javascript_identifierContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Javascript_identifierContext.prototype.BOOLEAN = function() {
return this.getToken(OParser.BOOLEAN, 0);
};
Javascript_identifierContext.prototype.CHARACTER = function() {
return this.getToken(OParser.CHARACTER, 0);
};
Javascript_identifierContext.prototype.TEXT = function() {
return this.getToken(OParser.TEXT, 0);
};
Javascript_identifierContext.prototype.INTEGER = function() {
return this.getToken(OParser.INTEGER, 0);
};
Javascript_identifierContext.prototype.DECIMAL = function() {
return this.getToken(OParser.DECIMAL, 0);
};
Javascript_identifierContext.prototype.DATE = function() {
return this.getToken(OParser.DATE, 0);
};
Javascript_identifierContext.prototype.TIME = function() {
return this.getToken(OParser.TIME, 0);
};
Javascript_identifierContext.prototype.DATETIME = function() {
return this.getToken(OParser.DATETIME, 0);
};
Javascript_identifierContext.prototype.PERIOD = function() {
return this.getToken(OParser.PERIOD, 0);
};
Javascript_identifierContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Javascript_identifierContext.prototype.WRITE = function() {
return this.getToken(OParser.WRITE, 0);
};
Javascript_identifierContext.prototype.TEST = function() {
return this.getToken(OParser.TEST, 0);
};
Javascript_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavascript_identifier(this);
}
};
Javascript_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavascript_identifier(this);
}
};
OParser.prototype.javascript_identifier = function() {
var localctx = new Javascript_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 332, OParser.RULE_javascript_identifier);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 1980;
_la = this._input.LA(1);
if(!(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || _la===OParser.DOLLAR_IDENTIFIER)) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_statement;
return this;
}
Python_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_statementContext.prototype.constructor = Python_statementContext;
Python_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonStatementContext(parser, ctx) {
Python_statementContext.call(this, parser);
this.exp = null; // Python_expressionContext;
Python_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonStatementContext.prototype = Object.create(Python_statementContext.prototype);
PythonStatementContext.prototype.constructor = PythonStatementContext;
PythonStatementContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonStatement(this);
}
};
PythonStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonStatement(this);
}
};
function PythonReturnStatementContext(parser, ctx) {
Python_statementContext.call(this, parser);
this.exp = null; // Python_expressionContext;
Python_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonReturnStatementContext.prototype = Object.create(Python_statementContext.prototype);
PythonReturnStatementContext.prototype.constructor = PythonReturnStatementContext;
PythonReturnStatementContext.prototype.RETURN = function() {
return this.getToken(OParser.RETURN, 0);
};
PythonReturnStatementContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonReturnStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonReturnStatement(this);
}
};
PythonReturnStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonReturnStatement(this);
}
};
OParser.prototype.python_statement = function() {
var localctx = new Python_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 334, OParser.RULE_python_statement);
try {
this.state = 1985;
switch(this._input.LA(1)) {
case OParser.RETURN:
localctx = new PythonReturnStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1982;
this.match(OParser.RETURN);
this.state = 1983;
localctx.exp = this.python_expression(0);
break;
case OParser.LPAR:
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.SELF:
case OParser.TEST:
case OParser.THIS:
case OParser.WRITE:
case OParser.BOOLEAN_LITERAL:
case OParser.CHAR_LITERAL:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
case OParser.DOLLAR_IDENTIFIER:
case OParser.TEXT_LITERAL:
case OParser.INTEGER_LITERAL:
case OParser.DECIMAL_LITERAL:
localctx = new PythonStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1984;
localctx.exp = this.python_expression(0);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_expression;
return this;
}
Python_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_expressionContext.prototype.constructor = Python_expressionContext;
Python_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonSelectorExpressionContext(parser, ctx) {
Python_expressionContext.call(this, parser);
this.parent = null; // Python_expressionContext;
this.child = null; // Python_selector_expressionContext;
Python_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonSelectorExpressionContext.prototype = Object.create(Python_expressionContext.prototype);
PythonSelectorExpressionContext.prototype.constructor = PythonSelectorExpressionContext;
PythonSelectorExpressionContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonSelectorExpressionContext.prototype.python_selector_expression = function() {
return this.getTypedRuleContext(Python_selector_expressionContext,0);
};
PythonSelectorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonSelectorExpression(this);
}
};
PythonSelectorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonSelectorExpression(this);
}
};
function PythonPrimaryExpressionContext(parser, ctx) {
Python_expressionContext.call(this, parser);
this.exp = null; // Python_primary_expressionContext;
Python_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonPrimaryExpressionContext.prototype = Object.create(Python_expressionContext.prototype);
PythonPrimaryExpressionContext.prototype.constructor = PythonPrimaryExpressionContext;
PythonPrimaryExpressionContext.prototype.python_primary_expression = function() {
return this.getTypedRuleContext(Python_primary_expressionContext,0);
};
PythonPrimaryExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonPrimaryExpression(this);
}
};
PythonPrimaryExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonPrimaryExpression(this);
}
};
OParser.prototype.python_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Python_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 336;
this.enterRecursionRule(localctx, 336, OParser.RULE_python_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new PythonPrimaryExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 1988;
localctx.exp = this.python_primary_expression();
this._ctx.stop = this._input.LT(-1);
this.state = 1994;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,170,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new PythonSelectorExpressionContext(this, new Python_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_python_expression);
this.state = 1990;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 1991;
localctx.child = this.python_selector_expression();
}
this.state = 1996;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,170,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Python_primary_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_primary_expression;
return this;
}
Python_primary_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_primary_expressionContext.prototype.constructor = Python_primary_expressionContext;
Python_primary_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonParenthesisExpressionContext(parser, ctx) {
Python_primary_expressionContext.call(this, parser);
this.exp = null; // Python_parenthesis_expressionContext;
Python_primary_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonParenthesisExpressionContext.prototype = Object.create(Python_primary_expressionContext.prototype);
PythonParenthesisExpressionContext.prototype.constructor = PythonParenthesisExpressionContext;
PythonParenthesisExpressionContext.prototype.python_parenthesis_expression = function() {
return this.getTypedRuleContext(Python_parenthesis_expressionContext,0);
};
PythonParenthesisExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonParenthesisExpression(this);
}
};
PythonParenthesisExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonParenthesisExpression(this);
}
};
function PythonIdentifierExpressionContext(parser, ctx) {
Python_primary_expressionContext.call(this, parser);
this.exp = null; // Python_identifier_expressionContext;
Python_primary_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonIdentifierExpressionContext.prototype = Object.create(Python_primary_expressionContext.prototype);
PythonIdentifierExpressionContext.prototype.constructor = PythonIdentifierExpressionContext;
PythonIdentifierExpressionContext.prototype.python_identifier_expression = function() {
return this.getTypedRuleContext(Python_identifier_expressionContext,0);
};
PythonIdentifierExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonIdentifierExpression(this);
}
};
PythonIdentifierExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonIdentifierExpression(this);
}
};
function PythonLiteralExpressionContext(parser, ctx) {
Python_primary_expressionContext.call(this, parser);
this.exp = null; // Python_literal_expressionContext;
Python_primary_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonLiteralExpressionContext.prototype = Object.create(Python_primary_expressionContext.prototype);
PythonLiteralExpressionContext.prototype.constructor = PythonLiteralExpressionContext;
PythonLiteralExpressionContext.prototype.python_literal_expression = function() {
return this.getTypedRuleContext(Python_literal_expressionContext,0);
};
PythonLiteralExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonLiteralExpression(this);
}
};
PythonLiteralExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonLiteralExpression(this);
}
};
function PythonGlobalMethodExpressionContext(parser, ctx) {
Python_primary_expressionContext.call(this, parser);
this.exp = null; // Python_method_expressionContext;
Python_primary_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonGlobalMethodExpressionContext.prototype = Object.create(Python_primary_expressionContext.prototype);
PythonGlobalMethodExpressionContext.prototype.constructor = PythonGlobalMethodExpressionContext;
PythonGlobalMethodExpressionContext.prototype.python_method_expression = function() {
return this.getTypedRuleContext(Python_method_expressionContext,0);
};
PythonGlobalMethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonGlobalMethodExpression(this);
}
};
PythonGlobalMethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonGlobalMethodExpression(this);
}
};
OParser.prototype.python_primary_expression = function() {
var localctx = new Python_primary_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 338, OParser.RULE_python_primary_expression);
try {
this.state = 2001;
var la_ = this._interp.adaptivePredict(this._input,171,this._ctx);
switch(la_) {
case 1:
localctx = new PythonParenthesisExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 1997;
localctx.exp = this.python_parenthesis_expression();
break;
case 2:
localctx = new PythonIdentifierExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 1998;
localctx.exp = this.python_identifier_expression(0);
break;
case 3:
localctx = new PythonLiteralExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 1999;
localctx.exp = this.python_literal_expression();
break;
case 4:
localctx = new PythonGlobalMethodExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 2000;
localctx.exp = this.python_method_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_selector_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_selector_expression;
return this;
}
Python_selector_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_selector_expressionContext.prototype.constructor = Python_selector_expressionContext;
Python_selector_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonMethodExpressionContext(parser, ctx) {
Python_selector_expressionContext.call(this, parser);
this.exp = null; // Python_method_expressionContext;
Python_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonMethodExpressionContext.prototype = Object.create(Python_selector_expressionContext.prototype);
PythonMethodExpressionContext.prototype.constructor = PythonMethodExpressionContext;
PythonMethodExpressionContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
PythonMethodExpressionContext.prototype.python_method_expression = function() {
return this.getTypedRuleContext(Python_method_expressionContext,0);
};
PythonMethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonMethodExpression(this);
}
};
PythonMethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonMethodExpression(this);
}
};
function PythonItemExpressionContext(parser, ctx) {
Python_selector_expressionContext.call(this, parser);
this.exp = null; // Python_expressionContext;
Python_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonItemExpressionContext.prototype = Object.create(Python_selector_expressionContext.prototype);
PythonItemExpressionContext.prototype.constructor = PythonItemExpressionContext;
PythonItemExpressionContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
PythonItemExpressionContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
PythonItemExpressionContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonItemExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonItemExpression(this);
}
};
PythonItemExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonItemExpression(this);
}
};
OParser.prototype.python_selector_expression = function() {
var localctx = new Python_selector_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 340, OParser.RULE_python_selector_expression);
try {
this.state = 2009;
switch(this._input.LA(1)) {
case OParser.DOT:
localctx = new PythonMethodExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2003;
this.match(OParser.DOT);
this.state = 2004;
localctx.exp = this.python_method_expression();
break;
case OParser.LBRAK:
localctx = new PythonItemExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2005;
this.match(OParser.LBRAK);
this.state = 2006;
localctx.exp = this.python_expression(0);
this.state = 2007;
this.match(OParser.RBRAK);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_method_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_method_expression;
this.name = null; // Python_identifierContext
this.args = null; // Python_argument_listContext
return this;
}
Python_method_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_method_expressionContext.prototype.constructor = Python_method_expressionContext;
Python_method_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Python_method_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Python_method_expressionContext.prototype.python_identifier = function() {
return this.getTypedRuleContext(Python_identifierContext,0);
};
Python_method_expressionContext.prototype.python_argument_list = function() {
return this.getTypedRuleContext(Python_argument_listContext,0);
};
Python_method_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_method_expression(this);
}
};
Python_method_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_method_expression(this);
}
};
OParser.prototype.python_method_expression = function() {
var localctx = new Python_method_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 342, OParser.RULE_python_method_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2011;
localctx.name = this.python_identifier();
this.state = 2012;
this.match(OParser.LPAR);
this.state = 2014;
_la = this._input.LA(1);
if(_la===OParser.LPAR || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (OParser.DOLLAR_IDENTIFIER - 160)) | (1 << (OParser.TEXT_LITERAL - 160)) | (1 << (OParser.INTEGER_LITERAL - 160)) | (1 << (OParser.DECIMAL_LITERAL - 160)))) !== 0)) {
this.state = 2013;
localctx.args = this.python_argument_list();
}
this.state = 2016;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_argument_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_argument_list;
return this;
}
Python_argument_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_argument_listContext.prototype.constructor = Python_argument_listContext;
Python_argument_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonOrdinalOnlyArgumentListContext(parser, ctx) {
Python_argument_listContext.call(this, parser);
this.ordinal = null; // Python_ordinal_argument_listContext;
Python_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonOrdinalOnlyArgumentListContext.prototype = Object.create(Python_argument_listContext.prototype);
PythonOrdinalOnlyArgumentListContext.prototype.constructor = PythonOrdinalOnlyArgumentListContext;
PythonOrdinalOnlyArgumentListContext.prototype.python_ordinal_argument_list = function() {
return this.getTypedRuleContext(Python_ordinal_argument_listContext,0);
};
PythonOrdinalOnlyArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonOrdinalOnlyArgumentList(this);
}
};
PythonOrdinalOnlyArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonOrdinalOnlyArgumentList(this);
}
};
function PythonNamedOnlyArgumentListContext(parser, ctx) {
Python_argument_listContext.call(this, parser);
this.named = null; // Python_named_argument_listContext;
Python_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonNamedOnlyArgumentListContext.prototype = Object.create(Python_argument_listContext.prototype);
PythonNamedOnlyArgumentListContext.prototype.constructor = PythonNamedOnlyArgumentListContext;
PythonNamedOnlyArgumentListContext.prototype.python_named_argument_list = function() {
return this.getTypedRuleContext(Python_named_argument_listContext,0);
};
PythonNamedOnlyArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonNamedOnlyArgumentList(this);
}
};
PythonNamedOnlyArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonNamedOnlyArgumentList(this);
}
};
function PythonArgumentListContext(parser, ctx) {
Python_argument_listContext.call(this, parser);
this.ordinal = null; // Python_ordinal_argument_listContext;
this.named = null; // Python_named_argument_listContext;
Python_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonArgumentListContext.prototype = Object.create(Python_argument_listContext.prototype);
PythonArgumentListContext.prototype.constructor = PythonArgumentListContext;
PythonArgumentListContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
PythonArgumentListContext.prototype.python_ordinal_argument_list = function() {
return this.getTypedRuleContext(Python_ordinal_argument_listContext,0);
};
PythonArgumentListContext.prototype.python_named_argument_list = function() {
return this.getTypedRuleContext(Python_named_argument_listContext,0);
};
PythonArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonArgumentList(this);
}
};
PythonArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonArgumentList(this);
}
};
OParser.prototype.python_argument_list = function() {
var localctx = new Python_argument_listContext(this, this._ctx, this.state);
this.enterRule(localctx, 344, OParser.RULE_python_argument_list);
try {
this.state = 2024;
var la_ = this._interp.adaptivePredict(this._input,174,this._ctx);
switch(la_) {
case 1:
localctx = new PythonOrdinalOnlyArgumentListContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2018;
localctx.ordinal = this.python_ordinal_argument_list(0);
break;
case 2:
localctx = new PythonNamedOnlyArgumentListContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2019;
localctx.named = this.python_named_argument_list(0);
break;
case 3:
localctx = new PythonArgumentListContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 2020;
localctx.ordinal = this.python_ordinal_argument_list(0);
this.state = 2021;
this.match(OParser.COMMA);
this.state = 2022;
localctx.named = this.python_named_argument_list(0);
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_ordinal_argument_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_ordinal_argument_list;
return this;
}
Python_ordinal_argument_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_ordinal_argument_listContext.prototype.constructor = Python_ordinal_argument_listContext;
Python_ordinal_argument_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonOrdinalArgumentListContext(parser, ctx) {
Python_ordinal_argument_listContext.call(this, parser);
this.item = null; // Python_expressionContext;
Python_ordinal_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonOrdinalArgumentListContext.prototype = Object.create(Python_ordinal_argument_listContext.prototype);
PythonOrdinalArgumentListContext.prototype.constructor = PythonOrdinalArgumentListContext;
PythonOrdinalArgumentListContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonOrdinalArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonOrdinalArgumentList(this);
}
};
PythonOrdinalArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonOrdinalArgumentList(this);
}
};
function PythonOrdinalArgumentListItemContext(parser, ctx) {
Python_ordinal_argument_listContext.call(this, parser);
this.items = null; // Python_ordinal_argument_listContext;
this.item = null; // Python_expressionContext;
Python_ordinal_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonOrdinalArgumentListItemContext.prototype = Object.create(Python_ordinal_argument_listContext.prototype);
PythonOrdinalArgumentListItemContext.prototype.constructor = PythonOrdinalArgumentListItemContext;
PythonOrdinalArgumentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
PythonOrdinalArgumentListItemContext.prototype.python_ordinal_argument_list = function() {
return this.getTypedRuleContext(Python_ordinal_argument_listContext,0);
};
PythonOrdinalArgumentListItemContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonOrdinalArgumentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonOrdinalArgumentListItem(this);
}
};
PythonOrdinalArgumentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonOrdinalArgumentListItem(this);
}
};
OParser.prototype.python_ordinal_argument_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Python_ordinal_argument_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 346;
this.enterRecursionRule(localctx, 346, OParser.RULE_python_ordinal_argument_list, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new PythonOrdinalArgumentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2027;
localctx.item = this.python_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 2034;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,175,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new PythonOrdinalArgumentListItemContext(this, new Python_ordinal_argument_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_python_ordinal_argument_list);
this.state = 2029;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2030;
this.match(OParser.COMMA);
this.state = 2031;
localctx.item = this.python_expression(0);
}
this.state = 2036;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,175,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Python_named_argument_listContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_named_argument_list;
return this;
}
Python_named_argument_listContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_named_argument_listContext.prototype.constructor = Python_named_argument_listContext;
Python_named_argument_listContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonNamedArgumentListContext(parser, ctx) {
Python_named_argument_listContext.call(this, parser);
this.name = null; // Python_identifierContext;
this.exp = null; // Python_expressionContext;
Python_named_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonNamedArgumentListContext.prototype = Object.create(Python_named_argument_listContext.prototype);
PythonNamedArgumentListContext.prototype.constructor = PythonNamedArgumentListContext;
PythonNamedArgumentListContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
PythonNamedArgumentListContext.prototype.python_identifier = function() {
return this.getTypedRuleContext(Python_identifierContext,0);
};
PythonNamedArgumentListContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonNamedArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonNamedArgumentList(this);
}
};
PythonNamedArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonNamedArgumentList(this);
}
};
function PythonNamedArgumentListItemContext(parser, ctx) {
Python_named_argument_listContext.call(this, parser);
this.items = null; // Python_named_argument_listContext;
this.name = null; // Python_identifierContext;
this.exp = null; // Python_expressionContext;
Python_named_argument_listContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonNamedArgumentListItemContext.prototype = Object.create(Python_named_argument_listContext.prototype);
PythonNamedArgumentListItemContext.prototype.constructor = PythonNamedArgumentListItemContext;
PythonNamedArgumentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
PythonNamedArgumentListItemContext.prototype.EQ = function() {
return this.getToken(OParser.EQ, 0);
};
PythonNamedArgumentListItemContext.prototype.python_named_argument_list = function() {
return this.getTypedRuleContext(Python_named_argument_listContext,0);
};
PythonNamedArgumentListItemContext.prototype.python_identifier = function() {
return this.getTypedRuleContext(Python_identifierContext,0);
};
PythonNamedArgumentListItemContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
PythonNamedArgumentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonNamedArgumentListItem(this);
}
};
PythonNamedArgumentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonNamedArgumentListItem(this);
}
};
OParser.prototype.python_named_argument_list = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Python_named_argument_listContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 348;
this.enterRecursionRule(localctx, 348, OParser.RULE_python_named_argument_list, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new PythonNamedArgumentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2038;
localctx.name = this.python_identifier();
this.state = 2039;
this.match(OParser.EQ);
this.state = 2040;
localctx.exp = this.python_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 2050;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,176,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new PythonNamedArgumentListItemContext(this, new Python_named_argument_listContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_python_named_argument_list);
this.state = 2042;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2043;
this.match(OParser.COMMA);
this.state = 2044;
localctx.name = this.python_identifier();
this.state = 2045;
this.match(OParser.EQ);
this.state = 2046;
localctx.exp = this.python_expression(0);
}
this.state = 2052;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,176,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Python_parenthesis_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_parenthesis_expression;
this.exp = null; // Python_expressionContext
return this;
}
Python_parenthesis_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_parenthesis_expressionContext.prototype.constructor = Python_parenthesis_expressionContext;
Python_parenthesis_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Python_parenthesis_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Python_parenthesis_expressionContext.prototype.python_expression = function() {
return this.getTypedRuleContext(Python_expressionContext,0);
};
Python_parenthesis_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_parenthesis_expression(this);
}
};
Python_parenthesis_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_parenthesis_expression(this);
}
};
OParser.prototype.python_parenthesis_expression = function() {
var localctx = new Python_parenthesis_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 350, OParser.RULE_python_parenthesis_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2053;
this.match(OParser.LPAR);
this.state = 2054;
localctx.exp = this.python_expression(0);
this.state = 2055;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_identifier_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_identifier_expression;
return this;
}
Python_identifier_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_identifier_expressionContext.prototype.constructor = Python_identifier_expressionContext;
Python_identifier_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonChildIdentifierContext(parser, ctx) {
Python_identifier_expressionContext.call(this, parser);
this.parent = null; // Python_identifier_expressionContext;
this.name = null; // Python_identifierContext;
Python_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonChildIdentifierContext.prototype = Object.create(Python_identifier_expressionContext.prototype);
PythonChildIdentifierContext.prototype.constructor = PythonChildIdentifierContext;
PythonChildIdentifierContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
PythonChildIdentifierContext.prototype.python_identifier_expression = function() {
return this.getTypedRuleContext(Python_identifier_expressionContext,0);
};
PythonChildIdentifierContext.prototype.python_identifier = function() {
return this.getTypedRuleContext(Python_identifierContext,0);
};
PythonChildIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonChildIdentifier(this);
}
};
PythonChildIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonChildIdentifier(this);
}
};
function PythonPromptoIdentifierContext(parser, ctx) {
Python_identifier_expressionContext.call(this, parser);
Python_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonPromptoIdentifierContext.prototype = Object.create(Python_identifier_expressionContext.prototype);
PythonPromptoIdentifierContext.prototype.constructor = PythonPromptoIdentifierContext;
PythonPromptoIdentifierContext.prototype.DOLLAR_IDENTIFIER = function() {
return this.getToken(OParser.DOLLAR_IDENTIFIER, 0);
};
PythonPromptoIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonPromptoIdentifier(this);
}
};
PythonPromptoIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonPromptoIdentifier(this);
}
};
function PythonIdentifierContext(parser, ctx) {
Python_identifier_expressionContext.call(this, parser);
this.name = null; // Python_identifierContext;
Python_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonIdentifierContext.prototype = Object.create(Python_identifier_expressionContext.prototype);
PythonIdentifierContext.prototype.constructor = PythonIdentifierContext;
PythonIdentifierContext.prototype.python_identifier = function() {
return this.getTypedRuleContext(Python_identifierContext,0);
};
PythonIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonIdentifier(this);
}
};
PythonIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonIdentifier(this);
}
};
OParser.prototype.python_identifier_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Python_identifier_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 352;
this.enterRecursionRule(localctx, 352, OParser.RULE_python_identifier_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2060;
switch(this._input.LA(1)) {
case OParser.DOLLAR_IDENTIFIER:
localctx = new PythonPromptoIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2058;
this.match(OParser.DOLLAR_IDENTIFIER);
break;
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.SELF:
case OParser.TEST:
case OParser.THIS:
case OParser.WRITE:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
localctx = new PythonIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2059;
localctx.name = this.python_identifier();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
this._ctx.stop = this._input.LT(-1);
this.state = 2067;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,178,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new PythonChildIdentifierContext(this, new Python_identifier_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_python_identifier_expression);
this.state = 2062;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2063;
this.match(OParser.DOT);
this.state = 2064;
localctx.name = this.python_identifier();
}
this.state = 2069;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,178,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Python_literal_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_literal_expression;
return this;
}
Python_literal_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_literal_expressionContext.prototype.constructor = Python_literal_expressionContext;
Python_literal_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function PythonIntegerLiteralContext(parser, ctx) {
Python_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Python_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonIntegerLiteralContext.prototype = Object.create(Python_literal_expressionContext.prototype);
PythonIntegerLiteralContext.prototype.constructor = PythonIntegerLiteralContext;
PythonIntegerLiteralContext.prototype.INTEGER_LITERAL = function() {
return this.getToken(OParser.INTEGER_LITERAL, 0);
};
PythonIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonIntegerLiteral(this);
}
};
PythonIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonIntegerLiteral(this);
}
};
function PythonBooleanLiteralContext(parser, ctx) {
Python_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Python_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonBooleanLiteralContext.prototype = Object.create(Python_literal_expressionContext.prototype);
PythonBooleanLiteralContext.prototype.constructor = PythonBooleanLiteralContext;
PythonBooleanLiteralContext.prototype.BOOLEAN_LITERAL = function() {
return this.getToken(OParser.BOOLEAN_LITERAL, 0);
};
PythonBooleanLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonBooleanLiteral(this);
}
};
PythonBooleanLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonBooleanLiteral(this);
}
};
function PythonCharacterLiteralContext(parser, ctx) {
Python_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Python_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonCharacterLiteralContext.prototype = Object.create(Python_literal_expressionContext.prototype);
PythonCharacterLiteralContext.prototype.constructor = PythonCharacterLiteralContext;
PythonCharacterLiteralContext.prototype.CHAR_LITERAL = function() {
return this.getToken(OParser.CHAR_LITERAL, 0);
};
PythonCharacterLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonCharacterLiteral(this);
}
};
PythonCharacterLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonCharacterLiteral(this);
}
};
function PythonTextLiteralContext(parser, ctx) {
Python_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Python_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonTextLiteralContext.prototype = Object.create(Python_literal_expressionContext.prototype);
PythonTextLiteralContext.prototype.constructor = PythonTextLiteralContext;
PythonTextLiteralContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
PythonTextLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonTextLiteral(this);
}
};
PythonTextLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonTextLiteral(this);
}
};
function PythonDecimalLiteralContext(parser, ctx) {
Python_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Python_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
PythonDecimalLiteralContext.prototype = Object.create(Python_literal_expressionContext.prototype);
PythonDecimalLiteralContext.prototype.constructor = PythonDecimalLiteralContext;
PythonDecimalLiteralContext.prototype.DECIMAL_LITERAL = function() {
return this.getToken(OParser.DECIMAL_LITERAL, 0);
};
PythonDecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPythonDecimalLiteral(this);
}
};
PythonDecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPythonDecimalLiteral(this);
}
};
OParser.prototype.python_literal_expression = function() {
var localctx = new Python_literal_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 354, OParser.RULE_python_literal_expression);
try {
this.state = 2075;
switch(this._input.LA(1)) {
case OParser.INTEGER_LITERAL:
localctx = new PythonIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2070;
localctx.t = this.match(OParser.INTEGER_LITERAL);
break;
case OParser.DECIMAL_LITERAL:
localctx = new PythonDecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2071;
localctx.t = this.match(OParser.DECIMAL_LITERAL);
break;
case OParser.TEXT_LITERAL:
localctx = new PythonTextLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 2072;
localctx.t = this.match(OParser.TEXT_LITERAL);
break;
case OParser.BOOLEAN_LITERAL:
localctx = new PythonBooleanLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 2073;
localctx.t = this.match(OParser.BOOLEAN_LITERAL);
break;
case OParser.CHAR_LITERAL:
localctx = new PythonCharacterLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 2074;
localctx.t = this.match(OParser.CHAR_LITERAL);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Python_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_python_identifier;
return this;
}
Python_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Python_identifierContext.prototype.constructor = Python_identifierContext;
Python_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Python_identifierContext.prototype.SYMBOL_IDENTIFIER = function() {
return this.getToken(OParser.SYMBOL_IDENTIFIER, 0);
};
Python_identifierContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Python_identifierContext.prototype.BOOLEAN = function() {
return this.getToken(OParser.BOOLEAN, 0);
};
Python_identifierContext.prototype.CHARACTER = function() {
return this.getToken(OParser.CHARACTER, 0);
};
Python_identifierContext.prototype.TEXT = function() {
return this.getToken(OParser.TEXT, 0);
};
Python_identifierContext.prototype.INTEGER = function() {
return this.getToken(OParser.INTEGER, 0);
};
Python_identifierContext.prototype.DECIMAL = function() {
return this.getToken(OParser.DECIMAL, 0);
};
Python_identifierContext.prototype.DATE = function() {
return this.getToken(OParser.DATE, 0);
};
Python_identifierContext.prototype.TIME = function() {
return this.getToken(OParser.TIME, 0);
};
Python_identifierContext.prototype.DATETIME = function() {
return this.getToken(OParser.DATETIME, 0);
};
Python_identifierContext.prototype.PERIOD = function() {
return this.getToken(OParser.PERIOD, 0);
};
Python_identifierContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Python_identifierContext.prototype.WRITE = function() {
return this.getToken(OParser.WRITE, 0);
};
Python_identifierContext.prototype.TEST = function() {
return this.getToken(OParser.TEST, 0);
};
Python_identifierContext.prototype.SELF = function() {
return this.getToken(OParser.SELF, 0);
};
Python_identifierContext.prototype.THIS = function() {
return this.getToken(OParser.THIS, 0);
};
Python_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterPython_identifier(this);
}
};
Python_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitPython_identifier(this);
}
};
OParser.prototype.python_identifier = function() {
var localctx = new Python_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 356, OParser.RULE_python_identifier);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2077;
_la = this._input.LA(1);
if(!(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0))) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_statement;
return this;
}
Java_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_statementContext.prototype.constructor = Java_statementContext;
Java_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaReturnStatementContext(parser, ctx) {
Java_statementContext.call(this, parser);
this.exp = null; // Java_expressionContext;
Java_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaReturnStatementContext.prototype = Object.create(Java_statementContext.prototype);
JavaReturnStatementContext.prototype.constructor = JavaReturnStatementContext;
JavaReturnStatementContext.prototype.RETURN = function() {
return this.getToken(OParser.RETURN, 0);
};
JavaReturnStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
JavaReturnStatementContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
JavaReturnStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaReturnStatement(this);
}
};
JavaReturnStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaReturnStatement(this);
}
};
function JavaStatementContext(parser, ctx) {
Java_statementContext.call(this, parser);
this.exp = null; // Java_expressionContext;
Java_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaStatementContext.prototype = Object.create(Java_statementContext.prototype);
JavaStatementContext.prototype.constructor = JavaStatementContext;
JavaStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
JavaStatementContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
JavaStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaStatement(this);
}
};
JavaStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaStatement(this);
}
};
OParser.prototype.java_statement = function() {
var localctx = new Java_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 358, OParser.RULE_java_statement);
try {
this.state = 2086;
switch(this._input.LA(1)) {
case OParser.RETURN:
localctx = new JavaReturnStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2079;
this.match(OParser.RETURN);
this.state = 2080;
localctx.exp = this.java_expression(0);
this.state = 2081;
this.match(OParser.SEMI);
break;
case OParser.LPAR:
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.SELF:
case OParser.TEST:
case OParser.THIS:
case OParser.WRITE:
case OParser.BOOLEAN_LITERAL:
case OParser.CHAR_LITERAL:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
case OParser.NATIVE_IDENTIFIER:
case OParser.DOLLAR_IDENTIFIER:
case OParser.TEXT_LITERAL:
case OParser.INTEGER_LITERAL:
case OParser.DECIMAL_LITERAL:
localctx = new JavaStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2083;
localctx.exp = this.java_expression(0);
this.state = 2084;
this.match(OParser.SEMI);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_expression;
return this;
}
Java_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_expressionContext.prototype.constructor = Java_expressionContext;
Java_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaSelectorExpressionContext(parser, ctx) {
Java_expressionContext.call(this, parser);
this.parent = null; // Java_expressionContext;
this.child = null; // Java_selector_expressionContext;
Java_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaSelectorExpressionContext.prototype = Object.create(Java_expressionContext.prototype);
JavaSelectorExpressionContext.prototype.constructor = JavaSelectorExpressionContext;
JavaSelectorExpressionContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
JavaSelectorExpressionContext.prototype.java_selector_expression = function() {
return this.getTypedRuleContext(Java_selector_expressionContext,0);
};
JavaSelectorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaSelectorExpression(this);
}
};
JavaSelectorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaSelectorExpression(this);
}
};
function JavaPrimaryExpressionContext(parser, ctx) {
Java_expressionContext.call(this, parser);
this.exp = null; // Java_primary_expressionContext;
Java_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaPrimaryExpressionContext.prototype = Object.create(Java_expressionContext.prototype);
JavaPrimaryExpressionContext.prototype.constructor = JavaPrimaryExpressionContext;
JavaPrimaryExpressionContext.prototype.java_primary_expression = function() {
return this.getTypedRuleContext(Java_primary_expressionContext,0);
};
JavaPrimaryExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaPrimaryExpression(this);
}
};
JavaPrimaryExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaPrimaryExpression(this);
}
};
OParser.prototype.java_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Java_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 360;
this.enterRecursionRule(localctx, 360, OParser.RULE_java_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavaPrimaryExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2089;
localctx.exp = this.java_primary_expression();
this._ctx.stop = this._input.LT(-1);
this.state = 2095;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,181,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavaSelectorExpressionContext(this, new Java_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_java_expression);
this.state = 2091;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2092;
localctx.child = this.java_selector_expression();
}
this.state = 2097;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,181,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Java_primary_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_primary_expression;
return this;
}
Java_primary_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_primary_expressionContext.prototype.constructor = Java_primary_expressionContext;
Java_primary_expressionContext.prototype.java_this_expression = function() {
return this.getTypedRuleContext(Java_this_expressionContext,0);
};
Java_primary_expressionContext.prototype.java_new_expression = function() {
return this.getTypedRuleContext(Java_new_expressionContext,0);
};
Java_primary_expressionContext.prototype.java_parenthesis_expression = function() {
return this.getTypedRuleContext(Java_parenthesis_expressionContext,0);
};
Java_primary_expressionContext.prototype.java_identifier_expression = function() {
return this.getTypedRuleContext(Java_identifier_expressionContext,0);
};
Java_primary_expressionContext.prototype.java_literal_expression = function() {
return this.getTypedRuleContext(Java_literal_expressionContext,0);
};
Java_primary_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_primary_expression(this);
}
};
Java_primary_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_primary_expression(this);
}
};
OParser.prototype.java_primary_expression = function() {
var localctx = new Java_primary_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 362, OParser.RULE_java_primary_expression);
try {
this.state = 2103;
var la_ = this._interp.adaptivePredict(this._input,182,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 2098;
this.java_this_expression();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 2099;
this.java_new_expression();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 2100;
this.java_parenthesis_expression();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 2101;
this.java_identifier_expression(0);
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 2102;
this.java_literal_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_this_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_this_expression;
return this;
}
Java_this_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_this_expressionContext.prototype.constructor = Java_this_expressionContext;
Java_this_expressionContext.prototype.this_expression = function() {
return this.getTypedRuleContext(This_expressionContext,0);
};
Java_this_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_this_expression(this);
}
};
Java_this_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_this_expression(this);
}
};
OParser.prototype.java_this_expression = function() {
var localctx = new Java_this_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 364, OParser.RULE_java_this_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2105;
this.this_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_new_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_new_expression;
return this;
}
Java_new_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_new_expressionContext.prototype.constructor = Java_new_expressionContext;
Java_new_expressionContext.prototype.new_token = function() {
return this.getTypedRuleContext(New_tokenContext,0);
};
Java_new_expressionContext.prototype.java_method_expression = function() {
return this.getTypedRuleContext(Java_method_expressionContext,0);
};
Java_new_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_new_expression(this);
}
};
Java_new_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_new_expression(this);
}
};
OParser.prototype.java_new_expression = function() {
var localctx = new Java_new_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 366, OParser.RULE_java_new_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2107;
this.new_token();
this.state = 2108;
this.java_method_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_selector_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_selector_expression;
return this;
}
Java_selector_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_selector_expressionContext.prototype.constructor = Java_selector_expressionContext;
Java_selector_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaItemExpressionContext(parser, ctx) {
Java_selector_expressionContext.call(this, parser);
this.exp = null; // Java_item_expressionContext;
Java_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaItemExpressionContext.prototype = Object.create(Java_selector_expressionContext.prototype);
JavaItemExpressionContext.prototype.constructor = JavaItemExpressionContext;
JavaItemExpressionContext.prototype.java_item_expression = function() {
return this.getTypedRuleContext(Java_item_expressionContext,0);
};
JavaItemExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaItemExpression(this);
}
};
JavaItemExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaItemExpression(this);
}
};
function JavaMethodExpressionContext(parser, ctx) {
Java_selector_expressionContext.call(this, parser);
this.exp = null; // Java_method_expressionContext;
Java_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaMethodExpressionContext.prototype = Object.create(Java_selector_expressionContext.prototype);
JavaMethodExpressionContext.prototype.constructor = JavaMethodExpressionContext;
JavaMethodExpressionContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
JavaMethodExpressionContext.prototype.java_method_expression = function() {
return this.getTypedRuleContext(Java_method_expressionContext,0);
};
JavaMethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaMethodExpression(this);
}
};
JavaMethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaMethodExpression(this);
}
};
OParser.prototype.java_selector_expression = function() {
var localctx = new Java_selector_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 368, OParser.RULE_java_selector_expression);
try {
this.state = 2113;
switch(this._input.LA(1)) {
case OParser.DOT:
localctx = new JavaMethodExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2110;
this.match(OParser.DOT);
this.state = 2111;
localctx.exp = this.java_method_expression();
break;
case OParser.LBRAK:
localctx = new JavaItemExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2112;
localctx.exp = this.java_item_expression();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_method_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_method_expression;
this.name = null; // Java_identifierContext
this.args = null; // Java_argumentsContext
return this;
}
Java_method_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_method_expressionContext.prototype.constructor = Java_method_expressionContext;
Java_method_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Java_method_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Java_method_expressionContext.prototype.java_identifier = function() {
return this.getTypedRuleContext(Java_identifierContext,0);
};
Java_method_expressionContext.prototype.java_arguments = function() {
return this.getTypedRuleContext(Java_argumentsContext,0);
};
Java_method_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_method_expression(this);
}
};
Java_method_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_method_expression(this);
}
};
OParser.prototype.java_method_expression = function() {
var localctx = new Java_method_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 370, OParser.RULE_java_method_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2115;
localctx.name = this.java_identifier();
this.state = 2116;
this.match(OParser.LPAR);
this.state = 2118;
_la = this._input.LA(1);
if(_la===OParser.LPAR || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)) | (1 << (OParser.NATIVE_IDENTIFIER - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (OParser.DOLLAR_IDENTIFIER - 160)) | (1 << (OParser.TEXT_LITERAL - 160)) | (1 << (OParser.INTEGER_LITERAL - 160)) | (1 << (OParser.DECIMAL_LITERAL - 160)))) !== 0)) {
this.state = 2117;
localctx.args = this.java_arguments(0);
}
this.state = 2120;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_argumentsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_arguments;
return this;
}
Java_argumentsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_argumentsContext.prototype.constructor = Java_argumentsContext;
Java_argumentsContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaArgumentListItemContext(parser, ctx) {
Java_argumentsContext.call(this, parser);
this.items = null; // Java_argumentsContext;
this.item = null; // Java_expressionContext;
Java_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaArgumentListItemContext.prototype = Object.create(Java_argumentsContext.prototype);
JavaArgumentListItemContext.prototype.constructor = JavaArgumentListItemContext;
JavaArgumentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
JavaArgumentListItemContext.prototype.java_arguments = function() {
return this.getTypedRuleContext(Java_argumentsContext,0);
};
JavaArgumentListItemContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
JavaArgumentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaArgumentListItem(this);
}
};
JavaArgumentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaArgumentListItem(this);
}
};
function JavaArgumentListContext(parser, ctx) {
Java_argumentsContext.call(this, parser);
this.item = null; // Java_expressionContext;
Java_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaArgumentListContext.prototype = Object.create(Java_argumentsContext.prototype);
JavaArgumentListContext.prototype.constructor = JavaArgumentListContext;
JavaArgumentListContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
JavaArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaArgumentList(this);
}
};
JavaArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaArgumentList(this);
}
};
OParser.prototype.java_arguments = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Java_argumentsContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 372;
this.enterRecursionRule(localctx, 372, OParser.RULE_java_arguments, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavaArgumentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2123;
localctx.item = this.java_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 2130;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,185,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavaArgumentListItemContext(this, new Java_argumentsContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_java_arguments);
this.state = 2125;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2126;
this.match(OParser.COMMA);
this.state = 2127;
localctx.item = this.java_expression(0);
}
this.state = 2132;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,185,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Java_item_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_item_expression;
this.exp = null; // Java_expressionContext
return this;
}
Java_item_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_item_expressionContext.prototype.constructor = Java_item_expressionContext;
Java_item_expressionContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
Java_item_expressionContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
Java_item_expressionContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
Java_item_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_item_expression(this);
}
};
Java_item_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_item_expression(this);
}
};
OParser.prototype.java_item_expression = function() {
var localctx = new Java_item_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 374, OParser.RULE_java_item_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2133;
this.match(OParser.LBRAK);
this.state = 2134;
localctx.exp = this.java_expression(0);
this.state = 2135;
this.match(OParser.RBRAK);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_parenthesis_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_parenthesis_expression;
this.exp = null; // Java_expressionContext
return this;
}
Java_parenthesis_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_parenthesis_expressionContext.prototype.constructor = Java_parenthesis_expressionContext;
Java_parenthesis_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Java_parenthesis_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Java_parenthesis_expressionContext.prototype.java_expression = function() {
return this.getTypedRuleContext(Java_expressionContext,0);
};
Java_parenthesis_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_parenthesis_expression(this);
}
};
Java_parenthesis_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_parenthesis_expression(this);
}
};
OParser.prototype.java_parenthesis_expression = function() {
var localctx = new Java_parenthesis_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 376, OParser.RULE_java_parenthesis_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2137;
this.match(OParser.LPAR);
this.state = 2138;
localctx.exp = this.java_expression(0);
this.state = 2139;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_identifier_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_identifier_expression;
return this;
}
Java_identifier_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_identifier_expressionContext.prototype.constructor = Java_identifier_expressionContext;
Java_identifier_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaIdentifierContext(parser, ctx) {
Java_identifier_expressionContext.call(this, parser);
this.name = null; // Java_identifierContext;
Java_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaIdentifierContext.prototype = Object.create(Java_identifier_expressionContext.prototype);
JavaIdentifierContext.prototype.constructor = JavaIdentifierContext;
JavaIdentifierContext.prototype.java_identifier = function() {
return this.getTypedRuleContext(Java_identifierContext,0);
};
JavaIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaIdentifier(this);
}
};
JavaIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaIdentifier(this);
}
};
function JavaChildIdentifierContext(parser, ctx) {
Java_identifier_expressionContext.call(this, parser);
this.parent = null; // Java_identifier_expressionContext;
this.name = null; // Java_identifierContext;
Java_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaChildIdentifierContext.prototype = Object.create(Java_identifier_expressionContext.prototype);
JavaChildIdentifierContext.prototype.constructor = JavaChildIdentifierContext;
JavaChildIdentifierContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
JavaChildIdentifierContext.prototype.java_identifier_expression = function() {
return this.getTypedRuleContext(Java_identifier_expressionContext,0);
};
JavaChildIdentifierContext.prototype.java_identifier = function() {
return this.getTypedRuleContext(Java_identifierContext,0);
};
JavaChildIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaChildIdentifier(this);
}
};
JavaChildIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaChildIdentifier(this);
}
};
OParser.prototype.java_identifier_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Java_identifier_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 378;
this.enterRecursionRule(localctx, 378, OParser.RULE_java_identifier_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavaIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2142;
localctx.name = this.java_identifier();
this._ctx.stop = this._input.LT(-1);
this.state = 2149;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,186,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavaChildIdentifierContext(this, new Java_identifier_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_java_identifier_expression);
this.state = 2144;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2145;
this.match(OParser.DOT);
this.state = 2146;
localctx.name = this.java_identifier();
}
this.state = 2151;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,186,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Java_class_identifier_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_class_identifier_expression;
return this;
}
Java_class_identifier_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_class_identifier_expressionContext.prototype.constructor = Java_class_identifier_expressionContext;
Java_class_identifier_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaClassIdentifierContext(parser, ctx) {
Java_class_identifier_expressionContext.call(this, parser);
this.klass = null; // Java_identifier_expressionContext;
Java_class_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaClassIdentifierContext.prototype = Object.create(Java_class_identifier_expressionContext.prototype);
JavaClassIdentifierContext.prototype.constructor = JavaClassIdentifierContext;
JavaClassIdentifierContext.prototype.java_identifier_expression = function() {
return this.getTypedRuleContext(Java_identifier_expressionContext,0);
};
JavaClassIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaClassIdentifier(this);
}
};
JavaClassIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaClassIdentifier(this);
}
};
function JavaChildClassIdentifierContext(parser, ctx) {
Java_class_identifier_expressionContext.call(this, parser);
this.parent = null; // Java_class_identifier_expressionContext;
this.name = null; // Token;
Java_class_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaChildClassIdentifierContext.prototype = Object.create(Java_class_identifier_expressionContext.prototype);
JavaChildClassIdentifierContext.prototype.constructor = JavaChildClassIdentifierContext;
JavaChildClassIdentifierContext.prototype.java_class_identifier_expression = function() {
return this.getTypedRuleContext(Java_class_identifier_expressionContext,0);
};
JavaChildClassIdentifierContext.prototype.DOLLAR_IDENTIFIER = function() {
return this.getToken(OParser.DOLLAR_IDENTIFIER, 0);
};
JavaChildClassIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaChildClassIdentifier(this);
}
};
JavaChildClassIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaChildClassIdentifier(this);
}
};
OParser.prototype.java_class_identifier_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Java_class_identifier_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 380;
this.enterRecursionRule(localctx, 380, OParser.RULE_java_class_identifier_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new JavaClassIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2153;
localctx.klass = this.java_identifier_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 2159;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,187,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new JavaChildClassIdentifierContext(this, new Java_class_identifier_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_java_class_identifier_expression);
this.state = 2155;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2156;
localctx.name = this.match(OParser.DOLLAR_IDENTIFIER);
}
this.state = 2161;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,187,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Java_literal_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_literal_expression;
return this;
}
Java_literal_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_literal_expressionContext.prototype.constructor = Java_literal_expressionContext;
Java_literal_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function JavaBooleanLiteralContext(parser, ctx) {
Java_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Java_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaBooleanLiteralContext.prototype = Object.create(Java_literal_expressionContext.prototype);
JavaBooleanLiteralContext.prototype.constructor = JavaBooleanLiteralContext;
JavaBooleanLiteralContext.prototype.BOOLEAN_LITERAL = function() {
return this.getToken(OParser.BOOLEAN_LITERAL, 0);
};
JavaBooleanLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaBooleanLiteral(this);
}
};
JavaBooleanLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaBooleanLiteral(this);
}
};
function JavaCharacterLiteralContext(parser, ctx) {
Java_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Java_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaCharacterLiteralContext.prototype = Object.create(Java_literal_expressionContext.prototype);
JavaCharacterLiteralContext.prototype.constructor = JavaCharacterLiteralContext;
JavaCharacterLiteralContext.prototype.CHAR_LITERAL = function() {
return this.getToken(OParser.CHAR_LITERAL, 0);
};
JavaCharacterLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaCharacterLiteral(this);
}
};
JavaCharacterLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaCharacterLiteral(this);
}
};
function JavaIntegerLiteralContext(parser, ctx) {
Java_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Java_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaIntegerLiteralContext.prototype = Object.create(Java_literal_expressionContext.prototype);
JavaIntegerLiteralContext.prototype.constructor = JavaIntegerLiteralContext;
JavaIntegerLiteralContext.prototype.INTEGER_LITERAL = function() {
return this.getToken(OParser.INTEGER_LITERAL, 0);
};
JavaIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaIntegerLiteral(this);
}
};
JavaIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaIntegerLiteral(this);
}
};
function JavaTextLiteralContext(parser, ctx) {
Java_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Java_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaTextLiteralContext.prototype = Object.create(Java_literal_expressionContext.prototype);
JavaTextLiteralContext.prototype.constructor = JavaTextLiteralContext;
JavaTextLiteralContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
JavaTextLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaTextLiteral(this);
}
};
JavaTextLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaTextLiteral(this);
}
};
function JavaDecimalLiteralContext(parser, ctx) {
Java_literal_expressionContext.call(this, parser);
this.t = null; // Token;
Java_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
JavaDecimalLiteralContext.prototype = Object.create(Java_literal_expressionContext.prototype);
JavaDecimalLiteralContext.prototype.constructor = JavaDecimalLiteralContext;
JavaDecimalLiteralContext.prototype.DECIMAL_LITERAL = function() {
return this.getToken(OParser.DECIMAL_LITERAL, 0);
};
JavaDecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJavaDecimalLiteral(this);
}
};
JavaDecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJavaDecimalLiteral(this);
}
};
OParser.prototype.java_literal_expression = function() {
var localctx = new Java_literal_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 382, OParser.RULE_java_literal_expression);
try {
this.state = 2167;
switch(this._input.LA(1)) {
case OParser.INTEGER_LITERAL:
localctx = new JavaIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2162;
localctx.t = this.match(OParser.INTEGER_LITERAL);
break;
case OParser.DECIMAL_LITERAL:
localctx = new JavaDecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2163;
localctx.t = this.match(OParser.DECIMAL_LITERAL);
break;
case OParser.TEXT_LITERAL:
localctx = new JavaTextLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 2164;
localctx.t = this.match(OParser.TEXT_LITERAL);
break;
case OParser.BOOLEAN_LITERAL:
localctx = new JavaBooleanLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 2165;
localctx.t = this.match(OParser.BOOLEAN_LITERAL);
break;
case OParser.CHAR_LITERAL:
localctx = new JavaCharacterLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 2166;
localctx.t = this.match(OParser.CHAR_LITERAL);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Java_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_java_identifier;
return this;
}
Java_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Java_identifierContext.prototype.constructor = Java_identifierContext;
Java_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Java_identifierContext.prototype.SYMBOL_IDENTIFIER = function() {
return this.getToken(OParser.SYMBOL_IDENTIFIER, 0);
};
Java_identifierContext.prototype.NATIVE_IDENTIFIER = function() {
return this.getToken(OParser.NATIVE_IDENTIFIER, 0);
};
Java_identifierContext.prototype.DOLLAR_IDENTIFIER = function() {
return this.getToken(OParser.DOLLAR_IDENTIFIER, 0);
};
Java_identifierContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Java_identifierContext.prototype.BOOLEAN = function() {
return this.getToken(OParser.BOOLEAN, 0);
};
Java_identifierContext.prototype.CHARACTER = function() {
return this.getToken(OParser.CHARACTER, 0);
};
Java_identifierContext.prototype.TEXT = function() {
return this.getToken(OParser.TEXT, 0);
};
Java_identifierContext.prototype.INTEGER = function() {
return this.getToken(OParser.INTEGER, 0);
};
Java_identifierContext.prototype.DECIMAL = function() {
return this.getToken(OParser.DECIMAL, 0);
};
Java_identifierContext.prototype.DATE = function() {
return this.getToken(OParser.DATE, 0);
};
Java_identifierContext.prototype.TIME = function() {
return this.getToken(OParser.TIME, 0);
};
Java_identifierContext.prototype.DATETIME = function() {
return this.getToken(OParser.DATETIME, 0);
};
Java_identifierContext.prototype.PERIOD = function() {
return this.getToken(OParser.PERIOD, 0);
};
Java_identifierContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Java_identifierContext.prototype.WRITE = function() {
return this.getToken(OParser.WRITE, 0);
};
Java_identifierContext.prototype.TEST = function() {
return this.getToken(OParser.TEST, 0);
};
Java_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterJava_identifier(this);
}
};
Java_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitJava_identifier(this);
}
};
OParser.prototype.java_identifier = function() {
var localctx = new Java_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 384, OParser.RULE_java_identifier);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2169;
_la = this._input.LA(1);
if(!(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)) | (1 << (OParser.NATIVE_IDENTIFIER - 128)))) !== 0) || _la===OParser.DOLLAR_IDENTIFIER)) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_statementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_statement;
return this;
}
Csharp_statementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_statementContext.prototype.constructor = Csharp_statementContext;
Csharp_statementContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpReturnStatementContext(parser, ctx) {
Csharp_statementContext.call(this, parser);
this.exp = null; // Csharp_expressionContext;
Csharp_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpReturnStatementContext.prototype = Object.create(Csharp_statementContext.prototype);
CSharpReturnStatementContext.prototype.constructor = CSharpReturnStatementContext;
CSharpReturnStatementContext.prototype.RETURN = function() {
return this.getToken(OParser.RETURN, 0);
};
CSharpReturnStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
CSharpReturnStatementContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
CSharpReturnStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpReturnStatement(this);
}
};
CSharpReturnStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpReturnStatement(this);
}
};
function CSharpStatementContext(parser, ctx) {
Csharp_statementContext.call(this, parser);
this.exp = null; // Csharp_expressionContext;
Csharp_statementContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpStatementContext.prototype = Object.create(Csharp_statementContext.prototype);
CSharpStatementContext.prototype.constructor = CSharpStatementContext;
CSharpStatementContext.prototype.SEMI = function() {
return this.getToken(OParser.SEMI, 0);
};
CSharpStatementContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
CSharpStatementContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpStatement(this);
}
};
CSharpStatementContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpStatement(this);
}
};
OParser.prototype.csharp_statement = function() {
var localctx = new Csharp_statementContext(this, this._ctx, this.state);
this.enterRule(localctx, 386, OParser.RULE_csharp_statement);
try {
this.state = 2178;
switch(this._input.LA(1)) {
case OParser.RETURN:
localctx = new CSharpReturnStatementContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2171;
this.match(OParser.RETURN);
this.state = 2172;
localctx.exp = this.csharp_expression(0);
this.state = 2173;
this.match(OParser.SEMI);
break;
case OParser.LPAR:
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.SELF:
case OParser.TEST:
case OParser.THIS:
case OParser.WRITE:
case OParser.BOOLEAN_LITERAL:
case OParser.CHAR_LITERAL:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
case OParser.DOLLAR_IDENTIFIER:
case OParser.TEXT_LITERAL:
case OParser.INTEGER_LITERAL:
case OParser.DECIMAL_LITERAL:
localctx = new CSharpStatementContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2175;
localctx.exp = this.csharp_expression(0);
this.state = 2176;
this.match(OParser.SEMI);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_expression;
return this;
}
Csharp_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_expressionContext.prototype.constructor = Csharp_expressionContext;
Csharp_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpSelectorExpressionContext(parser, ctx) {
Csharp_expressionContext.call(this, parser);
this.parent = null; // Csharp_expressionContext;
this.child = null; // Csharp_selector_expressionContext;
Csharp_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpSelectorExpressionContext.prototype = Object.create(Csharp_expressionContext.prototype);
CSharpSelectorExpressionContext.prototype.constructor = CSharpSelectorExpressionContext;
CSharpSelectorExpressionContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
CSharpSelectorExpressionContext.prototype.csharp_selector_expression = function() {
return this.getTypedRuleContext(Csharp_selector_expressionContext,0);
};
CSharpSelectorExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpSelectorExpression(this);
}
};
CSharpSelectorExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpSelectorExpression(this);
}
};
function CSharpPrimaryExpressionContext(parser, ctx) {
Csharp_expressionContext.call(this, parser);
this.exp = null; // Csharp_primary_expressionContext;
Csharp_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpPrimaryExpressionContext.prototype = Object.create(Csharp_expressionContext.prototype);
CSharpPrimaryExpressionContext.prototype.constructor = CSharpPrimaryExpressionContext;
CSharpPrimaryExpressionContext.prototype.csharp_primary_expression = function() {
return this.getTypedRuleContext(Csharp_primary_expressionContext,0);
};
CSharpPrimaryExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpPrimaryExpression(this);
}
};
CSharpPrimaryExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpPrimaryExpression(this);
}
};
OParser.prototype.csharp_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Csharp_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 388;
this.enterRecursionRule(localctx, 388, OParser.RULE_csharp_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new CSharpPrimaryExpressionContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2181;
localctx.exp = this.csharp_primary_expression();
this._ctx.stop = this._input.LT(-1);
this.state = 2187;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,190,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new CSharpSelectorExpressionContext(this, new Csharp_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_csharp_expression);
this.state = 2183;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2184;
localctx.child = this.csharp_selector_expression();
}
this.state = 2189;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,190,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Csharp_primary_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_primary_expression;
return this;
}
Csharp_primary_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_primary_expressionContext.prototype.constructor = Csharp_primary_expressionContext;
Csharp_primary_expressionContext.prototype.csharp_this_expression = function() {
return this.getTypedRuleContext(Csharp_this_expressionContext,0);
};
Csharp_primary_expressionContext.prototype.csharp_new_expression = function() {
return this.getTypedRuleContext(Csharp_new_expressionContext,0);
};
Csharp_primary_expressionContext.prototype.csharp_parenthesis_expression = function() {
return this.getTypedRuleContext(Csharp_parenthesis_expressionContext,0);
};
Csharp_primary_expressionContext.prototype.csharp_identifier_expression = function() {
return this.getTypedRuleContext(Csharp_identifier_expressionContext,0);
};
Csharp_primary_expressionContext.prototype.csharp_literal_expression = function() {
return this.getTypedRuleContext(Csharp_literal_expressionContext,0);
};
Csharp_primary_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_primary_expression(this);
}
};
Csharp_primary_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_primary_expression(this);
}
};
OParser.prototype.csharp_primary_expression = function() {
var localctx = new Csharp_primary_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 390, OParser.RULE_csharp_primary_expression);
try {
this.state = 2195;
var la_ = this._interp.adaptivePredict(this._input,191,this._ctx);
switch(la_) {
case 1:
this.enterOuterAlt(localctx, 1);
this.state = 2190;
this.csharp_this_expression();
break;
case 2:
this.enterOuterAlt(localctx, 2);
this.state = 2191;
this.csharp_new_expression();
break;
case 3:
this.enterOuterAlt(localctx, 3);
this.state = 2192;
this.csharp_parenthesis_expression();
break;
case 4:
this.enterOuterAlt(localctx, 4);
this.state = 2193;
this.csharp_identifier_expression(0);
break;
case 5:
this.enterOuterAlt(localctx, 5);
this.state = 2194;
this.csharp_literal_expression();
break;
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_this_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_this_expression;
return this;
}
Csharp_this_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_this_expressionContext.prototype.constructor = Csharp_this_expressionContext;
Csharp_this_expressionContext.prototype.this_expression = function() {
return this.getTypedRuleContext(This_expressionContext,0);
};
Csharp_this_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_this_expression(this);
}
};
Csharp_this_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_this_expression(this);
}
};
OParser.prototype.csharp_this_expression = function() {
var localctx = new Csharp_this_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 392, OParser.RULE_csharp_this_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2197;
this.this_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_new_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_new_expression;
return this;
}
Csharp_new_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_new_expressionContext.prototype.constructor = Csharp_new_expressionContext;
Csharp_new_expressionContext.prototype.new_token = function() {
return this.getTypedRuleContext(New_tokenContext,0);
};
Csharp_new_expressionContext.prototype.csharp_method_expression = function() {
return this.getTypedRuleContext(Csharp_method_expressionContext,0);
};
Csharp_new_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_new_expression(this);
}
};
Csharp_new_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_new_expression(this);
}
};
OParser.prototype.csharp_new_expression = function() {
var localctx = new Csharp_new_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 394, OParser.RULE_csharp_new_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2199;
this.new_token();
this.state = 2200;
this.csharp_method_expression();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_selector_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_selector_expression;
return this;
}
Csharp_selector_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_selector_expressionContext.prototype.constructor = Csharp_selector_expressionContext;
Csharp_selector_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpMethodExpressionContext(parser, ctx) {
Csharp_selector_expressionContext.call(this, parser);
this.exp = null; // Csharp_method_expressionContext;
Csharp_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpMethodExpressionContext.prototype = Object.create(Csharp_selector_expressionContext.prototype);
CSharpMethodExpressionContext.prototype.constructor = CSharpMethodExpressionContext;
CSharpMethodExpressionContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
CSharpMethodExpressionContext.prototype.csharp_method_expression = function() {
return this.getTypedRuleContext(Csharp_method_expressionContext,0);
};
CSharpMethodExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpMethodExpression(this);
}
};
CSharpMethodExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpMethodExpression(this);
}
};
function CSharpItemExpressionContext(parser, ctx) {
Csharp_selector_expressionContext.call(this, parser);
this.exp = null; // Csharp_item_expressionContext;
Csharp_selector_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpItemExpressionContext.prototype = Object.create(Csharp_selector_expressionContext.prototype);
CSharpItemExpressionContext.prototype.constructor = CSharpItemExpressionContext;
CSharpItemExpressionContext.prototype.csharp_item_expression = function() {
return this.getTypedRuleContext(Csharp_item_expressionContext,0);
};
CSharpItemExpressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpItemExpression(this);
}
};
CSharpItemExpressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpItemExpression(this);
}
};
OParser.prototype.csharp_selector_expression = function() {
var localctx = new Csharp_selector_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 396, OParser.RULE_csharp_selector_expression);
try {
this.state = 2205;
switch(this._input.LA(1)) {
case OParser.DOT:
localctx = new CSharpMethodExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2202;
this.match(OParser.DOT);
this.state = 2203;
localctx.exp = this.csharp_method_expression();
break;
case OParser.LBRAK:
localctx = new CSharpItemExpressionContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2204;
localctx.exp = this.csharp_item_expression();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_method_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_method_expression;
this.name = null; // Csharp_identifierContext
this.args = null; // Csharp_argumentsContext
return this;
}
Csharp_method_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_method_expressionContext.prototype.constructor = Csharp_method_expressionContext;
Csharp_method_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Csharp_method_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Csharp_method_expressionContext.prototype.csharp_identifier = function() {
return this.getTypedRuleContext(Csharp_identifierContext,0);
};
Csharp_method_expressionContext.prototype.csharp_arguments = function() {
return this.getTypedRuleContext(Csharp_argumentsContext,0);
};
Csharp_method_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_method_expression(this);
}
};
Csharp_method_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_method_expression(this);
}
};
OParser.prototype.csharp_method_expression = function() {
var localctx = new Csharp_method_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 398, OParser.RULE_csharp_method_expression);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2207;
localctx.name = this.csharp_identifier();
this.state = 2208;
this.match(OParser.LPAR);
this.state = 2210;
_la = this._input.LA(1);
if(_la===OParser.LPAR || ((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.SELF - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.THIS - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.BOOLEAN_LITERAL - 128)) | (1 << (OParser.CHAR_LITERAL - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (OParser.DOLLAR_IDENTIFIER - 160)) | (1 << (OParser.TEXT_LITERAL - 160)) | (1 << (OParser.INTEGER_LITERAL - 160)) | (1 << (OParser.DECIMAL_LITERAL - 160)))) !== 0)) {
this.state = 2209;
localctx.args = this.csharp_arguments(0);
}
this.state = 2212;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_argumentsContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_arguments;
return this;
}
Csharp_argumentsContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_argumentsContext.prototype.constructor = Csharp_argumentsContext;
Csharp_argumentsContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpArgumentListContext(parser, ctx) {
Csharp_argumentsContext.call(this, parser);
this.item = null; // Csharp_expressionContext;
Csharp_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpArgumentListContext.prototype = Object.create(Csharp_argumentsContext.prototype);
CSharpArgumentListContext.prototype.constructor = CSharpArgumentListContext;
CSharpArgumentListContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
CSharpArgumentListContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpArgumentList(this);
}
};
CSharpArgumentListContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpArgumentList(this);
}
};
function CSharpArgumentListItemContext(parser, ctx) {
Csharp_argumentsContext.call(this, parser);
this.items = null; // Csharp_argumentsContext;
this.item = null; // Csharp_expressionContext;
Csharp_argumentsContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpArgumentListItemContext.prototype = Object.create(Csharp_argumentsContext.prototype);
CSharpArgumentListItemContext.prototype.constructor = CSharpArgumentListItemContext;
CSharpArgumentListItemContext.prototype.COMMA = function() {
return this.getToken(OParser.COMMA, 0);
};
CSharpArgumentListItemContext.prototype.csharp_arguments = function() {
return this.getTypedRuleContext(Csharp_argumentsContext,0);
};
CSharpArgumentListItemContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
CSharpArgumentListItemContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpArgumentListItem(this);
}
};
CSharpArgumentListItemContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpArgumentListItem(this);
}
};
OParser.prototype.csharp_arguments = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Csharp_argumentsContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 400;
this.enterRecursionRule(localctx, 400, OParser.RULE_csharp_arguments, _p);
try {
this.enterOuterAlt(localctx, 1);
localctx = new CSharpArgumentListContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2215;
localctx.item = this.csharp_expression(0);
this._ctx.stop = this._input.LT(-1);
this.state = 2222;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,194,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new CSharpArgumentListItemContext(this, new Csharp_argumentsContext(this, _parentctx, _parentState));
localctx.items = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_csharp_arguments);
this.state = 2217;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2218;
this.match(OParser.COMMA);
this.state = 2219;
localctx.item = this.csharp_expression(0);
}
this.state = 2224;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,194,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Csharp_item_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_item_expression;
this.exp = null; // Csharp_expressionContext
return this;
}
Csharp_item_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_item_expressionContext.prototype.constructor = Csharp_item_expressionContext;
Csharp_item_expressionContext.prototype.LBRAK = function() {
return this.getToken(OParser.LBRAK, 0);
};
Csharp_item_expressionContext.prototype.RBRAK = function() {
return this.getToken(OParser.RBRAK, 0);
};
Csharp_item_expressionContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
Csharp_item_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_item_expression(this);
}
};
Csharp_item_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_item_expression(this);
}
};
OParser.prototype.csharp_item_expression = function() {
var localctx = new Csharp_item_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 402, OParser.RULE_csharp_item_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2225;
this.match(OParser.LBRAK);
this.state = 2226;
localctx.exp = this.csharp_expression(0);
this.state = 2227;
this.match(OParser.RBRAK);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_parenthesis_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_parenthesis_expression;
this.exp = null; // Csharp_expressionContext
return this;
}
Csharp_parenthesis_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_parenthesis_expressionContext.prototype.constructor = Csharp_parenthesis_expressionContext;
Csharp_parenthesis_expressionContext.prototype.LPAR = function() {
return this.getToken(OParser.LPAR, 0);
};
Csharp_parenthesis_expressionContext.prototype.RPAR = function() {
return this.getToken(OParser.RPAR, 0);
};
Csharp_parenthesis_expressionContext.prototype.csharp_expression = function() {
return this.getTypedRuleContext(Csharp_expressionContext,0);
};
Csharp_parenthesis_expressionContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_parenthesis_expression(this);
}
};
Csharp_parenthesis_expressionContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_parenthesis_expression(this);
}
};
OParser.prototype.csharp_parenthesis_expression = function() {
var localctx = new Csharp_parenthesis_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 404, OParser.RULE_csharp_parenthesis_expression);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2229;
this.match(OParser.LPAR);
this.state = 2230;
localctx.exp = this.csharp_expression(0);
this.state = 2231;
this.match(OParser.RPAR);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_identifier_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_identifier_expression;
return this;
}
Csharp_identifier_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_identifier_expressionContext.prototype.constructor = Csharp_identifier_expressionContext;
Csharp_identifier_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpIdentifierContext(parser, ctx) {
Csharp_identifier_expressionContext.call(this, parser);
this.name = null; // Csharp_identifierContext;
Csharp_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpIdentifierContext.prototype = Object.create(Csharp_identifier_expressionContext.prototype);
CSharpIdentifierContext.prototype.constructor = CSharpIdentifierContext;
CSharpIdentifierContext.prototype.csharp_identifier = function() {
return this.getTypedRuleContext(Csharp_identifierContext,0);
};
CSharpIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpIdentifier(this);
}
};
CSharpIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpIdentifier(this);
}
};
function CSharpChildIdentifierContext(parser, ctx) {
Csharp_identifier_expressionContext.call(this, parser);
this.parent = null; // Csharp_identifier_expressionContext;
this.name = null; // Csharp_identifierContext;
Csharp_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpChildIdentifierContext.prototype = Object.create(Csharp_identifier_expressionContext.prototype);
CSharpChildIdentifierContext.prototype.constructor = CSharpChildIdentifierContext;
CSharpChildIdentifierContext.prototype.DOT = function() {
return this.getToken(OParser.DOT, 0);
};
CSharpChildIdentifierContext.prototype.csharp_identifier_expression = function() {
return this.getTypedRuleContext(Csharp_identifier_expressionContext,0);
};
CSharpChildIdentifierContext.prototype.csharp_identifier = function() {
return this.getTypedRuleContext(Csharp_identifierContext,0);
};
CSharpChildIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpChildIdentifier(this);
}
};
CSharpChildIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpChildIdentifier(this);
}
};
function CSharpPromptoIdentifierContext(parser, ctx) {
Csharp_identifier_expressionContext.call(this, parser);
Csharp_identifier_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpPromptoIdentifierContext.prototype = Object.create(Csharp_identifier_expressionContext.prototype);
CSharpPromptoIdentifierContext.prototype.constructor = CSharpPromptoIdentifierContext;
CSharpPromptoIdentifierContext.prototype.DOLLAR_IDENTIFIER = function() {
return this.getToken(OParser.DOLLAR_IDENTIFIER, 0);
};
CSharpPromptoIdentifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpPromptoIdentifier(this);
}
};
CSharpPromptoIdentifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpPromptoIdentifier(this);
}
};
OParser.prototype.csharp_identifier_expression = function(_p) {
if(_p===undefined) {
_p = 0;
}
var _parentctx = this._ctx;
var _parentState = this.state;
var localctx = new Csharp_identifier_expressionContext(this, this._ctx, _parentState);
var _prevctx = localctx;
var _startState = 406;
this.enterRecursionRule(localctx, 406, OParser.RULE_csharp_identifier_expression, _p);
try {
this.enterOuterAlt(localctx, 1);
this.state = 2236;
switch(this._input.LA(1)) {
case OParser.DOLLAR_IDENTIFIER:
localctx = new CSharpPromptoIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2234;
this.match(OParser.DOLLAR_IDENTIFIER);
break;
case OParser.BOOLEAN:
case OParser.CHARACTER:
case OParser.TEXT:
case OParser.INTEGER:
case OParser.DECIMAL:
case OParser.DATE:
case OParser.TIME:
case OParser.DATETIME:
case OParser.PERIOD:
case OParser.READ:
case OParser.TEST:
case OParser.WRITE:
case OParser.SYMBOL_IDENTIFIER:
case OParser.TYPE_IDENTIFIER:
case OParser.VARIABLE_IDENTIFIER:
localctx = new CSharpIdentifierContext(this, localctx);
this._ctx = localctx;
_prevctx = localctx;
this.state = 2235;
localctx.name = this.csharp_identifier();
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
this._ctx.stop = this._input.LT(-1);
this.state = 2243;
this._errHandler.sync(this);
var _alt = this._interp.adaptivePredict(this._input,196,this._ctx)
while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) {
if(_alt===1) {
if(this._parseListeners!==null) {
this.triggerExitRuleEvent();
}
_prevctx = localctx;
localctx = new CSharpChildIdentifierContext(this, new Csharp_identifier_expressionContext(this, _parentctx, _parentState));
localctx.parent = _prevctx;
this.pushNewRecursionContext(localctx, _startState, OParser.RULE_csharp_identifier_expression);
this.state = 2238;
if (!( this.precpred(this._ctx, 1))) {
throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 1)");
}
this.state = 2239;
this.match(OParser.DOT);
this.state = 2240;
localctx.name = this.csharp_identifier();
}
this.state = 2245;
this._errHandler.sync(this);
_alt = this._interp.adaptivePredict(this._input,196,this._ctx);
}
} catch( error) {
if(error instanceof antlr4.error.RecognitionException) {
localctx.exception = error;
this._errHandler.reportError(this, error);
this._errHandler.recover(this, error);
} else {
throw error;
}
} finally {
this.unrollRecursionContexts(_parentctx)
}
return localctx;
};
function Csharp_literal_expressionContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_literal_expression;
return this;
}
Csharp_literal_expressionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_literal_expressionContext.prototype.constructor = Csharp_literal_expressionContext;
Csharp_literal_expressionContext.prototype.copyFrom = function(ctx) {
antlr4.ParserRuleContext.prototype.copyFrom.call(this, ctx);
};
function CSharpBooleanLiteralContext(parser, ctx) {
Csharp_literal_expressionContext.call(this, parser);
Csharp_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpBooleanLiteralContext.prototype = Object.create(Csharp_literal_expressionContext.prototype);
CSharpBooleanLiteralContext.prototype.constructor = CSharpBooleanLiteralContext;
CSharpBooleanLiteralContext.prototype.BOOLEAN_LITERAL = function() {
return this.getToken(OParser.BOOLEAN_LITERAL, 0);
};
CSharpBooleanLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpBooleanLiteral(this);
}
};
CSharpBooleanLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpBooleanLiteral(this);
}
};
function CSharpIntegerLiteralContext(parser, ctx) {
Csharp_literal_expressionContext.call(this, parser);
Csharp_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpIntegerLiteralContext.prototype = Object.create(Csharp_literal_expressionContext.prototype);
CSharpIntegerLiteralContext.prototype.constructor = CSharpIntegerLiteralContext;
CSharpIntegerLiteralContext.prototype.INTEGER_LITERAL = function() {
return this.getToken(OParser.INTEGER_LITERAL, 0);
};
CSharpIntegerLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpIntegerLiteral(this);
}
};
CSharpIntegerLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpIntegerLiteral(this);
}
};
function CSharpDecimalLiteralContext(parser, ctx) {
Csharp_literal_expressionContext.call(this, parser);
Csharp_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpDecimalLiteralContext.prototype = Object.create(Csharp_literal_expressionContext.prototype);
CSharpDecimalLiteralContext.prototype.constructor = CSharpDecimalLiteralContext;
CSharpDecimalLiteralContext.prototype.DECIMAL_LITERAL = function() {
return this.getToken(OParser.DECIMAL_LITERAL, 0);
};
CSharpDecimalLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpDecimalLiteral(this);
}
};
CSharpDecimalLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpDecimalLiteral(this);
}
};
function CSharpCharacterLiteralContext(parser, ctx) {
Csharp_literal_expressionContext.call(this, parser);
Csharp_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpCharacterLiteralContext.prototype = Object.create(Csharp_literal_expressionContext.prototype);
CSharpCharacterLiteralContext.prototype.constructor = CSharpCharacterLiteralContext;
CSharpCharacterLiteralContext.prototype.CHAR_LITERAL = function() {
return this.getToken(OParser.CHAR_LITERAL, 0);
};
CSharpCharacterLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpCharacterLiteral(this);
}
};
CSharpCharacterLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpCharacterLiteral(this);
}
};
function CSharpTextLiteralContext(parser, ctx) {
Csharp_literal_expressionContext.call(this, parser);
Csharp_literal_expressionContext.prototype.copyFrom.call(this, ctx);
return this;
}
CSharpTextLiteralContext.prototype = Object.create(Csharp_literal_expressionContext.prototype);
CSharpTextLiteralContext.prototype.constructor = CSharpTextLiteralContext;
CSharpTextLiteralContext.prototype.TEXT_LITERAL = function() {
return this.getToken(OParser.TEXT_LITERAL, 0);
};
CSharpTextLiteralContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCSharpTextLiteral(this);
}
};
CSharpTextLiteralContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCSharpTextLiteral(this);
}
};
OParser.prototype.csharp_literal_expression = function() {
var localctx = new Csharp_literal_expressionContext(this, this._ctx, this.state);
this.enterRule(localctx, 408, OParser.RULE_csharp_literal_expression);
try {
this.state = 2251;
switch(this._input.LA(1)) {
case OParser.INTEGER_LITERAL:
localctx = new CSharpIntegerLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 1);
this.state = 2246;
this.match(OParser.INTEGER_LITERAL);
break;
case OParser.DECIMAL_LITERAL:
localctx = new CSharpDecimalLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 2);
this.state = 2247;
this.match(OParser.DECIMAL_LITERAL);
break;
case OParser.TEXT_LITERAL:
localctx = new CSharpTextLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 3);
this.state = 2248;
this.match(OParser.TEXT_LITERAL);
break;
case OParser.BOOLEAN_LITERAL:
localctx = new CSharpBooleanLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 4);
this.state = 2249;
this.match(OParser.BOOLEAN_LITERAL);
break;
case OParser.CHAR_LITERAL:
localctx = new CSharpCharacterLiteralContext(this, localctx);
this.enterOuterAlt(localctx, 5);
this.state = 2250;
this.match(OParser.CHAR_LITERAL);
break;
default:
throw new antlr4.error.NoViableAltException(this);
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function Csharp_identifierContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = OParser.RULE_csharp_identifier;
return this;
}
Csharp_identifierContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
Csharp_identifierContext.prototype.constructor = Csharp_identifierContext;
Csharp_identifierContext.prototype.VARIABLE_IDENTIFIER = function() {
return this.getToken(OParser.VARIABLE_IDENTIFIER, 0);
};
Csharp_identifierContext.prototype.SYMBOL_IDENTIFIER = function() {
return this.getToken(OParser.SYMBOL_IDENTIFIER, 0);
};
Csharp_identifierContext.prototype.TYPE_IDENTIFIER = function() {
return this.getToken(OParser.TYPE_IDENTIFIER, 0);
};
Csharp_identifierContext.prototype.BOOLEAN = function() {
return this.getToken(OParser.BOOLEAN, 0);
};
Csharp_identifierContext.prototype.CHARACTER = function() {
return this.getToken(OParser.CHARACTER, 0);
};
Csharp_identifierContext.prototype.TEXT = function() {
return this.getToken(OParser.TEXT, 0);
};
Csharp_identifierContext.prototype.INTEGER = function() {
return this.getToken(OParser.INTEGER, 0);
};
Csharp_identifierContext.prototype.DECIMAL = function() {
return this.getToken(OParser.DECIMAL, 0);
};
Csharp_identifierContext.prototype.DATE = function() {
return this.getToken(OParser.DATE, 0);
};
Csharp_identifierContext.prototype.TIME = function() {
return this.getToken(OParser.TIME, 0);
};
Csharp_identifierContext.prototype.DATETIME = function() {
return this.getToken(OParser.DATETIME, 0);
};
Csharp_identifierContext.prototype.PERIOD = function() {
return this.getToken(OParser.PERIOD, 0);
};
Csharp_identifierContext.prototype.READ = function() {
return this.getToken(OParser.READ, 0);
};
Csharp_identifierContext.prototype.WRITE = function() {
return this.getToken(OParser.WRITE, 0);
};
Csharp_identifierContext.prototype.TEST = function() {
return this.getToken(OParser.TEST, 0);
};
Csharp_identifierContext.prototype.enterRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.enterCsharp_identifier(this);
}
};
Csharp_identifierContext.prototype.exitRule = function(listener) {
if(listener instanceof OParserListener ) {
listener.exitCsharp_identifier(this);
}
};
OParser.prototype.csharp_identifier = function() {
var localctx = new Csharp_identifierContext(this, this._ctx, this.state);
this.enterRule(localctx, 410, OParser.RULE_csharp_identifier);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 2253;
_la = this._input.LA(1);
if(!(((((_la - 46)) & ~0x1f) == 0 && ((1 << (_la - 46)) & ((1 << (OParser.BOOLEAN - 46)) | (1 << (OParser.CHARACTER - 46)) | (1 << (OParser.TEXT - 46)) | (1 << (OParser.INTEGER - 46)) | (1 << (OParser.DECIMAL - 46)) | (1 << (OParser.DATE - 46)) | (1 << (OParser.TIME - 46)) | (1 << (OParser.DATETIME - 46)) | (1 << (OParser.PERIOD - 46)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (OParser.READ - 128)) | (1 << (OParser.TEST - 128)) | (1 << (OParser.WRITE - 128)) | (1 << (OParser.SYMBOL_IDENTIFIER - 128)) | (1 << (OParser.TYPE_IDENTIFIER - 128)) | (1 << (OParser.VARIABLE_IDENTIFIER - 128)))) !== 0))) {
this._errHandler.recoverInline(this);
}
this.consume();
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
OParser.prototype.sempred = function(localctx, ruleIndex, predIndex) {
switch(ruleIndex) {
case 7:
return this.derived_list_sempred(localctx, predIndex);
case 17:
return this.native_category_binding_list_sempred(localctx, predIndex);
case 36:
return this.else_if_statement_list_sempred(localctx, predIndex);
case 44:
return this.callable_parent_sempred(localctx, predIndex);
case 46:
return this.expression_sempred(localctx, predIndex);
case 47:
return this.an_expression_sempred(localctx, predIndex);
case 49:
return this.instance_expression_sempred(localctx, predIndex);
case 59:
return this.argument_assignment_list_sempred(localctx, predIndex);
case 78:
return this.typedef_sempred(localctx, predIndex);
case 98:
return this.any_type_sempred(localctx, predIndex);
case 135:
return this.assignable_instance_sempred(localctx, predIndex);
case 136:
return this.is_expression_sempred(localctx, predIndex);
case 142:
return this.new_token_sempred(localctx, predIndex);
case 143:
return this.key_token_sempred(localctx, predIndex);
case 144:
return this.module_token_sempred(localctx, predIndex);
case 145:
return this.value_token_sempred(localctx, predIndex);
case 146:
return this.symbols_token_sempred(localctx, predIndex);
case 155:
return this.javascript_expression_sempred(localctx, predIndex);
case 161:
return this.javascript_arguments_sempred(localctx, predIndex);
case 168:
return this.python_expression_sempred(localctx, predIndex);
case 173:
return this.python_ordinal_argument_list_sempred(localctx, predIndex);
case 174:
return this.python_named_argument_list_sempred(localctx, predIndex);
case 176:
return this.python_identifier_expression_sempred(localctx, predIndex);
case 180:
return this.java_expression_sempred(localctx, predIndex);
case 186:
return this.java_arguments_sempred(localctx, predIndex);
case 189:
return this.java_identifier_expression_sempred(localctx, predIndex);
case 190:
return this.java_class_identifier_expression_sempred(localctx, predIndex);
case 194:
return this.csharp_expression_sempred(localctx, predIndex);
case 200:
return this.csharp_arguments_sempred(localctx, predIndex);
case 203:
return this.csharp_identifier_expression_sempred(localctx, predIndex);
default:
throw "No predicate with index:" + ruleIndex;
}
};
OParser.prototype.derived_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 0:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.native_category_binding_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 1:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.else_if_statement_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 2:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.callable_parent_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 3:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 4:
return this.precpred(this._ctx, 32);
case 5:
return this.precpred(this._ctx, 31);
case 6:
return this.precpred(this._ctx, 30);
case 7:
return this.precpred(this._ctx, 29);
case 8:
return this.precpred(this._ctx, 28);
case 9:
return this.precpred(this._ctx, 27);
case 10:
return this.precpred(this._ctx, 26);
case 11:
return this.precpred(this._ctx, 25);
case 12:
return this.precpred(this._ctx, 24);
case 13:
return this.precpred(this._ctx, 21);
case 14:
return this.precpred(this._ctx, 20);
case 15:
return this.precpred(this._ctx, 19);
case 16:
return this.precpred(this._ctx, 18);
case 17:
return this.precpred(this._ctx, 17);
case 18:
return this.precpred(this._ctx, 16);
case 19:
return this.precpred(this._ctx, 15);
case 20:
return this.precpred(this._ctx, 14);
case 21:
return this.precpred(this._ctx, 12);
case 22:
return this.precpred(this._ctx, 11);
case 23:
return this.precpred(this._ctx, 10);
case 24:
return this.precpred(this._ctx, 9);
case 25:
return this.precpred(this._ctx, 8);
case 26:
return this.precpred(this._ctx, 7);
case 27:
return this.precpred(this._ctx, 6);
case 28:
return this.precpred(this._ctx, 5);
case 29:
return this.precpred(this._ctx, 23);
case 30:
return this.precpred(this._ctx, 22);
case 31:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.an_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 32:
return this.willBeAOrAn();
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.instance_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 33:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.argument_assignment_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 34:
return this.willNotBe(this.equalToken());
case 35:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.typedef_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 36:
return this.precpred(this._ctx, 5);
case 37:
return this.precpred(this._ctx, 4);
case 38:
return this.precpred(this._ctx, 3);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.any_type_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 39:
return this.precpred(this._ctx, 2);
case 40:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.assignable_instance_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 41:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.is_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 42:
return this.willBeAOrAn();
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.new_token_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 43:
return this.isText(localctx.i1,"new");
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.key_token_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 44:
return this.isText(localctx.i1,"key");
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.module_token_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 45:
return this.isText(localctx.i1,"module");
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.value_token_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 46:
return this.isText(localctx.i1,"value");
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.symbols_token_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 47:
return this.isText(localctx.i1,"symbols");
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.javascript_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 48:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.javascript_arguments_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 49:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.python_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 50:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.python_ordinal_argument_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 51:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.python_named_argument_list_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 52:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.python_identifier_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 53:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.java_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 54:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.java_arguments_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 55:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.java_identifier_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 56:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.java_class_identifier_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 57:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.csharp_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 58:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.csharp_arguments_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 59:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
OParser.prototype.csharp_identifier_expression_sempred = function(localctx, predIndex) {
switch(predIndex) {
case 60:
return this.precpred(this._ctx, 1);
default:
throw "No predicate with index:" + predIndex;
}
};
exports.OParser = OParser;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy