bali-component-framework
Version:
This library provides a JavaScript based implementation of the Bali Nebula™ Component Framework.
1,051 lines (964 loc) • 238 kB
JavaScript
// Generated from src/grammar/Document.g4 by ANTLR 4.8
// jshint ignore: start
var antlr4 = require('antlr4/index');
var DocumentListener = require('./DocumentListener').DocumentListener;
var DocumentVisitor = require('./DocumentVisitor').DocumentVisitor;
var grammarFileName = "Document.g4";
var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
"\u0003f\u023b\u0004\u0002\t\u0002\u0004\u0003\t\u0003\u0004\u0004\t",
"\u0004\u0004\u0005\t\u0005\u0004\u0006\t\u0006\u0004\u0007\t\u0007\u0004",
"\b\t\b\u0004\t\t\t\u0004\n\t\n\u0004\u000b\t\u000b\u0004\f\t\f\u0004",
"\r\t\r\u0004\u000e\t\u000e\u0004\u000f\t\u000f\u0004\u0010\t\u0010\u0004",
"\u0011\t\u0011\u0004\u0012\t\u0012\u0004\u0013\t\u0013\u0004\u0014\t",
"\u0014\u0004\u0015\t\u0015\u0004\u0016\t\u0016\u0004\u0017\t\u0017\u0004",
"\u0018\t\u0018\u0004\u0019\t\u0019\u0004\u001a\t\u001a\u0004\u001b\t",
"\u001b\u0004\u001c\t\u001c\u0004\u001d\t\u001d\u0004\u001e\t\u001e\u0004",
"\u001f\t\u001f\u0004 \t \u0004!\t!\u0004\"\t\"\u0004#\t#\u0004$\t$\u0004",
"%\t%\u0004&\t&\u0004\'\t\'\u0004(\t(\u0004)\t)\u0004*\t*\u0004+\t+\u0004",
",\t,\u0004-\t-\u0004.\t.\u0004/\t/\u00040\t0\u00041\t1\u00042\t2\u0004",
"3\t3\u00044\t4\u00045\t5\u00046\t6\u00047\t7\u00048\t8\u00049\t9\u0004",
":\t:\u0004;\t;\u0004<\t<\u0004=\t=\u0004>\t>\u0004?\t?\u0004@\t@\u0003",
"\u0002\u0003\u0002\u0003\u0002\u0003\u0003\u0003\u0003\u0003\u0003\u0003",
"\u0003\u0003\u0004\u0003\u0004\u0003\u0004\u0005\u0004\u008b\n\u0004",
"\u0005\u0004\u008d\n\u0004\u0003\u0005\u0003\u0005\u0003\u0006\u0003",
"\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003",
"\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003",
"\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0003\u0006\u0005\u0006\u00a3",
"\n\u0006\u0003\u0007\u0003\u0007\u0003\u0007\u0003\u0007\u0003\u0007",
"\u0003\u0007\u0003\u0007\u0003\u0007\u0003\u0007\u0006\u0007\u00ae\n",
"\u0007\r\u0007\u000e\u0007\u00af\u0005\u0007\u00b2\n\u0007\u0003\b\u0003",
"\b\u0003\b\u0003\b\u0003\t\u0003\t\u0003\t\u0005\t\u00bb\n\t\u0003\t",
"\u0003\t\u0003\n\u0003\n\u0003\n\u0003\n\u0005\n\u00c3\n\n\u0003\u000b",
"\u0003\u000b\u0003\u000b\u0003\f\u0003\f\u0003\f\u0003\f\u0003\f\u0003",
"\r\u0003\r\u0003\r\u0003\r\u0005\r\u00d1\n\r\u0003\r\u0003\r\u0003\r",
"\u0003\u000e\u0003\u000e\u0003\u000e\u0003\u000f\u0003\u000f\u0003\u000f",
"\u0003\u000f\u0003\u000f\u0003\u0010\u0003\u0010\u0003\u0010\u0003\u0010",
"\u0003\u0010\u0003\u0011\u0003\u0011\u0003\u0011\u0003\u0012\u0003\u0012",
"\u0003\u0012\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0013",
"\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0013\u0003\u0013\u0007\u0013",
"\u00f3\n\u0013\f\u0013\u000e\u0013\u00f6\u000b\u0013\u0003\u0013\u0003",
"\u0013\u0005\u0013\u00fa\n\u0013\u0003\u0014\u0003\u0014\u0003\u0014",
"\u0003\u0014\u0003\u0014\u0003\u0014\u0003\u0014\u0006\u0014\u0103\n",
"\u0014\r\u0014\u000e\u0014\u0104\u0003\u0014\u0003\u0014\u0005\u0014",
"\u0109\n\u0014\u0003\u0015\u0003\u0015\u0003\u0015\u0003\u0015\u0003",
"\u0015\u0005\u0015\u0110\n\u0015\u0003\u0015\u0003\u0015\u0003\u0015",
"\u0003\u0015\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016\u0003\u0016",
"\u0003\u0017\u0003\u0017\u0003\u0017\u0003\u0018\u0003\u0018\u0003\u0018",
"\u0003\u0019\u0003\u0019\u0005\u0019\u0123\n\u0019\u0003\u001a\u0003",
"\u001a\u0003\u001a\u0003\u001b\u0003\u001b\u0005\u001b\u012a\n\u001b",
"\u0003\u001c\u0003\u001c\u0003\u001c\u0003\u001c\u0003\u001c\u0003\u001d",
"\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d",
"\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d",
"\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d",
"\u0003\u001d\u0003\u001d\u0003\u001d\u0005\u001d\u0147\n\u001d\u0003",
"\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003",
"\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003",
"\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003",
"\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003",
"\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003\u001d\u0003",
"\u001d\u0003\u001d\u0007\u001d\u0169\n\u001d\f\u001d\u000e\u001d\u016c",
"\u000b\u001d\u0003\u001e\u0003\u001e\u0003\u001f\u0003\u001f\u0003 ",
"\u0003 \u0003!\u0003!\u0003!\u0007!\u0177\n!\f!\u000e!\u017a\u000b!",
"\u0003!\u0005!\u017d\n!\u0003\"\u0003\"\u0003\"\u0007\"\u0182\n\"\f",
"\"\u000e\"\u0185\u000b\"\u0003#\u0003#\u0005#\u0189\n#\u0003#\u0005",
"#\u018c\n#\u0003$\u0003$\u0003$\u0005$\u0191\n$\u0003%\u0003%\u0003",
"%\u0003%\u0003&\u0003&\u0003\'\u0003\'\u0003\'\u0003\'\u0003(\u0003",
"(\u0003(\u0005(\u01a0\n(\u0003)\u0005)\u01a3\n)\u0003)\u0003)\u0005",
")\u01a7\n)\u0003*\u0003*\u0003*\u0007*\u01ac\n*\f*\u000e*\u01af\u000b",
"*\u0003*\u0003*\u0003*\u0003*\u0007*\u01b5\n*\f*\u000e*\u01b8\u000b",
"*\u0003*\u0005*\u01bb\n*\u0003+\u0003+\u0003+\u0007+\u01c0\n+\f+\u000e",
"+\u01c3\u000b+\u0003+\u0003+\u0003+\u0003+\u0007+\u01c9\n+\f+\u000e",
"+\u01cc\u000b+\u0003+\u0005+\u01cf\n+\u0003,\u0003,\u0003,\u0003,\u0003",
"-\u0003-\u0003-\u0003-\u0003.\u0003.\u0003.\u0007.\u01dc\n.\f.\u000e",
".\u01df\u000b.\u0003.\u0003.\u0003.\u0003.\u0007.\u01e5\n.\f.\u000e",
".\u01e8\u000b.\u0003.\u0005.\u01eb\n.\u0003/\u0003/\u0003/\u0003/\u0003",
"/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003/\u0003",
"/\u0005/\u01fc\n/\u00030\u00030\u00031\u00031\u00032\u00032\u00033\u0003",
"3\u00034\u00034\u00035\u00035\u00036\u00056\u020b\n6\u00036\u00036\u0003",
"7\u00057\u0210\n7\u00037\u00037\u00038\u00038\u00038\u00038\u00038\u0003",
"8\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00038\u00058\u0222",
"\n8\u00038\u00038\u00058\u0226\n8\u00039\u00039\u0003:\u0003:\u0003",
";\u0003;\u0003;\u0005;\u022f\n;\u0003<\u0003<\u0003=\u0003=\u0003>\u0003",
">\u0003?\u0003?\u0003@\u0003@\u0003@\u0002\u00038A\u0002\u0004\u0006",
"\b\n\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*",
",.02468:<>@BDFHJLNPRTVXZ\\^`bdfhjlnprtvxz|~\u0002\r\u0003\u0002cd\u0003",
"\u0002\b\u000b\u0003\u000202\u0003\u000204\u0003\u00026:\u0003\u0002",
"<?\u0003\u0002+,\u0003\u0002BE\u0003\u0002HI\u0004\u0002PQ\\\\\u0003",
"\u0002_`\u0002\u0259\u0002\u0080\u0003\u0002\u0002\u0002\u0004\u0083",
"\u0003\u0002\u0002\u0002\u0006\u008c\u0003\u0002\u0002\u0002\b\u008e",
"\u0003\u0002\u0002\u0002\n\u00a2\u0003\u0002\u0002\u0002\f\u00a4\u0003",
"\u0002\u0002\u0002\u000e\u00b3\u0003\u0002\u0002\u0002\u0010\u00ba\u0003",
"\u0002\u0002\u0002\u0012\u00be\u0003\u0002\u0002\u0002\u0014\u00c4\u0003",
"\u0002\u0002\u0002\u0016\u00c7\u0003\u0002\u0002\u0002\u0018\u00cc\u0003",
"\u0002\u0002\u0002\u001a\u00d5\u0003\u0002\u0002\u0002\u001c\u00d8\u0003",
"\u0002\u0002\u0002\u001e\u00dd\u0003\u0002\u0002\u0002 \u00e2\u0003",
"\u0002\u0002\u0002\"\u00e5\u0003\u0002\u0002\u0002$\u00e8\u0003\u0002",
"\u0002\u0002&\u00fb\u0003\u0002\u0002\u0002(\u010a\u0003\u0002\u0002",
"\u0002*\u0115\u0003\u0002\u0002\u0002,\u011a\u0003\u0002\u0002\u0002",
".\u011d\u0003\u0002\u0002\u00020\u0120\u0003\u0002\u0002\u00022\u0124",
"\u0003\u0002\u0002\u00024\u0129\u0003\u0002\u0002\u00026\u012b\u0003",
"\u0002\u0002\u00028\u0146\u0003\u0002\u0002\u0002:\u016d\u0003\u0002",
"\u0002\u0002<\u016f\u0003\u0002\u0002\u0002>\u0171\u0003\u0002\u0002",
"\u0002@\u017c\u0003\u0002\u0002\u0002B\u017e\u0003\u0002\u0002\u0002",
"D\u0186\u0003\u0002\u0002\u0002F\u0190\u0003\u0002\u0002\u0002H\u0192",
"\u0003\u0002\u0002\u0002J\u0196\u0003\u0002\u0002\u0002L\u0198\u0003",
"\u0002\u0002\u0002N\u019f\u0003\u0002\u0002\u0002P\u01a2\u0003\u0002",
"\u0002\u0002R\u01ba\u0003\u0002\u0002\u0002T\u01ce\u0003\u0002\u0002",
"\u0002V\u01d0\u0003\u0002\u0002\u0002X\u01d4\u0003\u0002\u0002\u0002",
"Z\u01ea\u0003\u0002\u0002\u0002\\\u01fb\u0003\u0002\u0002\u0002^\u01fd",
"\u0003\u0002\u0002\u0002`\u01ff\u0003\u0002\u0002\u0002b\u0201\u0003",
"\u0002\u0002\u0002d\u0203\u0003\u0002\u0002\u0002f\u0205\u0003\u0002",
"\u0002\u0002h\u0207\u0003\u0002\u0002\u0002j\u020a\u0003\u0002\u0002",
"\u0002l\u020f\u0003\u0002\u0002\u0002n\u0225\u0003\u0002\u0002\u0002",
"p\u0227\u0003\u0002\u0002\u0002r\u0229\u0003\u0002\u0002\u0002t\u022e",
"\u0003\u0002\u0002\u0002v\u0230\u0003\u0002\u0002\u0002x\u0232\u0003",
"\u0002\u0002\u0002z\u0234\u0003\u0002\u0002\u0002|\u0236\u0003\u0002",
"\u0002\u0002~\u0238\u0003\u0002\u0002\u0002\u0080\u0081\u0005D#\u0002",
"\u0081\u0082\u0007\u0002\u0002\u0003\u0082\u0003\u0003\u0002\u0002\u0002",
"\u0083\u0084\u0005D#\u0002\u0084\u0085\u0007e\u0002\u0002\u0085\u0086",
"\u0007\u0002\u0002\u0003\u0086\u0005\u0003\u0002\u0002\u0002\u0087\u008d",
"\u0005\b\u0005\u0002\u0088\u008a\u0005\n\u0006\u0002\u0089\u008b\u0005",
"\f\u0007\u0002\u008a\u0089\u0003\u0002\u0002\u0002\u008a\u008b\u0003",
"\u0002\u0002\u0002\u008b\u008d\u0003\u0002\u0002\u0002\u008c\u0087\u0003",
"\u0002\u0002\u0002\u008c\u0088\u0003\u0002\u0002\u0002\u008d\u0007\u0003",
"\u0002\u0002\u0002\u008e\u008f\t\u0002\u0002\u0002\u008f\t\u0003\u0002",
"\u0002\u0002\u0090\u00a3\u0005\u0010\t\u0002\u0091\u00a3\u0005\u0012",
"\n\u0002\u0092\u00a3\u0005\u0014\u000b\u0002\u0093\u00a3\u0005\u0016",
"\f\u0002\u0094\u00a3\u0005\u0018\r\u0002\u0095\u00a3\u0005\u001a\u000e",
"\u0002\u0096\u00a3\u0005\u001c\u000f\u0002\u0097\u00a3\u0005\u001e\u0010",
"\u0002\u0098\u00a3\u0005 \u0011\u0002\u0099\u00a3\u0005\"\u0012\u0002",
"\u009a\u00a3\u0005$\u0013\u0002\u009b\u00a3\u0005&\u0014\u0002\u009c",
"\u00a3\u0005(\u0015\u0002\u009d\u00a3\u0005*\u0016\u0002\u009e\u00a3",
"\u0005,\u0017\u0002\u009f\u00a3\u0005.\u0018\u0002\u00a0\u00a3\u0005",
"0\u0019\u0002\u00a1\u00a3\u00052\u001a\u0002\u00a2\u0090\u0003\u0002",
"\u0002\u0002\u00a2\u0091\u0003\u0002\u0002\u0002\u00a2\u0092\u0003\u0002",
"\u0002\u0002\u00a2\u0093\u0003\u0002\u0002\u0002\u00a2\u0094\u0003\u0002",
"\u0002\u0002\u00a2\u0095\u0003\u0002\u0002\u0002\u00a2\u0096\u0003\u0002",
"\u0002\u0002\u00a2\u0097\u0003\u0002\u0002\u0002\u00a2\u0098\u0003\u0002",
"\u0002\u0002\u00a2\u0099\u0003\u0002\u0002\u0002\u00a2\u009a\u0003\u0002",
"\u0002\u0002\u00a2\u009b\u0003\u0002\u0002\u0002\u00a2\u009c\u0003\u0002",
"\u0002\u0002\u00a2\u009d\u0003\u0002\u0002\u0002\u00a2\u009e\u0003\u0002",
"\u0002\u0002\u00a2\u009f\u0003\u0002\u0002\u0002\u00a2\u00a0\u0003\u0002",
"\u0002\u0002\u00a2\u00a1\u0003\u0002\u0002\u0002\u00a3\u000b\u0003\u0002",
"\u0002\u0002\u00a4\u00a5\u0007\u0003\u0002\u0002\u00a5\u00b1\u0005x",
"=\u0002\u00a6\u00a7\u0007\u0004\u0002\u0002\u00a7\u00b2\u0005\u000e",
"\b\u0002\u00a8\u00a9\u0007\u0005\u0002\u0002\u00a9\u00aa\u00058\u001d",
"\u0002\u00aa\u00ab\u0007\u0004\u0002\u0002\u00ab\u00ac\u0005\u000e\b",
"\u0002\u00ac\u00ae\u0003\u0002\u0002\u0002\u00ad\u00a8\u0003\u0002\u0002",
"\u0002\u00ae\u00af\u0003\u0002\u0002\u0002\u00af\u00ad\u0003\u0002\u0002",
"\u0002\u00af\u00b0\u0003\u0002\u0002\u0002\u00b0\u00b2\u0003\u0002\u0002",
"\u0002\u00b1\u00a6\u0003\u0002\u0002\u0002\u00b1\u00ad\u0003\u0002\u0002",
"\u0002\u00b2\r\u0003\u0002\u0002\u0002\u00b3\u00b4\u0007\u0006\u0002",
"\u0002\u00b4\u00b5\u0005Z.\u0002\u00b5\u00b6\u0007\u0007\u0002\u0002",
"\u00b6\u000f\u0003\u0002\u0002\u0002\u00b7\u00b8\u00054\u001b\u0002",
"\u00b8\u00b9\t\u0003\u0002\u0002\u00b9\u00bb\u0003\u0002\u0002\u0002",
"\u00ba\u00b7\u0003\u0002\u0002\u0002\u00ba\u00bb\u0003\u0002\u0002\u0002",
"\u00bb\u00bc\u0003\u0002\u0002\u0002\u00bc\u00bd\u00058\u001d\u0002",
"\u00bd\u0011\u0003\u0002\u0002\u0002\u00be\u00bf\u0007\f\u0002\u0002",
"\u00bf\u00c2\u00058\u001d\u0002\u00c0\u00c1\u0007\r\u0002\u0002\u00c1",
"\u00c3\u00054\u001b\u0002\u00c2\u00c0\u0003\u0002\u0002\u0002\u00c2",
"\u00c3\u0003\u0002\u0002\u0002\u00c3\u0013\u0003\u0002\u0002\u0002\u00c4",
"\u00c5\u0007\u000e\u0002\u0002\u00c5\u00c6\u00058\u001d\u0002\u00c6",
"\u0015\u0003\u0002\u0002\u0002\u00c7\u00c8\u0007\u000f\u0002\u0002\u00c8",
"\u00c9\u00058\u001d\u0002\u00c9\u00ca\u0007\r\u0002\u0002\u00ca\u00cb",
"\u00058\u001d\u0002\u00cb\u0017\u0003\u0002\u0002\u0002\u00cc\u00cd",
"\u0007\u0010\u0002\u0002\u00cd\u00d0\u00054\u001b\u0002\u00ce\u00cf",
"\u0007\u0011\u0002\u0002\u00cf\u00d1\u00058\u001d\u0002\u00d0\u00ce",
"\u0003\u0002\u0002\u0002\u00d0\u00d1\u0003\u0002\u0002\u0002\u00d1\u00d2",
"\u0003\u0002\u0002\u0002\u00d2\u00d3\u0007\u0012\u0002\u0002\u00d3\u00d4",
"\u00058\u001d\u0002\u00d4\u0019\u0003\u0002\u0002\u0002\u00d5\u00d6",
"\u0007\u0013\u0002\u0002\u00d6\u00d7\u00058\u001d\u0002\u00d7\u001b",
"\u0003\u0002\u0002\u0002\u00d8\u00d9\u0007\u0014\u0002\u0002\u00d9\u00da",
"\u00058\u001d\u0002\u00da\u00db\u0007\u0015\u0002\u0002\u00db\u00dc",
"\u00058\u001d\u0002\u00dc\u001d\u0003\u0002\u0002\u0002\u00dd\u00de",
"\u0007\u0016\u0002\u0002\u00de\u00df\u00054\u001b\u0002\u00df\u00e0",
"\u0007\u0012\u0002\u0002\u00e0\u00e1\u00058\u001d\u0002\u00e1\u001f",
"\u0003\u0002\u0002\u0002\u00e2\u00e3\u0007\u0017\u0002\u0002\u00e3\u00e4",
"\u00058\u001d\u0002\u00e4!\u0003\u0002\u0002\u0002\u00e5\u00e6\u0007",
"\u0018\u0002\u0002\u00e6\u00e7\u00058\u001d\u0002\u00e7#\u0003\u0002",
"\u0002\u0002\u00e8\u00e9\u0007\u0019\u0002\u0002\u00e9\u00ea\u00058",
"\u001d\u0002\u00ea\u00eb\u0007\u001a\u0002\u0002\u00eb\u00f4\u0005\u000e",
"\b\u0002\u00ec\u00ed\u0007\u001b\u0002\u0002\u00ed\u00ee\u0007\u0019",
"\u0002\u0002\u00ee\u00ef\u00058\u001d\u0002\u00ef\u00f0\u0007\u001a",
"\u0002\u0002\u00f0\u00f1\u0005\u000e\b\u0002\u00f1\u00f3\u0003\u0002",
"\u0002\u0002\u00f2\u00ec\u0003\u0002\u0002\u0002\u00f3\u00f6\u0003\u0002",
"\u0002\u0002\u00f4\u00f2\u0003\u0002\u0002\u0002\u00f4\u00f5\u0003\u0002",
"\u0002\u0002\u00f5\u00f9\u0003\u0002\u0002\u0002\u00f6\u00f4\u0003\u0002",
"\u0002\u0002\u00f7\u00f8\u0007\u001b\u0002\u0002\u00f8\u00fa\u0005\u000e",
"\b\u0002\u00f9\u00f7\u0003\u0002\u0002\u0002\u00f9\u00fa\u0003\u0002",
"\u0002\u0002\u00fa%\u0003\u0002\u0002\u0002\u00fb\u00fc\u0007\u001c",
"\u0002\u0002\u00fc\u00fd\u00058\u001d\u0002\u00fd\u0102\u0007\u0012",
"\u0002\u0002\u00fe\u00ff\u00058\u001d\u0002\u00ff\u0100\u0007\u001d",
"\u0002\u0002\u0100\u0101\u0005\u000e\b\u0002\u0101\u0103\u0003\u0002",
"\u0002\u0002\u0102\u00fe\u0003\u0002\u0002\u0002\u0103\u0104\u0003\u0002",
"\u0002\u0002\u0104\u0102\u0003\u0002\u0002\u0002\u0104\u0105\u0003\u0002",
"\u0002\u0002\u0105\u0108\u0003\u0002\u0002\u0002\u0106\u0107\u0007\u001b",
"\u0002\u0002\u0107\u0109\u0005\u000e\b\u0002\u0108\u0106\u0003\u0002",
"\u0002\u0002\u0108\u0109\u0003\u0002\u0002\u0002\u0109\'\u0003\u0002",
"\u0002\u0002\u010a\u010f\u0007\u0004\u0002\u0002\u010b\u010c\u0007\u001e",
"\u0002\u0002\u010c\u010d\u0005x=\u0002\u010d\u010e\u0007\u001f\u0002",
"\u0002\u010e\u0110\u0003\u0002\u0002\u0002\u010f\u010b\u0003\u0002\u0002",
"\u0002\u010f\u0110\u0003\u0002\u0002\u0002\u0110\u0111\u0003\u0002\u0002",
"\u0002\u0111\u0112\u00058\u001d\u0002\u0112\u0113\u0007\u001d\u0002",
"\u0002\u0113\u0114\u0005\u000e\b\u0002\u0114)\u0003\u0002\u0002\u0002",
"\u0115\u0116\u0007 \u0002\u0002\u0116\u0117\u00058\u001d\u0002\u0117",
"\u0118\u0007\u001d\u0002\u0002\u0118\u0119\u0005\u000e\b\u0002\u0119",
"+\u0003\u0002\u0002\u0002\u011a\u011b\u0007!\u0002\u0002\u011b\u011c",
"\u0007\"\u0002\u0002\u011c-\u0003\u0002\u0002\u0002\u011d\u011e\u0007",
"#\u0002\u0002\u011e\u011f\u0007\"\u0002\u0002\u011f/\u0003\u0002\u0002",
"\u0002\u0120\u0122\u0007$\u0002\u0002\u0121\u0123\u00058\u001d\u0002",
"\u0122\u0121\u0003\u0002\u0002\u0002\u0122\u0123\u0003\u0002\u0002\u0002",
"\u01231\u0003\u0002\u0002\u0002\u0124\u0125\u0007%\u0002\u0002\u0125",
"\u0126\u00058\u001d\u0002\u01263\u0003\u0002\u0002\u0002\u0127\u012a",
"\u0005x=\u0002\u0128\u012a\u00056\u001c\u0002\u0129\u0127\u0003\u0002",
"\u0002\u0002\u0129\u0128\u0003\u0002\u0002\u0002\u012a5\u0003\u0002",
"\u0002\u0002\u012b\u012c\u0005:\u001e\u0002\u012c\u012d\u0007&\u0002",
"\u0002\u012d\u012e\u0005B\"\u0002\u012e\u012f\u0007\'\u0002\u0002\u012f",
"7\u0003\u0002\u0002\u0002\u0130\u0131\b\u001d\u0001\u0002\u0131\u0147",
"\u0005D#\u0002\u0132\u0147\u0005:\u001e\u0002\u0133\u0134\u0005<\u001f",
"\u0002\u0134\u0135\u0007(\u0002\u0002\u0135\u0136\u0005@!\u0002\u0136",
"\u0137\u0007)\u0002\u0002\u0137\u0147\u0003\u0002\u0002\u0002\u0138",
"\u0139\u0007(\u0002\u0002\u0139\u013a\u00058\u001d\u0002\u013a\u013b",
"\u0007)\u0002\u0002\u013b\u0147\u0003\u0002\u0002\u0002\u013c\u013d",
"\u0007*\u0002\u0002\u013d\u0147\u00058\u001d\u000f\u013e\u013f\t\u0004",
"\u0002\u0002\u013f\u0147\u00058\u001d\t\u0140\u0141\u00075\u0002\u0002",
"\u0141\u0142\u00058\u001d\u0002\u0142\u0143\u00075\u0002\u0002\u0143",
"\u0147\u0003\u0002\u0002\u0002\u0144\u0145\u0007;\u0002\u0002\u0145",
"\u0147\u00058\u001d\u0005\u0146\u0130\u0003\u0002\u0002\u0002\u0146",
"\u0132\u0003\u0002\u0002\u0002\u0146\u0133\u0003\u0002\u0002\u0002\u0146",
"\u0138\u0003\u0002\u0002\u0002\u0146\u013c\u0003\u0002\u0002\u0002\u0146",
"\u013e\u0003\u0002\u0002\u0002\u0146\u0140\u0003\u0002\u0002\u0002\u0146",
"\u0144\u0003\u0002\u0002\u0002\u0147\u016a\u0003\u0002\u0002\u0002\u0148",
"\u0149\f\f\u0002\u0002\u0149\u014a\u0007-\u0002\u0002\u014a\u0169\u0005",
"8\u001d\r\u014b\u014c\f\n\u0002\u0002\u014c\u014d\u0007/\u0002\u0002",
"\u014d\u0169\u00058\u001d\n\u014e\u014f\f\b\u0002\u0002\u014f\u0150",
"\t\u0005\u0002\u0002\u0150\u0169\u00058\u001d\t\u0151\u0152\f\u0006",
"\u0002\u0002\u0152\u0153\t\u0006\u0002\u0002\u0153\u0169\u00058\u001d",
"\u0007\u0154\u0155\f\u0004\u0002\u0002\u0155\u0156\t\u0007\u0002\u0002",
"\u0156\u0169\u00058\u001d\u0005\u0157\u0158\f\u0003\u0002\u0002\u0158",
"\u0159\u0007@\u0002\u0002\u0159\u0169\u00058\u001d\u0004\u015a\u015b",
"\f\u000e\u0002\u0002\u015b\u015c\t\b\u0002\u0002\u015c\u015d\u0005>",
" \u0002\u015d\u015e\u0007(\u0002\u0002\u015e\u015f\u0005@!\u0002\u015f",
"\u0160\u0007)\u0002\u0002\u0160\u0169\u0003\u0002\u0002\u0002\u0161",
"\u0162\f\r\u0002\u0002\u0162\u0163\u0007&\u0002\u0002\u0163\u0164\u0005",
"B\"\u0002\u0164\u0165\u0007\'\u0002\u0002\u0165\u0169\u0003\u0002\u0002",
"\u0002\u0166\u0167\f\u000b\u0002\u0002\u0167\u0169\u0007.\u0002\u0002",
"\u0168\u0148\u0003\u0002\u0002\u0002\u0168\u014b\u0003\u0002\u0002\u0002",
"\u0168\u014e\u0003\u0002\u0002\u0002\u0168\u0151\u0003\u0002\u0002\u0002",
"\u0168\u0154\u0003\u0002\u0002\u0002\u0168\u0157\u0003\u0002\u0002\u0002",
"\u0168\u015a\u0003\u0002\u0002\u0002\u0168\u0161\u0003\u0002\u0002\u0002",
"\u0168\u0166\u0003\u0002\u0002\u0002\u0169\u016c\u0003\u0002\u0002\u0002",
"\u016a\u0168\u0003\u0002\u0002\u0002\u016a\u016b\u0003\u0002\u0002\u0002",
"\u016b9\u0003\u0002\u0002\u0002\u016c\u016a\u0003\u0002\u0002\u0002",
"\u016d\u016e\u0007b\u0002\u0002\u016e;\u0003\u0002\u0002\u0002\u016f",
"\u0170\u0007b\u0002\u0002\u0170=\u0003\u0002\u0002\u0002\u0171\u0172",
"\u0007b\u0002\u0002\u0172?\u0003\u0002\u0002\u0002\u0173\u0178\u0005",
"8\u001d\u0002\u0174\u0175\u0007A\u0002\u0002\u0175\u0177\u00058\u001d",
"\u0002\u0176\u0174\u0003\u0002\u0002\u0002\u0177\u017a\u0003\u0002\u0002",
"\u0002\u0178\u0176\u0003\u0002\u0002\u0002\u0178\u0179\u0003\u0002\u0002",
"\u0002\u0179\u017d\u0003\u0002\u0002\u0002\u017a\u0178\u0003\u0002\u0002",
"\u0002\u017b\u017d\u0003\u0002\u0002\u0002\u017c\u0173\u0003\u0002\u0002",
"\u0002\u017c\u017b\u0003\u0002\u0002\u0002\u017dA\u0003\u0002\u0002",
"\u0002\u017e\u0183\u00058\u001d\u0002\u017f\u0180\u0007A\u0002\u0002",
"\u0180\u0182\u00058\u001d\u0002\u0181\u017f\u0003\u0002\u0002\u0002",
"\u0182\u0185\u0003\u0002\u0002\u0002\u0183\u0181\u0003\u0002\u0002\u0002",
"\u0183\u0184\u0003\u0002\u0002\u0002\u0184C\u0003\u0002\u0002\u0002",
"\u0185\u0183\u0003\u0002\u0002\u0002\u0186\u0188\u0005F$\u0002\u0187",
"\u0189\u0005H%\u0002\u0188\u0187\u0003\u0002\u0002\u0002\u0188\u0189",
"\u0003\u0002\u0002\u0002\u0189\u018b\u0003\u0002\u0002\u0002\u018a\u018c",
"\u0005J&\u0002\u018b\u018a\u0003\u0002\u0002\u0002\u018b\u018c\u0003",
"\u0002\u0002\u0002\u018cE\u0003\u0002\u0002\u0002\u018d\u0191\u0005",
"\\/\u0002\u018e\u0191\u0005L\'\u0002\u018f\u0191\u0005X-\u0002\u0190",
"\u018d\u0003\u0002\u0002\u0002\u0190\u018e\u0003\u0002\u0002\u0002\u0190",
"\u018f\u0003\u0002\u0002\u0002\u0191G\u0003\u0002\u0002\u0002\u0192",
"\u0193\u0007(\u0002\u0002\u0193\u0194\u0005T+\u0002\u0194\u0195\u0007",
")\u0002\u0002\u0195I\u0003\u0002\u0002\u0002\u0196\u0197\u0007c\u0002",
"\u0002\u0197K\u0003\u0002\u0002\u0002\u0198\u0199\u0007&\u0002\u0002",
"\u0199\u019a\u0005N(\u0002\u019a\u019b\u0007\'\u0002\u0002\u019bM\u0003",
"\u0002\u0002\u0002\u019c\u01a0\u0005P)\u0002\u019d\u01a0\u0005R*\u0002",
"\u019e\u01a0\u0005T+\u0002\u019f\u019c\u0003\u0002\u0002\u0002\u019f",
"\u019d\u0003\u0002\u0002\u0002\u019f\u019e\u0003\u0002\u0002\u0002\u01a0",
"O\u0003\u0002\u0002\u0002\u01a1\u01a3\u00058\u001d\u0002\u01a2\u01a1",
"\u0003\u0002\u0002\u0002\u01a2\u01a3\u0003\u0002\u0002\u0002\u01a3\u01a4",
"\u0003\u0002\u0002\u0002\u01a4\u01a6\t\t\u0002\u0002\u01a5\u01a7\u0005",
"8\u001d\u0002\u01a6\u01a5\u0003\u0002\u0002\u0002\u01a6\u01a7\u0003",
"\u0002\u0002\u0002\u01a7Q\u0003\u0002\u0002\u0002\u01a8\u01ad\u0005",
"8\u001d\u0002\u01a9\u01aa\u0007A\u0002\u0002\u01aa\u01ac\u00058\u001d",
"\u0002\u01ab\u01a9\u0003\u0002\u0002\u0002\u01ac\u01af\u0003\u0002\u0002",
"\u0002\u01ad\u01ab\u0003\u0002\u0002\u0002\u01ad\u01ae\u0003\u0002\u0002",
"\u0002\u01ae\u01bb\u0003\u0002\u0002\u0002\u01af\u01ad\u0003\u0002\u0002",
"\u0002\u01b0\u01b6\u0007e\u0002\u0002\u01b1\u01b2\u00058\u001d\u0002",
"\u01b2\u01b3\u0007e\u0002\u0002\u01b3\u01b5\u0003\u0002\u0002\u0002",
"\u01b4\u01b1\u0003\u0002\u0002\u0002\u01b5\u01b8\u0003\u0002\u0002\u0002",
"\u01b6\u01b4\u0003\u0002\u0002\u0002\u01b6\u01b7\u0003\u0002\u0002\u0002",
"\u01b7\u01bb\u0003\u0002\u0002\u0002\u01b8\u01b6\u0003\u0002\u0002\u0002",
"\u01b9\u01bb\u0003\u0002\u0002\u0002\u01ba\u01a8\u0003\u0002\u0002\u0002",
"\u01ba\u01b0\u0003\u0002\u0002\u0002\u01ba\u01b9\u0003\u0002\u0002\u0002",
"\u01bbS\u0003\u0002\u0002\u0002\u01bc\u01c1\u0005V,\u0002\u01bd\u01be",
"\u0007A\u0002\u0002\u01be\u01c0\u0005V,\u0002\u01bf\u01bd\u0003\u0002",
"\u0002\u0002\u01c0\u01c3\u0003\u0002\u0002\u0002\u01c1\u01bf\u0003\u0002",
"\u0002\u0002\u01c1\u01c2\u0003\u0002\u0002\u0002\u01c2\u01cf\u0003\u0002",
"\u0002\u0002\u01c3\u01c1\u0003\u0002\u0002\u0002\u01c4\u01ca\u0007e",
"\u0002\u0002\u01c5\u01c6\u0005V,\u0002\u01c6\u01c7\u0007e\u0002\u0002",
"\u01c7\u01c9\u0003\u0002\u0002\u0002\u01c8\u01c5\u0003\u0002\u0002\u0002",
"\u01c9\u01cc\u0003\u0002\u0002\u0002\u01ca\u01c8\u0003\u0002\u0002\u0002",
"\u01ca\u01cb\u0003\u0002\u0002\u0002\u01cb\u01cf\u0003\u0002\u0002\u0002",
"\u01cc\u01ca\u0003\u0002\u0002\u0002\u01cd\u01cf\u0007F\u0002\u0002",
"\u01ce\u01bc\u0003\u0002\u0002\u0002\u01ce\u01c4\u0003\u0002\u0002\u0002",
"\u01ce\u01cd\u0003\u0002\u0002\u0002\u01cfU\u0003\u0002\u0002\u0002",
"\u01d0\u01d1\u0005\\/\u0002\u01d1\u01d2\u0007F\u0002\u0002\u01d2\u01d3",
"\u00058\u001d\u0002\u01d3W\u0003\u0002\u0002\u0002\u01d4\u01d5\u0007",
"\u0006\u0002\u0002\u01d5\u01d6\u0005Z.\u0002\u01d6\u01d7\u0007\u0007",
"\u0002\u0002\u01d7Y\u0003\u0002\u0002\u0002\u01d8\u01dd\u0005\u0006",
"\u0004\u0002\u01d9\u01da\u0007G\u0002\u0002\u01da\u01dc\u0005\u0006",
"\u0004\u0002\u01db\u01d9\u0003\u0002\u0002\u0002\u01dc\u01df\u0003\u0002",
"\u0002\u0002\u01dd\u01db\u0003\u0002\u0002\u0002\u01dd\u01de\u0003\u0002",
"\u0002\u0002\u01de\u01eb\u0003\u0002\u0002\u0002\u01df\u01dd\u0003\u0002",
"\u0002\u0002\u01e0\u01e6\u0007e\u0002\u0002\u01e1\u01e2\u0005\u0006",
"\u0004\u0002\u01e2\u01e3\u0007e\u0002\u0002\u01e3\u01e5\u0003\u0002",
"\u0002\u0002\u01e4\u01e1\u0003\u0002\u0002\u0002\u01e5\u01e8\u0003\u0002",
"\u0002\u0002\u01e6\u01e4\u0003\u0002\u0002\u0002\u01e6\u01e7\u0003\u0002",
"\u0002\u0002\u01e7\u01eb\u0003\u0002\u0002\u0002\u01e8\u01e6\u0003\u0002",
"\u0002\u0002\u01e9\u01eb\u0003\u0002\u0002\u0002\u01ea\u01d8\u0003\u0002",
"\u0002\u0002\u01ea\u01e0\u0003\u0002\u0002\u0002\u01ea\u01e9\u0003\u0002",
"\u0002\u0002\u01eb[\u0003\u0002\u0002\u0002\u01ec\u01fc\u0005^0\u0002",
"\u01ed\u01fc\u0005`1\u0002\u01ee\u01fc\u0005b2\u0002\u01ef\u01fc\u0005",
"d3\u0002\u01f0\u01fc\u0005f4\u0002\u01f1\u01fc\u0005h5\u0002\u01f2\u01fc",
"\u0005n8\u0002\u01f3\u01fc\u0005p9\u0002\u01f4\u01fc\u0005r:\u0002\u01f5",
"\u01fc\u0005t;\u0002\u01f6\u01fc\u0005v<\u0002\u01f7\u01fc\u0005x=\u0002",
"\u01f8\u01fc\u0005z>\u0002\u01f9\u01fc\u0005|?\u0002\u01fa\u01fc\u0005",
"~@\u0002\u01fb\u01ec\u0003\u0002\u0002\u0002\u01fb\u01ed\u0003\u0002",
"\u0002\u0002\u01fb\u01ee\u0003\u0002\u0002\u0002\u01fb\u01ef\u0003\u0002",
"\u0002\u0002\u01fb\u01f0\u0003\u0002\u0002\u0002\u01fb\u01f1\u0003\u0002",
"\u0002\u0002\u01fb\u01f2\u0003\u0002\u0002\u0002\u01fb\u01f3\u0003\u0002",
"\u0002\u0002\u01fb\u01f4\u0003\u0002\u0002\u0002\u01fb\u01f5\u0003\u0002",
"\u0002\u0002\u01fb\u01f6\u0003\u0002\u0002\u0002\u01fb\u01f7\u0003\u0002",
"\u0002\u0002\u01fb\u01f8\u0003\u0002\u0002\u0002\u01fb\u01f9\u0003\u0002",
"\u0002\u0002\u01fb\u01fa\u0003\u0002\u0002\u0002\u01fc]\u0003\u0002",
"\u0002\u0002\u01fd\u01fe\u0007R\u0002\u0002\u01fe_\u0003\u0002\u0002",
"\u0002\u01ff\u0200\u0007S\u0002\u0002\u0200a\u0003\u0002\u0002\u0002",
"\u0201\u0202\t\n\u0002\u0002\u0202c\u0003\u0002\u0002\u0002\u0203\u0204",
"\u0007T\u0002\u0002\u0204e\u0003\u0002\u0002\u0002\u0205\u0206\u0007",
"Y\u0002\u0002\u0206g\u0003\u0002\u0002\u0002\u0207\u0208\u0007Z\u0002",
"\u0002\u0208i\u0003\u0002\u0002\u0002\u0209\u020b\u00070\u0002\u0002",
"\u020a\u0209\u0003\u0002\u0002\u0002\u020a\u020b\u0003\u0002\u0002\u0002",
"\u020b\u020c\u0003\u0002\u0002\u0002\u020c\u020d\u0007X\u0002\u0002",
"\u020dk\u0003\u0002\u0002\u0002\u020e\u0210\u00070\u0002\u0002\u020f",
"\u020e\u0003\u0002\u0002\u0002\u020f\u0210\u0003\u0002\u0002\u0002\u0210",
"\u0211\u0003\u0002\u0002\u0002\u0211\u0212\u0007W\u0002\u0002\u0212",
"m\u0003\u0002\u0002\u0002\u0213\u0226\u0007J\u0002\u0002\u0214\u0226",
"\u0007K\u0002\u0002\u0215\u0226\u0007L\u0002\u0002\u0216\u0226\u0007",
"M\u0002\u0002\u0217\u0226\u0005j6\u0002\u0218\u0226\u0005l7\u0002\u0219",
"\u021a\u0007(\u0002\u0002\u021a\u0221\u0005j6\u0002\u021b\u021c\u0007",
"A\u0002\u0002\u021c\u0222\u0005l7\u0002\u021d\u021e\u0007N\u0002\u0002",
"\u021e\u021f\u0005^0\u0002\u021f\u0220\u0007O\u0002\u0002\u0220\u0222",
"\u0003\u0002\u0002\u0002\u0221\u021b\u0003\u0002\u0002\u0002\u0221\u021d",
"\u0003\u0002\u0002\u0002\u0222\u0223\u0003\u0002\u0002\u0002\u0223\u0224",
"\u0007)\u0002\u0002\u0224\u0226\u0003\u0002\u0002\u0002\u0225\u0213",
"\u0003\u0002\u0002\u0002\u0225\u0214\u0003\u0002\u0002\u0002\u0225\u0215",
"\u0003\u0002\u0002\u0002\u0225\u0216\u0003\u0002\u0002\u0002\u0225\u0217",
"\u0003\u0002\u0002\u0002\u0225\u0218\u0003\u0002\u0002\u0002\u0225\u0219",
"\u0003\u0002\u0002\u0002\u0226o\u0003\u0002\u0002\u0002\u0227\u0228",
"\t\u000b\u0002\u0002\u0228q\u0003\u0002\u0002\u0002\u0229\u022a\u0007",
"V\u0002\u0002\u022as\u0003\u0002\u0002\u0002\u022b\u022f\u0007U\u0002",
"\u0002\u022c\u022d\u0007X\u0002\u0002\u022d\u022f\u0007+\u0002\u0002",
"\u022e\u022b\u0003\u0002\u0002\u0002\u022e\u022c\u0003\u0002\u0002\u0002",
"\u022fu\u0003\u0002\u0002\u0002\u0230\u0231\u0007[\u0002\u0002\u0231",
"w\u0003\u0002\u0002\u0002\u0232\u0233\u0007]\u0002\u0002\u0233y\u0003",
"\u0002\u0002\u0002\u0234\u0235\u0007^\u0002\u0002\u0235{\u0003\u0002",
"\u0002\u0002\u0236\u0237\t\f\u0002\u0002\u0237}\u0003\u0002\u0002\u0002",
"\u0238\u0239\u0007a\u0002\u0002\u0239\u007f\u0003\u0002\u0002\u0002",
",\u008a\u008c\u00a2\u00af\u00b1\u00ba\u00c2\u00d0\u00f4\u00f9\u0104",
"\u0108\u010f\u0122\u0129\u0146\u0168\u016a\u0178\u017c\u0183\u0188\u018b",
"\u0190\u019f\u01a2\u01a6\u01ad\u01b6\u01ba\u01c1\u01ca\u01ce\u01dd\u01e6",
"\u01ea\u01fb\u020a\u020f\u0221\u0225\u022e"].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, "'handle'", "'with'", "'matching'", "'{'", "'}'",
"':='", "'+='", "'-='", "'*='", "'save'", "'as'", "'discard'",
"'notarize'", "'checkout'", "'at level'", "'from'",
"'publish'", "'post'", "'to'", "'retrieve'", "'accept'",
"'reject'", "'if'", "'then'", "'else'", "'select'",
"'do'", "'each'", "'in'", "'while'", "'continue'",
"'loop'", "'break'", "'return'", "'throw'", "'['",
"']'", "'('", "')'", "'@'", "'.'", "'<-'", "'&'", "'!'",
"'^'", "'-'", "'/'", "'*'", "'//'", "'+'", "'|'", "'<'",
"'='", "'>'", "'IS'", "'MATCHES'", "'NOT'", "'AND'",
"'SANS'", "'XOR'", "'OR'", "'?'", "','", "'<..<'",
"'<..'", "'..<'", "'..'", "':'", "';'", "'false'",
"'true'", "'undefined'", "'0'", "'\u221E'", "'infinity'",
"'e^'", "'i'", "'none'", "'any'" ];
var symbolicNames = [ null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, "ANGLE",
"BINARY", "DURATION", "FRACTION", "PERCENTAGE", "IMAGINARY",
"REAL", "MOMENT", "NAME", "RESOURCE", "REGEX", "SYMBOL",
"TAG", "NARRATIVE", "QUOTE", "VERSION", "IDENTIFIER",
"NOTE", "COMMENT", "EOL", "SPACE" ];
var ruleNames = [ "source", "document", "statement", "comment", "mainClause",
"handleClause", "block", "evaluateClause", "saveClause",
"discardClause", "notarizeClause", "checkoutClause",
"publishClause", "postClause", "retrieveClause", "acceptClause",
"rejectClause", "ifClause", "selectClause", "withClause",
"whileClause", "continueClause", "breakClause", "returnClause",
"throwClause", "recipient", "attribute", "expression",
"variable", "funcxion", "message", "arguments", "indices",
"component", "value", "parameters", "note", "sequence",
"collection", "range", "list", "catalog", "association",
"procedure", "code", "element", "angle", "binary", "bulean",
"duration", "moment", "name", "real", "imaginary", "number",
"pattern", "percentage", "probability", "resource", "symbol",
"tag", "text", "version" ];
function DocumentParser (input) {
antlr4.Parser.call(this, input);
this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache);
this.ruleNames = ruleNames;
this.literalNames = literalNames;
this.symbolicNames = symbolicNames;
return this;
}
DocumentParser.prototype = Object.create(antlr4.Parser.prototype);
DocumentParser.prototype.constructor = DocumentParser;
Object.defineProperty(DocumentParser.prototype, "atn", {
get : function() {
return atn;
}
});
DocumentParser.EOF = antlr4.Token.EOF;
DocumentParser.T__0 = 1;
DocumentParser.T__1 = 2;
DocumentParser.T__2 = 3;
DocumentParser.T__3 = 4;
DocumentParser.T__4 = 5;
DocumentParser.T__5 = 6;
DocumentParser.T__6 = 7;
DocumentParser.T__7 = 8;
DocumentParser.T__8 = 9;
DocumentParser.T__9 = 10;
DocumentParser.T__10 = 11;
DocumentParser.T__11 = 12;
DocumentParser.T__12 = 13;
DocumentParser.T__13 = 14;
DocumentParser.T__14 = 15;
DocumentParser.T__15 = 16;
DocumentParser.T__16 = 17;
DocumentParser.T__17 = 18;
DocumentParser.T__18 = 19;
DocumentParser.T__19 = 20;
DocumentParser.T__20 = 21;
DocumentParser.T__21 = 22;
DocumentParser.T__22 = 23;
DocumentParser.T__23 = 24;
DocumentParser.T__24 = 25;
DocumentParser.T__25 = 26;
DocumentParser.T__26 = 27;
DocumentParser.T__27 = 28;
DocumentParser.T__28 = 29;
DocumentParser.T__29 = 30;
DocumentParser.T__30 = 31;
DocumentParser.T__31 = 32;
DocumentParser.T__32 = 33;
DocumentParser.T__33 = 34;
DocumentParser.T__34 = 35;
DocumentParser.T__35 = 36;
DocumentParser.T__36 = 37;
DocumentParser.T__37 = 38;
DocumentParser.T__38 = 39;
DocumentParser.T__39 = 40;
DocumentParser.T__40 = 41;
DocumentParser.T__41 = 42;
DocumentParser.T__42 = 43;
DocumentParser.T__43 = 44;
DocumentParser.T__44 = 45;
DocumentParser.T__45 = 46;
DocumentParser.T__46 = 47;
DocumentParser.T__47 = 48;
DocumentParser.T__48 = 49;
DocumentParser.T__49 = 50;
DocumentParser.T__50 = 51;
DocumentParser.T__51 = 52;
DocumentParser.T__52 = 53;
DocumentParser.T__53 = 54;
DocumentParser.T__54 = 55;
DocumentParser.T__55 = 56;
DocumentParser.T__56 = 57;
DocumentParser.T__57 = 58;
DocumentParser.T__58 = 59;
DocumentParser.T__59 = 60;
DocumentParser.T__60 = 61;
DocumentParser.T__61 = 62;
DocumentParser.T__62 = 63;
DocumentParser.T__63 = 64;
DocumentParser.T__64 = 65;
DocumentParser.T__65 = 66;
DocumentParser.T__66 = 67;
DocumentParser.T__67 = 68;
DocumentParser.T__68 = 69;
DocumentParser.T__69 = 70;
DocumentParser.T__70 = 71;
DocumentParser.T__71 = 72;
DocumentParser.T__72 = 73;
DocumentParser.T__73 = 74;
DocumentParser.T__74 = 75;
DocumentParser.T__75 = 76;
DocumentParser.T__76 = 77;
DocumentParser.T__77 = 78;
DocumentParser.T__78 = 79;
DocumentParser.ANGLE = 80;
DocumentParser.BINARY = 81;
DocumentParser.DURATION = 82;
DocumentParser.FRACTION = 83;
DocumentParser.PERCENTAGE = 84;
DocumentParser.IMAGINARY = 85;
DocumentParser.REAL = 86;
DocumentParser.MOMENT = 87;
DocumentParser.NAME = 88;
DocumentParser.RESOURCE = 89;
DocumentParser.REGEX = 90;
DocumentParser.SYMBOL = 91;
DocumentParser.TAG = 92;
DocumentParser.NARRATIVE = 93;
DocumentParser.QUOTE = 94;
DocumentParser.VERSION = 95;
DocumentParser.IDENTIFIER = 96;
DocumentParser.NOTE = 97;
DocumentParser.COMMENT = 98;
DocumentParser.EOL = 99;
DocumentParser.SPACE = 100;
DocumentParser.RULE_source = 0;
DocumentParser.RULE_document = 1;
DocumentParser.RULE_statement = 2;
DocumentParser.RULE_comment = 3;
DocumentParser.RULE_mainClause = 4;
DocumentParser.RULE_handleClause = 5;
DocumentParser.RULE_block = 6;
DocumentParser.RULE_evaluateClause = 7;
DocumentParser.RULE_saveClause = 8;
DocumentParser.RULE_discardClause = 9;
DocumentParser.RULE_notarizeClause = 10;
DocumentParser.RULE_checkoutClause = 11;
DocumentParser.RULE_publishClause = 12;
DocumentParser.RULE_postClause = 13;
DocumentParser.RULE_retrieveClause = 14;
DocumentParser.RULE_acceptClause = 15;
DocumentParser.RULE_rejectClause = 16;
DocumentParser.RULE_ifClause = 17;
DocumentParser.RULE_selectClause = 18;
DocumentParser.RULE_withClause = 19;
DocumentParser.RULE_whileClause = 20;
DocumentParser.RULE_continueClause = 21;
DocumentParser.RULE_breakClause = 22;
DocumentParser.RULE_returnClause = 23;
DocumentParser.RULE_throwClause = 24;
DocumentParser.RULE_recipient = 25;
DocumentParser.RULE_attribute = 26;
DocumentParser.RULE_expression = 27;
DocumentParser.RULE_variable = 28;
DocumentParser.RULE_funcxion = 29;
DocumentParser.RULE_message = 30;
DocumentParser.RULE_arguments = 31;
DocumentParser.RULE_indices = 32;
DocumentParser.RULE_component = 33;
DocumentParser.RULE_value = 34;
DocumentParser.RULE_parameters = 35;
DocumentParser.RULE_note = 36;
DocumentParser.RULE_sequence = 37;
DocumentParser.RULE_collection = 38;
DocumentParser.RULE_range = 39;
DocumentParser.RULE_list = 40;
DocumentParser.RULE_catalog = 41;
DocumentParser.RULE_association = 42;
DocumentParser.RULE_procedure = 43;
DocumentParser.RULE_code = 44;
DocumentParser.RULE_element = 45;
DocumentParser.RULE_angle = 46;
DocumentParser.RULE_binary = 47;
DocumentParser.RULE_bulean = 48;
DocumentParser.RULE_duration = 49;
DocumentParser.RULE_moment = 50;
DocumentParser.RULE_name = 51;
DocumentParser.RULE_real = 52;
DocumentParser.RULE_imaginary = 53;
DocumentParser.RULE_number = 54;
DocumentParser.RULE_pattern = 55;
DocumentParser.RULE_percentage = 56;
DocumentParser.RULE_probability = 57;
DocumentParser.RULE_resource = 58;
DocumentParser.RULE_symbol = 59;
DocumentParser.RULE_tag = 60;
DocumentParser.RULE_text = 61;
DocumentParser.RULE_version = 62;
function SourceContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = DocumentParser.RULE_source;
return this;
}
SourceContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
SourceContext.prototype.constructor = SourceContext;
SourceContext.prototype.component = function() {
return this.getTypedRuleContext(ComponentContext,0);
};
SourceContext.prototype.EOF = function() {
return this.getToken(DocumentParser.EOF, 0);
};
SourceContext.prototype.enterRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.enterSource(this);
}
};
SourceContext.prototype.exitRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.exitSource(this);
}
};
SourceContext.prototype.accept = function(visitor) {
if ( visitor instanceof DocumentVisitor ) {
return visitor.visitSource(this);
} else {
return visitor.visitChildren(this);
}
};
DocumentParser.SourceContext = SourceContext;
DocumentParser.prototype.source = function() {
var localctx = new SourceContext(this, this._ctx, this.state);
this.enterRule(localctx, 0, DocumentParser.RULE_source);
try {
this.enterOuterAlt(localctx, 1);
this.state = 126;
this.component();
this.state = 127;
this.match(DocumentParser.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 DocumentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = DocumentParser.RULE_document;
return this;
}
DocumentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
DocumentContext.prototype.constructor = DocumentContext;
DocumentContext.prototype.component = function() {
return this.getTypedRuleContext(ComponentContext,0);
};
DocumentContext.prototype.EOL = function() {
return this.getToken(DocumentParser.EOL, 0);
};
DocumentContext.prototype.EOF = function() {
return this.getToken(DocumentParser.EOF, 0);
};
DocumentContext.prototype.enterRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.enterDocument(this);
}
};
DocumentContext.prototype.exitRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.exitDocument(this);
}
};
DocumentContext.prototype.accept = function(visitor) {
if ( visitor instanceof DocumentVisitor ) {
return visitor.visitDocument(this);
} else {
return visitor.visitChildren(this);
}
};
DocumentParser.DocumentContext = DocumentContext;
DocumentParser.prototype.document = function() {
var localctx = new DocumentContext(this, this._ctx, this.state);
this.enterRule(localctx, 2, DocumentParser.RULE_document);
try {
this.enterOuterAlt(localctx, 1);
this.state = 129;
this.component();
this.state = 130;
this.match(DocumentParser.EOL);
this.state = 131;
this.match(DocumentParser.EOF);
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function StatementContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = DocumentParser.RULE_statement;
return this;
}
StatementContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
StatementContext.prototype.constructor = StatementContext;
StatementContext.prototype.comment = function() {
return this.getTypedRuleContext(CommentContext,0);
};
StatementContext.prototype.mainClause = function() {
return this.getTypedRuleContext(MainClauseContext,0);
};
StatementContext.prototype.handleClause = function() {
return this.getTypedRuleContext(HandleClauseContext,0);
};
StatementContext.prototype.enterRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.enterStatement(this);
}
};
StatementContext.prototype.exitRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.exitStatement(this);
}
};
StatementContext.prototype.accept = function(visitor) {
if ( visitor instanceof DocumentVisitor ) {
return visitor.visitStatement(this);
} else {
return visitor.visitChildren(this);
}
};
DocumentParser.StatementContext = StatementContext;
DocumentParser.prototype.statement = function() {
var localctx = new StatementContext(this, this._ctx, this.state);
this.enterRule(localctx, 4, DocumentParser.RULE_statement);
var _la = 0; // Token type
try {
this.state = 138;
this._errHandler.sync(this);
switch(this._input.LA(1)) {
case DocumentParser.NOTE:
case DocumentParser.COMMENT:
this.enterOuterAlt(localctx, 1);
this.state = 133;
this.comment();
break;
case DocumentParser.T__1:
case DocumentParser.T__3:
case DocumentParser.T__9:
case DocumentParser.T__11:
case DocumentParser.T__12:
case DocumentParser.T__13:
case DocumentParser.T__16:
case DocumentParser.T__17:
case DocumentParser.T__19:
case DocumentParser.T__20:
case DocumentParser.T__21:
case DocumentParser.T__22:
case DocumentParser.T__25:
case DocumentParser.T__29:
case DocumentParser.T__30:
case DocumentParser.T__32:
case DocumentParser.T__33:
case DocumentParser.T__34:
case DocumentParser.T__35:
case DocumentParser.T__37:
case DocumentParser.T__39:
case DocumentParser.T__45:
case DocumentParser.T__46:
case DocumentParser.T__47:
case DocumentParser.T__50:
case DocumentParser.T__56:
case DocumentParser.T__69:
case DocumentParser.T__70:
case DocumentParser.T__71:
case DocumentParser.T__72:
case DocumentParser.T__73:
case DocumentParser.T__74:
case DocumentParser.T__77:
case DocumentParser.T__78:
case DocumentParser.ANGLE:
case DocumentParser.BINARY:
case DocumentParser.DURATION:
case DocumentParser.FRACTION:
case DocumentParser.PERCENTAGE:
case DocumentParser.IMAGINARY:
case DocumentParser.REAL:
case DocumentParser.MOMENT:
case DocumentParser.NAME:
case DocumentParser.RESOURCE:
case DocumentParser.REGEX:
case DocumentParser.SYMBOL:
case DocumentParser.TAG:
case DocumentParser.NARRATIVE:
case DocumentParser.QUOTE:
case DocumentParser.VERSION:
case DocumentParser.IDENTIFIER:
this.enterOuterAlt(localctx, 2);
this.state = 134;
this.mainClause();
this.state = 136;
this._errHandler.sync(this);
_la = this._input.LA(1);
if(_la===DocumentParser.T__0) {
this.state = 135;
this.handleClause();
}
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 CommentContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = DocumentParser.RULE_comment;
return this;
}
CommentContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
CommentContext.prototype.constructor = CommentContext;
CommentContext.prototype.NOTE = function() {
return this.getToken(DocumentParser.NOTE, 0);
};
CommentContext.prototype.COMMENT = function() {
return this.getToken(DocumentParser.COMMENT, 0);
};
CommentContext.prototype.enterRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.enterComment(this);
}
};
CommentContext.prototype.exitRule = function(listener) {
if(listener instanceof DocumentListener ) {
listener.exitComment(this);
}
};
CommentContext.prototype.accept = function(visitor) {
if ( visitor instanceof DocumentVisitor ) {
return visitor.visitComment(this);
} else {
return visitor.visitChildren(this);
}
};
DocumentParser.CommentContext = CommentContext;
DocumentParser.prototype.comment = function() {
var localctx = new CommentContext(this, this._ctx, this.state);
this.enterRule(localctx, 6, DocumentParser.RULE_comment);
var _la = 0; // Token type
try {
this.enterOuterAlt(localctx, 1);
this.state = 140;
_la = this._input.LA(1);
if(!(_la===DocumentParser.NOTE || _la===DocumentParser.COMMENT)) {
this._errHandler.recoverInline(this);
}
else {
this._errHandler.reportMatch(this);
this.consume();
}
} catch (re) {
if(re instanceof antlr4.error.RecognitionException) {
localctx.exception = re;
this._errHandler.reportError(this, re);
this._errHandler.recover(this, re);
} else {
throw re;
}
} finally {
this.exitRule();
}
return localctx;
};
function MainClauseContext(parser, parent, invokingState) {
if(parent===undefined) {
parent = null;
}
if(invokingState===undefined || invokingState===null) {
invokingState = -1;
}
antlr4.ParserRuleContext.call(this, parent, invokingState);
this.parser = parser;
this.ruleIndex = DocumentParser.RULE_mainClause;
return this;
}
MainClauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype);
MainClauseContext.prototype.constructor = MainClauseContext;
MainClauseContext.prototype.evaluateClause = function() {
return this.getTypedRuleContext(EvaluateClauseContext,0);
};
MainClauseContext.prototype.saveClause = function() {
return this.getTypedRuleContext(SaveClauseContext,0);
};
MainClauseContext.prototype.discardClause = function() {
return this.getTypedRuleContext(DiscardClauseContext,0);
};
MainClauseContext.prototype.notarizeClause = function() {
return this.getTypedRuleContext(NotarizeClauseContext,0);
};
MainClauseContext.prototype.checkoutClause = function() {
return this.getTypedRuleContext(CheckoutClauseContext,0);
};
MainClauseContext.prototype.publishClause = function() {
return this.getTypedRuleContext(PublishClauseContext,0);
};
MainClauseContext.prototype.postClause = function() {
return this.getTypedRuleContext(PostClauseContext,0);
};
MainClauseContext.prototype.retrieveClause = function() {
return this.getTypedRuleContext(RetrieveClauseContext,0);
};
MainClauseContext.prototype.acceptClause = function() {
return this.getTypedRuleContext(AcceptClauseContext,0);
};
MainClauseContext.prototype.rejectClause = function() {
return this.getTypedRuleContext(Reje